1 2000-03-08 Werner LEMBERG <wl@gnu.org>
3 * doc/Makefile: Added texput.log to the `clean' target.
4 * doc/groff.texinfo: Added info about delimiters for escapes.
6 2000-03-08 Bernd Warken <bwarken@mayn.de>
8 * src/preproc/pic/pic.man: Add info on conversion of pic images to
11 2000-03-07 OKAZAKI Tetsurou <okazaki@be.to>
13 * Makefile.in, contrib/mm/Makefile.sub, src/preproc/eqn/Makefile.sub,
14 src/roff/groff/Makefile.sub, src/roff/nroff/Makefile.sub,
15 src/utils/afmtodit/Makefile.sub: Use $(INSTALL_SCRIPT) for script
18 2000-03-07 Werner LEMBERG <wl@gnu.org>
20 * doc/groff.texinfo: Spelling fixes.
22 2000-03-06 Werner LEMBERG <wl@gnu.org>
24 * tmac/groff_man.man: Completely revised to cover everything in
27 * doc/groff.texinfo, src/roff/troff/troff.man: Document evc request.
29 * src/roff/troff/env.cc (environment_copy): Improve error message and
31 * src/roff/troff/TODO: Updated.
33 * doc/Makefile: Bug fixes -- this is still provisional, though...
35 * tmac/eqnrc: Small fixes.
37 2000-03-05 Abramo Bagnara <abramo@alsa-project.org>
39 Adding a request `evc' to copy environments.
41 * src/roff/troff/env.cc (environment::copy, environment_copy):
43 * src/roff/troff/env.h: Add prototype.
45 2000-03-05 Francisco Andres Verdu <pandres@dragonet.es>
47 Adding strsep() -- Solaris 8 doesn't have it.
49 * configure.in: Test it.
50 * src/devices/grolbp/lbp.cc: Add code.
52 2000-03-05 Werner LEMBERG <wl@gnu.org>
54 * src/roff/troff/div.cc (macro_diversion::output,
55 top_level_diversion::output): Fixing an incompatibility with
56 original troff: \x'0' updates the .a register also. Thanks to
57 <Andries.Brouwer@cwi.nl> for pointing this out.
58 * doc/groff.texinfo: Document it.
60 * Makefile.in: Create Makefile.dep if necessary before calling the
61 submake process to avoid warning about nonexistent file.
63 * NEWS, PROJECTS: Updated.
65 2000-03-04 Werner LEMBERG <wl@gnu.org>
67 * tmac/troffrc: Add tmac.lbp.
69 2000-03-03 Francisco Andres Verdu <pandres@dragonet.es>
71 * tmac/tmac.lbp: New file.
72 * src/devices/grolbp/grolbp.man: Add documentation of `lbpname'
75 2000-03-03 Werner LEMBERG <wl@gnu.org>
77 * Makefile.in: Fixing $(subdir).
79 * README, NEWS: Small fixes.
81 * test-groff: Adding path to grolbp.
83 * configure.in: The (new) file src/xditview/Imakefile.in will be
84 also configured -- it is now possible to build gxditview in a
85 directory different from $srcdir.
87 2000-03-02 Blake McBride <blake@florida-software.com>
89 * src/libs/libgroff/searchpath.cc (open_file): Adapting to WinNT.
91 * MORE.STUFF: Added website of bell labs and info about plot2dev.
93 2000-03-01 Colin Phipps <crp22@cam.ac.uk>
95 * src/utils/indxbib/indxbib.cc (main): Use mkstemp() for temporary
98 2000-02-29 Werner LEMBERG <wl@gnu.org>
100 Adding GNU getopt to the groff distribution.
102 * src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
104 * src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
105 * aclocal.a4: Remove GROFF_GETOPT function.
106 * configure.in, Makefile.in, PROBLEMS: Update.
107 * src/include/lib.h: Replace getopt tests with getopt.h.
108 * src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.
110 * doc/groff.texinfo: Further checking/updating. Adding more index
113 * man/groff_out.man: Fix nroff mode activation (for emacs).
114 * man/groff_font.man: Add missing ligature.
116 2000-02-28 Werner LEMBERG <wl@gnu.org>
118 * doc/groff.texinfo: Further checking/updating. Adding more index
121 * src/devices/grolbp/grolbp.man: Added a comment line at the
122 beginning of the file (similar to shell scripts) which indicates
123 that `tbl' should be used as a preprocessor.
125 2000-02-27 Blake McBride <blake@florida-software.com>
127 Adapting groff to MS Visual C++ 6.0 compiler (tested with
128 Windows NT 4.0). Uses _MSC_VER define where necessary.
130 * src/devices/grodvi/dvi.cc: Making stdout a binary stream.
131 * src/devices/grolj4/lj4.cc: Making getopt variables `extern "C"'.
132 * src/devices/grohtml/html.cc, src/devices/grops/ps.cc,
133 src/include/lib.h, src/libs/libgroff/errarg.cc,
134 src/libs/libgroff/itoa.c, src/libs/libgroff/nametoindex.cc,
135 src/preproc/refer/label.y, src/preproc/refer/label.cc,
136 src/roff/groff/pipeline.c, src/roff/troff/column.cc,
137 src/roff/troff/div.cc, src/roff/troff/env.cc,
138 src/roff/troff/input.cc, src/roff/troff/node.cc,
139 src/roff/troff/reg.cc: Renaming itoa() to i_to_a() and iftoa() to
140 if_to_a() to avoid name clashes.
141 * src/include/posix.h: Don't use unistd.h.
142 * src/libs/libgroff/tmpfile.cc: Use `#ifndef...#else...#endif'
143 clause for integrating non-Unix xtmpfile() code.
144 * src/roff/troff/input.cc: Adding `public' keyword to macro_header
145 structure; use "rt" for popen() in pipe_source(); add getpid()
147 * src/roff/troff/node.cc: Use special versions of popen() in
148 real_output_file() and pclose() in ~real_output_file().
150 2000-02-27 Werner LEMBERG <wl@gnu.org>
152 Adding a new driver, grolbp, for Canon CAPSL printers (LBP-4 and
153 LBP-8 series laser printers). This code has been contributed by
154 Francisco Andres Verdu <pandres@dragonet.es>.
156 * src/devices/grolbp/*: The grolbp output device.
157 * font/devlpb/*: The font description files.
158 * Makefile.in: Add grolpb and devlbp subdirectories.
160 * src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
161 src/devices/grotty/grotty.man,src/roff/troff/troff.man: Minor
164 * doc/groff.texinfo: Further checking/updating. Adding more index
169 * src/devices/grolbp/Makefile.sub: Adding $(srcdir).
171 * man/groff_font.man: Adding info about obsolete DESC keywords.
172 * src/devices/grolj4/grolj4.man: Documenting additional DESC
175 2000-02-26 Werner LEMBERG <wl@gnu.org>
177 * src/preproc/grn/grn.man: Added info about the gremlin file format
178 (contributed by Daniel Senderowicz <daniel@synchrods.com>).
180 2000-02-25 Werner LEMBERG <wl@gnu.org>
182 * src/preproc/grn/main.cc: Allow values of `narrow' parameter and
183 friends to be non-integer.
185 * src/preproc/grn/grn.man: Document it.
187 * doc/groff.texinfo: Further checking/updating. Adding more index
190 2000-02-24 Werner LEMBERG <wl@gnu.org>
192 * src/preproc/grn/main.cc: Introduce BASE_THICKNESS, defining
193 line thicknesses to be integer multiples of this value.
195 * src/preproc/grn/grn.man: Commenting out the -s option -- the
196 corresponding code doesn't work (yet).
198 * doc/groff.texinfo: Further checking/updating. Adding more index
201 2000-02-23 Werner LEMBERG <wl@gnu.org>
203 * src/preproc/grn/{main.cc, hgraph.cc}: Using point units to
204 specify line thickness instead of base units. The new default
205 values are now 0.15,pt 0.45pt, and 0.75pt for thin, middle, and
206 thick lines respectively.
208 Removed unused variable `prevval'.
210 * src/preproc/grn/grn.man: Updated.
212 2000-02-22 Werner LEMBERG <wl@gnu.org>
214 * src/preproc/grn/main.cc: Slight formatting.
216 * src/roff/groff/groff.man: Formatting fix.
217 * src/preproc/grn/grn.man: Ditto.
219 * src/roff/grog/grog.pl: Fixing two embarassing bugs.
221 * doc/groff.texinfo: Further checking/updating.
223 2000-02-21 Werner LEMBERG <wl@gnu.org>
225 * README, INSTALL, PROJECT, PROBLEMS, BUGREPORT: Updated.
227 * test-groff: Added grn subdir to path.
229 * doc/groff.texinfo: Some restructing and other small improvements.
231 * src/roff/groff/groff.cc (help): Fixed info string.
233 2000-02-20 Werner LEMBERG <wl@gnu.org>
235 * doc/meref.me: Fix description of .GS request.
237 * src/roff/troff/troff.man: Fixing typo.
239 Adding the `grn' preprocessor for gremlin graphic files.
241 * src/preproc/grn/*: This is the Berkeley distribution written by
242 David Slattengren and Barry Roitblat, adapted to groff by Daniel
243 Senderowicz and Werner Lemberg.
245 * doc/grnexampl.{me,g}: A sample for grn.
247 * Makefile.in: Added subdirectory entry for grn.
249 * src/roff/groff/groff.cc: Added support for grn. It can be now
250 called with the switch `-g'.
252 * src/roff/groff/groff.man: Updated.
254 * src/roff/grog/grog.{man,pl,sh}: Updated.
258 2000-02-11 Gaius Mulley <gaius@glam.ac.uk>
260 * src/include/lib.h: Added xtmptemplate and made xtmpfile
261 parametrically polymorphic.
263 * src/libs/libgroff/tmpfile.cc: Implemented xtmptemplate
264 and the alterations to xtmpfile.
265 xtmpfile can be requested to return the filename created
266 and asked not to unlink the temp file. The default behaviour
267 if parameters are absent is exactly the same as before.
269 2000-02-11 Abramo Bagnara <abramo@alsa-project.org>
271 A new request `length' is available which returns the length of a
272 string in a number register:
274 * src/roff/troff/input.cc (length_macro): Implement it.
275 * src/roff/troff/input.cc (init_input_requests): Register it.
277 2000-02-11 Werner LEMBERG <wl@gnu.org>
279 * doc/groff.texinfo, src/roff/troff/troff.man: Add documentation
280 of the `substring' request.
282 * src/roff/troff/troff.man, doc/groff.texinfo: Document `length'
285 * src/roff/troff/TODO, NEWS: Updated.
287 2000-02-09 Werner LEMBERG <wl@gnu.org>
289 * src/roff/groff/groff.man: Added an example.
291 2000-02-06 Werner LEMBERG <wl@gnu.org>
293 I've considerably modified the directory structure of the
294 distribution to get a more vertical layout. For example, the number
295 of top level directories has been reduced from 42 to 6.
297 As a consequence, many changes, especially to the makefiles, were
300 * The makefile variables `top_builddir' and `top_srcdir' have been
301 introduced. Virtually all relative paths have been replaced with
302 absolute ones using these two variables.
304 * Dependencies (in the files `Makefile.dep') are no longer part of
305 the distribution. Instead, they are created during a `make install'
306 in the build directory.
308 * aclocal.m4 (GROFF_SRCDIR, GROFF_BUILDDIR): Two new functions to
309 make `top_srcdir' and `top_builddir' absolute.
313 * Man pages no depend on the files `VERSION' and `REVISION'.
315 * The added shell script `mkinstalldirs' will replace `mkdir' in
318 * VERSION: Version number increased to 1.16.
320 2000-02-04 Werner LEMBERG <wl@gnu.org>
322 * grops/psrm.cc (read_one_of): Fixed pointer incrementation.
324 * Makefile.in: Removed $(tmac_m) since it is no longer needed
325 (after an update of the mm stuff).
327 * troff/Makefile.sub (majorminor.cc): Fix dependencies.
329 2000-02-03 Werner LEMBERG <wl@gnu.org>
331 The .psbb request will now also accept Mac PS images (i.e. using LF
332 as the EOL character).
334 * troff/input.cc (ps_get_line): New function, taken from psrm.cc
335 (with slight modifications).
336 * troff/input.cc (do_ps_file): Use it.
338 * test-groff: Add grohtml and grolj4 output devices to PATH.
340 2000-01-30 Werner LEMBERG <wl@gnu.org>
342 * NEWS, MORE.STUFF: Updated.
344 2000-01-30 Cary D. Renzema <caryr@dollar.mxim.com>
346 Add the `srand' command to pic.
348 * pic/lex.cc, pic/pic.y: Implement it.
349 * pic/pic.man: Document it.
350 * pic/pic.cc, pic/pic.tab.h: Regenerated (with yacc).
352 2000-01-30 Werner LEMBERG <wl@gnu.org>
354 Add a new request `.psbb'. This does exactly what the external
355 program psbb did. It scans a PostScript image file for a
356 %%BoundingBox comment and extracts the bounding box values (in
357 PostScript units) which are then stored in the four new (read-only)
358 number registers `llx', `lly', `urx', and `ury'.
360 This will allow the usage of the .PSPIC macro without worrying
361 about unsafe behaviour of groff, i.e., it will work without the
362 `-U' switch of groff.
364 * troff/input.cc: Implement it.
365 * tmac/tmac.pspic: Use it.
366 * troff/troff.man, grops/grops.man, NEWS: Document it.
367 * psbb/*, Makefile.in: Remove it since it is no longer needed.
369 This is bloody C code simply adapted from psbb.c! Any improvements
372 2000-01-29 Werner LEMBERG <wl@gnu.org>
374 * man/groff_font.man: Minor clarifications.
378 2000-01-28 Werner LEMBERG <wl@gnu.org>
380 * afmtodit/afmtodit.pl: Use new `--' comment delimiter.
382 2000-01-28 Gaius Mulley <gaius@glam.ac.uk>
384 * man/groff_font.man: Brought up to date regarding tcommand
386 * libgroff/font.cc: Handle everything after `--' as a comment
388 * devps/*: Added comment delimiter inside devps font files.
390 2000-01-28 Werner LEMBERG <wl@gnu.org>
392 * tmac/tmac.arkup, tmac/groff_markup.man: Replace \fC...\fR with
393 \fC...\fP (which now works as expected).
395 * troff/troff.man: Fix typo.
397 2000-01-27 Gaius Mulley <gaius@glam.ac.uk>
399 Completed the pass_filenames implementation in troff.
401 * libdriver/input.cc: Will read the new `F' tcommand.
402 * troff/node.cc, troff/node.h: Will issue the new `F' tcommand.
403 * troff/input.cc: Use it.
405 2000-01-26 Werner LEMBERG <wl@gnu.org>
407 * troff/env.cc (set_font): Fix the behaviour of \fP. The previous
408 font will now be updated even if an invalid font is selected.
410 2000-01-24 Werner LEMBERG <wl@gnu.org>
412 * doc/homepage.ms: Updated for new tmac.arkup.
414 * tmac/tmac.html: Disable line breaks after hyphen-like characters.
416 * tmac/tmac.arkup: Cleanup.
418 Added `\&' to .HTML macro to `leave vertical mode', so to say.
420 Removed obsolete .LINK macro completely.
422 The macros .URL, .FTP, and .MAILTO now accept a third argument which
423 will be immediately appended to the second argument (to be used with
424 punctuation, for example).
426 Disabled .CDFTP macro temporarily for security reasons.
428 * tmac/groff_markup.man: Complete revision for latest changes in
429 tmac.arkup -- note that it does not yet format correctly with
432 2000-01-23 Bruno Haible <haible@clisp.cons.org>
434 * nroff/nroff.sh: Accept -Tutf8 option and pass it through.
435 * devutf8/R.proto: Add mappings for wp, lh, rh.
436 * devutf8/NOTES: Updated.
438 2000-01-23 Werner LEMBERG <wl@gnu.org>
440 * doc/groff.texinfo: Updated version/copyright info.
442 2000-01-21 Gaius Mulley <gaius@glam.ac.uk>
444 Added support for two new directives in device descriptions:
445 `pass_filenames' (to pass the input file name to the output device)
446 and `use_charnames_in_special' (to support e.g. accented characters
449 * include/font.h, troff/charinfo.h: Declare it.
451 * libgroff/font.cc, libgroff/fontfile.cc: Set it.
453 * devhtml/DESC: Use it.
455 * troff/input.cc: New function encoded_char.
457 * troff/token.h: Add test for `specialness'.
459 2000-01-21 Werner LEMBERG <wl@gnu.org>
461 * tmac/Makefile.sub: tmac.a4 and tmac.trace have been removed by
462 mistake from the list of files to be installed.
464 2000-01-18 Werner LEMBERG <wl@gnu.org>
466 * README: Added info how to apply patches.
468 2000-01-15 Jan Echternach <echter@informatik.uni-rostock.de>
470 * troff/node.cc (ligature_note::operator delete): Fix g++ warning.
472 2000-01-15 Gaius Mulley <gaius@glam.ac.uk>
474 * troff/input.cc: Add support for troffrc-end.
476 * tbl/main.cc: Altered to issue table-start and table-end special
477 characters if using the html device.
479 * devhtml/*: Modified font files to incorporate html encoding of
482 * tmac/groff_markup.man: New file documenting tmac.arkup.
484 * tmac/troffrc-end: New file. This is invoked after all user
485 specified macros. Currently used by the html device to include
486 tmac.html. Thus no need for users to specify -mhtml anymore.
488 * tmac/Makefile.sub (NORMALFILES): Add troffrc-end.
489 (MAN7): Add groff_markup.man.
491 * tmac/tmac.an, tmac/tmac.html: Small html updates.
493 * tmac/troffrc: tmac.arkup will now be called for the html device.
495 * libgroff/font.cc, libgroff/font.h: Altered to include reading of
496 extra device specific information about fonts.
498 * doc/homepage.ms: New file. It is an example how an HTML home page
499 could look like with grohtml.
501 * doc/Makefile: Add homepage.ms. Remove rule for pic.html.
503 2000-01-12 Bruno Haible <haible@clisp.cons.org>
505 * devutf8/R.proto: Add mappings for ti, Fn, st, an. Change mappings
508 * devutf8/NOTES: Updated.
510 2000-01-08 Bruno Haible <haible@clisp.cons.org>
512 * eqn/box.cc, eqn/lex.cc, eqn/other.cc, eqn/over.cc, eqn/special.cc,
513 eqn/text.cc, grodvi/dvi.cc, grops/ps.cc, grops/psrm.cc,
514 libbib/index.cc, libbib/linear.cc, libbib/search.cc,
515 libdriver/printer.cc, libgroff/font.cc, libgroff/string.cc,
516 pic/lex.cc, pic/object.cc, refer/label.y, refer/ref.cc, tbl/main.cc,
517 tbl/table.cc, tfmtodit/tfmtodit.cc, troff/dictionary.cc,
518 troff/div.cc, troff/env.cc, troff/input.cc, troff/node.cc,
519 troff/node.h, troff/reg.cc: Avoid most "g++ -Wall -Wno-sign-compare"
522 * troff/node.cc (bracket_node::copy): Initialize last to NULL.
524 2000-01-12 Fabrizio Polacco <fab@prosa.it>
526 grolj4: Paper size will be searched case-insensitively.
528 * grolj4/lib.h: Add check for strcasecmp().
529 * grolj4/li4.cc (lookup_paper_size): Use strcasecmp().
530 * configure.in: Check for strcasecmp().
532 2000-01-11 Werner LEMBERG <wl@gnu.org>
534 * troff/Makefile.sub (majorminor.cc): Fix incorrect path to
537 2000-01-10 Werner LEMBERG <wl@gnu.org>
539 * Makefile.comm, Makefile.in, doc/Makefile: More fixes for the
542 Add a new read-only register, `.Y', which contains the groff
545 * troff/input.cc (init_input_requests): Define it.
546 * troff/Makefile.sub (majorminor.cc): Define `revision' string.
547 * doc/groff.texinfo, troff/troff.man: Document it.
549 * libgroff/Makefile.sub (version.cc): Add definition of
550 `Version_string[]', consisting of `<major>.<minor>.<revision>'
551 * eqn/main.cc, grodvi/dvi.cc, grolj4/lj4.cc, grops/ps.cc,
552 grotty/tty.cc, hpftodit/hpftodit.cc, indxbib/indxbib.cc, pic/main.cc,
553 refer/refer.cc, soelim/soelim.cc, tbl/main.cc, tfmtodit/tfmtodit.cc,
554 troff/input.cc, pfbtops/pfbtops.c: Use it.
556 2000-01-10 Fabrizio Polacco <fab@prosa.it>
558 Add a revision scheme to the groff package.
560 * REVISION: New file.
561 * libgroff/Makefile.sub (version.cc): Use it to define
563 * grops/psrm.cc: Use revision_string (converted to an unsigned
564 integer) in constructor of resource_manager.
566 2000-01-10 Bruno Haible <haible@clisp.cons.org>
568 * devutf8/Makefile.sub, devutf8/DESC.proto, devutf8/R.proto: New
570 * Makefile.in (DEVDIRS): Add devutf8.
571 * grotty/tty.cc: Include device.h.
572 (glyph): Change type of `code' to `unsigned int'.
573 (tty_printer): New field is_utf8. Constructor takes device argument.
574 (tty_printer::tty_printer): If device if `utf8', set is_utf8.
575 (tty_printer::add_char): Change type of first arg to `unsigned int'.
576 (tty_printer::put_char): New function.
577 (tty_printer::end_page): Use put_char() instead of ::putchar().
578 (make_printer): Pass device to tty_printer constructor.
579 * nroff.sh: Determine default device by calling 'locale'. As a
580 fallback, look at all of $LC_ALL, $LC_CTYPE, $LANG, $LESSCHARSET.
581 Recognize UTF-8 locales.
582 * tmac/eqnrc: Recognize utf8 like latin1.
583 * tmac/troffrc: Device utf8 needs tmac.tty.
585 2000-01-07 Werner LEMBERG <wl@gnu.org>
587 * tmac/Makefile.sub: tmac.a4 and tmac.trace will now be installed.
589 2000-01-07 Paul Eggert <eggert@twinsun.com>
591 Add a new predefined writeable number register, `year',
592 which contains the current year.
594 * doc/groff.texinfo, PROBLEMS, troff/troff.man: Document it.
595 * tmac/tmac.s: Use it.
596 * troff/input.cc (init_registers): Initialize it.
598 2000-01-06 Werner LEMBERG <wl@gnu.org>
600 * PROBLEMS: Fixed typo.
602 2000-01-04 Paul Eggert <eggert@twinsun.com>
604 * PROBLEMS: Add Y2k advice for the yr number register.
606 2000-01-03 Paul Eggert <eggert@twinsun.com>
608 * doc/groff.texinfo: Fix Y2k bug in documentation of \n(yr.
610 2000-01-02 Werner LEMBERG <wl@gnu.org>
612 * tmac/tmac.arkup: Slight modification of macros to provide better
613 appearance for non-HTML formats.
615 2000-01-01 Charles Levert <charles@comm.polymtl.ca>
617 * soelim/soelim.cc (include_path_append): realloc(NULL, n)
618 does not automatically translate to malloc(n) on all OSes
619 (e.g., SunOS) so do it explicitly. Also, check the returned
622 2000-01-01 Werner LEMBERG <wl@gnu.org>
624 * tmac/tmac.arkup: Added .LINE macro. Some formatting.
626 * Makefile.in: Added $(tmac_m) again since the Makefile in `mm'
627 expects this variable
629 2000-01-01 Gaius Mulley <gaius@glam.ac.uk>
631 * doc/Makefile: Added instructions to create HTML and text
632 versions of some files.
634 1999-12-31 Werner LEMBERG <wl@gnu.org>
636 * Updated INSTALL.gen.
638 * tmac/tmac.arkup: Added fixes so that .FTP and .MAILTO works
639 better resp. correctly with non-HTML devices.
641 Version 1.15 released
642 =====================
644 1999-12-28 Werner LEMBERG <wl@gnu.org>
646 * NEWS, VERSION: Changed to 1.15
648 1999-12-27 Paul Eggert <eggert@twinsun.com>
650 * nroff/nroff.man: -S is safer, not safe.
652 * groff/groff.cc (main): Use `safer', not `safe', in variable
653 names. This does not change the behavior.
655 * troff/input.cc (main): Likewise.
657 * nroff/nroff.sh: Likewise.
659 * troff/input.cc (prepend_string): New function.
660 (main): Prepend -msafer, so that we check macro libraries for
663 * PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.
665 Version 1.14 released
666 =====================
668 1999-12-26 Werner LEMBERG <wl@gnu.org>
670 * NEWS, VERSION: Changed to 1.14.
672 1999-12-24 Werner LEMBERG <wl@gnu.org>
674 * refer/refer.cc: Fixing the last fix.
676 Version 1.13 released
677 =====================
679 1999-12-23 Werner LEMBERG <wl@gnu.org>
681 * tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
686 * tmac/tmac.safer: Forgot to remove `so' from the `rm' request.
688 * VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
689 document conventions, the version number must be a real.
691 Version 1.12.1 released
692 =======================
694 1999-12-22 Werner LEMBERG <wl@gnu.org>
696 * VERSION: Changed to 1.12.1.
698 1999-12-22 Alan Rooks <arooks@istar.ca>
700 * refer/refer.cc (do_file): Slight modification to satisfy the
701 `Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
704 1999-12-20 Werner LEMBERG <wl@gnu.org>
706 * changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
709 * tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
710 list of unsafe requests.
712 * pic/pic.man: Fixed a typo.
714 * man/groff_out.man: Fixed a typo.
716 1999-12-18 Werner LEMBERG <wl@gnu.org>
718 * Makefile.in: Doc fixes.
720 1999-12-17 Fabrizio Polacco <fab@prosa.it>
722 * groff/groff.cc: Missing `U' option added to getopt().
724 * troff/troff.man: Missing `U' option added to synopsis.
726 Version 1.12 released
727 =====================
729 1999-12-14 Werner LEMBERG <wl@gnu.org>
731 * troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
734 * nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
735 with the more appropriate terms `safer' and `unsafe'.
737 * libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
738 sys_nerr and sys_errlist[].
740 * pic/pic.h, aclocal.m4, configure.in: Added check for hypot().
742 * pic/pic.y, pic/pic.cc: Added check for fmod().
744 1999-12-13 Werner LEMBERG <wl@gnu.org>
746 * VERSION: Changed to 1.12.
748 Here some patches from various sources; most of them taken from
749 the Debian distribution.
751 * tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
752 tmac/Makefile.sub: New files copied directly from the NetBSD
753 distribution. Probably, some additional adaptation later on is
756 * tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
759 * groff/groff.cc, groff/groff.man, nroff/nroff.sh,
760 nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
761 troff/troff.man: Added option `-U' for unsafe mode. Safe mode
762 (`-S') is now the default.
764 * README, NEWS: Updated.
766 1999-12-09 Werner LEMBERG <wl@gnu.org>
768 * doc/groff.texinfo: Regenerated nodes and menus with emacs.
770 * doc/Makefile (clean): Added cleaning commands for groff.texinfo.
772 1999-12-06 Werner LEMBERG <wl@gnu.org>
774 * configure.in: Removed AC_PREFIX_PROGRAM since it causes more
775 grief than relief today. Additionally, it is against the GNU
778 * configure: Recreated.
780 1999-12-05 Werner LEMBERG <wl@gnu.org>
782 * configure.in: Added GROFF_LIBM.
784 * configure: Recreated.
786 * aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
789 * Makefile.in: Added definition of $(LIBM).
791 * Makefile.comm (LIBM): Removed.
793 * pfbtops/Makefile.sub: On AIX, -lm is needed also.
795 1999-12-03 Gaius Mulley <gaius@glam.ac.uk>
797 * doc/Makefile: Added rule for generation pic.html.
799 (clean): Files produced by grohtml will be removed also.
801 * doc/pic.ms: Small fix.
803 * tmac/tmac.html: Fixed suppression of headers.
805 1999-11-16 Gaius Mulley <gaius@glam.ac.uk>
807 * tmac/tmac.html: Fixing horizontal arrows.
809 Turning off hyphenation.
811 * tmac/tmac.an: Improved support for grohtml; better indentation,
814 1999-10-31 Gaius Mulley <gaius@glam.ac.uk>
816 * tmac/tmac.arkup: Added CDFTP macro
818 * tmac/tmac.html: All headers are turned off for ms, me, and mm
821 * tmac/troffrc: Some additions for HTML stuff.
823 1999-10-06 Gaius Mulley <gaius@glam.ac.uk>
825 * tmac/tmac.html: Small changes.
827 1999-09-26 Werner LEMBERG <wl@gnu.org>
829 * doc/groff.texinfo: Minor fixes.
831 1999-09-26 Gaius Mulley <gaius@glam.ac.uk>
833 * devhtml/TR: Changed spacewidth to 3.
835 * tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.
837 * tmac/tmac.html: Moved markup macros to tmap.arkup.
839 * tmac/tmac.arkup: New file.
841 * grohtml/ChangeLog: New file.
843 1999-09-16 Werner LEMBERG <wl@gnu.org>
845 * doc/groff.texinfo (Common Features): Added Copying chapter.
846 Changed format to @smallbook.
848 1999-09-15 Werner LEMBERG <wl@gnu.org>
850 * NEWS: Added info about groff.texinfo.
852 * doc/groff.texinfo: Will now compile (using texi2dvi) without
855 1999-09-14 Werner LEMBERG <wl@gnu.org>
857 * groff/groff.man: More updates.
859 1999-09-13 Werner LEMBERG <wl@gnu.org>
861 * doc/groff.texinfo: New file. This manual is still very
862 rudimentary. It has been originally contributed by Trent
863 A. Fisher <trent@gnurd.portland.or.us> with first corrections and
866 * INSTALL: Added information about the `doc' subdir
868 * troff/troff.man: Minor fixes.
870 * groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
873 * troff/input.cc (usage): Added missing `-ffam' to usage message.
875 * Makefile.in (dist): groff-$(version).tar.gz must be removed
876 also, otherwise it is included itself in another call of `make
879 * groff/groff.cc (synopsis): Removed superfluous space.
881 * PROJECTS, PROBLEMS, NEWS: Updated.
883 * xditview/Makefile: Removed.
885 * VERSION: Updated to 1.12beta.
887 * BUG-REPORT: Some cosmetic fixes. Corrected email address.
889 * README: Updated: Included documentation about CVS repository,
890 mailing lists, and daily snapshots.
892 * tmac/Makefile.sub: Fixed $(tmap_wrap) finally.
894 1999-09-12 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
896 * tmac/tmac.an: If the tag didn't fit into the space that the
897 macro `TP' specifies, the rest of the tag went into the space for
900 1999-09-12 Jeffrey Copeland <jeff@opennt.com>
902 * grolj4/lj4.cc: Added duplex printing (option `-d').
904 * grolj4/grolj4.man: Document duplex printing.
906 1999-09-12 Werner LEMBERG <wl@gnu.org>
908 * doc/Makefile (pic.ps): Fixed rule which caused problems with
909 non-GNUish sed programs.
911 * tmac/doc-syms: Removed extra space from -iso8802-3 macro
914 * configure.in (LIBS): Added `-lc'
916 * Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.
918 * pic/tex.cc (solid_arc): Casting M_PI to double.
920 * libgroff/putenv.c (putenv): Changed function header to ANSI C.
922 * groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
923 (new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
924 file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.
926 * groff/groff_man.man: New file. This manual page was originally
927 written for the Debian GNU/Linux system by Susan G. Kleinmann
930 * eqn/list.cc (list_box::compute_metrics,
931 list_box::compute_sublist_width): Removed variable declaration to
932 avoid shadowing warnings.
934 * grops/psrm.cc (resource_manager::process_file): Ditto.
936 * tfmtodit/tfmtodit.cc (main): Ditto.
938 * libgroff/font.cc (font::load_desc): Renamed auxiliary variable
939 to avoid shadowing warnings.
941 * tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
942 shadowing loop variable.
944 * groff/groff.man, troff/troff.man: Added doc about grohtml.
946 1999-09-12 Gaius Mulley <gaius@glam.ac.uk>
948 New grohtml frontend to convert groff input to html.
950 * Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.
952 * tmac/Makefile.sub (NORMALFILES): Added tmac.html.
954 * tmac/eqnrc: Added html device.
956 * tmac/tmac.html: New file.
958 * eqn/main.cc (do_file, inline_equation), pic/troff.cc
959 (troff_output::start_picture, troff_output::finish_picture),
960 tbl/main.cc (process_input_file):
961 Surrounded output with `graphics_start' and `graphics_end' so that
962 the html driver can identify non-text portions.
964 * grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
965 (lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
966 grotty/tty.ps (tty_printer::set_char): Additional parameter
969 * include/printer.h: Class printer: New function
970 set_char_and_width; new variables (is_char_named, is_named_set,
971 named_command, named_char_s, named_char_n) to hold information
972 about named characters -- needed by the html driver.
974 * libdriver/printer.cc (printer::set_ascii_char,
975 printer::set_special_char): Use set_char_and_width.
977 * devhtml/*: New device files for html driver.
979 * grohtml/*: New driver grohtml.
981 1999-09-11 Wilfredo Sanchez <wsanchez@apple.com>
983 * tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
986 1999-09-11 Luke Mewburn <lukem@netbsd.org>
988 * libgroff/string.cc (search): Small fix to test against NULL
991 1999-09-11 Jeff Conrad <jeff_conrad@msn.com>
993 * troff/node.cc (copy): The characters in a bracket escape (e.g.,
994 \b'abc') were stacked in reverse order when processed in a
997 * troff/node.h: Added `*last' to struct `node' to make the above
1000 * troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
1001 The default scale for the 'f' and 't' graphics functions were 'm'
1002 rather than 'u' (i.e., no scaling).
1004 1999-09-11 Peter Miller <peterm@jna.com.au>
1006 * groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
1007 do_file), soelim/soelim.man: Added `-I file' option to soelim,
1008 defining include paths.
1010 * soelim/soelim.cc (include_path_append): New function.
1012 1999-09-11 Larry Jones <larry.jones@sdrc.com>
1014 * tbl/main.cc (process_options): Unix (at least Documenter's
1015 Workbench) tbl allows arbitrary non-alpha characters between
1018 1999-09-11 Paul Eggert <eggert@twinsun.com>
1020 Y2k fixes. Don't assume that the current year precedes 2000.
1022 * doc/meref.me: Add \n(y2, \n(y4.
1024 * tmac/doc-common (Yr): New number register.
1025 (Dd): Don't assume current year precedes 2000.
1027 * tmac/tmac.e (td): Likewise.
1028 (y2, y4): New number registers.
1030 * pic/pic.man: Update reference for pic paper to May, 1991
1033 1999-09-11 Werner LEMBERG <wl@gnu.org>
1035 * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
1036 Removed quotation marks which prevented correct expansion of
1039 * devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).
1041 1999-09-10 Werner LEMBERG <wl@gnu.org>
1043 * Makefile.sub (DISTCLEANFILES): Added `config.log' and
1046 * Removed configure.old.
1048 1999-08-31 Werner LEMBERG <wl@gnu.org>
1050 * VERSION: Updated to 1.11.1
1052 1999-05-27 Werner LEMBERG <wl@gnu.org>
1054 * doc/Makefile: changed `.PS' postfix to `.ps' for consistency.
1056 * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
1057 added quotations around $(tmac_wrap) to avoid syntax error if
1060 * configure: Newly generated using autoconf 2.13.
1062 * Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.
1064 Fri Aug 15 08:51:47 1997 Eric S. Raymond <esr@snark.thyrsus.com>
1066 * README, PROJECTS, NEWS, INSTALL, VERSION,
1067 doc/Makefile. doc/pic.ms, groff/groff.man:
1068 Prepare for 1.11 release. No code changes.
1069 Documentation for pic added (doc/pic.ms).
1071 Sun Nov 26 11:45:13 1995 James Clark <jjc@jclark.com>
1073 * Version 1.10 released.
1075 Fri Nov 24 09:56:16 1995 James Clark <jjc@jclark.com>
1077 * afmtodit/afmtodit.pl: Avoid comment on first line.
1079 Mon Nov 20 11:13:49 1995 James Clark <jjc@jclark.com>
1081 * aclocal.m4 (GROFF_INSTALL_SH): New macro.
1082 * configure.in: Call it.
1084 * Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
1085 (distfiles): Doesn't depend on config.log or config.cache.
1087 Sun Oct 1 08:45:36 1995 James Clark <jjc@jclark.com>
1089 * grog/grog.sh: Use print "" rather than print in END rule.
1091 Wed Aug 23 13:30:52 1995 James Clark <jjc@jclark.com>
1093 * tbl/main.cc (process_data): Don't give error for excess data
1094 entries that are comments.
1096 Fri Jul 28 11:00:27 1995 James Clark <jjc@jclark.com>
1098 * tbl/main.cc (process_data): Fix case where new for-scope rules
1099 silently change meaning of code.
1101 Tue Jul 4 23:39:51 1995 James Clark <jjc@jclark.com>
1103 * troff/env.cc (hyphenate): Loop over all consecutive sequences
1104 of non-zero hyphenation codes.
1106 Sat Jul 1 00:42:15 1995 James Clark <jjc@jclark.com>
1108 * aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.
1110 Thu Jun 29 13:58:36 1995 James Clark <jjc@jclark.com>
1112 * tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.
1114 Tue Jun 27 12:30:16 1995 James Clark <jjc@jclark.com>
1116 * tmac/tmac.andoc: Make it work in compatibility mode.
1118 * refer/token.h (token_info::is_range_sep): New function.
1119 * refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
1120 * refer/ref.cc (reference::output): More sophisticated check for
1123 * devps/prologue.ps (MANUAL): New procedure.
1124 * grops/ps.cc (main): New -m option.
1125 (usage): Include -m.
1126 (ps_printer::~ps_printer): Implement -m.
1128 * aclocal.m4 (GROFF_G): New macro.
1129 * configure.in: Call it.
1130 * Makefile.in (g): Provided by configure.
1132 * hpftodit/hpftodit.cc (basename): Rename to xbasename.
1134 * tmac/tmac.tty: Disable warning about bad fonts. Remove font
1137 * Makefile.in (tmacpath): Don't include /usr/lib/tmac.
1138 (tmac_m, tmac_s): Deleted.
1139 (sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
1140 tmac_s_prefix): New variables.
1141 (MDEFINES): Change accordingly.
1142 * Makefile.comm (.man.n): Use new TMAC_* variables.
1143 * configure.in (GROFF_TMAC): Call.
1144 * aclocal.m4 (GROFF_TMAC): Define.
1145 * tmac/Makefile.sub (stamp_wrap): New target.
1146 (install_data, uninstall_sub): Handle macro wrapping.
1148 Mon Jun 26 14:54:39 1995 James Clark <jjc@jclark.com>
1150 * tbl/main.cc (main): Ignore -T option.
1152 Thu Jun 22 09:08:06 1995 James Clark <jjc@jclark.com>
1154 * devlj4/generate/special.map: Add definition of \(nb.
1156 * tmac/tmac.dvi: Add definition of \(nb.
1158 * troff/dictionary.c (dictionary::dictionary): association::v gets
1159 initialized by association::association.
1161 * tmac/Makefile.sub: Avoid using temporary files when installing.
1163 * troff/env.cc (environment::set_font): Make bad font number a
1166 * Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.
1168 * Makefile.in (datadir): Use share rather than lib.
1170 * groff/groff.cc (basename): Rename to xbasename.
1172 Wed Jun 21 16:59:46 1995 James Clark <jjc@jclark.com>
1174 * Makefile (CCLIBS): Don't use.
1175 * Makefile.ccpg: Likewise.
1177 * acgroff.m4: Rename to...
1178 * aclocal.m4: Modify extensively for autoconf 2.
1179 * configure.in: Likewise.
1180 * Makefile.in: Likewise.
1182 * groff/pipeline.c (const): Declare as empty if __STDC__ not
1184 (xstrsignal): Check for definition of NSIG. Conditionalize
1185 on SYS_SIGLIST_DECLARED. Make return type const.
1187 Sat Jun 10 12:28:16 1995 James Clark <jjc@jclark.com>
1189 * troff/input.cc (interpolate_macro): Rephrase missing space
1192 Thu May 11 01:07:16 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1194 * addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
1195 grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
1196 grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
1197 libbib/index.cc, libbib/linear.cc, libbib/search.cc,
1198 libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
1199 libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
1200 libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
1201 pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
1202 refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
1203 tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
1204 troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
1207 Wed Apr 19 21:15:11 1995 James Clark <jjc@jclark.com>
1209 * troff/input.cc (spring_trap): Push a macro_iterator rather than a
1211 (spring_trap, postpone_traps, unpostpone_traps): Move to later in
1213 (macro_iterator::macro_iterator): Add additional argument.
1215 Mon Apr 10 12:06:02 1995 James Clark <jjc@jclark.com>
1217 * troff/div.cc (vertical_size::vertical_size): In place of integer
1218 specifying line spacing use cunits specifying post vertical
1220 (macro_diversion::output, top_level_diversion::output): Likewise.
1221 * troff/div.h: Change declarations accordingly.
1222 * troff/env.cc (pending_output_line): Replace ls field by post_vs
1224 (pending_output_line::pending_output_line,
1225 pending_output_line::output, environment::output,
1226 environment::output_line, environment::output_title,
1227 environment::hyphenate_line): In place of
1228 integer specifying line spacing use cunits specifying post vertical
1230 (environment::environment): Add post_vertical_spacing and
1231 prev_post_vertical_spacing arguments.
1232 (environment::get_post_vertical_spacing): New function.
1233 (environment::total_post_vertical_spacing): New function.
1234 (environment::post_vertical_spacing): New function.
1235 (init_env_requests): Initialize pvs request and .pvs register.
1236 * troff/env.h: Change declarations.
1238 Tue Mar 28 09:52:07 1995 James Clark <jjc@jclark.com>
1240 * tmac/tmac.pspic: Immediately remove the temporary file.
1242 Sat Mar 25 10:43:11 1995 James Clark <jjc@jclark.com>
1244 * tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
1245 height is specified.
1247 Thu Jan 26 16:20:13 1995 James Clark <jjc@jclark.com>
1249 * tbl/table.c (struct vertical rule, class table_entry): Use int
1250 not short for start_row and end_row.
1252 Fri Jan 13 13:53:05 1995 James Clark <jjc@jclark.com>
1254 * troff/input.cc (trapping_blank_line, blank_line_macro): New
1256 (diverted_space_node::reread, process_input_stack): Call
1257 trapping_blank_line() rather than blank_line().
1258 (init_input_requests): Bind "blm" to blank_line_macro().
1260 * tmac/tmac.s (XA): Use .br and par@reset rather than XA.
1262 Tue Jan 10 11:40:35 1995 James Clark <jjc@jclark.com>
1264 * troff/env.cc (environment::possibly_break_line): Require that
1265 width total excluding width of final space node be greater than
1266 the target text length.
1268 Tue Jan 3 09:13:37 1995 James Clark <jjc@jclark.com>
1270 * troff/node.cc (kern_pair_node::vertical_extent): New function.
1272 Sun Dec 4 13:19:07 1994 James Clark <jjc@jclark.com>
1274 * troff/node.cc (charinfo_node): New class.
1275 (glyph_node, composite_node): Derive from charinfo_node. Change
1276 member functions accordingly.
1278 Wed Nov 30 10:29:29 1994 James Clark <jjc@jclark.com>
1280 * nroff/nroff.sh: Use -Tlatin1 not -TLatin1.
1282 Mon Aug 8 10:17:59 1994 James Clark (jjc@jclark.com)
1284 * tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].
1286 * devps/generate/textmap (notsubset): Add.
1288 * tmac/tmac.a4: New file.
1290 Sun Jul 24 20:08:42 1994 James Clark (jjc@jclark.com)
1292 * pic/main.cc (had_parse_error): New variable.
1293 (do_picture, do_whole_file): Set had_parse_error if yyparse()
1295 (main): Return 1 if had_parse_error is true.
1297 Tue Jul 19 13:40:31 1994 James Clark (jjc@jclark.com)
1299 * grolj4/lj4.cc (main): Avoid use of strtoul.
1301 Mon Jul 18 15:03:02 1994 James Clark (jjc@jclark.com)
1303 * nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
1304 iso_8859_1 or $LESSCHARSET is latin1.
1306 Sun Jul 10 13:38:35 1994 James Clark (jjc@jclark.com)
1308 * hpftodit: New directory.
1309 * Makefile.in (CCPROGDIRS): Add hpftodit.
1310 * devlj4/generate: New directory.
1312 Thu Jul 7 23:49:48 1994 James Clark (jjc@jclark.com)
1314 * configure.in: Don't use AC_VFORK.
1315 * groff/pipeline.c (run_pipeline): Use fork() always.
1317 Wed Jul 6 11:13:17 1994 James Clark (jjc@jclark.com)
1319 * grops/ps.cc (main): Use %1 not %s in error message for -w.
1321 * Makefile.in (CCPROGDIRS): Add grolj4.
1322 (DEVDIRS): Add devlj4.
1323 * grolj4, devlj4: New directories.
1324 * tmac/troffrc: Handle lj4.
1325 * tmac/tmac.lj4: New file.
1327 Fri Jun 17 18:02:53 1994 James Clark (jjc@jclark.com)
1329 * tmac/tmac.e (@n): Set indent to 0 before calling |h.
1331 Wed Jun 1 07:33:47 1994 James Clark (jjc@jclark.com)
1333 * troff/input.cc (do_if_request): At end of second string, switch
1334 environments before getting next token.
1336 Fri May 20 07:39:18 1994 James Clark (jjc@jclark.com)
1338 * devps/psstrip.sed: Split rule that strips whitespace on either
1341 Wed May 18 08:13:47 1994 James Clark (jjc@jclark.com)
1343 * troff/node.h (font_family::make_definition): Add return value to
1344 declaration. * troff/symbol.h (symbol::operator==,
1345 symbol::operator!=): Likewise.
1347 Tue May 17 20:46:06 1994 James Clark (jjc@jclark.com)
1349 * groff/groff.cc (main, help, synopsis): Handle -S.
1350 (possible_command::insert_arg): New function.
1352 * tmac/tmac.safer: New file.
1353 * tmac/msafer.man: New file.
1354 * tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.
1356 Thu Mar 10 01:58:30 1994 Paul Eggert (eggert@twinsun.com)
1358 * pic/pic.h, pic/main.cc (safer_flag): New variable.
1359 * pic/pic.y (placeless_element): Avoid unsafe operations if
1360 `safer_flag' is set.
1361 * pic/main.cc (main): Add -S option, which sets `safer_flag'.
1363 Tue May 10 13:02:31 1994 James Clark (jjc@jclark.com)
1365 * eqn/lex.cc (get_token): Put call to add_context() in block to
1366 work around Sun C++ 4.0 bug.
1368 * include/stringclass.h (operator +): Use ?: instead of `if' to
1369 work around Sun C++ 4.0 bug.
1371 Thu May 5 11:18:03 1994 James Clark (jjc@jclark.com)
1373 * tbl/main.cc (process_format): Accept - as a synonym for the _
1376 * libbib/index.cc (minus_one): Don't declare as const.
1378 Fri Apr 29 09:32:48 1994 James Clark (jjc@jclark.com)
1380 * troff/input.cc (get_char_for_escape_name): Push back a newline.
1382 Wed Apr 27 21:14:18 1994 James Clark (jjc@jclark.com)
1384 * troff/input.cc (write_macro_request): New function.
1385 (init_input_requests): Bind write_macro_request to writem.
1387 Sun Apr 17 11:15:38 1994 James Clark (jjc@jclark.com)
1389 * tmac/tmac.s (@EN): Turn filling back on even if there was no
1392 * eqn/lex.cc (do_space): Supply missing argument to lex_error.
1394 * tmac/tmac.s (@TS): Renamed from TS.
1395 (TS): Call LP then TS again.
1396 (cov*ab-init): Alias @TS to TS.
1398 * tmac/tmac.s: Allow QP or RS to initialize.
1400 * tmac/tmac.s (par@load-init): New macro. Call at end of file.
1401 Move initializations of PS and LL here.
1402 (par@init): Don't initialize HY. Avoid changing environment 0.
1403 (par*env-init): Don't all par@reset.
1405 Thu Apr 14 19:15:45 1994 James Clark (jjc@jclark.com)
1407 * include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.
1409 Sun Apr 10 09:54:44 1994 James Clark (jjc@jclark.com)
1411 * Makefile.in (MDEFINES): Add LDFLAGS.
1412 (LDFLAGS): Add definition line.
1414 Thu Apr 7 22:22:22 1994 James Clark (jjc@jclark.com)
1416 * troff/input.cc (get_optional_char): Split off error check into...
1417 (check_missing_character): New function.
1418 * troff/token.h: Declare it.
1419 * troff/env.cc (margin_character): Don't call get_optional_char.
1420 Only call tok.next() after making the node.
1422 * include/lib.h (getopt): Make 2nd argument char *const *.
1424 Fri Mar 11 07:28:03 1994 James Clark (jjc@jclark.com)
1426 * nroff/conftest.sh: Deleted.
1428 Fri Mar 4 10:51:36 1994 James Clark (jjc@jclark.com)
1430 * pic/make-dos-dist: Deleted.
1432 Wed Mar 2 20:59:16 1994 James Clark (jjc@jclark.com)
1434 * devps/psstrip.sed: Strip comments before stripping trailing
1437 Sat Feb 19 13:07:16 1994 James Clark (jjc@jclark.com)
1439 * Version 1.09 released.
1441 Wed Feb 16 16:53:49 1994 James Clark (jjc@jclark.com)
1443 * tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.
1445 Mon Feb 14 08:26:40 1994 James Clark (jjc@jclark.com)
1447 * libgroff/font.cc (font::load_desc): Fix typo in error message.
1449 Sun Feb 13 09:37:38 1994 James Clark (jjc@jclark.com)
1451 * libgroff/new.cc (operator new): Rewrite so as to avoid warning
1452 about returning without a value.
1454 * troff/charinfo.h (charinfo::get_special_translation): Cast
1455 TRANSLATE_NONE to int.
1457 * refer/token.cc (lookup_token, store_token): Remove bogus loop
1458 test. Fix test so that it works with n unsigned.
1460 * pic/pic.y (defaults_table): Fully bracket initializer.
1461 * pic/lex.cc (lookup_keyword): Likewise.
1462 * eqn/lex.cc (token_table, def_table): Likewise.
1463 * eqn/box.cc (param_table): Likewise.
1464 * troff/input.cc (warning_table): Likewise.
1465 * libgroff/font.cc (table): Likewise.
1466 * grops/ps.cc (ps_printer::special): Likewise.
1467 * grops/psrm.cc (resource_manager::process_file): Likewise.
1468 * tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
1469 * refer/command.cc (command_table): Likewise.
1470 * addftinfo/addftinfo.cc (param_table): Likewise.
1472 * troff/symbol.cc (symbol::symbol): Prevent compiler warnings
1473 about temp's being unused.
1474 (unused): New function.
1476 * groff/pipeline.cc: Declare c_fatal.
1478 * libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
1481 * libbib/index.cc (index_search_item::load): Prevent compiler
1482 warnings about fd_closer's being unused.
1483 (unused): New function.
1485 Sat Feb 12 10:31:59 1994 James Clark (jjc@jclark.com)
1487 * troff/input.cc (copy_mode_error): Make `prefix' static.
1490 * include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
1492 * acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
1493 HAVE_CC_OSFCN_H and modify accordingly.
1495 * troff/input.cc (init_charset_table): radicalex overlaps
1498 * groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
1499 udodo!hans@relay.NL.net).
1500 * groff/configure.in: Call it.
1502 * groff/acgroff.m4 (GROFF_PCLOSE): New macro.
1503 * groff/configure.in: Call it.
1504 * include/lib.h: Conditionalize declaration of pclose.
1506 * troff/div.cc (last_page_number): New global variable.
1507 (top_level_diversion::begin_page): Exit if we just printed the
1509 * troff/div.h (last_page_number): Declare it.
1510 * troff/input.cc (parse_output_page_list): Set last_page_number.
1512 * eqn/sqrt.cc: Rename \(rn to \[radicalex].
1513 * devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
1514 tmac/tmac.X: Likewise.
1515 * tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
1516 * tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.
1518 Fri Feb 11 11:45:40 1994 James Clark (jjc@jclark.com)
1520 * tmac/doc-ditroff (hK): Remove groff specific code which
1521 prevented page-breaks between separate manual entries. If this is
1522 the first page, don't set the page number to 1.
1524 * acgroff.m4 (GROFF_POSIX): New macro.
1525 * configure.in: Use it.
1527 * troff/node.cc (class real_output_file,
1528 real_output_file::real_output_file,
1529 real_output_file::~real_output_file): Conditionalize use of
1530 popen/pclose on POPEN_MISSING.
1531 * troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
1532 * troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
1533 (pipe_source): Similarily.
1535 * acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
1537 * acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
1538 presence of declarations by trying to compile example with
1539 conflicting declarations. (gcc only gives a warning for missing
1542 Wed Feb 9 09:12:23 1994 James Clark (jjc@jclark.com)
1544 * tmac/tmac.pspic (PSPIC): Allow options to specify alignment
1545 (from Ulrich Lauther).
1547 Tue Feb 8 03:56:40 1994 James Clark (jjc@jclark.com)
1549 * libbib/linear.cc (file_buffer::load): Use S_ISREG macro.
1551 Thu Feb 3 09:34:35 1994 James Clark (jjc@jclark.com)
1553 * indxbib/indxbib.cc (write_hash_table): Add code for case where
1554 pointers and ints have different sizes.
1556 Sun Jan 9 16:17:51 1994 James Clark (jjc@jclark.com)
1558 * tmac/tmac.s (par*env-init): Call par@reset.
1560 Fri Jan 7 10:24:27 1994 James Clark (jjc@jclark.com)
1562 * tmac/tmac.s (@IP): Switch to a new environment when diverting
1564 (par*push-tag-env, par*pop-tag-env): New macros.
1566 Wed Jan 5 21:18:34 1994 James Clark (jjc@jclark.com)
1568 * grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
1569 initializing `out'. Reduce MAX_LINE_LENGTH from 79 to 72.
1571 * grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
1572 comment. Include <time.h>.
1574 Wed Dec 15 14:14:00 1993 James Clark (jjc@jclark.com)
1576 * grops/ps.cc (is_small_h, is_small_v): Deleted.
1577 (ps_printer::flush_sbuf): Use absolute motion only at beginning of
1580 Tue Dec 14 10:06:34 1993 James Clark (jjc@jclark.com)
1582 * troff/input.cc (read_request): Only print a prompt if reading
1583 from the terminal. Also clearerr on EOF if reading from the
1584 terminal. Declare isatty.
1586 Mon Nov 29 08:38:15 1993 James Clark (jjc@jclark.com)
1588 * refer/label.y: Rename map_t to map_func and extractor_t to
1591 Sat Oct 30 06:38:12 1993 James Clark (jjc@jclark.com)
1593 * include/assert.h: Don't use volatile.
1594 * libgroff/assert.cc: Likewise.
1596 Fri Oct 29 15:00:23 1993 James Clark (jjc@jclark.com)
1598 * troff/input.cc (abort_request): Look at character in tok before
1601 Thu Oct 28 14:09:48 1993 James Clark (jjc@jclark.com)
1603 * troff/troff.h (NO_RETURN): Deleted.
1604 * troff/div.cc (cleanup_and_exit): Don't declare aas NO_RETURN.
1605 * troff/input.cc (exit_troff): Likewise
1607 * Makefile.in: Remove `Making ...' messages since GNU make now
1610 * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
1612 Wed Oct 27 11:12:51 1993 James Clark (jjc@jclark.com)
1614 * tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
1617 Sat Oct 23 10:03:52 1993 James Clark (jjc@jclark.com)
1619 * tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.
1621 Thu Oct 14 12:09:45 1993 James Clark (jjc@jclark.com)
1623 * eqn/delim.cc (delim_box::compute_metrics): Don't increase
1624 MARK_REG if there was no left delimiter.
1626 Sat Oct 2 19:54:47 1993 James Clark (jjc@jclark.com)
1628 * pic/troff.cc (troff_output::text): Set line thickness to
1629 relative before outputting text.
1631 * tmac/tmac.e (@k): Don't zero ?T.
1634 Sat Sep 25 11:08:43 1993 James Clark (jjc@jclark.com)
1636 * tmac/tmac.e ($p): Handle possibility that $3 is empty.
1638 Wed Aug 18 08:51:41 1993 James Clark (jjc@jclark.com)
1640 * troff/input.cc (decode_args): Warn about unquoted tabs (from
1643 Tue Aug 10 08:38:32 1993 James Clark (jjc@jclark.com)
1645 * troff/input.cc (ignoring): New variable.
1646 (ignore): Set ignoring during call to do_define_macro.
1647 (do_define_macro): Clear ignoring before interpolating terminating
1649 (copy_mode_error): New function.
1650 (get_char_for_escape_name, read_long_escape_name,
1651 interpolate_arg): Use copy_mode_error.
1652 (warning_table): Add WARN_IG.
1653 * troff/troff.h (WARN_IG): Declare.
1654 (WARN_TOTAL): Change accordingly.
1656 * groff/pipeline.c (strsignal): Rename to xstrsignal.
1657 * groff/groff.cc (strsignal): Delete declaration.
1659 Fri Jul 16 01:43:12 1993 James Clark (jjc@jclark.com)
1661 * troff/div.cc (page_offset): Use 'm' as default scaling.
1663 Sat Jul 3 09:11:38 1993 James Clark (jjc@jclark.com)
1665 * nroff/nroff.sh: Ignore -u.
1667 Wed Jun 9 12:17:27 1993 James Clark (jjc@jclark.com)
1669 * Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.
1671 Fri Jun 4 17:35:47 1993 James Clark (jjc@jclark.com)
1673 * tmac/tmac.s (par*box-draw): Set adjustment mode to l while
1675 (B2): With -Tascii, leave additional vertical space before
1676 and after. Ensure that the left and right indent is restored to
1677 what it was even if the point size changes. Don't call
1678 par@finish. Change the indent, line length and title length
1679 directly. With -Tascii, make the width of the box 1n less.
1680 (B1): Remember 1n at the current point size. Don't call
1681 par@reset. Change the indent, line length and title length
1682 directly. Ensure that the temporary indent is preserved.
1683 (par*box-mark-top): Turn off no spacing mode.
1685 Thu Jun 3 17:47:14 1993 James Clark (jjc@jclark.com)
1687 * Makefile.in (dist): Use .gz suffix.
1689 Thu May 27 20:04:59 1993 James Clark (jjc@jclark.com)
1691 * troff/input.cc (main): Add return 0.
1692 * pic/main.cc (main): Use return instead of exit.
1693 * tbl/main.cc (main): Likewise.
1694 * eqn/main.cc (main): Likewise.
1695 * grops/ps.cc (main): Likewise.
1696 * grotty/tty.cc (main): Likewise.
1697 * groff/groff.cc (main): Likewise.
1698 * grodvi/dvi.cc (main): Likewise.
1699 * refer/refer.cc (main): Likewise.
1700 * indxbib/indxbib.cc (main): Likewise.
1701 * lkbib/lkbib.cc (main): Likewise.
1702 * soelim/soelim.cc (main): Likewise.
1703 * addftinfo/addftinfo.cc (main): Likewise.
1704 * acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
1705 GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.
1707 * troff/token.h (process_input_stack): Don't declare as static.
1708 * troff/input.cc: Likewise.
1710 * troff/node.c (invalidate_fontno): Make it a static member of
1711 class font_family. Change callers.
1712 * troff/node.c: Change declaration.
1714 * tbl/main.cc (struct input_entry_format): Add explicit public
1716 * tbl/table.cc (struct text_stuff, struct single_hline_stuff,
1717 struct double_hline_stuff): Likewise.
1718 * tbl/table.h (struct entry_format): Likewise.
1719 * pic/object.h (struct saved_state): Likewise.
1721 * include/stringclass.h: Add forward declarations of friend
1722 functions that are later declared as inline. Don't include inline
1723 specifier in friend declaration.
1725 * libgroff/lib.h: Declare popen and pclose.
1726 * acgroff.m4 (GROFF_POPEN): New macro.
1727 * configure.in: Call it.
1729 * include/lib.h (PI): New constant. Undef first if necessary.
1730 * tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
1731 * grops/ps.cc (degrees, radians): Likewise.
1732 * libgroff/font.cc (font::get_skew): Likewise.
1734 * grops/ps.cc (is_ascii): New function.
1735 (ps_output::put_string): Use is_ascii. Use csprint rather than
1737 (ps_printer::define_encoding): Use csspace.
1738 * libgroff/strtol.c (ISASCII): New macro.
1739 (strtol): Cast arguments to is*() and tolower() to unsigned char.
1740 Use ISASCII rather than isascii.
1741 * libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
1742 * libgroff/cset.cc: Likewise.
1743 * libdriver/input.cc: Include cset.h.
1744 (do_file, get_integer, possibly_get_integer): Use csdigit() rather
1747 * refer/refer.cc (main): Use %ld rather than %d for longs.
1749 * libbib/index.cc (index_search_item_iterator::get_tag): Use
1752 * addftinfo/addftinfo.cc (param_t): Add explicit `int'.
1754 Mon May 24 08:51:37 1993 James Clark (jjc@jclark.com)
1756 * troff/input.cc (hyphenation_code): Skip white space between
1759 Sun May 16 08:15:52 1993 James Clark (jjc at jclark.com)
1761 * tbl/table.h (table::entry_list_tailp): New member.
1762 (table::table): Initialize it.
1763 (table::add_entry): Use entry_list_tailp to avoid O(n^2)
1766 Sat May 15 17:26:00 1993 James Clark (jjc at jclark.com)
1768 * grotty/tty.cc (tty_printer::add_char): Don't discard characters
1769 with negative horizontal positions. Remove casts of glyph::hpos to
1771 (USHRT_MAX): Delete definition.
1772 (SHRT_MAX, SHRT_MIN): New definitions.
1773 (glyph::hpos): Change type to short.
1774 (tty_printer::end_page): Output multiple backspaces if necessary.
1775 Remove casts of glyph::hpos to int.
1777 Fri May 7 12:14:37 1993 James Clark (jjc at jclark.com)
1779 * tmac/tmac.s (@RT): New definition.
1781 Thu May 6 21:36:54 1993 James Clark (jjc at jclark.com)
1783 * refer/refer.cc (do_file): Make sure current_filename is set when
1786 * pic/common.cc (common_output::dot_line): Handle zero length
1789 Sun May 2 19:54:16 1993 James Clark (jjc at jclark.com)
1791 * tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
1792 (par@init): Initialize \n[HY].
1794 Mon Apr 26 11:43:16 1993 James Clark (jjc at jclark.com)
1796 * troff/dictionary.cc (dictionary::remove): Continue when
1799 Sun Apr 25 11:03:00 1993 James Clark (jjc at jclark.com)
1801 * Makefile.com (.y.cc): Avoid ending up with two versions of
1804 Thu Apr 22 21:03:45 1993 James Clark (jjc at jclark.com)
1806 * tmac/tmac.dvi (\(,c): Define only if it does not exist.
1807 (\(,C): Likewise. Also fix typo.
1809 Wed Apr 21 08:47:32 1993 James Clark (jjc at jclark.com)
1811 * lib.h: Delete extraneous semi-colon.
1813 * Add pso request: `so' from a pipe.
1814 * troff/input.c (file_iterator::file_iterator): Add 3rd argument.
1815 (file_iterator::close): New function.
1816 (file_iterator::~file_iterator, file_iterator::next_file): Use
1817 file_iterator::close.
1818 (file_iterator::backtrace): Say `process' rather than `file' when
1819 the stream is popened.
1820 (pipe_source): New function.
1821 (init_input_requests): Bind ".pso" to pipe_source.
1823 Tue Apr 20 00:02:26 1993 James Clark (jjc at jclark.com)
1825 * afmtodit/afmtodit.pl: Avoid single quotes in comments.
1827 * pfbtops/pfbtops.c: Output 64 characters per line. Output hex
1828 digits in lower case.
1830 Mon Apr 19 09:55:57 1993 James Clark (jjc at jclark)
1832 * Version 1.08 released.
1834 * Makefile.in (dist): Insert || true after ln -s commands that
1837 * mm: Update to mm 1.16.
1839 * acgroff.m4 (GROFF_CSH_HACK): New macro.
1840 * configure.in: Call GROFF_CSH_HACK. Substitute for
1842 * Makefile.in (SH_SCRIPT_SED_CMD): New variable. Include in
1844 * nroff/Makefile.sub (nroff): New target.
1845 (install_data): Install nroff.
1846 * eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
1847 * grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.
1849 Sat Apr 17 08:24:28 1993 James Clark (jjc at jclark)
1851 * eqn/Makefile.sub (neqn): Add chmod +x.
1853 * grog/Makefile.sub (grog): Remove spurious semi-colon.
1855 Fri Apr 16 22:41:57 1993 James Clark (jjc at jclark)
1857 * troff/input.cc (string_iterator::string_iterator()): Initialize
1860 Tue Apr 13 10:22:28 1993 James Clark (jjc at jclark)
1862 * troff/div.cc (macro_diversion::space,
1863 top_level_diversion::space): Don't set high_water_mark.
1864 (macro_diversion::output, top_level_diversion::output): Don't
1865 include post line space in high water mark.
1867 Wed Apr 7 12:48:18 1993 James Clark (jjc at jclark)
1869 * eqn/eqn.y: Don't define YYDEBUG.
1870 * pic/pic.y: Likewise.
1872 Mon Apr 5 10:15:15 1993 James Clark (jjc at jclark)
1874 * tmac/tmac.e ([3): Add space after comma following editors.
1875 Change double spaces to single spaces.
1876 ([4): Change double spaces to single spaces.
1878 * grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
1879 * grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
1880 bit is set in broken_flags, use 2.0 rather than 3.0 as the version
1881 after %!PS-Adobe- (for Newsprint).
1883 * troff/div.cc (top_level_diversion::begin_page): When
1884 before_first_page is 1, set page_number to 1.
1886 Sun Apr 4 14:28:53 1993 James Clark (jjc at jclark)
1888 * eqn/box.cc (box::top_level): Protect equation with \&.
1890 Sat Apr 3 23:27:25 1993 James Clark (jjc at jclark)
1892 * groff/groff.cc (possible_command::set_name): Delete old name.
1894 * groff/groff.cc (possible_command::~possible_command): Use
1897 * troff/node.cc (troff_output_file::begun_page): New member.
1898 (troff_output_file::troff_output_file): Initialize it.
1899 (troff_output_file::really_begin_page): Only output V command if a
1900 page has been begun.
1902 * pic/pic.y (placeless_element): Delete argument to PRINT after
1905 Fri Apr 2 11:31:02 1993 James Clark (jjc at jclark)
1907 * Make wrapman work.
1908 * troff/div.h (class top_level_diversion): Replace
1909 first_page_begun by before_first_page (with opposite sense).
1910 * Change first_page_begun to before_first_page inverting sense.
1911 * troff/div.cc (class nl_reg): New class.
1912 (init_div_requests): Use class nl_reg for \n(nl.
1913 (top_level_diversion::begin_page): Don't call
1914 output_file::begin_page if before_first_page is 2;
1915 reset before_first_page afterwards. If have_next_page_number is
1916 false, then always increment page_number.
1917 * tmac/tmac.an: Set traps within TH rather than at the top-level.
1918 Restore compatibility mode after loading, and then disable
1919 compatibility mode in TH.
1921 Thu Apr 1 11:09:34 1993 James Clark (jjc at jclark)
1923 * grotty/tty.cc (tty_printer::end_page): Don't discard characters
1925 * troff/node.h (output_file::trailer): Declare.
1926 * troff/div.cc (cleanup_and_exit): Call output_file::trailer().
1927 * troff/node.cc (output_file::trailer): New function.
1928 (troff_output_file::~troff_output_file): Move most code into...
1929 (troff_output_file::trailer): New function.
1930 (class troff_output_file): Delete page_length member. Declare
1932 (troff_output_file::really_begin_page): Use current page length
1933 for final V command.
1935 * tbl/main.cc (struct options): New decimal_point_char member.
1936 (options::options): Initialize this.
1937 (process_options): Implement decimalpoint option.
1938 (process_data): Pass decimal_point_char option to table::table.
1939 * tbl/table.h (class table): New decimal_point_char member.
1940 (table::table): Add additional argument.
1941 * tbl/table.cc (find_dot): Rename to find_decimal_point. Add
1942 second argument specifying decimal point character. Use this
1944 (table::table): Initialize decimal_point_char.
1945 (table::add_entry): Change call to find_dot.
1947 * troff/input.cc (get_copy, token::next): Implement \V.
1948 (interpolate_environment_variable): New function.
1950 Tue Mar 30 14:41:39 1993 James Clark (jjc at jclark)
1952 * pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
1953 * pic/pic.y: Likewise.
1955 * grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
1957 * refer/ref.cc (reference::insert_field, reference::delete_field):
1959 * troff/number.cc (parse_term): Likewise.
1961 * acgroff.m4 (GROFF_PROG_YACC): New macro.
1962 * configure.in: Use GROFF_PROG_YACC.
1964 * acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
1966 * Makefile.in (OPTIMIZE): New define.
1967 (DEBUG): Empty by default.
1968 (CCFLAGS, CFLAGS): Include $(OPTIMIZE).
1970 * acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
1971 (GROFF_ARRAY_DELETE): Likewise.
1972 (GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.
1974 * troff/env.cc (trie::~trie): Make virtual to shut up g++.
1976 * devps/psstrip.sed: Use different delimiter on last line (so that
1977 it works with BSD 4.4 sed.)
1979 Mon Mar 29 17:07:14 1993 James Clark (jjc at jclark)
1981 * devps/psstrip.sed: Delete comments.
1983 * acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
1984 optind, opterr, optarg.
1985 * lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
1988 Sun Mar 28 17:44:25 1993 James Clark (jjc at jclark)
1990 * Makefile.in (check): Dummy target.
1992 Wed Mar 3 04:53:38 1993 James Clark (jjc at jclark)
1994 * Version 1.07 released.
1996 * Integrate mm 1.11.
1998 * tbl/table.cc (alphabetic_block_entry::print): start_row was used
1999 where start_col was meant.
2001 Thu Feb 25 07:55:36 1993 James Clark (jjc at jclark)
2003 * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
2005 Wed Feb 24 10:15:34 1993 James Clark (jjc at jclark)
2007 * troff/input.cc (token::next): Make \z\o'...' and similar things
2010 * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
2012 (environment): Add margin_character_flags member.
2013 * env.cc (environment::environment(symbol),
2014 environment::environment(const environment *): Initialize
2015 margin_character_flags.
2016 (margin_character): Rewrite.
2017 (environment::output_line): Add a margin character if
2018 margin_character_flags is non-zero. Turn off the
2019 MARGIN_CHARACTER_NEXT bit. If that makes margin_character_flags
2020 zero, use margin_character_node without copying and then set
2021 margin_character_node to 0.
2023 * devps/DESC.in: Change minimum size to 1000.
2025 Tue Feb 23 14:57:49 1993 James Clark (jjc at jclark)
2027 * troff/symbol.h (symbol::hash): Change return type to unsigned
2029 * troff/dictionary.cc (dictionary::lookup, dictionary::remove):
2032 * test-groff: Use -r rather than -x.
2034 * grops/psfig.diff: Include in distribution again.
2036 Mon Feb 22 09:10:44 1993 James Clark (jjc at jclark)
2038 * Makefile.in (dist): Use gzip.
2040 Sun Feb 21 11:12:53 1993 James Clark (jjc at jclark)
2042 * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
2043 unistd.h as well as in stdlib.h.
2044 * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
2045 defined; otherwise include <sys/types.h> and <unistd.h> if
2046 UNISTD_H_DECLARES_GETOPT is defined.
2048 * configure.in: use builtin(include, ... rather than include(...
2049 * configure: Regenerate with autoconf 1.3.
2051 * libdriver/print.cc (printer::adjust_arc_center): Use new
2052 algorithm suggested by Andy Fyfe.
2054 * libdriver/printer.cc (printer::adjust_arc_center): New function.
2055 * include/printer.h: Declare this.
2056 * grops/ps.cc (ps_printer::draw): Use it.
2057 * grodvi/dvi.cc (dvi_printer::draw): Use it.
2059 Fri Feb 19 23:13:51 1993 James Clark (jjc at jclark)
2061 * Makefile.comm (.man.n): Replace macrodir by tmacdir.
2063 Thu Feb 11 16:46:59 1993 James Clark (jjc at jclark)
2065 * eqn/main.cc (main): Handle "eqn -".
2067 Mon Jan 4 20:29:56 1993 James Clark (jjc at jclark)
2069 * tmac/tmac.e (++): Install fix from comp.bugs.4sd.
2071 * mm: Integrate version 1.08.
2073 * pic/troff.cc (troff_output::finish_picture): Set
2074 EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
2075 * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
2076 if it's not defined. Check whether the register is non-zero rather
2077 than whether it's not defined.
2078 * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
2080 * indxbib/indxbib.cc: Move all signal handling into...
2081 * indxbib/signal.c: New file.
2082 * configure.in: Call AC_RETSIGTYPE.
2084 * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
2085 * configure.in: Call GROFF_STRUCT_EXCEPTION.
2086 * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
2088 * troff/input.cc (token::token, token::operator=): Work round SGI
2090 * pic/object.cc (position::position): Likewise.
2092 Mon Dec 28 21:50:21 1992 James Clark (jjc at jclark)
2094 * pic/pic.h: Move declaration of hypot().
2096 Wed Dec 16 12:28:29 1992 James Clark (jjc at jclark)
2098 * pic/pic.h: Declare hypot().
2100 * pic/pic.h: Define M_PI if necessary.
2102 Thu Dec 10 12:03:29 1992 James Clark (jjc at jclark)
2104 * tmac/tmac.e (re): Add alternative version that doesn't use groff
2107 * devps/prologue.ps (RE): Handle the possibility that the old font
2108 doesn't have a FontName entry.
2110 Wed Dec 2 10:25:29 1992 James Clark (jjc at jclark)
2112 * tmac/tmac.e (fam): Redefine to set family in environment 2.
2113 (@C): Use @fam not fam.
2115 Thu Nov 26 16:01:25 1992 James Clark (jjc at jclark)
2117 * lookbib/lookbib.cc (main): Change type of start to const char *.
2118 * lkbib/lkbib.cc (main): Likewise.
2120 * eqn/lex.cc (definition::definition): Don't use member
2121 initializer syntax for members of anonymous unions.
2123 * troff/input.cc (input_stack::backtrace): Change type of to const
2126 Wed Nov 25 13:43:09 1992 James Clark (jjc at jclark)
2128 * include/stringclass.h (class string): Declare inline friend
2129 functions as inline in class declaration.
2130 * troff/hvunits.h (class hunits, class vunits): Likewise.
2131 * include/refid.h (class reference_id): Likewise
2132 * troff/troff.h (points_to_units(units), scale(units, double)):
2133 Delete declarations.
2134 * libdriver/input.cc (get_char): Delete declaration.
2135 * include/lib.h: Change 2nd argument of getopt from const char **
2137 * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
2138 char **' before assigning to a `const char **'.
2139 * tbl/table.cc: Delete extra declarations of prints().
2141 Tue Nov 24 14:33:13 1992 James Clark (jjc at jclark)
2143 * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
2144 char **' before assigning to a `const char **'.
2146 * libgroff/errarg.cc (errarg::errarg): Don't use member
2147 initializer syntax for members of anonymous unions.
2149 Sat Nov 21 05:02:23 1992 James Clark (jjc at jclark)
2151 * mm: Integrate version 1.07.
2153 Tue Nov 17 16:44:27 1992 James Clark (jjc at jclark)
2155 * troff/input.c (translate2): Rename to
2156 (translate_no_transparent).
2157 (init_input_requests): Rename tr2 to trnt.
2159 Mon Nov 16 09:49:32 1992 James Clark (jjc at jclark)
2161 * troff/charinfo.h (class charinfo): Add transparent_translate field.
2162 (charinfo::set_translation, charinfo::set_special_translation):
2163 Add second argument that specifies value for
2164 transparent_translate.
2165 (charinfo::get_translation, charinfo::get_special_translation):
2166 Add optional second argument that specifies whether translation is
2167 being used for transparent throughput.
2168 * troff/input.cc (charinfo::set_translation,
2169 charinfo::set_special_translation): Handle second argument.
2170 (charinfo::charinfo): Initialize transparent_translate.
2171 (translate): Split main part off into
2172 (do_translate): New function. Pass argument saying whether
2173 translation applies to transparent throughput.
2174 (translate2): New request.
2175 (init_input_requests): Bind translate2 to `tr2'.
2177 Wed Nov 11 11:43:20 1992 James Clark (jjc at jclark)
2179 * tbl/table.h (class table): Add `nokeep' flag.
2180 * tbl/main.cc (process_options): Handle `nokeep' option.
2181 * tbl/table.cc (table::init_output, table::do_row, table::do_top,
2182 table::do_bottom): Don't output keep/release macro definitions or
2183 calls when `nokeep' option has been specified.
2185 Sat Nov 7 01:28:33 1992 James Clark (jjc at jclark)
2187 * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
2189 Wed Nov 4 16:29:04 1992 James Clark (jjc at jclark)
2191 * tbl/table.cc (table_entry::divert, block_entry::do_divert,
2192 block_entry::divert, alphabetic_block_entry::divert): Add extra
2193 argument giving column separation.
2194 (table::compute_widths): Pass column separation to
2195 table_entry::divert().
2196 (block_entry::do_divert): If an entry spans multiple columns and a
2197 minimumum width has been specified for each column, then set the
2198 line length to the sum of the widths (plus possibly the column
2201 * troff/input.cc (set_escape_char): Don't set the escape_char
2202 until after calling has_arg().
2204 Tue Nov 3 11:23:27 1992 James Clark (jjc at jclark)
2206 * tbl/table.cc (table::do_top): Add missing \s0 for double box
2209 * tbl/table.cc (table::print_double_hline): Avoid extra new line
2210 in case where r > nrows - 1.
2212 * tbl/table.cc (BODY_HEIGHT): Deleted.
2213 (LINE_SEP): New definition.
2214 (table::print_single_hline, table::print_double_hline,
2215 table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
2216 table::do_row, table::do_top): Use LINE_SEP space before a line
2217 instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.
2219 * tbl/table.cc (text_entry::print_contents): New function.
2220 (text_string_name, right_text_string_name): Deleted.
2221 (TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
2222 (simple_text_entry::do_width, numeric_text_entry::do_width,
2223 alphabetic_text_entry::do_width): Don't store the contents of the
2225 (left_text_entry::simple_print, right_text_entry::simple_print,
2226 center_text_entry::simple_print,
2227 alphabetic_text_entry::simple_print,
2228 numeric_text_entry::simple_print): Print the entry directly
2229 instead of using the stored string.
2231 Fri Oct 30 10:39:32 1992 James Clark (jjc at jclark)
2233 * devps/Makefile: Strip PostScript files.
2234 * devps/prologue: Rename to...
2235 * devps/prologue.ps.
2236 * devps/psstrip.sed: New file.
2237 * devps/download: Use .pfa rather than .ps for installed versions
2240 Thu Oct 29 09:14:43 1992 James Clark (jjc at jclark)
2242 * troff/env.cc (input_trap): Give a warning if the argument is out
2245 * troff/env.cc (adjust): Treat negative argument as missing. Round
2246 argument > 5 down to 5.
2248 * troff/env.cc (center, right_justify): Make negative argument zero.
2250 * troff/div.cc (page_offset, vertical_position_traps): Treat
2251 invalid argument as missing.
2252 * troff/env.cc (line_spacing, line_length, title_length, indent,
2253 underline, hyphen_line_max_request, control_char,
2254 no_break_control_char, widow_control_request, adjust, input_trap,
2255 point_size): Likewise.
2256 * troff/node.cc (ligature, kern_request, bold_font, track_kern,
2257 constant_space): Likewise.
2258 * troff/input.cc (compatible, shift, warn_request,
2259 set_escape_char): Likewise.
2261 * tbl/main.cc (format::format): Avoid doing `new int[0]'.
2262 * tbl/table.cc (table::table): Likewise.
2264 * Makefile.dev (install_dev): depends on $(DEVFILES).
2266 Wed Oct 28 08:30:57 1992 James Clark (jjc at jclark)
2268 * devX75, devX75-12, devX100, devX100-12: New directories.
2269 * Makefile.in: Add these to DEVDIRS.
2271 * troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
2272 afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
2273 grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
2274 * Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
2276 * Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
2277 (uninstall): New target.
2278 * Makefile.comm (uninstall, uninstall_sub, uninstall_man,
2279 uninstall_prog, uninstall_dev): New targets.
2281 * troff/div.cc (return_request): Treat an invalid argument as
2284 Mon Oct 26 11:33:47 1992 James Clark (jjc at jclark)
2286 * tmac/tmac.e ((f): Set up the environment even when there's a
2287 current diversion. Transperently throughput a call to @N.
2290 Thu Oct 22 05:05:59 1992 James Clark (jjc at jclark)
2292 * tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
2293 up to vertical resolution.
2295 * tbl/table.cc (table::do_row): Change row number after printing
2298 * pic/lex.cc (get_token_after_dot): Make .left and .right work.
2300 Wed Oct 21 14:46:45 1992 James Clark (jjc at jclark)
2302 * Rename CHANGES to NEWS.
2304 Tue Oct 20 23:25:21 1992 James Clark (jjc at jclark)
2306 * libgroff/new.cc (operator new): Avoid calling malloc(0).
2308 Mon Oct 19 09:10:13 1992 James Clark (jjc at jclark)
2310 * man.ultrix: Removed.
2312 Sun Oct 18 06:35:15 1992 James Clark (jjc at jclark)
2314 * Makefile.comm (extraclean): Delete files whose names begin with
2317 * pic/troff.cc (troff_output::text): Fix typo in implementation of
2320 Sat Oct 10 09:32:29 1992 James Clark (jjc at jclark)
2322 * troff/env.cc (hyphenate_request, vertical_spacing, no_number):
2323 * troff/div.cc (page_length, need_space, space_request): Treat
2324 invalid optional argument as missing.
2325 * troff/env.cc (number_lines): If the first argument is present
2326 but not a number, turn on line numbering, don't change the next
2327 line number and parse the remaining arguments.
2329 * tmac/tmac.e (@q): Do the `ne' before changing to environment 2.
2331 Thu Oct 8 10:24:40 1992 James Clark (jjc at jclark)
2333 * eqn/box.h: Change declaration accordingly.
2334 * eqn/box.cc (set_gsize): Change return type to int. Return 0 if
2335 the specified size was bad but don't give an error. Check for
2337 * eqn/main.cc (main): Change caller. Leave validation to set_gsize.
2338 * eqn/lex (do_size): Likewise.
2340 Wed Oct 7 09:48:59 1992 James Clark (jjc at jclark)
2342 * acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
2345 Sun Oct 4 18:24:02 1992 James Clark (jjc at jclark)
2347 * tbl/table.cc (table::init_output): Improve error message when
2348 table won't fit on one page.
2350 Fri Oct 2 10:41:40 1992 James Clark (jjc at jclark)
2352 * pic/troff.cc (troff_output::start_picture): Generate line
2353 containing a horizontal motion equal to the width of the picture.
2355 * groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
2356 using GROFF_COMMAND_PREFIX environment variable.
2358 Fri Sep 25 11:40:40 1992 James Clark (jjc at jclark)
2360 * mdate.sh: Use $NF rather than $(NF).
2362 Tue Sep 22 09:47:24 1992 James Clark (jjc at jclark)
2364 * pic/main.cc (main): Use %1 not %c in argument to warning.
2366 * eqn/main.cc (main): Output code to check that geqn was given the
2369 Mon Sep 21 10:59:16 1992 James Clark (jjc at jclark)
2371 * Makefile.in (dist): Instead of doing `make -f ../Makefile', do
2372 `ln -s ../Makefile .; make; rm -f Makefile'.
2374 * troff/hyphen: Rename to...
2376 * troff/input.cc (main): Delete -H option. Don't call
2378 * troff/env.cc: Include searchpath.h and macropath.h.
2379 (exception_dictionary): Deleted.
2381 (read_hyphen_file): Deleted.
2382 (hyphenation_language): New struct.
2383 (class trie, class hyphen_trie): Move declarations up.
2384 (trie_node::~trie_node): Deleted.
2385 (trie::delete_trie_node): New function.
2386 (trie::do_delete): New pure virtual function.
2387 (hyphen_trie::do_delete): New function.
2388 (trie::~trie): New function.
2389 (hyphen_trie::~hyphen_trie): New function.
2390 (trie::clear): No need to chcek that tp is not 0.
2391 (current_language, language_dictionary): New variables.
2392 (hyphen_word): Give an error if no current language. Use
2393 exceptions dictionary in current language.
2394 (hyphen_trie::read_patterns_file): Find file using macro_path.
2395 Allow comments (starting with %) in patterns file. Don't make it
2396 a fatal error if the file can't be found.
2397 (hyphenate): Return if no current language. Get the exceptions
2398 dictionary and the hyphenation patterns from the current language.
2399 (set_hyphenation_language): New variable.
2400 (hyphenation_patterns_file): New function.
2401 (hyphenation_language_reg): New class.
2402 (hyphenation_language_reg::get_string): New function.
2403 (init_hyphen_requests): Bind "hla" to set_hyphenation_language and
2404 "hpf" to hyphenation_patterns_file. Initialize `.hla' number
2406 * groff/groff.cc (main, help, synopsis): Delete -H option.
2407 * include/Makefile.sub: Don't define HYPHENFILE.
2408 * Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
2409 * Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
2410 * tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
2411 hyphenation patterns.
2413 Sun Sep 20 09:33:02 1992 James Clark (jjc at jclark)
2415 * eqn/neqn.sh: New file.
2416 * eqn/Makefile.sub: Handle neqn.sh.
2418 * eqn/eqn.h: Declare `nroff' variable.
2419 * eqn/box.cc (param_table): Add `nroff' param.
2421 * eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
2423 * tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.
2425 * troff/troff.h (WARN_FONT): New warning.
2426 (WARN_TOTAL): Change accordingly.
2427 * troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
2428 (warning_table): Add WARN_FONT.
2429 * troff/node.cc (mount_font_no_translate): Pass argument to
2430 font::load_font. If this is non-zero, give a warning.
2431 Don't give an error message when accessing a font that has already
2432 been found to be invalid.
2433 * include/font.h (font::load, font::load_font): Add additional
2434 optional argument which suppresses error message if the font is
2436 * libgroff/font.cc (font::load_font): Handle additional argument.
2437 (font::load): Add additional argument. If this is non-null, set it
2438 to 1 and don't give error message.
2440 * include/printer.h (printer::end_page): Add argument giving
2442 * libdriver/input.cc (do_file): Pass this.
2443 * grops/ps.cc (ps_printer::end_page): Add argument.
2444 * grodvi/dvi.cc (dvi_printer::end_page,
2445 draw_dvi_printer::end_page): Add argument.
2446 * grotty/tty.cc (class tty_printer): Remove lines_per_page and
2447 columns_per_page members. New member nlines.
2448 (DEFAULT_LINES_PER_PAGE): Deleted.
2449 (tty_printer::tty_printer): Don't compute lines_per_page from
2450 font::paperlength. Don't compute columns_per_page from
2452 (tty_printer::add_char): Don't check horizontal position against
2453 columns_per_page. Grow glyphs vector if neccessary.
2454 (tty_printer::end_page): Add argument giving page_length in units.
2455 Discard lines past end of page.
2457 Wed Sep 16 06:29:52 1992 James Clark (jjc at jclark)
2459 * tmac/tmac.tty-char: Fix definition of \(/l.
2461 * tmac/tmac.X: Define \(en.
2463 Tue Sep 15 10:37:13 1992 James Clark (jjc at jclark)
2465 * acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
2466 lpq, then use lp rather than lpr.
2468 * tmac/tmac.s (par@reset): Don't call `ad'.
2469 (par*env-init): Call `ad'.
2471 Sun Sep 13 18:48:20 1992 James Clark (jjc at jclark)
2473 * mdate.sh: Use $(NF) instead of $6 to extract year from output of
2476 * troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
2477 * indxbib/indxbib.cc: Likewise.
2479 Sun Sep 6 09:44:46 1992 James Clark (jjc at jclark)
2481 * libgroff/putenv.c: New file.
2482 * libgroff/Makefile.sub: Add putenv.c to CSRCS.
2483 * Makefile.in: Say that putenv.o can be one of LIBOBJS.
2484 * configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
2485 stdlib.h with AC_HAVE_HEADERS.
2487 Sat Sep 5 18:11:52 1992 James Clark (jjc at jclark)
2489 * indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
2492 Fri Sep 4 09:43:26 1992 James Clark (jjc at jclark)
2494 * eqn/box.cc (gsize): Make it an int.
2495 (set_gsize): Parse argument handling increment or decrement.
2496 (box::top_level): Convert gsize to a string.
2498 * troff/input.cc (exit_troff): Make buf unsigned char [].
2499 Call to make_temp_iterator casts buf to char*.
2501 * Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.
2503 * Makefile.ccpg (depend.temp): Depends on $(YTABC).
2504 * Makefile.cpg (depend.temp): Likewise.
2506 * Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).
2508 * Makefile.comm: Add y.output to MOSTLYCLEANFILES.
2510 Thu Sep 3 08:01:55 1992 James Clark (jjc at jclark)
2512 * tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.
2514 Tue Sep 1 18:24:53 1992 James Clark (jjc at jclark)
2516 * Version 1.06 released.
2518 * Integrate mm 1.04.
2520 Fri Aug 28 11:28:19 1992 James Clark (jjc at jclark)
2522 * Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.
2524 Thu Aug 27 11:03:33 1992 James Clark (jjc at jclark)
2526 * afmtodit/afmtodit.pl: Add -n option that disables generation of
2528 * devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
2529 afmtodit. Regenerate.
2531 * tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
2532 @f back past the current position.
2534 * tmac/tmac.e: Change calls to @R so that comments are not part of
2537 Tue Aug 25 10:42:07 1992 James Clark (jjc at jclark)
2539 * configure.in: Check for mkstemp with AC_HAVE_FUNCS.
2541 * acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
2542 check that we can link a call to a function declared in <stdio.h>.
2543 (GROFF_UNISTD_H): New macro.
2544 * configure.in: Call it.
2545 * Makefile.in: Document it.
2546 * include/posix.h: New file.
2547 * troff/troff.h: Don't include <osfcn.h>
2548 * troff/input.cc: Include posix.h.
2549 * libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
2551 * indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
2552 Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
2554 * indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
2555 * libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
2556 * libbib/search.cc (O_RDONLY): Delete definition.
2557 * refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
2558 Don't include <osfcn.h>.
2560 * acgroff.m4 (GROFF_TIME_T): New macro.
2561 * configure.in: Call it.
2562 * Makefile.in: Document it.
2564 * acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
2565 * configure.in: Call it.
2566 * Makefile.in: Document -DTRADITIONAL_CPP.
2567 * include/ptable.h: Don't include generic.h.
2570 * tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
2571 Afterwards remove [T1 and [T2.
2572 (ref*spec!0, ref*spec!2): Use T1 rather than T.
2573 (ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
2574 (ref*add-T2): Renamed from ref*add-T.
2575 (ref*add-T1): New macro.
2577 Mon Aug 24 11:11:11 1992 James Clark (jjc at jclark)
2579 * acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.
2581 * libbib/index.cc: Include <fcntl.h>.
2582 (O_RDONLY): Define if necessary.
2583 (make_index_search_item, index_search_item_iterator::get_tag,
2584 index_search_item::check_files): Use O_RDONLY.
2585 * libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
2586 (O_RDONLY): Define if necessary.
2587 (search_list::add_file): Use O_RDONLY.
2588 * indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
2590 (S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
2593 * libbib/index.cc (S_ISREG): Define it if necessary.
2594 (index_search_item::load): Use S_ISREG.
2596 * include/driver.h: Include <errno.h>.
2598 Sun Aug 23 11:32:18 1992 James Clark (jjc at jclark)
2600 * eqn/box.cc (body_height): Increase default value to 85.
2601 (body_depth): Increase default value to 35.
2603 Fri Aug 21 05:34:42 1992 James Clark (jjc at jclark)
2605 * eqn/pbox.h (SAVE_FONT_STRING): Define it.
2606 * eqn/box.cc (box::top_level): Hide use of \R in a string that is
2607 protected from expansion with \E.
2609 * acgroff.m4 (GROFF_PAGE): Use `case' to test domain.
2611 * Makefile (Makefile): New target.
2613 * Makefile.sub (configure, distfiles): New targets.
2615 * acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
2618 Thu Aug 20 12:27:26 1992 James Clark (jjc at jclark)
2620 * eqn/box.cc (param_table): Add body_height and body_depth.
2622 * eqn/lex.cc (def_table): Make circumflex in hat_def roman.
2624 Tue Aug 18 16:24:25 1992 James Clark (jjc at jclark)
2626 * psbb/Makefile.sub: Don't link with libgroff.a.
2628 * acgroff.m4 (GROFF_PUTENV): New macro.
2629 * configure.in: Call GROFF_PUTENV.
2630 * Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
2631 * groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
2634 * troff/env.cc (distribute_space): Rename force_forward argument
2635 to force_reverse. Reverse the list if force_reverse is true.
2637 Mon Aug 17 17:49:05 1992 James Clark (jjc at jclark)
2639 * tmac/tmac.an: Don't define a string `T'. Just define Tm.
2641 * eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
2642 height or depth to be negative. Guard against SUP_RAISE quantity
2645 Sat Aug 15 08:18:54 1992 James Clark (jjc at jclark)
2647 * devps/generate/textmap: Add `an' (arrowhorizex).
2648 * tmac/tmac.ps: \(an overlaps horizontally.
2649 * tmac/tmac.dvi, tmac/tmac.tty: Add `an'.
2651 * devps/symbolchars: Add arrowverttp, arrowvertbt.
2652 * devps/textmap: Add arrowvertex.
2653 * eqn/delim.cc (delim_table): Add uparrow, downarrow and
2654 updownarrow delimiters.
2655 * tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.
2657 * tbl/table.cc (simple_entry::position_vertically,
2658 block_entry::position_vertically): For a centered entry, perform
2659 the motion in two stages.
2661 * refer/refer.cc (split_punct): Don't call lookup_token if there
2664 Fri Aug 14 11:14:58 1992 James Clark (jjc at jclark)
2666 * troff/input.cc (token::next): Delete token_node after copying
2669 * grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
2672 * libdriver/printer.cc (printer::load_font): Delete old_font_table.
2674 * grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.
2676 Tue Aug 11 13:50:38 1992 James Clark (jjc at jclark)
2678 * grops/ps.cc (usage): -b option takes an argument.
2680 * devps/prologue (PLG): New procedure.
2681 * grops/ps.cc (main, usage): New -g option.
2682 (ps_printer::~ps_printer): If guess_flag is set, guess the paper
2685 Mon Aug 10 11:17:53 1992 James Clark (jjc at jclark)
2687 * include/cset.h: Include <limits.h> if we have it.
2689 * libgroff/illegal.cc: New file.
2690 * include/lib.h (illegal_input_char): Use table.
2691 * troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
2692 * pic/lex.cc (ARG1): Renumber to 14.
2693 * eqn/lex.cc (ARG1: Likewise.
2695 * troff/Makefile.sub (majorminor.cc): Handle 3 part versions
2696 (eg 1.05.90) correctly.
2698 Sun Aug 9 13:35:43 1992 James Clark (jjc at jclark)
2700 * tmac/tmac.e (sr): Deleted. Set $r and $R directly.
2701 Rename $r and $R registers to $v and $V.
2702 ($r, $R): Initialize to 0.
2703 (@v, @V): New macros.
2707 * troff/input.cc (main, usage): Add -R option that says not to
2709 * eqn/main.cc (main, usage): Rename -n to -R.
2711 Sat Aug 8 00:16:00 1992 James Clark (jjc at jclark)
2713 * devps/DESC.in: Leave font positions 5-9 blank.
2714 * devdvi/DESC.in: Likewise.
2716 * grog/grog.pl: Handle `.PS <file' correctly.
2718 * troff/input.cc (input_stack::push): Improve error message when
2719 input stack limit exceeded.
2721 Fri Aug 7 13:08:16 1992 James Clark (jjc at jclark)
2723 * refer/refer.cc (main): Fix typo in handling of `a' option.
2725 * refer/refer.cc (do_bib): In state START after a newline remain
2728 * groff/groff.sh: Deleted.
2729 * groff/Makefile.sub: Delete handling of groff.sh.
2731 * pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
2732 to determine whether to use \X'ps:...'.
2733 * tmac/troffrc: Set 0p register to 0.
2734 * tmac/tmac.ps: Set 0p register to 1.
2736 * groff/groff.cc: Support -X option. Give warning for -TXps and
2737 transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
2738 * tmac/troffrc: Support -r.X=1.
2740 * pic/troff.cc (troff_output::dot): Don't test
2741 zero_length_line_flag.
2743 Thu Aug 6 13:32:08 1992 James Clark (jjc at jclark)
2745 * include/lib.h: Declare getopt() and friends unless
2746 STDLIB_H_DECLARES_GETOPT is defined.
2748 * doc/chars.tr: Delete.
2749 * man/groff_char.man: New file.
2751 Wed Aug 5 00:38:58 1992 James Clark (jjc at jclark)
2753 * tmac/tmac.e (np, bu): Test \n($p with string expression in case
2754 user has changed register format.
2756 Mon Aug 3 11:22:18 1992 James Clark (jjc at jclark)
2758 * groff/groff.cc: Get rid of device_table. Get postprocessor from
2759 `postpro' command in DESC file. Get spooler command from `print'
2760 command in DESC file. Execute spooler command with /bin/sh.
2762 * groff/groff.cc: Split Unix-specific parts into...
2763 * groff/pipeline.c: New file.
2766 * COPYING: New file.
2767 * all files: Update copyright notices.
2769 * Rearrange files. Redo Makefiles. Use autoconf.
2771 Sat Aug 1 09:36:50 1992 James Clark (jjc at jclark)
2773 * troff/input.c (charinfo_to_node_list): Interpret character
2774 definition with escape_char of `\'.
2776 Tue Jul 28 12:20:12 1992 James Clark (jjc at jclark)
2778 * lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
2779 Define INT_DIGITS as big enough for 64-bit integer.
2780 * lib/strtol.c: Don't include lib.h.
2781 * lib/lib.h: Delete ifdef __cplusplus stuff.
2783 Mon Jul 27 11:08:50 1992 James Clark (jjc at jclark)
2785 * ps/devps/Makefile: Add DESC to DEVICEFILES. Separate out rule
2786 for making DESC. Make $(FONTS) depend on DESC. afmtodit should
2787 get DESC from current directory.
2789 Sun Jul 26 15:38:26 1992 James Clark (jjc at jclark)
2791 * tbl/main.c (main): Always reset the line number when reading
2794 * tbl/table.c (table::print_single_hline, table::print_double_hline,
2795 table::define_bottom_macro, table::do_row, table::do_top): Round
2796 vertical spacing up to vertical resolution.
2798 Fri Jul 24 14:32:07 1992 James Clark (jjc at jclark)
2800 * ps/ps.h (enum resource_type): Avoid comma at end of
2802 * dvi/dvi.c (class dvi_printer): Likewise.
2803 * dvi/tfmtodit.c (gf::load): Likewise.
2804 * refer/label.y (struct expression): Likewise.
2805 * refer/refer.c (class label_processing_state): Likewise.
2806 * refer/indxbib.c (do_file): Likewise.
2807 * troff/troff.c (enum warning_type): Likewise.
2808 * tbl/main.c (process_data): Likewise.
2809 * troff/charinfo.h (class charinfo):
2811 Wed Jul 22 09:17:58 1992 James Clark (jjc at jclark)
2813 * dvi/devdvi/textt.map: Add entry for `-'. Regenerate fonts.
2815 Tue Jul 21 11:39:26 1992 James Clark (jjc at jclark)
2817 * groff.c: Move to new groff subdirectory.
2818 * groff/Makefile: New file.
2819 * Makefile: Remove handling of groff.c. Add groff to SUBDIRS.
2821 * man/mdate.sh: Use ls -L if supported.
2823 * Consolidate all header files produced by gendef into lib/defs.h.
2824 * lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
2825 Don't include path.h.
2826 * lib/Makefile (path.h): Don't generate.
2827 * troff/input.c: Include defs.h. Don't include config.h.
2828 * troff/Makefile (config.h): Don't generate.
2829 * refer/index.h: Don't include suffix.h.
2830 * refer/index.c: Include defs.h.
2831 * refer/indxbib.c: Include defs.h.
2832 * refer/refer.h, refer/lkbib.h: Don't include path.h. Include
2834 * refer/Makefile (suffix.h, path.h): Don't generate.
2835 * groff.c: Don't include config.h. Include defs.h.
2836 * Makefile (config.h): Don't generate.
2837 (lib/defs.h): Generate.
2838 (topclean): Remove lib/defs.h.
2840 Mon Jul 20 10:12:57 1992 James Clark (jjc at jclark)
2842 * lib/malloc.c, lib/getpagesize.h: Deleted.
2843 * Makefile: Add COOKIE_BUG configuration option. Delete malloc
2845 * lib/Makefile: Delete malloc-related stuff.
2846 * lib/new.c: Workaround COOKIE_BUG if necessary.
2848 * refer/lkbib.c, refer/indxbib.c: Don't include refer.h. Include
2849 needed header files directly.
2850 * refer/refer.h: Omit definition of DEFAULT_INDEX.
2851 * Makefile: Include definition of DEFAULT_INDEX in path.h.
2853 Sun Jul 19 10:19:22 1992 James Clark (jjc at jclark)
2855 * lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
2857 * lib/font (font::load_desc, font::load): Don't split argument of
2859 (font::handle_unknown_font_command): Change type.
2860 * ps/ps.c (ps_font::handle_unknown_font_command,
2861 handle_unknown_desc_command): Change type.
2862 * dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.
2864 Fri Jul 17 11:12:49 1992 James Clark (jjc at jclark)
2866 * lib/font.h (font::handle_unknown_font_command): Add file and
2868 * lib/font.c (font::handle_unknown_font_command):
2869 * ps/ps.c (ps_font::handle_unknown_font_command):
2870 * dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
2871 lineno arguments. Use _with_file_and_line functions for error
2874 * lib/fontfile.c (font::unknown_desc_command_handler): New static
2876 * lib/font.c (font::set_unknown_desc_command_handler): New
2878 (font::load_desc): For unknown commands, call
2879 unknown_desc_command_handler if not null.
2880 * lib/font.h (class font): Declare them.
2881 (FONT_COMMAND_HANDLER): New typedef.
2882 * ps/ps.c (handle_unknown_desc_command): New function.
2883 (main): Set bflag if we had a -b option. Call
2884 font::set_unknown_desc_command_handler.
2885 (broken.h): Don't include.
2886 * ps/Makefile: No need for broken.h. Pass BROKEN_SPOOLER_FLAGS to
2888 * ps/devps/Makefile: Add `broken' command to DESC file using
2889 BROKEN_SPOOLER_FLAGS.
2891 * macros/tmac.e ([, ]): Add as synonyms for { and }.
2893 * macros/tmac.e ($p): Only exdent if \$3 > 0.
2895 * macros/tmac.e (@R, @S): New macros.
2896 Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
2897 ?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
2898 Declare $H, $[0-9], .. macros with @S.
2899 Declare |0, |1, |2, |3 strings with @S.
2901 * macros/tmac.e (@S): Rename to @U.
2903 * macros/tmac.e (@z): Define @b and bp as empty instead of
2906 * macros/tmac.e (@m): Deleted.
2907 (@h): Don't call @m.
2908 (@z): Don't set @m trap.
2910 * macros/tmac.e ($h, $f): Define |z as empty string.
2912 * macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
2915 * macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
2917 ()f): Likewise for * register.
2919 * macros/tmac.e (sr): Don't ever scale the arguments. If the third
2920 argument is missing, don't change $R. Call sr with three
2921 arguments when initializing.
2923 Thu Jul 16 12:17:12 1992 James Clark (jjc at jclark)
2925 * macros/tmac.e (sr): New macro.
2926 Initialize $r and $R using sr.
2928 * macros/tmac.e (,): Delete \*(#[.
2930 * troff/env.c (set_tabs): Read the tab type even if the position
2931 is bad. Allow the position of the first tab stop to be negative.
2933 Wed Jul 15 13:14:37 1992 James Clark (jjc at jclark)
2935 * refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
2937 * refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
2938 rather than -DPATHCONF_MISSING.
2939 * Makefile: Get rid of PATHCONF_MISSING.
2941 * refer/map.c: New file.
2942 * refer/index.c: Interface to mmap through map.c. Rename map_size
2944 * refer/Makefile: Handle map.c.
2945 * Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.
2947 Tue Jul 14 14:15:20 1992 James Clark (jjc at jclark)
2949 * Makefile: RANLIB should be `true' if there is no ranlib.
2950 * lib/Makefile (libgroff.a): Simplify.
2951 * driver/Makefile (libdriver.a): Simplify.
2953 * Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
2954 * groff.c (WCOREDUMP): Use WCOREFLAG. Define only if not already
2957 Sat Jul 11 09:19:17 1992 James Clark (jjc at jclark)
2959 * troff/env.c (compare_ranges): Declare as extern "C".
2961 * troff/input.c (init_registers): Use `struct tm' instead of `tm'.
2963 * macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.
2965 Wed Jul 8 11:52:27 1992 James Clark (jjc at jclark)
2967 * pic/troff.c (troff_output::text): Merge in grops_output::text,
2968 but conditionalize use of \X based on \*(.T.
2969 (grops_output::*): Deleted.
2970 * pic/output.h: Delete declaration of make_grops_output.
2971 * pic/main.c (main): Ignore -p and -x. driver_extension_flag is 1
2972 by default. -n sets it to 0.
2973 (usage): Corresponding changes.
2974 * groff.c (main): Don't pass -x or -p to pic.
2975 * groff.sh: Likewise.
2977 * ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
2980 * ps/devps/afmtodit: Change calculation of asc_boundary and
2981 desc_boundary. Make these bounds inclusive.
2982 * ps/devps: Regenerate font files.
2984 Tue Jul 7 13:14:15 1992 James Clark (jjc at jclark)
2986 * macros/tmac.latin1: New file.
2987 * macros/tmac.tty-char: Use tmac.latin1.
2988 (tmac.tty-tr): Deleted.
2989 * macros/Makefile: Install tmac.latin1.
2990 * macros/tmac.dvi: Use tmac.latin1.
2991 * macros/troffrc: Translate \[char160] onto no-break space here.
2992 * macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.
2994 Mon Jul 6 11:06:52 1992 James Clark (jjc at jclark)
2996 * macros/tmac.Xps: Use `do' request.
2998 * macros/tmac.ps: Use `do' request.
3000 * macros/tmac.e (@C): Use `do' request.
3002 * macros/tmac.X, macros/tmac.Xps: Moved from xditview.
3003 * macros/Makefile: Install tmac.X*.
3005 * tty/tmac.tty, tty/tmac.tty-char: Move to macros.
3006 * tty/Makefile: Don't install tmac.tty*.
3007 * macros/Makefile: Install tmac.tty*.
3009 * dvi/tmac.dvi: Move to macros.
3010 * dvi/Makefile: Don't install tmac.dvi.
3011 * macros/Makefile: Install tmac.dvi.
3013 * ps/tmac.ps*: Move to macros.
3014 * ps/Makefile: Don't install tmac.ps*.
3015 * macros/Makefile: Install tmac.ps*.
3017 * eqn/box.c: Provide draw_lines parameter corresponding to -D
3019 * macros/eqnrc: Set draw_lines parameter based on device.
3020 * groff.c: Don't pass -D flag to eqn.
3021 * groff.sh: Likewise.
3022 * eqn/main.c: Warn about use of -D.
3024 * troff/input.c (process_startup_file): New function.
3025 (main): Call process_startup_file().
3026 * macros/troffrc: New file.
3027 * macros/Makefile: Install troffrc.
3028 * groff.c (main): Don't pass extra -m option to troff. For a
3029 pseudo device pass the name of the pseudo device to troff using
3031 * groff.sh: Likewise.
3032 * groff.c (possible_command::prepend_arg): Deleted.
3034 * troff/input.c (do_request): New function.
3035 (init_input_requests): Bind "do" to do_request.
3037 * eqn/main.c (main): Instead of loading eqnchar from device directory,
3038 load eqnrc from macro directory.
3039 * macros/eqnrc: New file.
3040 * macros/Makefile: Install eqnrc.
3041 * ps/devps/eqnchar: Deleted.
3042 * ps/devps/Makefile: Don't install eqnchar.
3043 * dvi/devdvi/eqnchar: Deleted.
3044 * dvi/devdvi/Makefile: Don't install eqnchar.
3045 * groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
3048 * lib/device.[ch]: New files.
3049 * lib/font.h (font::set_device_name, font::get_device_name):
3051 * lib/fontfile.c: Use device.h.
3052 * lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
3053 * troff/input.c: Delete definition of `device'.
3054 (main): Don't initialize device.
3055 * troff/troff.h: Include device.h rather than declaring device.
3056 * troff/Makefile: No need to handle DEVICE.
3057 * driver/input.c: Include device.h. Don't use
3058 font::{set,get}_device_name.
3059 * groff.c, Makefile: Rename device.h to config.h.
3060 * groff.c: Use library device variable.
3061 * eqn/main.c: Use library device variable.
3062 * eqn/Makefile: No need to handle DEVICE.
3064 * lib/searchpath.[ch]: New files.
3065 * lib/Makefile: Handle searchpath.[ch].
3066 * troff/input.c (open_file, init_dirs): Deleted.
3067 (macro_dirs): Deleted.
3068 (open_mac_file, macro_source): Use class search_path.
3069 (add_string, struct string_list): Move definition.
3070 (main): Change -M option to use macro_path. Delete call to
3072 * lib/fontfile.c (font::command_line_font_dir, font::open_file):
3073 Rewrite to use class search_path.
3074 * lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
3075 * lib/Makefile: fontfile.c depends on searchpath.h.
3076 * lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
3078 * lib/macropath.[ch]: New files.
3079 * troff/Makefile: No need to handle MACROPATH.
3081 * troff/input.c: Delete DUMP code.
3082 * lib/fontfile.c, lib/font.h: Delete
3083 font::forget_command_line_font_dirs.
3085 * troff/input.c (push_token): New function.
3086 (handle_first_page_transition): Use push_token().
3087 (process_input_stack): Change handling of a space at the beginning
3090 Sun Jul 5 17:11:09 1992 James Clark (jjc at jclark)
3092 * troff/input.c (font_dirs): Delete unused variable.
3094 * eqn/lex.c (do_set): Correct error messages.
3096 Sat Jul 4 10:20:55 1992 James Clark (jjc at jclark)
3098 * troff/input.c (do_define_string): Allow the string name to be
3099 followed immediately by a tab.
3100 (define_character): Likewise.
3102 Thu Jul 2 10:59:15 1992 James Clark (jjc at jclark)
3104 * ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
3107 * troff/input.c (input_iterator::is_file): New virtual function.
3108 (file_iterator::is_file): New function.
3109 (input_stack::end_file): New function.
3110 (input_stack::next_file): Handle the situation where there is no
3111 file on the input stack correctly. Avoid making two passes over
3113 (next_file): Make the filename optional; in this case call
3114 input_stack::end_file().
3116 Wed Jul 1 10:17:25 1992 James Clark (jjc at jclark)
3118 * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
3119 produce a real _ charater when the current font is CW and _
3122 * lib/errarg.c (errarg::errarg(const char *)): Invert conditional
3123 expression to work around gcc 2.2 bug.
3125 Wed Jun 24 08:12:24 1992 James Clark (jjc at jclark)
3127 * eqn/main.c (main): Don't give an error if we can't find eqnchar.
3129 * troff/env.c (environment::add_padding): New function.
3130 (environment::add_char): Use add_padding().
3131 (environment::space): Likewise.
3132 (environment::wrap_up_field): Add some padding if there is none
3133 and there's no current tab.
3134 * troff/env.h: Declare environment::add_padding.
3136 Mon Jun 22 08:37:45 1992 James Clark (jjc@jclark)
3138 * pic/pic.y: undef fmod and rand before declaring them.
3140 Sun Jun 14 11:40:18 1992 James Clark (jjc@jclark)
3142 * troff/input.c (main): If the DESC file specifies a font name of
3143 0, then leave the corresponding font position empty.
3145 * nroff.sh: New file.
3146 * Makefile (install.nobin): Install nroff.sh.
3148 * tty/devlatin1/R.proto: Add ao as synonym for de.
3149 * tty/tmac.tty-char: Define ao as o.
3151 * tty/dev{ascii,latin1}/R.proto: Add aq.
3152 * tty/tmac.tty-char: Delete definition of aq.
3154 Mon Jun 8 11:43:20 1992 James Clark (jjc@jclark)
3156 * troff/input.c (init_charset_table): Don't translate 0240.
3157 * ps/tmac.ps: Translate char160 to space.
3158 * dvi/tmac.dvi: Likewise.
3159 * tty/tmac.tty: Likewise.
3161 Sun Jun 7 10:52:35 1992 James Clark (jjc@jclark)
3163 * dvi/tmac.dvi: Add support for all Latin-1 characters.
3165 * macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
3166 \(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
3169 * tty/tmac.tty-char: Add \(ah.
3171 * dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
3172 No need to define \(FM and \(!/. Conditionalize all character
3175 * ps/devps/lgreekmap: Add +h, +f, +p.
3177 * ps/tmac.psnew: New file.
3178 * ps/Makefile: Install tmac.psnew.
3180 * troff/input.c (charinfo_to_node_list): Don't ever interpret
3181 character definitions in compatible mode.
3183 * troff/input.c (remove_character): New function.
3184 (init_input_requests): Bind remove_character to "rchar".
3186 * ps/tmac.psold: New file.
3187 * ps/Makefile: Install tmac.psold.
3188 * ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
3189 characters into tmac.psold. Make these definitions unconditional.
3191 * tty/tmac.tty-char: Define \n(_C only if it is not already defined.
3193 * ps/tmac.ps: Don't define \('c and \('C.
3195 * ps/devps/textmap: Move Greek characters to...
3196 * ps/devps/symbolchars:
3198 Sat Jun 6 16:41:17 1992 James Clark (jjc@jclark)
3200 * ps/devps/text.enc: Add quotesingle.
3201 * ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
3202 * tty/tmac.tty-char: Likewise.
3203 * dvi/devdvi/texmi.map: Add +h, +f, +p.
3204 * dvi/devdvi/texi.map: Add Fn.
3205 * dvi/devdvi/msam.map: Add lz.
3206 * dvi/tmac.dvi: Handle Bq, bq, aq.
3208 * pic/lex.c (get_token): Recognize 'th.
3209 * pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.
3211 Fri Jun 5 11:20:46 1992 James Clark (jjc@jclark)
3213 * ps/devps/textmap: Move di, mu, +- to...
3214 * ps/devps/symbolchars:
3216 * macros/tmac.s (@XS): Don't call par@reset or fi.
3217 (XA): Call LP. Turn off adjustment. Reduce line length.
3219 * macros/tmac.s: Initially alias XS to LP.
3220 (XS): Rename to @XS.
3221 (cov*ab-init): Alias XS to @XS.
3223 Thu Jun 4 09:12:05 1992 James Clark (jjc@jclark)
3225 * troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
3226 TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
3227 (token::is_size, token::changes_env): Deleted.
3228 * troff/number.c (parse_term): No need to process \s explicitly.
3229 Call tok.next() only after scale indicator has been processed.
3230 * troff/input.c (do_overstrike, do_bracket): No need to process \s,
3232 (token::next): Handle \s, \f, \S, \H immediately rather than
3233 returning them as tokens.
3234 (token::operator==, token::description, token::add_to_node_list,
3235 token::process): Remove handling of deleted tokens.
3237 * troff/env.c (environment::add_char): When adding padding
3238 indicator character, call start_line() if necessary.
3240 Wed Jun 3 09:55:50 1992 James Clark (jjc@jclark)
3242 * ps/devps/afmtodit: Don't output 0 kerns.
3244 * ps/devps/afmtodit: Remove directory from name of encoding in
3245 font description file.
3247 * ps/devps/afmtodit: Improve error messages.
3249 * ps/devps/afmtodit: Allow DESC file to be specified with -d.
3251 * ps/devps/Makefile: Incorporate FontMakefile. Rework.
3252 * ps/devps/FontMakefile: Deleted.
3253 * ps/devps/afmname: New file.
3255 * ps/devps/symbol.sed: New file.
3256 * ps/devps/symbol.diff: Deleted.
3257 * ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
3258 Generate zapfdr.afm from zapfd.afm.
3260 * tty/tmac.tty (tty-char): Prefix definition with ".
3262 * macros/tmac.an (TP): Don't start a diversion if one has already
3265 * tty/tmac.tty-char: Add Latin-1 characters.
3267 * tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.
3269 Tue Jun 2 00:54:34 1992 James Clark (jjc@jclark)
3271 * tbl/table.c (table::allocate): Delete old_vline, old_entry.
3272 Move declaration of struct horizontal_span.
3274 * tbl/table.c (table::table): Initialize span_list.
3275 (table::~table): Delete span_list.
3277 * lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.
3279 * ps/devps/Makefile: Avoid dependency on GNU make.
3281 * ps/tmac.ps: Check that character does not already exist before
3284 * tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
3285 \(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
3286 \(ru, \(ul, \(br, \(bv, \(sl which are in the font description
3289 * tty/tmac.tty-char: New file.
3290 * tty/Makefile: Install tmac.tty-char.
3291 * tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
3294 * tty/tmac.tty: Fix definition of \(34.
3296 * tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
3297 bracket-drawing characters onto |. Add *o.
3299 * troff/env.c (environment::wrap_up_tab): Increment field_spaces
3300 only if current_field.
3302 * troff/dictionary.c (dictionary::lookup): Free old_table after
3305 Mon Jun 1 10:15:22 1992 James Clark (jjc@jclark)
3307 * tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
3308 whose glyphs are identical to glyphs of some Roman character.
3310 * tty/devlatin1/R.proto (bu): Deleted.
3311 * tty/devascii/R.proto (bu): Deleted.
3312 * tty/tmac.tty: Add definition of \(bu.
3314 * eqn/main.c (do_file): Pass FILE as argument.
3315 (main): Automatically load eqnchar. New options -F and -n.
3316 Pass do_file an opened FILE.
3317 * groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
3318 No need to include font.h.
3319 * groff.sh: Likewise. Don't need to use - for standard input.
3320 Prefix files with -- if first file starts with -.
3322 * macros/tmac.e: Conditionalize use of \$* on \n(.g.
3324 * troff/env.c (environment::possibly_break_line): Don't set line
3325 to 0 across call to output_line(). Don't call output_line() until
3326 after discarding nodes after break.
3328 Sun May 31 10:45:29 1992 James Clark (jjc@jclark)
3330 * request.h (macro::empty): Declare it.
3331 * input.c (macro::empty): New method.
3332 (interpolate_macro): Don't give a WARN_SPACE if the two-character
3335 Sat May 30 10:27:15 1992 James Clark (jjc@jclark)
3337 * troff/env.c (environment::start_field): Decrement space_total
3338 when a space is frozen.
3340 Fri May 22 14:34:38 1992 James Clark (jjc@jclark)
3342 * macros/tmac.an (R): Delete macro.
3344 * troff/input.c (get_copy, token::next): Support \# (like \" but
3345 newline is ignored).
3347 * troff/input.c (token::next): Fix error message in 'Y' case.
3349 Thu May 21 09:26:24 1992 James Clark (jjc@jclark)
3351 * eqn/delim.c (define_extensible_string): Recognize any prefix of
3354 Fri May 15 10:20:41 1992 James Clark (jjc at jclark)
3356 * c++test.c: Include <osfcn.h>.
3358 * lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
3361 Fri May 8 09:37:19 1992 James Clark (jjc at jclark)
3363 * tbl/table.c (table::divide_span): Don't count column separation
3364 if expand was specified.
3366 * tbl/main.c (process_format): Don't ignore width specs in
3367 continued format. Give warning for changing equal widths or
3368 column separation in continued format.
3369 (process_data): Set column separation, minimum width, equal
3370 columns at end of table.
3372 Thu May 7 08:50:40 1992 James Clark (jjc at jclark)
3374 * troff/node.c (kern_pair_node::add_discretionary_hyphen,
3375 node::add_discretionary_hyphen): Use soft_hyphen_char.
3376 (set_soft_hyphen_char): New function.
3377 (init_node_requests): Bind to shc. Initialize soft_hyphen_char.
3379 * Makefile (c++tested): Give more helpful message if test fails.
3381 Tue May 5 10:58:39 1992 James Clark (jjc at jclark)
3383 * troff/input.c (init_charset_table): Translate 0240 to
3384 an unbreakable space.
3386 * troff/token.h (token::hyphen_indicator): New function.
3387 * troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
3389 * troff/input.c (translate): Allow translation to \%.
3390 * troff/node.c (node::add_char): Handle
3391 TRANSLATE_HYPHEN_INDICATOR.
3392 (make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.
3394 * troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
3397 * tty/devlatin1/R.proto: \(hy and - should print as 055.
3399 Tue Apr 21 09:24:42 1992 James Clark (jjc at jclark)
3401 * groff.c (run_commands): If the last command gets a SIGPIPE send
3402 a SIGPIPE to all children than haven't yet terminated. When
3403 command terminates, set pid field to -1.
3405 Fri Apr 17 11:20:48 1992 James Clark (jjc at jclark)
3407 * groff.c (main): Pass an appropriate -filename option to gxditview.
3409 Thu Apr 16 15:11:40 1992 James Clark (jjc at jclark)
3411 * Makefile.bd (install): Remove existing program before copying.
3413 * Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
3414 programs which have Unix counterparts to be installed with
3415 user-specified prefix.
3417 * troff/input.c (exit_troff): Don't check if exit_started.
3418 (exit_request): Don't call exit_troff if exit_started.
3420 * Makefile.bd (install.mm): Rename to install.dwbmm.
3422 Tue Apr 14 10:05:10 1992 James Clark (jjc at jclark)
3424 * driver/input.c (do_file): Add missing break for '#' case.
3426 Mon Apr 13 10:11:02 1992 James Clark (jjc at jclark)
3428 * troff/input.c (input_stack::clear): Clear past any boundaries and
3429 then add the boundaries back.
3431 * troff/input.c (exit_troff): Return immediately if already
3434 * macros/tmac.s (pg@end-text): New macro. Use pg@end-text for the
3436 (pg*end-page): If the text has ended and there are no more
3437 footnotes or keeps, exit.
3439 * macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.
3441 * troff/input.c (init_charset_table): Make \(rq transparent by
3444 * macros/tmac.an: Define lq and rq strings.
3446 * macros/tmac.s (Q, U): Define as \(lq and \(rq.
3448 Sun Apr 12 12:54:37 1992 James Clark (jjc at jclark)
3450 * troff/env.c (environment::final_break): New function.
3451 (environment::newline): Set prev_line_interrupted to 2 if
3453 * troff/env.h: Declare environment::final_break.
3454 * troff/input.c (exit_troff): Call environment::final_break()
3455 instead of environment::do_break().
3457 * macros/Makefile: Install man.local if $(MACRODIR)/man.local
3458 doesn't already exist.
3459 * macros/man.local: New file.
3460 * macros/tmac.an: Load man.local.
3461 * macros/man.ultrix: New file.
3463 Sat Apr 11 17:32:04 1992 James Clark (jjc at jclark)
3465 * troff/input.c (exit_groff): Rename to...
3466 (exit_troff): New function.
3468 * troff/div.c (exit_started, done_end_macro,
3469 seen_last_page_ejector): New global variables.
3470 (began_page_in_end_macro): New static variable.
3471 (exit_flag): Deleted.
3472 (top_level_diversion::top_level_diversion): Initialize
3474 (top_level_diversion): More elaborate test for whether
3475 cleanup_and_exit() should be called.
3476 Set began_page_in_end_macro if the end macro isn't yet finished.
3477 * troff/div.h (top_level_diversion::last_page_count): New data
3479 (top_level_diversion::set_last_page): New function.
3480 (exit_started, done_end_macro, seen_last_page_ejector): Declare.
3481 * troff/env.c (do_break): Zero prev_line_interrupted.
3482 * troff/input.c (exit_flag): Delete declaration.
3483 (LAST_PAGE_EJECTOR): New magic cookie.
3484 (token::next): Handle LAST_PAGE_EJECTOR.
3485 (exit_groff): Set exit_started and done_end_macro instead of
3486 exit_flag. Call top_level_diversion::set_last_page. Push a
3487 LAST_PAGE_EJECTOR instead of calling push_page_ejector(). Do
3488 another ejection after setting seen_last_page_ejector.
3490 Thu Apr 9 04:37:11 1992 James Clark (jjc at jclark)
3492 * etc/grog.sh, etc/grog.sh: Recognize -me sh macro.
3494 * macros/tmac.e (TH): Make sure there's room for the initial
3497 * macros/tmac.s (par@init): Make PD and DD at least \n(.V.
3498 Set FVS in points rather than units.
3500 Mon Apr 6 11:21:32 1992 James Clark (jjc at jclark)
3502 * troff/div.c (top_level_diversion::add_trap): Don't consider the
3503 position of empty slots.
3505 Fri Apr 3 10:46:45 1992 James Clark (jjc at jclark)
3507 * ps/devps/S: Fix height and depth of parenrightex.
3508 * ps/devps/symbol.diff: Regenerate.
3510 Sat Mar 28 21:17:52 1992 James Clark (jjc at jclark)
3512 * tmac.e (u): Do underlining as in -mgs.
3514 Fri Mar 27 09:23:44 1992 James Clark (jjc at jclark)
3516 * tty/tty.c (tty_printer::end_page): If overstriking is
3517 suppressed, still turn overstruck horizontal and vertical lines
3520 * lib/new.c: Back out Feb 24 change; no longer needed with gcc
3523 * refer/label.y (format_expr::evaluate): Avoid use of %0*d.
3525 Wed Mar 18 09:29:10 1992 James Clark (jjc at jclark)
3527 * Version 1.05 released.
3529 Tue Mar 17 16:50:45 1992 James Clark (jjc at jclark)
3531 * tty/tty.c: Instead of keeping an array of glyphs and then
3532 sorting it, keep a ordered linked list of glyphs for each line.
3534 * driver/driver.h: Include stddef.h.
3536 * tty/tty.c (compare_glyph):
3537 * refer/refer.c (rcompare):
3538 * troff/env.c (compare_ranges): Arguments of qsort comparison
3539 function should be const void *.
3541 * troff/number.c (parse_term):
3542 * dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
3545 * refer/label.y (consider_authors): Don't access variables
3546 constructed under a condition outside that condition: put braces
3547 round for statement containing declaration; redeclare use of same
3550 * pic/pic.y (text_expr): Delete production that allows
3551 parenthesised text_expr.
3552 (expr): Allow a conditional_expr to appear in parentheses.
3553 (conditional_expr): Rename to any_expr.
3555 * mm: Install new version 1.01 from jh.
3557 * lib/font.c (font::get_width): Cache scaled widths.
3558 (font::font): Initialize widths_cache.
3559 (font::~font): Destroy widths_cache.
3560 * lib/font.h: Add font::widths_cache. Declare font_widths_cache.
3562 Mon Mar 16 10:16:10 1992 James Clark (jjc at jclark)
3564 * c++test.c, c++test.ref: New files.
3565 * Makefile: Check that the C++ compiler works.
3567 * ps/tmac.pspic (PSPIC): Do a break.
3569 * ps/tmac.ps: Move definition of PSPIC into...
3570 * ps/tmac.pspic: New file.
3571 (PSPIC): Draw box around picture, but make it invisible to grops.
3572 * ps/tmac.ps: Load tmac.pspic.
3573 * ps/Makefile: Install tmac.pspic.
3575 Sun Mar 15 14:18:08 1992 James Clark (jjc at jclark)
3577 * lib/font.c (scale_round): If n is negative,
3578 subtract .5 before truncating floating point result.
3580 * lib/fontfile.c: Include <errno.h>.
3582 Tue Mar 10 14:17:03 1992 James Clark (jjc at jclark)
3584 * driver/input.c (get_char): Inline. Don't update current_lineno.
3585 Change callers to up date current_lineno if necessary.
3586 Use get_char() instead of getc(current_file).
3588 Sun Mar 8 18:05:28 1992 James Clark (jjc at jclark)
3590 * ps/tmac.ps: Fix up spacing of \(mo and \(nm.
3592 Fri Mar 6 19:38:58 1992 James Clark (jjc at jclark)
3594 * tty/tty.c (tmac.tty): Define \(rg as (R).
3596 Tue Mar 3 10:11:25 1992 James Clark (jjc at jclark)
3598 * lib/lib.h: New define a_delete.
3599 * Use a_delete instead of delete when deleting an array of objects
3600 without destructors.
3602 * lib/lib.h: Rename adelete to ad_delete.
3603 * Change uses of adelete.
3605 Mon Mar 2 12:41:05 1992 James Clark (jjc at jclark)
3607 * eqn/eqn.y: Include lib.h.
3609 * troff/node.c (grow_font_table): Delete old_font_table.
3611 * mm: Install new version from jh.
3613 Fri Feb 28 10:42:23 1992 James Clark (jjc at jclark)
3615 * tbl/table.h (format_type): Make global instead of local to class
3616 entry_format. Prefix enumerators with FORMAT_.
3617 * tbl/table.c, tbl/main.c: Corresponding changes.
3618 * refer/token.h (token_type): Make global. Prefix enumerators
3620 * refer/token.[ch]: Corresponding changes.
3621 * Makefile: Get rid of -DNO_NESTED_TYPES configuration option.
3623 * troff/div.c (node::set_vertical_size): Don't name argument.
3625 Thu Feb 27 10:29:19 1992 James Clark (jjc at jclark)
3627 * Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
3628 * lib/lib.h: Define adelete accordingly.
3629 * pic/object.c (graphic_object::graphic_object):
3630 * tbl/main.c (format::~format):
3631 * tbl/table.c (table::~table):
3632 * refer/ref.c (reference::~reference, reference::merge,
3633 reference::insert_field, reference::delete_field): Use adelete.
3635 * Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
3637 * tbl/table.h: Corresponding changes.
3639 * common.c (common_output::dashed_arc, common_output::dotted_arc):
3640 Ensure total_angle is positive.
3642 Wed Feb 26 08:49:26 1992 James Clark (jjc at jclark)
3644 * refer/ref.c (reference::merge, reference::insert_field,
3645 reference::delete_field): Avoid delete[0].
3647 * refer/token.c (init_special_chars): Move calls to cmupper
3648 outside calls to init_two_char_letter to work around bug in gcc
3651 Mon Feb 24 14:20:00 1992 James Clark (jjc at jclark)
3653 * lib/new.c (operator new): Use __builtin_new for g++.
3655 * pic/object.c (graphic_object::~graphic_object): Don't use
3658 * pic/object.c (output::compute_scale): Initialize max_width and
3661 Sat Feb 15 09:55:20 1992 James Clark (jjc at jclark)
3663 * troff/input.c (write_request): Call fflush.
3665 * troff/node.h (class composite_node): Move declaration to node.c
3666 * troff/input.c (charinfo_to_node): Rename to ...
3667 (charinfo_to_node_list): Return node list rather than composite
3669 * troff/node.c (make_composite_node): New function.
3670 (make_node, add_char): Call make_composite_node instead of
3672 (class composite_node): Add a tfont * member. Delete font_size
3674 (composite_node::composite_node, composite_node::copy,
3675 composite_node::size): Corresponding changes.
3676 (composite_node::tprint): Provide constant spacing, emboldening
3677 and track kerning as specified in tfont.
3678 (composite_node::width): Change width calculation accordingly.
3679 * troff/env.h (environment::composite): New member.
3680 (environment::is_composite, environment::set_composite): New
3682 * troff/env.c (environment::environment): Initialize composite.
3683 * troff/input.c (charinfo_to_node): Call
3684 environment::set_composite.
3685 * troff/node.c (make_composite_node, make_glyph_node): Use the
3686 plain version of the tfont if the environment is composite.
3688 * troff/node.c (font_info::get_space_width): Additional argument
3689 giving space_size. Handle constant space correctly. Scale by
3690 space_size unless constant spaced.
3691 (env_sentence_space_width): New function.
3692 * troff/node.h: Declare it.
3693 * troff/env.h (environment::get_space_size,
3694 environment::get_sentence_space_size,
3695 environment::get_narrow_space_width,
3696 environment::get_half_narrow_space_width): Make inline.
3697 (environment::get_space_width): Make inline. Just call
3699 * troff/env.c: Delete definitions for funtions made inline.
3700 (environment::space_newline, environment::space): Use
3701 env_sentence_space_width(). Don't scale by space_size.
3702 * troff/node.h: Move declarations of env*space_width() functions
3705 Sat Feb 8 09:30:22 1992 James Clark (jjc at jclark)
3707 * macros/tmac.s (PS): Don't try to set negative indent.
3709 Thu Feb 6 09:00:35 1992 James Clark (jjc at jclark)
3711 * pic/pic.y: Fix min function.
3713 Tue Jan 28 07:52:29 1992 James Clark (jjc at jclark)
3715 * man/mdate.sh: Clear LANGUAGE.
3717 Sun Jan 19 13:02:41 1992 James Clark (jjc at jclark)
3719 * pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
3720 * pic/lex.c: New COMMAND keyword.
3721 * pic/pic.y (print_args, print_arg): New rules.
3722 (placeless_element): Use print_args for PRINT.
3723 New COMMAND element.
3725 Tue Jan 7 13:14:31 1992 James Clark (jjc at jclark)
3727 * troff/input.c (terminal): Handle missing argument correctly.
3729 * pic/pic.y (text_expr): New rule.
3731 * pic/pic.y: Implement := operator.
3733 Sun Jan 5 10:23:02 1992 James Clark (jjc at jclark)
3735 * etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
3738 Sat Jan 4 14:42:26 1992 James Clark (jjc at jclark)
3740 * ps/devps/dingbatsrmap: Include this in the distribution.
3742 * macros/tmac.doc: Replace with new version from 2nd Networking
3743 Release. Fix loading of doc-* files.
3744 * macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
3745 * macros/tmac.doc.old: New file. Apply fixes that had been
3746 applied to old tmac.doc.
3747 * macros/tmac.andoc: Check that we're running under groff.
3748 * macros/Makefile: Rework.
3750 Fri Jan 3 13:27:51 1992 James Clark (jjc at jclark)
3752 * tbl/table.h (format_type):
3753 * refer/token.h (token_type): If NESTED_TYPES is defined, use
3754 typedef to make these types visible at file scope.
3755 * Makefile: Add NESTED_TYPES configuration option.
3757 * troff/div.c (mark): At the top level use the value of
3758 nl_reg_contents rather than the current vertical position.
3760 Thu Jan 2 10:34:51 1992 James Clark (jjc at jclark)
3762 * tty/tty.c: Implement \D for horizontal or vertical lines.
3763 (tty_printer::set_char): Use vec_used+2 as serial number.
3764 Don't allow size of vector to exceed USHRT_MAX-2.
3765 Split off part into...
3766 (tty_printer::add_char): New function.
3767 (tty_printer::draw): New function.
3768 (compare_glyph): Handle equal serial numbers.
3769 (tty_printer::end_page): Handle overstruck characters from \D.
3770 (main, usage): Implement -d option.
3772 Mon Dec 23 10:37:51 1991 James Clark (jjc at jclark)
3774 * tbl/main.c (process_format):
3775 * eqn/text.c (split_text):
3776 * troff/input.c (token::next): Use inner block for declarations
3777 with initializers in switch statement.
3779 Mon Dec 16 20:52:03 1991 James Clark (jjc at jclark)
3781 * pic/common.c (common_output::dash_line): Cope with zero-length
3784 Sun Nov 17 12:04:08 1991 James Clark (jjc at jclark)
3786 * Version 1.04 released.
3788 Wed Nov 13 05:27:21 1991 James Clark (jjc at jclark)
3790 * macros/tmac.an (TH): Define a macro an-init to define variables
3791 based on command line arguments.
3792 (an-header): Call it.
3794 Sun Nov 3 12:07:34 1991 James Clark (jjc at jclark)
3796 * Makefile (install.mm): Rename to install.dwbmm.
3798 * Makefile: Integrate mm.
3799 * mm: New directory.
3801 Wed Oct 30 10:11:34 1991 James Clark (jjc at jclark)
3803 * refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
3806 * pic/troff.c (troff_output::simple_spline,
3807 troff_output::simple_polygon): Rename variable `v' to `d' to avoid
3808 shadowing parameter.
3810 * lib/tmpfile.c (xtmpfile): Declare dir as const char *.
3812 * lib/ptable.h: Add explicit casts when converting from unsigned
3815 * dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
3816 * dvi/devdvi/Makefile: Install SA, SB.
3818 * refer/indxbib.c: Add declaration of mktemp.
3820 * refer/lookbib.c: Add declaration of isatty.
3822 Fri Oct 25 09:00:17 1991 James Clark (jjc at jclark)
3824 * pic/lex.c (interpolate_macro_with_args): While collecting
3825 arguments, keep track of whether we're in a string.
3827 Wed Oct 23 08:42:48 1991 James Clark (jjc at jclark)
3829 * ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
3830 down with \v, so as to avoid problems with top of page trap
3831 setting no space mode.
3833 Tue Oct 22 17:38:49 1991 James Clark (jjc at jclark)
3835 * eqn/lex.c (get_delimited_text): Allow tab before macro body.
3837 Tue Oct 15 17:24:53 1991 James Clark (jjc at jclark)
3839 * ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
3840 Improve error message.
3842 Fri Oct 11 11:09:38 1991 James Clark (jjc at jclark)
3844 * ps/psrm.c (print_ps_string): Don't pass negative numbers to
3847 Wed Oct 9 17:50:14 1991 James Clark (jjc at jclark)
3849 * groff.c (possible_command::execp): Always use _exit() after a
3852 * Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
3853 NO_SYS_WAIT_H configuration options.
3854 * groff.c: Use these options. Use POSIX-style macros to extract
3855 fields from the status returned by wait().
3857 Fri Oct 4 12:12:27 1991 James Clark (jjc at jclark)
3859 * tbl/table.c (table::compute_separation_factor): Allow the
3860 separation factor to drop to 0.
3862 Tue Oct 1 18:12:38 1991 James Clark (jjc at jclark)
3864 * refer/search.c: Include <errno.h>.
3866 Sun Sep 29 08:40:57 1991 James Clark (jjc at jclark)
3868 * pic/pic.y (YYDEBUG): Don't define for Borland C++.
3870 * lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
3873 * pic/lex.c (input_stack::bol): Move definition out of class body.
3875 * pic/main.c: On MSDOS munge argv[0].
3877 * lib/ptable.h: Define name2 as _Paste2 for Borland C++.
3879 * lib/ptable.c (hash_string): Use unsigned long rather than
3881 (next_ptable_size): Use unsigned rather than int. Give an error
3882 message if we've hit the largest table size.
3883 * lib/ptable.c: Corresponding changes. Also use unsigneds for the
3886 * pic/object.h (object_spec): Make flags unsigned long. Declare
3887 flags as const unisgned long rather than as enums.
3889 * pic/output.c: Deleted.
3891 * pic/troff.c (troff_output::simple_ellipse): Remove spurious %.
3893 * tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
3894 Add additional argument.
3895 (line_entry::note_double_vrule_on_{left,right}): Set value of
3896 douvle_vrule_on_{right,left} flag according to argument.
3897 (simple_line_entry::simple_print,
3898 simple_line_entry::double_line_print): If adjacent to double vrule
3899 on a corner extend rather than shorten the rule by half the double
3902 * troff/number.c (parse_term): In checking for overflow, handle the
3903 case where the current horizontal position is negative.
3905 Thu Sep 12 08:26:09 1991 James Clark (jjc at jclark)
3907 * pic/object.c (draw_arrow): Check for object having zero length.
3909 Wed Sep 11 10:32:38 1991 James Clark (jjc at jclark)
3911 * eqn/main.c (do_file): Split off inline equation handling into...
3912 (inline_equation): New function. Search for starting delimiter
3914 (delim_search): New function. Don't recognize a delimiter that
3915 occurs in the name of an escape sequence, number register, string
3918 Tue Sep 10 04:01:11 1991 James Clark (jjc at jclark)
3920 * eqn/delim.c (delim_box::compute_metrics): Don't call
3921 define_extensible_string if left is 0.
3922 (delim_box::output): Don't print the left delimiter if left is 0.
3923 (delim_box::debug_print): Check for left == 0 before calling printf.
3925 Fri Aug 23 13:02:30 1991 James Clark (jjc at jclark)
3927 * troff/Makefile (majorminor.c): Include only digits in
3930 Thu Aug 22 09:35:37 1991 James Clark (jjc at jclark)
3932 * refer/dirnamemax.c: new file.
3933 * refer/genlimits.c: Deleted.
3934 * refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
3935 Don't check path length.
3936 * refer/Makefile: Add dir_name_max.o; delete genlimits.
3937 * Makefile: Add PATHCONF_MISSING option.
3939 * refer/indxbib.c (get_cwd): New function.
3940 (main): Use get_cwd().
3941 * lib/getcwd.c: New file.
3942 * Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
3944 * lib/Makefile: Compile getcwd.o.
3946 * ps/tmac.psatk (psatk-defs): Define showpage after pushing
3949 * refer/indxbib.c (main): Check success of mktemp.
3951 * lib/tmpfile.c: New file.
3952 * lib/Makefile: Add tmpfile.c.
3953 * lib/lib.h: Declare xtmpfile(); include <stdio.h>.
3954 * ps/ps.h: Delete declaration of mktemp().
3955 * ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
3956 * refer/refer.c (divert_to_temporary_file): Use xtmpfile().
3957 * driver/driver.h: No need now to include errno.h.
3959 * everywhere: Set errno to 0 before calling fopen().
3961 * eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
3962 dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
3963 refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.
3965 Mon Aug 19 10:52:18 1991 James Clark (jjc at jclark)
3967 * troff/env.h (translate_space_to_dummy): Declare it.
3968 * troff/env.c (environment::space_newline, environment::space):
3969 If translate_space_to_dummy is set then make the width of spaces 0.
3970 * troff/input.c (translate): If the second character of a
3971 translation is a space, translate to unbreakable space. If the
3972 first character is a space, set or clear translate_space_to_dummy
3973 according to whether the second character is \&. Weird!
3975 Tue Jul 30 10:03:56 1991 James Clark (jjc at jclark)
3977 * groff.c (run_commands): Don't use non-zero exit code because a
3978 command gets SIGPIPE.
3980 * groff.c, groff.sh: Use -mXps with -TXps.
3982 * ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
3983 (ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
3984 ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
3985 (ps_printer::special): New specials invis and endinvis.
3986 (ps_printer::do_invis, ps_printer::do_endinvis): New functions.
3987 (ps_printer::set_char, ps_printer::draw): Return if invis_count>0.
3988 (ps_printer::end_page): Check that invis_count == 0.
3989 (ps_printer::invis_count): New member.
3990 (ps_printer::ps_printer): Initialize invis_count to 0.
3992 * troff/env.c (environment::hyphenate_line): Hyphenation
3993 indicator at beginning of word inhibits splitting after -, \(em
3996 * pic/pic.y (element): Allow another element to follow } without
3997 any intervening separator.
3999 Mon Jul 22 12:27:37 1991 James Clark (jjc at jclark)
4001 * pic/lex.c (get_delimited): Allow tabs before delimiter.
4003 Wed Jul 17 10:59:08 1991 James Clark (jjc at jclark)
4005 * groff.c: Get rid of HAVE_UNION_WAIT stuff. Instead suppress
4006 declaration of wait() in header files.
4007 * Makefile: Get rid of -DHAVE_UNION_WAIT.
4009 * tbl/table.c (alphabetic_text_entry::add_tab): New function.
4011 * lib/lib.h: Declare return type of strerror as char *.
4013 * man/Makefile: Add g flag to sed substitutions.
4014 * Makefile (shgroff, bindist): Likewise.
4016 Sun Jul 14 11:57:02 1991 James Clark (jjc at jclark)
4018 * ps/ps.c (ps_printer::do_import): Move push of userdict into...
4019 * ps/devps/prologue (PBEGIN): Define showpage after pushing
4022 Sat Jul 13 20:53:04 1991 James Clark (jjc at jclark)
4024 * ps/devps/prologue (PBEGIN): Zap any definition of showpage in
4027 Fri Jul 12 07:10:09 1991 James Clark (jjc at jclark)
4029 * man/mdate.sh: Handle the fact that BSD ls -l does not print the
4032 Sun Jul 7 08:00:23 1991 James Clark (jjc at jclark)
4034 * troff/input.c (define_number_reg): If currently undefined,
4035 don't define it if the argument is an invalid expression.
4037 * Makefile: Ignore return value of `if' commands without `else'
4040 * Makefile: Split up CPPDEFINES into a series of separate
4041 configuration options.
4043 * troff/input.c (init_registers): Use time_t instead of long
4044 unless LONG_FOR_TIME_T is defined. Use returned result rather
4045 than passing pointer.
4046 * Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.
4048 * lib/Makefile (fontpath.h): Use gendef.
4050 Thu Jul 4 09:48:05 1991 James Clark (jjc at jclark)
4052 * troff/input.c (input_iterator::shift): Delete argument name.
4053 * troff/node.c (suppress_output_file::really_begin_page,
4054 suppress_output_file::really_transparent_char, node::ascii_print,
4055 node::tprint): Delete names of unused arguments.
4057 Wed Jul 3 17:34:57 1991 James Clark (jjc at jclark)
4059 * refer/label.y (string): Pass $4 to command_error.
4061 Tue Jul 2 15:06:01 1991 James Clark (jjc at jclark)
4063 * Version 1.03 released.
4065 Sat Jun 29 08:14:01 1991 James Clark (jjc at jclark)
4067 * Makefile: Pass definition of SHELL in SUBFLAGS.
4070 * Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
4071 ps/Makefile: Use gendef to construct header files that are
4072 constructed from the Makefile.
4074 * macros/Makefile: make all should build stripped version of tmac.e.
4076 * refer/Makefile (clean): Remove y.output.
4078 Fri Jun 28 09:44:36 1991 James Clark (jjc at jclark)
4080 * ps/pfbtops.c (main): Add -v option which prints out a version
4082 * ps/Makefile (pfbtops): Link with libgroff.a.
4084 Fri Jun 21 07:43:23 1991 James Clark (jjc at jclark)
4086 * refer/search.h (linear_searcher::get_nkeys): Delete declaration.
4087 * refer/linear.c (linear_searcher::get_nkeys): Delete definition.
4089 * refer/lkbib.c (main): Always terminate reference with blank
4091 * refer/lookbib.c (main): Likewise.
4093 * refer/linear.c (file_buffer::load): Check that the file is not a
4096 * refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
4097 (genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
4098 Delete second inclusion of <sys/param.h>.
4100 Tue Jun 18 01:32:26 1991 James Clark (jjc at jclark)
4102 * troff/token.h (token::special): Deleted.
4104 * tbl/main.c (process_format): Rework so that opt->tab_char is
4105 recognized only when appropriate.
4107 * ps/Makefile (clean): Remove pfbtops.
4109 Sun Jun 16 09:37:19 1991 James Clark (jjc at jclark)
4111 * lib/font.c (text_file::next): Don't return if we have got a
4114 Fri Jun 14 09:52:26 1991 James Clark (jjc at jclark)
4116 * refer/refer.c (store_reference): Get hash code from old_table[i]
4117 when rehashing the table.
4119 Thu Jun 13 01:26:43 1991 James Clark (jjc at jclark)
4121 * eqn/box.c (box::top_level): Save size and prev size using \R and
4122 restore it afterwards. Set the size to the size at the beginning
4124 * eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
4125 SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.
4127 * refer/Makefile (limits.h): Use ./genlimits.
4129 Wed Jun 12 16:05:34 1991 James Clark (jjc at jclark)
4131 * refer/index.c: Delete declarations of stat() and fstat().
4133 Tue Jun 11 14:52:49 1991 James Clark (jjc at jclark)
4135 * tty/tmac.tty: Add character definitions for \(>= and \(<=.
4137 Mon Jun 10 22:49:48 1991 James Clark (jjc at jclark)
4139 * etc/grog.sh, etc/grog.pl: Change regex for .PS.
4141 Fri Jun 7 09:13:06 1991 James Clark (jjc at jclark)
4143 * troff/input.c (token::get_char): Handle \e.
4145 * refer/linear.c: Delete declarations of fstat() and stat().
4147 Wed Jun 5 09:11:59 1991 James Clark (jjc at jclark)
4149 * troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
4150 OP_DELETE_BROKEN stuff, since we now have a fix for g++.
4152 Mon Jun 3 13:41:32 1991 James Clark (jjc at jclark)
4154 * troff/input.c (do_define_macro): Improve error handling for end
4155 of file while defining macro.
4157 Sun Jun 2 10:20:24 1991 James Clark (jjc at jclark)
4159 * eqn/box.h: Fix declaration of set_gsize.
4160 * eqn/box.c (set_gsize): Make argument const char *.
4161 (gsize): Declare as char *.
4162 * eqn/main.c (main): Don't convert gsize to int.
4163 * eqn/lex.c (do_gsize): Pass char * to set_gsize.
4165 * Version 1.02 released.
4167 Sat Jun 1 12:19:46 1991 James Clark (jjc at jclark)
4169 * macros/tmac.andoc: New file.
4170 * macros/Makefile: Install tmac.andoc.
4172 * troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
4173 operator new and delete on OP_DELETE_BROKEN not being defined.
4174 * Makefile: Mention OP_DELETE_BROKEN.
4176 Mon May 27 13:49:07 1991 James Clark (jjc at jclark)
4178 * Makefile (bindist): Pass SUBFLAGS.
4180 Sun May 26 14:13:22 1991 James Clark (jjc at jclark)
4182 * Makefile, groff.c: Pass definitions to groff.c via device.h.
4184 * tty/tty.c (tty_font::load_tty_font): Avoid shadowing
4187 * ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.
4189 * ps/ps.h, ps/psrm.c: Make comment_table and
4190 header_comment_table local to resource_manager::process_file.
4192 * groff.sh: With -TXps pass -printCommand option to gxditview.
4194 * groff.c (possible_command::print): Implement using
4195 append_arg_to_string.
4197 * xditview: Merge in new implementation with own ChangeLog.
4199 Sat May 25 18:33:20 1991 James Clark (jjc at jclark)
4201 * groff.c (main): Implement PRINT_OPTION.
4202 (append_arg_to_string): New command.
4203 (device_table): Set PRINT_OPTION flag for Xps.
4205 Fri May 24 09:48:58 1991 James Clark (jjc at jclark)
4207 * troff/groff.h: Rename to troff.h.
4209 * pic/lex.c (lookup_keyword, docmp): New functions.
4210 (get_token): Use new lookup_keyword.
4211 Don't include key.h.
4212 * pic/key.[ch], pic/pic.gperf: Deleted.
4213 * pic/Makefile: Remove gperf stuff.
4215 * pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
4217 * pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.
4219 * troff/Makefile, troff/node.c: Move definition of
4220 STORE_WIDTH into node.c.
4222 * etc/grog.pl, etc/grog.sh: Support -mdoc.
4224 Thu May 23 12:30:49 1991 James Clark (jjc at jclark)
4226 * dvi/devdvi/texr.map, dvi.devdvi/texi.map,
4227 dvi/devdvi/texb.map: Add lq and rq.
4228 dvi/devdvi: Regenerate fonts.
4229 * ps/devps/textmap: Add lq and rq.
4230 * ps/devps: Regenerate fonts.
4231 * tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
4232 * macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
4234 * pic/object.c (position_rectangle): When checking radius
4235 cope with possiblity that width or height is negative.
4236 (box_object::box_object): Have separate xrad and yrad with
4237 signs matching signs of dim components.
4238 (box_object::{north,south}_{east,west}): Use xrad and yrad.
4239 (box_object::print): With rounded boxes use absolute values
4240 for dim and rad arguments.
4242 * lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
4245 * eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.
4247 * various files: Add explicit destructors to keep Saber CC +d
4250 Wed May 22 11:37:11 1991 James Clark (jjc at jclark)
4252 * eqn/box.c (box::top_level): Restore fonts correctly after
4253 font changes in line containing inline equation. Also
4254 restore previous font as well as current font.
4255 * eqn/pbox.h: Define necessary string and register names.
4257 * troff/input.c (token::next): Case 'R' calls do_register.
4258 (do_register): New function.
4260 Tue May 21 11:28:23 1991 James Clark (jjc at jclark)
4262 * groff.c, groff.sh: Support Xps device. Allow each device
4263 to have a pseudo_name and a real_name.
4265 * groff.c (run_commands): Don't print `Broken pipe' messages.
4267 * ps/pfbtops.c: New file.
4268 * ps/Makefile: Add pfbtops.
4270 * troff/number.c (parse_term): Improved error message.
4272 Mon May 20 11:22:14 1991 James Clark (jjc at jclark)
4274 * groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.
4276 * Makefile: Integrate refer.
4277 * refer: New directory.
4278 * man/grefer.man, man/glookbib.man, man/gindxbib.man,
4279 man/lkbib.man: New files.
4280 * man/Makefile: Support refer man pages.
4282 * lib/lib.h: Declare is_prime.
4283 * lib/prime.c: New file.
4285 * troff/input.c (macro_source): New function.
4286 (init_input_requests): Bind "mso" to macro_source.
4288 * troff/env.c (environment::possibly_break_line): Maintain
4289 pointer to pointer to node to be split in ndp so as to avoid
4290 using address of freed node.
4292 * troff/env.c (environment::hyphenate_line): Maintain pointer to
4293 pointer to first node to be hyphenated in startp so as to
4294 avoid using address of freed node.
4296 * troff/env.c (class trie, class hyphen_trie): Make the
4297 elements of the trie be of type char not unsigned char.
4298 Declare arguments to be const char* instead of unsigned char *.
4300 * troff/env.c (hyphenate): Initialize hbuf[0].
4302 * troff/input.c (set_string): Declare p to be char * and cast
4303 *p to unsigned char when necessary.
4305 * troff/input.c (do_define_macro): Declare s to be const
4306 char*. Cast element to unisgned char when necessary, Declare
4307 d to be an int. Handle EOF better.
4309 * troff/Makefile, troff/input.c: Different scheme for passing
4310 definitions of MACROPATH, HYPHENFILE and DEVICE.
4312 Tue May 14 13:41:36 1991 James Clark (jjc at jclark)
4314 * tty/devascii/R.proto: Delete entry for em.
4315 * tty/devlatin1/R.proto: Likewise.
4317 Sat May 11 11:13:28 1991 James Clark (jjc at jclark)
4319 * troff/input.c (translate): Stop when we get a space. Treat eof
4322 * macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.
4324 Wed Apr 24 19:24:33 1991 James Clark (jjc at jclark)
4326 * tbl/main.c (process_format): A font name following a `f'
4327 modifier that starts with a digit can be only one character long.
4328 Also deal with EOF on the second character of the font name.
4330 Wed Apr 17 11:23:43 1991 James Clark (jjc at jclark)
4332 * troff/input.c (token::next): Turn \~ into an
4333 unbreakable_space_node.
4334 * troff/node.c (unbreakable_space_node): New class.
4335 * troff/node.h: Declare it.
4337 Tue Apr 16 10:47:12 1991 James Clark (jjc at jclark)
4339 * dvi/dvi.c (dvi_printer::set_char): Make code an int. Check that
4340 it's >= 0, before outputting it as a single byte.
4342 Mon Apr 15 11:20:23 1991 James Clark (jjc at jclark)
4344 * lib/font.c: Make font_char_metric::code an int.
4345 (font::get_code): Change return type to int.
4346 (font::load): Allow code to be arbitrary integer.
4347 * lib/font.h (font::get_code): Change return type to int.
4348 (font::number_to_index): Change argument type to int.
4349 * troff/input.c (token::next): In case 'N', allow any value.
4350 Store value in token::val.
4351 (token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
4352 (token::get_char, token::add_to_node_list, token::process): Get
4354 (charinfo::set_number): Change argument to int.
4355 (charinfo::get_number): Require that NUMBERED flag be set.
4356 (get_charinfo_by_number): Store numbered characters not between 0
4357 and 255 in a dictionary.
4358 * troff/charinfo.h (get_charinfo_by_number): Change argument type
4360 (charinfo::number): Change type to int.
4361 (charinfo::set_number): Change type of set_number to int.
4362 * troff/node.c (troff_output_file::put_char_width,
4363 troff_output_file::put_char): Test whether character is numbered
4364 using charinfo::numbered().
4365 * driver/printer.c (printer::set_numbered_char): Allow arbitrary
4367 * lib/nametoindex.c: New implementation to cope with arbitrary
4370 * troff/input.c (token::operator==): Test val for
4371 TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
4374 * man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
4375 (.man.n): sed out @BROKEN_SPOOLER_FLAGS@.
4377 Sun Apr 14 12:57:00 1991 James Clark (jjc at jclark)
4379 * ps/devps/zapfdr.ps: Don't copy UniqueID. Avoid use of newdict
4382 * all Makefiles: rm targets of cp and >.
4384 * xditview/xtotroff.c (MapFont): Unlink troff_name before opening
4387 * eqn/lex.c (def_table): Add dollar.
4389 Sat Apr 13 13:02:44 1991 James Clark (jjc at jclark)
4391 * troff/input.c (do_width): Push back newline before closing delim
4394 Fri Apr 12 15:16:03 1991 James Clark (jjc at jclark)
4396 * groff.c (possible_command::prepend_arg): New function.
4397 (main): Prepend device -m option.
4398 * groff.sh: Put device -m options before command-line options.
4400 Tue Apr 9 10:24:43 1991 James Clark (jjc at jclark)
4402 * macros/tmac.an (IP): Quote argument to TP.
4404 * ps/ps.c (main): New option -b, which sets...
4405 (broken_flags): New variable.
4406 (ps_printer::~ps_printer): Incorporate the setup section in the
4407 prolog if (broken_flags & NO_SETUP_SECTION).
4408 (ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
4409 (ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
4410 ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
4411 ps_printer::print_needed_font_comment,
4412 ps_printer::print_supplied_font_comment,
4413 ps_printer::print_include_font_comments,
4414 ps_printer::lookup_doc_font, ps_printer::download_fonts,
4415 ps_printer::read_download_file, read_document_fonts, add_font,
4416 skip_line, parse_fonts_arg, document_font::document_font,
4417 document_font::~document_font, document_font::download,
4418 ps_output::include_file): Deleted.
4419 (ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
4420 rather than %!PS-Adobe-2.0. Make calls to
4421 resource_manager::need_font for each font that we used. Replace
4422 calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
4423 print_supplied_font_comment, print_needed_font_comment by call to
4424 resource_manager::print_header_comments. Output %%Orientation
4425 comment. Output %%Requirements: numcopies comment if ncopies > 1.
4426 Don't output the prolog directly. Instead call
4427 resource_manager::output_prolog. Only define #copies when ncopies
4428 > 1. Delete calls to print_include_font_comments and
4429 download_fonts. Add call to resource_manager::document_setup.
4430 (ps_printer::do_file): Call resource_manager::import_file instead
4431 of including it ourselves.
4432 (ps_printer::do_import): Likewise. Also don't call
4433 merge_import_fonts. Push userdict on the dictionary stack before
4434 and pop it afterwards.
4435 Move declaration of ps_output into ps.h.
4436 * ps/psrm.c: New file implementing resource_manager class.
4437 * ps/ps.h: New file declaring ps_output and resource_manager
4439 * ps/devps/zapfdr.ps:
4440 * ps/devps/symbolsl.ps:
4441 * ps/devps/prologue: Use 3.0 conventions.
4442 * ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
4443 Add default definition of BROKEN_SPOOLER_FLAGS.
4444 * Makefile: New variable BROKEN_SPOOLER_FLAGS. Add
4445 BROKEN_SPOOLER_FLAGS to SUBFLAGS.
4447 Mon Apr 8 09:26:54 1991 James Clark (jjc at jclark)
4449 * etc/grog.pl: New file.
4450 * Makefile (GROG): New variable.
4451 Add GROG to SUBFLAGS.
4452 * etc/Makefile (GROG): New variable.
4453 (install.nobin): Install $(GROG) rather than grog.sh.
4455 Thu Apr 4 11:36:45 1991 James Clark (jjc at jclark)
4457 * eqn/special.c (special_box::compute_metrics): Make the input and
4458 output strings the same. Get the new height and depth from the
4459 predefined height and depth registers. Also make subscript kern
4461 (special_box::compute_subscript_kern, special_box::compute_skew):
4464 * eqn/box.c (pointer_box::compute_skew,
4465 simple_box::compute_metrics, box::top_level)
4466 * eqn/text.c (prime_box::compute_metrics,
4467 prime_box::comput_subscript_kern)
4468 * eqn/limit.c (limit_box::compute_metrics):
4469 * eqn/delim.c (build_extensible, delim_box::compute_metrics):
4470 * eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
4471 negative numbers in `nr' requests with a leading 0.
4473 Wed Apr 3 15:58:23 1991 James Clark (jjc at jclark)
4475 * eqn/special.c: New file.
4476 * eqn/eqn.y: Declare token SPECIAL. Make it right associative.
4477 Add new rule for simple.
4478 * eqn/lex.c (token_table): Add SPECIAL.
4479 * eqn/box.h: Declare make_special_box.
4480 * eqn/Makefile: Add special.[co].
4482 Sat Mar 30 10:57:53 1991 James Clark (jjc at jclark)
4484 * ps/devps/prologue: Possibly set packing to true while defining.
4485 Create grops dictionary here. Initialize local variables before
4486 defining procedures.
4487 (PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
4488 the dictionary stack. Set strokeadjust and overprint to false if
4489 the relevant operators are defined.
4490 (PEND): New procedure.
4491 * ps/ps.c (ps_printer::~ps_printer): In the prolog just include
4492 prologue. Do everything else in the setup section.
4493 (ps_printer::do_import): Just call PBEGIN and PEND around the
4494 picture. Also push userdict before, and pop it afterwards.
4496 Wed Mar 27 07:59:50 1991 James Clark (jjc at jclark)
4498 * troff/node.c (bracket_node::tprint): Brackets were being printed
4501 * macros/tmac.an (SH, SS): Set fill mode.
4503 Tue Mar 26 07:46:31 1991 James Clark (jjc at jclark)
4505 * troff/div.c (top_level_diversion::begin_page): Set
4506 high_water_mark to 0.
4508 Fri Mar 22 09:19:46 1991 James Clark (jjc at jclark)
4510 * man/mdate.sh: New file.
4511 * man/mdate.c: Deleted.
4512 * man/Makefile: Use mdate.sh instead of mdate.
4515 * eqn/lex.c (do_gsize): Supply missing argument to error message.
4517 Tue Mar 19 11:06:50 1991 James Clark (jjc at jclark)
4519 * man/mdate.c: New file.
4520 * man/*.man: Replace modification date by @MDATE@.
4521 * man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
4522 (mdate): New target.
4524 * lib/font.c (text_file::next): Deal with arbitrarily long lines.
4525 Remove illegal input characters.
4527 Mon Mar 18 08:32:25 1991 James Clark (jjc at jclark)
4529 * macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.
4531 Sat Mar 16 03:52:25 1991 James Clark (jjc at jclark)
4533 * troff/div.c (begin_page): Change behaviour when
4534 !first_page_begun and !break_flag.
4536 * troff/input.c (do_name_test): Return 0 if argument is empty.
4538 * troff/input.c (read_long_escape_name): Require closing ] to be
4539 at same input level as opening [.
4541 * troff/input.c (read_increment_and_escape_name): New function.
4542 (get_copy, process_input_stack): Use this for \n.
4544 Fri Mar 15 00:31:48 1991 James Clark (jjc at jclark)
4546 * troff/div.c (top_level_diversion::begin_page): Ignore the
4547 current value of page_number if !first_page_begun.
4549 * groff.c (main): Fix declaration of buf.
4551 * troff/input.c (do_name_test): New function.
4552 (token::next): Implement \A.
4553 (token::next): Implement \e by turning it into a TOKEN_ESCAPE.
4554 (token::description, token::add_to_node_list, token::process):
4555 Handle TOKEN_ESCAPE.
4556 * troff/token.h: New token TOKEN_ESCAPE.
4558 Thu Mar 14 10:22:26 1991 James Clark (jjc at jclark)
4560 * pic/main.c (do_picture): Allow space before and after filename
4561 following `<'. Check that the filename is not empty.
4563 Wed Mar 13 12:49:40 1991 James Clark (jjc at jclark)
4565 * Version 1.01 released.
4567 * dvi/devdvi/CompileFonts: Add cm*ss10 fonts.
4569 * dvi/tmac.dvi: ftr HR to H.
4571 * macros/tmac.e: Round up computation of $r.
4573 * xditview/tmac.X: Don't give up completely in compatibility mode.
4574 Use \n(.s instead of \n[.s].
4576 * dvi/tmac.dvi: Don't give up completely in compatibility mode.
4577 Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
4578 Add u to factors inside \s[...]. Rename frac to dvi-frac.
4579 Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
4580 short names in the char definitions.
4582 * ps/tmac.ps: Don't give up completely in compatibility mode.
4583 Fix the fraction definitions to use \n(.s and \(f/. Add an extra
4584 quote in front of \n(.s. Add u to factors inside \s[...].
4586 Mon Mar 11 12:01:20 1991 James Clark (jjc at jclark)
4588 * tty/tmac.tty: Call the nroff request.
4590 * macros/tmac.e ((x, )x): Better definitions that work properly
4592 (@0, @1): Helper macros for (x.
4594 * macros/tmac.e ($s, hl): Use \l rather than \D.
4596 * tty/tmac.tty: Make it work better in compatibility mode.
4597 (pchar): Rename to tty-char.
4599 * macros/tmac.e (@E): New macro.
4600 (r, i, b, rb, bi): Use @E.
4602 * macros/tmac.e (@F): Don't use (;...) syntax.
4604 * macros/tmac.e: Remove mention of \*(||/revisions. Mention that
4605 it was modified for groff.
4607 * macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.
4609 * macros/tmac.e (<., .>): Removed.
4610 ([., .]): If \n(.V>=1v, use [] instead of superscripting.
4612 * macros/tmac.e: Remove check that groff is being used.
4614 * macros/tmac.e (@C): Change families only if using groff; turn
4615 compatibility mode off while changing familes. Save compatibility
4616 mode before changing families and restore it afterwards.
4618 * macros/tmac.e (@h): Remove test for offset + line length.
4620 * macros/tmac.e (sorry): Rename to @S. Use \$1 instead of \$0
4621 (lo, th, ac): Define to call @S instead of using als.
4623 * macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
4624 the ratio of the vertical spacing to the point size in units
4625 expressed as a percentage. Use these instead of $10r and $10R,
4626 Delete $10r and $10R.
4628 * lib/font.c (font::load): In default computation of space_width,
4629 divide by sizescale. Use scale_round.
4631 * macros/tmac.an (TP): Don't call `nf'.
4632 (an-do-tag): Don't call `fi'.
4634 Sun Mar 10 09:52:35 1991 James Clark (jjc at jclark)
4636 * troff/input.c (process_input_stack): Handle the case where
4637 spaces at the beginning of an input line are followed by a
4640 Thu Mar 7 20:18:07 1991 James Clark (jjc at jclark)
4642 * groff.c (device_table): Add PIC_X_OPTION for dvi device.
4643 * groff.sh: Use pic -x with the dvi device.
4645 * dvi/devdvi/FontMakefile (H): Don't use -s.
4647 * dvi/devdvi/HI, dvi/devdvi/HB: New files.
4648 * dvi/devdvi/Makefile: Add HI and HB to FONTS.
4649 * dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
4652 Mon Mar 4 13:20:14 1991 James Clark (jjc at jclark)
4654 * ps/psfig.diff: New file.
4655 * ps/tmac.psfig: New file.
4657 Sat Mar 2 00:15:09 1991 James Clark (jjc at jclark)
4659 * macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
4660 (]-): Don't call ref*do-tl.
4662 * macros/tmac.s (ref*end-print): Use XP if [F not defined.
4664 * macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
4665 (fn@do-FS): Rename to fn*do-FS.
4667 * troff/input.c (transparent_translate): New function.
4668 (process_input_stack): Apply transparent_translate before calling
4669 diversion::transparent_output(unsigned char).
4671 Wed Feb 27 00:13:25 1991 James Clark (jjc at jclark)
4673 * troff/input.c (do_define_macro): Define the macro before calling
4676 * xditview/Makefile: Add DEVICES variable. Change install target
4679 Tue Feb 26 10:46:22 1991 James Clark (jjc at jclark)
4681 * groff.c (run_commands): Handle the possibility that there are
4682 child processes other than those forked by us.
4684 Sun Feb 24 21:32:30 1991 James Clark (jjc at jclark)
4686 * lib/string.c (string::append): New function.
4687 * lib/stringclass.h: Declare it.
4689 Thu Feb 21 11:49:26 1991 James Clark (jjc at jclark)
4691 * eqn/main.c (main): New option -N which sets
4692 no_newline_in_delim_flag.
4693 (do_file): If no_newline_in_delim_flag is set don't allow newlines
4695 * groff.c (main): Pass -N on to eqn.
4696 (help, synopsis): Mention -N.
4697 * groff.sh: Implement -N.
4699 Wed Feb 20 15:16:10 1991 James Clark (jjc at jclark)
4701 * macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
4702 (]-): Call ref*do-tl if ref*need-tl is non-zero.
4703 (XP): Allow as initializer.
4705 Tue Feb 19 14:09:06 1991 James Clark (jjc at jclark)
4707 * troff/env.c (environment::wrap_up_field): If field_spaces are
4708 non-zero and we have a current_tab, subtract padding from
4709 tab_distance. If this makes tab_distance <= 0, use the next tab
4710 stop instead. If there isn't any next tab or it's a left tab,
4711 wrap up the current tab.
4712 (environment::start_field): Initialize tab_precedes_field.
4713 (environment::wrap_up_tab): If there's a current field, update
4714 pre_field_width, field_distance and tab_precedes_field.
4715 * troff/env.h (environment::tab_precedes_field): New member.
4717 Fri Feb 15 01:24:00 1991 James Clark (jjc at jclark)
4719 * ps/ps.c (ps_printer::do_file): New function.
4720 (ps_printer::special): Bind to `file' special.
4721 (ps_printer::do_exec): Set ndefined_styles to 0.
4723 Sat Feb 9 03:03:04 1991 James Clark (jjc at jclark)
4725 * eqn/text.c (split_text): Grok \* and similar escapes sequences.
4726 Avoid stripping first character from the start of unrecognized
4727 escapes. Use lex_error instead of error to report errors.
4728 * eqn/lex.c (get_token): Rework handling of escapes.
4729 (lex_error): Move declaration into...
4732 * xditview/xditview.c (main): Make -page option work.
4734 * Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.
4736 Wed Feb 6 12:28:43 1991 James Clark (jjc at jclark)
4738 * macros/tmac.s (B2): Correct size of box.
4740 Tue Feb 5 00:37:35 1991 James Clark (jjc at jclark)
4742 * macros/tmac.s (B2): Postpone drawing the box until in the
4743 top-level diversion.
4745 * tty/tmac.tty: Add font translations for C, CR, CW.
4747 * groff.c (synopsis, help): Document -i.
4748 * groff.sh: Implement -i.
4750 * macros/tmac.s (@NH): Put a `.' after multi-part numbers.
4751 Simplify the construction of SN.
4753 * troff/number.c (parse_term): Give `|' a higher precedence.
4754 * tbl/table.c (numeric_text_entry::simple_print): Parenthesise
4757 * macros/tmac.s (B2): Use par@finish instead of par@reset.
4759 Mon Feb 4 12:36:09 1991 James Clark (jjc at jclark)
4761 * lib/string.c (string::move): New function.
4762 * lib/stringclass.h: Declare it.
4764 Sat Feb 2 16:02:16 1991 James Clark (jjc at jclark)
4766 * troff/env.c (distribute_space): Add optional argument
4768 (environment::wrap_up_field): Call distribute_space with
4769 `force_forward' argument of 1.
4771 Fri Feb 1 19:36:33 1991 James Clark (jjc at jclark)
4773 * lib/string.c, lib/stringclass.h (string::operator+=(char)):
4774 Inline it. Move reallocation into...
4775 (string::grow1): New function.
4776 * pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
4777 dependencies to include library header files.
4778 * lib/Makefile: Make string.c and lf.c depend on stringclass.h.
4780 Thu Jan 31 15:02:27 1991 James Clark (jjc at jclark)
4782 * macros/tmac.s (@NH): Use the same number registers than -ms does
4783 for the heading level counters. Use the same string that -ms does
4784 for the number for this heading.
4786 Wed Jan 30 14:25:40 1991 James Clark (jjc at jclark)
4788 * lib/new.c (operator new): Cast result of malloc to char *.
4790 * troff/input.c (spring_trap, lookup_request): Add assert that nm
4793 Tue Jan 29 18:08:05 1991 James Clark (jjc at jclark)
4795 * groff.c (main): Support -i.
4797 Sun Jan 27 13:23:17 1991 James Clark (jjc at jclark)
4799 * pic/pic.h: Include <osfcn.h>.
4801 * ps/ps.c: Add declaration of mktemp.
4803 * Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
4804 * groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
4805 argument as union wait *.
4806 (run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
4807 argument to union wait *.
4809 Sat Jan 26 12:04:52 1991 James Clark (jjc at jclark)
4811 * tty/tmac.tty: Add definition of \(co.
4813 * pic/object.c (make_arc): Only increase radius when radius
4814 strictly less than d.
4815 (arc_object::update_bounding_box): May need to add 4.0 to end_quad
4818 * troff/env.c (environment::environment(symbol),
4819 environment::environment(const environment *)): Initialize
4822 Sat Jan 19 08:18:35 1991 James Clark (jjc at jclark)
4824 * tbl/main.c (main): Add exit(0).
4826 * ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.
4828 * pic/main.c (main):
4829 * eqn/main.c (main):
4830 * tbl/main.c (main):
4831 * etc/soelim.c (main):
4832 * driver/printer.c (printer::~printer):
4833 * troff/node.c (real_output_file::~real_output_file,
4834 real_output_file::flush): Check for errors on stdout.
4836 * most files: Add 1991 to copyright notice.
4838 * macros/tmac.s: Don't test \n(.x and \n(.y.
4840 * troff/input.c (token::next): Rename `escape_char' label to
4841 `handle_escape_char' and `normal_char' label to
4842 `handle_normal_char'.
4844 Thu Jan 17 15:46:35 1991 James Clark (jjc at jclark)
4846 * groff.c (main, synopsis, help): Support -a option.
4847 * groff.sh: Likewise. Also eliminate Zflag variable by adding -z
4848 to trflags while parsing options.
4850 Tue Jan 15 13:07:27 1991 James Clark (jjc at jclark)
4852 * troff/number.c (parse_term): With `m', `M' and `n' scale
4853 indicators, convert scale factor to hunits before scaling.
4855 Mon Jan 14 12:39:12 1991 James Clark (jjc at jclark)
4857 * lib/font.c (scale_round): Better test for overflow when n is
4860 Thu Jan 10 11:10:56 1991 James Clark (jjc at jclark)
4862 * tbl/main.c (process_format): Add second argument of type
4863 options*. Change callers. Allow opt->tab_char as well as '\t'
4864 between format items.
4866 Mon Jan 7 12:30:18 1991 James Clark (jjc at jclark)
4868 * macros/tmac.an (PD): With no arguments, make sure register PD is
4870 (TH): Call PD with no argument, instead of setting register PD
4873 Sun Jan 6 11:18:39 1991 James Clark (jjc at jclark)
4875 * Version 1.00 released.
4877 Sat Jan 5 08:44:30 1991 James Clark (jjc at jclark)
4879 * ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.
4881 * dvi/devdvi/DESC: Mount CW instead of CR.
4883 * dvi/tmac.dvi: Add definition of \(tm.
4885 * dvi/devdvi/texsy.map: Add lh, and rh.
4886 * dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
4887 * dvi/devdvi/texmi.map: Add *o. Regenerate fonts.
4889 * dvi/devdvi/FontMakefile: Generate H from cmss10.
4890 * dvi/devdvi/Makefile: Install H.
4891 * dvi/devdvi/H: New file.
4893 Fri Jan 4 15:04:57 1991 James Clark (jjc at jclark)
4895 * troff/env.c (vertical_spacing): Don't allow vertical spacing to
4898 Thu Jan 3 13:41:19 1991 James Clark (jjc at jclark)
4900 * macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.
4902 * macros/tmac.pic (PS): Avoid attempting to set negative indent.
4904 * macros/tmac.s (@EN): Handle the case where the equation is empty
4905 but the label is not.
4907 Wed Jan 2 10:31:44 1991 James Clark (jjc at jclark)
4909 * troff/groff.h: New warning category WARN_SPACE.
4910 * troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
4911 WARN_SPACE to warning_table.
4912 (interpolate_macro): Give a warning of type WARN_SPACE if the name
4913 is longer than two characters and is not defined, but the first
4914 two characters do make a defined name.
4916 * PROBLEMS: New file.
4918 * CHANGES: New file.
4919 * README-0.6, README-1.00: Deleted.
4921 * groff.c, groff.sh: Add X75-12 and X100-12 devices.
4922 * xditview/devX75/Makefile: Make devX75-12.
4923 * xditview/devX100/Makefile: Make devX100-12.
4925 * xditview/devX100/eqnchar, xditview/devX75/eqnchar,
4926 dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.
4928 Tue Jan 1 19:24:01 1991 James Clark (jjc at jclark)
4930 * README-0.7: Rename to README-1.00.
4932 * macros/tmac.pic: New file.
4933 * macros/Makefile (install.nobin): Install tmac.pic.
4935 Mon Dec 31 10:40:53 1990 James Clark (jjc at jclark)
4937 * troff/env.c (hyphen_word): Correct the test for whether the
4938 token is a hyphen. Reset npos to 0.
4940 * macros/tmac.s (par@sup-start, par@sup-end): New implementations.
4942 Sun Dec 30 15:53:13 1990 James Clark (jjc at jclark)
4944 * macros/tmac.s (ds*common-end): Call par*reset.
4946 (par@reset-indent): Deleted.
4948 * macros/tmac.s (@IP): Divert the label.
4950 Sat Dec 29 14:33:32 1990 James Clark (jjc at jclark)
4952 * xditview/draw.c (setGC): Use a line width of .1m rather than
4953 .04m by default; round rather than truncate value.
4955 * tbl/table.c (class empty_entry): New class.
4956 (empty_entry::empty_entry, empty_entry::line_type): New functions.
4957 (table::add_entry): Represent empty entries by objects of type
4959 (table_entry::line_type): Return -1.
4960 (table::determine_row_type): Ignore entries with line_type 0.
4961 Treat type -1 as non-lines.
4963 Fri Dec 28 15:04:41 1990 James Clark (jjc at jclark)
4965 * ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
4966 macros/tmac.s: Rename \(-d to \(Sd.
4968 Thu Dec 27 12:35:47 1990 James Clark (jjc at jclark)
4970 * ps/devps/textmap: Add `sd', `/_' and `3d' characters.
4971 * xditview/libXdvi/DviChar.c: Likewise.
4972 * dvi/devdvi/texsy.map: Add `<<', `>>'.
4974 Wed Dec 26 13:33:23 1990 James Clark (jjc at jclark)
4976 * troff/div.c (top_level_diversion::begin_page): Call
4977 init_output() if the_output is 0.
4979 Sat Dec 22 12:35:29 1990 James Clark (jjc at jclark)
4981 * troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
4983 (get_copy): Turn \E into ESCAPE_E.
4984 (token::process, asciify): Handle ESCAPE_E.
4986 * macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
4988 (DS): Implement `.DS R'.
4990 Fri Dec 21 11:41:53 1990 James Clark (jjc at jclark)
4992 * macros/tmac.s (FS): New macro.
4994 * macros/tmac.s (fn@do-FS): Use @LP instead of LP.
4996 * macros/tmac.s (cov*tl-init): Remove after first execution
4997 instead of aliasing to @nop. Call top of page macro explicitly
4998 instead of setting trap; call @init first. Set pg@top as top of
5000 (cov*auto-init): Deleted. Set cov*tl-init instead of
5001 cov*auto-init as top of page trap.
5002 (TL, LP): Do a break instead of calling cov*tl-init.
5003 (cov*print): With RP format but no TL, alias FS and FE to @FS and
5004 @FE; in this case also give a warning and always start another
5005 page. No need to set pg@top here.
5006 (cov*tl-init): Rename to cov*first-page-init.
5008 * macros/tmac.s (RP): Do `.pn 0'.
5009 (cov*tl-init): With RP format don't do `.pn 0'.
5011 * macros/tmac.s (pg@cs-top): Set no space mode.
5013 * macros/tmac.s (par@TL, par@AU, par@AI): New macros.
5014 (cov*ab-init): Alias TL, AU and AI to these.
5016 Thu Dec 20 10:10:50 1990 James Clark (jjc at jclark)
5018 * macros/tmac.s (@EQ): Move the space before the equation into @EN
5019 (@EN): Do nothing unless \n[dl] is > 0.
5021 Tue Dec 18 12:20:47 1990 James Clark (jjc at jclark)
5023 * pic/object.c (ellipse_object::radius): New function.
5025 * VERSION: Change version to 0.7.
5027 * tbl/table.c (block_entry::do_divert): Declare return type as
5029 (block_entry::divert, alphabetic_block_entry::divert): Return 1.
5031 Mon Dec 17 12:30:34 1990 James Clark (jjc at jclark)
5033 * troff/column.c: New file.
5034 * troff/Makefile: Corresponding changes.
5036 * troff/hvunits.c (scale(vunits, vunits, vunits)): New function.
5039 * troff/div.c (top_level_diversion::space): If the space causes
5040 the first-page transition and springs a trap, truncate the space
5043 Fri Dec 14 12:30:02 1990 James Clark (jjc at jclark)
5045 * ps/ps.c (ps_printer::do_import): Add a `clear' after including
5048 * pic/troff.c (troff_output::line_thickness,
5049 troff_output::set_fill): Do a horizontal motion to compensate for
5050 the width of the \D escape sequence.
5052 Thu Dec 13 10:17:14 1990 James Clark (jjc at jclark)
5054 * xditview/tmac.X: Reinstate definition of \(rn, but only for X100
5057 * eqn/sqrt.c (sqrt_box::compute_metrics): Supply missing argument
5060 * tbl/table.c (simple_entry::simply_print): Don't declare as pure.
5061 Supply empty definition.
5062 (text_entry::simple_print, simple_text_entry::simple_print):
5063 Delete declarations.
5064 (table::add_entry): Represent empty entries by objects of type
5067 Wed Dec 12 08:50:48 1990 James Clark (jjc at jclark)
5069 * troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.
5071 * tbl/table.c (left_text_entry::add_tab): New function.
5073 * macros/tmac.s: Make @RT an alias for par@reset. Make RT
5076 Mon Dec 10 11:19:55 1990 James Clark (jjc at jclark)
5078 * troff/env.c (environment::start_field): Give an error message if
5079 there is no next tab.
5081 Sun Dec 9 11:46:40 1990 James Clark (jjc at jclark)
5083 * troff/env.c (hyphenate): Skip initial elements with zero
5086 * macros/tmac.s (par@init): Keep VS in points rather than units.
5088 Sat Dec 8 23:00:27 1990 James Clark (jjc at jclark)
5090 * pic/main.c (main): Implement `-c' option.
5091 * pic/output.h: Declare make_tpic_output().
5092 * pic/tex.c (tex_output::set_pen_size): Make it virtual and
5094 (tpic_output): New class.
5095 (tpic_output::tpic_output, tpic_output::set_pen_size,
5096 tpic_output::command, make_tpic_output): New functions.
5098 Fri Dec 7 11:57:41 1990 James Clark (jjc at jclark)
5100 * tbl/main.c (main): Call `.ab' if \n(.g is false. Define TS/TE
5101 if they're not already defined.
5102 * tbl/table.c (init_output): Don't test \n(.g.
5104 * troff/input.c (do_if_request): Delete `g' condition. Recognize
5105 `d', `r' and `c' conditions even in compatibility mode.
5107 Tue Dec 4 09:13:47 1990 James Clark (jjc at jclark)
5109 * ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
5112 Mon Dec 3 07:18:26 1990 James Clark (jjc at jclark)
5114 * troff/env.h (environment::prev_line_interrupted): New member.
5115 (environment::get_prev_line_interrupted): New function.
5116 * troff/env.c (environment::newline): Set prev_line_interrupted.
5117 (environment::environment(const environment *),
5118 environment::environment(symbol)): Initialize
5119 prev_line_interrupted.
5120 * troff/input.c (process_input_stack): Don't give special
5121 treatment to space and newline at the beginning of the line if the
5122 previous line was interrupted.
5124 Sat Dec 1 15:48:37 1990 James Clark (jjc at jclark)
5126 * eqn/eqn.y: Disallow PRIME by itself.
5127 * eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
5129 (def_table): Remove definition of '. Define prime to be `.
5131 * eqn/eqn.y: Split off part of rule `script' into a new rule
5134 Fri Nov 30 10:23:44 1990 James Clark (jjc at jclark)
5136 * macros/tmac.s ({, }): New string aliases.
5138 Thu Nov 29 11:34:40 1990 James Clark (jjc at jclark)
5140 * README-0.7: New file.
5142 Wed Nov 28 10:09:57 1990 James Clark (jjc at jclark)
5144 * macros/tmac.s: New file.
5145 * man/groff_ms.man: New file.
5146 * Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
5147 * Makefile.bd: Similarily.
5148 * man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
5149 definition of TMAC_S.
5150 * macros/Makefile: Add definition of TMAC_S. Install tmac.s.
5151 * macros/TODO: New file.
5153 Sat Nov 24 20:04:54 1990 James Clark (jjc at jclark)
5155 * troff/env.c (right_justify): New function.
5156 (init_env_requests): Bind this to request "rj".
5157 (center_lines): Set right_justify_lines to 0. If we get a bad
5158 integer, center 1 line.
5159 (environment::environment(symbol), environment::environment(const
5160 environment *)): Initialize right_justify_lines.
5161 (environment::get_right_justify_lines): New function.
5162 (init_env_requests): Bind this to number_register ".rj".
5164 * troff/env.c (environment::choose_breakpoint): Implement
5165 hyphenation_margin and hyphenation_space.
5166 (environment::get_hyphenation_space,
5167 environment::get_hyphenation_margin): New functions.
5168 (init_env_requests): Bind these to .hys and .hym.
5169 (hyphenation_space_request, hyphenation_margin_request): New
5171 (init_env_requests): Bind these to hys and hym.
5172 (environment::environment(symbol), environment::environment(const
5173 environment *)): Initialize hyphenation_margin and
5175 * troff/env.h: Corresponding changes to class environment.
5177 Fri Nov 23 09:08:16 1990 James Clark (jjc at jclark)
5179 * troff/div.c (blank_line): Always do a break.
5181 * eqn/box.c (do_text): Turn off escapes while appending text to
5184 Thu Nov 22 10:58:59 1990 James Clark (jjc at jclark)
5186 * troff/input.c (while_break_request, while_continue_request): New
5188 (init_input_requests): Bind these to "break" and "continue".
5189 (while_depth, while_break_flag): New variables.
5190 (while_request): Update while_depth. Break out of loop if
5191 while_break_flag is set.
5193 Wed Nov 21 10:54:40 1990 James Clark (jjc at jclark)
5195 * tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
5198 Mon Nov 19 00:45:03 1990 James Clark (jjc at jclark)
5200 * Makefile: Include -DBROKEN_SPOOLER by default. Expand comment.
5202 * stringify: New file.
5203 * Makefile (groff.o): Use stringify.
5205 * xditview/tmac.X: Remove definition of \(rn.
5206 * xditview/libXdvi/DviChar.c: Remove radicalex from
5209 Sat Nov 17 10:44:58 1990 James Clark (jjc at jclark)
5211 * tbl/table.c (table::add_entry): Allow alphabetic text blocks.
5212 (alphabetic_block_entry::alphabetic_block_entry,
5213 alphabetic_block_entry::divert, alphabetic_block_entry::print):
5215 (block_entry::divert): Split off body into ...
5216 (block_entry::do_divert): If the block is alphabetic, subtract 2n
5217 from the line length; also update the span width to dl+2n, and the
5218 alphabetic span width to dl.
5220 * driver/input.c (do_file): While reading argument to D command,
5221 when expanding buffer, multiply szp by sizeof(int) rather than 2
5222 in the argument to memcpy.
5224 * tbl/table.c (compute_span_width): Add 2n rather than 1n to the
5225 width of alphabetic columns.
5227 Fri Nov 16 06:34:27 1990 James Clark (jjc at jclark)
5229 * troff/node.c (lookup_family): Supply second argument to lookup.
5231 * troff/dictionary.c (dictionary::lookup): After an unsuccesful
5232 search, return immediately if v is 0.
5234 * pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
5235 (troff_output::start_picture): Set this reg.
5236 (troff_output::end_picture): Remove this reg
5237 * eqn/box.c (box::extra_space): Don't produce `\x's if
5238 EQN_NO_EXTRA_SPACE_REG is defined.
5240 * eqn/eqn.y: Allow just a PRIME to be a `simple'.
5241 * eqn/text.c (split_text): Map ' to \(fm when it's the first
5244 Thu Nov 15 10:35:06 1990 James Clark (jjc at jclark)
5246 * macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
5249 * troff/div.c (top_level_diversion::top_level_diversion):
5250 Initialize page_number to 0.
5252 Wed Nov 14 21:41:58 1990 James Clark (jjc at jclark)
5254 * groff/troff (environment::environment(const environment *)):
5255 Initialize name to e->name, rather than "anonymous".
5257 Sat Nov 10 01:59:37 1990 James Clark (jjc at jclark)
5259 * xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
5260 requested_page. Split middle part into ...
5261 (FindPage): New function.
5262 (SetValues): If we don't yet know the last page, and the requested
5263 page is greater than the current page, call FindPage.
5264 Update the font_map_string before doing this.
5266 * xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
5267 Translate \(lh and \(rh into left and right double arrows.
5269 * troff/node.c (class hyphen_inhibitor_node): New class.
5270 (hyphen_inhibitor_node::hyphen_inhibitor_node,
5271 hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
5272 hyphen_inhibitor_node::type,
5273 hyphen_inhibitor_node::get_hyphenation_type): New functions.
5274 (node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
5275 than dbreak_node(0, 0) to represent a `\%' at the beginning of a
5278 Fri Nov 9 16:05:38 1990 James Clark (jjc at jclark)
5280 * troff/node.h (dummy_node::get_hyphenation_type,
5281 transparent_dummy_node::get_hyphenation_type): Declare them.
5282 * troff/node.c: (dummy_node::get_hyphenation_type,
5283 transparent_dummy_node::get_hyphenation_type): New functions.
5285 Wed Nov 7 10:09:06 1990 James Clark (jjc at jclark)
5287 * xditview/libXdvi/draw.c: If M_PI not defined after including
5288 math.h, then define it.
5290 * xditview/Makefile: Add definition of AR. Pass it to the submake
5292 * xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.
5294 Tue Nov 6 10:14:27 1990 James Clark (jjc at jclark)
5296 * troff/dictionary.h (object_dictionary::alias): Declare return
5298 * troff/dictionary.c (object_dictionary::alias): Return non-zero
5299 if the old name was defined.
5300 * troff/input.c (alias_macro): Give a warning if the old name was
5302 * troff/reg.c (alias_reg): Likewise.
5304 Mon Nov 5 00:31:39 1990 James Clark (jjc at jclark)
5306 * troff/input.c (token::next): Delete implementation of \R.
5308 * macros/Makefile: Strip comments from tmac.e while installing it.
5310 * troff/input.c: New variable `nroff_mode'.
5311 (troff_request, nroff_request): New functions.
5312 (init_input_requests): Bind `troff' and `nroff' to troff_request
5314 (do_if_request): Compute results of t and n conditions from
5317 * text/text.c (split_text): Fix typo in >=.
5319 * eqn/lex.c: Add definition of `==' to def_table.
5321 Fri Nov 2 02:49:09 1990 James Clark (jjc at jclark)
5323 * pic/tex.c (tex_output::start_picture): Change the definitions of
5324 \graph and \graphtemp so that they work properly with Plain TeX.
5326 * pic/tex.c (tex_output::solid_arc): Ensure that the second angle
5327 argument to `ar' is not less than the first.
5329 * pic/pic.y: Allow a comma between elements of the variable list
5330 in the argument to `reset'.
5332 * pic/object.c (arc_object::arc_object): Fix computation of
5335 * eqn/main.c (main): Add exit(0).
5337 Thu Nov 1 02:03:50 1990 James Clark (jjc at jclark)
5339 * troff/div.c (begin_page): Test no_space_mode after doing the
5340 break, but still push the page ejector cookie before doing the
5341 break. Also set the next page number after doing the break.
5343 * xditview/xditview.c (NewFile): Don't set the title and icon name
5344 if this is the first file and its name is `-'.
5345 * groff/groff.c: Define a new device flag XT_OPTION. Set it for
5346 the X75 and X100 devices.
5347 (main): If a device has the XT_OPTION flag set and there's exactly
5348 one file argument, pass the driver -xrm and -title options to set
5349 the icon name and window title to the name of the file.
5351 * troff/env.c (environment_switch): If there was an argument but
5352 it wasn't a valid number or name, then pop an environment but
5353 don't give an error message on underflow.
5355 * troff/number.c (start_number): Correct spelling in error message.
5357 * troff/input.c (token::delimiter): Don't print an error message
5360 * xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
5361 ParseDrawFunction if dw->display_enable is true.
5363 Wed Oct 31 05:49:50 1990 James Clark (jjc at jclark)
5365 * pic/pic.y: Parse text positioning like normal attributes, so as
5366 to allow `"text" at 0,0 ljust'. Don't allow `center' as a
5367 positioning attribute.
5369 Mon Oct 29 22:50:38 1990 James Clark (jjc at jclark)
5371 * tbl/main.c (process_data): When in state START while reading a
5372 text block, don't change to state MIDDLE if c is a newline.
5374 Sun Oct 28 21:59:56 1990 James Clark (jjc at jclark)
5376 * dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
5377 so as to avoid shadowing parameter.
5379 Wed Oct 24 18:35:39 1990 James Clark (jjc at jclark)
5381 * tbl/table.c (trim_space): Deleted.
5382 (table::add_entry): Don't call trim_space.
5384 Mon Oct 22 03:48:39 1990 James Clark (jjc at jclark)
5386 * VERSION: Change version to 0.6.
5388 * troff/number.c (parse_expr): Make == work.
5390 Sat Oct 20 11:28:17 1990 James Clark (jjc at jclark)
5392 * man/grog.man: New file.
5393 * man/Makefile: Add grog.n to MAN1PAGES.
5394 * etc/grog.sh: New file.
5395 * etc/Makefile: Install grog.sh as grog.
5397 Fri Oct 19 11:17:15 1990 James Clark (jjc at jclark)
5399 * troff/input.c (token::next): Implement \E.
5401 Thu Oct 18 11:56:24 1990 James Clark (jjc at jclark)
5403 * xditview/tmac.X: Change font translations to match tmac.ps.
5405 * troff/input.c (non_empty_name_warning): Don't give a warning if
5406 `\{' terminates the name.
5408 Tue Oct 16 10:04:23 1990 James Clark (jjc at jclark)
5410 * ps/devps/symbol.diff: New file.
5411 * ps/devps/FontMakefile: Mention symbol.diff.
5413 Sun Oct 14 11:46:46 1990 James Clark (jjc at jclark)
5415 * troff/node.c (font_position): Use get_long_name to read the
5418 * troff/env.c (environment_switch): If we get a number that's < 0
5419 or >= NENVIRONMENTS, treat it like a name.
5420 Change NENVIRONMENTS to 10.
5422 * troff/groff.h: Remove definition of FONTS_MAX.
5423 * troff/node.h (class font_family): Make map a pointer instead of
5424 an array. Add a map_size member. Make it a class. Make nm const
5425 and public. Make invalidate_fontno a friend.
5426 * troff/node.c: Define font_table_size. Make font_info a pointer
5427 rather than an array.
5428 (class troff_output_file): Allocate font_position dynamically. Add
5429 nfont_positions member.
5430 (troff_output_file::set_font): Grow font_position if necessary.
5431 (troff_output_file::~troff_output_file): Delete font_position.
5432 (troff_output_file::troff_output_file): Allocate font_position.
5433 (grow_font_table): New function.
5434 (troff_output_file::really_begin_page,
5435 troff_output_file:really_copy_page): Use nfont_positions rather
5437 (mount_font_no_translate, mount_style): Call grow_font_table if
5439 (font_family::font_family): Allocate map.
5440 (font_family::make_definite): Grow map if necessary. Use
5441 font_table_size instead of FONTS_MAX.
5442 (font_family::~font_family): New function.
5443 (invalidate_fontno): Use font_family::map_size.
5444 (get_fontno, env_space_width, env_half_narrow_space_width,
5445 env_narrow_space_width, symbol_fotno, is_good_fontno,
5446 get_bold_fontno, make_glyph_node): Use font_table_size rather than
5448 (next_available_font_position): Never return 0.
5450 Fri Oct 12 10:17:52 1990 James Clark (jjc at jclark)
5452 * ps/tmac.ps: Add font translations for compatibility with dpost.
5454 Thu Oct 11 12:09:03 1990 James Clark (jjc at jclark)
5456 * eqn/pile.c: Rename default_baseline_sep to baseline_sep.
5457 Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
5458 Move definitions baseline_sep, shift_down, column_sep,
5459 matrix_side_sep into...
5460 * eqn/box.c: Add them to param_table.
5461 * eqn/pbox.h: Add declarations to pbox.h.
5463 * troff/input.c (set_string): Cast value to unsigned char *.
5465 * troff/token.h (process_input_stack): Declare it static before
5466 declaring it a friend.
5468 Wed Oct 10 09:59:13 1990 James Clark (jjc at jclark)
5470 * dvi/devdvi/texex.map: Fix positions of extensible brace middle
5472 * dvi/devdvi/EX: Regenerate.
5474 * troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
5477 Tue Oct 9 08:34:02 1990 James Clark (jjc at jclark)
5479 * eqn/lex.c: In defaults_table, make definition of `dot' call
5480 `dot_def'. Don't explicitly make it roman. Similarily for other
5483 * pic/lex.c (for_input::for_input): Add by_is_multiplicative
5485 (for_input::get, for_input::peek): Use this.
5486 (do_for): Add by_is_multiplicative argument.
5487 * pic/pic.y: Change optional_by clause to allow '*' after `by'.
5488 Change semantic value of optional_by to be a double plus a flag
5489 saying whethet the by clause is multiplicative.
5491 * eqn/lex.c (get_delimited_text): Remember location of start of
5492 definition. Improve error handling when EOF is encountered.
5494 * lib/font.h: Rename handle_x_command to
5495 handle_unknown_font_command.
5496 * lib/font.c (font::load): Call handle_unknown_font_command for
5497 any unknown command in the font description file. Don't call
5498 handle_x_command. Include the name of the command in the argv.
5499 Improve message for unknown command after kernpairs or charset
5501 * ps/ps.c (ps_font::handle_x_command): Rename to
5502 handle_unknown_font_command. Remove message about `x download'
5503 command. Give error message for wrong number of arguments.
5504 * ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
5505 * dvi/dvi.c (dvi_font::handle_x_command): Rename to
5506 handle_unknown_font_command. Give an error message for wrong
5507 number of arguments. Rename design_size to designsize.
5508 * dvi/tfmtodit.c (main): Generate `checksum' instead of `x
5509 checksum', `designsize' instead of `design_size'.
5511 Mon Oct 8 00:38:55 1990 James Clark (jjc at jclark)
5513 * eqn/*.[chy]: Change underaccent to uaccent.
5515 * eqn/eqn.y: Add rule for underaccent. Declare UNDERACCENT token;
5516 give it the same precedence as ACCENT.
5517 * eqn/other.c (make_underaccent_box): New function.
5518 * eqn/box.h: Declare it.
5519 * eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
5522 Sun Oct 7 11:25:16 1990 James Clark (jjc at jclark)
5524 * pic/pic.y (reset_all): New function. Called in rule for RESET.
5525 (parse_init): Call reset_all.
5526 (define_variable): When defining scale reset only those
5527 pre-defined variables that are scaled.
5528 (defaults_table): Add `scale' as non-scaled value.
5530 * pic/pic.y: Redo parsing of text adjustments: parse adjustments
5531 together with the text; allow any number of positioning words;
5532 allow center as a positioning word.
5534 * pic/object.c (output::compute_scale): Get picture maximum height
5535 and width from variables called maxpswid and maxpsht.
5536 * pic/pic.y: Add maxpswid and maxpsht to defaults_table.
5538 Sat Oct 6 10:16:56 1990 James Clark (jjc at jclark)
5540 * pic/object.c (object_spec::make_text): Multiply textht by number
5543 * pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
5545 (do_sprintf): New function.
5546 (pic.gperf): Add sprintf token.
5547 (text, sprintf): New rules.
5549 * pic/pic.y: `rand()' with no arguments returns a random number
5552 * pic/pic.y: Allow a bare expression to be an attribute: change
5553 precedences to support this. Change optional_ordinal rule to
5554 optional_ordinal_last to avoid reduce/reduce conflict.
5555 * pic/object.c (object_spec::object_spec): Initialize direction.
5557 * pic/pic.y: Implement ^ operator meaning exponentiation.
5559 * troff/node.h: Add default argument to mount_font.
5560 * troff/node.c (font_position): Read an optional third argument
5561 giving the external_name.
5562 (mount_font): Add optional argument giving the external_name.
5563 (mount_font_not_translate): Have additional argument giving
5564 external name. Use this name to load the font. Pass both names
5565 to font_info::font_info.
5566 (font_info::font_info): Have additional argument giving
5568 (class tfont): New member external_name.
5569 (font_info::get_tfont): Use external name to construct tfont_spec.
5571 Fri Oct 5 04:03:13 1990 James Clark (jjc at jclark)
5573 * eqn/lex.c (init_table): Add argument giving device. Define
5574 name of device to be "1".
5575 (do_ifdef): Counts as true if the argument has been defined with
5577 * eqn/main.c (main): Call init_table with device argument. Make
5578 device local to main.
5579 * eqn/eqn.h: Change declaration of init_table. Remove declaration
5582 * pic/lex.c (get_delimited): Allow text to be delimited by
5583 matching {}s. Don't recognize ending delimiter within a string.
5585 * troff/input.c (get_delim_name): New function.
5586 (token::next): Implement \C.
5588 * lib/font.c (font::load): Grok ---. Add an alias for each
5589 character based on its code.
5590 (font::get_code_width): Deleted.
5591 * lib/font.h (class font): Declare font::number_to_index().
5592 Remove declaration of font::get_code_width.
5593 * lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
5594 to indices of named characters.
5595 (font::number_to_index): New function.
5596 * troff/input.c (font::number_to_index): New function.
5597 (get_charinfo_by_number, charinfo::get_number,
5598 charinfo::set_number): New functions.
5599 (token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
5600 (token::process, token::description, token::get_char,
5601 token::add_to_node_list, token::operator==): Handle
5602 TOKEN_NUMBERED_CHAR.
5603 * troff/charinfo.h: Declare get_charinfo_by_number,
5604 charinfo::get_number, charinfo::set_number. Add NUMBERED flag to
5606 (charinfo::numbered): New function.
5607 * troff/token.h: Add TOKEN_NUMBERED_CHAR.
5608 * troff/env.h (class environment): Remove declaration of ...
5609 * troff/env.c (environment::make_numbered_char_node): Deleted.
5610 * troff/node.c (make_numbered_node): Deleted.
5611 (class numbered_glyph_node): Remove.
5612 (troff_output_file::put_char_width, troff_output_file::put_char):
5613 Handle numbered chars.
5614 (troff_output_file::numbered_char): Removed.
5615 (tfont::get_code_width): Removed.
5616 (make_glyph_node): Don't search special fonts for numbered
5618 * troff/node.h: Remove declaration of make_numbered_node.
5619 * driver/input.c (do_file): Handle N command.
5620 * driver/printer.h: Add declaration of ...
5621 * driver/printer.c (printer::set_numbered_char): New function.
5622 * dvi/tfmtodit.c (main): Generate unnamed entries.
5623 * ps/devps/afmtodit: Likewise.
5624 * xditview/xtotroff.c (MapFont): Likewise.
5625 * xditview/libXdvi/parse.c (ParseInput): Grok N command.
5627 * tbl/main.c (process_format): If multiple widths are specified
5628 for a column but all the widths are the same, don't give an error
5631 * tbl/table.c (table::do_row): If the current row is all lines and
5632 the stuff doesn't contains a line, mark the top of the row after
5633 printing stuff before the row. If the current row is not all
5634 lines and the stuff doesn't contain a line, don't unnecessarily
5635 mark the top of the row before printing the stuff.
5637 Mon Oct 1 11:42:00 1990 James Clark (jjc at jclark)
5639 * troff/groff.h: Remove MAX_PATH.
5640 * troff/input.c (open_file): Dynamically allocate space for the
5642 (open_mac_file, process_macro_file): Corresponding changes.
5644 Sun Sep 23 18:56:26 1990 James Clark (jjc at jclark)
5646 * troff/node.h (class output_file): Make copy_file pure. Add
5647 vspace method ifdef COLUMN. Add is_printing method.
5648 * troff/node.c: Add class printing_reg. Add class
5649 real_output_file. Derive other output_file classes from
5650 real_output_file; in these classes rename begin_page to
5651 really_begin_page, print_line to really_print_line, copy_file to
5652 really_copy_file, transparent_char to really_transparent_char.
5653 Move output_file::flush to real_output_file. Add printing member
5654 to class output_file.
5655 * troff/div.h: Remove printing member from top_level_diversion.
5656 Add vspace member function to class diversion ifdef COLUMN. Add
5657 some declarations ifdef COLUMN.
5658 * troff/div.c (top_level_diversion::copy_file,
5659 top_level_diversion::transparent_output,
5660 top_level_diversion::output): Don't test printing member before
5662 * troff/input.c: Handle initial variable_space_request ifdef
5664 * troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
5667 Sat Sep 22 11:32:22 1990 James Clark (jjc at jclark)
5669 * troff/div.c (diversion::need): Make any space forced. If we
5670 sprung a trap, set truncated_space to minus the distance to the
5671 trap and set needed_space to the amount that was needed.
5672 (top_level_diversion::space): A forced space turns no_space_mode
5674 (class constant_vunits_reg): New class.
5675 (init_div_requests): Implement number registers .trunc and .ne
5676 using constant_vunits_reg.
5677 (class truncated_space_reg): Deleted.
5679 * troff/div.h: Don't have a no_space_mode member in diversion.
5680 Instead have it in top_level_diversion.
5681 * troff/div.c (diversion::diversion): Don't initialize
5683 (top_level_diversion::top_level_diversion): Initialize
5685 (no_space, restore_spacing): Do nothing if curdiv != topdiv.
5686 (macro_diversion::output): Don't clear no_space_mode.
5688 * troff/input.c (diverted_space_node::reread): Don't call
5689 environment::do_break. In fill mode, act like a blank line.
5690 (diverted_copy_file_node::reread): Don't call
5691 environment::do_break.
5693 * troff/div.c (blank_line): New function.
5694 * troff/div.h: Declare it.
5695 * troff/input.c (process_input_stack): Call it.
5697 * troff/div.c (truncated_space_reg::get_string): New function.
5698 (init_div_requests): Bind to .trunc.
5699 (space_request, top_level_diversion::space,
5700 top_level_diversion::output, macro_diversion::space,
5701 macro_diversion::output): Update truncated_space.
5702 (macro_diversion::output): Redo calculations when trap sprung.
5703 (macro_diversion::output, macro_diversion::space): No need for
5706 * troff/div.c (top_level_diversion::output): Set nl_reg_contents
5707 after truncating post line spacing.
5709 Fri Sep 21 11:27:25 1990 James Clark (jjc at jclark)
5711 * ps/devps/prologue (MF, SF): Make them work even if setfont is
5712 defined as a procedure rather than as an operator.
5714 Thu Sep 20 12:55:05 1990 James Clark (jjc at jclark)
5716 * troff/div.c (macro_diversion::space): Ignore no_space_mode.
5718 Wed Sep 19 10:54:37 1990 James Clark (jjc at jclark)
5720 * troff/div.c (top_level_diversion::output): Merge
5721 output_file::print_line and output_file::end_of_line member
5723 * troff/div.h (class output_file):
5724 * troff/node.c (troff_output_file::print_line,
5725 troff_output_file::end_of_line, output_file::end_of_line,
5726 ascii_output_file::print_line, suppress_output_file::print_line):
5727 Corresponding changes.
5729 Tue Sep 18 11:31:47 1990 James Clark (jjc at jclark)
5731 * troff/input.c (token::next): Don't give a warning for `\.'.
5733 * troff/env.c (environment::get_center_lines): New function.
5734 (init_env_requests): Bind number register .ce to it.
5735 * troff/env.h: Declare it.
5736 * tbl/table.c (table::init_output): Define reset macro to restore
5737 .ce. If center option not given, store .ce in SAVED_CENTER_REG.
5739 (table::print): If center option not given, then imply center
5740 option if SAVED_CENTER_REG > 0.
5742 Mon Sep 17 09:19:19 1990 James Clark (jjc at jclark)
5744 * ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
5745 Troff.ps from DOWNLOAD.
5747 * troff/Makefile: Change comment in DEFINES to avoid confusing
5750 * ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
5751 code. Don't try to catch errors with stopped.
5752 (check_line_lengths): New function.
5753 * ps/devps/prologue (EXEC): Deleted.
5754 (EBEGIN, EEND): New procedures.
5756 Sun Sep 16 14:51:15 1990 James Clark (jjc at jclark)
5758 * troff/input.c: Include request.h before node.h.
5759 * troff/node.c: Likewise.
5760 * troff/env.c: Likewise.
5761 * troff/div.c: Likewise.
5762 * troff/node.h (class special_node): Store argument as a macro
5763 rather than a char *.
5764 * troff/node.c (special_node::special_node, special_node::copy):
5766 (special_node::~special_node): Deleted.
5767 (special_node::tprint): Deleted.
5768 (special_node::tprint_start, special_node::tprint_end,
5769 special_node::tprint_char): New functions.
5770 (troff_output_file::special): Deleted.
5771 (troff_output_file::start_special, troff_output_file::end_special,
5772 troff_output_file::special_char): New functions.
5773 * troff/input.c (special_node::tprint): New function.
5774 (do_special): Use macro not char *.
5775 (do_transparent_macro): Deleted.
5776 (token::next): Don't call do_transparent_macro.
5778 * troff/input.c (token::next): Add 'Y' case.
5779 (do_transparent_macro): New function.
5780 * troff/node.c (troff_output_file::special): Handle newlines with
5781 argument using new continuation convention.
5782 * driver/input.c (get_string): Cope with continuation convention.
5783 (do_file): Don't call skip_line after calling get_string(1).
5784 * ps/ps.c (ps_printer::special, ps_printer::do_import,
5785 ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
5787 * xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
5790 Sat Sep 15 19:00:10 1990 James Clark (jjc at jclark)
5792 * troff/input.c (asciify): By default, illegal input characters
5793 should return empty string.
5795 * troff/input.c (copy_file): Handle first page transition like title.
5796 (token::next, process_input_stack): Grok COPY_FILE_REQUEST.
5798 * troff/input.c (token::next): Improve error message for EOF after
5800 (input_char_description): New function.
5801 (get_char_for_escape_name): Use input_char_description.
5802 (token::next): Warn about unrecognized escape sequences.
5803 (warning_table): Add WARN_ESCAPE.
5804 * troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
5807 * troff/token.h: Remove declaration of process_input_stack.
5809 * troff/input.c: Remove declaration of init_hyphen_requests.
5810 * troff/request.h: Correct spelling in declaration of same.
5812 * troff/input.c (token::next): Check whether escape_char is 0.
5814 Fri Sep 14 12:09:25 1990 James Clark (jjc at jclark)
5816 * groff.c (main, usage, help): Implement -P and -L options.
5817 * groff.sh: Likewise.
5819 * troff/input.c (token::next): Use some gotos to avoid code
5822 * troff/input.c (get_long_name, get_name, read_long_ecsape_name):
5823 Avoid calling symbol::symbol if name empty.
5825 Thu Sep 13 06:21:45 1990 James Clark (jjc at jclark)
5827 * troff/input.c (init_input_requests): Make \n(.x return the major
5828 version number and \n(.y return the minor version number.
5829 * troff/Makefile: Construct file majorminor.c defining
5830 major_version and minor_version automatically from ../VERSION.
5832 * troff/node.c (class glyph_node): Make operator new and operator
5834 (class ligature_node): Similarily.
5836 * troff/input.c (operator==(const macro &, const macro &)): New
5838 (non_interpreted_node::same): Use this.
5839 (string_iterator::string_iterator): Make macro& argument const.
5841 * troff/input.c (input_iterator::get): New function. Don't make
5842 asciify_macro or class non_interpreted_node friends of class
5844 (non_interpreted_node::interpret): Use input_iterator::get.
5845 (asciify_macro): Likewise.
5847 * troff/input.c (~token_node, ~string_iterator, ~arg_list,
5848 ~non_interpreted_node): Deleted.
5849 * troff/node.c: (~suppress_output_file, ~ascii_output_file):
5852 * troff/symbol.h: Make all symbol member functions const.
5854 * lib/strtol.c: New file.
5855 * lib/Makefile: Add strtol.c.
5856 * Makefile: Define STRTOL as strtol.o to include strtol in
5859 Wed Sep 12 10:00:49 1990 James Clark (jjc at jclark)
5861 * pic/troff.c (troff_output::simple_circle): Divide by scale.
5863 Tue Sep 11 14:17:16 1990 James Clark (jjc at jclark)
5865 * troff/input.c (do_special): Use input_level.
5867 * troff/token.h (TOKEN_BACKSPACE): New token.
5868 (token::backspace): New function.
5869 * troff/input.c (token::description, token::next, token::process):
5870 Grok TOKEN_BACKSPACE.
5871 (do_special): Turn TOKEN_BACKSPACE back into \b.
5873 * troff/token.h (token::leader): New function.
5874 * troff/input.c (do_special): Turn TOKEN_LEADER back into \001.
5876 * troff/input.c (do_special): Turn TOKEN_TAB back into \t.
5878 * troff/input.c (do_special): Use token::description in error
5881 Mon Sep 10 11:06:27 1990 James Clark (jjc at jclark)
5883 * troff/input.c (decode_args): Combine quoted and
5884 quote_input_level variables. Make it a for (;;) loop.
5886 * troff/input.c (get_char_for_escape_name): Check for \001 and \b.
5888 * troff/input.c (read_long_escape_name): The test for whether to
5889 expand buffer was off by 1.
5890 (read_string): Similarily.
5892 Fri Sep 7 11:45:50 1990 James Clark (jjc at jclark)
5894 * troff/input.c: Use `const int' rather than `static const int'.
5896 * troff/div.h (diversion::copy_file): Declare as pure virtual.
5897 (macro_diversion::copy_file): New function.
5898 * troff/node.h: New class diverted_copy_file_node.
5899 * troff/node.c: Implement it.
5900 * troff/input.c (copy_file): Use diversion::copy_file. Handle
5901 first page transition by pushing a diverted_copy_file_node.
5902 * troff/input.c (token::next, process_input_stack): Don't handle
5905 Thu Sep 6 13:29:10 1990 James Clark (jjc at jclark)
5907 * ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
5908 whether space widths need adjusting.
5910 * troff/charinfo.h: Generalize translated_to_space to
5911 special_translation so as to allow translation to \&.
5912 * troff/input.c (translate): Allow translation to \&.
5913 (charinfo::*): Corresponding changes.
5914 * troff/node.c (make_node, node::add_char): Corresponding changes.
5915 * troff/node.h (dummy_node::dummy_node): Allow optional first
5918 * lib/lib.h: Make codes 0200 to 0237 illegal input characters.
5919 * troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
5921 * troff/input.c (token::next): Turn a TITLE_REQUEST into a
5922 TOKEN_REQUEST with an argument of TITLE_REQUEST.
5923 (token::process): Grok that.
5924 * troff/input.c (copy_file): Handle first page transition like
5925 title by pushing a COPY_FILE_REQUEST cookie.
5926 (token::next, process_input_stack): Grok that.
5927 * troff/node.h (output_file::copy_file): Add x and y arguments.
5929 * troff/div.c (top_level_diversion::copy_file): Supply them.
5930 * troff/node.c (troff_output_file::copy_file): Add x and y
5931 arguments; moveto specified position. Invalidate font_position
5932 array after copying file.
5933 (output_file::copy_file): New function.
5934 (suppressed_output_file::copy_file, ascii_output::copy_file):
5936 * troff/input.c (transparent_file): New function.
5937 (init_input_requests): Bind to "trf".
5938 (token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
5939 (process_input_stack): Likewise.
5941 * troff/Makefile: Add ../lib/lib.h to GROFF_H.
5943 * troff/node.c (init_node_requests): New number registers .kern
5944 pointing to global_kern_mode, and .lg pointing to
5945 global_ligature_mode.
5947 * troff/node.c (ligature): Don't change it if we get a bad
5950 * troff/input.c (do_define_string): Don't strip tabs.
5952 * troff/input.c (asciify_macro): Make the string_iterator auto.
5954 * troff/node.c (init_font_requests): Rename to...
5955 (init_node_requests):
5956 * troff/node.h: Change declaration.
5957 * troff/input.c (main): Change call.
5959 * troff/input.c (node::reread, diverted_space_node::reread): New
5961 (process_input_stack): Call reread rather than
5962 get_diverted_space_node.
5963 * troff/node.c (node::get_diverted_space_node,
5964 diverted_space_node::get_diverted_space_node): Removed.
5965 * troff/node.h: Declare reread methods instead of
5966 get_diverted_space_node methods. Make `n' member private.
5967 * troff/input.c: (token::diverted_space): Removed.
5968 * troff/token.h: Removed declaration.
5971 Tue Sep 4 00:48:04 1990 James Clark (jjc at jclark)
5973 * eqn/script.c (script_box::compute_metrics): Don't let
5974 SUP_RAISE_FORMAT become negative.
5976 * tbl/table.c (table::do_row): Entries that don't end in the
5977 this row shouldn't make the row non-blank.
5979 * tbl/table.c (table::make_columns_equal): Only set the width of
5980 columns which are marked as equal.
5982 * tbl/main.c (process_data): Before issuing excess data error,
5983 if last character was a newline unget it; then get it again after
5984 the error. Also include the contents of the entry in the message.
5986 * groff.c: New file.
5987 * Makefile: Build groff from groff.c. Make it possible to use
5988 either groff.sh or groff.c as groff.
5989 * Makefile.bd: Similarily.
5991 Mon Sep 3 09:39:49 1990 James Clark (jjc at jclark)
5993 * groff.sh: Don't delay expansion of $@ in assignment to files.
5994 Remove occurrences of \".
5996 Sun Sep 2 09:56:59 1990 James Clark (jjc at jclark)
5998 * all Makefiles: Simplify and rearrange.
6000 * Makefile: Handle fmod like malloc.
6001 * lib/Makefile: Similarily.
6002 * lib/fmod.c: Remove #ifdef NEED_FMOD.
6004 * Makefile: Rename OPTIMISE to OPTIMIZE.
6006 * groff.sh: Remove assignment to PATH.
6007 * Makefile: Remove SHPATH variable.
6008 * Makefile.bd: Similarily.
6010 * groff.sh: Add -V option to print the pipeline instead of
6013 Fri Aug 31 00:56:46 1990 James Clark (jjc at jclark)
6015 * lib/font.c: Split off file searching into ...
6016 * lib/fontfile.c: New file.
6018 * lib/strerror.c (strerror): Use `Error %d' for unknown errors.
6020 Thu Aug 30 13:13:55 1990 James Clark (jjc at jclark)
6022 * tbl/table.c (table::do_hspan): Delete assertion that e != 0.
6023 Also change misleading comment.
6024 (table::do_vspan): Change similarily misleading comment.
6025 * tbl/main.c (process_data): A format row with an explicit `s'
6026 uses up a data line, even if all the other columns are `_' or `='.
6028 * troff/input.c (token::description): Fix description of
6029 TOKEN_DUMMY and TOKEN_EMPTY.
6031 Wed Aug 29 04:12:08 1990 James Clark (jjc at jclark)
6033 * groff.sh: Fix description of -Z in help message.
6035 Tue Aug 28 07:28:33 1990 James Clark (jjc at jclark)
6037 * pic/object.c (object_spec::make_object): Allow negative and zero
6039 * pic/pic.y: Give linethick default value of -1.0.
6040 * pic/troff.c (troff_output::troff_output): Initialize
6041 last_line_thickness to BAD_THICKNESS.
6042 (troff_output::finish_picture): Set thickness to BAD_THICKNESS.
6043 (troff_output::line_thickness): Canonicalize negative thicknesses
6044 to RELATIVE_THICKNESS.
6045 * pic/tex.c (tex_output::set_pen_size): Silently map negative line
6046 thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
6048 (tex_output::start_picture): Set pen_size to -2.0.
6050 * ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
6051 0, then use 0 linewidth.
6052 (ps_printer::ps_printer): Initialize line_thickness to -1.
6054 * pic/troff.c (troff_output::simple_ellipse): Divide by scale.
6056 * ps/devps/symbolchars: Remove `or'.
6057 * ps/tmac.ps: Implement \(or with .char.
6059 * ps/devps/symbolchars: Move most characters into textmap.
6060 * ps/devps/textmap: Add names for troff bracket characters. Remove
6063 * ps/devps/TSymbol.ps: Removed.
6064 * ps/devps/FontMakefile: Make S from Symbol not TSymbol.
6065 * ps/tmac.ps: Do with .char what TSymbol did.
6066 * ps/devps/download: Remove TSymbol.
6068 * ps/devps/T: Removed.
6069 * ps/devps/Troff.ps: Removed.
6070 * ps/devps/Troff.afm: Removed.
6071 * ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
6072 * ps/devps/download: Remove Troff.
6073 * ps/devps/FontMakefile: Remove T target.
6074 * ps/devps/DESC-A4: Remove T from font list.
6075 * ps/devps/DESC-letter: Likewise.
6077 * troff/input.c (macro_to_node): Rename to ...
6078 (charinfo_to_node): Don't pass mac argument. Temporarily remove the
6079 character's definition while processing it.
6080 * troff/node.c (node::add_char, make_node): Change calls to
6081 macro_to_node accordingly.
6083 * troff/input.c (token::next): Translate \_ to \(ul.
6085 * tty/devascii/R.proto: Add `|'.
6086 * tty/devlatin1/R.proto: Likewise.
6088 Mon Aug 27 11:25:41 1990 James Clark (jjc at jclark)
6090 * man: Put the version number in all the man pages.
6092 Sun Aug 26 11:40:05 1990 James Clark (jjc at jclark)
6094 * Makefile.bd: New file.
6095 * README.bd: New file.
6097 * VERSION: New file.
6098 * lib/version.c: Removed.
6099 * lib/Makefile: Create version.c from ../VERSION. Remove version.c
6102 * troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
6103 environment variable.
6105 * all Makefiles: Split install target into install.bin for
6106 binaries, and install.nobin for everything else.
6107 * Makefile: Add bindist target.
6109 * man/afmtodit.man: New file.
6110 * man/Makefile: Add afmtodit.n to MAN1PAGES.
6111 * ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
6113 * ps/Makefile: Pass BINDIR to make install in devps.
6115 * ps/ps.c (ps_printer::set_char): Do nothing if the character is
6116 the space character.
6118 * ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.
6120 Sat Aug 25 15:39:03 1990 James Clark (jjc at jclark)
6122 * ps/ps.c: Redo font downloading.
6123 * ps/devps/download: New file.
6124 * ps/devps/Makefile: Add download to DEVICEFILES.
6125 * ps/devps/afmtodit: Remove -d option.
6126 * ps/devps/FontMakefile: Don't use -d option with afmtodit.
6127 * ps/devps/symbosl.ps: Add %%DocumentFonts comment.
6128 * ps/devps/zapfdr.ps: Likewise.
6129 * ps/devps/TSymbol.ps: Likewise.
6131 Fri Aug 24 20:10:30 1990 James Clark (jjc at jclark)
6133 * groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.
6135 Thu Aug 23 10:03:47 1990 James Clark (jjc at yquem)
6137 * ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
6138 then strip the first line if it starts with %.
6139 * Makefile: Add a comment about this.
6141 * man/tfmtodit.man: New file.
6142 * man/Makefile: Add tfmtodit.n to MAN1PAGES.
6143 * dvi/Makefile: Install tfmtodit in BINDIR.
6145 * dvi/tfmtodit.c (usage): Mention -v option.
6147 Wed Aug 22 09:56:36 1990 James Clark (jjc at yquem)
6149 * troff/node.c (troff_output_file::end_of_line): Call do_motion.
6150 * troff/node.c (troff_output_file::transparent_char): Don't call
6153 * eqn: Add check_tabs method to most box classes.
6154 * eqn/box.c (box::top_level): Call check_tabs.
6156 * eqn/script.c (script_box::output): Use \Z.
6157 * eqn/limit.c (limit_box::output): Use \Z.
6159 * eqn/box.c (box::top_level): Use itoa.
6161 Tue Aug 21 09:29:28 1990 James Clark (jjc at yquem)
6163 * dvi/tmac.dvi: Add font translations for CR, C, TT.
6164 * dvi/devdvi/Makefile: Don't make links to CW.
6166 * ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
6168 * xditview/tmac.X: Likewise.
6170 * troff/node.c: Add font translation feature.
6171 (get_font_translation): New function.
6172 (symbol_fontno): Translate the font name.
6173 (mount_font_no_translate): Rename to mount_font to this.
6174 (mount_font): New function.
6175 (font_family::make_definite): Call mount_font_no_translate instead
6177 (mount_style): Translate the font name.
6178 (font_translate): New function.
6179 (init_font_requests): Bind "ftr" to font_translate.
6181 * ps/devps/prologue (SN): New procedure that rounds a position to
6182 the nearest (pixel + (.25,.25)).
6183 (DL): Use SN to round endpoints.
6185 * lib/version.c: Changed version to 0.5.
6187 Sat Aug 18 04:43:21 1990 James Clark (jjc at yquem)
6189 * Makefile: Move definition of PAGE to the very beginning, so that
6190 people are less likely to miss it.
6192 Fri Aug 17 02:15:11 1990 James Clark (jjc at yquem)
6194 * man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.
6196 * troff/env.c (environment::choose_breakpoint): Make `can't find
6197 breakpoint' error a warning of type WARN_BREAK. Change message to
6199 * troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
6201 * troff/input.c: Add WARN_BREAK to warning_table. Include
6202 WARN_BREAK in DEFAULT_WARNING_MASK.
6204 * tty/tmac.tty: Add definition of \(+-.
6206 * groff.sh: Remove `--' option to set command.
6208 * dvi/devdvi/texsy.map: Remove duplicate md entry.
6210 * ps/devps/eqnchar: Better definition of cdot using md.
6211 * dvi/devdvi/eqnchar: Likewise.
6212 * xditview/devX100/eqnchar: Likewise.
6213 * xditview/devX75/eqnchar: Likewise.
6214 * eqn/lex.c: Add definition of cdot.
6216 Thu Aug 16 09:33:57 1990 James Clark (jjc at yquem)
6218 * troff/input.c (get_optional_char): New function.
6219 * troff/input.c (set_page_character): Use get_optional_char(),
6220 rather than has_arg() and tok.get_char(1).
6221 * troff/env.c (tab_character, leader_character, hyphen_char,
6222 field_characters): Likewise.
6223 (margin_character): Likewise. Also always delete the
6224 margin_character_node.
6226 * troff/input.c (token::get_char): Use token::description.
6228 * troff/input.c (has_arg): Don't skip over tab and \}.
6229 * troff/number.c (start_number): Give a warning if the number
6230 starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).
6232 Wed Aug 15 10:04:37 1990 James Clark (jjc at yquem)
6234 * troff/input.c (empty_name_warning, non_empty_name_warning): New
6236 (get_name, get_long_name): Use these. Rename `warn' argument to
6239 * troff/node.c (get_fontno): Test that the symbol is not null.
6241 * troff/input.c (token::description): New function.
6242 * troff/number.c (parse_term): Use token::description in `numeric
6243 expression expected' message.
6244 * troff/groff.h: Add WARN_MISSING.
6245 * troff/number.c (start_number): New function.
6246 * troff/number.c (get_vunits, get_hunits, get_number, get_integer,
6247 get_incr_number): Use start_number().
6248 * troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
6250 * troff/input.c (get_name, get_long_name): Use WARN_MISSING.
6251 * troff/reg.c (alter_format): Use WARN_MISSING. Also use
6253 * troff/input.c (token::get_char): Use WARN_MISSING.
6254 * troff/input.c (token::delimiter): Use token::description.
6255 * troff/env.c (environment_switch): Back out Aug 3 change.
6256 * troff/input.c (has_arg): Skip over \}s and tabs but give a
6258 * troff/token.h (token::tab): New function.
6259 * troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
6260 * troff/reg.c (alter_format): Likewise.
6261 * troff/node.c (bold_font): Use has_arg() rather than tok.skip().
6263 Tue Aug 14 10:11:21 1990 James Clark (jjc at yquem)
6265 * troff (most files): Redo warnings. Divide warnings into various
6266 categories; warning() has an additional first argument indicating
6267 the category it falls into.
6268 * troff/input.c (main): -w now takes an argument. New option -W.
6269 (enable_warning, disable_warning): New functions.
6271 * ps/devps/afmtodit: Add -a option to lie about the italic angle.
6272 * ps/devps/FontMakefile: Pretend TI has an angle of 7.
6274 Mon Aug 13 10:11:16 1990 James Clark (jjc at yquem)
6276 * ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
6277 * xditview/devX100/eqnchar: Likewise. Remove definition of dot.
6278 * xditview/devX75/eqnchar: Likewise.
6279 * dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.
6281 * eqn/other.c: When bar or over applies to a single character
6282 don't produce an overline_box or an underline_box. Instead produce
6283 an accent_box or an underaccent_box, with the accent a line
6284 whose width is accent_width. New classes underaccent_box,
6285 overline_char_box and underline_char_box.
6286 * eqn/box.h: Move overline_box, underline_box, accent_box class
6287 declarations into eqn/other.c. Add declarations of
6288 make_underline_box, make_overline_box, make_accent_box.
6289 * eqn/eqn.y: Call make_overline_box, make_underline_box
6290 make_accent_box instead of constructors.
6291 * eqn/pbox.h, eqn/box.c: Add accent_width parameter.
6293 * eqn/other.c: Add accent_box::~accent_box.
6294 * eqn/box.h: Declare it.
6296 * groff.sh: With -Tps, use eqn -D.
6298 * eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
6300 (underline_box::output): Similarily.
6301 (accent_box::output): Use \Z.
6303 * xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
6306 Sun Aug 12 09:41:15 1990 James Clark (jjc at yquem)
6308 * troff/div.c (top_level_diversion::transparent_output(unsigned
6309 char)): Use asciify.
6310 * troff/input.c (asciify): Don't make it static.
6311 * troff/token.h (asciify): Declare it.
6313 * troff/input.c (get_name, get_long_name, token::get_char,
6314 token::delimiter): Add an extra default argument which says
6315 whether a warning should be printed.
6316 * troff: Pass a non-zero argument to one of these rather than
6317 printing a warning directly.
6319 Sat Aug 11 09:02:21 1990 James Clark (jjc at yquem)
6321 * troff: Consistently use symbol::is_null.
6323 * troff/dictionary.h: Move some inline functions into
6326 * troff/request.h: Move inline functions into input.c.
6327 (request_or_macro::invoke): Make it pure.
6329 * troff/input.c, troff/reg.h: New class `constant_int_reg'.
6330 * troff/input.c (init_input_requests): Use class constant_int_reg.
6331 (class compatible_reg): Deleted.
6332 * troff/div.c (init_div_requests): Use class constant_int_reg.
6333 (class last_post_line_extra_space_reg): Deleted.
6335 * troff/env.c (tab_character): Don't change the tab character if
6336 we get an invalid argument.
6337 (hyphen_char): Similarily.
6339 * troff/reg.c (alter_format): Check that nm is not null.
6341 * Makefile, groff.sh: Make it possible to customize the commands
6342 used for printing PostScript and dvi files. Also make it possible
6343 to customize the path used by groff.sh.
6345 * eqn/eqn.y: Make `left' right associative.
6347 Fri Aug 10 18:20:39 1990 James Clark (jjc at yquem)
6349 * pic/pic.h: Added definition of M_SQRT2 for those systems that
6352 * pic/pic.h: Removed definition of INT_MAX.
6354 * troff/node.c (italic_corrected_node::vertical_extent): Omit
6357 * troff/input.c (token::next): Handle \R like \n.
6359 Tue Aug 7 09:46:33 1990 James Clark (jjc at yquem)
6361 * ps/tmac.pc (PSPIC): Simplify.
6363 * troff/env.c (tab_stops::to_string):
6364 * pic/pic.y (object_type_name):
6365 * pic/troff.c (simple_output::line):
6366 * pic/tex.c (tex_output::spline):
6367 * pic/object.c (object_spec::make_object):
6368 * tbl/main.c (process_data): Add cases to switch statements to
6369 avoid cfront warnings. (Some of these are spurious, since the
6370 switch already has a default case.)
6372 * ps/tmac.ps (PSPIC): Reformatted. Prefix all local names with
6373 `ps-'. Don't test systat; instead check number of arguments to
6376 Mon Aug 6 00:13:07 1990 James Clark (jjc at yquem)
6378 * macros/tmac.e: Do not decrease the page offset by 0.5i.
6380 * ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
6381 Unlink the file as soon as we have opened it, so that we don't
6382 have to bother with signal handlers.
6384 (fatal_error_exit): Deleted.
6385 (main): Don't call signal.
6387 * dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
6389 * dvi/devdvi/Makefile: Use the -k option with S and MI.
6391 * pic/pic.y: If there is a label, or an nth construction before
6392 the first `.' in the argument to `with', ignore it and generate a
6394 * pic/lex.c (lex_warning): New function.
6396 * tbl/table.c (table::init_output): In section keep and release
6397 macro, use 0 indent when diverting and the correct indent when
6400 * troff/input.c (interpolate_number_format): Do not interpolate
6401 anything if the number register is not defined.
6403 * tbl/main.c (process_data): Don't add entry when col >= ncolumns.
6405 Sat Aug 4 08:12:05 1990 James Clark (jjc at yquem)
6407 * ps/devps/prologue (PICTURE): Set components of graphics state to
6408 their default values.
6410 * ps/devps/text.enc: Add trademark
6411 * ps/devps/textmap: Add names for club, spade, heart, diamond,
6412 carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
6413 * ps/devps/symbolchars: Add names for summation and product.
6415 * dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
6416 suchthat. Add pp. Add upper-case letters.
6418 * xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
6419 diamond, carriagereturn, suchthat. Use Upsilon1 rather than
6422 * dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
6423 rA (right angle bracket) to ra. Introduce names for double-headed
6424 arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
6425 * ps/devps/textmap: Likewise for ps device.
6426 * xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
6427 * tty/devascii/R.proto: Rename lA to la and rA to ra.
6428 * tty/devascii/R.proto: Likewise.
6429 * tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
6431 * eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.
6433 * xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.
6435 * eqn/lex.c: Added definitions of `approx', `grad' and `del' to
6438 Fri Aug 3 09:59:27 1990 James Clark (jjc at yquem)
6440 * troff/div.c (when_request): Use symbol::is_null rather than
6441 has_arg to determine whether we have an argument.
6442 (change_trap): Remove the trap if we get an invalid number. Give
6443 an error if we don't get at least the macro name.
6444 (diversion_trap): Remove trap if we get an invalid name or number.
6446 * troff/env.c (environment_switch): Pop if we get an invalid
6447 symbol or numeric expression.
6449 * troff/input.c (do_define_macro): If EOF is encoutered while
6450 defining the macro, do tok.next() before returning.
6452 * troff/token.h (has_arg): Move definition from here, to ...
6453 * troff/input.c (has_arg): ... here
6455 * troff/env.c (space_size): Do nothing if we get an invalid argument.
6456 * troff/input.c (shift): Likewise.
6458 * pic/lex.c (get_token_after_dot): Accept `.center' as a synonym
6461 * pic/troff.c (troff_output::start_picture): Comment out calls to
6464 * eqn/main.c (do_file): Subtract 1 from current_lineno if
6465 interpret_lf_args succeeds.
6467 * eqn/main.c (do_file): Don't recognize delimiter if preceded by
6468 \\. This avoids problems with \$N.
6470 * groff.sh: Pass -C to preprocessors.
6472 * lib/lf.c (interpret_lf_args): Be more flexible.
6474 * tbl/main.c (main): Add -C option.
6475 (table_input::get): Do not recognize TE if followed by character
6476 other than a space or newline unless -C option given.
6477 (process_input_file): Likewise for lf, TS.
6478 (process_data): Likewise for lf in text blocks.
6480 * eqn/main.c (main): Add -C option.
6481 (do_file): Don't recognize EQ, EN or lf if followed by character
6482 other than space or newline unless -C option given.
6483 * eqn/lex.c (file_input::read_line): Similarily.
6484 * eqn/eqn.h: Declare compatible_flag.
6486 * etc/soelim.c (main): Add -C option.
6487 (interpret_lf_args): Use version in libgroff.
6490 * pic/main.c (main): Add -C option, which sets compatible_flag.
6491 (top_input::get), (top_input::peek): If -C option not given,
6492 do not recognize .PS/.PE/.PF/.lf if followed by a character
6493 other than space or newline.
6494 * pic/lex.c (file_input::read_line): Similarily.
6495 * pic/pic.h: Add declaration of compatible_flag.
6497 Thu Aug 2 11:11:27 1990 James Clark (jjc at yquem)
6499 * ps/tmac.ps (PSPIC): Avoid use of `echo -n'.
6501 * troff/node.c, troff/node.h: Add `asciify' methods to classes
6502 derived from node. New class space_char_hmotion_node.
6503 * troff/input.c (asciify_macro): New function.
6504 * troff/input.c (init_input_requests): New request `asciify' bound
6506 * macros/mm.diff: New file.
6507 * Makefile: In install.mm target use `patch' to apply
6510 * troff/input.c (macro::print_size): Just print the size in bytes.
6512 * troff/div.c (return_request): Correct the argument
6515 Wed Aug 1 12:38:36 1990 James Clark (jjc at yquem)
6517 * troff/node.h (class composite_node): Add sz member.
6518 * troff/node.c (composite_node::size): Return sz.
6519 * troff/input.c (macro_to_node): Use the initial size in the
6520 environment as the size of the composite_node.
6522 * troff/node.c (node::zero_width_tprint): Provide a reasonable
6525 Tue Jul 31 10:07:10 1990 James Clark (jjc at yquem)
6527 * troff/div.c (change_trap): If we get a bad number expression,
6530 Mon Jul 30 10:30:49 1990 James Clark (jjc at yquem)
6532 * lib/matherr.c (matherr): Define this only if math.h defines
6535 Sun Jul 29 10:34:27 1990 James Clark (jjc at yquem)
6537 * troff/div.c (macro_diversion::distance_to_next_trap): If there
6538 no diversion trap return vunits(INT_MAX - vresolution).
6540 Sat Jul 28 14:28:14 1990 James Clark (jjc at yquem)
6542 * troff/input.c (do_zero_width): New implementation that doesn't
6543 use a temporary environment. Use instead:
6544 (token::add_to_node_list): New function.
6545 * troff/env.c (environment::get_prev_char_height),
6546 (environment::get_prev_char_height),
6547 (environment::get_prev_char_skew): New functions.
6548 (environment::get_prev_char): New function.
6549 (environment::get_prev_char_width): Change to use get_prev_char.
6550 (init_env_request): Implement new registers .cht, .cdp, .csk.
6551 * eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
6552 \Z being processed in a separate environment.
6554 Fri Jul 27 10:21:25 1990 James Clark (jjc at yquem)
6556 * tbl/table.c: Removed TABLE_BOTTOM_REG.
6558 * tbl/table.c (table::init_output): In the section release macro,
6559 give a warning message if the section won't fit on one page.
6561 * tbl/table.c (table::do_top): Emit table keep only if table is
6563 (table::do_bottom): Likewise for table release.
6564 (table::table), (table::add_vertical_rule): Remove reference to
6566 * tbl/table.h: Remove keep member.
6568 * tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
6569 SECTION_RELEASE_MACRO, if there's not enough space before the next
6570 trap to output the diversion, call T# ourselves, set
6571 SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
6572 SUPPRESS_BOTTOM_REG back to 0. In T#, do nothing if
6573 SUPPRESS_BOTTOM_REG is non-zero. In T#, always mark the current
6574 vertical position and return to it before turning traps on again.
6576 Thu Jul 26 02:54:32 1990 James Clark (jjc at yquem)
6578 * troff/node.c, troff/node.h: In classes derived from node,
6579 replace prev_char_width method by last_char_node method.
6580 * troff/env.c (environment::get_prev_char_width): Use
6581 node::last_char_node rather than node::get_prev_char_width.
6583 * Makefile: Added comment about -fno-inline on 68030-based
6586 * troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
6587 tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
6588 expressions using sizeof to int.
6589 * dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.
6591 * macros/tmac.e (TS): Don't move @f back past the current
6594 Wed Jul 25 09:11:08 1990 James Clark (jjc at yquem)
6596 * ps/ps.c (main): Buffer stderr.
6597 * dvi/dvi.c (main): Likewise.
6598 * tty/tty.c (main): Likewise.
6600 * ps/ps.c (ps_printer::do_import): Improve error handling.
6602 * troff/input.c (abort_request): Use asciify.
6604 * driver/printer.h (printer::draw), driver/printer.c (printer::draw),
6605 ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
6606 type of first argument int rather than char. This works around a
6607 bug on the 68030 based Apollo using g++ 1.37.1.
6609 * tbl/table.h (class table): Add `keep' member.
6610 * tbl/table.c (table::table): Initialize `keep'.
6611 (table::add_vertical_rule): Set `keep' to 1.
6612 (table::do_top): Only emit table keep macro is `keep' is non-zero.
6613 (table::do_bottom): Likewise for table release macro.
6614 (table::do_row): Emit section keep macro even if the row is 0.
6616 Tue Jul 24 08:35:07 1990 James Clark (jjc at yquem)
6618 * macros/tmac.e (@C): Preserve the font family across the change
6621 Mon Jul 23 10:15:23 1990 James Clark (jjc at yquem)
6623 * lib/font.c: Initialize font::hor and font::vert to 1.
6624 (font::load_desc): Check the values of font::hor and font::vert.
6626 * lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
6627 be included in a C compilation.
6628 (iftoa): Use INT_DIGITS. Include lib.h.
6630 (as_string): Likewise.
6631 * tbl/table.c: Removed definition of INT_DIGITS.
6632 * eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
6633 * troff/input.c (input_input_requests): Likewise.
6634 * ps/ps.c (make_encoding_name): Likewise.
6635 (ps_printer::set_style): Likewise.
6636 (ps_output::put_number): Use 1 + INT_DIGITS + 1 instead of 12.
6638 * tty/devascii/R.proto: Map fm onto '.
6639 * tty/devlatin1/R.proto: Likewise.
6641 Sat Jul 21 12:45:07 1990 James Clark (jjc at yquem)
6643 * tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
6644 argument to \w is at a different input level.
6646 * tbl/table.c (table::init_output): Define a new macro
6647 REPEATED_VPT_MACRO, like vpt but if in a diversion also
6648 transparently outputs itself.
6649 (table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
6651 (table::do_row): Likewise.
6653 * tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
6654 TRANSPARENT_STRING_NAME.
6656 * tbl/table.c (table::init_output): In the table release macro
6657 print an error message and don't produce any output if after
6658 issuing the need request the table still will not fit. Also
6659 remove the diversion after bringing it back.
6661 * tbl/table.c (table::init_output): Define a new macro
6662 REPEATED_MARK_MACRO, like mk but if in a diversion also
6663 transparently outputs itself.
6664 (table::do_row): Mark row_top_reg using REPEATED_MARK_MACRO. This
6665 is necessary because .TH might not call .T#.
6666 (table::do_top): Likewise TOP_REG.
6667 (table::define_bottom_macro): If TOP_REG is no longer valid, use
6668 #T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
6669 table header might contain just the two top rules.
6671 Fri Jul 20 10:51:42 1990 James Clark (jjc at yquem)
6673 * troff/div.c: Implement new request `ptr' to print all traps.
6675 * troff/env.c (init_env_requests): Implement `.tabs' reg with
6676 init_string_env_reg.
6677 * troff/env.c (class tab_reg): Deleted.
6679 Thu Jul 19 12:07:16 1990 James Clark (jjc at yquem)
6681 * troff/div.c: New number register .pn returns the number of the
6682 next page as set by the pn request.
6684 * macros/tmac.an: Redid headers and footers. Number each manual
6685 entry starting from 1 unless \nC is > 0, like Sun. Added an
6686 optional 5th argument to .TH which specifies the manual name and
6687 appears in the center of the header. Understand the X, P and D
6690 Wed Jul 18 10:23:31 1990 James Clark (jjc at yquem)
6692 * troff/env.c (init_env_requests): New number register `.lt' to
6693 return the title length.
6695 * troff/node.h (class transparent_dummy_node): New class.
6696 * troff/node.c (class transparent_dummy_node): Provide member
6698 * troff/env.c (interrupt): Add a transparent_dummy_node, rather
6701 * troff/input.c (token::next): New escape sequence \).
6702 * troff/input.c (get_copy): Recognize \) in copy mode.
6704 * troff/input.c (input_stack::clear): New function.
6705 * troff/input.c (exit_request): Use input_stack::clear.
6707 * troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
6708 * troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.
6710 * troff/env.c: Move set_page_character to input.c. Move
6711 page_character to input.c also.
6712 * troff/env.c (title): Split off the reading of the parts of the
6713 title into read_title_parts.
6714 * troff/input.c (read_title_parts): New function. Check the
6715 input_level when testing whether a token matches the delimiter.
6717 * troff/input.c (exit_request): New function.
6718 * troff/input.c (init_input_requests): Bind ex request to
6719 exit_request rather than exit_groff.
6721 * troff/input.c (exit_groff): Call tok.next() before
6722 process_input_stack().
6724 Mon Jul 16 09:47:23 1990 James Clark (jjc at yquem)
6726 * troff/env.c: ifdef widow control support on WIDOW_CONTROL.
6727 * troff/env.h: ditto.
6728 * troff/input.c: ditto.
6730 * troff/env.c (environment::is_empty): Test pending_lines.
6732 * troff/env.c (environment::have_pending_lines): Removed.
6734 * troff/input.c: Add request to flush pending lines from the
6737 * troff/env.c, troff/env.h: Add automatic widow control feature.
6739 * troff/input.c (exit_groff): Do process_input_stack() after
6740 do_break() but before setting exit_flag to 2.
6742 * troff/input.c: Remove FLUSH_PENDING_LINES and
6743 TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
6744 environment after END_TRAP token seen, but only if there aren't
6745 any more traps still unfinished.
6746 * troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.
6748 Sun Jul 15 10:50:08 1990 James Clark (jjc at yquem)
6750 * troff/env.c: Rename the `retain_size' member of class
6751 pending_output_line to `no_fill'.
6753 * troff/env.c (title): When the line is output, make the
6754 retain_size argument !fill.
6756 * troff/node.h: Add `hyphenated' member to struct breakpoint.
6757 * troff/node.c (space_node::get_breakpoints),
6758 (dbreak_node::get_breakpoints): Fill this in.
6759 * troff/env.c: Allow specification of maximum number of
6760 consecutive hyphenated lines.
6762 * troff/env.c (environment::is_empty): Add test for !current_tab.
6764 Sat Jul 14 11:23:01 1990 James Clark (jjc at yquem)
6766 * troff/env.c (environment::hyphenate_line): Don't completely give
6767 up if the word is not to be hyphenated; continue so that breaks
6768 can be made at break_char_node's.
6770 * lib/lib.h: Only define INT_MAX if it's not already defined;
6771 undef INT_MIN if it's already defined.
6773 * Makefile: Make it easy to define CFRONT_ANSI_BUG.
6775 * lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
6776 This works around a bug in AT&T C++ 2.0 used with an ANSI C
6779 * macros/tmac.an (an-header): Set no-space mode.
6781 * macros/tmac.an (TH): Start a new page if necessary.
6783 * Started using ChangeLog at version 0.4.
6786 version-control: never