| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/codeset.m4: New file, from gnulib.
* m4/iconv.m4: New file, from gnulib.
* m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
gnulib.
* config.rpath: New file, from gnulib.
* config.guess, config.sub: New files, from gnulib.
* Makefile.sub (M4MACROS): New variable.
(configure): Fix typo.
(aclocal.m4): New rule.
(stamp-h.in): Depend on aclocal.m4.
* configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
* Makefile.in (LIBICONV): New variable.
(MDEFINES): Pass it to recursive makes.
* src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
HAVE_ICONV instead of I18N macro.
* src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.
* aclocal.m4, configure, src/include/config.hin: (Re)generated.
* doc/Makefile.in (webpage.html): Simplify.
* doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
* doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
|
|
|
|
|
|
| |
In particular, don't use `\+' since it is a GNU sed extension.
* configure: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Announce makeinfo version.
* configure: Regenerated.
* Makefile.in: Declare proper dependencies between make targets.
* doc/Makefile.in: Rename groff info page to `groff.info'.
* doc/Makefile.sub: Likewise.
* doc/groff.texinfo: Likewise.
|
| |
|
|
|
|
| |
* configure: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
makeinfo 4.8 or newer is available.
* configure.ac: Call GROFF_MAKEINFO.
* configure: Regenerated.
* Makefile.in (MAKEINFO): Use autoconf variable.
(MDEFINES): Add MAKEINFO.
* doc/Makefile.in (MAKEINFO): Use autoconf variable.
* doc/Makefile.sub (MAKEINFO): Remove.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
generated conftest.sh script, conforming to portability
recommendation in autoconf docs.
* configure: Likewise, for code generated by GROFF_CSH_HACK.
* contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
to portability recommendation in autoconf docs.
* contrib/gdiffmk/gdiffmk.sh: Likewise.
* contrib/gdiffmk/tests/runtests.in: Likewise.
* contrib/grap2graph/grap2graph.sh: Likewise.
* contrib/groffer/groffer.sh: Likewise.
* contrib/mm/mmroff.pl: Likewise.
* contrib/mom/momdoc/appendices.html: Likewise.
* contrib/pic2graph/pic2graph.sh: Likewise.
* font/devps/generate/afmname: Likewise.
* src/devices/xditview/ad2c: Likewise.
* src/preproc/eqn/neqn.sh: Likewise.
* src/roff/grog/grog.pl: Likewise.
* src/roff/grog/grog.sh: Likewise.
* src/roff/nroff/nroff.sh: Likewise.
* PROBLEMS: Likewise, in embedded script examples.
Improve portability of `pdfroff' shell script.
* arch/misc/shdeps.sh: Add space in shebang, conforming to
portability guidelines in `autoconf' docs.
(PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
initialization code. Used by contrib/pdfmark/pdfroff.sh's
`searchpath' function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
* configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
* configure, src/include/config.hin: Regenerated.
* PROBLEMS: Updated.
Update getopt files.
* src/include/getopt.h, src/libs/libgroff/getopt.c,
src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
* src/include/getopt_int.h: New file (from GNU libc CVS).
* src/include/groff-getopt.h: Updated.
* src/include/Makefile.sub (HDRS): Add getopt_int.h.
* font/devutf8/NOTES: Updated.
Bug fix for Win32 relocatable code. Based on a patch from Keith
Marshall.
* src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
also.
* src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
(searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
null pointer.
* tmac/papersize.tmac: Convert `paper' string contents to lowercase.
* configure: Regenerated.
* NEWS: Updated.
Integrate `pdfmark' into normal groff build system;
install macro `pdfmark' packages, build and install `pdfroff',
and PDF format documentation.
* Makefile.comm: Add PDFDOCDIR.
* Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
(unstall_dirs): Add pdfdocdir.
* aclocal.m4: (GROFF_APPRESDIR_OPTION): use AC_HELP_STRING instead
of AS_HELP_STRING.
(GROFF_GHOSTSCRIPT_PREFS): New function; support `--with-alt-gs'
option, set ALT_GHOSTSCRIPT_PROGS.
(GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
(GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
(GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
set ALT_AWK_PROGS.
(GROFF_AWK_PATH): New function; support `--with-awk' option, force
use of GROFF_AWK_PREFS.
(GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
* configure.ac: Add AC_PREREQ(2.56), GROFF_PDFDOC_PROGRAMS.
Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
also by modified GROFF_HTML_PROGRAMS).
|
|
|
|
|
|
|
|
|
| |
* doc/groff.texinfo: Fix typos.
(\LEmacro): Get proper mathematical spacing.
* aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
* configure: Regenerated with autoconf 2.59b.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
* configure: Regenerated.
* Makefile.in (GHOSTSCRIPT): New variable.
(MDEFINES): Add GHOSTSCRIPT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
Add test for Xmu library.
(GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
GROFF_APPRESDIR_DEFAULT): New macros.
* configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
and GROFF_APPRESDIR_DEFAULT.
* configure: Regenerated.
* Makefile.in (appresdir): New variable.
(MDEFINES): Add appresdir.
* src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
-Xt.
(install_data, uninstall_sub): New targets to handle GXditview.ad.
* src/utils/indxbib/Makefiles.ub (install_data): Depend on
`$(srcdir)/eign', not `eign'.
* MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
* man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
Protect (g)xditview with `\%' to avoid hyphenation.
Other minor formatting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/xditview/*: Moved to ...
* src/devices/xditview/*: Here.
Moved DviChar.h and XFontName.h to src/include.
Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
Moved xtotroff.c to new directory src/utils/xtotroff.
Provide proper Makefile.sub files (reusing the stuff from
Imakefile.in).
DESC renamed to DESC.in.
Removed GXDitview-ad.h, INSTALL, Imakefile.in.
Converted everything from K&R to ANSI C.
Decorated with const where appropriate.
Cast string constants with `String' and `char *' where appropriate.
Made it compile with C++ (used as a C compiler).
Removed other minor compiler warnings.
* src/devices/xditview/device.c: Include config.h, string.h, and
defs.h.
Don't declare `exit', `strtok', `strchr', and `getenv'.
(FONTPATH): Remove.
* src/devices/xditview/font.c: Don't declare `XParseFontName' and
`XFormatFontName'.
* src/devices/xditview/xditview.c: Include config.h.
Include stdio.h earlier.
Protect declaration of `popen' and `pclose' with
NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
Replace `caddr_t' with `XtPointer'.
(MakePromptFunc): New typedef.
(DoPrint): Use RETSIGTYPE.
(promptfunction): Change type to MakePromptFunc.
(MakePrompt): Use MakePromptFunc for third argument.
(xmalloc): Removed.
* src/devices/xditview/ad2c: Add casts to `String'.
* src/include/XFontName.h (XFontNameString): Don't use array
notation.
Add prototypes for `XParseFontName', `XFormatFontName',
`XCompareFontName', and `XCopyFontName'.
* src/include/Makefile.sub (HDRS): Add `DviChar.h' and
`XFontName.h'.
* src/utils/xtotroff/xtotroff.c: Include getopt.h.
Don't declare `XParseFontName' and `XFormatFontName'.
(xmalloc): Removed.
(main): Remove `optind' and `optarg'.
* Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
(to select programs which need X).
Make XDEVIDIRS depend on `FORCE'.
(X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
X support).
(MDEFINES): Updated.
(LIBDIRS): Use XLIBDIRS.
(CPROGDIRS): Use XPROGDIRS.
(DEVDIRS): Remove font directories for gxditview.
(ALLDIRS, DISTDIRS): Add XDEVDIRS.
(EXTRADIRS): Remove src/xditview.
* Makefile.sub (DISCLEANFILES): Updated.
* Makefile.comm (LIBXUTIL): New variable.
(.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
(.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
* Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
* aclocal.m4 (GROFF_X11): New function.
* configure.ac: Call GROFF_X11.
Don't create src/xditview/Imakefile.
Don't emit notice how to build gxditview.
* configure: Regenerated.
* test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
|
|
|
|
|
|
|
|
|
|
|
| |
* aclocal.m4 (GROFF_STDINT_H): Removed.
(GROFF_INTTYPES_H): Define HACE_CC_INTTYPES_H.
* configure.ac: Updated.
* configure, src/include/config.hin: Regenerated.
* src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
inttypes.h conditionally.
|
|
|
|
| |
* configure, NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
default paths.
* aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
* configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
* configure: Regenerated.
* Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
* src/include/nonposix.h (PATH_SEP_CHAR): New definition.
Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Check for vsnprintf.
* src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
`HAVE_VSNPRINTF'.
* src/include/config.hin: Regenerated.
* aclocal.m4: Updated syntax to autoconf 2.59.
(GROFF_HTML_PROGRAMS): Use AC_FOREACH.
Don't check for gsos2.
(GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides
working abs_top_srcdir and abs_top_builddir.
* configure.ac: Updated syntax to autoconf 2.59.
Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
* configure: Regenerated.
* Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
s/@groff_top_builddir@/@abs_top_builddir@/.
* src/roff/groff/pipeline.c (xstrsignal):
s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
* src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
make start angle smaller than end angle to circumvent a bug in tpic
handling of some versions of dvipdfm (and dvipdfmx).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GROFF_LIBC): New function.
* configure.ac: Call GROFF_LIBC.
Check for `kill'.
* configure: Regenerated.
* src/include/lib.h: Handle __MINGW32__.
* src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
Add macro for `pipe'.
Define P_tmpdir.
* src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
correctly.
* src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
Implement.
|
|
|
|
|
|
|
|
| |
* configure, src/include/config.hin: Regenerated.
* src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
* PROBLEMS: Add solution for UTF-8 problem with hyphens.
|
|
|
|
|
| |
if --quiet is used for the configure script.
* configure: 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (Dt): Don't emit warning for unknown section.
* tmac/groff_mdoc.man: Fix description of `Dt'.
* font/devps/prologue.ps: Fix for included Postscript that does
a setpagedevice -- which is now safely ignored.
* NEWS: Updated.
* src/devices/grops/ps.cc: Now sets the page size in the generated
document. This is done in two ways: Via a %%-comment for gv and
the like, and via a PageSize and setpagedevice for programs that
understands Postscript proper, like ps2pdf.
* src/devices/grops/ps.h: New broken-flag to avoid page size
definition, if required.
* src/devices/grops/grops.man: New broken-flag 16 mentioned.
* doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
Not really necessary due to the fix in prologue.ps, but cleaner:
Such information does not belong in an .eps file.
* doc/Makefile.sub: See doc/Makefile.in.
* aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
instead of P1 since the latter is broken in some versions of netpbm.
* configure: 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
* aclocal.m4 (GROFF_MKSTEMP): Include unistd.h.
* configure: Regenerated.
* src/roff/troff/symbol.cc (table_sizes): Add more values.
* src/roff/grog/grog.pl, src/roff/grog/grog.sh: Recognize mom.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is not initialized at the time we need it in case `--prefix' hasn't
been set. Check for `ac_default_prefix' also.
Test for `papersize' keyword also and generalize allowed whitespace.
* configure: Regenerated.
* font/devps/Makefile.sub (DESC): Use `papersize' instead of
`paperlength'.
* src/libs/libgroff/Makefile.sub (version, revision): Replaced
with...
(src_version, src_revision): New variables to avoid overwriting
from parent make process.
(version.cc): Updated.
* contrib/mom/Makefile.sub (groff_bin_dirs): Fix typo (forgotten
`src' element).
* src/preproc/html/pre-html.cc: Include paper.h and font.h.
(linebuf, linebufsize): New global variables.
(sys_fatal): Use `fatal' to abort properly.
(get_line): New function.
(get_resolution): Use it.
Improve error messages.
(get_papersize): Check `papersize' also.
Use `get_line'.
Improve error messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
translated to gray values).
* src/devices/grodvi/dvi.cc (FILL_MAX): Removed.
(dvi_printer): Add `cur_color' member.
(dvi_printer::set_color): New function.
(draw_dvi_printer): Remove `fill'.
(draw_dvi_printer::fill_next): Pass environment as parameter.
Update code for new color support translated to gray.
(dvi_printer::set_char): Updated.
(dvi_printer::begin_page, dvi_printer::end_page): Handle color
changes crossing the page border.
(dvi_printer::draw): Updated.
Remove cases `f' and `F'.
* tmac/dvi.tmac: Add color definitions.
* NEWS, src/devices/grodvi/grodvi.man: Updated.
* tmac/an-old.tmac (R): Make this a macro to emit a warning if
used incorrectly.
* aclocal.m4 (GROFF_NEED_DECLARATION): Use test similar to recent
versions of autoconf.
* configure: Updated.
* doc/homepage.ms: Use `.blm'.
* tmac/www.tmac (www-depth): New auxiliary variable.
(www-pop-level): Don't issue HTML tag.
(ULS, ULE, LI): Use absolute indentation.
* src/devices/grops/ps.cc (ps_printer::begin_page,
ps_printer::end_page): Switch forth and back to default color while
starting a new page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
* configure: Regenerated.
* win32-diffs: Updated.
* tmac/groff_mwww.tmac: Renamed to ...
* tmac/groff_www.tmac: This.
* tmac/mwww.tmac: Removed.
* NEWS, tmac/Makefile.sub: Updated.
* doc/groff.texinfo: Improve documentation of the `\v' escape.
Fix explanation of `\D' and `rt'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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().
|
|
|
|
|
|
|
|
|
| |
* 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/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.
|
|
|
|
|
| |
AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++).
* configure: Regenerated.
|
|
|
|
| |
* configure: Regenerated.
|
|
|
|
| |
* configure: Updated.
|
|
|
|
|
|
|
|
| |
* configure.in: Renamed to...
* configure.ac: This.
* aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed.
(GROFF_OS390): Updated.
* configure: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aclocal.m4 (GROFF_MKSTEMP): This new function.
* configure: Regenerated.
* src/include/groff-getopt.h: Don't use variable names in
declarations.
* configure.in: Add special check for mkstemp().
* src/libs/libgroff/tmpfile.cc: Use it.
* src/utils/indxbib/indxbib.cc: Ditto.
* src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style.
* src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use
`const'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* configure: Updated.
* arch/djgpp/README, font/devutf8/NOTES: Use it.
* man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and
@MACRODIR@ instead of hard-coded directories.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
routine taken from GNU bfd.
* aclocal.m4 (GROFF_NEED_DECLARATION): New function.
GROFF_PUTENV, GROFF_POPEN, GROFF_PCLOSE, GROFF_HYPOT: Removed.
* configure.in: Use it.
* src/devices/grolbp/lbp.cc, src/include/lib.h,
src/preproc/grn/hgraph.cc, src/preproc/pic/pic.h,
src/roff/groff/groff.cc: Use it.
* Makefile.in, configure: Updated.
* src/devides/grolbp/lbp.h: Removed unused variables.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strncasecmp().
* aclocal.m4 (GROFF_SRAND): New function to test the return value
of srand() -- at least SunOS 4.1.3 uses `int' instead of `void'.
* configure.in: Use it.
* src/preproc/pic/pic.y, src/preproc/pic/pic.cc: Use it.
* configure, Makefile.in: Updated.
* configure.in: Add test for strncasecmp().
* src/include/lib.h: Use it.
|
|
|
|
|
|
|
|
|
|
| |
expansion.
* NEWS: Document the three new man pages.
* aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call.
* configure: Updated.
* font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc:
Ditto.
* src/roff/groff/groff.man: Ditto.
* src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto.
* doc/groff.texinfo: Ditto.
* tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space)
for cp1047.
* man/groff_char.man: Add `pc' glyph.
* tmac/tmac.latin1: Replacing `md' glyph with `pc'.
* tmac/tmac.tty: Add `pc' glyph.
* tmac/tmac.tty-char: Use/add `pc' glyph. Don't call tmac.latin1 if
we use cp1047 output device.
* Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since
there are still hardcoded latin1->unicode values in utf8's font
definition files.
* configure: Updated.
* NEWS: Minor clarification. Updated.
* PROBLEMS: Formatted. Added info about C++ fix pack for OS/390
Unix.
|