| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
(install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
$(DEVFILES) are not empty.
* Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
|
|
|
|
|
|
|
| |
* contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
New files.
* Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
|
|
|
|
|
|
| |
(mkinstalldirs): Use $(SHELL).
(MDEFINES): Add $(SHELL).
* Makefile.comm (SHELL): Removed.
|
|
|
|
|
|
|
| |
* configure.ac: Add declaration test for snprintf.
* configure: Regenerated.
* src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
* src/include/config.hin: Regenerated.
|
|
|
|
| |
Updated all configuration files, makefiles, and documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aclocal.m4 (GROFF_STDINT_H): New function,
* configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
AC_CHECK_HEADERS.
* configure, src/include/config.hin: Regenerated.
* src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
* src/libs/libgroff/maxfilename.cc:
s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
* src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
emit word marker.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Check for `setlocale'.
* configure, src/include/config.hin: Regenerated.
* src/include/lib.h: Handle HAVE_SETLOCALE.
* src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
(main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
(main), src/preproc/pic/main.cc (main): Call `setlocale'.
* doc/groff.texinfo (Man font macros): Mention that there is no
space between arguments of .BI and friends.
* man/roff.man: Small fixes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of library files. Computed heuristically from $(OBJEXT).
(MDEFINES): Add $(LIBEXT).
* Makefile.lib, Makefile.comm: Use it.
* src/utils/pfbtops/pfbtops.c (get_text): New function. Split overlong
lines into smaller chunks.
(get_binary): New function.
(main): Use them.
* src/utils/pfbtops/pfbtops.man: Updated.
* src/roff/groff/groff.man: Minor syntax fix.
|
|
|
|
|
| |
* font/devps/generate/textmap: Remove entry `similarequal'.
* font/devps/symbolmap: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GROFF_PNMTOPS_NOSETPAGE): New macro.
* configure.ac: Use it.
* configure: Regenerated.
* Makefile.in: Updated.
* tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
(CLEANADD): Add www.tmac-sed.
(pnmtops_nosetpage): Define default.
(install_data): Handle www.tmac-sed and substitute
@PNMTOPS_NOSETPAGE@.
(stamp-sed): Add www.tmac.
* tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
It now breaks URLs at suitable places.
(www:substring_ok): New register set by...
(www:@test_substring): New macro.
(www:error): New alias to www-error.
(www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
New macros.
(URL): Use www:url_breaks.
(PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
(CDS, CDE): New macros.
* src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
buffer overflow.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
properly.
* src/include/color.h (color): New members `free_list' and `next'.
New member functions `new' and `delete'.
Add deconstructor.
* src/libs/libgroff/color.cc: Implement it.
* src/libs/libgroff/font.cc (font::add_kern): Use integer cast
for array size of new operator.
* src/libs/libdriver/input.cc (IntArray::operator[]): Remove
redundant comparison.
* src/roff/troff/input.cc (word_space_node::reread,
hmotion_node::reread): Avoid warning about unused parameter.
(reset_output_registers): Remove redundant parameter.
(define_color): Undo change 2003-02-12.
* src/roff/troff/reg.h: Updated.
* src/roff/troff/node.cc (troff_output_file::really_print_line,
output_file::put_filename, real_output_file::really_put_filename,
ascii_output_file::really_print_line,
break_char_node::get_hyphen_list): Avoid warning about unused
parameter.
(suppress_node::tprint): Updated.
* configure.ac: Check declaration for rand() and srand().
* configure: Regenerated.
* src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
conditionally.
* src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
and srand().
* src/preproc/eqn/delim.cc (delim_table): Add missing initializers
to avoid compiler warnings.
* src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
unused.
* src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
is unused.
* src/devices/grops/psrm.cc (skip_possible_newline): Remove first
(unused) parameter.
Updated all callers.
* src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
is unused.
* src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
* src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
* src/devices/grohtml/post-html.cc (html_printer::emit_line):
Parameter is unused.
(html_printer::add_table_end): Define parameter conditionally.
* src/devices/grohtml/output.cc (simple_output::special): Parameter
is unused.
* src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
(lbp_printer::set_char): Last parameter is unused.
* src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
|
|
|
|
| |
Sorted alphabetically.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`access' before calling `unlink'.
(do_file): Handle __EMX__.
* src/include/nonposix.h: Handle __EMX__.
* Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
(fontpath,tmacpath): Use it.
* src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
@PATH_SEPARATOR@.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New files, copied from gnulib.
* src/libs/libgroff/Makefile.sub (CSRCS): Add them.
* configure.ac: Updated.
* configure: Regenerated.
* src/include/config.hin: Regenerated.
* src/include/lib.h [!HAVE_STRCASECMP]: Declare strcasecmp.
Don't define strcasecmp as strcmp.
[!HAVE_STRNCASECMP]: Declare strncasecmp.
Dont define strncasecmp as strncmp.
* src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.in (localfontdir, legacyfontdir): New variables.
(fontpath): Use them.
(MDEFINES, uninstall_dirs): Updated.
* Makefile.comm (.man.n): Add `LOCALFONTDIR' and `LEGACYFONTDIR'.
Remove `FONTPATH' and `MACROPATH'.
* src/roff/troff/troff.man, NEWS: Updated.
* doc/groff.texinfo (Font Directories): New section.
Other minor fixes.
* src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
src/preproc/grn/grn.man: Minor fixes.
* src/devices/grohtml/post-html.cc (html_printer::do_tab_ts):
Remove unused variable.
|
|
|
|
|
|
|
|
| |
* Makefile.comm (.SUFFIXES): Add .obj.
(.cc.obj, .c.obj): New implicit rules.
* Makefile.in (OBJEXT): New variable, initialized from autoconf.
(MDEFINES): Add EXEEXT and OBJEXT.
* */Makefile.sub: s/.o/.$(OBJEXT)/.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure: Regenerated.
* src/include/posix.h: Check HAVE_ISATTY.
* src/roff/troff/input.cc [ISATTY_MISSING]: Removed.
* src/utils/lookbib/lookbib.cc: Include posix.h.
Don't declare isatty.
* NEWS: Add `output' request.
* REVISION: Increased to 1.
|
|
|
|
|
|
| |
* contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New
files.
* Makefile.in, NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
colours.
* src/roff/troff/input.cc (disable_color_flag): Replaced with...
(color_flag): This (which is the inverse).
(activate_color): New function.
(main, init_input_requests): Updated.
* src/roff/troff/troff.h, src/roff/troff/node.cc
(troff_output_file::fill_color, troff_output_file::glyph_color):
Updated.
* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document the changes.
Circumvent bug in autoconf 2.53 regarding top_builddir.
* aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/.
* Makefile.in, src/xditview/Imakefile.in, doc/Makefile.in:
s/@top_builddir@/@groff_top_builddir@/.
* configure: Regenerated (with autoconf 2.53).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.in (make_html, make_install_html): New variables.
(MDEFINES): Updated.
* aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML
utility programs.
* configure.ac: Use it.
* configure: Regenerated.
* doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to...
(HTMLEXAMPLESFILES): This new variable.
(EXAMPLESIMAGEFILES): Renamed to...
(HTMLEXAMPLEIMAGEFILES): This.
(CLEANADD): Add HTMLEXAMPLEFILES.
(all): Use `make_html'.
(html): New target.
(install_data): Use `make_install_html'.
Move html stuff to...
(install_html): This new target.
(uninstall_sub): Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
should be removed only if builddir is not srcdir.
(mostlyclean): Handle `CLEANNOTSRCDIRADD'.
(clean): Depend on `mostlyclean'.
(distclean): Depend on `clean'.
(realclean, extraclean): Depend on `distclean'.
(.y.cc, .y.o): Simplified. The output files are no longer written
to srcdir but to builddir.
* Makefile.in (MDEFINES): Add `version' and `revision'.
(uninstall_dirs): Fix order of directories.
* doc/Makefile.sub (version, revision): Removed.
(CLEANADD): Removed grnexmpl.g, groff, groff-*.
Added `HTMLDOCFILES'.
(CLEANNOTSRCDIRADD): New target for grnexmpl.h, groff, groff-*.
* contrib/mom/Makefile.sub (uninstall_sub): Don't use `momdocdir'
but `htmldocdir'.
Add missing backslash.
* src/preproc/eqn/Makefile.sub, src/preproc/pic/Makefile.sub,
src/preproc/refer/Makefile.sub (YTABC, YTABH): Don't use `srcdir'
as prefix.
* doc/texinfo.tex (\authortt): New macro.
(\shortcontt): Define.
(\titlepage): Set \tt to \authortt while defining \authorfont.
(\appendixbox): New macro.
(\chapmacro, \appendixentry): Use \appendixbox to get even
indentation for letters.
(\summarycontents): Set \tt.
(\internalpagesize): Add two arguments for real paper width and
height as needed by pdfTeX.
(\letterpaper, \smallbook, \afourpaper, \afivepaper, \afourlatex):
Updated.
(\tempdima, \tempdimb): New temporary dimensions.
(\pagesizesyyy): Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to list only if srcdir != currdir.
(distfiles): New target.
* Makefile.in (EXTRADIRS): Add font/devlj4/generate.
(NOMAKEDIRS): New variable.
(DISTDIRS): Use it.
________________________________________________________________
* release of groffer 0.6
This is almost a complete rewrite since groffer 0.5 .
________________________________________________________________
* Documentation
* groffer.man:
- Apply the changes done in www.tmac (.URL and .MTO)
- Replace \fP by \f[].
- Redesign and rewrite most macros.
- Include the documentation for the new features.
- Greatly enlarge section ENVIRONMENT
- Add examples.
* TODO:
- Start a TODO file with several sections.
* ChangeLog:
Due to the many changes, shorten and rearrange the entries
since groffer 0.5 .
________________________________________________________________
* Shell compatibility
* groffer.sh:
- Due to possible conflicts in old BSD versions, `[]' was
replaced by `test'; the `test' options `-a' and `-o' were
replaced by multiple calls of `test'.
- Write interface to the `sed' command `s' to become
independent of the delimiter character. Rewrite all text
manipulating function to use this new scheme. The new
functions are named `string_*'.
- `tr' is not needed any longer, replaced by `sed'.
- `grep' is not needed any longer, mostly replaced by `case'.
- Revision of test for `getopt'.
- Remove `set -a'; explicitly export variables.
- The only external programs used are POSIX `sed' and the
fallback to `apropos'. All other program calls were
replaced by shell builtins and functions.
________________________________________________________________
* Cosmetics
* groffer.sh:
- Implement a prefix based naming scheme for local variables
and functions (OOP-like).
- Introduce variables for white space (better readability with
$IFS).
- Store the names of the processed filespecs into a variable
instead of a temporary file.
- Error-prone shell constructions were replaced by functions
with a simple interface.
- To avoid too long pipes, replace supercat() by do_fileargs();
every input file is handled independently.
________________________________________________________________
* New features:
- Add support for more X devices (e.g. X75-12 and X100-12).
- Add long option `--intermediate_output' to `-Z'.
- Make the options for mode selection clobber each other.
- Add option `--mode' with an argument having the following
values:
`X': force displaying in X, same as options `-X';
`tty': display with a pager on text terminal; same as `--tty';
`source', `default', `auto', etc.
- Make the handling of the X mode like in groff (e.g. -X -Tps).
- Make resolution for gxditview behave like groff (default
75 dpi).
- Add environment variable $GROFFER_OPT to preset groffer
options.
________________________________________________________________
* implement most of the functionality of GNU `man'.
- Add all `man' long options to groffer.
- Add all `man' environment variables.
- Parse and use content of `$MANOPT'.
- The precedence of the options and environment variables
is regulated like in GNU `man'.
- Force the option `--manpath' to have a colon-separated
argument like GNU `man'.
- Support `man section name' calling convention.
- Remove all dependencies on `man -w'.
* groffer.sh:
- Add the new features above.
- Rewrite the search algorithm for man pages.
- Remove searching with `man -w' (problems with space
characters in file names).
- Fix and complement usage().
- The filespec parsers gets a function of its own do_manpage().
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/input.cc (transparent): Remove unused declaration.
(output_request): New function.
(init_input_requests): Add it.
Sorted.
* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document it.
* Makefile.in (MDEFINES): Add INSTALL_INFO.
* doc/groff.texinfo (@direntry): Fix it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aclocal.m4 (GROFF_INSTALL_INFO): New function.
* configure.ac: Use it.
Generate `doc/Makefile'.
* configure: Regenerated.
* Makefile.in (infodir, INSTALL_INFO): New variables.
(MDEFINES, uninstall_dirs): Updated.
(OTHERDIRS): Add `doc'.
* Makefile.comm (CLEANDIRADD): New variable.
(mostlyclean): Use it.
* doc/Makefile.sub, doc/Makefile.in: New files.
* doc/Makefile: Removed.
* NEWS, INSTALL: Updated.
* doc/homepage.ms: Renamed to ...
* doc/webpage.ms: This.
Use `.NHR'.
* contrib/mom/Makefile.sub (momdocdir): Removed.
(HTMLDOCFILES): Prepend `momdoc/'.
(EXTRAEXAMPLEFILES): Removed. Added entries to...
(EXAMPLEFILES): This.
(.SUFFIXES, .mom.ps): New.
(prepare_make_examples): Updated.
(examples/*.ps): Removed; .mom.ps will handle this.
(install_data): Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<df191@ncf.ca>.
* contrib/mom/*: New subdirectory tree.
* Makefile.in (docdir, exampledir, htmldocdir): New variables to
be used for documentation files.
(MDEFINES, uninstall_dirs): Use them.
(OTHERDIRS): Add contrib/mom.
* Makefile.comm (.man.n): Add @DOCDIR@, @EXAMPLEDIR@, and
@HTMLDOCDIR@.
* MANIFEST, NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/groff.texinfo: Include it.
Define and use @copying.
Starting with separating glyph, symbol, and character.
* Makefile.in (EXEEXT): Set it.
* src/*/Makefile.sub (PROG): Add $(EXEEXT) for all non-script
programs.
* src/include/nonposix.h: Define GS_NAME.
* src/preproc/html/pre-html.cc (createAllPages): Use GS_NAME.
Some preliminary changes for EMX support under OS/2.
* src/preproc/pic/main.cc (main), src/roff/groff/pipeline.c: Add
__EMX__ similar to __MSDOS__.
* src/utils/indxbib/indxbib.cc (main) [__EMX__]: Use `unlink'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TTYDEVDIRS.
Define new variable OTHERDEVDIRS (containing `font/devlj4
font/devlbp' if not EBCDIC).
* Makefile.in (TTYDEVDIRS): Always include `font/devutf8'.
(OTHERDEVDIRS): New variable.
(MDEFINES, DEVDIRS, ALLDIRS, DISTDIRS): Updated.
* configure: Regenerated.
* NEWS, src/devices/grotty/grotty.man: Updated.
* src/roff/troff/input.cc (do_overstrike, do_bracket,
get_line_arg): Honour input level.
Add new symbol `mc' corresponding to U+00B5 MICRO SIGN.
* font/*/*: Implement it in all font files.
* font/devps/generate/textmap, font/devps/generate/symbolchars,
* font/devps/symbolmap: Updated.
* font/devlj4/generate/text.map: Updated.
* font/devdvi/generate/CompileFonts (sizes): Add LaTeX sizes.
* font/devdvi/generate/texmi.map: Updated.
* font/devutf8/R.proto: Remove all `charXXX' entries.
* font/devutf8/NOTES: Updated.
* font/devX*/*: Regenerated with xtotroff, using fonts from XFree86
version 4.1.0.
* tmac/latin1.tmac, tmac/psold.tmac, tmac/tty-char.tmac: Updated.
* NEWS, man/groff_char.man: Updated.
|
|
|
|
|
| |
* contrib/groffer/*: New.
* Makefile.in, NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/include/lib.h: Include config.h.
* All C files: Ditto (if necessary).
* All C++ source and header files: Include lib.h first (if
necessary).
* src/include/config.hin: New file (autogenerated by autoheader).
* stamp-h.in: New file.
* configure.ac: Updated.
* aclocal.m4: Add third parameters to AC_DEFINE macros.
(GROFF_ARRAY_DELETE): Simplified.
* Makefile.sub (DISTCLEANFILES): Updated.
Added targets for remaking config.status, config.hin, config.h,
stamp-h.in, and stamp-h.
* configure: Regenerated.
* NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(do_sprintf): Use snprintf().
* src/libs/snprintf/*: Added an snprintf module written by Mark
Martinec.
* src/libs/libgroff/Makefile.sub: Updated.
* configure.ac: Add test for snprintf().
* Makefile.in: Updated.
* configure: Regenerated.
* src/preproc/html/pre-html.cc (make_message): Reactivate code which
uses snprintf().
|
|
|
|
|
|
|
|
| |
* src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday().
* configure.ac: Add declaration test for gettimeofday().
* Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines.
* aclocal.m4: Include sys/time.h for gettimeofday declaration test.
* configure: Regenerated.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Add declaration test for strcasecmp().
* Makefile.in: Updated.
* configure: Regenerated.
* src/include/lib.h [!HAVE_MKSTEMP]: Add prototype for mkstemp() --
this is necessary because groff's mkstemp.cc is C++.
Add declaration conditionally for strcasecmp().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* contrib/pic2graph/{Makefile.sub, pic2graph.sh, pic2graph.man}: New
files.
* Makefile.in, NEWS: Updated.
* src/preproc/tbl/tbl.man: Revised.
* src/preproc/tbl/tbl.man: Extended to cover all tbl features.
* src/preproc/tbl/main.cc (process_data): Fix recognition of .lf
requests.
* Makefile.sub (configure): Depend on configure.ac, not
configure.in.
* INSTALL.gen: Upgrade to autoconf 2.52's INSTALL.
* src/utils/afmtodit/afmtodit.man, src/roff/groff/groff.man: Minor
fixes.
|
|
|
|
|
|
|
|
|
| |
* src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET.
* Makefile.in: Comment updated.
* configure: Regenerated.
* src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour
name instead of number.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/preproc/pic/pic_tab.h: Removed.
* src/preproc/refer/label.cc: Removed.
* doc/Makefile (.ms.html): Don't use a file name extension in
argument to grohtml's -I option.
* Makefile.in (dist): Remove CVS directories.
Call `distfiles' target.
* doc/groff.texinfo: Minor fixes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/libs/libgroff/mkstemp.cc: New file.
* src/libs/libgroff/mksdir.cc: New file.
* src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed.
(xtmpfile) [!HAVE_MKSTEMP]: Removed.
* src/libs/libgroff/Makefile.sub: Updated.
* src/include/lib.h: Add mksdir() prototype.
* src/include/posix.h: Define S_IXUSR if not yet defined.
* src/preproc/html/pre-html.cc (MAX_RETRIES): Removed.
(createAllPages): Use mksdir() instead of current code.
* src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed.
(main): [!HAVE_MKSTEMP]: Removed.
* aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file.
(GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New
macros.
* configure.ac: Add tests for stdint.h, sys/time.h, and
gettimeofday().
Call new GROFF_xxx macros.
* configure: Regenerated.
* Makefile.in: Comments updated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`am' with the difference that compatibility mode is saved on entry,
switched off during macro execution, and restored on exit.
* src/roff/troff/input.h: Added two new special characters
(COMPATIBLE_SAVE, COMPATIBLE_RESTORE).
* src/roff/troff/input.cc (input_iterator): Added two member
functions `save_compatible_flag' and `get_compatible_flag'.
(input_stack): Ditto.
(string_iterator): Ditto. Also add private member
`saved_compatible_flag'.
(token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
(calling_mode): New enumeration.
(do_define_macro): Use it. Insert COMPATIBLE_SAVE and
COMPATIBLE_RESTORE at the beginning and end of macro, respectively.
(define_macro, define_indirect_macro, append_macro, ignore): Use
`calling_mode'.
(define_nocomp_macro, append_nocomp_macro): New functions.
(init_input_requests): Updated.
(do_request): Rename local variable `saved_compatible_flag' to
`old_compatible_flag'.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
* tmac/an-old.tmac: Use `de1' instead of `de' request for all
public and trap-invoked macros. As a consequence, the man macros
work in compatibility mode also.
* Makefile.in: Use $(mandir).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/devices/grohtml-old/*: Removed.
* font/devhtml-old/*: Removed.
* src/libgroff/htmlindicate.cc (graphic_start, graphic_end): Remove
comments.
* Makefile.in (CCPROGDIRS, DEVDIRS): Updated.
* test-groff (PATH): Updated.
* tmac/Makefile.sub (NORMALFILES): Updated.
* tmac/an-old.tmac: Remove special code for html-old device.
Replace `html-or-html-old' register with `an-html'.
* tmac/eqnrc: Updated.
* tmac/html-old.tmac: Removed.
* tmac/troffrc, tmac/troffrc-end: Updated.
* tmac/www.tmac: Remove special code for html-old device.
Replace `html-or-html-old' register with `www-html'.
* src/libgroff/tmpfile.cc (remove_tmp_files),
src/libgroff/htmlindicate.cc (graphic_end), include/htmlindicate.h,
src/preproc/grn/*.cc, src/roff/groff/env.{cc,h}: Remove `void'
parameter if used as a single argument for consistency with rest of
source code.
* aclocal.m4, tmac/an-old.tmac: Fix copyright.
* src/roff/troff/troff.man: Fixing typos.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devlbp/Makefile.sub (CLEANADD): Set it.
* tmac/Makefile.sub (CLEANADD): Add tmac.local-s.
* Makefile.in (dist): Don't remove src/xditview/Imakefile, but ...
* Makefile.sub (DISTCLEANFILES): Here.
* libs/libgroff/new.cc: Include `nonposix.h'.
* win32-diffs: Updated.
When inside displays, an empty input line warning should be
suppressed. If another macro call is put inside a display,
all subsequent empty lines found in that display caused a
warning to be emitted.
(doc-empty-line): Check the `doc-display-depth' register to
determine whether we are inside display or not.
the only change is that `.Fn' and `.Fc' put a final semicolon after
a function declaration in the SYNOPSIS section).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the new grohtml are too numerous to be documented here.
Stuff related to `html' has been renamed to `html-old' and `html2'
stuff has been renamed to `html' (including directories). The new
html device driver is therefore invoked as `-Thtml'.
Added new `O' escape to suppress output (needed by html driver).
Added functions and code to pass info about input-level commands
(`.in', `.fl', etc.) to html driver.
Three new functions (.html-begin, .html-end, and .html-image) for
better html handling: `html-begin' will execute the remaining line
if at the outermost nesting level, increasing an internal counter.
`html-end' does the same but decreases the internal counter.
`html_image' puts its arguments into a special node (suppress_node)
to define an image region.
The `output' request has been removed.
* tmac/html-tags.tmac: Removed.
* tmac/arkup.tmac: Updated and renamed to ...
* tmac/www.tmac: New file.
* tmac/markup.tmac Updated and renamed to ...
* tmac/mwww.tmac: New file.
* tmac/Makefile.sub: Updated.
* tmac/an-old.tmac: Updated.
* tmac/eqnrc: Updated.
* tmac/groff_man.man
* tmac/groff_markup.man: Updated and renamed to ...
* tmac/groff_mwww.man: New file.
* tmac/groff_tmac.man: Updated.
* tmac/html-old.tmac: Updated and Renamed from html.tmac.
* tmac/html.tmac: Updated and renamed from html2.tmac.
* tmac/pspic.tmac: Updated html support.
* tmac/s.tmac: Added html output support.
* tmac/troffrc, tmac/troffrc-end: Updated.
* Makefile.in, doc/Makefile: Updated.
* doc/groff.texinfo: Added info about new `O' escape.
* doc/homepage.ms: Use `MAILTO' macro.
* font/devhtml/DESC.proto: Add `C' font.
* font/devhtml/Makefile.sub: Updated.
* font/devhtml/R.proto: Minor fixes.
* font/devhtml-old/Makefile.sub: Updated.
* src/devices/grohtml-old/Makefile.sub: Updated.
* src/libs/libdriver/printer.cc (printer::get_font_from_index): New
method.
* src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
graphic_start): Add `inline' parameter. Update.
(html_end_suppress, graphic_end): Update.
* src/include/html-strings.h: New file.
* src/include/htmlindicate.h: Comments updated.
* src/include/printer.h: Updated.
* src/preproc/eqn/main.cc (do_file, main): Updated.
* src/preproc/pic/troff.cc (troff_output::start_picture,
troff_output::finish_picture): Updated.
* src/preproc/tbl/main.cc (process_input_file): Updated.
* src/roff/groff/groff.cc (main): Updated.
Pass device arguments to predrivers also.
Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
* src/roff/troff/env.h (environment): Updated.
New elements `need_eol' and `ignore_next_eol' (for html output).
* src/roff/troff/env.cc (environment::environment): Add initializers
for `need_eol' and `ignore_next_eol'.
(environment::add_html_tag_eol, environment::add_html_tag_tabs): New
functions.
(point_size, fill, no_fill, center, right_justify, line_length,
indent, temporary_indent, break_request, handle_tab): Use
`add_html_tag()'.
(set_tabs): Use `add_html_tag_tabs()'.
(environment::add_html_tag): Updated.
(environment::do_break): Updated.
* src/roff/troff/div.cc (space_request, flush_output): Use
`environment::add_html_tag()'.
* src/roff/troff/input.cc: Updated.
New variable `html_level' to indicate nested `html-begin' requests.
(file_iterator::fill): Use `environment::add_html_tag_eol()'.
(non_interpreted_char_node, token_node, non_interpreted_node): Add
`force_tprint()' method.
(token::next): Handle `O'.
(do_suppress): Implement it.
(html_begin, html_end, html_image): New functions.
(init_output_requests): Renamed to ...
(init_html_requests): this.
(main): Use it.
(macro::append_str, macro::append_unsigned, macro::append_int): New
methods.
New variable `output_low_mark_miny' to limit minimal value of y.
(reset_output_registers): Use it.
(output_request): Removed.
(get_output_registers): New function.
* src/roff/troff/node.h (node): Make `force_tprint()' virtual.
(*_node): Added `force_tprint()' if necessary.
(special_node): New elements `tf' and `get_tfont()'.
(suppress_node): New class.
* src/roff/troff/node.cc:
New global variables `image_no' and `suppress_start_page'.
(real_output_file): New method `is_on()'.
(troff_output_file): New method `start_special(tfont)'.
(troff_output_file::really_print_line): Use `tprint' conditionally.
(real_output_file::print_line): Updated.
(real_output_file::on): Updated.
(*_node): Added `force_tprint()'.
(special_node::special_node): Initializer updated.
(special_node::same, special_node::copy, special_node::tprint_start):
Updated.
(get_reg_int, get_reg_str): New functions.
(suppress_node::*): New methods.
New global variables last_position, last_image_filename;
(min): New inline function.
* src/roff/troff/reg.h, src/roff/troff/request.h,
src/roff/troff/troff.h: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`di' resp. `da' but omitting a partially filled line (which is
restored after ending the diversion).
* src/roff/troff/div.h (diversion): Add elements to save partially
filled line.
* src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save
partially filled line.
(divert, divert_append): Updated.
(box, box_append): New functions.
(init_div_requests): Use them.
* src/roff/troff/env.h (environment): do_divert() is now a friend.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
* doc/groff.texinfo: Fix documentation of `lf' request.
* src/roff/troff/troff.man, NEWS: Document `writem' request.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a special macro path (without home and current directory) for config
files. Add home directory to unsafe path for consistency. Don't
include the home directory in the font path.
* src/lib/libgroff/macropath.cc: Add `config_macro_path', change
`macro_path'.
* src/include/macropath.h: Add `config_macrp_path'.
* src/lib/libgroff/fontfile.cc: Fix font path.
* src/roff/troff/input.cc (process_startup_file): Use
`config_macro_path'.
(main): Select unsafe path if -U is given.
* src/preproc/eqn/main.cc (main): Fixing search path for
configuration file.
* src/preproc/eqn/eqn.man: Updated.
* src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
Updated.
* src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
src/devices/grotty/grotty.man: Updated.
* Makefile.in: Fix comments.
src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directory while searching and scanning troffrc and troffrc-end.
Similarly, replace the current directory with the home directory
in the font path.
* Makefile.in (fontpath, tmacpath): Remove current directory.
* src/libs/libgroff/searchpath.cc (search_path::search_path): Add
two parameters `add_home' and `add_current'.
(search_path::~search_path, search_path::command_line_dir,
search_path::open_file): Remove tests for `dirs' being zero.
* src/include/searchpath.h: Adjust.
* src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
`safer_macro_path'.
* src/libs/libgroff/fontfile.cc: Adjust `font_path'.
* src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
* src/roff/troff/input.cc: Use `mac_path', initialized with
`macro_path'.
(process_startup_file): Set `mac_path' to `safer_macro_path'.
* src/roff/troff/env.cc: Use `mac_path'.
* src/preproc/eqn/main.cc (main): Use `safer_macro_path'.
* NEWS, man/roff.man, src/roff/troff/troff.man,
src/rof/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
Updated.
* src/include/lib.h: Don't include groff-getopt.h for OSF/1.
* aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
* configure.in: Fix typo in comment.
* configure: Regenerated.
* src/libgroff/*, src/include/*, src/roff/troff/*: Fixing copyright
dates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.in: Add $(libdir), $(libprogramdir), and $(systemtmacdir).
(uninstall_dirs): Add $(libdir), $(libprogramdir), and
$(systemtmacdir).
Use @libdir@.
* Makefile.comm (.man.n): Add @SYSTEMMACRODIR@.
* tmac/Makefile.sub (install_data): Create
$(systemtmacdir) and $(localtmacdir).
(uninstall_sub): Use $(systemtmacdir) for wrapper macros.
* man/roff.man, src/roff/troff/troff.man, src/roff/groff/groff.man,
NEWS, doc/groff.texinfo: Updated and minor fixes.
* Makefile.comm, Makefile.in: Added tmac_{s,an}_prefix stuff again.
* tmac/Makefile.sub: Added `wrap' stuff again, but installing into
$(systemtmacdir) since the wrapper files are platform-dependent.
* doc/groff.texinfo: Fix typo.
|
|
|
|
|
|
|
| |
* tmac/Makefile.sub: Adapted to new macro names; removed `wrap'
stuff since it is no longer needed.
* README, PROBLEMS: Updated.
|
|
|
|
|
|
|
|
|
| |
* Makefile.in: Add $(localtmacdir).
(uninstall_dirs): Add $(localtmacdir).
* Makefile.comm (.man.n): Add @LOCALMACRODIR@.
* tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local
in $(localtmacdir). Create $(localtmacdir).
* man/roff.man, src/roff/troff/troff.man, NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/hyphen.us: Removed.
* src/tmac/hyphen.us: Added.
* src/roff/troff/Makefile.sub, tmac/Makefile.sub: Updated.
Change installation structure for data files from .../groff/... to
.../groff/<version><revision>/... to be conform with other GNU
programs.
* Makefile.in, Makefile.comm, src/utils/indxbib/Makefile.sub,
doc/Makefile, src/xditview/Imakefile.in: Implement it.
* NEWS: Document it.
* NEWS, src/roff/nroff/nroff.man, src/roff/groff/groff.man,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
$bindir) used for child programs of groff and similar wrappers.
* gendefs.sh: Improve documentation.
* Makefile.comm (,man.n), src/include/Makefile.sub (defs.h),
src/preproc/eqn/Makefile.sub (neqn),
src/roff/nroff/Makefile.sub (nroff): Add $(bindir).
* src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Implement
$GROFF_BIN_PATH.
* src/roff/groff/groff.cc (main): Implement $GROFF_BIN_PATH and
$GROFF_PATH__ (the latter for communication with troff).
* src/roff/troff/input.cc (main): Use $GROFF_PATH__ for $PATH if
set.
* src/roff/nroff/nroff.man, src/roff/groff/groff.man,
doc/groff.texinfo: Document it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/preproc/html2/pre-html.h, pre-html.cc: Add return type to
`sys_fatal' and `stop' function().
* test-groff: Updated.
Added the new troff command .output <arg> to suppress output (while
still obeying motion) and also the opminx, opminy, opmaxx, opmaxy
registers (for passing the output dimensions to the output device).
* src/roff/troff/div.cc (top_level_diversion::output): Use `width'
parameter.
* src/roff/troff/node.h, src/roff/troff/node.cc
(troff_output_file::really_print_line,
ascii_output_file::really_print_line,
supress_output_file::really_print_line): Use `width' parameter.
(troff_output_file::really_on, troff_output_file::really_off,
output_file::on, output_file::off, real_output_file::on,
real_output_file::off, real_output_file::really_on,
real_output_file::really_off): New functions.
(real_output_file:public output_file): New variable `output_on'.
(real_output_file::begin_page, real_output_file::copy_file,
real_output_file::transparent_char, real_output_file::print_line):
Use it.
(real_output_file::print_line): Use check_output_limits.
* src/roff/troff/reg.h, src/roff/troff/request.h,
src/roff/troff/input.cc (assign_registers): New function to remove
two `goto's.
(do_ps_file): Use it.
(check_output_limits, reset_output_registers, output_request,
init_output_requests): New functions.
(init_input_requests): Updated.
Added new grohtml2 device and html2 preprocessor (coding
not yet finished) which will eventually replace grohtml.
* Makefile.in, tmac/Makefile.sub, tmac/eqnrc, tmac/troffrc-end:
Updated.
* src/include/htmlindicate.h, src/include/htmlindicate
(html_begin_suppress, html_end_suppress): New functions.
* src/preproc/tbl/main.cc: Use it.
* src/roff/groff/groff.cc: Add support for html2 device (which will
automatically invoke the html2 preprocessor).
* src/roff/troff/input.cc (is_html2): New variable.
* src/roff/troff/troff.h, src/roff/troff/env.h,
src/roff/troff/env.cc (environment::add_html_tag): New function
(uses `is_html2').
(environment::do_break): Use it.
* font/devhtml2/*: New files.
* src/devices/grohtml2: New device.
* src/preproc/html2: New preprocessor.
* tmac/tmac.html-tags, tmac/tmac.html2: New files.
|