1 2000-03-01 Colin Phipps <crp22@cam.ac.uk>
3 * src/utils/indxbib/indxbib.cc (main): Use mkstemp() for temporary
6 2000-02-29 Werner LEMBERG <wl@gnu.org>
8 Adding GNU getopt to the groff distribution.
10 * src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
12 * src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
13 * aclocal.a4: Remove GROFF_GETOPT function.
14 * configure.in, Makefile.in, PROBLEMS: Update.
15 * src/include/lib.h: Replace getopt tests with getopt.h.
16 * src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.
18 * doc/groff.texinfo: Further checking/updating. Adding more index
21 * man/groff_out.man: Fix nroff mode activation (for emacs).
22 * man/groff_font.man: Add missing ligature.
24 2000-02-28 Werner LEMBERG <wl@gnu.org>
26 * doc/groff.texinfo: Further checking/updating. Adding more index
29 * src/devices/grolbp/grolbp.man: Added a comment line at the
30 beginning of the file (similar to shell scripts) which indicates
31 that `tbl' should be used as a preprocessor.
33 2000-02-27 Blake McBride <blake@florida-software.com>
35 Adapting groff to MS Visual C++ 6.0 compiler (tested with
36 Windows NT 4.0). Uses _MSC_VER define where necessary.
38 * src/devices/grodvi/dvi.cc: Making stdout a binary stream.
39 * src/devices/grolj4/lj4.cc: Making getopt variables `extern "C"'.
40 * src/devices/grohtml/html.cc, src/devices/grops/ps.cc,
41 src/include/lib.h, src/libs/libgroff/errarg.cc,
42 src/libs/libgroff/itoa.c, src/libs/libgroff/nametoindex.cc,
43 src/preproc/refer/label.y, src/preproc/refer/label.cc,
44 src/roff/groff/pipeline.c, src/roff/troff/column.cc,
45 src/roff/troff/div.cc, src/roff/troff/env.cc,
46 src/roff/troff/input.cc, src/roff/troff/node.cc,
47 src/roff/troff/reg.cc: Renaming itoa() to i_to_a() and iftoa() to
48 if_to_a() to avoid name clashes.
49 * src/include/posix.h: Don't use unistd.h.
50 * src/libs/libgroff/tmpfile.cc: Use `#ifndef...#else...#endif'
51 clause for integrating non-Unix xtmpfile() code.
52 * src/roff/troff/input.cc: Adding `public' keyword to macro_header
53 structure; use "rt" for popen() in pipe_source(); add getpid()
55 * src/roff/troff/node.cc: Use special versions of popen() in
56 real_output_file() and pclose() in ~real_output_file().
58 2000-02-27 Werner LEMBERG <wl@gnu.org>
60 Adding a new driver, grolbp, for Canon CAPSL printers (LBP-4 and
61 LBP-8 series laser printers). This code has been contributed by
62 Francisco Andres Verdu <pandres@dragonet.es>.
64 * src/devices/grolbp/*: The grolbp output device.
65 * font/devlpb/*: The font description files.
66 * Makefile.in: Add grolpb and devlbp subdirectories.
68 * src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
69 src/devices/grotty/grotty.man,src/roff/troff/troff.man: Minor
72 * doc/groff.texinfo: Further checking/updating. Adding more index
77 * src/devices/grolbp/Makefile.sub: Adding $(srcdir).
79 * man/groff_font.man: Adding info about obsolete DESC keywords.
80 * src/devices/grolj4/grolj4.man: Documenting additional DESC
83 2000-02-26 Werner LEMBERG <wl@gnu.org>
85 * src/preproc/grn/grn.man: Added info about the gremlin file format
86 (contributed by Daniel Senderowicz <daniel@synchrods.com>).
88 2000-02-25 Werner LEMBERG <wl@gnu.org>
90 * src/preproc/grn/main.cc: Allow values of `narrow' parameter and
91 friends to be non-integer.
93 * src/preproc/grn/grn.man: Document it.
95 * doc/groff.texinfo: Further checking/updating. Adding more index
98 2000-02-24 Werner LEMBERG <wl@gnu.org>
100 * src/preproc/grn/main.cc: Introduce BASE_THICKNESS, defining
101 line thicknesses to be integer multiples of this value.
103 * src/preproc/grn/grn.man: Commenting out the -s option -- the
104 corresponding code doesn't work (yet).
106 * doc/groff.texinfo: Further checking/updating. Adding more index
109 2000-02-23 Werner LEMBERG <wl@gnu.org>
111 * src/preproc/grn/{main.cc, hgraph.cc}: Using point units to
112 specify line thickness instead of base units. The new default
113 values are now 0.15,pt 0.45pt, and 0.75pt for thin, middle, and
114 thick lines respectively.
116 Removed unused variable `prevval'.
118 * src/preproc/grn/grn.man: Updated.
120 2000-02-22 Werner LEMBERG <wl@gnu.org>
122 * src/preproc/grn/main.cc: Slight formatting.
124 * src/roff/groff/groff.man: Formatting fix.
125 * src/preproc/grn/grn.man: Ditto.
127 * src/roff/grog/grog.pl: Fixing two embarassing bugs.
129 * doc/groff.texinfo: Further checking/updating.
131 2000-02-21 Werner LEMBERG <wl@gnu.org>
133 * README, INSTALL, PROJECT, PROBLEMS, BUGREPORT: Updated.
135 * test-groff: Added grn subdir to path.
137 * doc/groff.texinfo: Some restructing and other small improvements.
139 * src/roff/groff/groff.cc (help): Fixed info string.
141 2000-02-20 Werner LEMBERG <wl@gnu.org>
143 * doc/meref.me: Fix description of .GS request.
145 * src/roff/troff/troff.man: Fixing typo.
147 Adding the `grn' preprocessor for gremlin graphic files.
149 * src/preproc/grn/*: This is the Berkeley distribution written by
150 David Slattengren and Barry Roitblat, adapted to groff by Daniel
151 Senderowicz and Werner Lemberg.
153 * doc/grnexampl.{me,g}: A sample for grn.
155 * Makefile.in: Added subdirectory entry for grn.
157 * src/roff/groff/groff.cc: Added support for grn. It can be now
158 called with the switch `-g'.
160 * src/roff/groff/groff.man: Updated.
162 * src/roff/grog/grog.{man,pl,sh}: Updated.
166 2000-02-11 Gaius Mulley <gaius@glam.ac.uk>
168 * src/include/lib.h: Added xtmptemplate and made xtmpfile
169 parametrically polymorphic.
171 * src/libs/libgroff/tmpfile.cc: Implemented xtmptemplate
172 and the alterations to xtmpfile.
173 xtmpfile can be requested to return the filename created
174 and asked not to unlink the temp file. The default behaviour
175 if parameters are absent is exactly the same as before.
177 2000-02-11 Abramo Bagnara <abramo@alsa-project.org>
179 A new request `length' is available which returns the length of a
180 string in a number register:
182 * src/roff/troff/input.cc (length_macro): Implement it.
183 * src/roff/troff/input.cc (init_input_requests): Register it.
185 2000-02-11 Werner LEMBERG <wl@gnu.org>
187 * doc/groff.texinfo, src/roff/troff/troff.man: Add documentation
188 of the `substring' request.
190 * src/roff/troff/troff.man, doc/groff.texinfo: Document `length'
193 * src/roff/troff/TODO, NEWS: Updated.
195 2000-02-09 Werner LEMBERG <wl@gnu.org>
197 * src/roff/groff/groff.man: Added an example.
199 2000-02-06 Werner LEMBERG <wl@gnu.org>
201 I've considerably modified the directory structure of the
202 distribution to get a more vertical layout. For example, the number
203 of top level directories has been reduced from 42 to 6.
205 As a consequence, many changes, especially to the makefiles, were
208 * The makefile variables `top_builddir' and `top_srcdir' have been
209 introduced. Virtually all relative paths have been replaced with
210 absolute ones using these two variables.
212 * Dependencies (in the files `Makefile.dep') are no longer part of
213 the distribution. Instead, they are created during a `make install'
214 in the build directory.
216 * aclocal.m4 (GROFF_SRCDIR, GROFF_BUILDDIR): Two new functions to
217 make `top_srcdir' and `top_builddir' absolute.
221 * Man pages no depend on the files `VERSION' and `REVISION'.
223 * The added shell script `mkinstalldirs' will replace `mkdir' in
226 * VERSION: Version number increased to 1.16.
228 2000-02-04 Werner LEMBERG <wl@gnu.org>
230 * grops/psrm.cc (read_one_of): Fixed pointer incrementation.
232 * Makefile.in: Removed $(tmac_m) since it is no longer needed
233 (after an update of the mm stuff).
235 * troff/Makefile.sub (majorminor.cc): Fix dependencies.
237 2000-02-03 Werner LEMBERG <wl@gnu.org>
239 The .psbb request will now also accept Mac PS images (i.e. using LF
240 as the EOL character).
242 * troff/input.cc (ps_get_line): New function, taken from psrm.cc
243 (with slight modifications).
244 * troff/input.cc (do_ps_file): Use it.
246 * test-groff: Add grohtml and grolj4 output devices to PATH.
248 2000-01-30 Werner LEMBERG <wl@gnu.org>
250 * NEWS, MORE.STUFF: Updated.
252 2000-01-30 Cary D. Renzema <caryr@dollar.mxim.com>
254 Add the `srand' command to pic.
256 * pic/lex.cc, pic/pic.y: Implement it.
257 * pic/pic.man: Document it.
258 * pic/pic.cc, pic/pic.tab.h: Regenerated (with yacc).
260 2000-01-30 Werner LEMBERG <wl@gnu.org>
262 Add a new request `.psbb'. This does exactly what the external
263 program psbb did. It scans a PostScript image file for a
264 %%BoundingBox comment and extracts the bounding box values (in
265 PostScript units) which are then stored in the four new (read-only)
266 number registers `llx', `lly', `urx', and `ury'.
268 This will allow the usage of the .PSPIC macro without worrying
269 about unsafe behaviour of groff, i.e., it will work without the
270 `-U' switch of groff.
272 * troff/input.cc: Implement it.
273 * tmac/tmac.pspic: Use it.
274 * troff/troff.man, grops/grops.man, NEWS: Document it.
275 * psbb/*, Makefile.in: Remove it since it is no longer needed.
277 This is bloody C code simply adapted from psbb.c! Any improvements
280 2000-01-29 Werner LEMBERG <wl@gnu.org>
282 * man/groff_font.man: Minor clarifications.
286 2000-01-28 Werner LEMBERG <wl@gnu.org>
288 * afmtodit/afmtodit.pl: Use new `--' comment delimiter.
290 2000-01-28 Gaius Mulley <gaius@glam.ac.uk>
292 * man/groff_font.man: Brought up to date regarding tcommand
294 * libgroff/font.cc: Handle everything after `--' as a comment
296 * devps/*: Added comment delimiter inside devps font files.
298 2000-01-28 Werner LEMBERG <wl@gnu.org>
300 * tmac/tmac.arkup, tmac/groff_markup.man: Replace \fC...\fR with
301 \fC...\fP (which now works as expected).
303 * troff/troff.man: Fix typo.
305 2000-01-27 Gaius Mulley <gaius@glam.ac.uk>
307 Completed the pass_filenames implementation in troff.
309 * libdriver/input.cc: Will read the new `F' tcommand.
310 * troff/node.cc, troff/node.h: Will issue the new `F' tcommand.
311 * troff/input.cc: Use it.
313 2000-01-26 Werner LEMBERG <wl@gnu.org>
315 * troff/env.cc (set_font): Fix the behaviour of \fP. The previous
316 font will now be updated even if an invalid font is selected.
318 2000-01-24 Werner LEMBERG <wl@gnu.org>
320 * doc/homepage.ms: Updated for new tmac.arkup.
322 * tmac/tmac.html: Disable line breaks after hyphen-like characters.
324 * tmac/tmac.arkup: Cleanup.
326 Added `\&' to .HTML macro to `leave vertical mode', so to say.
328 Removed obsolete .LINK macro completely.
330 The macros .URL, .FTP, and .MAILTO now accept a third argument which
331 will be immediately appended to the second argument (to be used with
332 punctuation, for example).
334 Disabled .CDFTP macro temporarily for security reasons.
336 * tmac/groff_markup.man: Complete revision for latest changes in
337 tmac.arkup -- note that it does not yet format correctly with
340 2000-01-23 Bruno Haible <haible@clisp.cons.org>
342 * nroff/nroff.sh: Accept -Tutf8 option and pass it through.
343 * devutf8/R.proto: Add mappings for wp, lh, rh.
344 * devutf8/NOTES: Updated.
346 2000-01-23 Werner LEMBERG <wl@gnu.org>
348 * doc/groff.texinfo: Updated version/copyright info.
350 2000-01-21 Gaius Mulley <gaius@glam.ac.uk>
352 Added support for two new directives in device descriptions:
353 `pass_filenames' (to pass the input file name to the output device)
354 and `use_charnames_in_special' (to support e.g. accented characters
357 * include/font.h, troff/charinfo.h: Declare it.
359 * libgroff/font.cc, libgroff/fontfile.cc: Set it.
361 * devhtml/DESC: Use it.
363 * troff/input.cc: New function encoded_char.
365 * troff/token.h: Add test for `specialness'.
367 2000-01-21 Werner LEMBERG <wl@gnu.org>
369 * tmac/Makefile.sub: tmac.a4 and tmac.trace have been removed by
370 mistake from the list of files to be installed.
372 2000-01-18 Werner LEMBERG <wl@gnu.org>
374 * README: Added info how to apply patches.
376 2000-01-15 Jan Echternach <echter@informatik.uni-rostock.de>
378 * troff/node.cc (ligature_note::operator delete): Fix g++ warning.
380 2000-01-15 Gaius Mulley <gaius@glam.ac.uk>
382 * troff/input.cc: Add support for troffrc-end.
384 * tbl/main.cc: Altered to issue table-start and table-end special
385 characters if using the html device.
387 * devhtml/*: Modified font files to incorporate html encoding of
390 * tmac/groff_markup.man: New file documenting tmac.arkup.
392 * tmac/troffrc-end: New file. This is invoked after all user
393 specified macros. Currently used by the html device to include
394 tmac.html. Thus no need for users to specify -mhtml anymore.
396 * tmac/Makefile.sub (NORMALFILES): Add troffrc-end.
397 (MAN7): Add groff_markup.man.
399 * tmac/tmac.an, tmac/tmac.html: Small html updates.
401 * tmac/troffrc: tmac.arkup will now be called for the html device.
403 * libgroff/font.cc, libgroff/font.h: Altered to include reading of
404 extra device specific information about fonts.
406 * doc/homepage.ms: New file. It is an example how an HTML home page
407 could look like with grohtml.
409 * doc/Makefile: Add homepage.ms. Remove rule for pic.html.
411 2000-01-12 Bruno Haible <haible@clisp.cons.org>
413 * devutf8/R.proto: Add mappings for ti, Fn, st, an. Change mappings
416 * devutf8/NOTES: Updated.
418 2000-01-08 Bruno Haible <haible@clisp.cons.org>
420 * eqn/box.cc, eqn/lex.cc, eqn/other.cc, eqn/over.cc, eqn/special.cc,
421 eqn/text.cc, grodvi/dvi.cc, grops/ps.cc, grops/psrm.cc,
422 libbib/index.cc, libbib/linear.cc, libbib/search.cc,
423 libdriver/printer.cc, libgroff/font.cc, libgroff/string.cc,
424 pic/lex.cc, pic/object.cc, refer/label.y, refer/ref.cc, tbl/main.cc,
425 tbl/table.cc, tfmtodit/tfmtodit.cc, troff/dictionary.cc,
426 troff/div.cc, troff/env.cc, troff/input.cc, troff/node.cc,
427 troff/node.h, troff/reg.cc: Avoid most "g++ -Wall -Wno-sign-compare"
430 * troff/node.cc (bracket_node::copy): Initialize last to NULL.
432 2000-01-12 Fabrizio Polacco <fab@prosa.it>
434 grolj4: Paper size will be searched case-insensitively.
436 * grolj4/lib.h: Add check for strcasecmp().
437 * grolj4/li4.cc (lookup_paper_size): Use strcasecmp().
438 * configure.in: Check for strcasecmp().
440 2000-01-11 Werner LEMBERG <wl@gnu.org>
442 * troff/Makefile.sub (majorminor.cc): Fix incorrect path to
445 2000-01-10 Werner LEMBERG <wl@gnu.org>
447 * Makefile.comm, Makefile.in, doc/Makefile: More fixes for the
450 Add a new read-only register, `.Y', which contains the groff
453 * troff/input.cc (init_input_requests): Define it.
454 * troff/Makefile.sub (majorminor.cc): Define `revision' string.
455 * doc/groff.texinfo, troff/troff.man: Document it.
457 * libgroff/Makefile.sub (version.cc): Add definition of
458 `Version_string[]', consisting of `<major>.<minor>.<revision>'
459 * eqn/main.cc, grodvi/dvi.cc, grolj4/lj4.cc, grops/ps.cc,
460 grotty/tty.cc, hpftodit/hpftodit.cc, indxbib/indxbib.cc, pic/main.cc,
461 refer/refer.cc, soelim/soelim.cc, tbl/main.cc, tfmtodit/tfmtodit.cc,
462 troff/input.cc, pfbtops/pfbtops.c: Use it.
464 2000-01-10 Fabrizio Polacco <fab@prosa.it>
466 Add a revision scheme to the groff package.
468 * REVISION: New file.
469 * libgroff/Makefile.sub (version.cc): Use it to define
471 * grops/psrm.cc: Use revision_string (converted to an unsigned
472 integer) in constructor of resource_manager.
474 2000-01-10 Bruno Haible <haible@clisp.cons.org>
476 * devutf8/Makefile.sub, devutf8/DESC.proto, devutf8/R.proto: New
478 * Makefile.in (DEVDIRS): Add devutf8.
479 * grotty/tty.cc: Include device.h.
480 (glyph): Change type of `code' to `unsigned int'.
481 (tty_printer): New field is_utf8. Constructor takes device argument.
482 (tty_printer::tty_printer): If device if `utf8', set is_utf8.
483 (tty_printer::add_char): Change type of first arg to `unsigned int'.
484 (tty_printer::put_char): New function.
485 (tty_printer::end_page): Use put_char() instead of ::putchar().
486 (make_printer): Pass device to tty_printer constructor.
487 * nroff.sh: Determine default device by calling 'locale'. As a
488 fallback, look at all of $LC_ALL, $LC_CTYPE, $LANG, $LESSCHARSET.
489 Recognize UTF-8 locales.
490 * tmac/eqnrc: Recognize utf8 like latin1.
491 * tmac/troffrc: Device utf8 needs tmac.tty.
493 2000-01-07 Werner LEMBERG <wl@gnu.org>
495 * tmac/Makefile.sub: tmac.a4 and tmac.trace will now be installed.
497 2000-01-07 Paul Eggert <eggert@twinsun.com>
499 Add a new predefined writeable number register, `year',
500 which contains the current year.
502 * doc/groff.texinfo, PROBLEMS, troff/troff.man: Document it.
503 * tmac/tmac.s: Use it.
504 * troff/input.cc (init_registers): Initialize it.
506 2000-01-06 Werner LEMBERG <wl@gnu.org>
508 * PROBLEMS: Fixed typo.
510 2000-01-04 Paul Eggert <eggert@twinsun.com>
512 * PROBLEMS: Add Y2k advice for the yr number register.
514 2000-01-03 Paul Eggert <eggert@twinsun.com>
516 * doc/groff.texinfo: Fix Y2k bug in documentation of \n(yr.
518 2000-01-02 Werner LEMBERG <wl@gnu.org>
520 * tmac/tmac.arkup: Slight modification of macros to provide better
521 appearance for non-HTML formats.
523 2000-01-01 Charles Levert <charles@comm.polymtl.ca>
525 * soelim/soelim.cc (include_path_append): realloc(NULL, n)
526 does not automatically translate to malloc(n) on all OSes
527 (e.g., SunOS) so do it explicitly. Also, check the returned
530 2000-01-01 Werner LEMBERG <wl@gnu.org>
532 * tmac/tmac.arkup: Added .LINE macro. Some formatting.
534 * Makefile.in: Added $(tmac_m) again since the Makefile in `mm'
535 expects this variable
537 2000-01-01 Gaius Mulley <gaius@glam.ac.uk>
539 * doc/Makefile: Added instructions to create HTML and text
540 versions of some files.
542 1999-12-31 Werner LEMBERG <wl@gnu.org>
544 * Updated INSTALL.gen.
546 * tmac/tmac.arkup: Added fixes so that .FTP and .MAILTO works
547 better resp. correctly with non-HTML devices.
549 Version 1.15 released
550 =====================
552 1999-12-28 Werner LEMBERG <wl@gnu.org>
554 * NEWS, VERSION: Changed to 1.15
556 1999-12-27 Paul Eggert <eggert@twinsun.com>
558 * nroff/nroff.man: -S is safer, not safe.
560 * groff/groff.cc (main): Use `safer', not `safe', in variable
561 names. This does not change the behavior.
563 * troff/input.cc (main): Likewise.
565 * nroff/nroff.sh: Likewise.
567 * troff/input.cc (prepend_string): New function.
568 (main): Prepend -msafer, so that we check macro libraries for
571 * PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.
573 Version 1.14 released
574 =====================
576 1999-12-26 Werner LEMBERG <wl@gnu.org>
578 * NEWS, VERSION: Changed to 1.14.
580 1999-12-24 Werner LEMBERG <wl@gnu.org>
582 * refer/refer.cc: Fixing the last fix.
584 Version 1.13 released
585 =====================
587 1999-12-23 Werner LEMBERG <wl@gnu.org>
589 * tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
594 * tmac/tmac.safer: Forgot to remove `so' from the `rm' request.
596 * VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
597 document conventions, the version number must be a real.
599 Version 1.12.1 released
600 =======================
602 1999-12-22 Werner LEMBERG <wl@gnu.org>
604 * VERSION: Changed to 1.12.1.
606 1999-12-22 Alan Rooks <arooks@istar.ca>
608 * refer/refer.cc (do_file): Slight modification to satisfy the
609 `Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
612 1999-12-20 Werner LEMBERG <wl@gnu.org>
614 * changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
617 * tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
618 list of unsafe requests.
620 * pic/pic.man: Fixed a typo.
622 * man/groff_out.man: Fixed a typo.
624 1999-12-18 Werner LEMBERG <wl@gnu.org>
626 * Makefile.in: Doc fixes.
628 1999-12-17 Fabrizio Polacco <fab@prosa.it>
630 * groff/groff.cc: Missing `U' option added to getopt().
632 * troff/troff.man: Missing `U' option added to synopsis.
634 Version 1.12 released
635 =====================
637 1999-12-14 Werner LEMBERG <wl@gnu.org>
639 * troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
642 * nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
643 with the more appropriate terms `safer' and `unsafe'.
645 * libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
646 sys_nerr and sys_errlist[].
648 * pic/pic.h, aclocal.m4, configure.in: Added check for hypot().
650 * pic/pic.y, pic/pic.cc: Added check for fmod().
652 1999-12-13 Werner LEMBERG <wl@gnu.org>
654 * VERSION: Changed to 1.12.
656 Here some patches from various sources; most of them taken from
657 the Debian distribution.
659 * tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
660 tmac/Makefile.sub: New files copied directly from the NetBSD
661 distribution. Probably, some additional adaptation later on is
664 * tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
667 * groff/groff.cc, groff/groff.man, nroff/nroff.sh,
668 nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
669 troff/troff.man: Added option `-U' for unsafe mode. Safe mode
670 (`-S') is now the default.
672 * README, NEWS: Updated.
674 1999-12-09 Werner LEMBERG <wl@gnu.org>
676 * doc/groff.texinfo: Regenerated nodes and menus with emacs.
678 * doc/Makefile (clean): Added cleaning commands for groff.texinfo.
680 1999-12-06 Werner LEMBERG <wl@gnu.org>
682 * configure.in: Removed AC_PREFIX_PROGRAM since it causes more
683 grief than relief today. Additionally, it is against the GNU
686 * configure: Recreated.
688 1999-12-05 Werner LEMBERG <wl@gnu.org>
690 * configure.in: Added GROFF_LIBM.
692 * configure: Recreated.
694 * aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
697 * Makefile.in: Added definition of $(LIBM).
699 * Makefile.comm (LIBM): Removed.
701 * pfbtops/Makefile.sub: On AIX, -lm is needed also.
703 1999-12-03 Gaius Mulley <gaius@glam.ac.uk>
705 * doc/Makefile: Added rule for generation pic.html.
707 (clean): Files produced by grohtml will be removed also.
709 * doc/pic.ms: Small fix.
711 * tmac/tmac.html: Fixed suppression of headers.
713 1999-11-16 Gaius Mulley <gaius@glam.ac.uk>
715 * tmac/tmac.html: Fixing horizontal arrows.
717 Turning off hyphenation.
719 * tmac/tmac.an: Improved support for grohtml; better indentation,
722 1999-10-31 Gaius Mulley <gaius@glam.ac.uk>
724 * tmac/tmac.arkup: Added CDFTP macro
726 * tmac/tmac.html: All headers are turned off for ms, me, and mm
729 * tmac/troffrc: Some additions for HTML stuff.
731 1999-10-06 Gaius Mulley <gaius@glam.ac.uk>
733 * tmac/tmac.html: Small changes.
735 1999-09-26 Werner LEMBERG <wl@gnu.org>
737 * doc/groff.texinfo: Minor fixes.
739 1999-09-26 Gaius Mulley <gaius@glam.ac.uk>
741 * devhtml/TR: Changed spacewidth to 3.
743 * tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.
745 * tmac/tmac.html: Moved markup macros to tmap.arkup.
747 * tmac/tmac.arkup: New file.
749 * grohtml/ChangeLog: New file.
751 1999-09-16 Werner LEMBERG <wl@gnu.org>
753 * doc/groff.texinfo (Common Features): Added Copying chapter.
754 Changed format to @smallbook.
756 1999-09-15 Werner LEMBERG <wl@gnu.org>
758 * NEWS: Added info about groff.texinfo.
760 * doc/groff.texinfo: Will now compile (using texi2dvi) without
763 1999-09-14 Werner LEMBERG <wl@gnu.org>
765 * groff/groff.man: More updates.
767 1999-09-13 Werner LEMBERG <wl@gnu.org>
769 * doc/groff.texinfo: New file. This manual is still very
770 rudimentary. It has been originally contributed by Trent
771 A. Fisher <trent@gnurd.portland.or.us> with first corrections and
774 * INSTALL: Added information about the `doc' subdir
776 * troff/troff.man: Minor fixes.
778 * groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
781 * troff/input.cc (usage): Added missing `-ffam' to usage message.
783 * Makefile.in (dist): groff-$(version).tar.gz must be removed
784 also, otherwise it is included itself in another call of `make
787 * groff/groff.cc (synopsis): Removed superfluous space.
789 * PROJECTS, PROBLEMS, NEWS: Updated.
791 * xditview/Makefile: Removed.
793 * VERSION: Updated to 1.12beta.
795 * BUG-REPORT: Some cosmetic fixes. Corrected email address.
797 * README: Updated: Included documentation about CVS repository,
798 mailing lists, and daily snapshots.
800 * tmac/Makefile.sub: Fixed $(tmap_wrap) finally.
802 1999-09-12 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
804 * tmac/tmac.an: If the tag didn't fit into the space that the
805 macro `TP' specifies, the rest of the tag went into the space for
808 1999-09-12 Jeffrey Copeland <jeff@opennt.com>
810 * grolj4/lj4.cc: Added duplex printing (option `-d').
812 * grolj4/grolj4.man: Document duplex printing.
814 1999-09-12 Werner LEMBERG <wl@gnu.org>
816 * doc/Makefile (pic.ps): Fixed rule which caused problems with
817 non-GNUish sed programs.
819 * tmac/doc-syms: Removed extra space from -iso8802-3 macro
822 * configure.in (LIBS): Added `-lc'
824 * Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.
826 * pic/tex.cc (solid_arc): Casting M_PI to double.
828 * libgroff/putenv.c (putenv): Changed function header to ANSI C.
830 * groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
831 (new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
832 file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.
834 * groff/groff_man.man: New file. This manual page was originally
835 written for the Debian GNU/Linux system by Susan G. Kleinmann
838 * eqn/list.cc (list_box::compute_metrics,
839 list_box::compute_sublist_width): Removed variable declaration to
840 avoid shadowing warnings.
842 * grops/psrm.cc (resource_manager::process_file): Ditto.
844 * tfmtodit/tfmtodit.cc (main): Ditto.
846 * libgroff/font.cc (font::load_desc): Renamed auxiliary variable
847 to avoid shadowing warnings.
849 * tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
850 shadowing loop variable.
852 * groff/groff.man, troff/troff.man: Added doc about grohtml.
854 1999-09-12 Gaius Mulley <gaius@glam.ac.uk>
856 New grohtml frontend to convert groff input to html.
858 * Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.
860 * tmac/Makefile.sub (NORMALFILES): Added tmac.html.
862 * tmac/eqnrc: Added html device.
864 * tmac/tmac.html: New file.
866 * eqn/main.cc (do_file, inline_equation), pic/troff.cc
867 (troff_output::start_picture, troff_output::finish_picture),
868 tbl/main.cc (process_input_file):
869 Surrounded output with `graphics_start' and `graphics_end' so that
870 the html driver can identify non-text portions.
872 * grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
873 (lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
874 grotty/tty.ps (tty_printer::set_char): Additional parameter
877 * include/printer.h: Class printer: New function
878 set_char_and_width; new variables (is_char_named, is_named_set,
879 named_command, named_char_s, named_char_n) to hold information
880 about named characters -- needed by the html driver.
882 * libdriver/printer.cc (printer::set_ascii_char,
883 printer::set_special_char): Use set_char_and_width.
885 * devhtml/*: New device files for html driver.
887 * grohtml/*: New driver grohtml.
889 1999-09-11 Wilfredo Sanchez <wsanchez@apple.com>
891 * tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
894 1999-09-11 Luke Mewburn <lukem@netbsd.org>
896 * libgroff/string.cc (search): Small fix to test against NULL
899 1999-09-11 Jeff Conrad <jeff_conrad@msn.com>
901 * troff/node.cc (copy): The characters in a bracket escape (e.g.,
902 \b'abc') were stacked in reverse order when processed in a
905 * troff/node.h: Added `*last' to struct `node' to make the above
908 * troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
909 The default scale for the 'f' and 't' graphics functions were 'm'
910 rather than 'u' (i.e., no scaling).
912 1999-09-11 Peter Miller <peterm@jna.com.au>
914 * groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
915 do_file), soelim/soelim.man: Added `-I file' option to soelim,
916 defining include paths.
918 * soelim/soelim.cc (include_path_append): New function.
920 1999-09-11 Larry Jones <larry.jones@sdrc.com>
922 * tbl/main.cc (process_options): Unix (at least Documenter's
923 Workbench) tbl allows arbitrary non-alpha characters between
926 1999-09-11 Paul Eggert <eggert@twinsun.com>
928 Y2k fixes. Don't assume that the current year precedes 2000.
930 * doc/meref.me: Add \n(y2, \n(y4.
932 * tmac/doc-common (Yr): New number register.
933 (Dd): Don't assume current year precedes 2000.
935 * tmac/tmac.e (td): Likewise.
936 (y2, y4): New number registers.
938 * pic/pic.man: Update reference for pic paper to May, 1991
941 1999-09-11 Werner LEMBERG <wl@gnu.org>
943 * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
944 Removed quotation marks which prevented correct expansion of
947 * devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).
949 1999-09-10 Werner LEMBERG <wl@gnu.org>
951 * Makefile.sub (DISTCLEANFILES): Added `config.log' and
954 * Removed configure.old.
956 1999-08-31 Werner LEMBERG <wl@gnu.org>
958 * VERSION: Updated to 1.11.1
960 1999-05-27 Werner LEMBERG <wl@gnu.org>
962 * doc/Makefile: changed `.PS' postfix to `.ps' for consistency.
964 * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
965 added quotations around $(tmac_wrap) to avoid syntax error if
968 * configure: Newly generated using autoconf 2.13.
970 * Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.
972 Fri Aug 15 08:51:47 1997 Eric S. Raymond <esr@snark.thyrsus.com>
974 * README, PROJECTS, NEWS, INSTALL, VERSION,
975 doc/Makefile. doc/pic.ms, groff/groff.man:
976 Prepare for 1.11 release. No code changes.
977 Documentation for pic added (doc/pic.ms).
979 Sun Nov 26 11:45:13 1995 James Clark <jjc@jclark.com>
981 * Version 1.10 released.
983 Fri Nov 24 09:56:16 1995 James Clark <jjc@jclark.com>
985 * afmtodit/afmtodit.pl: Avoid comment on first line.
987 Mon Nov 20 11:13:49 1995 James Clark <jjc@jclark.com>
989 * aclocal.m4 (GROFF_INSTALL_SH): New macro.
990 * configure.in: Call it.
992 * Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
993 (distfiles): Doesn't depend on config.log or config.cache.
995 Sun Oct 1 08:45:36 1995 James Clark <jjc@jclark.com>
997 * grog/grog.sh: Use print "" rather than print in END rule.
999 Wed Aug 23 13:30:52 1995 James Clark <jjc@jclark.com>
1001 * tbl/main.cc (process_data): Don't give error for excess data
1002 entries that are comments.
1004 Fri Jul 28 11:00:27 1995 James Clark <jjc@jclark.com>
1006 * tbl/main.cc (process_data): Fix case where new for-scope rules
1007 silently change meaning of code.
1009 Tue Jul 4 23:39:51 1995 James Clark <jjc@jclark.com>
1011 * troff/env.cc (hyphenate): Loop over all consecutive sequences
1012 of non-zero hyphenation codes.
1014 Sat Jul 1 00:42:15 1995 James Clark <jjc@jclark.com>
1016 * aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.
1018 Thu Jun 29 13:58:36 1995 James Clark <jjc@jclark.com>
1020 * tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.
1022 Tue Jun 27 12:30:16 1995 James Clark <jjc@jclark.com>
1024 * tmac/tmac.andoc: Make it work in compatibility mode.
1026 * refer/token.h (token_info::is_range_sep): New function.
1027 * refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
1028 * refer/ref.cc (reference::output): More sophisticated check for
1031 * devps/prologue.ps (MANUAL): New procedure.
1032 * grops/ps.cc (main): New -m option.
1033 (usage): Include -m.
1034 (ps_printer::~ps_printer): Implement -m.
1036 * aclocal.m4 (GROFF_G): New macro.
1037 * configure.in: Call it.
1038 * Makefile.in (g): Provided by configure.
1040 * hpftodit/hpftodit.cc (basename): Rename to xbasename.
1042 * tmac/tmac.tty: Disable warning about bad fonts. Remove font
1045 * Makefile.in (tmacpath): Don't include /usr/lib/tmac.
1046 (tmac_m, tmac_s): Deleted.
1047 (sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
1048 tmac_s_prefix): New variables.
1049 (MDEFINES): Change accordingly.
1050 * Makefile.comm (.man.n): Use new TMAC_* variables.
1051 * configure.in (GROFF_TMAC): Call.
1052 * aclocal.m4 (GROFF_TMAC): Define.
1053 * tmac/Makefile.sub (stamp_wrap): New target.
1054 (install_data, uninstall_sub): Handle macro wrapping.
1056 Mon Jun 26 14:54:39 1995 James Clark <jjc@jclark.com>
1058 * tbl/main.cc (main): Ignore -T option.
1060 Thu Jun 22 09:08:06 1995 James Clark <jjc@jclark.com>
1062 * devlj4/generate/special.map: Add definition of \(nb.
1064 * tmac/tmac.dvi: Add definition of \(nb.
1066 * troff/dictionary.c (dictionary::dictionary): association::v gets
1067 initialized by association::association.
1069 * tmac/Makefile.sub: Avoid using temporary files when installing.
1071 * troff/env.cc (environment::set_font): Make bad font number a
1074 * Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.
1076 * Makefile.in (datadir): Use share rather than lib.
1078 * groff/groff.cc (basename): Rename to xbasename.
1080 Wed Jun 21 16:59:46 1995 James Clark <jjc@jclark.com>
1082 * Makefile (CCLIBS): Don't use.
1083 * Makefile.ccpg: Likewise.
1085 * acgroff.m4: Rename to...
1086 * aclocal.m4: Modify extensively for autoconf 2.
1087 * configure.in: Likewise.
1088 * Makefile.in: Likewise.
1090 * groff/pipeline.c (const): Declare as empty if __STDC__ not
1092 (xstrsignal): Check for definition of NSIG. Conditionalize
1093 on SYS_SIGLIST_DECLARED. Make return type const.
1095 Sat Jun 10 12:28:16 1995 James Clark <jjc@jclark.com>
1097 * troff/input.cc (interpolate_macro): Rephrase missing space
1100 Thu May 11 01:07:16 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1102 * addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
1103 grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
1104 grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
1105 libbib/index.cc, libbib/linear.cc, libbib/search.cc,
1106 libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
1107 libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
1108 libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
1109 pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
1110 refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
1111 tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
1112 troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
1115 Wed Apr 19 21:15:11 1995 James Clark <jjc@jclark.com>
1117 * troff/input.cc (spring_trap): Push a macro_iterator rather than a
1119 (spring_trap, postpone_traps, unpostpone_traps): Move to later in
1121 (macro_iterator::macro_iterator): Add additional argument.
1123 Mon Apr 10 12:06:02 1995 James Clark <jjc@jclark.com>
1125 * troff/div.cc (vertical_size::vertical_size): In place of integer
1126 specifying line spacing use cunits specifying post vertical
1128 (macro_diversion::output, top_level_diversion::output): Likewise.
1129 * troff/div.h: Change declarations accordingly.
1130 * troff/env.cc (pending_output_line): Replace ls field by post_vs
1132 (pending_output_line::pending_output_line,
1133 pending_output_line::output, environment::output,
1134 environment::output_line, environment::output_title,
1135 environment::hyphenate_line): In place of
1136 integer specifying line spacing use cunits specifying post vertical
1138 (environment::environment): Add post_vertical_spacing and
1139 prev_post_vertical_spacing arguments.
1140 (environment::get_post_vertical_spacing): New function.
1141 (environment::total_post_vertical_spacing): New function.
1142 (environment::post_vertical_spacing): New function.
1143 (init_env_requests): Initialize pvs request and .pvs register.
1144 * troff/env.h: Change declarations.
1146 Tue Mar 28 09:52:07 1995 James Clark <jjc@jclark.com>
1148 * tmac/tmac.pspic: Immediately remove the temporary file.
1150 Sat Mar 25 10:43:11 1995 James Clark <jjc@jclark.com>
1152 * tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
1153 height is specified.
1155 Thu Jan 26 16:20:13 1995 James Clark <jjc@jclark.com>
1157 * tbl/table.c (struct vertical rule, class table_entry): Use int
1158 not short for start_row and end_row.
1160 Fri Jan 13 13:53:05 1995 James Clark <jjc@jclark.com>
1162 * troff/input.cc (trapping_blank_line, blank_line_macro): New
1164 (diverted_space_node::reread, process_input_stack): Call
1165 trapping_blank_line() rather than blank_line().
1166 (init_input_requests): Bind "blm" to blank_line_macro().
1168 * tmac/tmac.s (XA): Use .br and par@reset rather than XA.
1170 Tue Jan 10 11:40:35 1995 James Clark <jjc@jclark.com>
1172 * troff/env.cc (environment::possibly_break_line): Require that
1173 width total excluding width of final space node be greater than
1174 the target text length.
1176 Tue Jan 3 09:13:37 1995 James Clark <jjc@jclark.com>
1178 * troff/node.cc (kern_pair_node::vertical_extent): New function.
1180 Sun Dec 4 13:19:07 1994 James Clark <jjc@jclark.com>
1182 * troff/node.cc (charinfo_node): New class.
1183 (glyph_node, composite_node): Derive from charinfo_node. Change
1184 member functions accordingly.
1186 Wed Nov 30 10:29:29 1994 James Clark <jjc@jclark.com>
1188 * nroff/nroff.sh: Use -Tlatin1 not -TLatin1.
1190 Mon Aug 8 10:17:59 1994 James Clark (jjc@jclark.com)
1192 * tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].
1194 * devps/generate/textmap (notsubset): Add.
1196 * tmac/tmac.a4: New file.
1198 Sun Jul 24 20:08:42 1994 James Clark (jjc@jclark.com)
1200 * pic/main.cc (had_parse_error): New variable.
1201 (do_picture, do_whole_file): Set had_parse_error if yyparse()
1203 (main): Return 1 if had_parse_error is true.
1205 Tue Jul 19 13:40:31 1994 James Clark (jjc@jclark.com)
1207 * grolj4/lj4.cc (main): Avoid use of strtoul.
1209 Mon Jul 18 15:03:02 1994 James Clark (jjc@jclark.com)
1211 * nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
1212 iso_8859_1 or $LESSCHARSET is latin1.
1214 Sun Jul 10 13:38:35 1994 James Clark (jjc@jclark.com)
1216 * hpftodit: New directory.
1217 * Makefile.in (CCPROGDIRS): Add hpftodit.
1218 * devlj4/generate: New directory.
1220 Thu Jul 7 23:49:48 1994 James Clark (jjc@jclark.com)
1222 * configure.in: Don't use AC_VFORK.
1223 * groff/pipeline.c (run_pipeline): Use fork() always.
1225 Wed Jul 6 11:13:17 1994 James Clark (jjc@jclark.com)
1227 * grops/ps.cc (main): Use %1 not %s in error message for -w.
1229 * Makefile.in (CCPROGDIRS): Add grolj4.
1230 (DEVDIRS): Add devlj4.
1231 * grolj4, devlj4: New directories.
1232 * tmac/troffrc: Handle lj4.
1233 * tmac/tmac.lj4: New file.
1235 Fri Jun 17 18:02:53 1994 James Clark (jjc@jclark.com)
1237 * tmac/tmac.e (@n): Set indent to 0 before calling |h.
1239 Wed Jun 1 07:33:47 1994 James Clark (jjc@jclark.com)
1241 * troff/input.cc (do_if_request): At end of second string, switch
1242 environments before getting next token.
1244 Fri May 20 07:39:18 1994 James Clark (jjc@jclark.com)
1246 * devps/psstrip.sed: Split rule that strips whitespace on either
1249 Wed May 18 08:13:47 1994 James Clark (jjc@jclark.com)
1251 * troff/node.h (font_family::make_definition): Add return value to
1252 declaration. * troff/symbol.h (symbol::operator==,
1253 symbol::operator!=): Likewise.
1255 Tue May 17 20:46:06 1994 James Clark (jjc@jclark.com)
1257 * groff/groff.cc (main, help, synopsis): Handle -S.
1258 (possible_command::insert_arg): New function.
1260 * tmac/tmac.safer: New file.
1261 * tmac/msafer.man: New file.
1262 * tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.
1264 Thu Mar 10 01:58:30 1994 Paul Eggert (eggert@twinsun.com)
1266 * pic/pic.h, pic/main.cc (safer_flag): New variable.
1267 * pic/pic.y (placeless_element): Avoid unsafe operations if
1268 `safer_flag' is set.
1269 * pic/main.cc (main): Add -S option, which sets `safer_flag'.
1271 Tue May 10 13:02:31 1994 James Clark (jjc@jclark.com)
1273 * eqn/lex.cc (get_token): Put call to add_context() in block to
1274 work around Sun C++ 4.0 bug.
1276 * include/stringclass.h (operator +): Use ?: instead of `if' to
1277 work around Sun C++ 4.0 bug.
1279 Thu May 5 11:18:03 1994 James Clark (jjc@jclark.com)
1281 * tbl/main.cc (process_format): Accept - as a synonym for the _
1284 * libbib/index.cc (minus_one): Don't declare as const.
1286 Fri Apr 29 09:32:48 1994 James Clark (jjc@jclark.com)
1288 * troff/input.cc (get_char_for_escape_name): Push back a newline.
1290 Wed Apr 27 21:14:18 1994 James Clark (jjc@jclark.com)
1292 * troff/input.cc (write_macro_request): New function.
1293 (init_input_requests): Bind write_macro_request to writem.
1295 Sun Apr 17 11:15:38 1994 James Clark (jjc@jclark.com)
1297 * tmac/tmac.s (@EN): Turn filling back on even if there was no
1300 * eqn/lex.cc (do_space): Supply missing argument to lex_error.
1302 * tmac/tmac.s (@TS): Renamed from TS.
1303 (TS): Call LP then TS again.
1304 (cov*ab-init): Alias @TS to TS.
1306 * tmac/tmac.s: Allow QP or RS to initialize.
1308 * tmac/tmac.s (par@load-init): New macro. Call at end of file.
1309 Move initializations of PS and LL here.
1310 (par@init): Don't initialize HY. Avoid changing environment 0.
1311 (par*env-init): Don't all par@reset.
1313 Thu Apr 14 19:15:45 1994 James Clark (jjc@jclark.com)
1315 * include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.
1317 Sun Apr 10 09:54:44 1994 James Clark (jjc@jclark.com)
1319 * Makefile.in (MDEFINES): Add LDFLAGS.
1320 (LDFLAGS): Add definition line.
1322 Thu Apr 7 22:22:22 1994 James Clark (jjc@jclark.com)
1324 * troff/input.cc (get_optional_char): Split off error check into...
1325 (check_missing_character): New function.
1326 * troff/token.h: Declare it.
1327 * troff/env.cc (margin_character): Don't call get_optional_char.
1328 Only call tok.next() after making the node.
1330 * include/lib.h (getopt): Make 2nd argument char *const *.
1332 Fri Mar 11 07:28:03 1994 James Clark (jjc@jclark.com)
1334 * nroff/conftest.sh: Deleted.
1336 Fri Mar 4 10:51:36 1994 James Clark (jjc@jclark.com)
1338 * pic/make-dos-dist: Deleted.
1340 Wed Mar 2 20:59:16 1994 James Clark (jjc@jclark.com)
1342 * devps/psstrip.sed: Strip comments before stripping trailing
1345 Sat Feb 19 13:07:16 1994 James Clark (jjc@jclark.com)
1347 * Version 1.09 released.
1349 Wed Feb 16 16:53:49 1994 James Clark (jjc@jclark.com)
1351 * tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.
1353 Mon Feb 14 08:26:40 1994 James Clark (jjc@jclark.com)
1355 * libgroff/font.cc (font::load_desc): Fix typo in error message.
1357 Sun Feb 13 09:37:38 1994 James Clark (jjc@jclark.com)
1359 * libgroff/new.cc (operator new): Rewrite so as to avoid warning
1360 about returning without a value.
1362 * troff/charinfo.h (charinfo::get_special_translation): Cast
1363 TRANSLATE_NONE to int.
1365 * refer/token.cc (lookup_token, store_token): Remove bogus loop
1366 test. Fix test so that it works with n unsigned.
1368 * pic/pic.y (defaults_table): Fully bracket initializer.
1369 * pic/lex.cc (lookup_keyword): Likewise.
1370 * eqn/lex.cc (token_table, def_table): Likewise.
1371 * eqn/box.cc (param_table): Likewise.
1372 * troff/input.cc (warning_table): Likewise.
1373 * libgroff/font.cc (table): Likewise.
1374 * grops/ps.cc (ps_printer::special): Likewise.
1375 * grops/psrm.cc (resource_manager::process_file): Likewise.
1376 * tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
1377 * refer/command.cc (command_table): Likewise.
1378 * addftinfo/addftinfo.cc (param_table): Likewise.
1380 * troff/symbol.cc (symbol::symbol): Prevent compiler warnings
1381 about temp's being unused.
1382 (unused): New function.
1384 * groff/pipeline.cc: Declare c_fatal.
1386 * libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
1389 * libbib/index.cc (index_search_item::load): Prevent compiler
1390 warnings about fd_closer's being unused.
1391 (unused): New function.
1393 Sat Feb 12 10:31:59 1994 James Clark (jjc@jclark.com)
1395 * troff/input.cc (copy_mode_error): Make `prefix' static.
1398 * include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
1400 * acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
1401 HAVE_CC_OSFCN_H and modify accordingly.
1403 * troff/input.cc (init_charset_table): radicalex overlaps
1406 * groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
1407 udodo!hans@relay.NL.net).
1408 * groff/configure.in: Call it.
1410 * groff/acgroff.m4 (GROFF_PCLOSE): New macro.
1411 * groff/configure.in: Call it.
1412 * include/lib.h: Conditionalize declaration of pclose.
1414 * troff/div.cc (last_page_number): New global variable.
1415 (top_level_diversion::begin_page): Exit if we just printed the
1417 * troff/div.h (last_page_number): Declare it.
1418 * troff/input.cc (parse_output_page_list): Set last_page_number.
1420 * eqn/sqrt.cc: Rename \(rn to \[radicalex].
1421 * devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
1422 tmac/tmac.X: Likewise.
1423 * tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
1424 * tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.
1426 Fri Feb 11 11:45:40 1994 James Clark (jjc@jclark.com)
1428 * tmac/doc-ditroff (hK): Remove groff specific code which
1429 prevented page-breaks between separate manual entries. If this is
1430 the first page, don't set the page number to 1.
1432 * acgroff.m4 (GROFF_POSIX): New macro.
1433 * configure.in: Use it.
1435 * troff/node.cc (class real_output_file,
1436 real_output_file::real_output_file,
1437 real_output_file::~real_output_file): Conditionalize use of
1438 popen/pclose on POPEN_MISSING.
1439 * troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
1440 * troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
1441 (pipe_source): Similarily.
1443 * acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
1445 * acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
1446 presence of declarations by trying to compile example with
1447 conflicting declarations. (gcc only gives a warning for missing
1450 Wed Feb 9 09:12:23 1994 James Clark (jjc@jclark.com)
1452 * tmac/tmac.pspic (PSPIC): Allow options to specify alignment
1453 (from Ulrich Lauther).
1455 Tue Feb 8 03:56:40 1994 James Clark (jjc@jclark.com)
1457 * libbib/linear.cc (file_buffer::load): Use S_ISREG macro.
1459 Thu Feb 3 09:34:35 1994 James Clark (jjc@jclark.com)
1461 * indxbib/indxbib.cc (write_hash_table): Add code for case where
1462 pointers and ints have different sizes.
1464 Sun Jan 9 16:17:51 1994 James Clark (jjc@jclark.com)
1466 * tmac/tmac.s (par*env-init): Call par@reset.
1468 Fri Jan 7 10:24:27 1994 James Clark (jjc@jclark.com)
1470 * tmac/tmac.s (@IP): Switch to a new environment when diverting
1472 (par*push-tag-env, par*pop-tag-env): New macros.
1474 Wed Jan 5 21:18:34 1994 James Clark (jjc@jclark.com)
1476 * grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
1477 initializing `out'. Reduce MAX_LINE_LENGTH from 79 to 72.
1479 * grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
1480 comment. Include <time.h>.
1482 Wed Dec 15 14:14:00 1993 James Clark (jjc@jclark.com)
1484 * grops/ps.cc (is_small_h, is_small_v): Deleted.
1485 (ps_printer::flush_sbuf): Use absolute motion only at beginning of
1488 Tue Dec 14 10:06:34 1993 James Clark (jjc@jclark.com)
1490 * troff/input.cc (read_request): Only print a prompt if reading
1491 from the terminal. Also clearerr on EOF if reading from the
1492 terminal. Declare isatty.
1494 Mon Nov 29 08:38:15 1993 James Clark (jjc@jclark.com)
1496 * refer/label.y: Rename map_t to map_func and extractor_t to
1499 Sat Oct 30 06:38:12 1993 James Clark (jjc@jclark.com)
1501 * include/assert.h: Don't use volatile.
1502 * libgroff/assert.cc: Likewise.
1504 Fri Oct 29 15:00:23 1993 James Clark (jjc@jclark.com)
1506 * troff/input.cc (abort_request): Look at character in tok before
1509 Thu Oct 28 14:09:48 1993 James Clark (jjc@jclark.com)
1511 * troff/troff.h (NO_RETURN): Deleted.
1512 * troff/div.cc (cleanup_and_exit): Don't declare aas NO_RETURN.
1513 * troff/input.cc (exit_troff): Likewise
1515 * Makefile.in: Remove `Making ...' messages since GNU make now
1518 * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
1520 Wed Oct 27 11:12:51 1993 James Clark (jjc@jclark.com)
1522 * tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
1525 Sat Oct 23 10:03:52 1993 James Clark (jjc@jclark.com)
1527 * tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.
1529 Thu Oct 14 12:09:45 1993 James Clark (jjc@jclark.com)
1531 * eqn/delim.cc (delim_box::compute_metrics): Don't increase
1532 MARK_REG if there was no left delimiter.
1534 Sat Oct 2 19:54:47 1993 James Clark (jjc@jclark.com)
1536 * pic/troff.cc (troff_output::text): Set line thickness to
1537 relative before outputting text.
1539 * tmac/tmac.e (@k): Don't zero ?T.
1542 Sat Sep 25 11:08:43 1993 James Clark (jjc@jclark.com)
1544 * tmac/tmac.e ($p): Handle possibility that $3 is empty.
1546 Wed Aug 18 08:51:41 1993 James Clark (jjc@jclark.com)
1548 * troff/input.cc (decode_args): Warn about unquoted tabs (from
1551 Tue Aug 10 08:38:32 1993 James Clark (jjc@jclark.com)
1553 * troff/input.cc (ignoring): New variable.
1554 (ignore): Set ignoring during call to do_define_macro.
1555 (do_define_macro): Clear ignoring before interpolating terminating
1557 (copy_mode_error): New function.
1558 (get_char_for_escape_name, read_long_escape_name,
1559 interpolate_arg): Use copy_mode_error.
1560 (warning_table): Add WARN_IG.
1561 * troff/troff.h (WARN_IG): Declare.
1562 (WARN_TOTAL): Change accordingly.
1564 * groff/pipeline.c (strsignal): Rename to xstrsignal.
1565 * groff/groff.cc (strsignal): Delete declaration.
1567 Fri Jul 16 01:43:12 1993 James Clark (jjc@jclark.com)
1569 * troff/div.cc (page_offset): Use 'm' as default scaling.
1571 Sat Jul 3 09:11:38 1993 James Clark (jjc@jclark.com)
1573 * nroff/nroff.sh: Ignore -u.
1575 Wed Jun 9 12:17:27 1993 James Clark (jjc@jclark.com)
1577 * Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.
1579 Fri Jun 4 17:35:47 1993 James Clark (jjc@jclark.com)
1581 * tmac/tmac.s (par*box-draw): Set adjustment mode to l while
1583 (B2): With -Tascii, leave additional vertical space before
1584 and after. Ensure that the left and right indent is restored to
1585 what it was even if the point size changes. Don't call
1586 par@finish. Change the indent, line length and title length
1587 directly. With -Tascii, make the width of the box 1n less.
1588 (B1): Remember 1n at the current point size. Don't call
1589 par@reset. Change the indent, line length and title length
1590 directly. Ensure that the temporary indent is preserved.
1591 (par*box-mark-top): Turn off no spacing mode.
1593 Thu Jun 3 17:47:14 1993 James Clark (jjc@jclark.com)
1595 * Makefile.in (dist): Use .gz suffix.
1597 Thu May 27 20:04:59 1993 James Clark (jjc@jclark.com)
1599 * troff/input.cc (main): Add return 0.
1600 * pic/main.cc (main): Use return instead of exit.
1601 * tbl/main.cc (main): Likewise.
1602 * eqn/main.cc (main): Likewise.
1603 * grops/ps.cc (main): Likewise.
1604 * grotty/tty.cc (main): Likewise.
1605 * groff/groff.cc (main): Likewise.
1606 * grodvi/dvi.cc (main): Likewise.
1607 * refer/refer.cc (main): Likewise.
1608 * indxbib/indxbib.cc (main): Likewise.
1609 * lkbib/lkbib.cc (main): Likewise.
1610 * soelim/soelim.cc (main): Likewise.
1611 * addftinfo/addftinfo.cc (main): Likewise.
1612 * acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
1613 GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.
1615 * troff/token.h (process_input_stack): Don't declare as static.
1616 * troff/input.cc: Likewise.
1618 * troff/node.c (invalidate_fontno): Make it a static member of
1619 class font_family. Change callers.
1620 * troff/node.c: Change declaration.
1622 * tbl/main.cc (struct input_entry_format): Add explicit public
1624 * tbl/table.cc (struct text_stuff, struct single_hline_stuff,
1625 struct double_hline_stuff): Likewise.
1626 * tbl/table.h (struct entry_format): Likewise.
1627 * pic/object.h (struct saved_state): Likewise.
1629 * include/stringclass.h: Add forward declarations of friend
1630 functions that are later declared as inline. Don't include inline
1631 specifier in friend declaration.
1633 * libgroff/lib.h: Declare popen and pclose.
1634 * acgroff.m4 (GROFF_POPEN): New macro.
1635 * configure.in: Call it.
1637 * include/lib.h (PI): New constant. Undef first if necessary.
1638 * tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
1639 * grops/ps.cc (degrees, radians): Likewise.
1640 * libgroff/font.cc (font::get_skew): Likewise.
1642 * grops/ps.cc (is_ascii): New function.
1643 (ps_output::put_string): Use is_ascii. Use csprint rather than
1645 (ps_printer::define_encoding): Use csspace.
1646 * libgroff/strtol.c (ISASCII): New macro.
1647 (strtol): Cast arguments to is*() and tolower() to unsigned char.
1648 Use ISASCII rather than isascii.
1649 * libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
1650 * libgroff/cset.cc: Likewise.
1651 * libdriver/input.cc: Include cset.h.
1652 (do_file, get_integer, possibly_get_integer): Use csdigit() rather
1655 * refer/refer.cc (main): Use %ld rather than %d for longs.
1657 * libbib/index.cc (index_search_item_iterator::get_tag): Use
1660 * addftinfo/addftinfo.cc (param_t): Add explicit `int'.
1662 Mon May 24 08:51:37 1993 James Clark (jjc@jclark.com)
1664 * troff/input.cc (hyphenation_code): Skip white space between
1667 Sun May 16 08:15:52 1993 James Clark (jjc at jclark.com)
1669 * tbl/table.h (table::entry_list_tailp): New member.
1670 (table::table): Initialize it.
1671 (table::add_entry): Use entry_list_tailp to avoid O(n^2)
1674 Sat May 15 17:26:00 1993 James Clark (jjc at jclark.com)
1676 * grotty/tty.cc (tty_printer::add_char): Don't discard characters
1677 with negative horizontal positions. Remove casts of glyph::hpos to
1679 (USHRT_MAX): Delete definition.
1680 (SHRT_MAX, SHRT_MIN): New definitions.
1681 (glyph::hpos): Change type to short.
1682 (tty_printer::end_page): Output multiple backspaces if necessary.
1683 Remove casts of glyph::hpos to int.
1685 Fri May 7 12:14:37 1993 James Clark (jjc at jclark.com)
1687 * tmac/tmac.s (@RT): New definition.
1689 Thu May 6 21:36:54 1993 James Clark (jjc at jclark.com)
1691 * refer/refer.cc (do_file): Make sure current_filename is set when
1694 * pic/common.cc (common_output::dot_line): Handle zero length
1697 Sun May 2 19:54:16 1993 James Clark (jjc at jclark.com)
1699 * tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
1700 (par@init): Initialize \n[HY].
1702 Mon Apr 26 11:43:16 1993 James Clark (jjc at jclark.com)
1704 * troff/dictionary.cc (dictionary::remove): Continue when
1707 Sun Apr 25 11:03:00 1993 James Clark (jjc at jclark.com)
1709 * Makefile.com (.y.cc): Avoid ending up with two versions of
1712 Thu Apr 22 21:03:45 1993 James Clark (jjc at jclark.com)
1714 * tmac/tmac.dvi (\(,c): Define only if it does not exist.
1715 (\(,C): Likewise. Also fix typo.
1717 Wed Apr 21 08:47:32 1993 James Clark (jjc at jclark.com)
1719 * lib.h: Delete extraneous semi-colon.
1721 * Add pso request: `so' from a pipe.
1722 * troff/input.c (file_iterator::file_iterator): Add 3rd argument.
1723 (file_iterator::close): New function.
1724 (file_iterator::~file_iterator, file_iterator::next_file): Use
1725 file_iterator::close.
1726 (file_iterator::backtrace): Say `process' rather than `file' when
1727 the stream is popened.
1728 (pipe_source): New function.
1729 (init_input_requests): Bind ".pso" to pipe_source.
1731 Tue Apr 20 00:02:26 1993 James Clark (jjc at jclark.com)
1733 * afmtodit/afmtodit.pl: Avoid single quotes in comments.
1735 * pfbtops/pfbtops.c: Output 64 characters per line. Output hex
1736 digits in lower case.
1738 Mon Apr 19 09:55:57 1993 James Clark (jjc at jclark)
1740 * Version 1.08 released.
1742 * Makefile.in (dist): Insert || true after ln -s commands that
1745 * mm: Update to mm 1.16.
1747 * acgroff.m4 (GROFF_CSH_HACK): New macro.
1748 * configure.in: Call GROFF_CSH_HACK. Substitute for
1750 * Makefile.in (SH_SCRIPT_SED_CMD): New variable. Include in
1752 * nroff/Makefile.sub (nroff): New target.
1753 (install_data): Install nroff.
1754 * eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
1755 * grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.
1757 Sat Apr 17 08:24:28 1993 James Clark (jjc at jclark)
1759 * eqn/Makefile.sub (neqn): Add chmod +x.
1761 * grog/Makefile.sub (grog): Remove spurious semi-colon.
1763 Fri Apr 16 22:41:57 1993 James Clark (jjc at jclark)
1765 * troff/input.cc (string_iterator::string_iterator()): Initialize
1768 Tue Apr 13 10:22:28 1993 James Clark (jjc at jclark)
1770 * troff/div.cc (macro_diversion::space,
1771 top_level_diversion::space): Don't set high_water_mark.
1772 (macro_diversion::output, top_level_diversion::output): Don't
1773 include post line space in high water mark.
1775 Wed Apr 7 12:48:18 1993 James Clark (jjc at jclark)
1777 * eqn/eqn.y: Don't define YYDEBUG.
1778 * pic/pic.y: Likewise.
1780 Mon Apr 5 10:15:15 1993 James Clark (jjc at jclark)
1782 * tmac/tmac.e ([3): Add space after comma following editors.
1783 Change double spaces to single spaces.
1784 ([4): Change double spaces to single spaces.
1786 * grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
1787 * grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
1788 bit is set in broken_flags, use 2.0 rather than 3.0 as the version
1789 after %!PS-Adobe- (for Newsprint).
1791 * troff/div.cc (top_level_diversion::begin_page): When
1792 before_first_page is 1, set page_number to 1.
1794 Sun Apr 4 14:28:53 1993 James Clark (jjc at jclark)
1796 * eqn/box.cc (box::top_level): Protect equation with \&.
1798 Sat Apr 3 23:27:25 1993 James Clark (jjc at jclark)
1800 * groff/groff.cc (possible_command::set_name): Delete old name.
1802 * groff/groff.cc (possible_command::~possible_command): Use
1805 * troff/node.cc (troff_output_file::begun_page): New member.
1806 (troff_output_file::troff_output_file): Initialize it.
1807 (troff_output_file::really_begin_page): Only output V command if a
1808 page has been begun.
1810 * pic/pic.y (placeless_element): Delete argument to PRINT after
1813 Fri Apr 2 11:31:02 1993 James Clark (jjc at jclark)
1815 * Make wrapman work.
1816 * troff/div.h (class top_level_diversion): Replace
1817 first_page_begun by before_first_page (with opposite sense).
1818 * Change first_page_begun to before_first_page inverting sense.
1819 * troff/div.cc (class nl_reg): New class.
1820 (init_div_requests): Use class nl_reg for \n(nl.
1821 (top_level_diversion::begin_page): Don't call
1822 output_file::begin_page if before_first_page is 2;
1823 reset before_first_page afterwards. If have_next_page_number is
1824 false, then always increment page_number.
1825 * tmac/tmac.an: Set traps within TH rather than at the top-level.
1826 Restore compatibility mode after loading, and then disable
1827 compatibility mode in TH.
1829 Thu Apr 1 11:09:34 1993 James Clark (jjc at jclark)
1831 * grotty/tty.cc (tty_printer::end_page): Don't discard characters
1833 * troff/node.h (output_file::trailer): Declare.
1834 * troff/div.cc (cleanup_and_exit): Call output_file::trailer().
1835 * troff/node.cc (output_file::trailer): New function.
1836 (troff_output_file::~troff_output_file): Move most code into...
1837 (troff_output_file::trailer): New function.
1838 (class troff_output_file): Delete page_length member. Declare
1840 (troff_output_file::really_begin_page): Use current page length
1841 for final V command.
1843 * tbl/main.cc (struct options): New decimal_point_char member.
1844 (options::options): Initialize this.
1845 (process_options): Implement decimalpoint option.
1846 (process_data): Pass decimal_point_char option to table::table.
1847 * tbl/table.h (class table): New decimal_point_char member.
1848 (table::table): Add additional argument.
1849 * tbl/table.cc (find_dot): Rename to find_decimal_point. Add
1850 second argument specifying decimal point character. Use this
1852 (table::table): Initialize decimal_point_char.
1853 (table::add_entry): Change call to find_dot.
1855 * troff/input.cc (get_copy, token::next): Implement \V.
1856 (interpolate_environment_variable): New function.
1858 Tue Mar 30 14:41:39 1993 James Clark (jjc at jclark)
1860 * pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
1861 * pic/pic.y: Likewise.
1863 * grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
1865 * refer/ref.cc (reference::insert_field, reference::delete_field):
1867 * troff/number.cc (parse_term): Likewise.
1869 * acgroff.m4 (GROFF_PROG_YACC): New macro.
1870 * configure.in: Use GROFF_PROG_YACC.
1872 * acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
1874 * Makefile.in (OPTIMIZE): New define.
1875 (DEBUG): Empty by default.
1876 (CCFLAGS, CFLAGS): Include $(OPTIMIZE).
1878 * acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
1879 (GROFF_ARRAY_DELETE): Likewise.
1880 (GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.
1882 * troff/env.cc (trie::~trie): Make virtual to shut up g++.
1884 * devps/psstrip.sed: Use different delimiter on last line (so that
1885 it works with BSD 4.4 sed.)
1887 Mon Mar 29 17:07:14 1993 James Clark (jjc at jclark)
1889 * devps/psstrip.sed: Delete comments.
1891 * acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
1892 optind, opterr, optarg.
1893 * lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
1896 Sun Mar 28 17:44:25 1993 James Clark (jjc at jclark)
1898 * Makefile.in (check): Dummy target.
1900 Wed Mar 3 04:53:38 1993 James Clark (jjc at jclark)
1902 * Version 1.07 released.
1904 * Integrate mm 1.11.
1906 * tbl/table.cc (alphabetic_block_entry::print): start_row was used
1907 where start_col was meant.
1909 Thu Feb 25 07:55:36 1993 James Clark (jjc at jclark)
1911 * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
1913 Wed Feb 24 10:15:34 1993 James Clark (jjc at jclark)
1915 * troff/input.cc (token::next): Make \z\o'...' and similar things
1918 * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
1920 (environment): Add margin_character_flags member.
1921 * env.cc (environment::environment(symbol),
1922 environment::environment(const environment *): Initialize
1923 margin_character_flags.
1924 (margin_character): Rewrite.
1925 (environment::output_line): Add a margin character if
1926 margin_character_flags is non-zero. Turn off the
1927 MARGIN_CHARACTER_NEXT bit. If that makes margin_character_flags
1928 zero, use margin_character_node without copying and then set
1929 margin_character_node to 0.
1931 * devps/DESC.in: Change minimum size to 1000.
1933 Tue Feb 23 14:57:49 1993 James Clark (jjc at jclark)
1935 * troff/symbol.h (symbol::hash): Change return type to unsigned
1937 * troff/dictionary.cc (dictionary::lookup, dictionary::remove):
1940 * test-groff: Use -r rather than -x.
1942 * grops/psfig.diff: Include in distribution again.
1944 Mon Feb 22 09:10:44 1993 James Clark (jjc at jclark)
1946 * Makefile.in (dist): Use gzip.
1948 Sun Feb 21 11:12:53 1993 James Clark (jjc at jclark)
1950 * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
1951 unistd.h as well as in stdlib.h.
1952 * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
1953 defined; otherwise include <sys/types.h> and <unistd.h> if
1954 UNISTD_H_DECLARES_GETOPT is defined.
1956 * configure.in: use builtin(include, ... rather than include(...
1957 * configure: Regenerate with autoconf 1.3.
1959 * libdriver/print.cc (printer::adjust_arc_center): Use new
1960 algorithm suggested by Andy Fyfe.
1962 * libdriver/printer.cc (printer::adjust_arc_center): New function.
1963 * include/printer.h: Declare this.
1964 * grops/ps.cc (ps_printer::draw): Use it.
1965 * grodvi/dvi.cc (dvi_printer::draw): Use it.
1967 Fri Feb 19 23:13:51 1993 James Clark (jjc at jclark)
1969 * Makefile.comm (.man.n): Replace macrodir by tmacdir.
1971 Thu Feb 11 16:46:59 1993 James Clark (jjc at jclark)
1973 * eqn/main.cc (main): Handle "eqn -".
1975 Mon Jan 4 20:29:56 1993 James Clark (jjc at jclark)
1977 * tmac/tmac.e (++): Install fix from comp.bugs.4sd.
1979 * mm: Integrate version 1.08.
1981 * pic/troff.cc (troff_output::finish_picture): Set
1982 EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
1983 * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
1984 if it's not defined. Check whether the register is non-zero rather
1985 than whether it's not defined.
1986 * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
1988 * indxbib/indxbib.cc: Move all signal handling into...
1989 * indxbib/signal.c: New file.
1990 * configure.in: Call AC_RETSIGTYPE.
1992 * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
1993 * configure.in: Call GROFF_STRUCT_EXCEPTION.
1994 * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
1996 * troff/input.cc (token::token, token::operator=): Work round SGI
1998 * pic/object.cc (position::position): Likewise.
2000 Mon Dec 28 21:50:21 1992 James Clark (jjc at jclark)
2002 * pic/pic.h: Move declaration of hypot().
2004 Wed Dec 16 12:28:29 1992 James Clark (jjc at jclark)
2006 * pic/pic.h: Declare hypot().
2008 * pic/pic.h: Define M_PI if necessary.
2010 Thu Dec 10 12:03:29 1992 James Clark (jjc at jclark)
2012 * tmac/tmac.e (re): Add alternative version that doesn't use groff
2015 * devps/prologue.ps (RE): Handle the possibility that the old font
2016 doesn't have a FontName entry.
2018 Wed Dec 2 10:25:29 1992 James Clark (jjc at jclark)
2020 * tmac/tmac.e (fam): Redefine to set family in environment 2.
2021 (@C): Use @fam not fam.
2023 Thu Nov 26 16:01:25 1992 James Clark (jjc at jclark)
2025 * lookbib/lookbib.cc (main): Change type of start to const char *.
2026 * lkbib/lkbib.cc (main): Likewise.
2028 * eqn/lex.cc (definition::definition): Don't use member
2029 initializer syntax for members of anonymous unions.
2031 * troff/input.cc (input_stack::backtrace): Change type of to const
2034 Wed Nov 25 13:43:09 1992 James Clark (jjc at jclark)
2036 * include/stringclass.h (class string): Declare inline friend
2037 functions as inline in class declaration.
2038 * troff/hvunits.h (class hunits, class vunits): Likewise.
2039 * include/refid.h (class reference_id): Likewise
2040 * troff/troff.h (points_to_units(units), scale(units, double)):
2041 Delete declarations.
2042 * libdriver/input.cc (get_char): Delete declaration.
2043 * include/lib.h: Change 2nd argument of getopt from const char **
2045 * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
2046 char **' before assigning to a `const char **'.
2047 * tbl/table.cc: Delete extra declarations of prints().
2049 Tue Nov 24 14:33:13 1992 James Clark (jjc at jclark)
2051 * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
2052 char **' before assigning to a `const char **'.
2054 * libgroff/errarg.cc (errarg::errarg): Don't use member
2055 initializer syntax for members of anonymous unions.
2057 Sat Nov 21 05:02:23 1992 James Clark (jjc at jclark)
2059 * mm: Integrate version 1.07.
2061 Tue Nov 17 16:44:27 1992 James Clark (jjc at jclark)
2063 * troff/input.c (translate2): Rename to
2064 (translate_no_transparent).
2065 (init_input_requests): Rename tr2 to trnt.
2067 Mon Nov 16 09:49:32 1992 James Clark (jjc at jclark)
2069 * troff/charinfo.h (class charinfo): Add transparent_translate field.
2070 (charinfo::set_translation, charinfo::set_special_translation):
2071 Add second argument that specifies value for
2072 transparent_translate.
2073 (charinfo::get_translation, charinfo::get_special_translation):
2074 Add optional second argument that specifies whether translation is
2075 being used for transparent throughput.
2076 * troff/input.cc (charinfo::set_translation,
2077 charinfo::set_special_translation): Handle second argument.
2078 (charinfo::charinfo): Initialize transparent_translate.
2079 (translate): Split main part off into
2080 (do_translate): New function. Pass argument saying whether
2081 translation applies to transparent throughput.
2082 (translate2): New request.
2083 (init_input_requests): Bind translate2 to `tr2'.
2085 Wed Nov 11 11:43:20 1992 James Clark (jjc at jclark)
2087 * tbl/table.h (class table): Add `nokeep' flag.
2088 * tbl/main.cc (process_options): Handle `nokeep' option.
2089 * tbl/table.cc (table::init_output, table::do_row, table::do_top,
2090 table::do_bottom): Don't output keep/release macro definitions or
2091 calls when `nokeep' option has been specified.
2093 Sat Nov 7 01:28:33 1992 James Clark (jjc at jclark)
2095 * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
2097 Wed Nov 4 16:29:04 1992 James Clark (jjc at jclark)
2099 * tbl/table.cc (table_entry::divert, block_entry::do_divert,
2100 block_entry::divert, alphabetic_block_entry::divert): Add extra
2101 argument giving column separation.
2102 (table::compute_widths): Pass column separation to
2103 table_entry::divert().
2104 (block_entry::do_divert): If an entry spans multiple columns and a
2105 minimumum width has been specified for each column, then set the
2106 line length to the sum of the widths (plus possibly the column
2109 * troff/input.cc (set_escape_char): Don't set the escape_char
2110 until after calling has_arg().
2112 Tue Nov 3 11:23:27 1992 James Clark (jjc at jclark)
2114 * tbl/table.cc (table::do_top): Add missing \s0 for double box
2117 * tbl/table.cc (table::print_double_hline): Avoid extra new line
2118 in case where r > nrows - 1.
2120 * tbl/table.cc (BODY_HEIGHT): Deleted.
2121 (LINE_SEP): New definition.
2122 (table::print_single_hline, table::print_double_hline,
2123 table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
2124 table::do_row, table::do_top): Use LINE_SEP space before a line
2125 instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.
2127 * tbl/table.cc (text_entry::print_contents): New function.
2128 (text_string_name, right_text_string_name): Deleted.
2129 (TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
2130 (simple_text_entry::do_width, numeric_text_entry::do_width,
2131 alphabetic_text_entry::do_width): Don't store the contents of the
2133 (left_text_entry::simple_print, right_text_entry::simple_print,
2134 center_text_entry::simple_print,
2135 alphabetic_text_entry::simple_print,
2136 numeric_text_entry::simple_print): Print the entry directly
2137 instead of using the stored string.
2139 Fri Oct 30 10:39:32 1992 James Clark (jjc at jclark)
2141 * devps/Makefile: Strip PostScript files.
2142 * devps/prologue: Rename to...
2143 * devps/prologue.ps.
2144 * devps/psstrip.sed: New file.
2145 * devps/download: Use .pfa rather than .ps for installed versions
2148 Thu Oct 29 09:14:43 1992 James Clark (jjc at jclark)
2150 * troff/env.cc (input_trap): Give a warning if the argument is out
2153 * troff/env.cc (adjust): Treat negative argument as missing. Round
2154 argument > 5 down to 5.
2156 * troff/env.cc (center, right_justify): Make negative argument zero.
2158 * troff/div.cc (page_offset, vertical_position_traps): Treat
2159 invalid argument as missing.
2160 * troff/env.cc (line_spacing, line_length, title_length, indent,
2161 underline, hyphen_line_max_request, control_char,
2162 no_break_control_char, widow_control_request, adjust, input_trap,
2163 point_size): Likewise.
2164 * troff/node.cc (ligature, kern_request, bold_font, track_kern,
2165 constant_space): Likewise.
2166 * troff/input.cc (compatible, shift, warn_request,
2167 set_escape_char): Likewise.
2169 * tbl/main.cc (format::format): Avoid doing `new int[0]'.
2170 * tbl/table.cc (table::table): Likewise.
2172 * Makefile.dev (install_dev): depends on $(DEVFILES).
2174 Wed Oct 28 08:30:57 1992 James Clark (jjc at jclark)
2176 * devX75, devX75-12, devX100, devX100-12: New directories.
2177 * Makefile.in: Add these to DEVDIRS.
2179 * troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
2180 afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
2181 grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
2182 * Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
2184 * Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
2185 (uninstall): New target.
2186 * Makefile.comm (uninstall, uninstall_sub, uninstall_man,
2187 uninstall_prog, uninstall_dev): New targets.
2189 * troff/div.cc (return_request): Treat an invalid argument as
2192 Mon Oct 26 11:33:47 1992 James Clark (jjc at jclark)
2194 * tmac/tmac.e ((f): Set up the environment even when there's a
2195 current diversion. Transperently throughput a call to @N.
2198 Thu Oct 22 05:05:59 1992 James Clark (jjc at jclark)
2200 * tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
2201 up to vertical resolution.
2203 * tbl/table.cc (table::do_row): Change row number after printing
2206 * pic/lex.cc (get_token_after_dot): Make .left and .right work.
2208 Wed Oct 21 14:46:45 1992 James Clark (jjc at jclark)
2210 * Rename CHANGES to NEWS.
2212 Tue Oct 20 23:25:21 1992 James Clark (jjc at jclark)
2214 * libgroff/new.cc (operator new): Avoid calling malloc(0).
2216 Mon Oct 19 09:10:13 1992 James Clark (jjc at jclark)
2218 * man.ultrix: Removed.
2220 Sun Oct 18 06:35:15 1992 James Clark (jjc at jclark)
2222 * Makefile.comm (extraclean): Delete files whose names begin with
2225 * pic/troff.cc (troff_output::text): Fix typo in implementation of
2228 Sat Oct 10 09:32:29 1992 James Clark (jjc at jclark)
2230 * troff/env.cc (hyphenate_request, vertical_spacing, no_number):
2231 * troff/div.cc (page_length, need_space, space_request): Treat
2232 invalid optional argument as missing.
2233 * troff/env.cc (number_lines): If the first argument is present
2234 but not a number, turn on line numbering, don't change the next
2235 line number and parse the remaining arguments.
2237 * tmac/tmac.e (@q): Do the `ne' before changing to environment 2.
2239 Thu Oct 8 10:24:40 1992 James Clark (jjc at jclark)
2241 * eqn/box.h: Change declaration accordingly.
2242 * eqn/box.cc (set_gsize): Change return type to int. Return 0 if
2243 the specified size was bad but don't give an error. Check for
2245 * eqn/main.cc (main): Change caller. Leave validation to set_gsize.
2246 * eqn/lex (do_size): Likewise.
2248 Wed Oct 7 09:48:59 1992 James Clark (jjc at jclark)
2250 * acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
2253 Sun Oct 4 18:24:02 1992 James Clark (jjc at jclark)
2255 * tbl/table.cc (table::init_output): Improve error message when
2256 table won't fit on one page.
2258 Fri Oct 2 10:41:40 1992 James Clark (jjc at jclark)
2260 * pic/troff.cc (troff_output::start_picture): Generate line
2261 containing a horizontal motion equal to the width of the picture.
2263 * groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
2264 using GROFF_COMMAND_PREFIX environment variable.
2266 Fri Sep 25 11:40:40 1992 James Clark (jjc at jclark)
2268 * mdate.sh: Use $NF rather than $(NF).
2270 Tue Sep 22 09:47:24 1992 James Clark (jjc at jclark)
2272 * pic/main.cc (main): Use %1 not %c in argument to warning.
2274 * eqn/main.cc (main): Output code to check that geqn was given the
2277 Mon Sep 21 10:59:16 1992 James Clark (jjc at jclark)
2279 * Makefile.in (dist): Instead of doing `make -f ../Makefile', do
2280 `ln -s ../Makefile .; make; rm -f Makefile'.
2282 * troff/hyphen: Rename to...
2284 * troff/input.cc (main): Delete -H option. Don't call
2286 * troff/env.cc: Include searchpath.h and macropath.h.
2287 (exception_dictionary): Deleted.
2289 (read_hyphen_file): Deleted.
2290 (hyphenation_language): New struct.
2291 (class trie, class hyphen_trie): Move declarations up.
2292 (trie_node::~trie_node): Deleted.
2293 (trie::delete_trie_node): New function.
2294 (trie::do_delete): New pure virtual function.
2295 (hyphen_trie::do_delete): New function.
2296 (trie::~trie): New function.
2297 (hyphen_trie::~hyphen_trie): New function.
2298 (trie::clear): No need to chcek that tp is not 0.
2299 (current_language, language_dictionary): New variables.
2300 (hyphen_word): Give an error if no current language. Use
2301 exceptions dictionary in current language.
2302 (hyphen_trie::read_patterns_file): Find file using macro_path.
2303 Allow comments (starting with %) in patterns file. Don't make it
2304 a fatal error if the file can't be found.
2305 (hyphenate): Return if no current language. Get the exceptions
2306 dictionary and the hyphenation patterns from the current language.
2307 (set_hyphenation_language): New variable.
2308 (hyphenation_patterns_file): New function.
2309 (hyphenation_language_reg): New class.
2310 (hyphenation_language_reg::get_string): New function.
2311 (init_hyphen_requests): Bind "hla" to set_hyphenation_language and
2312 "hpf" to hyphenation_patterns_file. Initialize `.hla' number
2314 * groff/groff.cc (main, help, synopsis): Delete -H option.
2315 * include/Makefile.sub: Don't define HYPHENFILE.
2316 * Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
2317 * Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
2318 * tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
2319 hyphenation patterns.
2321 Sun Sep 20 09:33:02 1992 James Clark (jjc at jclark)
2323 * eqn/neqn.sh: New file.
2324 * eqn/Makefile.sub: Handle neqn.sh.
2326 * eqn/eqn.h: Declare `nroff' variable.
2327 * eqn/box.cc (param_table): Add `nroff' param.
2329 * eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
2331 * tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.
2333 * troff/troff.h (WARN_FONT): New warning.
2334 (WARN_TOTAL): Change accordingly.
2335 * troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
2336 (warning_table): Add WARN_FONT.
2337 * troff/node.cc (mount_font_no_translate): Pass argument to
2338 font::load_font. If this is non-zero, give a warning.
2339 Don't give an error message when accessing a font that has already
2340 been found to be invalid.
2341 * include/font.h (font::load, font::load_font): Add additional
2342 optional argument which suppresses error message if the font is
2344 * libgroff/font.cc (font::load_font): Handle additional argument.
2345 (font::load): Add additional argument. If this is non-null, set it
2346 to 1 and don't give error message.
2348 * include/printer.h (printer::end_page): Add argument giving
2350 * libdriver/input.cc (do_file): Pass this.
2351 * grops/ps.cc (ps_printer::end_page): Add argument.
2352 * grodvi/dvi.cc (dvi_printer::end_page,
2353 draw_dvi_printer::end_page): Add argument.
2354 * grotty/tty.cc (class tty_printer): Remove lines_per_page and
2355 columns_per_page members. New member nlines.
2356 (DEFAULT_LINES_PER_PAGE): Deleted.
2357 (tty_printer::tty_printer): Don't compute lines_per_page from
2358 font::paperlength. Don't compute columns_per_page from
2360 (tty_printer::add_char): Don't check horizontal position against
2361 columns_per_page. Grow glyphs vector if neccessary.
2362 (tty_printer::end_page): Add argument giving page_length in units.
2363 Discard lines past end of page.
2365 Wed Sep 16 06:29:52 1992 James Clark (jjc at jclark)
2367 * tmac/tmac.tty-char: Fix definition of \(/l.
2369 * tmac/tmac.X: Define \(en.
2371 Tue Sep 15 10:37:13 1992 James Clark (jjc at jclark)
2373 * acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
2374 lpq, then use lp rather than lpr.
2376 * tmac/tmac.s (par@reset): Don't call `ad'.
2377 (par*env-init): Call `ad'.
2379 Sun Sep 13 18:48:20 1992 James Clark (jjc at jclark)
2381 * mdate.sh: Use $(NF) instead of $6 to extract year from output of
2384 * troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
2385 * indxbib/indxbib.cc: Likewise.
2387 Sun Sep 6 09:44:46 1992 James Clark (jjc at jclark)
2389 * libgroff/putenv.c: New file.
2390 * libgroff/Makefile.sub: Add putenv.c to CSRCS.
2391 * Makefile.in: Say that putenv.o can be one of LIBOBJS.
2392 * configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
2393 stdlib.h with AC_HAVE_HEADERS.
2395 Sat Sep 5 18:11:52 1992 James Clark (jjc at jclark)
2397 * indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
2400 Fri Sep 4 09:43:26 1992 James Clark (jjc at jclark)
2402 * eqn/box.cc (gsize): Make it an int.
2403 (set_gsize): Parse argument handling increment or decrement.
2404 (box::top_level): Convert gsize to a string.
2406 * troff/input.cc (exit_troff): Make buf unsigned char [].
2407 Call to make_temp_iterator casts buf to char*.
2409 * Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.
2411 * Makefile.ccpg (depend.temp): Depends on $(YTABC).
2412 * Makefile.cpg (depend.temp): Likewise.
2414 * Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).
2416 * Makefile.comm: Add y.output to MOSTLYCLEANFILES.
2418 Thu Sep 3 08:01:55 1992 James Clark (jjc at jclark)
2420 * tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.
2422 Tue Sep 1 18:24:53 1992 James Clark (jjc at jclark)
2424 * Version 1.06 released.
2426 * Integrate mm 1.04.
2428 Fri Aug 28 11:28:19 1992 James Clark (jjc at jclark)
2430 * Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.
2432 Thu Aug 27 11:03:33 1992 James Clark (jjc at jclark)
2434 * afmtodit/afmtodit.pl: Add -n option that disables generation of
2436 * devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
2437 afmtodit. Regenerate.
2439 * tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
2440 @f back past the current position.
2442 * tmac/tmac.e: Change calls to @R so that comments are not part of
2445 Tue Aug 25 10:42:07 1992 James Clark (jjc at jclark)
2447 * configure.in: Check for mkstemp with AC_HAVE_FUNCS.
2449 * acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
2450 check that we can link a call to a function declared in <stdio.h>.
2451 (GROFF_UNISTD_H): New macro.
2452 * configure.in: Call it.
2453 * Makefile.in: Document it.
2454 * include/posix.h: New file.
2455 * troff/troff.h: Don't include <osfcn.h>
2456 * troff/input.cc: Include posix.h.
2457 * libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
2459 * indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
2460 Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
2462 * indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
2463 * libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
2464 * libbib/search.cc (O_RDONLY): Delete definition.
2465 * refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
2466 Don't include <osfcn.h>.
2468 * acgroff.m4 (GROFF_TIME_T): New macro.
2469 * configure.in: Call it.
2470 * Makefile.in: Document it.
2472 * acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
2473 * configure.in: Call it.
2474 * Makefile.in: Document -DTRADITIONAL_CPP.
2475 * include/ptable.h: Don't include generic.h.
2478 * tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
2479 Afterwards remove [T1 and [T2.
2480 (ref*spec!0, ref*spec!2): Use T1 rather than T.
2481 (ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
2482 (ref*add-T2): Renamed from ref*add-T.
2483 (ref*add-T1): New macro.
2485 Mon Aug 24 11:11:11 1992 James Clark (jjc at jclark)
2487 * acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.
2489 * libbib/index.cc: Include <fcntl.h>.
2490 (O_RDONLY): Define if necessary.
2491 (make_index_search_item, index_search_item_iterator::get_tag,
2492 index_search_item::check_files): Use O_RDONLY.
2493 * libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
2494 (O_RDONLY): Define if necessary.
2495 (search_list::add_file): Use O_RDONLY.
2496 * indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
2498 (S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
2501 * libbib/index.cc (S_ISREG): Define it if necessary.
2502 (index_search_item::load): Use S_ISREG.
2504 * include/driver.h: Include <errno.h>.
2506 Sun Aug 23 11:32:18 1992 James Clark (jjc at jclark)
2508 * eqn/box.cc (body_height): Increase default value to 85.
2509 (body_depth): Increase default value to 35.
2511 Fri Aug 21 05:34:42 1992 James Clark (jjc at jclark)
2513 * eqn/pbox.h (SAVE_FONT_STRING): Define it.
2514 * eqn/box.cc (box::top_level): Hide use of \R in a string that is
2515 protected from expansion with \E.
2517 * acgroff.m4 (GROFF_PAGE): Use `case' to test domain.
2519 * Makefile (Makefile): New target.
2521 * Makefile.sub (configure, distfiles): New targets.
2523 * acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
2526 Thu Aug 20 12:27:26 1992 James Clark (jjc at jclark)
2528 * eqn/box.cc (param_table): Add body_height and body_depth.
2530 * eqn/lex.cc (def_table): Make circumflex in hat_def roman.
2532 Tue Aug 18 16:24:25 1992 James Clark (jjc at jclark)
2534 * psbb/Makefile.sub: Don't link with libgroff.a.
2536 * acgroff.m4 (GROFF_PUTENV): New macro.
2537 * configure.in: Call GROFF_PUTENV.
2538 * Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
2539 * groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
2542 * troff/env.cc (distribute_space): Rename force_forward argument
2543 to force_reverse. Reverse the list if force_reverse is true.
2545 Mon Aug 17 17:49:05 1992 James Clark (jjc at jclark)
2547 * tmac/tmac.an: Don't define a string `T'. Just define Tm.
2549 * eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
2550 height or depth to be negative. Guard against SUP_RAISE quantity
2553 Sat Aug 15 08:18:54 1992 James Clark (jjc at jclark)
2555 * devps/generate/textmap: Add `an' (arrowhorizex).
2556 * tmac/tmac.ps: \(an overlaps horizontally.
2557 * tmac/tmac.dvi, tmac/tmac.tty: Add `an'.
2559 * devps/symbolchars: Add arrowverttp, arrowvertbt.
2560 * devps/textmap: Add arrowvertex.
2561 * eqn/delim.cc (delim_table): Add uparrow, downarrow and
2562 updownarrow delimiters.
2563 * tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.
2565 * tbl/table.cc (simple_entry::position_vertically,
2566 block_entry::position_vertically): For a centered entry, perform
2567 the motion in two stages.
2569 * refer/refer.cc (split_punct): Don't call lookup_token if there
2572 Fri Aug 14 11:14:58 1992 James Clark (jjc at jclark)
2574 * troff/input.cc (token::next): Delete token_node after copying
2577 * grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
2580 * libdriver/printer.cc (printer::load_font): Delete old_font_table.
2582 * grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.
2584 Tue Aug 11 13:50:38 1992 James Clark (jjc at jclark)
2586 * grops/ps.cc (usage): -b option takes an argument.
2588 * devps/prologue (PLG): New procedure.
2589 * grops/ps.cc (main, usage): New -g option.
2590 (ps_printer::~ps_printer): If guess_flag is set, guess the paper
2593 Mon Aug 10 11:17:53 1992 James Clark (jjc at jclark)
2595 * include/cset.h: Include <limits.h> if we have it.
2597 * libgroff/illegal.cc: New file.
2598 * include/lib.h (illegal_input_char): Use table.
2599 * troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
2600 * pic/lex.cc (ARG1): Renumber to 14.
2601 * eqn/lex.cc (ARG1: Likewise.
2603 * troff/Makefile.sub (majorminor.cc): Handle 3 part versions
2604 (eg 1.05.90) correctly.
2606 Sun Aug 9 13:35:43 1992 James Clark (jjc at jclark)
2608 * tmac/tmac.e (sr): Deleted. Set $r and $R directly.
2609 Rename $r and $R registers to $v and $V.
2610 ($r, $R): Initialize to 0.
2611 (@v, @V): New macros.
2615 * troff/input.cc (main, usage): Add -R option that says not to
2617 * eqn/main.cc (main, usage): Rename -n to -R.
2619 Sat Aug 8 00:16:00 1992 James Clark (jjc at jclark)
2621 * devps/DESC.in: Leave font positions 5-9 blank.
2622 * devdvi/DESC.in: Likewise.
2624 * grog/grog.pl: Handle `.PS <file' correctly.
2626 * troff/input.cc (input_stack::push): Improve error message when
2627 input stack limit exceeded.
2629 Fri Aug 7 13:08:16 1992 James Clark (jjc at jclark)
2631 * refer/refer.cc (main): Fix typo in handling of `a' option.
2633 * refer/refer.cc (do_bib): In state START after a newline remain
2636 * groff/groff.sh: Deleted.
2637 * groff/Makefile.sub: Delete handling of groff.sh.
2639 * pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
2640 to determine whether to use \X'ps:...'.
2641 * tmac/troffrc: Set 0p register to 0.
2642 * tmac/tmac.ps: Set 0p register to 1.
2644 * groff/groff.cc: Support -X option. Give warning for -TXps and
2645 transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
2646 * tmac/troffrc: Support -r.X=1.
2648 * pic/troff.cc (troff_output::dot): Don't test
2649 zero_length_line_flag.
2651 Thu Aug 6 13:32:08 1992 James Clark (jjc at jclark)
2653 * include/lib.h: Declare getopt() and friends unless
2654 STDLIB_H_DECLARES_GETOPT is defined.
2656 * doc/chars.tr: Delete.
2657 * man/groff_char.man: New file.
2659 Wed Aug 5 00:38:58 1992 James Clark (jjc at jclark)
2661 * tmac/tmac.e (np, bu): Test \n($p with string expression in case
2662 user has changed register format.
2664 Mon Aug 3 11:22:18 1992 James Clark (jjc at jclark)
2666 * groff/groff.cc: Get rid of device_table. Get postprocessor from
2667 `postpro' command in DESC file. Get spooler command from `print'
2668 command in DESC file. Execute spooler command with /bin/sh.
2670 * groff/groff.cc: Split Unix-specific parts into...
2671 * groff/pipeline.c: New file.
2674 * COPYING: New file.
2675 * all files: Update copyright notices.
2677 * Rearrange files. Redo Makefiles. Use autoconf.
2679 Sat Aug 1 09:36:50 1992 James Clark (jjc at jclark)
2681 * troff/input.c (charinfo_to_node_list): Interpret character
2682 definition with escape_char of `\'.
2684 Tue Jul 28 12:20:12 1992 James Clark (jjc at jclark)
2686 * lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
2687 Define INT_DIGITS as big enough for 64-bit integer.
2688 * lib/strtol.c: Don't include lib.h.
2689 * lib/lib.h: Delete ifdef __cplusplus stuff.
2691 Mon Jul 27 11:08:50 1992 James Clark (jjc at jclark)
2693 * ps/devps/Makefile: Add DESC to DEVICEFILES. Separate out rule
2694 for making DESC. Make $(FONTS) depend on DESC. afmtodit should
2695 get DESC from current directory.
2697 Sun Jul 26 15:38:26 1992 James Clark (jjc at jclark)
2699 * tbl/main.c (main): Always reset the line number when reading
2702 * tbl/table.c (table::print_single_hline, table::print_double_hline,
2703 table::define_bottom_macro, table::do_row, table::do_top): Round
2704 vertical spacing up to vertical resolution.
2706 Fri Jul 24 14:32:07 1992 James Clark (jjc at jclark)
2708 * ps/ps.h (enum resource_type): Avoid comma at end of
2710 * dvi/dvi.c (class dvi_printer): Likewise.
2711 * dvi/tfmtodit.c (gf::load): Likewise.
2712 * refer/label.y (struct expression): Likewise.
2713 * refer/refer.c (class label_processing_state): Likewise.
2714 * refer/indxbib.c (do_file): Likewise.
2715 * troff/troff.c (enum warning_type): Likewise.
2716 * tbl/main.c (process_data): Likewise.
2717 * troff/charinfo.h (class charinfo):
2719 Wed Jul 22 09:17:58 1992 James Clark (jjc at jclark)
2721 * dvi/devdvi/textt.map: Add entry for `-'. Regenerate fonts.
2723 Tue Jul 21 11:39:26 1992 James Clark (jjc at jclark)
2725 * groff.c: Move to new groff subdirectory.
2726 * groff/Makefile: New file.
2727 * Makefile: Remove handling of groff.c. Add groff to SUBDIRS.
2729 * man/mdate.sh: Use ls -L if supported.
2731 * Consolidate all header files produced by gendef into lib/defs.h.
2732 * lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
2733 Don't include path.h.
2734 * lib/Makefile (path.h): Don't generate.
2735 * troff/input.c: Include defs.h. Don't include config.h.
2736 * troff/Makefile (config.h): Don't generate.
2737 * refer/index.h: Don't include suffix.h.
2738 * refer/index.c: Include defs.h.
2739 * refer/indxbib.c: Include defs.h.
2740 * refer/refer.h, refer/lkbib.h: Don't include path.h. Include
2742 * refer/Makefile (suffix.h, path.h): Don't generate.
2743 * groff.c: Don't include config.h. Include defs.h.
2744 * Makefile (config.h): Don't generate.
2745 (lib/defs.h): Generate.
2746 (topclean): Remove lib/defs.h.
2748 Mon Jul 20 10:12:57 1992 James Clark (jjc at jclark)
2750 * lib/malloc.c, lib/getpagesize.h: Deleted.
2751 * Makefile: Add COOKIE_BUG configuration option. Delete malloc
2753 * lib/Makefile: Delete malloc-related stuff.
2754 * lib/new.c: Workaround COOKIE_BUG if necessary.
2756 * refer/lkbib.c, refer/indxbib.c: Don't include refer.h. Include
2757 needed header files directly.
2758 * refer/refer.h: Omit definition of DEFAULT_INDEX.
2759 * Makefile: Include definition of DEFAULT_INDEX in path.h.
2761 Sun Jul 19 10:19:22 1992 James Clark (jjc at jclark)
2763 * lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
2765 * lib/font (font::load_desc, font::load): Don't split argument of
2767 (font::handle_unknown_font_command): Change type.
2768 * ps/ps.c (ps_font::handle_unknown_font_command,
2769 handle_unknown_desc_command): Change type.
2770 * dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.
2772 Fri Jul 17 11:12:49 1992 James Clark (jjc at jclark)
2774 * lib/font.h (font::handle_unknown_font_command): Add file and
2776 * lib/font.c (font::handle_unknown_font_command):
2777 * ps/ps.c (ps_font::handle_unknown_font_command):
2778 * dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
2779 lineno arguments. Use _with_file_and_line functions for error
2782 * lib/fontfile.c (font::unknown_desc_command_handler): New static
2784 * lib/font.c (font::set_unknown_desc_command_handler): New
2786 (font::load_desc): For unknown commands, call
2787 unknown_desc_command_handler if not null.
2788 * lib/font.h (class font): Declare them.
2789 (FONT_COMMAND_HANDLER): New typedef.
2790 * ps/ps.c (handle_unknown_desc_command): New function.
2791 (main): Set bflag if we had a -b option. Call
2792 font::set_unknown_desc_command_handler.
2793 (broken.h): Don't include.
2794 * ps/Makefile: No need for broken.h. Pass BROKEN_SPOOLER_FLAGS to
2796 * ps/devps/Makefile: Add `broken' command to DESC file using
2797 BROKEN_SPOOLER_FLAGS.
2799 * macros/tmac.e ([, ]): Add as synonyms for { and }.
2801 * macros/tmac.e ($p): Only exdent if \$3 > 0.
2803 * macros/tmac.e (@R, @S): New macros.
2804 Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
2805 ?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
2806 Declare $H, $[0-9], .. macros with @S.
2807 Declare |0, |1, |2, |3 strings with @S.
2809 * macros/tmac.e (@S): Rename to @U.
2811 * macros/tmac.e (@z): Define @b and bp as empty instead of
2814 * macros/tmac.e (@m): Deleted.
2815 (@h): Don't call @m.
2816 (@z): Don't set @m trap.
2818 * macros/tmac.e ($h, $f): Define |z as empty string.
2820 * macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
2823 * macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
2825 ()f): Likewise for * register.
2827 * macros/tmac.e (sr): Don't ever scale the arguments. If the third
2828 argument is missing, don't change $R. Call sr with three
2829 arguments when initializing.
2831 Thu Jul 16 12:17:12 1992 James Clark (jjc at jclark)
2833 * macros/tmac.e (sr): New macro.
2834 Initialize $r and $R using sr.
2836 * macros/tmac.e (,): Delete \*(#[.
2838 * troff/env.c (set_tabs): Read the tab type even if the position
2839 is bad. Allow the position of the first tab stop to be negative.
2841 Wed Jul 15 13:14:37 1992 James Clark (jjc at jclark)
2843 * refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
2845 * refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
2846 rather than -DPATHCONF_MISSING.
2847 * Makefile: Get rid of PATHCONF_MISSING.
2849 * refer/map.c: New file.
2850 * refer/index.c: Interface to mmap through map.c. Rename map_size
2852 * refer/Makefile: Handle map.c.
2853 * Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.
2855 Tue Jul 14 14:15:20 1992 James Clark (jjc at jclark)
2857 * Makefile: RANLIB should be `true' if there is no ranlib.
2858 * lib/Makefile (libgroff.a): Simplify.
2859 * driver/Makefile (libdriver.a): Simplify.
2861 * Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
2862 * groff.c (WCOREDUMP): Use WCOREFLAG. Define only if not already
2865 Sat Jul 11 09:19:17 1992 James Clark (jjc at jclark)
2867 * troff/env.c (compare_ranges): Declare as extern "C".
2869 * troff/input.c (init_registers): Use `struct tm' instead of `tm'.
2871 * macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.
2873 Wed Jul 8 11:52:27 1992 James Clark (jjc at jclark)
2875 * pic/troff.c (troff_output::text): Merge in grops_output::text,
2876 but conditionalize use of \X based on \*(.T.
2877 (grops_output::*): Deleted.
2878 * pic/output.h: Delete declaration of make_grops_output.
2879 * pic/main.c (main): Ignore -p and -x. driver_extension_flag is 1
2880 by default. -n sets it to 0.
2881 (usage): Corresponding changes.
2882 * groff.c (main): Don't pass -x or -p to pic.
2883 * groff.sh: Likewise.
2885 * ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
2888 * ps/devps/afmtodit: Change calculation of asc_boundary and
2889 desc_boundary. Make these bounds inclusive.
2890 * ps/devps: Regenerate font files.
2892 Tue Jul 7 13:14:15 1992 James Clark (jjc at jclark)
2894 * macros/tmac.latin1: New file.
2895 * macros/tmac.tty-char: Use tmac.latin1.
2896 (tmac.tty-tr): Deleted.
2897 * macros/Makefile: Install tmac.latin1.
2898 * macros/tmac.dvi: Use tmac.latin1.
2899 * macros/troffrc: Translate \[char160] onto no-break space here.
2900 * macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.
2902 Mon Jul 6 11:06:52 1992 James Clark (jjc at jclark)
2904 * macros/tmac.Xps: Use `do' request.
2906 * macros/tmac.ps: Use `do' request.
2908 * macros/tmac.e (@C): Use `do' request.
2910 * macros/tmac.X, macros/tmac.Xps: Moved from xditview.
2911 * macros/Makefile: Install tmac.X*.
2913 * tty/tmac.tty, tty/tmac.tty-char: Move to macros.
2914 * tty/Makefile: Don't install tmac.tty*.
2915 * macros/Makefile: Install tmac.tty*.
2917 * dvi/tmac.dvi: Move to macros.
2918 * dvi/Makefile: Don't install tmac.dvi.
2919 * macros/Makefile: Install tmac.dvi.
2921 * ps/tmac.ps*: Move to macros.
2922 * ps/Makefile: Don't install tmac.ps*.
2923 * macros/Makefile: Install tmac.ps*.
2925 * eqn/box.c: Provide draw_lines parameter corresponding to -D
2927 * macros/eqnrc: Set draw_lines parameter based on device.
2928 * groff.c: Don't pass -D flag to eqn.
2929 * groff.sh: Likewise.
2930 * eqn/main.c: Warn about use of -D.
2932 * troff/input.c (process_startup_file): New function.
2933 (main): Call process_startup_file().
2934 * macros/troffrc: New file.
2935 * macros/Makefile: Install troffrc.
2936 * groff.c (main): Don't pass extra -m option to troff. For a
2937 pseudo device pass the name of the pseudo device to troff using
2939 * groff.sh: Likewise.
2940 * groff.c (possible_command::prepend_arg): Deleted.
2942 * troff/input.c (do_request): New function.
2943 (init_input_requests): Bind "do" to do_request.
2945 * eqn/main.c (main): Instead of loading eqnchar from device directory,
2946 load eqnrc from macro directory.
2947 * macros/eqnrc: New file.
2948 * macros/Makefile: Install eqnrc.
2949 * ps/devps/eqnchar: Deleted.
2950 * ps/devps/Makefile: Don't install eqnchar.
2951 * dvi/devdvi/eqnchar: Deleted.
2952 * dvi/devdvi/Makefile: Don't install eqnchar.
2953 * groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
2956 * lib/device.[ch]: New files.
2957 * lib/font.h (font::set_device_name, font::get_device_name):
2959 * lib/fontfile.c: Use device.h.
2960 * lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
2961 * troff/input.c: Delete definition of `device'.
2962 (main): Don't initialize device.
2963 * troff/troff.h: Include device.h rather than declaring device.
2964 * troff/Makefile: No need to handle DEVICE.
2965 * driver/input.c: Include device.h. Don't use
2966 font::{set,get}_device_name.
2967 * groff.c, Makefile: Rename device.h to config.h.
2968 * groff.c: Use library device variable.
2969 * eqn/main.c: Use library device variable.
2970 * eqn/Makefile: No need to handle DEVICE.
2972 * lib/searchpath.[ch]: New files.
2973 * lib/Makefile: Handle searchpath.[ch].
2974 * troff/input.c (open_file, init_dirs): Deleted.
2975 (macro_dirs): Deleted.
2976 (open_mac_file, macro_source): Use class search_path.
2977 (add_string, struct string_list): Move definition.
2978 (main): Change -M option to use macro_path. Delete call to
2980 * lib/fontfile.c (font::command_line_font_dir, font::open_file):
2981 Rewrite to use class search_path.
2982 * lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
2983 * lib/Makefile: fontfile.c depends on searchpath.h.
2984 * lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
2986 * lib/macropath.[ch]: New files.
2987 * troff/Makefile: No need to handle MACROPATH.
2989 * troff/input.c: Delete DUMP code.
2990 * lib/fontfile.c, lib/font.h: Delete
2991 font::forget_command_line_font_dirs.
2993 * troff/input.c (push_token): New function.
2994 (handle_first_page_transition): Use push_token().
2995 (process_input_stack): Change handling of a space at the beginning
2998 Sun Jul 5 17:11:09 1992 James Clark (jjc at jclark)
3000 * troff/input.c (font_dirs): Delete unused variable.
3002 * eqn/lex.c (do_set): Correct error messages.
3004 Sat Jul 4 10:20:55 1992 James Clark (jjc at jclark)
3006 * troff/input.c (do_define_string): Allow the string name to be
3007 followed immediately by a tab.
3008 (define_character): Likewise.
3010 Thu Jul 2 10:59:15 1992 James Clark (jjc at jclark)
3012 * ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
3015 * troff/input.c (input_iterator::is_file): New virtual function.
3016 (file_iterator::is_file): New function.
3017 (input_stack::end_file): New function.
3018 (input_stack::next_file): Handle the situation where there is no
3019 file on the input stack correctly. Avoid making two passes over
3021 (next_file): Make the filename optional; in this case call
3022 input_stack::end_file().
3024 Wed Jul 1 10:17:25 1992 James Clark (jjc at jclark)
3026 * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
3027 produce a real _ charater when the current font is CW and _
3030 * lib/errarg.c (errarg::errarg(const char *)): Invert conditional
3031 expression to work around gcc 2.2 bug.
3033 Wed Jun 24 08:12:24 1992 James Clark (jjc at jclark)
3035 * eqn/main.c (main): Don't give an error if we can't find eqnchar.
3037 * troff/env.c (environment::add_padding): New function.
3038 (environment::add_char): Use add_padding().
3039 (environment::space): Likewise.
3040 (environment::wrap_up_field): Add some padding if there is none
3041 and there's no current tab.
3042 * troff/env.h: Declare environment::add_padding.
3044 Mon Jun 22 08:37:45 1992 James Clark (jjc@jclark)
3046 * pic/pic.y: undef fmod and rand before declaring them.
3048 Sun Jun 14 11:40:18 1992 James Clark (jjc@jclark)
3050 * troff/input.c (main): If the DESC file specifies a font name of
3051 0, then leave the corresponding font position empty.
3053 * nroff.sh: New file.
3054 * Makefile (install.nobin): Install nroff.sh.
3056 * tty/devlatin1/R.proto: Add ao as synonym for de.
3057 * tty/tmac.tty-char: Define ao as o.
3059 * tty/dev{ascii,latin1}/R.proto: Add aq.
3060 * tty/tmac.tty-char: Delete definition of aq.
3062 Mon Jun 8 11:43:20 1992 James Clark (jjc@jclark)
3064 * troff/input.c (init_charset_table): Don't translate 0240.
3065 * ps/tmac.ps: Translate char160 to space.
3066 * dvi/tmac.dvi: Likewise.
3067 * tty/tmac.tty: Likewise.
3069 Sun Jun 7 10:52:35 1992 James Clark (jjc@jclark)
3071 * dvi/tmac.dvi: Add support for all Latin-1 characters.
3073 * macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
3074 \(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
3077 * tty/tmac.tty-char: Add \(ah.
3079 * dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
3080 No need to define \(FM and \(!/. Conditionalize all character
3083 * ps/devps/lgreekmap: Add +h, +f, +p.
3085 * ps/tmac.psnew: New file.
3086 * ps/Makefile: Install tmac.psnew.
3088 * troff/input.c (charinfo_to_node_list): Don't ever interpret
3089 character definitions in compatible mode.
3091 * troff/input.c (remove_character): New function.
3092 (init_input_requests): Bind remove_character to "rchar".
3094 * ps/tmac.psold: New file.
3095 * ps/Makefile: Install tmac.psold.
3096 * ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
3097 characters into tmac.psold. Make these definitions unconditional.
3099 * tty/tmac.tty-char: Define \n(_C only if it is not already defined.
3101 * ps/tmac.ps: Don't define \('c and \('C.
3103 * ps/devps/textmap: Move Greek characters to...
3104 * ps/devps/symbolchars:
3106 Sat Jun 6 16:41:17 1992 James Clark (jjc@jclark)
3108 * ps/devps/text.enc: Add quotesingle.
3109 * ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
3110 * tty/tmac.tty-char: Likewise.
3111 * dvi/devdvi/texmi.map: Add +h, +f, +p.
3112 * dvi/devdvi/texi.map: Add Fn.
3113 * dvi/devdvi/msam.map: Add lz.
3114 * dvi/tmac.dvi: Handle Bq, bq, aq.
3116 * pic/lex.c (get_token): Recognize 'th.
3117 * pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.
3119 Fri Jun 5 11:20:46 1992 James Clark (jjc@jclark)
3121 * ps/devps/textmap: Move di, mu, +- to...
3122 * ps/devps/symbolchars:
3124 * macros/tmac.s (@XS): Don't call par@reset or fi.
3125 (XA): Call LP. Turn off adjustment. Reduce line length.
3127 * macros/tmac.s: Initially alias XS to LP.
3128 (XS): Rename to @XS.
3129 (cov*ab-init): Alias XS to @XS.
3131 Thu Jun 4 09:12:05 1992 James Clark (jjc@jclark)
3133 * troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
3134 TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
3135 (token::is_size, token::changes_env): Deleted.
3136 * troff/number.c (parse_term): No need to process \s explicitly.
3137 Call tok.next() only after scale indicator has been processed.
3138 * troff/input.c (do_overstrike, do_bracket): No need to process \s,
3140 (token::next): Handle \s, \f, \S, \H immediately rather than
3141 returning them as tokens.
3142 (token::operator==, token::description, token::add_to_node_list,
3143 token::process): Remove handling of deleted tokens.
3145 * troff/env.c (environment::add_char): When adding padding
3146 indicator character, call start_line() if necessary.
3148 Wed Jun 3 09:55:50 1992 James Clark (jjc@jclark)
3150 * ps/devps/afmtodit: Don't output 0 kerns.
3152 * ps/devps/afmtodit: Remove directory from name of encoding in
3153 font description file.
3155 * ps/devps/afmtodit: Improve error messages.
3157 * ps/devps/afmtodit: Allow DESC file to be specified with -d.
3159 * ps/devps/Makefile: Incorporate FontMakefile. Rework.
3160 * ps/devps/FontMakefile: Deleted.
3161 * ps/devps/afmname: New file.
3163 * ps/devps/symbol.sed: New file.
3164 * ps/devps/symbol.diff: Deleted.
3165 * ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
3166 Generate zapfdr.afm from zapfd.afm.
3168 * tty/tmac.tty (tty-char): Prefix definition with ".
3170 * macros/tmac.an (TP): Don't start a diversion if one has already
3173 * tty/tmac.tty-char: Add Latin-1 characters.
3175 * tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.
3177 Tue Jun 2 00:54:34 1992 James Clark (jjc@jclark)
3179 * tbl/table.c (table::allocate): Delete old_vline, old_entry.
3180 Move declaration of struct horizontal_span.
3182 * tbl/table.c (table::table): Initialize span_list.
3183 (table::~table): Delete span_list.
3185 * lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.
3187 * ps/devps/Makefile: Avoid dependency on GNU make.
3189 * ps/tmac.ps: Check that character does not already exist before
3192 * tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
3193 \(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
3194 \(ru, \(ul, \(br, \(bv, \(sl which are in the font description
3197 * tty/tmac.tty-char: New file.
3198 * tty/Makefile: Install tmac.tty-char.
3199 * tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
3202 * tty/tmac.tty: Fix definition of \(34.
3204 * tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
3205 bracket-drawing characters onto |. Add *o.
3207 * troff/env.c (environment::wrap_up_tab): Increment field_spaces
3208 only if current_field.
3210 * troff/dictionary.c (dictionary::lookup): Free old_table after
3213 Mon Jun 1 10:15:22 1992 James Clark (jjc@jclark)
3215 * tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
3216 whose glyphs are identical to glyphs of some Roman character.
3218 * tty/devlatin1/R.proto (bu): Deleted.
3219 * tty/devascii/R.proto (bu): Deleted.
3220 * tty/tmac.tty: Add definition of \(bu.
3222 * eqn/main.c (do_file): Pass FILE as argument.
3223 (main): Automatically load eqnchar. New options -F and -n.
3224 Pass do_file an opened FILE.
3225 * groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
3226 No need to include font.h.
3227 * groff.sh: Likewise. Don't need to use - for standard input.
3228 Prefix files with -- if first file starts with -.
3230 * macros/tmac.e: Conditionalize use of \$* on \n(.g.
3232 * troff/env.c (environment::possibly_break_line): Don't set line
3233 to 0 across call to output_line(). Don't call output_line() until
3234 after discarding nodes after break.
3236 Sun May 31 10:45:29 1992 James Clark (jjc@jclark)
3238 * request.h (macro::empty): Declare it.
3239 * input.c (macro::empty): New method.
3240 (interpolate_macro): Don't give a WARN_SPACE if the two-character
3243 Sat May 30 10:27:15 1992 James Clark (jjc@jclark)
3245 * troff/env.c (environment::start_field): Decrement space_total
3246 when a space is frozen.
3248 Fri May 22 14:34:38 1992 James Clark (jjc@jclark)
3250 * macros/tmac.an (R): Delete macro.
3252 * troff/input.c (get_copy, token::next): Support \# (like \" but
3253 newline is ignored).
3255 * troff/input.c (token::next): Fix error message in 'Y' case.
3257 Thu May 21 09:26:24 1992 James Clark (jjc@jclark)
3259 * eqn/delim.c (define_extensible_string): Recognize any prefix of
3262 Fri May 15 10:20:41 1992 James Clark (jjc at jclark)
3264 * c++test.c: Include <osfcn.h>.
3266 * lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
3269 Fri May 8 09:37:19 1992 James Clark (jjc at jclark)
3271 * tbl/table.c (table::divide_span): Don't count column separation
3272 if expand was specified.
3274 * tbl/main.c (process_format): Don't ignore width specs in
3275 continued format. Give warning for changing equal widths or
3276 column separation in continued format.
3277 (process_data): Set column separation, minimum width, equal
3278 columns at end of table.
3280 Thu May 7 08:50:40 1992 James Clark (jjc at jclark)
3282 * troff/node.c (kern_pair_node::add_discretionary_hyphen,
3283 node::add_discretionary_hyphen): Use soft_hyphen_char.
3284 (set_soft_hyphen_char): New function.
3285 (init_node_requests): Bind to shc. Initialize soft_hyphen_char.
3287 * Makefile (c++tested): Give more helpful message if test fails.
3289 Tue May 5 10:58:39 1992 James Clark (jjc at jclark)
3291 * troff/input.c (init_charset_table): Translate 0240 to
3292 an unbreakable space.
3294 * troff/token.h (token::hyphen_indicator): New function.
3295 * troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
3297 * troff/input.c (translate): Allow translation to \%.
3298 * troff/node.c (node::add_char): Handle
3299 TRANSLATE_HYPHEN_INDICATOR.
3300 (make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.
3302 * troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
3305 * tty/devlatin1/R.proto: \(hy and - should print as 055.
3307 Tue Apr 21 09:24:42 1992 James Clark (jjc at jclark)
3309 * groff.c (run_commands): If the last command gets a SIGPIPE send
3310 a SIGPIPE to all children than haven't yet terminated. When
3311 command terminates, set pid field to -1.
3313 Fri Apr 17 11:20:48 1992 James Clark (jjc at jclark)
3315 * groff.c (main): Pass an appropriate -filename option to gxditview.
3317 Thu Apr 16 15:11:40 1992 James Clark (jjc at jclark)
3319 * Makefile.bd (install): Remove existing program before copying.
3321 * Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
3322 programs which have Unix counterparts to be installed with
3323 user-specified prefix.
3325 * troff/input.c (exit_troff): Don't check if exit_started.
3326 (exit_request): Don't call exit_troff if exit_started.
3328 * Makefile.bd (install.mm): Rename to install.dwbmm.
3330 Tue Apr 14 10:05:10 1992 James Clark (jjc at jclark)
3332 * driver/input.c (do_file): Add missing break for '#' case.
3334 Mon Apr 13 10:11:02 1992 James Clark (jjc at jclark)
3336 * troff/input.c (input_stack::clear): Clear past any boundaries and
3337 then add the boundaries back.
3339 * troff/input.c (exit_troff): Return immediately if already
3342 * macros/tmac.s (pg@end-text): New macro. Use pg@end-text for the
3344 (pg*end-page): If the text has ended and there are no more
3345 footnotes or keeps, exit.
3347 * macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.
3349 * troff/input.c (init_charset_table): Make \(rq transparent by
3352 * macros/tmac.an: Define lq and rq strings.
3354 * macros/tmac.s (Q, U): Define as \(lq and \(rq.
3356 Sun Apr 12 12:54:37 1992 James Clark (jjc at jclark)
3358 * troff/env.c (environment::final_break): New function.
3359 (environment::newline): Set prev_line_interrupted to 2 if
3361 * troff/env.h: Declare environment::final_break.
3362 * troff/input.c (exit_troff): Call environment::final_break()
3363 instead of environment::do_break().
3365 * macros/Makefile: Install man.local if $(MACRODIR)/man.local
3366 doesn't already exist.
3367 * macros/man.local: New file.
3368 * macros/tmac.an: Load man.local.
3369 * macros/man.ultrix: New file.
3371 Sat Apr 11 17:32:04 1992 James Clark (jjc at jclark)
3373 * troff/input.c (exit_groff): Rename to...
3374 (exit_troff): New function.
3376 * troff/div.c (exit_started, done_end_macro,
3377 seen_last_page_ejector): New global variables.
3378 (began_page_in_end_macro): New static variable.
3379 (exit_flag): Deleted.
3380 (top_level_diversion::top_level_diversion): Initialize
3382 (top_level_diversion): More elaborate test for whether
3383 cleanup_and_exit() should be called.
3384 Set began_page_in_end_macro if the end macro isn't yet finished.
3385 * troff/div.h (top_level_diversion::last_page_count): New data
3387 (top_level_diversion::set_last_page): New function.
3388 (exit_started, done_end_macro, seen_last_page_ejector): Declare.
3389 * troff/env.c (do_break): Zero prev_line_interrupted.
3390 * troff/input.c (exit_flag): Delete declaration.
3391 (LAST_PAGE_EJECTOR): New magic cookie.
3392 (token::next): Handle LAST_PAGE_EJECTOR.
3393 (exit_groff): Set exit_started and done_end_macro instead of
3394 exit_flag. Call top_level_diversion::set_last_page. Push a
3395 LAST_PAGE_EJECTOR instead of calling push_page_ejector(). Do
3396 another ejection after setting seen_last_page_ejector.
3398 Thu Apr 9 04:37:11 1992 James Clark (jjc at jclark)
3400 * etc/grog.sh, etc/grog.sh: Recognize -me sh macro.
3402 * macros/tmac.e (TH): Make sure there's room for the initial
3405 * macros/tmac.s (par@init): Make PD and DD at least \n(.V.
3406 Set FVS in points rather than units.
3408 Mon Apr 6 11:21:32 1992 James Clark (jjc at jclark)
3410 * troff/div.c (top_level_diversion::add_trap): Don't consider the
3411 position of empty slots.
3413 Fri Apr 3 10:46:45 1992 James Clark (jjc at jclark)
3415 * ps/devps/S: Fix height and depth of parenrightex.
3416 * ps/devps/symbol.diff: Regenerate.
3418 Sat Mar 28 21:17:52 1992 James Clark (jjc at jclark)
3420 * tmac.e (u): Do underlining as in -mgs.
3422 Fri Mar 27 09:23:44 1992 James Clark (jjc at jclark)
3424 * tty/tty.c (tty_printer::end_page): If overstriking is
3425 suppressed, still turn overstruck horizontal and vertical lines
3428 * lib/new.c: Back out Feb 24 change; no longer needed with gcc
3431 * refer/label.y (format_expr::evaluate): Avoid use of %0*d.
3433 Wed Mar 18 09:29:10 1992 James Clark (jjc at jclark)
3435 * Version 1.05 released.
3437 Tue Mar 17 16:50:45 1992 James Clark (jjc at jclark)
3439 * tty/tty.c: Instead of keeping an array of glyphs and then
3440 sorting it, keep a ordered linked list of glyphs for each line.
3442 * driver/driver.h: Include stddef.h.
3444 * tty/tty.c (compare_glyph):
3445 * refer/refer.c (rcompare):
3446 * troff/env.c (compare_ranges): Arguments of qsort comparison
3447 function should be const void *.
3449 * troff/number.c (parse_term):
3450 * dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
3453 * refer/label.y (consider_authors): Don't access variables
3454 constructed under a condition outside that condition: put braces
3455 round for statement containing declaration; redeclare use of same
3458 * pic/pic.y (text_expr): Delete production that allows
3459 parenthesised text_expr.
3460 (expr): Allow a conditional_expr to appear in parentheses.
3461 (conditional_expr): Rename to any_expr.
3463 * mm: Install new version 1.01 from jh.
3465 * lib/font.c (font::get_width): Cache scaled widths.
3466 (font::font): Initialize widths_cache.
3467 (font::~font): Destroy widths_cache.
3468 * lib/font.h: Add font::widths_cache. Declare font_widths_cache.
3470 Mon Mar 16 10:16:10 1992 James Clark (jjc at jclark)
3472 * c++test.c, c++test.ref: New files.
3473 * Makefile: Check that the C++ compiler works.
3475 * ps/tmac.pspic (PSPIC): Do a break.
3477 * ps/tmac.ps: Move definition of PSPIC into...
3478 * ps/tmac.pspic: New file.
3479 (PSPIC): Draw box around picture, but make it invisible to grops.
3480 * ps/tmac.ps: Load tmac.pspic.
3481 * ps/Makefile: Install tmac.pspic.
3483 Sun Mar 15 14:18:08 1992 James Clark (jjc at jclark)
3485 * lib/font.c (scale_round): If n is negative,
3486 subtract .5 before truncating floating point result.
3488 * lib/fontfile.c: Include <errno.h>.
3490 Tue Mar 10 14:17:03 1992 James Clark (jjc at jclark)
3492 * driver/input.c (get_char): Inline. Don't update current_lineno.
3493 Change callers to up date current_lineno if necessary.
3494 Use get_char() instead of getc(current_file).
3496 Sun Mar 8 18:05:28 1992 James Clark (jjc at jclark)
3498 * ps/tmac.ps: Fix up spacing of \(mo and \(nm.
3500 Fri Mar 6 19:38:58 1992 James Clark (jjc at jclark)
3502 * tty/tty.c (tmac.tty): Define \(rg as (R).
3504 Tue Mar 3 10:11:25 1992 James Clark (jjc at jclark)
3506 * lib/lib.h: New define a_delete.
3507 * Use a_delete instead of delete when deleting an array of objects
3508 without destructors.
3510 * lib/lib.h: Rename adelete to ad_delete.
3511 * Change uses of adelete.
3513 Mon Mar 2 12:41:05 1992 James Clark (jjc at jclark)
3515 * eqn/eqn.y: Include lib.h.
3517 * troff/node.c (grow_font_table): Delete old_font_table.
3519 * mm: Install new version from jh.
3521 Fri Feb 28 10:42:23 1992 James Clark (jjc at jclark)
3523 * tbl/table.h (format_type): Make global instead of local to class
3524 entry_format. Prefix enumerators with FORMAT_.
3525 * tbl/table.c, tbl/main.c: Corresponding changes.
3526 * refer/token.h (token_type): Make global. Prefix enumerators
3528 * refer/token.[ch]: Corresponding changes.
3529 * Makefile: Get rid of -DNO_NESTED_TYPES configuration option.
3531 * troff/div.c (node::set_vertical_size): Don't name argument.
3533 Thu Feb 27 10:29:19 1992 James Clark (jjc at jclark)
3535 * Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
3536 * lib/lib.h: Define adelete accordingly.
3537 * pic/object.c (graphic_object::graphic_object):
3538 * tbl/main.c (format::~format):
3539 * tbl/table.c (table::~table):
3540 * refer/ref.c (reference::~reference, reference::merge,
3541 reference::insert_field, reference::delete_field): Use adelete.
3543 * Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
3545 * tbl/table.h: Corresponding changes.
3547 * common.c (common_output::dashed_arc, common_output::dotted_arc):
3548 Ensure total_angle is positive.
3550 Wed Feb 26 08:49:26 1992 James Clark (jjc at jclark)
3552 * refer/ref.c (reference::merge, reference::insert_field,
3553 reference::delete_field): Avoid delete[0].
3555 * refer/token.c (init_special_chars): Move calls to cmupper
3556 outside calls to init_two_char_letter to work around bug in gcc
3559 Mon Feb 24 14:20:00 1992 James Clark (jjc at jclark)
3561 * lib/new.c (operator new): Use __builtin_new for g++.
3563 * pic/object.c (graphic_object::~graphic_object): Don't use
3566 * pic/object.c (output::compute_scale): Initialize max_width and
3569 Sat Feb 15 09:55:20 1992 James Clark (jjc at jclark)
3571 * troff/input.c (write_request): Call fflush.
3573 * troff/node.h (class composite_node): Move declaration to node.c
3574 * troff/input.c (charinfo_to_node): Rename to ...
3575 (charinfo_to_node_list): Return node list rather than composite
3577 * troff/node.c (make_composite_node): New function.
3578 (make_node, add_char): Call make_composite_node instead of
3580 (class composite_node): Add a tfont * member. Delete font_size
3582 (composite_node::composite_node, composite_node::copy,
3583 composite_node::size): Corresponding changes.
3584 (composite_node::tprint): Provide constant spacing, emboldening
3585 and track kerning as specified in tfont.
3586 (composite_node::width): Change width calculation accordingly.
3587 * troff/env.h (environment::composite): New member.
3588 (environment::is_composite, environment::set_composite): New
3590 * troff/env.c (environment::environment): Initialize composite.
3591 * troff/input.c (charinfo_to_node): Call
3592 environment::set_composite.
3593 * troff/node.c (make_composite_node, make_glyph_node): Use the
3594 plain version of the tfont if the environment is composite.
3596 * troff/node.c (font_info::get_space_width): Additional argument
3597 giving space_size. Handle constant space correctly. Scale by
3598 space_size unless constant spaced.
3599 (env_sentence_space_width): New function.
3600 * troff/node.h: Declare it.
3601 * troff/env.h (environment::get_space_size,
3602 environment::get_sentence_space_size,
3603 environment::get_narrow_space_width,
3604 environment::get_half_narrow_space_width): Make inline.
3605 (environment::get_space_width): Make inline. Just call
3607 * troff/env.c: Delete definitions for funtions made inline.
3608 (environment::space_newline, environment::space): Use
3609 env_sentence_space_width(). Don't scale by space_size.
3610 * troff/node.h: Move declarations of env*space_width() functions
3613 Sat Feb 8 09:30:22 1992 James Clark (jjc at jclark)
3615 * macros/tmac.s (PS): Don't try to set negative indent.
3617 Thu Feb 6 09:00:35 1992 James Clark (jjc at jclark)
3619 * pic/pic.y: Fix min function.
3621 Tue Jan 28 07:52:29 1992 James Clark (jjc at jclark)
3623 * man/mdate.sh: Clear LANGUAGE.
3625 Sun Jan 19 13:02:41 1992 James Clark (jjc at jclark)
3627 * pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
3628 * pic/lex.c: New COMMAND keyword.
3629 * pic/pic.y (print_args, print_arg): New rules.
3630 (placeless_element): Use print_args for PRINT.
3631 New COMMAND element.
3633 Tue Jan 7 13:14:31 1992 James Clark (jjc at jclark)
3635 * troff/input.c (terminal): Handle missing argument correctly.
3637 * pic/pic.y (text_expr): New rule.
3639 * pic/pic.y: Implement := operator.
3641 Sun Jan 5 10:23:02 1992 James Clark (jjc at jclark)
3643 * etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
3646 Sat Jan 4 14:42:26 1992 James Clark (jjc at jclark)
3648 * ps/devps/dingbatsrmap: Include this in the distribution.
3650 * macros/tmac.doc: Replace with new version from 2nd Networking
3651 Release. Fix loading of doc-* files.
3652 * macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
3653 * macros/tmac.doc.old: New file. Apply fixes that had been
3654 applied to old tmac.doc.
3655 * macros/tmac.andoc: Check that we're running under groff.
3656 * macros/Makefile: Rework.
3658 Fri Jan 3 13:27:51 1992 James Clark (jjc at jclark)
3660 * tbl/table.h (format_type):
3661 * refer/token.h (token_type): If NESTED_TYPES is defined, use
3662 typedef to make these types visible at file scope.
3663 * Makefile: Add NESTED_TYPES configuration option.
3665 * troff/div.c (mark): At the top level use the value of
3666 nl_reg_contents rather than the current vertical position.
3668 Thu Jan 2 10:34:51 1992 James Clark (jjc at jclark)
3670 * tty/tty.c: Implement \D for horizontal or vertical lines.
3671 (tty_printer::set_char): Use vec_used+2 as serial number.
3672 Don't allow size of vector to exceed USHRT_MAX-2.
3673 Split off part into...
3674 (tty_printer::add_char): New function.
3675 (tty_printer::draw): New function.
3676 (compare_glyph): Handle equal serial numbers.
3677 (tty_printer::end_page): Handle overstruck characters from \D.
3678 (main, usage): Implement -d option.
3680 Mon Dec 23 10:37:51 1991 James Clark (jjc at jclark)
3682 * tbl/main.c (process_format):
3683 * eqn/text.c (split_text):
3684 * troff/input.c (token::next): Use inner block for declarations
3685 with initializers in switch statement.
3687 Mon Dec 16 20:52:03 1991 James Clark (jjc at jclark)
3689 * pic/common.c (common_output::dash_line): Cope with zero-length
3692 Sun Nov 17 12:04:08 1991 James Clark (jjc at jclark)
3694 * Version 1.04 released.
3696 Wed Nov 13 05:27:21 1991 James Clark (jjc at jclark)
3698 * macros/tmac.an (TH): Define a macro an-init to define variables
3699 based on command line arguments.
3700 (an-header): Call it.
3702 Sun Nov 3 12:07:34 1991 James Clark (jjc at jclark)
3704 * Makefile (install.mm): Rename to install.dwbmm.
3706 * Makefile: Integrate mm.
3707 * mm: New directory.
3709 Wed Oct 30 10:11:34 1991 James Clark (jjc at jclark)
3711 * refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
3714 * pic/troff.c (troff_output::simple_spline,
3715 troff_output::simple_polygon): Rename variable `v' to `d' to avoid
3716 shadowing parameter.
3718 * lib/tmpfile.c (xtmpfile): Declare dir as const char *.
3720 * lib/ptable.h: Add explicit casts when converting from unsigned
3723 * dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
3724 * dvi/devdvi/Makefile: Install SA, SB.
3726 * refer/indxbib.c: Add declaration of mktemp.
3728 * refer/lookbib.c: Add declaration of isatty.
3730 Fri Oct 25 09:00:17 1991 James Clark (jjc at jclark)
3732 * pic/lex.c (interpolate_macro_with_args): While collecting
3733 arguments, keep track of whether we're in a string.
3735 Wed Oct 23 08:42:48 1991 James Clark (jjc at jclark)
3737 * ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
3738 down with \v, so as to avoid problems with top of page trap
3739 setting no space mode.
3741 Tue Oct 22 17:38:49 1991 James Clark (jjc at jclark)
3743 * eqn/lex.c (get_delimited_text): Allow tab before macro body.
3745 Tue Oct 15 17:24:53 1991 James Clark (jjc at jclark)
3747 * ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
3748 Improve error message.
3750 Fri Oct 11 11:09:38 1991 James Clark (jjc at jclark)
3752 * ps/psrm.c (print_ps_string): Don't pass negative numbers to
3755 Wed Oct 9 17:50:14 1991 James Clark (jjc at jclark)
3757 * groff.c (possible_command::execp): Always use _exit() after a
3760 * Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
3761 NO_SYS_WAIT_H configuration options.
3762 * groff.c: Use these options. Use POSIX-style macros to extract
3763 fields from the status returned by wait().
3765 Fri Oct 4 12:12:27 1991 James Clark (jjc at jclark)
3767 * tbl/table.c (table::compute_separation_factor): Allow the
3768 separation factor to drop to 0.
3770 Tue Oct 1 18:12:38 1991 James Clark (jjc at jclark)
3772 * refer/search.c: Include <errno.h>.
3774 Sun Sep 29 08:40:57 1991 James Clark (jjc at jclark)
3776 * pic/pic.y (YYDEBUG): Don't define for Borland C++.
3778 * lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
3781 * pic/lex.c (input_stack::bol): Move definition out of class body.
3783 * pic/main.c: On MSDOS munge argv[0].
3785 * lib/ptable.h: Define name2 as _Paste2 for Borland C++.
3787 * lib/ptable.c (hash_string): Use unsigned long rather than
3789 (next_ptable_size): Use unsigned rather than int. Give an error
3790 message if we've hit the largest table size.
3791 * lib/ptable.c: Corresponding changes. Also use unsigneds for the
3794 * pic/object.h (object_spec): Make flags unsigned long. Declare
3795 flags as const unisgned long rather than as enums.
3797 * pic/output.c: Deleted.
3799 * pic/troff.c (troff_output::simple_ellipse): Remove spurious %.
3801 * tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
3802 Add additional argument.
3803 (line_entry::note_double_vrule_on_{left,right}): Set value of
3804 douvle_vrule_on_{right,left} flag according to argument.
3805 (simple_line_entry::simple_print,
3806 simple_line_entry::double_line_print): If adjacent to double vrule
3807 on a corner extend rather than shorten the rule by half the double
3810 * troff/number.c (parse_term): In checking for overflow, handle the
3811 case where the current horizontal position is negative.
3813 Thu Sep 12 08:26:09 1991 James Clark (jjc at jclark)
3815 * pic/object.c (draw_arrow): Check for object having zero length.
3817 Wed Sep 11 10:32:38 1991 James Clark (jjc at jclark)
3819 * eqn/main.c (do_file): Split off inline equation handling into...
3820 (inline_equation): New function. Search for starting delimiter
3822 (delim_search): New function. Don't recognize a delimiter that
3823 occurs in the name of an escape sequence, number register, string
3826 Tue Sep 10 04:01:11 1991 James Clark (jjc at jclark)
3828 * eqn/delim.c (delim_box::compute_metrics): Don't call
3829 define_extensible_string if left is 0.
3830 (delim_box::output): Don't print the left delimiter if left is 0.
3831 (delim_box::debug_print): Check for left == 0 before calling printf.
3833 Fri Aug 23 13:02:30 1991 James Clark (jjc at jclark)
3835 * troff/Makefile (majorminor.c): Include only digits in
3838 Thu Aug 22 09:35:37 1991 James Clark (jjc at jclark)
3840 * refer/dirnamemax.c: new file.
3841 * refer/genlimits.c: Deleted.
3842 * refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
3843 Don't check path length.
3844 * refer/Makefile: Add dir_name_max.o; delete genlimits.
3845 * Makefile: Add PATHCONF_MISSING option.
3847 * refer/indxbib.c (get_cwd): New function.
3848 (main): Use get_cwd().
3849 * lib/getcwd.c: New file.
3850 * Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
3852 * lib/Makefile: Compile getcwd.o.
3854 * ps/tmac.psatk (psatk-defs): Define showpage after pushing
3857 * refer/indxbib.c (main): Check success of mktemp.
3859 * lib/tmpfile.c: New file.
3860 * lib/Makefile: Add tmpfile.c.
3861 * lib/lib.h: Declare xtmpfile(); include <stdio.h>.
3862 * ps/ps.h: Delete declaration of mktemp().
3863 * ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
3864 * refer/refer.c (divert_to_temporary_file): Use xtmpfile().
3865 * driver/driver.h: No need now to include errno.h.
3867 * everywhere: Set errno to 0 before calling fopen().
3869 * eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
3870 dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
3871 refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.
3873 Mon Aug 19 10:52:18 1991 James Clark (jjc at jclark)
3875 * troff/env.h (translate_space_to_dummy): Declare it.
3876 * troff/env.c (environment::space_newline, environment::space):
3877 If translate_space_to_dummy is set then make the width of spaces 0.
3878 * troff/input.c (translate): If the second character of a
3879 translation is a space, translate to unbreakable space. If the
3880 first character is a space, set or clear translate_space_to_dummy
3881 according to whether the second character is \&. Weird!
3883 Tue Jul 30 10:03:56 1991 James Clark (jjc at jclark)
3885 * groff.c (run_commands): Don't use non-zero exit code because a
3886 command gets SIGPIPE.
3888 * groff.c, groff.sh: Use -mXps with -TXps.
3890 * ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
3891 (ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
3892 ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
3893 (ps_printer::special): New specials invis and endinvis.
3894 (ps_printer::do_invis, ps_printer::do_endinvis): New functions.
3895 (ps_printer::set_char, ps_printer::draw): Return if invis_count>0.
3896 (ps_printer::end_page): Check that invis_count == 0.
3897 (ps_printer::invis_count): New member.
3898 (ps_printer::ps_printer): Initialize invis_count to 0.
3900 * troff/env.c (environment::hyphenate_line): Hyphenation
3901 indicator at beginning of word inhibits splitting after -, \(em
3904 * pic/pic.y (element): Allow another element to follow } without
3905 any intervening separator.
3907 Mon Jul 22 12:27:37 1991 James Clark (jjc at jclark)
3909 * pic/lex.c (get_delimited): Allow tabs before delimiter.
3911 Wed Jul 17 10:59:08 1991 James Clark (jjc at jclark)
3913 * groff.c: Get rid of HAVE_UNION_WAIT stuff. Instead suppress
3914 declaration of wait() in header files.
3915 * Makefile: Get rid of -DHAVE_UNION_WAIT.
3917 * tbl/table.c (alphabetic_text_entry::add_tab): New function.
3919 * lib/lib.h: Declare return type of strerror as char *.
3921 * man/Makefile: Add g flag to sed substitutions.
3922 * Makefile (shgroff, bindist): Likewise.
3924 Sun Jul 14 11:57:02 1991 James Clark (jjc at jclark)
3926 * ps/ps.c (ps_printer::do_import): Move push of userdict into...
3927 * ps/devps/prologue (PBEGIN): Define showpage after pushing
3930 Sat Jul 13 20:53:04 1991 James Clark (jjc at jclark)
3932 * ps/devps/prologue (PBEGIN): Zap any definition of showpage in
3935 Fri Jul 12 07:10:09 1991 James Clark (jjc at jclark)
3937 * man/mdate.sh: Handle the fact that BSD ls -l does not print the
3940 Sun Jul 7 08:00:23 1991 James Clark (jjc at jclark)
3942 * troff/input.c (define_number_reg): If currently undefined,
3943 don't define it if the argument is an invalid expression.
3945 * Makefile: Ignore return value of `if' commands without `else'
3948 * Makefile: Split up CPPDEFINES into a series of separate
3949 configuration options.
3951 * troff/input.c (init_registers): Use time_t instead of long
3952 unless LONG_FOR_TIME_T is defined. Use returned result rather
3953 than passing pointer.
3954 * Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.
3956 * lib/Makefile (fontpath.h): Use gendef.
3958 Thu Jul 4 09:48:05 1991 James Clark (jjc at jclark)
3960 * troff/input.c (input_iterator::shift): Delete argument name.
3961 * troff/node.c (suppress_output_file::really_begin_page,
3962 suppress_output_file::really_transparent_char, node::ascii_print,
3963 node::tprint): Delete names of unused arguments.
3965 Wed Jul 3 17:34:57 1991 James Clark (jjc at jclark)
3967 * refer/label.y (string): Pass $4 to command_error.
3969 Tue Jul 2 15:06:01 1991 James Clark (jjc at jclark)
3971 * Version 1.03 released.
3973 Sat Jun 29 08:14:01 1991 James Clark (jjc at jclark)
3975 * Makefile: Pass definition of SHELL in SUBFLAGS.
3978 * Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
3979 ps/Makefile: Use gendef to construct header files that are
3980 constructed from the Makefile.
3982 * macros/Makefile: make all should build stripped version of tmac.e.
3984 * refer/Makefile (clean): Remove y.output.
3986 Fri Jun 28 09:44:36 1991 James Clark (jjc at jclark)
3988 * ps/pfbtops.c (main): Add -v option which prints out a version
3990 * ps/Makefile (pfbtops): Link with libgroff.a.
3992 Fri Jun 21 07:43:23 1991 James Clark (jjc at jclark)
3994 * refer/search.h (linear_searcher::get_nkeys): Delete declaration.
3995 * refer/linear.c (linear_searcher::get_nkeys): Delete definition.
3997 * refer/lkbib.c (main): Always terminate reference with blank
3999 * refer/lookbib.c (main): Likewise.
4001 * refer/linear.c (file_buffer::load): Check that the file is not a
4004 * refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
4005 (genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
4006 Delete second inclusion of <sys/param.h>.
4008 Tue Jun 18 01:32:26 1991 James Clark (jjc at jclark)
4010 * troff/token.h (token::special): Deleted.
4012 * tbl/main.c (process_format): Rework so that opt->tab_char is
4013 recognized only when appropriate.
4015 * ps/Makefile (clean): Remove pfbtops.
4017 Sun Jun 16 09:37:19 1991 James Clark (jjc at jclark)
4019 * lib/font.c (text_file::next): Don't return if we have got a
4022 Fri Jun 14 09:52:26 1991 James Clark (jjc at jclark)
4024 * refer/refer.c (store_reference): Get hash code from old_table[i]
4025 when rehashing the table.
4027 Thu Jun 13 01:26:43 1991 James Clark (jjc at jclark)
4029 * eqn/box.c (box::top_level): Save size and prev size using \R and
4030 restore it afterwards. Set the size to the size at the beginning
4032 * eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
4033 SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.
4035 * refer/Makefile (limits.h): Use ./genlimits.
4037 Wed Jun 12 16:05:34 1991 James Clark (jjc at jclark)
4039 * refer/index.c: Delete declarations of stat() and fstat().
4041 Tue Jun 11 14:52:49 1991 James Clark (jjc at jclark)
4043 * tty/tmac.tty: Add character definitions for \(>= and \(<=.
4045 Mon Jun 10 22:49:48 1991 James Clark (jjc at jclark)
4047 * etc/grog.sh, etc/grog.pl: Change regex for .PS.
4049 Fri Jun 7 09:13:06 1991 James Clark (jjc at jclark)
4051 * troff/input.c (token::get_char): Handle \e.
4053 * refer/linear.c: Delete declarations of fstat() and stat().
4055 Wed Jun 5 09:11:59 1991 James Clark (jjc at jclark)
4057 * troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
4058 OP_DELETE_BROKEN stuff, since we now have a fix for g++.
4060 Mon Jun 3 13:41:32 1991 James Clark (jjc at jclark)
4062 * troff/input.c (do_define_macro): Improve error handling for end
4063 of file while defining macro.
4065 Sun Jun 2 10:20:24 1991 James Clark (jjc at jclark)
4067 * eqn/box.h: Fix declaration of set_gsize.
4068 * eqn/box.c (set_gsize): Make argument const char *.
4069 (gsize): Declare as char *.
4070 * eqn/main.c (main): Don't convert gsize to int.
4071 * eqn/lex.c (do_gsize): Pass char * to set_gsize.
4073 * Version 1.02 released.
4075 Sat Jun 1 12:19:46 1991 James Clark (jjc at jclark)
4077 * macros/tmac.andoc: New file.
4078 * macros/Makefile: Install tmac.andoc.
4080 * troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
4081 operator new and delete on OP_DELETE_BROKEN not being defined.
4082 * Makefile: Mention OP_DELETE_BROKEN.
4084 Mon May 27 13:49:07 1991 James Clark (jjc at jclark)
4086 * Makefile (bindist): Pass SUBFLAGS.
4088 Sun May 26 14:13:22 1991 James Clark (jjc at jclark)
4090 * Makefile, groff.c: Pass definitions to groff.c via device.h.
4092 * tty/tty.c (tty_font::load_tty_font): Avoid shadowing
4095 * ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.
4097 * ps/ps.h, ps/psrm.c: Make comment_table and
4098 header_comment_table local to resource_manager::process_file.
4100 * groff.sh: With -TXps pass -printCommand option to gxditview.
4102 * groff.c (possible_command::print): Implement using
4103 append_arg_to_string.
4105 * xditview: Merge in new implementation with own ChangeLog.
4107 Sat May 25 18:33:20 1991 James Clark (jjc at jclark)
4109 * groff.c (main): Implement PRINT_OPTION.
4110 (append_arg_to_string): New command.
4111 (device_table): Set PRINT_OPTION flag for Xps.
4113 Fri May 24 09:48:58 1991 James Clark (jjc at jclark)
4115 * troff/groff.h: Rename to troff.h.
4117 * pic/lex.c (lookup_keyword, docmp): New functions.
4118 (get_token): Use new lookup_keyword.
4119 Don't include key.h.
4120 * pic/key.[ch], pic/pic.gperf: Deleted.
4121 * pic/Makefile: Remove gperf stuff.
4123 * pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
4125 * pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.
4127 * troff/Makefile, troff/node.c: Move definition of
4128 STORE_WIDTH into node.c.
4130 * etc/grog.pl, etc/grog.sh: Support -mdoc.
4132 Thu May 23 12:30:49 1991 James Clark (jjc at jclark)
4134 * dvi/devdvi/texr.map, dvi.devdvi/texi.map,
4135 dvi/devdvi/texb.map: Add lq and rq.
4136 dvi/devdvi: Regenerate fonts.
4137 * ps/devps/textmap: Add lq and rq.
4138 * ps/devps: Regenerate fonts.
4139 * tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
4140 * macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
4142 * pic/object.c (position_rectangle): When checking radius
4143 cope with possiblity that width or height is negative.
4144 (box_object::box_object): Have separate xrad and yrad with
4145 signs matching signs of dim components.
4146 (box_object::{north,south}_{east,west}): Use xrad and yrad.
4147 (box_object::print): With rounded boxes use absolute values
4148 for dim and rad arguments.
4150 * lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
4153 * eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.
4155 * various files: Add explicit destructors to keep Saber CC +d
4158 Wed May 22 11:37:11 1991 James Clark (jjc at jclark)
4160 * eqn/box.c (box::top_level): Restore fonts correctly after
4161 font changes in line containing inline equation. Also
4162 restore previous font as well as current font.
4163 * eqn/pbox.h: Define necessary string and register names.
4165 * troff/input.c (token::next): Case 'R' calls do_register.
4166 (do_register): New function.
4168 Tue May 21 11:28:23 1991 James Clark (jjc at jclark)
4170 * groff.c, groff.sh: Support Xps device. Allow each device
4171 to have a pseudo_name and a real_name.
4173 * groff.c (run_commands): Don't print `Broken pipe' messages.
4175 * ps/pfbtops.c: New file.
4176 * ps/Makefile: Add pfbtops.
4178 * troff/number.c (parse_term): Improved error message.
4180 Mon May 20 11:22:14 1991 James Clark (jjc at jclark)
4182 * groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.
4184 * Makefile: Integrate refer.
4185 * refer: New directory.
4186 * man/grefer.man, man/glookbib.man, man/gindxbib.man,
4187 man/lkbib.man: New files.
4188 * man/Makefile: Support refer man pages.
4190 * lib/lib.h: Declare is_prime.
4191 * lib/prime.c: New file.
4193 * troff/input.c (macro_source): New function.
4194 (init_input_requests): Bind "mso" to macro_source.
4196 * troff/env.c (environment::possibly_break_line): Maintain
4197 pointer to pointer to node to be split in ndp so as to avoid
4198 using address of freed node.
4200 * troff/env.c (environment::hyphenate_line): Maintain pointer to
4201 pointer to first node to be hyphenated in startp so as to
4202 avoid using address of freed node.
4204 * troff/env.c (class trie, class hyphen_trie): Make the
4205 elements of the trie be of type char not unsigned char.
4206 Declare arguments to be const char* instead of unsigned char *.
4208 * troff/env.c (hyphenate): Initialize hbuf[0].
4210 * troff/input.c (set_string): Declare p to be char * and cast
4211 *p to unsigned char when necessary.
4213 * troff/input.c (do_define_macro): Declare s to be const
4214 char*. Cast element to unisgned char when necessary, Declare
4215 d to be an int. Handle EOF better.
4217 * troff/Makefile, troff/input.c: Different scheme for passing
4218 definitions of MACROPATH, HYPHENFILE and DEVICE.
4220 Tue May 14 13:41:36 1991 James Clark (jjc at jclark)
4222 * tty/devascii/R.proto: Delete entry for em.
4223 * tty/devlatin1/R.proto: Likewise.
4225 Sat May 11 11:13:28 1991 James Clark (jjc at jclark)
4227 * troff/input.c (translate): Stop when we get a space. Treat eof
4230 * macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.
4232 Wed Apr 24 19:24:33 1991 James Clark (jjc at jclark)
4234 * tbl/main.c (process_format): A font name following a `f'
4235 modifier that starts with a digit can be only one character long.
4236 Also deal with EOF on the second character of the font name.
4238 Wed Apr 17 11:23:43 1991 James Clark (jjc at jclark)
4240 * troff/input.c (token::next): Turn \~ into an
4241 unbreakable_space_node.
4242 * troff/node.c (unbreakable_space_node): New class.
4243 * troff/node.h: Declare it.
4245 Tue Apr 16 10:47:12 1991 James Clark (jjc at jclark)
4247 * dvi/dvi.c (dvi_printer::set_char): Make code an int. Check that
4248 it's >= 0, before outputting it as a single byte.
4250 Mon Apr 15 11:20:23 1991 James Clark (jjc at jclark)
4252 * lib/font.c: Make font_char_metric::code an int.
4253 (font::get_code): Change return type to int.
4254 (font::load): Allow code to be arbitrary integer.
4255 * lib/font.h (font::get_code): Change return type to int.
4256 (font::number_to_index): Change argument type to int.
4257 * troff/input.c (token::next): In case 'N', allow any value.
4258 Store value in token::val.
4259 (token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
4260 (token::get_char, token::add_to_node_list, token::process): Get
4262 (charinfo::set_number): Change argument to int.
4263 (charinfo::get_number): Require that NUMBERED flag be set.
4264 (get_charinfo_by_number): Store numbered characters not between 0
4265 and 255 in a dictionary.
4266 * troff/charinfo.h (get_charinfo_by_number): Change argument type
4268 (charinfo::number): Change type to int.
4269 (charinfo::set_number): Change type of set_number to int.
4270 * troff/node.c (troff_output_file::put_char_width,
4271 troff_output_file::put_char): Test whether character is numbered
4272 using charinfo::numbered().
4273 * driver/printer.c (printer::set_numbered_char): Allow arbitrary
4275 * lib/nametoindex.c: New implementation to cope with arbitrary
4278 * troff/input.c (token::operator==): Test val for
4279 TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
4282 * man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
4283 (.man.n): sed out @BROKEN_SPOOLER_FLAGS@.
4285 Sun Apr 14 12:57:00 1991 James Clark (jjc at jclark)
4287 * ps/devps/zapfdr.ps: Don't copy UniqueID. Avoid use of newdict
4290 * all Makefiles: rm targets of cp and >.
4292 * xditview/xtotroff.c (MapFont): Unlink troff_name before opening
4295 * eqn/lex.c (def_table): Add dollar.
4297 Sat Apr 13 13:02:44 1991 James Clark (jjc at jclark)
4299 * troff/input.c (do_width): Push back newline before closing delim
4302 Fri Apr 12 15:16:03 1991 James Clark (jjc at jclark)
4304 * groff.c (possible_command::prepend_arg): New function.
4305 (main): Prepend device -m option.
4306 * groff.sh: Put device -m options before command-line options.
4308 Tue Apr 9 10:24:43 1991 James Clark (jjc at jclark)
4310 * macros/tmac.an (IP): Quote argument to TP.
4312 * ps/ps.c (main): New option -b, which sets...
4313 (broken_flags): New variable.
4314 (ps_printer::~ps_printer): Incorporate the setup section in the
4315 prolog if (broken_flags & NO_SETUP_SECTION).
4316 (ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
4317 (ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
4318 ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
4319 ps_printer::print_needed_font_comment,
4320 ps_printer::print_supplied_font_comment,
4321 ps_printer::print_include_font_comments,
4322 ps_printer::lookup_doc_font, ps_printer::download_fonts,
4323 ps_printer::read_download_file, read_document_fonts, add_font,
4324 skip_line, parse_fonts_arg, document_font::document_font,
4325 document_font::~document_font, document_font::download,
4326 ps_output::include_file): Deleted.
4327 (ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
4328 rather than %!PS-Adobe-2.0. Make calls to
4329 resource_manager::need_font for each font that we used. Replace
4330 calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
4331 print_supplied_font_comment, print_needed_font_comment by call to
4332 resource_manager::print_header_comments. Output %%Orientation
4333 comment. Output %%Requirements: numcopies comment if ncopies > 1.
4334 Don't output the prolog directly. Instead call
4335 resource_manager::output_prolog. Only define #copies when ncopies
4336 > 1. Delete calls to print_include_font_comments and
4337 download_fonts. Add call to resource_manager::document_setup.
4338 (ps_printer::do_file): Call resource_manager::import_file instead
4339 of including it ourselves.
4340 (ps_printer::do_import): Likewise. Also don't call
4341 merge_import_fonts. Push userdict on the dictionary stack before
4342 and pop it afterwards.
4343 Move declaration of ps_output into ps.h.
4344 * ps/psrm.c: New file implementing resource_manager class.
4345 * ps/ps.h: New file declaring ps_output and resource_manager
4347 * ps/devps/zapfdr.ps:
4348 * ps/devps/symbolsl.ps:
4349 * ps/devps/prologue: Use 3.0 conventions.
4350 * ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
4351 Add default definition of BROKEN_SPOOLER_FLAGS.
4352 * Makefile: New variable BROKEN_SPOOLER_FLAGS. Add
4353 BROKEN_SPOOLER_FLAGS to SUBFLAGS.
4355 Mon Apr 8 09:26:54 1991 James Clark (jjc at jclark)
4357 * etc/grog.pl: New file.
4358 * Makefile (GROG): New variable.
4359 Add GROG to SUBFLAGS.
4360 * etc/Makefile (GROG): New variable.
4361 (install.nobin): Install $(GROG) rather than grog.sh.
4363 Thu Apr 4 11:36:45 1991 James Clark (jjc at jclark)
4365 * eqn/special.c (special_box::compute_metrics): Make the input and
4366 output strings the same. Get the new height and depth from the
4367 predefined height and depth registers. Also make subscript kern
4369 (special_box::compute_subscript_kern, special_box::compute_skew):
4372 * eqn/box.c (pointer_box::compute_skew,
4373 simple_box::compute_metrics, box::top_level)
4374 * eqn/text.c (prime_box::compute_metrics,
4375 prime_box::comput_subscript_kern)
4376 * eqn/limit.c (limit_box::compute_metrics):
4377 * eqn/delim.c (build_extensible, delim_box::compute_metrics):
4378 * eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
4379 negative numbers in `nr' requests with a leading 0.
4381 Wed Apr 3 15:58:23 1991 James Clark (jjc at jclark)
4383 * eqn/special.c: New file.
4384 * eqn/eqn.y: Declare token SPECIAL. Make it right associative.
4385 Add new rule for simple.
4386 * eqn/lex.c (token_table): Add SPECIAL.
4387 * eqn/box.h: Declare make_special_box.
4388 * eqn/Makefile: Add special.[co].
4390 Sat Mar 30 10:57:53 1991 James Clark (jjc at jclark)
4392 * ps/devps/prologue: Possibly set packing to true while defining.
4393 Create grops dictionary here. Initialize local variables before
4394 defining procedures.
4395 (PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
4396 the dictionary stack. Set strokeadjust and overprint to false if
4397 the relevant operators are defined.
4398 (PEND): New procedure.
4399 * ps/ps.c (ps_printer::~ps_printer): In the prolog just include
4400 prologue. Do everything else in the setup section.
4401 (ps_printer::do_import): Just call PBEGIN and PEND around the
4402 picture. Also push userdict before, and pop it afterwards.
4404 Wed Mar 27 07:59:50 1991 James Clark (jjc at jclark)
4406 * troff/node.c (bracket_node::tprint): Brackets were being printed
4409 * macros/tmac.an (SH, SS): Set fill mode.
4411 Tue Mar 26 07:46:31 1991 James Clark (jjc at jclark)
4413 * troff/div.c (top_level_diversion::begin_page): Set
4414 high_water_mark to 0.
4416 Fri Mar 22 09:19:46 1991 James Clark (jjc at jclark)
4418 * man/mdate.sh: New file.
4419 * man/mdate.c: Deleted.
4420 * man/Makefile: Use mdate.sh instead of mdate.
4423 * eqn/lex.c (do_gsize): Supply missing argument to error message.
4425 Tue Mar 19 11:06:50 1991 James Clark (jjc at jclark)
4427 * man/mdate.c: New file.
4428 * man/*.man: Replace modification date by @MDATE@.
4429 * man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
4430 (mdate): New target.
4432 * lib/font.c (text_file::next): Deal with arbitrarily long lines.
4433 Remove illegal input characters.
4435 Mon Mar 18 08:32:25 1991 James Clark (jjc at jclark)
4437 * macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.
4439 Sat Mar 16 03:52:25 1991 James Clark (jjc at jclark)
4441 * troff/div.c (begin_page): Change behaviour when
4442 !first_page_begun and !break_flag.
4444 * troff/input.c (do_name_test): Return 0 if argument is empty.
4446 * troff/input.c (read_long_escape_name): Require closing ] to be
4447 at same input level as opening [.
4449 * troff/input.c (read_increment_and_escape_name): New function.
4450 (get_copy, process_input_stack): Use this for \n.
4452 Fri Mar 15 00:31:48 1991 James Clark (jjc at jclark)
4454 * troff/div.c (top_level_diversion::begin_page): Ignore the
4455 current value of page_number if !first_page_begun.
4457 * groff.c (main): Fix declaration of buf.
4459 * troff/input.c (do_name_test): New function.
4460 (token::next): Implement \A.
4461 (token::next): Implement \e by turning it into a TOKEN_ESCAPE.
4462 (token::description, token::add_to_node_list, token::process):
4463 Handle TOKEN_ESCAPE.
4464 * troff/token.h: New token TOKEN_ESCAPE.
4466 Thu Mar 14 10:22:26 1991 James Clark (jjc at jclark)
4468 * pic/main.c (do_picture): Allow space before and after filename
4469 following `<'. Check that the filename is not empty.
4471 Wed Mar 13 12:49:40 1991 James Clark (jjc at jclark)
4473 * Version 1.01 released.
4475 * dvi/devdvi/CompileFonts: Add cm*ss10 fonts.
4477 * dvi/tmac.dvi: ftr HR to H.
4479 * macros/tmac.e: Round up computation of $r.
4481 * xditview/tmac.X: Don't give up completely in compatibility mode.
4482 Use \n(.s instead of \n[.s].
4484 * dvi/tmac.dvi: Don't give up completely in compatibility mode.
4485 Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
4486 Add u to factors inside \s[...]. Rename frac to dvi-frac.
4487 Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
4488 short names in the char definitions.
4490 * ps/tmac.ps: Don't give up completely in compatibility mode.
4491 Fix the fraction definitions to use \n(.s and \(f/. Add an extra
4492 quote in front of \n(.s. Add u to factors inside \s[...].
4494 Mon Mar 11 12:01:20 1991 James Clark (jjc at jclark)
4496 * tty/tmac.tty: Call the nroff request.
4498 * macros/tmac.e ((x, )x): Better definitions that work properly
4500 (@0, @1): Helper macros for (x.
4502 * macros/tmac.e ($s, hl): Use \l rather than \D.
4504 * tty/tmac.tty: Make it work better in compatibility mode.
4505 (pchar): Rename to tty-char.
4507 * macros/tmac.e (@E): New macro.
4508 (r, i, b, rb, bi): Use @E.
4510 * macros/tmac.e (@F): Don't use (;...) syntax.
4512 * macros/tmac.e: Remove mention of \*(||/revisions. Mention that
4513 it was modified for groff.
4515 * macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.
4517 * macros/tmac.e (<., .>): Removed.
4518 ([., .]): If \n(.V>=1v, use [] instead of superscripting.
4520 * macros/tmac.e: Remove check that groff is being used.
4522 * macros/tmac.e (@C): Change families only if using groff; turn
4523 compatibility mode off while changing familes. Save compatibility
4524 mode before changing families and restore it afterwards.
4526 * macros/tmac.e (@h): Remove test for offset + line length.
4528 * macros/tmac.e (sorry): Rename to @S. Use \$1 instead of \$0
4529 (lo, th, ac): Define to call @S instead of using als.
4531 * macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
4532 the ratio of the vertical spacing to the point size in units
4533 expressed as a percentage. Use these instead of $10r and $10R,
4534 Delete $10r and $10R.
4536 * lib/font.c (font::load): In default computation of space_width,
4537 divide by sizescale. Use scale_round.
4539 * macros/tmac.an (TP): Don't call `nf'.
4540 (an-do-tag): Don't call `fi'.
4542 Sun Mar 10 09:52:35 1991 James Clark (jjc at jclark)
4544 * troff/input.c (process_input_stack): Handle the case where
4545 spaces at the beginning of an input line are followed by a
4548 Thu Mar 7 20:18:07 1991 James Clark (jjc at jclark)
4550 * groff.c (device_table): Add PIC_X_OPTION for dvi device.
4551 * groff.sh: Use pic -x with the dvi device.
4553 * dvi/devdvi/FontMakefile (H): Don't use -s.
4555 * dvi/devdvi/HI, dvi/devdvi/HB: New files.
4556 * dvi/devdvi/Makefile: Add HI and HB to FONTS.
4557 * dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
4560 Mon Mar 4 13:20:14 1991 James Clark (jjc at jclark)
4562 * ps/psfig.diff: New file.
4563 * ps/tmac.psfig: New file.
4565 Sat Mar 2 00:15:09 1991 James Clark (jjc at jclark)
4567 * macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
4568 (]-): Don't call ref*do-tl.
4570 * macros/tmac.s (ref*end-print): Use XP if [F not defined.
4572 * macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
4573 (fn@do-FS): Rename to fn*do-FS.
4575 * troff/input.c (transparent_translate): New function.
4576 (process_input_stack): Apply transparent_translate before calling
4577 diversion::transparent_output(unsigned char).
4579 Wed Feb 27 00:13:25 1991 James Clark (jjc at jclark)
4581 * troff/input.c (do_define_macro): Define the macro before calling
4584 * xditview/Makefile: Add DEVICES variable. Change install target
4587 Tue Feb 26 10:46:22 1991 James Clark (jjc at jclark)
4589 * groff.c (run_commands): Handle the possibility that there are
4590 child processes other than those forked by us.
4592 Sun Feb 24 21:32:30 1991 James Clark (jjc at jclark)
4594 * lib/string.c (string::append): New function.
4595 * lib/stringclass.h: Declare it.
4597 Thu Feb 21 11:49:26 1991 James Clark (jjc at jclark)
4599 * eqn/main.c (main): New option -N which sets
4600 no_newline_in_delim_flag.
4601 (do_file): If no_newline_in_delim_flag is set don't allow newlines
4603 * groff.c (main): Pass -N on to eqn.
4604 (help, synopsis): Mention -N.
4605 * groff.sh: Implement -N.
4607 Wed Feb 20 15:16:10 1991 James Clark (jjc at jclark)
4609 * macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
4610 (]-): Call ref*do-tl if ref*need-tl is non-zero.
4611 (XP): Allow as initializer.
4613 Tue Feb 19 14:09:06 1991 James Clark (jjc at jclark)
4615 * troff/env.c (environment::wrap_up_field): If field_spaces are
4616 non-zero and we have a current_tab, subtract padding from
4617 tab_distance. If this makes tab_distance <= 0, use the next tab
4618 stop instead. If there isn't any next tab or it's a left tab,
4619 wrap up the current tab.
4620 (environment::start_field): Initialize tab_precedes_field.
4621 (environment::wrap_up_tab): If there's a current field, update
4622 pre_field_width, field_distance and tab_precedes_field.
4623 * troff/env.h (environment::tab_precedes_field): New member.
4625 Fri Feb 15 01:24:00 1991 James Clark (jjc at jclark)
4627 * ps/ps.c (ps_printer::do_file): New function.
4628 (ps_printer::special): Bind to `file' special.
4629 (ps_printer::do_exec): Set ndefined_styles to 0.
4631 Sat Feb 9 03:03:04 1991 James Clark (jjc at jclark)
4633 * eqn/text.c (split_text): Grok \* and similar escapes sequences.
4634 Avoid stripping first character from the start of unrecognized
4635 escapes. Use lex_error instead of error to report errors.
4636 * eqn/lex.c (get_token): Rework handling of escapes.
4637 (lex_error): Move declaration into...
4640 * xditview/xditview.c (main): Make -page option work.
4642 * Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.
4644 Wed Feb 6 12:28:43 1991 James Clark (jjc at jclark)
4646 * macros/tmac.s (B2): Correct size of box.
4648 Tue Feb 5 00:37:35 1991 James Clark (jjc at jclark)
4650 * macros/tmac.s (B2): Postpone drawing the box until in the
4651 top-level diversion.
4653 * tty/tmac.tty: Add font translations for C, CR, CW.
4655 * groff.c (synopsis, help): Document -i.
4656 * groff.sh: Implement -i.
4658 * macros/tmac.s (@NH): Put a `.' after multi-part numbers.
4659 Simplify the construction of SN.
4661 * troff/number.c (parse_term): Give `|' a higher precedence.
4662 * tbl/table.c (numeric_text_entry::simple_print): Parenthesise
4665 * macros/tmac.s (B2): Use par@finish instead of par@reset.
4667 Mon Feb 4 12:36:09 1991 James Clark (jjc at jclark)
4669 * lib/string.c (string::move): New function.
4670 * lib/stringclass.h: Declare it.
4672 Sat Feb 2 16:02:16 1991 James Clark (jjc at jclark)
4674 * troff/env.c (distribute_space): Add optional argument
4676 (environment::wrap_up_field): Call distribute_space with
4677 `force_forward' argument of 1.
4679 Fri Feb 1 19:36:33 1991 James Clark (jjc at jclark)
4681 * lib/string.c, lib/stringclass.h (string::operator+=(char)):
4682 Inline it. Move reallocation into...
4683 (string::grow1): New function.
4684 * pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
4685 dependencies to include library header files.
4686 * lib/Makefile: Make string.c and lf.c depend on stringclass.h.
4688 Thu Jan 31 15:02:27 1991 James Clark (jjc at jclark)
4690 * macros/tmac.s (@NH): Use the same number registers than -ms does
4691 for the heading level counters. Use the same string that -ms does
4692 for the number for this heading.
4694 Wed Jan 30 14:25:40 1991 James Clark (jjc at jclark)
4696 * lib/new.c (operator new): Cast result of malloc to char *.
4698 * troff/input.c (spring_trap, lookup_request): Add assert that nm
4701 Tue Jan 29 18:08:05 1991 James Clark (jjc at jclark)
4703 * groff.c (main): Support -i.
4705 Sun Jan 27 13:23:17 1991 James Clark (jjc at jclark)
4707 * pic/pic.h: Include <osfcn.h>.
4709 * ps/ps.c: Add declaration of mktemp.
4711 * Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
4712 * groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
4713 argument as union wait *.
4714 (run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
4715 argument to union wait *.
4717 Sat Jan 26 12:04:52 1991 James Clark (jjc at jclark)
4719 * tty/tmac.tty: Add definition of \(co.
4721 * pic/object.c (make_arc): Only increase radius when radius
4722 strictly less than d.
4723 (arc_object::update_bounding_box): May need to add 4.0 to end_quad
4726 * troff/env.c (environment::environment(symbol),
4727 environment::environment(const environment *)): Initialize
4730 Sat Jan 19 08:18:35 1991 James Clark (jjc at jclark)
4732 * tbl/main.c (main): Add exit(0).
4734 * ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.
4736 * pic/main.c (main):
4737 * eqn/main.c (main):
4738 * tbl/main.c (main):
4739 * etc/soelim.c (main):
4740 * driver/printer.c (printer::~printer):
4741 * troff/node.c (real_output_file::~real_output_file,
4742 real_output_file::flush): Check for errors on stdout.
4744 * most files: Add 1991 to copyright notice.
4746 * macros/tmac.s: Don't test \n(.x and \n(.y.
4748 * troff/input.c (token::next): Rename `escape_char' label to
4749 `handle_escape_char' and `normal_char' label to
4750 `handle_normal_char'.
4752 Thu Jan 17 15:46:35 1991 James Clark (jjc at jclark)
4754 * groff.c (main, synopsis, help): Support -a option.
4755 * groff.sh: Likewise. Also eliminate Zflag variable by adding -z
4756 to trflags while parsing options.
4758 Tue Jan 15 13:07:27 1991 James Clark (jjc at jclark)
4760 * troff/number.c (parse_term): With `m', `M' and `n' scale
4761 indicators, convert scale factor to hunits before scaling.
4763 Mon Jan 14 12:39:12 1991 James Clark (jjc at jclark)
4765 * lib/font.c (scale_round): Better test for overflow when n is
4768 Thu Jan 10 11:10:56 1991 James Clark (jjc at jclark)
4770 * tbl/main.c (process_format): Add second argument of type
4771 options*. Change callers. Allow opt->tab_char as well as '\t'
4772 between format items.
4774 Mon Jan 7 12:30:18 1991 James Clark (jjc at jclark)
4776 * macros/tmac.an (PD): With no arguments, make sure register PD is
4778 (TH): Call PD with no argument, instead of setting register PD
4781 Sun Jan 6 11:18:39 1991 James Clark (jjc at jclark)
4783 * Version 1.00 released.
4785 Sat Jan 5 08:44:30 1991 James Clark (jjc at jclark)
4787 * ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.
4789 * dvi/devdvi/DESC: Mount CW instead of CR.
4791 * dvi/tmac.dvi: Add definition of \(tm.
4793 * dvi/devdvi/texsy.map: Add lh, and rh.
4794 * dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
4795 * dvi/devdvi/texmi.map: Add *o. Regenerate fonts.
4797 * dvi/devdvi/FontMakefile: Generate H from cmss10.
4798 * dvi/devdvi/Makefile: Install H.
4799 * dvi/devdvi/H: New file.
4801 Fri Jan 4 15:04:57 1991 James Clark (jjc at jclark)
4803 * troff/env.c (vertical_spacing): Don't allow vertical spacing to
4806 Thu Jan 3 13:41:19 1991 James Clark (jjc at jclark)
4808 * macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.
4810 * macros/tmac.pic (PS): Avoid attempting to set negative indent.
4812 * macros/tmac.s (@EN): Handle the case where the equation is empty
4813 but the label is not.
4815 Wed Jan 2 10:31:44 1991 James Clark (jjc at jclark)
4817 * troff/groff.h: New warning category WARN_SPACE.
4818 * troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
4819 WARN_SPACE to warning_table.
4820 (interpolate_macro): Give a warning of type WARN_SPACE if the name
4821 is longer than two characters and is not defined, but the first
4822 two characters do make a defined name.
4824 * PROBLEMS: New file.
4826 * CHANGES: New file.
4827 * README-0.6, README-1.00: Deleted.
4829 * groff.c, groff.sh: Add X75-12 and X100-12 devices.
4830 * xditview/devX75/Makefile: Make devX75-12.
4831 * xditview/devX100/Makefile: Make devX100-12.
4833 * xditview/devX100/eqnchar, xditview/devX75/eqnchar,
4834 dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.
4836 Tue Jan 1 19:24:01 1991 James Clark (jjc at jclark)
4838 * README-0.7: Rename to README-1.00.
4840 * macros/tmac.pic: New file.
4841 * macros/Makefile (install.nobin): Install tmac.pic.
4843 Mon Dec 31 10:40:53 1990 James Clark (jjc at jclark)
4845 * troff/env.c (hyphen_word): Correct the test for whether the
4846 token is a hyphen. Reset npos to 0.
4848 * macros/tmac.s (par@sup-start, par@sup-end): New implementations.
4850 Sun Dec 30 15:53:13 1990 James Clark (jjc at jclark)
4852 * macros/tmac.s (ds*common-end): Call par*reset.
4854 (par@reset-indent): Deleted.
4856 * macros/tmac.s (@IP): Divert the label.
4858 Sat Dec 29 14:33:32 1990 James Clark (jjc at jclark)
4860 * xditview/draw.c (setGC): Use a line width of .1m rather than
4861 .04m by default; round rather than truncate value.
4863 * tbl/table.c (class empty_entry): New class.
4864 (empty_entry::empty_entry, empty_entry::line_type): New functions.
4865 (table::add_entry): Represent empty entries by objects of type
4867 (table_entry::line_type): Return -1.
4868 (table::determine_row_type): Ignore entries with line_type 0.
4869 Treat type -1 as non-lines.
4871 Fri Dec 28 15:04:41 1990 James Clark (jjc at jclark)
4873 * ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
4874 macros/tmac.s: Rename \(-d to \(Sd.
4876 Thu Dec 27 12:35:47 1990 James Clark (jjc at jclark)
4878 * ps/devps/textmap: Add `sd', `/_' and `3d' characters.
4879 * xditview/libXdvi/DviChar.c: Likewise.
4880 * dvi/devdvi/texsy.map: Add `<<', `>>'.
4882 Wed Dec 26 13:33:23 1990 James Clark (jjc at jclark)
4884 * troff/div.c (top_level_diversion::begin_page): Call
4885 init_output() if the_output is 0.
4887 Sat Dec 22 12:35:29 1990 James Clark (jjc at jclark)
4889 * troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
4891 (get_copy): Turn \E into ESCAPE_E.
4892 (token::process, asciify): Handle ESCAPE_E.
4894 * macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
4896 (DS): Implement `.DS R'.
4898 Fri Dec 21 11:41:53 1990 James Clark (jjc at jclark)
4900 * macros/tmac.s (FS): New macro.
4902 * macros/tmac.s (fn@do-FS): Use @LP instead of LP.
4904 * macros/tmac.s (cov*tl-init): Remove after first execution
4905 instead of aliasing to @nop. Call top of page macro explicitly
4906 instead of setting trap; call @init first. Set pg@top as top of
4908 (cov*auto-init): Deleted. Set cov*tl-init instead of
4909 cov*auto-init as top of page trap.
4910 (TL, LP): Do a break instead of calling cov*tl-init.
4911 (cov*print): With RP format but no TL, alias FS and FE to @FS and
4912 @FE; in this case also give a warning and always start another
4913 page. No need to set pg@top here.
4914 (cov*tl-init): Rename to cov*first-page-init.
4916 * macros/tmac.s (RP): Do `.pn 0'.
4917 (cov*tl-init): With RP format don't do `.pn 0'.
4919 * macros/tmac.s (pg@cs-top): Set no space mode.
4921 * macros/tmac.s (par@TL, par@AU, par@AI): New macros.
4922 (cov*ab-init): Alias TL, AU and AI to these.
4924 Thu Dec 20 10:10:50 1990 James Clark (jjc at jclark)
4926 * macros/tmac.s (@EQ): Move the space before the equation into @EN
4927 (@EN): Do nothing unless \n[dl] is > 0.
4929 Tue Dec 18 12:20:47 1990 James Clark (jjc at jclark)
4931 * pic/object.c (ellipse_object::radius): New function.
4933 * VERSION: Change version to 0.7.
4935 * tbl/table.c (block_entry::do_divert): Declare return type as
4937 (block_entry::divert, alphabetic_block_entry::divert): Return 1.
4939 Mon Dec 17 12:30:34 1990 James Clark (jjc at jclark)
4941 * troff/column.c: New file.
4942 * troff/Makefile: Corresponding changes.
4944 * troff/hvunits.c (scale(vunits, vunits, vunits)): New function.
4947 * troff/div.c (top_level_diversion::space): If the space causes
4948 the first-page transition and springs a trap, truncate the space
4951 Fri Dec 14 12:30:02 1990 James Clark (jjc at jclark)
4953 * ps/ps.c (ps_printer::do_import): Add a `clear' after including
4956 * pic/troff.c (troff_output::line_thickness,
4957 troff_output::set_fill): Do a horizontal motion to compensate for
4958 the width of the \D escape sequence.
4960 Thu Dec 13 10:17:14 1990 James Clark (jjc at jclark)
4962 * xditview/tmac.X: Reinstate definition of \(rn, but only for X100
4965 * eqn/sqrt.c (sqrt_box::compute_metrics): Supply missing argument
4968 * tbl/table.c (simple_entry::simply_print): Don't declare as pure.
4969 Supply empty definition.
4970 (text_entry::simple_print, simple_text_entry::simple_print):
4971 Delete declarations.
4972 (table::add_entry): Represent empty entries by objects of type
4975 Wed Dec 12 08:50:48 1990 James Clark (jjc at jclark)
4977 * troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.
4979 * tbl/table.c (left_text_entry::add_tab): New function.
4981 * macros/tmac.s: Make @RT an alias for par@reset. Make RT
4984 Mon Dec 10 11:19:55 1990 James Clark (jjc at jclark)
4986 * troff/env.c (environment::start_field): Give an error message if
4987 there is no next tab.
4989 Sun Dec 9 11:46:40 1990 James Clark (jjc at jclark)
4991 * troff/env.c (hyphenate): Skip initial elements with zero
4994 * macros/tmac.s (par@init): Keep VS in points rather than units.
4996 Sat Dec 8 23:00:27 1990 James Clark (jjc at jclark)
4998 * pic/main.c (main): Implement `-c' option.
4999 * pic/output.h: Declare make_tpic_output().
5000 * pic/tex.c (tex_output::set_pen_size): Make it virtual and
5002 (tpic_output): New class.
5003 (tpic_output::tpic_output, tpic_output::set_pen_size,
5004 tpic_output::command, make_tpic_output): New functions.
5006 Fri Dec 7 11:57:41 1990 James Clark (jjc at jclark)
5008 * tbl/main.c (main): Call `.ab' if \n(.g is false. Define TS/TE
5009 if they're not already defined.
5010 * tbl/table.c (init_output): Don't test \n(.g.
5012 * troff/input.c (do_if_request): Delete `g' condition. Recognize
5013 `d', `r' and `c' conditions even in compatibility mode.
5015 Tue Dec 4 09:13:47 1990 James Clark (jjc at jclark)
5017 * ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
5020 Mon Dec 3 07:18:26 1990 James Clark (jjc at jclark)
5022 * troff/env.h (environment::prev_line_interrupted): New member.
5023 (environment::get_prev_line_interrupted): New function.
5024 * troff/env.c (environment::newline): Set prev_line_interrupted.
5025 (environment::environment(const environment *),
5026 environment::environment(symbol)): Initialize
5027 prev_line_interrupted.
5028 * troff/input.c (process_input_stack): Don't give special
5029 treatment to space and newline at the beginning of the line if the
5030 previous line was interrupted.
5032 Sat Dec 1 15:48:37 1990 James Clark (jjc at jclark)
5034 * eqn/eqn.y: Disallow PRIME by itself.
5035 * eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
5037 (def_table): Remove definition of '. Define prime to be `.
5039 * eqn/eqn.y: Split off part of rule `script' into a new rule
5042 Fri Nov 30 10:23:44 1990 James Clark (jjc at jclark)
5044 * macros/tmac.s ({, }): New string aliases.
5046 Thu Nov 29 11:34:40 1990 James Clark (jjc at jclark)
5048 * README-0.7: New file.
5050 Wed Nov 28 10:09:57 1990 James Clark (jjc at jclark)
5052 * macros/tmac.s: New file.
5053 * man/groff_ms.man: New file.
5054 * Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
5055 * Makefile.bd: Similarily.
5056 * man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
5057 definition of TMAC_S.
5058 * macros/Makefile: Add definition of TMAC_S. Install tmac.s.
5059 * macros/TODO: New file.
5061 Sat Nov 24 20:04:54 1990 James Clark (jjc at jclark)
5063 * troff/env.c (right_justify): New function.
5064 (init_env_requests): Bind this to request "rj".
5065 (center_lines): Set right_justify_lines to 0. If we get a bad
5066 integer, center 1 line.
5067 (environment::environment(symbol), environment::environment(const
5068 environment *)): Initialize right_justify_lines.
5069 (environment::get_right_justify_lines): New function.
5070 (init_env_requests): Bind this to number_register ".rj".
5072 * troff/env.c (environment::choose_breakpoint): Implement
5073 hyphenation_margin and hyphenation_space.
5074 (environment::get_hyphenation_space,
5075 environment::get_hyphenation_margin): New functions.
5076 (init_env_requests): Bind these to .hys and .hym.
5077 (hyphenation_space_request, hyphenation_margin_request): New
5079 (init_env_requests): Bind these to hys and hym.
5080 (environment::environment(symbol), environment::environment(const
5081 environment *)): Initialize hyphenation_margin and
5083 * troff/env.h: Corresponding changes to class environment.
5085 Fri Nov 23 09:08:16 1990 James Clark (jjc at jclark)
5087 * troff/div.c (blank_line): Always do a break.
5089 * eqn/box.c (do_text): Turn off escapes while appending text to
5092 Thu Nov 22 10:58:59 1990 James Clark (jjc at jclark)
5094 * troff/input.c (while_break_request, while_continue_request): New
5096 (init_input_requests): Bind these to "break" and "continue".
5097 (while_depth, while_break_flag): New variables.
5098 (while_request): Update while_depth. Break out of loop if
5099 while_break_flag is set.
5101 Wed Nov 21 10:54:40 1990 James Clark (jjc at jclark)
5103 * tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
5106 Mon Nov 19 00:45:03 1990 James Clark (jjc at jclark)
5108 * Makefile: Include -DBROKEN_SPOOLER by default. Expand comment.
5110 * stringify: New file.
5111 * Makefile (groff.o): Use stringify.
5113 * xditview/tmac.X: Remove definition of \(rn.
5114 * xditview/libXdvi/DviChar.c: Remove radicalex from
5117 Sat Nov 17 10:44:58 1990 James Clark (jjc at jclark)
5119 * tbl/table.c (table::add_entry): Allow alphabetic text blocks.
5120 (alphabetic_block_entry::alphabetic_block_entry,
5121 alphabetic_block_entry::divert, alphabetic_block_entry::print):
5123 (block_entry::divert): Split off body into ...
5124 (block_entry::do_divert): If the block is alphabetic, subtract 2n
5125 from the line length; also update the span width to dl+2n, and the
5126 alphabetic span width to dl.
5128 * driver/input.c (do_file): While reading argument to D command,
5129 when expanding buffer, multiply szp by sizeof(int) rather than 2
5130 in the argument to memcpy.
5132 * tbl/table.c (compute_span_width): Add 2n rather than 1n to the
5133 width of alphabetic columns.
5135 Fri Nov 16 06:34:27 1990 James Clark (jjc at jclark)
5137 * troff/node.c (lookup_family): Supply second argument to lookup.
5139 * troff/dictionary.c (dictionary::lookup): After an unsuccesful
5140 search, return immediately if v is 0.
5142 * pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
5143 (troff_output::start_picture): Set this reg.
5144 (troff_output::end_picture): Remove this reg
5145 * eqn/box.c (box::extra_space): Don't produce `\x's if
5146 EQN_NO_EXTRA_SPACE_REG is defined.
5148 * eqn/eqn.y: Allow just a PRIME to be a `simple'.
5149 * eqn/text.c (split_text): Map ' to \(fm when it's the first
5152 Thu Nov 15 10:35:06 1990 James Clark (jjc at jclark)
5154 * macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
5157 * troff/div.c (top_level_diversion::top_level_diversion):
5158 Initialize page_number to 0.
5160 Wed Nov 14 21:41:58 1990 James Clark (jjc at jclark)
5162 * groff/troff (environment::environment(const environment *)):
5163 Initialize name to e->name, rather than "anonymous".
5165 Sat Nov 10 01:59:37 1990 James Clark (jjc at jclark)
5167 * xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
5168 requested_page. Split middle part into ...
5169 (FindPage): New function.
5170 (SetValues): If we don't yet know the last page, and the requested
5171 page is greater than the current page, call FindPage.
5172 Update the font_map_string before doing this.
5174 * xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
5175 Translate \(lh and \(rh into left and right double arrows.
5177 * troff/node.c (class hyphen_inhibitor_node): New class.
5178 (hyphen_inhibitor_node::hyphen_inhibitor_node,
5179 hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
5180 hyphen_inhibitor_node::type,
5181 hyphen_inhibitor_node::get_hyphenation_type): New functions.
5182 (node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
5183 than dbreak_node(0, 0) to represent a `\%' at the beginning of a
5186 Fri Nov 9 16:05:38 1990 James Clark (jjc at jclark)
5188 * troff/node.h (dummy_node::get_hyphenation_type,
5189 transparent_dummy_node::get_hyphenation_type): Declare them.
5190 * troff/node.c: (dummy_node::get_hyphenation_type,
5191 transparent_dummy_node::get_hyphenation_type): New functions.
5193 Wed Nov 7 10:09:06 1990 James Clark (jjc at jclark)
5195 * xditview/libXdvi/draw.c: If M_PI not defined after including
5196 math.h, then define it.
5198 * xditview/Makefile: Add definition of AR. Pass it to the submake
5200 * xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.
5202 Tue Nov 6 10:14:27 1990 James Clark (jjc at jclark)
5204 * troff/dictionary.h (object_dictionary::alias): Declare return
5206 * troff/dictionary.c (object_dictionary::alias): Return non-zero
5207 if the old name was defined.
5208 * troff/input.c (alias_macro): Give a warning if the old name was
5210 * troff/reg.c (alias_reg): Likewise.
5212 Mon Nov 5 00:31:39 1990 James Clark (jjc at jclark)
5214 * troff/input.c (token::next): Delete implementation of \R.
5216 * macros/Makefile: Strip comments from tmac.e while installing it.
5218 * troff/input.c: New variable `nroff_mode'.
5219 (troff_request, nroff_request): New functions.
5220 (init_input_requests): Bind `troff' and `nroff' to troff_request
5222 (do_if_request): Compute results of t and n conditions from
5225 * text/text.c (split_text): Fix typo in >=.
5227 * eqn/lex.c: Add definition of `==' to def_table.
5229 Fri Nov 2 02:49:09 1990 James Clark (jjc at jclark)
5231 * pic/tex.c (tex_output::start_picture): Change the definitions of
5232 \graph and \graphtemp so that they work properly with Plain TeX.
5234 * pic/tex.c (tex_output::solid_arc): Ensure that the second angle
5235 argument to `ar' is not less than the first.
5237 * pic/pic.y: Allow a comma between elements of the variable list
5238 in the argument to `reset'.
5240 * pic/object.c (arc_object::arc_object): Fix computation of
5243 * eqn/main.c (main): Add exit(0).
5245 Thu Nov 1 02:03:50 1990 James Clark (jjc at jclark)
5247 * troff/div.c (begin_page): Test no_space_mode after doing the
5248 break, but still push the page ejector cookie before doing the
5249 break. Also set the next page number after doing the break.
5251 * xditview/xditview.c (NewFile): Don't set the title and icon name
5252 if this is the first file and its name is `-'.
5253 * groff/groff.c: Define a new device flag XT_OPTION. Set it for
5254 the X75 and X100 devices.
5255 (main): If a device has the XT_OPTION flag set and there's exactly
5256 one file argument, pass the driver -xrm and -title options to set
5257 the icon name and window title to the name of the file.
5259 * troff/env.c (environment_switch): If there was an argument but
5260 it wasn't a valid number or name, then pop an environment but
5261 don't give an error message on underflow.
5263 * troff/number.c (start_number): Correct spelling in error message.
5265 * troff/input.c (token::delimiter): Don't print an error message
5268 * xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
5269 ParseDrawFunction if dw->display_enable is true.
5271 Wed Oct 31 05:49:50 1990 James Clark (jjc at jclark)
5273 * pic/pic.y: Parse text positioning like normal attributes, so as
5274 to allow `"text" at 0,0 ljust'. Don't allow `center' as a
5275 positioning attribute.
5277 Mon Oct 29 22:50:38 1990 James Clark (jjc at jclark)
5279 * tbl/main.c (process_data): When in state START while reading a
5280 text block, don't change to state MIDDLE if c is a newline.
5282 Sun Oct 28 21:59:56 1990 James Clark (jjc at jclark)
5284 * dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
5285 so as to avoid shadowing parameter.
5287 Wed Oct 24 18:35:39 1990 James Clark (jjc at jclark)
5289 * tbl/table.c (trim_space): Deleted.
5290 (table::add_entry): Don't call trim_space.
5292 Mon Oct 22 03:48:39 1990 James Clark (jjc at jclark)
5294 * VERSION: Change version to 0.6.
5296 * troff/number.c (parse_expr): Make == work.
5298 Sat Oct 20 11:28:17 1990 James Clark (jjc at jclark)
5300 * man/grog.man: New file.
5301 * man/Makefile: Add grog.n to MAN1PAGES.
5302 * etc/grog.sh: New file.
5303 * etc/Makefile: Install grog.sh as grog.
5305 Fri Oct 19 11:17:15 1990 James Clark (jjc at jclark)
5307 * troff/input.c (token::next): Implement \E.
5309 Thu Oct 18 11:56:24 1990 James Clark (jjc at jclark)
5311 * xditview/tmac.X: Change font translations to match tmac.ps.
5313 * troff/input.c (non_empty_name_warning): Don't give a warning if
5314 `\{' terminates the name.
5316 Tue Oct 16 10:04:23 1990 James Clark (jjc at jclark)
5318 * ps/devps/symbol.diff: New file.
5319 * ps/devps/FontMakefile: Mention symbol.diff.
5321 Sun Oct 14 11:46:46 1990 James Clark (jjc at jclark)
5323 * troff/node.c (font_position): Use get_long_name to read the
5326 * troff/env.c (environment_switch): If we get a number that's < 0
5327 or >= NENVIRONMENTS, treat it like a name.
5328 Change NENVIRONMENTS to 10.
5330 * troff/groff.h: Remove definition of FONTS_MAX.
5331 * troff/node.h (class font_family): Make map a pointer instead of
5332 an array. Add a map_size member. Make it a class. Make nm const
5333 and public. Make invalidate_fontno a friend.
5334 * troff/node.c: Define font_table_size. Make font_info a pointer
5335 rather than an array.
5336 (class troff_output_file): Allocate font_position dynamically. Add
5337 nfont_positions member.
5338 (troff_output_file::set_font): Grow font_position if necessary.
5339 (troff_output_file::~troff_output_file): Delete font_position.
5340 (troff_output_file::troff_output_file): Allocate font_position.
5341 (grow_font_table): New function.
5342 (troff_output_file::really_begin_page,
5343 troff_output_file:really_copy_page): Use nfont_positions rather
5345 (mount_font_no_translate, mount_style): Call grow_font_table if
5347 (font_family::font_family): Allocate map.
5348 (font_family::make_definite): Grow map if necessary. Use
5349 font_table_size instead of FONTS_MAX.
5350 (font_family::~font_family): New function.
5351 (invalidate_fontno): Use font_family::map_size.
5352 (get_fontno, env_space_width, env_half_narrow_space_width,
5353 env_narrow_space_width, symbol_fotno, is_good_fontno,
5354 get_bold_fontno, make_glyph_node): Use font_table_size rather than
5356 (next_available_font_position): Never return 0.
5358 Fri Oct 12 10:17:52 1990 James Clark (jjc at jclark)
5360 * ps/tmac.ps: Add font translations for compatibility with dpost.
5362 Thu Oct 11 12:09:03 1990 James Clark (jjc at jclark)
5364 * eqn/pile.c: Rename default_baseline_sep to baseline_sep.
5365 Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
5366 Move definitions baseline_sep, shift_down, column_sep,
5367 matrix_side_sep into...
5368 * eqn/box.c: Add them to param_table.
5369 * eqn/pbox.h: Add declarations to pbox.h.
5371 * troff/input.c (set_string): Cast value to unsigned char *.
5373 * troff/token.h (process_input_stack): Declare it static before
5374 declaring it a friend.
5376 Wed Oct 10 09:59:13 1990 James Clark (jjc at jclark)
5378 * dvi/devdvi/texex.map: Fix positions of extensible brace middle
5380 * dvi/devdvi/EX: Regenerate.
5382 * troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
5385 Tue Oct 9 08:34:02 1990 James Clark (jjc at jclark)
5387 * eqn/lex.c: In defaults_table, make definition of `dot' call
5388 `dot_def'. Don't explicitly make it roman. Similarily for other
5391 * pic/lex.c (for_input::for_input): Add by_is_multiplicative
5393 (for_input::get, for_input::peek): Use this.
5394 (do_for): Add by_is_multiplicative argument.
5395 * pic/pic.y: Change optional_by clause to allow '*' after `by'.
5396 Change semantic value of optional_by to be a double plus a flag
5397 saying whethet the by clause is multiplicative.
5399 * eqn/lex.c (get_delimited_text): Remember location of start of
5400 definition. Improve error handling when EOF is encountered.
5402 * lib/font.h: Rename handle_x_command to
5403 handle_unknown_font_command.
5404 * lib/font.c (font::load): Call handle_unknown_font_command for
5405 any unknown command in the font description file. Don't call
5406 handle_x_command. Include the name of the command in the argv.
5407 Improve message for unknown command after kernpairs or charset
5409 * ps/ps.c (ps_font::handle_x_command): Rename to
5410 handle_unknown_font_command. Remove message about `x download'
5411 command. Give error message for wrong number of arguments.
5412 * ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
5413 * dvi/dvi.c (dvi_font::handle_x_command): Rename to
5414 handle_unknown_font_command. Give an error message for wrong
5415 number of arguments. Rename design_size to designsize.
5416 * dvi/tfmtodit.c (main): Generate `checksum' instead of `x
5417 checksum', `designsize' instead of `design_size'.
5419 Mon Oct 8 00:38:55 1990 James Clark (jjc at jclark)
5421 * eqn/*.[chy]: Change underaccent to uaccent.
5423 * eqn/eqn.y: Add rule for underaccent. Declare UNDERACCENT token;
5424 give it the same precedence as ACCENT.
5425 * eqn/other.c (make_underaccent_box): New function.
5426 * eqn/box.h: Declare it.
5427 * eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
5430 Sun Oct 7 11:25:16 1990 James Clark (jjc at jclark)
5432 * pic/pic.y (reset_all): New function. Called in rule for RESET.
5433 (parse_init): Call reset_all.
5434 (define_variable): When defining scale reset only those
5435 pre-defined variables that are scaled.
5436 (defaults_table): Add `scale' as non-scaled value.
5438 * pic/pic.y: Redo parsing of text adjustments: parse adjustments
5439 together with the text; allow any number of positioning words;
5440 allow center as a positioning word.
5442 * pic/object.c (output::compute_scale): Get picture maximum height
5443 and width from variables called maxpswid and maxpsht.
5444 * pic/pic.y: Add maxpswid and maxpsht to defaults_table.
5446 Sat Oct 6 10:16:56 1990 James Clark (jjc at jclark)
5448 * pic/object.c (object_spec::make_text): Multiply textht by number
5451 * pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
5453 (do_sprintf): New function.
5454 (pic.gperf): Add sprintf token.
5455 (text, sprintf): New rules.
5457 * pic/pic.y: `rand()' with no arguments returns a random number
5460 * pic/pic.y: Allow a bare expression to be an attribute: change
5461 precedences to support this. Change optional_ordinal rule to
5462 optional_ordinal_last to avoid reduce/reduce conflict.
5463 * pic/object.c (object_spec::object_spec): Initialize direction.
5465 * pic/pic.y: Implement ^ operator meaning exponentiation.
5467 * troff/node.h: Add default argument to mount_font.
5468 * troff/node.c (font_position): Read an optional third argument
5469 giving the external_name.
5470 (mount_font): Add optional argument giving the external_name.
5471 (mount_font_not_translate): Have additional argument giving
5472 external name. Use this name to load the font. Pass both names
5473 to font_info::font_info.
5474 (font_info::font_info): Have additional argument giving
5476 (class tfont): New member external_name.
5477 (font_info::get_tfont): Use external name to construct tfont_spec.
5479 Fri Oct 5 04:03:13 1990 James Clark (jjc at jclark)
5481 * eqn/lex.c (init_table): Add argument giving device. Define
5482 name of device to be "1".
5483 (do_ifdef): Counts as true if the argument has been defined with
5485 * eqn/main.c (main): Call init_table with device argument. Make
5486 device local to main.
5487 * eqn/eqn.h: Change declaration of init_table. Remove declaration
5490 * pic/lex.c (get_delimited): Allow text to be delimited by
5491 matching {}s. Don't recognize ending delimiter within a string.
5493 * troff/input.c (get_delim_name): New function.
5494 (token::next): Implement \C.
5496 * lib/font.c (font::load): Grok ---. Add an alias for each
5497 character based on its code.
5498 (font::get_code_width): Deleted.
5499 * lib/font.h (class font): Declare font::number_to_index().
5500 Remove declaration of font::get_code_width.
5501 * lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
5502 to indices of named characters.
5503 (font::number_to_index): New function.
5504 * troff/input.c (font::number_to_index): New function.
5505 (get_charinfo_by_number, charinfo::get_number,
5506 charinfo::set_number): New functions.
5507 (token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
5508 (token::process, token::description, token::get_char,
5509 token::add_to_node_list, token::operator==): Handle
5510 TOKEN_NUMBERED_CHAR.
5511 * troff/charinfo.h: Declare get_charinfo_by_number,
5512 charinfo::get_number, charinfo::set_number. Add NUMBERED flag to
5514 (charinfo::numbered): New function.
5515 * troff/token.h: Add TOKEN_NUMBERED_CHAR.
5516 * troff/env.h (class environment): Remove declaration of ...
5517 * troff/env.c (environment::make_numbered_char_node): Deleted.
5518 * troff/node.c (make_numbered_node): Deleted.
5519 (class numbered_glyph_node): Remove.
5520 (troff_output_file::put_char_width, troff_output_file::put_char):
5521 Handle numbered chars.
5522 (troff_output_file::numbered_char): Removed.
5523 (tfont::get_code_width): Removed.
5524 (make_glyph_node): Don't search special fonts for numbered
5526 * troff/node.h: Remove declaration of make_numbered_node.
5527 * driver/input.c (do_file): Handle N command.
5528 * driver/printer.h: Add declaration of ...
5529 * driver/printer.c (printer::set_numbered_char): New function.
5530 * dvi/tfmtodit.c (main): Generate unnamed entries.
5531 * ps/devps/afmtodit: Likewise.
5532 * xditview/xtotroff.c (MapFont): Likewise.
5533 * xditview/libXdvi/parse.c (ParseInput): Grok N command.
5535 * tbl/main.c (process_format): If multiple widths are specified
5536 for a column but all the widths are the same, don't give an error
5539 * tbl/table.c (table::do_row): If the current row is all lines and
5540 the stuff doesn't contains a line, mark the top of the row after
5541 printing stuff before the row. If the current row is not all
5542 lines and the stuff doesn't contain a line, don't unnecessarily
5543 mark the top of the row before printing the stuff.
5545 Mon Oct 1 11:42:00 1990 James Clark (jjc at jclark)
5547 * troff/groff.h: Remove MAX_PATH.
5548 * troff/input.c (open_file): Dynamically allocate space for the
5550 (open_mac_file, process_macro_file): Corresponding changes.
5552 Sun Sep 23 18:56:26 1990 James Clark (jjc at jclark)
5554 * troff/node.h (class output_file): Make copy_file pure. Add
5555 vspace method ifdef COLUMN. Add is_printing method.
5556 * troff/node.c: Add class printing_reg. Add class
5557 real_output_file. Derive other output_file classes from
5558 real_output_file; in these classes rename begin_page to
5559 really_begin_page, print_line to really_print_line, copy_file to
5560 really_copy_file, transparent_char to really_transparent_char.
5561 Move output_file::flush to real_output_file. Add printing member
5562 to class output_file.
5563 * troff/div.h: Remove printing member from top_level_diversion.
5564 Add vspace member function to class diversion ifdef COLUMN. Add
5565 some declarations ifdef COLUMN.
5566 * troff/div.c (top_level_diversion::copy_file,
5567 top_level_diversion::transparent_output,
5568 top_level_diversion::output): Don't test printing member before
5570 * troff/input.c: Handle initial variable_space_request ifdef
5572 * troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
5575 Sat Sep 22 11:32:22 1990 James Clark (jjc at jclark)
5577 * troff/div.c (diversion::need): Make any space forced. If we
5578 sprung a trap, set truncated_space to minus the distance to the
5579 trap and set needed_space to the amount that was needed.
5580 (top_level_diversion::space): A forced space turns no_space_mode
5582 (class constant_vunits_reg): New class.
5583 (init_div_requests): Implement number registers .trunc and .ne
5584 using constant_vunits_reg.
5585 (class truncated_space_reg): Deleted.
5587 * troff/div.h: Don't have a no_space_mode member in diversion.
5588 Instead have it in top_level_diversion.
5589 * troff/div.c (diversion::diversion): Don't initialize
5591 (top_level_diversion::top_level_diversion): Initialize
5593 (no_space, restore_spacing): Do nothing if curdiv != topdiv.
5594 (macro_diversion::output): Don't clear no_space_mode.
5596 * troff/input.c (diverted_space_node::reread): Don't call
5597 environment::do_break. In fill mode, act like a blank line.
5598 (diverted_copy_file_node::reread): Don't call
5599 environment::do_break.
5601 * troff/div.c (blank_line): New function.
5602 * troff/div.h: Declare it.
5603 * troff/input.c (process_input_stack): Call it.
5605 * troff/div.c (truncated_space_reg::get_string): New function.
5606 (init_div_requests): Bind to .trunc.
5607 (space_request, top_level_diversion::space,
5608 top_level_diversion::output, macro_diversion::space,
5609 macro_diversion::output): Update truncated_space.
5610 (macro_diversion::output): Redo calculations when trap sprung.
5611 (macro_diversion::output, macro_diversion::space): No need for
5614 * troff/div.c (top_level_diversion::output): Set nl_reg_contents
5615 after truncating post line spacing.
5617 Fri Sep 21 11:27:25 1990 James Clark (jjc at jclark)
5619 * ps/devps/prologue (MF, SF): Make them work even if setfont is
5620 defined as a procedure rather than as an operator.
5622 Thu Sep 20 12:55:05 1990 James Clark (jjc at jclark)
5624 * troff/div.c (macro_diversion::space): Ignore no_space_mode.
5626 Wed Sep 19 10:54:37 1990 James Clark (jjc at jclark)
5628 * troff/div.c (top_level_diversion::output): Merge
5629 output_file::print_line and output_file::end_of_line member
5631 * troff/div.h (class output_file):
5632 * troff/node.c (troff_output_file::print_line,
5633 troff_output_file::end_of_line, output_file::end_of_line,
5634 ascii_output_file::print_line, suppress_output_file::print_line):
5635 Corresponding changes.
5637 Tue Sep 18 11:31:47 1990 James Clark (jjc at jclark)
5639 * troff/input.c (token::next): Don't give a warning for `\.'.
5641 * troff/env.c (environment::get_center_lines): New function.
5642 (init_env_requests): Bind number register .ce to it.
5643 * troff/env.h: Declare it.
5644 * tbl/table.c (table::init_output): Define reset macro to restore
5645 .ce. If center option not given, store .ce in SAVED_CENTER_REG.
5647 (table::print): If center option not given, then imply center
5648 option if SAVED_CENTER_REG > 0.
5650 Mon Sep 17 09:19:19 1990 James Clark (jjc at jclark)
5652 * ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
5653 Troff.ps from DOWNLOAD.
5655 * troff/Makefile: Change comment in DEFINES to avoid confusing
5658 * ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
5659 code. Don't try to catch errors with stopped.
5660 (check_line_lengths): New function.
5661 * ps/devps/prologue (EXEC): Deleted.
5662 (EBEGIN, EEND): New procedures.
5664 Sun Sep 16 14:51:15 1990 James Clark (jjc at jclark)
5666 * troff/input.c: Include request.h before node.h.
5667 * troff/node.c: Likewise.
5668 * troff/env.c: Likewise.
5669 * troff/div.c: Likewise.
5670 * troff/node.h (class special_node): Store argument as a macro
5671 rather than a char *.
5672 * troff/node.c (special_node::special_node, special_node::copy):
5674 (special_node::~special_node): Deleted.
5675 (special_node::tprint): Deleted.
5676 (special_node::tprint_start, special_node::tprint_end,
5677 special_node::tprint_char): New functions.
5678 (troff_output_file::special): Deleted.
5679 (troff_output_file::start_special, troff_output_file::end_special,
5680 troff_output_file::special_char): New functions.
5681 * troff/input.c (special_node::tprint): New function.
5682 (do_special): Use macro not char *.
5683 (do_transparent_macro): Deleted.
5684 (token::next): Don't call do_transparent_macro.
5686 * troff/input.c (token::next): Add 'Y' case.
5687 (do_transparent_macro): New function.
5688 * troff/node.c (troff_output_file::special): Handle newlines with
5689 argument using new continuation convention.
5690 * driver/input.c (get_string): Cope with continuation convention.
5691 (do_file): Don't call skip_line after calling get_string(1).
5692 * ps/ps.c (ps_printer::special, ps_printer::do_import,
5693 ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
5695 * xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
5698 Sat Sep 15 19:00:10 1990 James Clark (jjc at jclark)
5700 * troff/input.c (asciify): By default, illegal input characters
5701 should return empty string.
5703 * troff/input.c (copy_file): Handle first page transition like title.
5704 (token::next, process_input_stack): Grok COPY_FILE_REQUEST.
5706 * troff/input.c (token::next): Improve error message for EOF after
5708 (input_char_description): New function.
5709 (get_char_for_escape_name): Use input_char_description.
5710 (token::next): Warn about unrecognized escape sequences.
5711 (warning_table): Add WARN_ESCAPE.
5712 * troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
5715 * troff/token.h: Remove declaration of process_input_stack.
5717 * troff/input.c: Remove declaration of init_hyphen_requests.
5718 * troff/request.h: Correct spelling in declaration of same.
5720 * troff/input.c (token::next): Check whether escape_char is 0.
5722 Fri Sep 14 12:09:25 1990 James Clark (jjc at jclark)
5724 * groff.c (main, usage, help): Implement -P and -L options.
5725 * groff.sh: Likewise.
5727 * troff/input.c (token::next): Use some gotos to avoid code
5730 * troff/input.c (get_long_name, get_name, read_long_ecsape_name):
5731 Avoid calling symbol::symbol if name empty.
5733 Thu Sep 13 06:21:45 1990 James Clark (jjc at jclark)
5735 * troff/input.c (init_input_requests): Make \n(.x return the major
5736 version number and \n(.y return the minor version number.
5737 * troff/Makefile: Construct file majorminor.c defining
5738 major_version and minor_version automatically from ../VERSION.
5740 * troff/node.c (class glyph_node): Make operator new and operator
5742 (class ligature_node): Similarily.
5744 * troff/input.c (operator==(const macro &, const macro &)): New
5746 (non_interpreted_node::same): Use this.
5747 (string_iterator::string_iterator): Make macro& argument const.
5749 * troff/input.c (input_iterator::get): New function. Don't make
5750 asciify_macro or class non_interpreted_node friends of class
5752 (non_interpreted_node::interpret): Use input_iterator::get.
5753 (asciify_macro): Likewise.
5755 * troff/input.c (~token_node, ~string_iterator, ~arg_list,
5756 ~non_interpreted_node): Deleted.
5757 * troff/node.c: (~suppress_output_file, ~ascii_output_file):
5760 * troff/symbol.h: Make all symbol member functions const.
5762 * lib/strtol.c: New file.
5763 * lib/Makefile: Add strtol.c.
5764 * Makefile: Define STRTOL as strtol.o to include strtol in
5767 Wed Sep 12 10:00:49 1990 James Clark (jjc at jclark)
5769 * pic/troff.c (troff_output::simple_circle): Divide by scale.
5771 Tue Sep 11 14:17:16 1990 James Clark (jjc at jclark)
5773 * troff/input.c (do_special): Use input_level.
5775 * troff/token.h (TOKEN_BACKSPACE): New token.
5776 (token::backspace): New function.
5777 * troff/input.c (token::description, token::next, token::process):
5778 Grok TOKEN_BACKSPACE.
5779 (do_special): Turn TOKEN_BACKSPACE back into \b.
5781 * troff/token.h (token::leader): New function.
5782 * troff/input.c (do_special): Turn TOKEN_LEADER back into \001.
5784 * troff/input.c (do_special): Turn TOKEN_TAB back into \t.
5786 * troff/input.c (do_special): Use token::description in error
5789 Mon Sep 10 11:06:27 1990 James Clark (jjc at jclark)
5791 * troff/input.c (decode_args): Combine quoted and
5792 quote_input_level variables. Make it a for (;;) loop.
5794 * troff/input.c (get_char_for_escape_name): Check for \001 and \b.
5796 * troff/input.c (read_long_escape_name): The test for whether to
5797 expand buffer was off by 1.
5798 (read_string): Similarily.
5800 Fri Sep 7 11:45:50 1990 James Clark (jjc at jclark)
5802 * troff/input.c: Use `const int' rather than `static const int'.
5804 * troff/div.h (diversion::copy_file): Declare as pure virtual.
5805 (macro_diversion::copy_file): New function.
5806 * troff/node.h: New class diverted_copy_file_node.
5807 * troff/node.c: Implement it.
5808 * troff/input.c (copy_file): Use diversion::copy_file. Handle
5809 first page transition by pushing a diverted_copy_file_node.
5810 * troff/input.c (token::next, process_input_stack): Don't handle
5813 Thu Sep 6 13:29:10 1990 James Clark (jjc at jclark)
5815 * ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
5816 whether space widths need adjusting.
5818 * troff/charinfo.h: Generalize translated_to_space to
5819 special_translation so as to allow translation to \&.
5820 * troff/input.c (translate): Allow translation to \&.
5821 (charinfo::*): Corresponding changes.
5822 * troff/node.c (make_node, node::add_char): Corresponding changes.
5823 * troff/node.h (dummy_node::dummy_node): Allow optional first
5826 * lib/lib.h: Make codes 0200 to 0237 illegal input characters.
5827 * troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
5829 * troff/input.c (token::next): Turn a TITLE_REQUEST into a
5830 TOKEN_REQUEST with an argument of TITLE_REQUEST.
5831 (token::process): Grok that.
5832 * troff/input.c (copy_file): Handle first page transition like
5833 title by pushing a COPY_FILE_REQUEST cookie.
5834 (token::next, process_input_stack): Grok that.
5835 * troff/node.h (output_file::copy_file): Add x and y arguments.
5837 * troff/div.c (top_level_diversion::copy_file): Supply them.
5838 * troff/node.c (troff_output_file::copy_file): Add x and y
5839 arguments; moveto specified position. Invalidate font_position
5840 array after copying file.
5841 (output_file::copy_file): New function.
5842 (suppressed_output_file::copy_file, ascii_output::copy_file):
5844 * troff/input.c (transparent_file): New function.
5845 (init_input_requests): Bind to "trf".
5846 (token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
5847 (process_input_stack): Likewise.
5849 * troff/Makefile: Add ../lib/lib.h to GROFF_H.
5851 * troff/node.c (init_node_requests): New number registers .kern
5852 pointing to global_kern_mode, and .lg pointing to
5853 global_ligature_mode.
5855 * troff/node.c (ligature): Don't change it if we get a bad
5858 * troff/input.c (do_define_string): Don't strip tabs.
5860 * troff/input.c (asciify_macro): Make the string_iterator auto.
5862 * troff/node.c (init_font_requests): Rename to...
5863 (init_node_requests):
5864 * troff/node.h: Change declaration.
5865 * troff/input.c (main): Change call.
5867 * troff/input.c (node::reread, diverted_space_node::reread): New
5869 (process_input_stack): Call reread rather than
5870 get_diverted_space_node.
5871 * troff/node.c (node::get_diverted_space_node,
5872 diverted_space_node::get_diverted_space_node): Removed.
5873 * troff/node.h: Declare reread methods instead of
5874 get_diverted_space_node methods. Make `n' member private.
5875 * troff/input.c: (token::diverted_space): Removed.
5876 * troff/token.h: Removed declaration.
5879 Tue Sep 4 00:48:04 1990 James Clark (jjc at jclark)
5881 * eqn/script.c (script_box::compute_metrics): Don't let
5882 SUP_RAISE_FORMAT become negative.
5884 * tbl/table.c (table::do_row): Entries that don't end in the
5885 this row shouldn't make the row non-blank.
5887 * tbl/table.c (table::make_columns_equal): Only set the width of
5888 columns which are marked as equal.
5890 * tbl/main.c (process_data): Before issuing excess data error,
5891 if last character was a newline unget it; then get it again after
5892 the error. Also include the contents of the entry in the message.
5894 * groff.c: New file.
5895 * Makefile: Build groff from groff.c. Make it possible to use
5896 either groff.sh or groff.c as groff.
5897 * Makefile.bd: Similarily.
5899 Mon Sep 3 09:39:49 1990 James Clark (jjc at jclark)
5901 * groff.sh: Don't delay expansion of $@ in assignment to files.
5902 Remove occurrences of \".
5904 Sun Sep 2 09:56:59 1990 James Clark (jjc at jclark)
5906 * all Makefiles: Simplify and rearrange.
5908 * Makefile: Handle fmod like malloc.
5909 * lib/Makefile: Similarily.
5910 * lib/fmod.c: Remove #ifdef NEED_FMOD.
5912 * Makefile: Rename OPTIMISE to OPTIMIZE.
5914 * groff.sh: Remove assignment to PATH.
5915 * Makefile: Remove SHPATH variable.
5916 * Makefile.bd: Similarily.
5918 * groff.sh: Add -V option to print the pipeline instead of
5921 Fri Aug 31 00:56:46 1990 James Clark (jjc at jclark)
5923 * lib/font.c: Split off file searching into ...
5924 * lib/fontfile.c: New file.
5926 * lib/strerror.c (strerror): Use `Error %d' for unknown errors.
5928 Thu Aug 30 13:13:55 1990 James Clark (jjc at jclark)
5930 * tbl/table.c (table::do_hspan): Delete assertion that e != 0.
5931 Also change misleading comment.
5932 (table::do_vspan): Change similarily misleading comment.
5933 * tbl/main.c (process_data): A format row with an explicit `s'
5934 uses up a data line, even if all the other columns are `_' or `='.
5936 * troff/input.c (token::description): Fix description of
5937 TOKEN_DUMMY and TOKEN_EMPTY.
5939 Wed Aug 29 04:12:08 1990 James Clark (jjc at jclark)
5941 * groff.sh: Fix description of -Z in help message.
5943 Tue Aug 28 07:28:33 1990 James Clark (jjc at jclark)
5945 * pic/object.c (object_spec::make_object): Allow negative and zero
5947 * pic/pic.y: Give linethick default value of -1.0.
5948 * pic/troff.c (troff_output::troff_output): Initialize
5949 last_line_thickness to BAD_THICKNESS.
5950 (troff_output::finish_picture): Set thickness to BAD_THICKNESS.
5951 (troff_output::line_thickness): Canonicalize negative thicknesses
5952 to RELATIVE_THICKNESS.
5953 * pic/tex.c (tex_output::set_pen_size): Silently map negative line
5954 thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
5956 (tex_output::start_picture): Set pen_size to -2.0.
5958 * ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
5959 0, then use 0 linewidth.
5960 (ps_printer::ps_printer): Initialize line_thickness to -1.
5962 * pic/troff.c (troff_output::simple_ellipse): Divide by scale.
5964 * ps/devps/symbolchars: Remove `or'.
5965 * ps/tmac.ps: Implement \(or with .char.
5967 * ps/devps/symbolchars: Move most characters into textmap.
5968 * ps/devps/textmap: Add names for troff bracket characters. Remove
5971 * ps/devps/TSymbol.ps: Removed.
5972 * ps/devps/FontMakefile: Make S from Symbol not TSymbol.
5973 * ps/tmac.ps: Do with .char what TSymbol did.
5974 * ps/devps/download: Remove TSymbol.
5976 * ps/devps/T: Removed.
5977 * ps/devps/Troff.ps: Removed.
5978 * ps/devps/Troff.afm: Removed.
5979 * ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
5980 * ps/devps/download: Remove Troff.
5981 * ps/devps/FontMakefile: Remove T target.
5982 * ps/devps/DESC-A4: Remove T from font list.
5983 * ps/devps/DESC-letter: Likewise.
5985 * troff/input.c (macro_to_node): Rename to ...
5986 (charinfo_to_node): Don't pass mac argument. Temporarily remove the
5987 character's definition while processing it.
5988 * troff/node.c (node::add_char, make_node): Change calls to
5989 macro_to_node accordingly.
5991 * troff/input.c (token::next): Translate \_ to \(ul.
5993 * tty/devascii/R.proto: Add `|'.
5994 * tty/devlatin1/R.proto: Likewise.
5996 Mon Aug 27 11:25:41 1990 James Clark (jjc at jclark)
5998 * man: Put the version number in all the man pages.
6000 Sun Aug 26 11:40:05 1990 James Clark (jjc at jclark)
6002 * Makefile.bd: New file.
6003 * README.bd: New file.
6005 * VERSION: New file.
6006 * lib/version.c: Removed.
6007 * lib/Makefile: Create version.c from ../VERSION. Remove version.c
6010 * troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
6011 environment variable.
6013 * all Makefiles: Split install target into install.bin for
6014 binaries, and install.nobin for everything else.
6015 * Makefile: Add bindist target.
6017 * man/afmtodit.man: New file.
6018 * man/Makefile: Add afmtodit.n to MAN1PAGES.
6019 * ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
6021 * ps/Makefile: Pass BINDIR to make install in devps.
6023 * ps/ps.c (ps_printer::set_char): Do nothing if the character is
6024 the space character.
6026 * ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.
6028 Sat Aug 25 15:39:03 1990 James Clark (jjc at jclark)
6030 * ps/ps.c: Redo font downloading.
6031 * ps/devps/download: New file.
6032 * ps/devps/Makefile: Add download to DEVICEFILES.
6033 * ps/devps/afmtodit: Remove -d option.
6034 * ps/devps/FontMakefile: Don't use -d option with afmtodit.
6035 * ps/devps/symbosl.ps: Add %%DocumentFonts comment.
6036 * ps/devps/zapfdr.ps: Likewise.
6037 * ps/devps/TSymbol.ps: Likewise.
6039 Fri Aug 24 20:10:30 1990 James Clark (jjc at jclark)
6041 * groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.
6043 Thu Aug 23 10:03:47 1990 James Clark (jjc at yquem)
6045 * ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
6046 then strip the first line if it starts with %.
6047 * Makefile: Add a comment about this.
6049 * man/tfmtodit.man: New file.
6050 * man/Makefile: Add tfmtodit.n to MAN1PAGES.
6051 * dvi/Makefile: Install tfmtodit in BINDIR.
6053 * dvi/tfmtodit.c (usage): Mention -v option.
6055 Wed Aug 22 09:56:36 1990 James Clark (jjc at yquem)
6057 * troff/node.c (troff_output_file::end_of_line): Call do_motion.
6058 * troff/node.c (troff_output_file::transparent_char): Don't call
6061 * eqn: Add check_tabs method to most box classes.
6062 * eqn/box.c (box::top_level): Call check_tabs.
6064 * eqn/script.c (script_box::output): Use \Z.
6065 * eqn/limit.c (limit_box::output): Use \Z.
6067 * eqn/box.c (box::top_level): Use itoa.
6069 Tue Aug 21 09:29:28 1990 James Clark (jjc at yquem)
6071 * dvi/tmac.dvi: Add font translations for CR, C, TT.
6072 * dvi/devdvi/Makefile: Don't make links to CW.
6074 * ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
6076 * xditview/tmac.X: Likewise.
6078 * troff/node.c: Add font translation feature.
6079 (get_font_translation): New function.
6080 (symbol_fontno): Translate the font name.
6081 (mount_font_no_translate): Rename to mount_font to this.
6082 (mount_font): New function.
6083 (font_family::make_definite): Call mount_font_no_translate instead
6085 (mount_style): Translate the font name.
6086 (font_translate): New function.
6087 (init_font_requests): Bind "ftr" to font_translate.
6089 * ps/devps/prologue (SN): New procedure that rounds a position to
6090 the nearest (pixel + (.25,.25)).
6091 (DL): Use SN to round endpoints.
6093 * lib/version.c: Changed version to 0.5.
6095 Sat Aug 18 04:43:21 1990 James Clark (jjc at yquem)
6097 * Makefile: Move definition of PAGE to the very beginning, so that
6098 people are less likely to miss it.
6100 Fri Aug 17 02:15:11 1990 James Clark (jjc at yquem)
6102 * man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.
6104 * troff/env.c (environment::choose_breakpoint): Make `can't find
6105 breakpoint' error a warning of type WARN_BREAK. Change message to
6107 * troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
6109 * troff/input.c: Add WARN_BREAK to warning_table. Include
6110 WARN_BREAK in DEFAULT_WARNING_MASK.
6112 * tty/tmac.tty: Add definition of \(+-.
6114 * groff.sh: Remove `--' option to set command.
6116 * dvi/devdvi/texsy.map: Remove duplicate md entry.
6118 * ps/devps/eqnchar: Better definition of cdot using md.
6119 * dvi/devdvi/eqnchar: Likewise.
6120 * xditview/devX100/eqnchar: Likewise.
6121 * xditview/devX75/eqnchar: Likewise.
6122 * eqn/lex.c: Add definition of cdot.
6124 Thu Aug 16 09:33:57 1990 James Clark (jjc at yquem)
6126 * troff/input.c (get_optional_char): New function.
6127 * troff/input.c (set_page_character): Use get_optional_char(),
6128 rather than has_arg() and tok.get_char(1).
6129 * troff/env.c (tab_character, leader_character, hyphen_char,
6130 field_characters): Likewise.
6131 (margin_character): Likewise. Also always delete the
6132 margin_character_node.
6134 * troff/input.c (token::get_char): Use token::description.
6136 * troff/input.c (has_arg): Don't skip over tab and \}.
6137 * troff/number.c (start_number): Give a warning if the number
6138 starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).
6140 Wed Aug 15 10:04:37 1990 James Clark (jjc at yquem)
6142 * troff/input.c (empty_name_warning, non_empty_name_warning): New
6144 (get_name, get_long_name): Use these. Rename `warn' argument to
6147 * troff/node.c (get_fontno): Test that the symbol is not null.
6149 * troff/input.c (token::description): New function.
6150 * troff/number.c (parse_term): Use token::description in `numeric
6151 expression expected' message.
6152 * troff/groff.h: Add WARN_MISSING.
6153 * troff/number.c (start_number): New function.
6154 * troff/number.c (get_vunits, get_hunits, get_number, get_integer,
6155 get_incr_number): Use start_number().
6156 * troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
6158 * troff/input.c (get_name, get_long_name): Use WARN_MISSING.
6159 * troff/reg.c (alter_format): Use WARN_MISSING. Also use
6161 * troff/input.c (token::get_char): Use WARN_MISSING.
6162 * troff/input.c (token::delimiter): Use token::description.
6163 * troff/env.c (environment_switch): Back out Aug 3 change.
6164 * troff/input.c (has_arg): Skip over \}s and tabs but give a
6166 * troff/token.h (token::tab): New function.
6167 * troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
6168 * troff/reg.c (alter_format): Likewise.
6169 * troff/node.c (bold_font): Use has_arg() rather than tok.skip().
6171 Tue Aug 14 10:11:21 1990 James Clark (jjc at yquem)
6173 * troff (most files): Redo warnings. Divide warnings into various
6174 categories; warning() has an additional first argument indicating
6175 the category it falls into.
6176 * troff/input.c (main): -w now takes an argument. New option -W.
6177 (enable_warning, disable_warning): New functions.
6179 * ps/devps/afmtodit: Add -a option to lie about the italic angle.
6180 * ps/devps/FontMakefile: Pretend TI has an angle of 7.
6182 Mon Aug 13 10:11:16 1990 James Clark (jjc at yquem)
6184 * ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
6185 * xditview/devX100/eqnchar: Likewise. Remove definition of dot.
6186 * xditview/devX75/eqnchar: Likewise.
6187 * dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.
6189 * eqn/other.c: When bar or over applies to a single character
6190 don't produce an overline_box or an underline_box. Instead produce
6191 an accent_box or an underaccent_box, with the accent a line
6192 whose width is accent_width. New classes underaccent_box,
6193 overline_char_box and underline_char_box.
6194 * eqn/box.h: Move overline_box, underline_box, accent_box class
6195 declarations into eqn/other.c. Add declarations of
6196 make_underline_box, make_overline_box, make_accent_box.
6197 * eqn/eqn.y: Call make_overline_box, make_underline_box
6198 make_accent_box instead of constructors.
6199 * eqn/pbox.h, eqn/box.c: Add accent_width parameter.
6201 * eqn/other.c: Add accent_box::~accent_box.
6202 * eqn/box.h: Declare it.
6204 * groff.sh: With -Tps, use eqn -D.
6206 * eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
6208 (underline_box::output): Similarily.
6209 (accent_box::output): Use \Z.
6211 * xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
6214 Sun Aug 12 09:41:15 1990 James Clark (jjc at yquem)
6216 * troff/div.c (top_level_diversion::transparent_output(unsigned
6217 char)): Use asciify.
6218 * troff/input.c (asciify): Don't make it static.
6219 * troff/token.h (asciify): Declare it.
6221 * troff/input.c (get_name, get_long_name, token::get_char,
6222 token::delimiter): Add an extra default argument which says
6223 whether a warning should be printed.
6224 * troff: Pass a non-zero argument to one of these rather than
6225 printing a warning directly.
6227 Sat Aug 11 09:02:21 1990 James Clark (jjc at yquem)
6229 * troff: Consistently use symbol::is_null.
6231 * troff/dictionary.h: Move some inline functions into
6234 * troff/request.h: Move inline functions into input.c.
6235 (request_or_macro::invoke): Make it pure.
6237 * troff/input.c, troff/reg.h: New class `constant_int_reg'.
6238 * troff/input.c (init_input_requests): Use class constant_int_reg.
6239 (class compatible_reg): Deleted.
6240 * troff/div.c (init_div_requests): Use class constant_int_reg.
6241 (class last_post_line_extra_space_reg): Deleted.
6243 * troff/env.c (tab_character): Don't change the tab character if
6244 we get an invalid argument.
6245 (hyphen_char): Similarily.
6247 * troff/reg.c (alter_format): Check that nm is not null.
6249 * Makefile, groff.sh: Make it possible to customize the commands
6250 used for printing PostScript and dvi files. Also make it possible
6251 to customize the path used by groff.sh.
6253 * eqn/eqn.y: Make `left' right associative.
6255 Fri Aug 10 18:20:39 1990 James Clark (jjc at yquem)
6257 * pic/pic.h: Added definition of M_SQRT2 for those systems that
6260 * pic/pic.h: Removed definition of INT_MAX.
6262 * troff/node.c (italic_corrected_node::vertical_extent): Omit
6265 * troff/input.c (token::next): Handle \R like \n.
6267 Tue Aug 7 09:46:33 1990 James Clark (jjc at yquem)
6269 * ps/tmac.pc (PSPIC): Simplify.
6271 * troff/env.c (tab_stops::to_string):
6272 * pic/pic.y (object_type_name):
6273 * pic/troff.c (simple_output::line):
6274 * pic/tex.c (tex_output::spline):
6275 * pic/object.c (object_spec::make_object):
6276 * tbl/main.c (process_data): Add cases to switch statements to
6277 avoid cfront warnings. (Some of these are spurious, since the
6278 switch already has a default case.)
6280 * ps/tmac.ps (PSPIC): Reformatted. Prefix all local names with
6281 `ps-'. Don't test systat; instead check number of arguments to
6284 Mon Aug 6 00:13:07 1990 James Clark (jjc at yquem)
6286 * macros/tmac.e: Do not decrease the page offset by 0.5i.
6288 * ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
6289 Unlink the file as soon as we have opened it, so that we don't
6290 have to bother with signal handlers.
6292 (fatal_error_exit): Deleted.
6293 (main): Don't call signal.
6295 * dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
6297 * dvi/devdvi/Makefile: Use the -k option with S and MI.
6299 * pic/pic.y: If there is a label, or an nth construction before
6300 the first `.' in the argument to `with', ignore it and generate a
6302 * pic/lex.c (lex_warning): New function.
6304 * tbl/table.c (table::init_output): In section keep and release
6305 macro, use 0 indent when diverting and the correct indent when
6308 * troff/input.c (interpolate_number_format): Do not interpolate
6309 anything if the number register is not defined.
6311 * tbl/main.c (process_data): Don't add entry when col >= ncolumns.
6313 Sat Aug 4 08:12:05 1990 James Clark (jjc at yquem)
6315 * ps/devps/prologue (PICTURE): Set components of graphics state to
6316 their default values.
6318 * ps/devps/text.enc: Add trademark
6319 * ps/devps/textmap: Add names for club, spade, heart, diamond,
6320 carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
6321 * ps/devps/symbolchars: Add names for summation and product.
6323 * dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
6324 suchthat. Add pp. Add upper-case letters.
6326 * xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
6327 diamond, carriagereturn, suchthat. Use Upsilon1 rather than
6330 * dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
6331 rA (right angle bracket) to ra. Introduce names for double-headed
6332 arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
6333 * ps/devps/textmap: Likewise for ps device.
6334 * xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
6335 * tty/devascii/R.proto: Rename lA to la and rA to ra.
6336 * tty/devascii/R.proto: Likewise.
6337 * tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
6339 * eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.
6341 * xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.
6343 * eqn/lex.c: Added definitions of `approx', `grad' and `del' to
6346 Fri Aug 3 09:59:27 1990 James Clark (jjc at yquem)
6348 * troff/div.c (when_request): Use symbol::is_null rather than
6349 has_arg to determine whether we have an argument.
6350 (change_trap): Remove the trap if we get an invalid number. Give
6351 an error if we don't get at least the macro name.
6352 (diversion_trap): Remove trap if we get an invalid name or number.
6354 * troff/env.c (environment_switch): Pop if we get an invalid
6355 symbol or numeric expression.
6357 * troff/input.c (do_define_macro): If EOF is encoutered while
6358 defining the macro, do tok.next() before returning.
6360 * troff/token.h (has_arg): Move definition from here, to ...
6361 * troff/input.c (has_arg): ... here
6363 * troff/env.c (space_size): Do nothing if we get an invalid argument.
6364 * troff/input.c (shift): Likewise.
6366 * pic/lex.c (get_token_after_dot): Accept `.center' as a synonym
6369 * pic/troff.c (troff_output::start_picture): Comment out calls to
6372 * eqn/main.c (do_file): Subtract 1 from current_lineno if
6373 interpret_lf_args succeeds.
6375 * eqn/main.c (do_file): Don't recognize delimiter if preceded by
6376 \\. This avoids problems with \$N.
6378 * groff.sh: Pass -C to preprocessors.
6380 * lib/lf.c (interpret_lf_args): Be more flexible.
6382 * tbl/main.c (main): Add -C option.
6383 (table_input::get): Do not recognize TE if followed by character
6384 other than a space or newline unless -C option given.
6385 (process_input_file): Likewise for lf, TS.
6386 (process_data): Likewise for lf in text blocks.
6388 * eqn/main.c (main): Add -C option.
6389 (do_file): Don't recognize EQ, EN or lf if followed by character
6390 other than space or newline unless -C option given.
6391 * eqn/lex.c (file_input::read_line): Similarily.
6392 * eqn/eqn.h: Declare compatible_flag.
6394 * etc/soelim.c (main): Add -C option.
6395 (interpret_lf_args): Use version in libgroff.
6398 * pic/main.c (main): Add -C option, which sets compatible_flag.
6399 (top_input::get), (top_input::peek): If -C option not given,
6400 do not recognize .PS/.PE/.PF/.lf if followed by a character
6401 other than space or newline.
6402 * pic/lex.c (file_input::read_line): Similarily.
6403 * pic/pic.h: Add declaration of compatible_flag.
6405 Thu Aug 2 11:11:27 1990 James Clark (jjc at yquem)
6407 * ps/tmac.ps (PSPIC): Avoid use of `echo -n'.
6409 * troff/node.c, troff/node.h: Add `asciify' methods to classes
6410 derived from node. New class space_char_hmotion_node.
6411 * troff/input.c (asciify_macro): New function.
6412 * troff/input.c (init_input_requests): New request `asciify' bound
6414 * macros/mm.diff: New file.
6415 * Makefile: In install.mm target use `patch' to apply
6418 * troff/input.c (macro::print_size): Just print the size in bytes.
6420 * troff/div.c (return_request): Correct the argument
6423 Wed Aug 1 12:38:36 1990 James Clark (jjc at yquem)
6425 * troff/node.h (class composite_node): Add sz member.
6426 * troff/node.c (composite_node::size): Return sz.
6427 * troff/input.c (macro_to_node): Use the initial size in the
6428 environment as the size of the composite_node.
6430 * troff/node.c (node::zero_width_tprint): Provide a reasonable
6433 Tue Jul 31 10:07:10 1990 James Clark (jjc at yquem)
6435 * troff/div.c (change_trap): If we get a bad number expression,
6438 Mon Jul 30 10:30:49 1990 James Clark (jjc at yquem)
6440 * lib/matherr.c (matherr): Define this only if math.h defines
6443 Sun Jul 29 10:34:27 1990 James Clark (jjc at yquem)
6445 * troff/div.c (macro_diversion::distance_to_next_trap): If there
6446 no diversion trap return vunits(INT_MAX - vresolution).
6448 Sat Jul 28 14:28:14 1990 James Clark (jjc at yquem)
6450 * troff/input.c (do_zero_width): New implementation that doesn't
6451 use a temporary environment. Use instead:
6452 (token::add_to_node_list): New function.
6453 * troff/env.c (environment::get_prev_char_height),
6454 (environment::get_prev_char_height),
6455 (environment::get_prev_char_skew): New functions.
6456 (environment::get_prev_char): New function.
6457 (environment::get_prev_char_width): Change to use get_prev_char.
6458 (init_env_request): Implement new registers .cht, .cdp, .csk.
6459 * eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
6460 \Z being processed in a separate environment.
6462 Fri Jul 27 10:21:25 1990 James Clark (jjc at yquem)
6464 * tbl/table.c: Removed TABLE_BOTTOM_REG.
6466 * tbl/table.c (table::init_output): In the section release macro,
6467 give a warning message if the section won't fit on one page.
6469 * tbl/table.c (table::do_top): Emit table keep only if table is
6471 (table::do_bottom): Likewise for table release.
6472 (table::table), (table::add_vertical_rule): Remove reference to
6474 * tbl/table.h: Remove keep member.
6476 * tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
6477 SECTION_RELEASE_MACRO, if there's not enough space before the next
6478 trap to output the diversion, call T# ourselves, set
6479 SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
6480 SUPPRESS_BOTTOM_REG back to 0. In T#, do nothing if
6481 SUPPRESS_BOTTOM_REG is non-zero. In T#, always mark the current
6482 vertical position and return to it before turning traps on again.
6484 Thu Jul 26 02:54:32 1990 James Clark (jjc at yquem)
6486 * troff/node.c, troff/node.h: In classes derived from node,
6487 replace prev_char_width method by last_char_node method.
6488 * troff/env.c (environment::get_prev_char_width): Use
6489 node::last_char_node rather than node::get_prev_char_width.
6491 * Makefile: Added comment about -fno-inline on 68030-based
6494 * troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
6495 tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
6496 expressions using sizeof to int.
6497 * dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.
6499 * macros/tmac.e (TS): Don't move @f back past the current
6502 Wed Jul 25 09:11:08 1990 James Clark (jjc at yquem)
6504 * ps/ps.c (main): Buffer stderr.
6505 * dvi/dvi.c (main): Likewise.
6506 * tty/tty.c (main): Likewise.
6508 * ps/ps.c (ps_printer::do_import): Improve error handling.
6510 * troff/input.c (abort_request): Use asciify.
6512 * driver/printer.h (printer::draw), driver/printer.c (printer::draw),
6513 ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
6514 type of first argument int rather than char. This works around a
6515 bug on the 68030 based Apollo using g++ 1.37.1.
6517 * tbl/table.h (class table): Add `keep' member.
6518 * tbl/table.c (table::table): Initialize `keep'.
6519 (table::add_vertical_rule): Set `keep' to 1.
6520 (table::do_top): Only emit table keep macro is `keep' is non-zero.
6521 (table::do_bottom): Likewise for table release macro.
6522 (table::do_row): Emit section keep macro even if the row is 0.
6524 Tue Jul 24 08:35:07 1990 James Clark (jjc at yquem)
6526 * macros/tmac.e (@C): Preserve the font family across the change
6529 Mon Jul 23 10:15:23 1990 James Clark (jjc at yquem)
6531 * lib/font.c: Initialize font::hor and font::vert to 1.
6532 (font::load_desc): Check the values of font::hor and font::vert.
6534 * lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
6535 be included in a C compilation.
6536 (iftoa): Use INT_DIGITS. Include lib.h.
6538 (as_string): Likewise.
6539 * tbl/table.c: Removed definition of INT_DIGITS.
6540 * eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
6541 * troff/input.c (input_input_requests): Likewise.
6542 * ps/ps.c (make_encoding_name): Likewise.
6543 (ps_printer::set_style): Likewise.
6544 (ps_output::put_number): Use 1 + INT_DIGITS + 1 instead of 12.
6546 * tty/devascii/R.proto: Map fm onto '.
6547 * tty/devlatin1/R.proto: Likewise.
6549 Sat Jul 21 12:45:07 1990 James Clark (jjc at yquem)
6551 * tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
6552 argument to \w is at a different input level.
6554 * tbl/table.c (table::init_output): Define a new macro
6555 REPEATED_VPT_MACRO, like vpt but if in a diversion also
6556 transparently outputs itself.
6557 (table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
6559 (table::do_row): Likewise.
6561 * tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
6562 TRANSPARENT_STRING_NAME.
6564 * tbl/table.c (table::init_output): In the table release macro
6565 print an error message and don't produce any output if after
6566 issuing the need request the table still will not fit. Also
6567 remove the diversion after bringing it back.
6569 * tbl/table.c (table::init_output): Define a new macro
6570 REPEATED_MARK_MACRO, like mk but if in a diversion also
6571 transparently outputs itself.
6572 (table::do_row): Mark row_top_reg using REPEATED_MARK_MACRO. This
6573 is necessary because .TH might not call .T#.
6574 (table::do_top): Likewise TOP_REG.
6575 (table::define_bottom_macro): If TOP_REG is no longer valid, use
6576 #T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
6577 table header might contain just the two top rules.
6579 Fri Jul 20 10:51:42 1990 James Clark (jjc at yquem)
6581 * troff/div.c: Implement new request `ptr' to print all traps.
6583 * troff/env.c (init_env_requests): Implement `.tabs' reg with
6584 init_string_env_reg.
6585 * troff/env.c (class tab_reg): Deleted.
6587 Thu Jul 19 12:07:16 1990 James Clark (jjc at yquem)
6589 * troff/div.c: New number register .pn returns the number of the
6590 next page as set by the pn request.
6592 * macros/tmac.an: Redid headers and footers. Number each manual
6593 entry starting from 1 unless \nC is > 0, like Sun. Added an
6594 optional 5th argument to .TH which specifies the manual name and
6595 appears in the center of the header. Understand the X, P and D
6598 Wed Jul 18 10:23:31 1990 James Clark (jjc at yquem)
6600 * troff/env.c (init_env_requests): New number register `.lt' to
6601 return the title length.
6603 * troff/node.h (class transparent_dummy_node): New class.
6604 * troff/node.c (class transparent_dummy_node): Provide member
6606 * troff/env.c (interrupt): Add a transparent_dummy_node, rather
6609 * troff/input.c (token::next): New escape sequence \).
6610 * troff/input.c (get_copy): Recognize \) in copy mode.
6612 * troff/input.c (input_stack::clear): New function.
6613 * troff/input.c (exit_request): Use input_stack::clear.
6615 * troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
6616 * troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.
6618 * troff/env.c: Move set_page_character to input.c. Move
6619 page_character to input.c also.
6620 * troff/env.c (title): Split off the reading of the parts of the
6621 title into read_title_parts.
6622 * troff/input.c (read_title_parts): New function. Check the
6623 input_level when testing whether a token matches the delimiter.
6625 * troff/input.c (exit_request): New function.
6626 * troff/input.c (init_input_requests): Bind ex request to
6627 exit_request rather than exit_groff.
6629 * troff/input.c (exit_groff): Call tok.next() before
6630 process_input_stack().
6632 Mon Jul 16 09:47:23 1990 James Clark (jjc at yquem)
6634 * troff/env.c: ifdef widow control support on WIDOW_CONTROL.
6635 * troff/env.h: ditto.
6636 * troff/input.c: ditto.
6638 * troff/env.c (environment::is_empty): Test pending_lines.
6640 * troff/env.c (environment::have_pending_lines): Removed.
6642 * troff/input.c: Add request to flush pending lines from the
6645 * troff/env.c, troff/env.h: Add automatic widow control feature.
6647 * troff/input.c (exit_groff): Do process_input_stack() after
6648 do_break() but before setting exit_flag to 2.
6650 * troff/input.c: Remove FLUSH_PENDING_LINES and
6651 TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
6652 environment after END_TRAP token seen, but only if there aren't
6653 any more traps still unfinished.
6654 * troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.
6656 Sun Jul 15 10:50:08 1990 James Clark (jjc at yquem)
6658 * troff/env.c: Rename the `retain_size' member of class
6659 pending_output_line to `no_fill'.
6661 * troff/env.c (title): When the line is output, make the
6662 retain_size argument !fill.
6664 * troff/node.h: Add `hyphenated' member to struct breakpoint.
6665 * troff/node.c (space_node::get_breakpoints),
6666 (dbreak_node::get_breakpoints): Fill this in.
6667 * troff/env.c: Allow specification of maximum number of
6668 consecutive hyphenated lines.
6670 * troff/env.c (environment::is_empty): Add test for !current_tab.
6672 Sat Jul 14 11:23:01 1990 James Clark (jjc at yquem)
6674 * troff/env.c (environment::hyphenate_line): Don't completely give
6675 up if the word is not to be hyphenated; continue so that breaks
6676 can be made at break_char_node's.
6678 * lib/lib.h: Only define INT_MAX if it's not already defined;
6679 undef INT_MIN if it's already defined.
6681 * Makefile: Make it easy to define CFRONT_ANSI_BUG.
6683 * lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
6684 This works around a bug in AT&T C++ 2.0 used with an ANSI C
6687 * macros/tmac.an (an-header): Set no-space mode.
6689 * macros/tmac.an (TH): Start a new page if necessary.
6691 * Started using ChangeLog at version 0.4.
6694 version-control: never