* src/devices/grotty/grotty.man: Add cp1047 device.
[s-roff.git] / ChangeLog
blobdc99837a7f04b6debfc1a852379d77efde737d4a
1 2000-04-30  Werner LEMBERG  <wl@gnu.org>
3         * src/devices/grotty/grotty.man: Add cp1047 device.
4         * src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc:
5         Ditto.
6         * src/roff/groff/groff.man: Ditto.
7         * src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto.
8         * doc/groff.texinfo: Ditto.
10         * tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space)
11         for cp1047.
13 2000-04-29  Werner LEMBERG  <wl@gnu.org>
15         * man/groff_char.man: Add `pc' glyph.
16         * tmac/tmac.latin1: Replacing `md' glyph with `pc'.
17         * tmac/tmac.tty: Add `pc' glyph.
18         * tmac/tmac.tty-char: Use/add `pc' glyph.  Don't call tmac.latin1 if
19         we use cp1047 output device.
21         * Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since
22         there are still hardcoded latin1->unicode values in utf8's font
23         definition files.
24         * configure: Updated.
25         * NEWS: Minor clarification.  Updated.
27         * PROBLEMS: Formatted.  Added info about C++ fix pack for OS/390
28         Unix.
30 2000-04-28  Werner LEMBERG  <wl@gnu.org>
32         Adding EBCDIC code page 1047.
34         * fonts/devcp1047/R.proto, fonts/devcp1047/Makefile.sub,
35         fonts/devcp1047/DESC.proto: New files.
37         * aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be
38         either ascii/latin1 or cp1047.
39         * Makefile.in: Use it.
40         * configure: Updated.
42         Replacing and/or adding `md' (mathdot) glyph with `pc'
43         (periodcentered) in all text fonts.
45         * fonts/*/*: Change it.
47 2000-04-27  Werner LEMBERG  <wl@gnu.org>
49         * aclocal.m4 (GROFF_OS390): Fixing compiler flags.
51         * configure.in: Add check for strings.h.
52         * src/include/driver.h: Use HAVE_STRINGS_H.
53         * src/devices/grolbp/lpb.cc: Remove string.h.
55         * src/include/groff-getopt.h: New file.  It will be used instead of
56         getopt.h (to be included in lib.h) to avoid endless problems with
57         picky C++ compilers.
58         * src/include/lib.h: Use groff-getopt.h.
59         * src/include/Makefile.sub: Updated.
61         * configure: Updated.
62         * Makefile.in: Updated.
64         * NEWS: Mention EBCDIC support.
66 2000-04-26  Werner LEMBERG  <wl@gnu.org>
68         * TODO: Some additions.
70 2000-04-25  Werner LEMBERG  <wl@gnu.org>
72         * src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation
73         of mso request.
75 2000-04-23  Werner LEMBERG  <wl@gnu.org>
77         * src/roff/troff/troff.man: Minor fixes.
79 2000-04-22  Werner LEMBERG  <wl@gnu.org>
81         * src/roff/troff/troff.man, doc/groff.texinfo, NEWS: Document the
82         `.T' string register and the incompatible definition of the `.T'
83         number register (compared to Unix troff).
85         * man/groff_char.man: Add some missing characters.
86         * font/devutf8/NOTES: Update.
88 2000-04-21  Werner LEMBERG  <wl@gnu.org>
90         * src/include/htmlindicate.h, src/include/lib.h,
91         src/include/posix.h: Fix copyright.
93         * src/include/Makefile.sub: Update.
95 2000-04-20  Werner LEMBERG  <wl@gnu.org>
97         * src/roff/troff/input.cc (input_char_description): Removing
98         superfluous space char.
100         * tmac/tmac.X: Fix typo \(bq -> \(Bq.
102         * doc/groff.texinfo: Document EBCDIC.
104 2000-04-19  Werner LEMBERG  <wl@gnu.org>
106         Introducing `shc' as the glyph name for the soft hyphen character.
108         * tmac/tmac.tty, tmac/tmac.latin1, tmac/tmac.html,
109         font/devlatin1/R.proto: Use it.
111         * NEWS: Updated.
113 2000-04-18  Werner LEMBERG  <wl@gnu.org>
115         * src/devices/grops/ps.cc (ps_printer::flush_sbuf): Removing
116         dependency on ASCII order.
118 2000-04-16  Sandor BARANY  <S.Barany@infosys.tuwien.ac.at>
120         * src/libs/libgroff/illegal.c: Added EBCDIC table.
121         * src/roff/troff/input.cc: Added adaptation to EBCDIC.
123         * src/preproc/refer/refer.cc, src/roff/troff/env.cc: Minor changes
124         to increase portability.
126 2000-04-15  Werner LEMBERG  <wl@gnu.org>
128         * aclocal.m4: Added GROFF_EBCDIC and GROFF_OS390 tests.
129         Redefined AC_OUTPUT_MAKE_DEFS to replace ASCII character `012' with
130         the generic `\n' if under OS/390 Unix.
132         * configure.in: Call GROFF_EBCDIC and GROFF_OS390.
134         * configure: Regenerated.
136 2000-04-14  Werner LEMBERG  <wl@gnu.org>
138         * doc/groff.texinfo: More conversions to @Deffn.
140 2000-04-12  Werner LEMBERG  <wl@gnu.org>
142         * tmac/tmac.psfig: Fix incorrect use of `&' operator by replacing it
143         with `:'.
145         * src/roff/nroff/nroff.man: Add note about tmac.tty-char.
147 2000-04-10  Werner LEMBERG  <wl@gnu.org>
149         * doc/groff.texinfo: More conversions to @Deffn.
151 2000-04-08  Werner LEMBERG  <wl@gnu.org>
153         * src/libs/libgroff/{getopt.c,getopt1.c}, src/include/getopt.h:
154         Updated to latest version (glibc 2.1.3).
156 2000-04-07  Werner LEMBERG  <wl@gnu.org>
158         * doc/Makefile (clean): Include more index files.
159         Add rule texinfo->dvi.
161 2000-04-05  Werner LEMBERG  <wl@gnu.org>
163         * doc/groff.texinfo: Added new index `op' for operators.  More
164         info on end of sentence characters.  More use of @Deffn.
166 2000-03-30  Werner LEMBERG  <wl@gnu.org>
168         * */*.man: Adding a note that a whitespace can be inserted between
169         a command line option and its parameter -- we are using GNU getopt.
171         * src/roff/groff/groff.man: Add example of `-m mandoc'.
173 2000-03-28  Werner LEMBERG  <wl@gnu.org>
175         Correct anachronism of calling the man macro file with `-man'
176         instead of `-m man' etc.
178         * tmac/tmac.man, tmac/tmac.mandoc, tmac/tmac.markup, tmac/tmac.mdoc,
179         tmac/tmac.me, tmac/tmac.ms: New files tmac.m<package> which simply
180         load tmac.<package>.
182         * tmac/Makefile.sub: Updated.  Take care of $(tmac_an_prefix) etc.
184         * NEWS: Updated.
186         * doc/groff.texinfo: Updated.
188         * tmac/groff_man.man: Copyright added.
190 2000-03-27  Werner LEMBERG  <wl@gnu.org>
192         * doc/groff.texinfo: Introducing macros `Deffn' and `Defmac' to
193         typeset the request resp. escape name with a tt font -- due to a
194         bug in texinfo.tex it is necessary to use the `-e' switch with
195         texi2dvi.
197         Improving info about usage of groff units.
199         Other minor fixes.
201 2000-03-20  Werner LEMBERG  <wl@gnu.org>
203         * doc/groff.texinfo: Added section about man macro package
204         (I've basically taken groff_man.man).  Introducing new indices `ma'
205         for macros/strings and `gl' for glyph names.  Other minor fixes.
207         * tmac/groff_man.man: Fixed some typos.
209 2000-03-19  Werner LEMBERG  <wl@gnu.org>
211         * doc/groff.texinfo: Removed all occurrences of `you', `we', etc.
212         Other minor fixes.
214         * doc/texinfo.tex: New file.
216 2000-03-18  Werner LEMBERG  <wl@gnu.org>
218         * doc/groff.texinfo: Improved section on number registers.  Other
219         minor updates.
221 2000-03-16  Werner LEMBERG  <wl@gnu.org>
223         * src/roff/groff/groff.man: Added info about grolbp.  Make nicer
224         synopsis.
226         * src/devices/grolbp/grolbp.man, src/roff/nroff/nroff.man,
227         src/devices/grolj4/grlj4.man, src/devices/grops/grops.man,
228         src/preproc/eqn/eqn.man, src/utils/afmtodit/afmtodit.man,
229         src/utils/tfmtodit/tfmtodit.man: Make nicer synopsis.
231         * src/preproc/grn/grn.man: Better synopsis; added copyright.
233         * src/roff/grog/grog.man: Updated copyright date.
235 2000-03-14  Francisco Andres Verdu  <pandres@dragonet.es>
237         * configure.in: Added test for strdup.
239         * src/devices/grolbp/lbp.cc: Added a strdup() version in case none
240         is available.
242         Replaced dynamic allocation of arrays `[...]' with `new' operator.
244         Other minor fixes.
246 2000-03-12  OKAZAKI Tetsurou  <okazaki@be.to>
248         * Makefile.comm: Add $(INCLUDES) to $(ALL_CFLAGS).
250 2000-03-11  Werner LEMBERG  <wl@gnu.org>
252         * src/preproc/grn/hdb.cc (DBGetType): Added return value to make
253         compilers silent.
254         * src/preproc/grn/hgraph.cc: Add #ifdef for hypot().
255         * src/include/lib.h: Remove some spaces.
257 2000-03-10  Werner LEMBERG  <wl@gnu.org>
259         * src/libs/libgroff/tmpfile.cc (xtmptemplate, xtmpfile): Removing
260         initializers from arguments (some compilers don't like this).
262 2000-03-09  Gaius Mulley  <gaius@glam.ac.uk>
264         * src/libs/libgroff/htmlindicate.cc: Added library file which is now
265         used by pic and eqn to tell grohtml where the graphic regions start
266         and end.
267         * src/libs/libgroff/Makefile.sub: Use it.
268         * src/preproc/eqn/main.cc, src/preproc/pic/troff.cc: Altered to use
269         graphic_start() and graphic_end() from htmlindicate.cc.
271 2000-03-09  Werner LEMBERG  <wl@gnu.org>
273         * tmac/tmac.safer: Will now work correctly in compatibility mode.
274         * tmac/groff_man.man: More fixes.
276 2000-03-08  Werner LEMBERG  <wl@gnu.org>
278         * doc/Makefile: Added texput.log to the `clean' target.
279         * doc/groff.texinfo: Added info about delimiters for escapes.
281 2000-03-08  Bernd Warken  <bwarken@mayn.de>
283         * src/preproc/pic/pic.man: Add info on conversion of pic images to
284         other graphic formats.
286 2000-03-07  OKAZAKI Tetsurou  <okazaki@be.to>
288         * Makefile.in, contrib/mm/Makefile.sub, src/preproc/eqn/Makefile.sub,
289         src/roff/groff/Makefile.sub, src/roff/nroff/Makefile.sub,
290         src/utils/afmtodit/Makefile.sub: Use $(INSTALL_SCRIPT) for script
291         files.
293 2000-03-07  Werner LEMBERG  <wl@gnu.org>
295         * doc/groff.texinfo: Spelling fixes.
297 2000-03-06  Werner LEMBERG  <wl@gnu.org>
299         * tmac/groff_man.man: Completely revised to cover everything in
300         tmac.an.
302         * doc/groff.texinfo, src/roff/troff/troff.man: Document evc request.
303         Other minor fixings.
304         * src/roff/troff/env.cc (environment_copy): Improve error message and
305         fix itoa->i_to_a.
306         * src/roff/troff/TODO: Updated.
308         * doc/Makefile: Bug fixes -- this is still provisional, though...
310         * tmac/eqnrc: Small fixes.
312 2000-03-05  Abramo Bagnara <abramo@alsa-project.org>
314         Adding a request `evc' to copy environments.
316         * src/roff/troff/env.cc (environment::copy, environment_copy):
317         Implement it.
318         * src/roff/troff/env.h: Add prototype.
320 2000-03-05  Francisco Andres Verdu  <pandres@dragonet.es>
322         Adding strsep() -- Solaris 8 doesn't have it.
324         * configure.in: Test it.
325         * src/devices/grolbp/lbp.cc: Add code.
327 2000-03-05  Werner LEMBERG  <wl@gnu.org>
329         * src/roff/troff/div.cc (macro_diversion::output,
330         top_level_diversion::output): Fixing an incompatibility with
331         original troff: \x'0' updates the .a register also.  Thanks to
332         <Andries.Brouwer@cwi.nl> for pointing this out.
333         * doc/groff.texinfo: Document it.
335         * Makefile.in: Create Makefile.dep if necessary before calling the
336         submake process to avoid warning about nonexistent file.
338         * NEWS, PROJECTS: Updated.
340 2000-03-04  Werner LEMBERG  <wl@gnu.org>
342         * tmac/troffrc: Add tmac.lbp.
344 2000-03-03  Francisco Andres Verdu  <pandres@dragonet.es>
346         * tmac/tmac.lbp: New file.
347         * src/devices/grolbp/grolbp.man: Add documentation of `lbpname'
348         command.
350 2000-03-03  Werner LEMBERG  <wl@gnu.org>
352         * Makefile.in: Fixing $(subdir).
354         * README, NEWS: Small fixes.
356         * test-groff: Adding path to grolbp.
358         * configure.in: The (new) file src/xditview/Imakefile.in will be
359         also configured -- it is now possible to build gxditview in a
360         directory different from $srcdir.
362 2000-03-02  Blake McBride  <blake@florida-software.com>
364         * src/libs/libgroff/searchpath.cc (open_file): Adapting to WinNT.
366         * MORE.STUFF: Added website of bell labs and info about plot2dev.
368 2000-03-01  Colin Phipps  <crp22@cam.ac.uk>
370         * src/utils/indxbib/indxbib.cc (main): Use mkstemp() for temporary
371         files.
373 2000-02-29  Werner LEMBERG  <wl@gnu.org>
375         Adding GNU getopt to the groff distribution.
377         * src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
378         New files.
379         * src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
380         * aclocal.a4: Remove GROFF_GETOPT function.
381         * configure.in, Makefile.in, PROBLEMS: Update.
382         * src/include/lib.h: Replace getopt tests with getopt.h.
383         * src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.
385         * doc/groff.texinfo: Further checking/updating.  Adding more index
386         entries.
388         * man/groff_out.man: Fix nroff mode activation (for emacs).
389         * man/groff_font.man: Add missing ligature.
391 2000-02-28  Werner LEMBERG  <wl@gnu.org>
393         * doc/groff.texinfo: Further checking/updating.  Adding more index
394         entries.
396         * src/devices/grolbp/grolbp.man: Added a comment line at the
397         beginning of the file (similar to shell scripts) which indicates
398         that `tbl' should be used as a preprocessor.
400 2000-02-27  Blake McBride  <blake@florida-software.com>
402         Adapting groff to MS Visual C++ 6.0 compiler (tested with
403         Windows NT 4.0).  Uses _MSC_VER define where necessary.
405         * src/devices/grodvi/dvi.cc: Making stdout a binary stream.
406         * src/devices/grolj4/lj4.cc: Making getopt variables `extern "C"'.
407         * src/devices/grohtml/html.cc, src/devices/grops/ps.cc,
408         src/include/lib.h, src/libs/libgroff/errarg.cc,
409         src/libs/libgroff/itoa.c, src/libs/libgroff/nametoindex.cc,
410         src/preproc/refer/label.y, src/preproc/refer/label.cc,
411         src/roff/groff/pipeline.c, src/roff/troff/column.cc,
412         src/roff/troff/div.cc, src/roff/troff/env.cc,
413         src/roff/troff/input.cc, src/roff/troff/node.cc,
414         src/roff/troff/reg.cc: Renaming itoa() to i_to_a() and iftoa() to
415         if_to_a() to avoid name clashes.
416         * src/include/posix.h: Don't use unistd.h.
417         * src/libs/libgroff/tmpfile.cc: Use `#ifndef...#else...#endif'
418         clause for integrating non-Unix xtmpfile() code.
419         * src/roff/troff/input.cc: Adding `public' keyword to macro_header
420         structure; use "rt" for popen() in pipe_source(); add getpid()
421         dummy function.
422         * src/roff/troff/node.cc: Use special versions of popen() in
423         real_output_file() and pclose() in ~real_output_file().
425 2000-02-27  Werner LEMBERG  <wl@gnu.org>
427         Adding a new driver, grolbp, for Canon CAPSL printers (LBP-4 and
428         LBP-8 series laser printers).  This code has been contributed by
429         Francisco Andres Verdu <pandres@dragonet.es>.
431         * src/devices/grolbp/*: The grolbp output device.
432         * font/devlpb/*: The font description files.
433         * Makefile.in: Add grolpb and devlbp subdirectories.
435         * src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
436         src/devices/grotty/grotty.man,src/roff/troff/troff.man: Minor
437         typographic fixes.
439         * doc/groff.texinfo: Further checking/updating.  Adding more index
440         entries.
442         * NEWS: Updated.
444         * src/devices/grolbp/Makefile.sub: Adding $(srcdir).
446         * man/groff_font.man: Adding info about obsolete DESC keywords.
447         * src/devices/grolj4/grolj4.man: Documenting additional DESC
448         keywords.
450 2000-02-26  Werner LEMBERG  <wl@gnu.org>
452         * src/preproc/grn/grn.man: Added info about the gremlin file format
453         (contributed by Daniel Senderowicz <daniel@synchrods.com>).
455 2000-02-25  Werner LEMBERG  <wl@gnu.org>
457         * src/preproc/grn/main.cc: Allow values of `narrow' parameter and
458         friends to be non-integer.
460         * src/preproc/grn/grn.man: Document it.
462         * doc/groff.texinfo: Further checking/updating.  Adding more index
463         entries.
465 2000-02-24  Werner LEMBERG  <wl@gnu.org>
467         * src/preproc/grn/main.cc: Introduce BASE_THICKNESS, defining
468         line thicknesses to be integer multiples of this value.
470         * src/preproc/grn/grn.man: Commenting out the -s option -- the
471         corresponding code doesn't work (yet).
473         * doc/groff.texinfo: Further checking/updating.  Adding more index
474         entries.
476 2000-02-23  Werner LEMBERG  <wl@gnu.org>
478         * src/preproc/grn/{main.cc, hgraph.cc}: Using point units to
479         specify line thickness instead of base units.  The new default
480         values are now 0.15,pt 0.45pt, and 0.75pt for thin, middle, and
481         thick lines respectively.
483         Removed unused variable `prevval'.
485         * src/preproc/grn/grn.man: Updated.
487 2000-02-22  Werner LEMBERG  <wl@gnu.org>
489         * src/preproc/grn/main.cc: Slight formatting.
491         * src/roff/groff/groff.man: Formatting fix.
492         * src/preproc/grn/grn.man: Ditto.
494         * src/roff/grog/grog.pl: Fixing two embarassing bugs.
496         * doc/groff.texinfo: Further checking/updating.
498 2000-02-21  Werner LEMBERG  <wl@gnu.org>
500         * README, INSTALL, PROJECT, PROBLEMS, BUGREPORT: Updated.
502         * test-groff: Added grn subdir to path.
504         * doc/groff.texinfo: Some restructing and other small improvements.
506         * src/roff/groff/groff.cc (help): Fixed info string.
508 2000-02-20  Werner LEMBERG  <wl@gnu.org>
510         * doc/meref.me: Fix description of .GS request.
512         * src/roff/troff/troff.man: Fixing typo.
514         Adding the `grn' preprocessor for gremlin graphic files.
516         * src/preproc/grn/*: This is the Berkeley distribution written by
517         David Slattengren and Barry Roitblat, adapted to groff by Daniel
518         Senderowicz and Werner Lemberg.
520         * doc/grnexampl.{me,g}: A sample for grn.
522         * Makefile.in: Added subdirectory entry for grn.
524         * src/roff/groff/groff.cc: Added support for grn.  It can be now
525         called with the switch `-g'.
527         * src/roff/groff/groff.man: Updated.
529         * src/roff/grog/grog.{man,pl,sh}: Updated.
531         * NEWS: Updated.
533 2000-02-11  Gaius Mulley  <gaius@glam.ac.uk>
535         * src/include/lib.h: Added xtmptemplate and made xtmpfile
536         parametrically polymorphic.
538         * src/libs/libgroff/tmpfile.cc: Implemented xtmptemplate
539         and the alterations to xtmpfile.
540         xtmpfile can be requested to return the filename created
541         and asked not to unlink the temp file.  The default behaviour
542         if parameters are absent is exactly the same as before.
544 2000-02-11  Abramo Bagnara  <abramo@alsa-project.org>
546         A new request `length' is available which returns the length of a
547         string in a number register:
549         * src/roff/troff/input.cc (length_macro): Implement it.
550         * src/roff/troff/input.cc (init_input_requests): Register it.
552 2000-02-11  Werner LEMBERG  <wl@gnu.org>
554         * doc/groff.texinfo, src/roff/troff/troff.man: Add documentation
555         of the `substring' request.
557         * src/roff/troff/troff.man, doc/groff.texinfo: Document `length'
558         request.
560         * src/roff/troff/TODO, NEWS: Updated.
562 2000-02-09  Werner LEMBERG  <wl@gnu.org>
564         * src/roff/groff/groff.man: Added an example.
566 2000-02-06  Werner LEMBERG  <wl@gnu.org>
568         I've considerably modified the directory structure of the
569         distribution to get a more vertical layout.  For example, the number
570         of top level directories has been reduced from 42 to 6.
572         As a consequence, many changes, especially to the makefiles, were
573         necessary:
575         * The makefile variables `top_builddir' and `top_srcdir' have been
576         introduced.  Virtually all relative paths have been replaced with
577         absolute ones using these two variables.
579         * Dependencies (in the files `Makefile.dep') are no longer part of
580         the distribution.  Instead, they are created during a `make install'
581         in the build directory.
583         * aclocal.m4 (GROFF_SRCDIR, GROFF_BUILDDIR): Two new functions to
584         make `top_srcdir' and `top_builddir' absolute.
586         Some other changes:
588         * Man pages no depend on the files `VERSION' and `REVISION'.
590         * The added shell script `mkinstalldirs' will replace `mkdir' in
591         almost all cases.
593         * VERSION: Version number increased to 1.16.
595 2000-02-04  Werner LEMBERG  <wl@gnu.org>
597         * grops/psrm.cc (read_one_of): Fixed pointer incrementation.
599         * Makefile.in: Removed $(tmac_m) since it is no longer needed
600         (after an update of the mm stuff).
602         * troff/Makefile.sub (majorminor.cc): Fix dependencies.
604 2000-02-03  Werner LEMBERG  <wl@gnu.org>
606         The .psbb request will now also accept Mac PS images (i.e. using LF
607         as the EOL character).
609         * troff/input.cc (ps_get_line): New function, taken from psrm.cc
610         (with slight modifications).
611         * troff/input.cc (do_ps_file): Use it.
613         * test-groff: Add grohtml and grolj4 output devices to PATH.
615 2000-01-30  Werner LEMBERG  <wl@gnu.org>
617         * NEWS, MORE.STUFF: Updated.
619 2000-01-30  Cary D. Renzema  <caryr@dollar.mxim.com>
621         Add the `srand' command to pic.
623         * pic/lex.cc, pic/pic.y: Implement it.
624         * pic/pic.man: Document it.
625         * pic/pic.cc, pic/pic.tab.h: Regenerated (with yacc).
627 2000-01-30  Werner LEMBERG  <wl@gnu.org>
629         Add a new request `.psbb'.  This does exactly what the external
630         program psbb did.  It scans a PostScript image file for a
631         %%BoundingBox comment and extracts the bounding box values (in
632         PostScript units) which are then stored in the four new (read-only)
633         number registers `llx', `lly', `urx', and `ury'.
635         This will allow the usage of the .PSPIC macro without worrying
636         about unsafe behaviour of groff, i.e., it will work without the
637         `-U' switch of groff.
639         * troff/input.cc: Implement it.
640         * tmac/tmac.pspic: Use it.
641         * troff/troff.man, grops/grops.man, NEWS: Document it.
642         * psbb/*, Makefile.in: Remove it since it is no longer needed.
644         This is bloody C code simply adapted from psbb.c!  Any improvements
645         welcome.
647 2000-01-29  Werner LEMBERG  <wl@gnu.org>
649         * man/groff_font.man: Minor clarifications.
651         * NEWS: Updated.
653 2000-01-28  Werner LEMBERG  <wl@gnu.org>
655         * afmtodit/afmtodit.pl: Use new `--' comment delimiter.
657 2000-01-28  Gaius Mulley  <gaius@glam.ac.uk>
659         * man/groff_font.man: Brought up to date regarding tcommand
660         extensions.
661         * libgroff/font.cc: Handle everything after `--' as a comment
662         in the font files.
663         * devps/*: Added comment delimiter inside devps font files.
665 2000-01-28  Werner LEMBERG  <wl@gnu.org>
667         * tmac/tmac.arkup, tmac/groff_markup.man: Replace \fC...\fR with
668         \fC...\fP (which now works as expected).
670         * troff/troff.man: Fix typo.
672 2000-01-27  Gaius Mulley  <gaius@glam.ac.uk>
674         Completed the pass_filenames implementation in troff.
676         * libdriver/input.cc: Will read the new `F' tcommand.
677         * troff/node.cc, troff/node.h: Will issue the new `F' tcommand.
678         * troff/input.cc: Use it.
680 2000-01-26  Werner LEMBERG  <wl@gnu.org>
682         * troff/env.cc (set_font): Fix the behaviour of \fP.  The previous
683         font will now be updated even if an invalid font is selected.
685 2000-01-24  Werner LEMBERG  <wl@gnu.org>
687         * doc/homepage.ms: Updated for new tmac.arkup.
689         * tmac/tmac.html: Disable line breaks after hyphen-like characters.
691         * tmac/tmac.arkup: Cleanup.
693         Added `\&' to .HTML macro to `leave vertical mode', so to say.
695         Removed obsolete .LINK macro completely.
697         The macros .URL, .FTP, and .MAILTO now accept a third argument which
698         will be immediately appended to the second argument (to be used with
699         punctuation, for example).
701         Disabled .CDFTP macro temporarily for security reasons.
703         * tmac/groff_markup.man: Complete revision for latest changes in
704         tmac.arkup -- note that it does not yet format correctly with
705         grohtml :-(
707 2000-01-23  Bruno Haible  <haible@clisp.cons.org>
709         * nroff/nroff.sh: Accept -Tutf8 option and pass it through.
710         * devutf8/R.proto: Add mappings for wp, lh, rh.
711         * devutf8/NOTES: Updated.
713 2000-01-23  Werner LEMBERG  <wl@gnu.org>
715         * doc/groff.texinfo: Updated version/copyright info.
717 2000-01-21  Gaius Mulley  <gaius@glam.ac.uk>
719         Added support for two new directives in device descriptions:
720         `pass_filenames' (to pass the input file name to the output device)
721         and `use_charnames_in_special' (to support e.g. accented characters
722         in the `X' request).
724         * include/font.h, troff/charinfo.h: Declare it.
726         * libgroff/font.cc, libgroff/fontfile.cc: Set it.
728         * devhtml/DESC: Use it.
730         * troff/input.cc: New function encoded_char.
732         * troff/token.h: Add test for `specialness'.
734 2000-01-21  Werner LEMBERG  <wl@gnu.org>
736         * tmac/Makefile.sub: tmac.a4 and tmac.trace have been removed by
737         mistake from the list of files to be installed.
739 2000-01-18  Werner LEMBERG  <wl@gnu.org>
741         * README: Added info how to apply patches.
743 2000-01-15  Jan Echternach  <echter@informatik.uni-rostock.de>
745         * troff/node.cc (ligature_note::operator delete):  Fix g++ warning.
747 2000-01-15  Gaius Mulley  <gaius@glam.ac.uk>
749         * troff/input.cc: Add support for troffrc-end.
751         * tbl/main.cc: Altered to issue table-start and table-end special
752         characters if using the html device.
754         * devhtml/*: Modified font files to incorporate html encoding of
755         characters.
757         * tmac/groff_markup.man: New file documenting tmac.arkup.
759         * tmac/troffrc-end: New file.  This is invoked after all user
760         specified macros.  Currently used by the html device to include
761         tmac.html.  Thus no need for users to specify -mhtml anymore.
763         * tmac/Makefile.sub (NORMALFILES): Add troffrc-end.
764         (MAN7): Add groff_markup.man.
766         * tmac/tmac.an, tmac/tmac.html: Small html updates.
768         * tmac/troffrc: tmac.arkup will now be called for the html device.
770         * libgroff/font.cc, libgroff/font.h: Altered to include reading of
771         extra device specific information about fonts.
773         * doc/homepage.ms: New file.  It is an example how an HTML home page
774         could look like with grohtml.
776         * doc/Makefile: Add homepage.ms.  Remove rule for pic.html.
778 2000-01-12  Bruno Haible  <haible@clisp.cons.org>
780         * devutf8/R.proto: Add mappings for ti, Fn, st, an.  Change mappings
781         of Im, Re.
783         * devutf8/NOTES: Updated.
785 2000-01-08  Bruno Haible  <haible@clisp.cons.org>
787         * eqn/box.cc, eqn/lex.cc, eqn/other.cc, eqn/over.cc, eqn/special.cc,
788         eqn/text.cc, grodvi/dvi.cc, grops/ps.cc, grops/psrm.cc,
789         libbib/index.cc, libbib/linear.cc, libbib/search.cc,
790         libdriver/printer.cc, libgroff/font.cc, libgroff/string.cc,
791         pic/lex.cc, pic/object.cc, refer/label.y, refer/ref.cc, tbl/main.cc,
792         tbl/table.cc, tfmtodit/tfmtodit.cc, troff/dictionary.cc,
793         troff/div.cc, troff/env.cc, troff/input.cc, troff/node.cc,
794         troff/node.h, troff/reg.cc: Avoid most "g++ -Wall -Wno-sign-compare"
795         warnings.
797         * troff/node.cc (bracket_node::copy): Initialize last to NULL.
799 2000-01-12  Fabrizio Polacco  <fab@prosa.it>
801         grolj4: Paper size will be searched case-insensitively.
803         * include/lib.h: Add check for strcasecmp().
804         * grolj4/li4.cc (lookup_paper_size): Use strcasecmp().
805         * configure.in: Check for strcasecmp().
807 2000-01-11  Werner LEMBERG  <wl@gnu.org>
809         * troff/Makefile.sub (majorminor.cc): Fix incorrect path to
810         `REVISION'.
812 2000-01-10  Werner LEMBERG  <wl@gnu.org>
814         * Makefile.comm, Makefile.in, doc/Makefile: More fixes for the
815         revision scheme.
817         Add a new read-only register, `.Y', which contains the groff
818         revision.
820         * troff/input.cc (init_input_requests): Define it.
821         * troff/Makefile.sub (majorminor.cc): Define `revision' string.
822         * doc/groff.texinfo, troff/troff.man: Document it.
824         * libgroff/Makefile.sub (version.cc): Add definition of
825         `Version_string[]', consisting of `<major>.<minor>.<revision>'
826         * eqn/main.cc, grodvi/dvi.cc, grolj4/lj4.cc, grops/ps.cc,
827         grotty/tty.cc, hpftodit/hpftodit.cc, indxbib/indxbib.cc, pic/main.cc,
828         refer/refer.cc, soelim/soelim.cc, tbl/main.cc, tfmtodit/tfmtodit.cc,
829         troff/input.cc, pfbtops/pfbtops.c: Use it.
831 2000-01-10  Fabrizio Polacco  <fab@prosa.it>
833         Add a revision scheme to the groff package.
835         * REVISION: New file.
836         * libgroff/Makefile.sub (version.cc): Use it to define
837         `revision_string[]'.
838         * grops/psrm.cc: Use revision_string (converted to an unsigned
839         integer) in constructor of resource_manager.
841 2000-01-10  Bruno Haible  <haible@clisp.cons.org>
843         * devutf8/Makefile.sub, devutf8/DESC.proto, devutf8/R.proto: New
844         files.
845         * Makefile.in (DEVDIRS): Add devutf8.
846         * grotty/tty.cc: Include device.h.
847         (glyph): Change type of `code' to `unsigned int'.
848         (tty_printer): New field is_utf8.  Constructor takes device argument.
849         (tty_printer::tty_printer): If device if `utf8', set is_utf8.
850         (tty_printer::add_char): Change type of first arg to `unsigned int'.
851         (tty_printer::put_char): New function.
852         (tty_printer::end_page): Use put_char() instead of ::putchar().
853         (make_printer): Pass device to tty_printer constructor.
854         * nroff.sh: Determine default device by calling 'locale'.  As a
855         fallback, look at all of $LC_ALL, $LC_CTYPE, $LANG, $LESSCHARSET.
856         Recognize UTF-8 locales.
857         * tmac/eqnrc: Recognize utf8 like latin1.
858         * tmac/troffrc: Device utf8 needs tmac.tty.
860 2000-01-07  Werner LEMBERG  <wl@gnu.org>
862         * tmac/Makefile.sub: tmac.a4 and tmac.trace will now be installed.
864 2000-01-07  Paul Eggert  <eggert@twinsun.com>
866         Add a new predefined writeable number register, `year',
867         which contains the current year.
869         * doc/groff.texinfo, PROBLEMS, troff/troff.man: Document it.
870         * tmac/tmac.s: Use it.
871         * troff/input.cc (init_registers): Initialize it.
873 2000-01-06  Werner LEMBERG  <wl@gnu.org>
875         * PROBLEMS: Fixed typo.
877 2000-01-04  Paul Eggert  <eggert@twinsun.com>
879         * PROBLEMS: Add Y2k advice for the yr number register.
881 2000-01-03  Paul Eggert  <eggert@twinsun.com>
883         * doc/groff.texinfo: Fix Y2k bug in documentation of \n(yr.
885 2000-01-02  Werner LEMBERG  <wl@gnu.org>
887         * tmac/tmac.arkup: Slight modification of macros to provide better
888         appearance for non-HTML formats.
890 2000-01-01  Charles Levert  <charles@comm.polymtl.ca>
892         * soelim/soelim.cc (include_path_append): realloc(NULL, n)
893         does not automatically translate to malloc(n) on all OSes
894         (e.g., SunOS) so do it explicitly.  Also, check the returned
895         value.
897 2000-01-01  Werner LEMBERG  <wl@gnu.org>
899         * tmac/tmac.arkup: Added .LINE macro.  Some formatting.
901         * Makefile.in: Added $(tmac_m) again since the Makefile in `mm'
902         expects this variable
904 2000-01-01  Gaius Mulley <gaius@glam.ac.uk>
906         * doc/Makefile: Added instructions to create HTML and text
907         versions of some files.
909 1999-12-31  Werner LEMBERG  <wl@gnu.org>
911         * Updated INSTALL.gen.
913         * tmac/tmac.arkup: Added fixes so that .FTP and .MAILTO works
914         better resp. correctly with non-HTML devices.
916 Version 1.15 released
917 =====================
919 1999-12-28  Werner LEMBERG  <wl@gnu.org>
921         * NEWS, VERSION: Changed to 1.15
923 1999-12-27  Paul Eggert  <eggert@twinsun.com>
925         * nroff/nroff.man: -S is safer, not safe.
927         * groff/groff.cc (main): Use `safer', not `safe', in variable
928         names.  This does not change the behavior.
930         * troff/input.cc (main): Likewise.
932         * nroff/nroff.sh: Likewise.
934         * troff/input.cc (prepend_string): New function.
935         (main): Prepend -msafer, so that we check macro libraries for
936         safety.
938         * PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.
940 Version 1.14 released
941 =====================
943 1999-12-26  Werner LEMBERG  <wl@gnu.org>
945         * NEWS, VERSION: Changed to 1.14.
947 1999-12-24  Werner LEMBERG  <wl@gnu.org>
949         * refer/refer.cc: Fixing the last fix.
951 Version 1.13 released
952 =====================
954 1999-12-23  Werner LEMBERG  <wl@gnu.org>
956         * tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
957         number disappear.
959         * NEWS: Updated.
961         * tmac/tmac.safer: Forgot to remove `so' from the `rm' request.
963         * VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
964         document conventions, the version number must be a real.
966 Version 1.12.1 released
967 =======================
969 1999-12-22  Werner LEMBERG  <wl@gnu.org>
971         * VERSION: Changed to 1.12.1.
973 1999-12-22  Alan Rooks  <arooks@istar.ca>
975         * refer/refer.cc (do_file): Slight modification to satisfy the
976         `Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
977         UnixWare 7.1.
979 1999-12-20  Werner LEMBERG  <wl@gnu.org>
981         * changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
982         notices.
984         * tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
985         list of unsafe requests.
987         * pic/pic.man: Fixed a typo.
989         * man/groff_out.man: Fixed a typo.
991 1999-12-18  Werner LEMBERG  <wl@gnu.org>
993         * Makefile.in: Doc fixes.
995 1999-12-17  Fabrizio Polacco  <fab@prosa.it>
997         * groff/groff.cc: Missing `U' option added to getopt().
999         * troff/troff.man: Missing `U' option added to synopsis.
1001 Version 1.12 released
1002 =====================
1004 1999-12-14  Werner LEMBERG  <wl@gnu.org>
1006         * troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
1007         to the synopsis.
1009         * nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
1010         with the more appropriate terms `safer' and `unsafe'.
1012         * libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
1013         sys_nerr and sys_errlist[].
1015         * pic/pic.h, aclocal.m4, configure.in: Added check for hypot().
1017         * pic/pic.y, pic/pic.cc: Added check for fmod().
1019 1999-12-13  Werner LEMBERG  <wl@gnu.org>
1021         * VERSION: Changed to 1.12.
1023         Here some patches from various sources; most of them taken from
1024         the Debian distribution.
1026         * tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
1027         tmac/Makefile.sub: New files copied directly from the NetBSD
1028         distribution.  Probably, some additional adaptation later on is
1029         necessary...
1031         * tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
1032         of unsafe requests.
1034         * groff/groff.cc, groff/groff.man, nroff/nroff.sh,
1035         nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
1036         troff/troff.man: Added option `-U' for unsafe mode.  Safe mode
1037         (`-S') is now the default.
1039         * README, NEWS: Updated.
1041 1999-12-09  Werner LEMBERG  <wl@gnu.org>
1043         * doc/groff.texinfo: Regenerated nodes and menus with emacs.
1045         * doc/Makefile (clean): Added cleaning commands for groff.texinfo.
1047 1999-12-06  Werner LEMBERG  <wl@gnu.org>
1049         * configure.in: Removed AC_PREFIX_PROGRAM since it causes more
1050         grief than relief today.  Additionally, it is against the GNU
1051         coding standards.
1053         * configure: Recreated.
1055 1999-12-05  Werner LEMBERG  <wl@gnu.org>
1057         * configure.in: Added GROFF_LIBM.
1059         * configure: Recreated.
1061         * aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
1062         necessary.
1064         * Makefile.in: Added definition of $(LIBM).
1066         * Makefile.comm (LIBM): Removed.
1068         * pfbtops/Makefile.sub: On AIX, -lm is needed also.
1070 1999-12-03  Gaius Mulley <gaius@glam.ac.uk>
1072         * doc/Makefile: Added rule for generation pic.html.
1074         (clean): Files produced by grohtml will be removed also.
1076         * doc/pic.ms: Small fix.
1078         * tmac/tmac.html: Fixed suppression of headers.
1080 1999-11-16  Gaius Mulley <gaius@glam.ac.uk>
1082         * tmac/tmac.html: Fixing horizontal arrows.
1084         Turning off hyphenation.
1086         * tmac/tmac.an: Improved support for grohtml; better indentation,
1087         no footers/headers.
1089 1999-10-31  Gaius Mulley <gaius@glam.ac.uk>
1091         * tmac/tmac.arkup: Added CDFTP macro
1093         * tmac/tmac.html: All headers are turned off for ms, me, and mm
1094         macros.
1096         * tmac/troffrc: Some additions for HTML stuff.
1098 1999-10-06  Gaius Mulley <gaius@glam.ac.uk>
1100         * tmac/tmac.html: Small changes.
1102 1999-09-26  Werner LEMBERG  <wl@gnu.org>
1104         * doc/groff.texinfo: Minor fixes.
1106 1999-09-26  Gaius Mulley <gaius@glam.ac.uk>
1108         * devhtml/TR: Changed spacewidth to 3.
1110         * tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.
1112         * tmac/tmac.html: Moved markup macros to tmap.arkup.
1114         * tmac/tmac.arkup: New file.
1116         * grohtml/ChangeLog: New file.
1118 1999-09-16  Werner LEMBERG  <wl@gnu.org>
1120         * doc/groff.texinfo (Common Features): Added Copying chapter.
1121         Changed format to @smallbook.
1123 1999-09-15  Werner LEMBERG  <wl@gnu.org>
1125         * NEWS: Added info about groff.texinfo.
1127         * doc/groff.texinfo: Will now compile (using texi2dvi) without
1128         warning messages.
1130 1999-09-14  Werner LEMBERG  <wl@gnu.org>
1132         * groff/groff.man: More updates.
1134 1999-09-13  Werner LEMBERG  <wl@gnu.org>
1136         * doc/groff.texinfo: New file.  This manual is still very
1137         rudimentary.  It has been originally contributed by Trent
1138         A. Fisher <trent@gnurd.portland.or.us> with first corrections and
1139         additions by me.
1141         * INSTALL: Added information about the `doc' subdir
1143         * troff/troff.man: Minor fixes.
1145         * groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
1146         reordered options.
1148         * troff/input.cc (usage): Added missing `-ffam' to usage message.
1150         * Makefile.in (dist): groff-$(version).tar.gz must be removed
1151         also, otherwise it is included itself in another call of `make
1152         dist'.
1154         * groff/groff.cc (synopsis): Removed superfluous space.
1156         * PROJECTS, PROBLEMS, NEWS: Updated.
1158         * xditview/Makefile: Removed.
1160         * VERSION: Updated to 1.12beta.
1162         * BUG-REPORT: Some cosmetic fixes.  Corrected email address.
1164         * README: Updated: Included documentation about CVS repository,
1165         mailing lists, and daily snapshots.
1167         * tmac/Makefile.sub: Fixed $(tmap_wrap) finally.
1169 1999-09-12  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
1171         * tmac/tmac.an: If the tag didn't fit into the space that the
1172         macro `TP' specifies, the rest of the tag went into the space for
1173         the next line.
1175 1999-09-12  Jeffrey Copeland  <jeff@opennt.com> 
1177         * grolj4/lj4.cc: Added duplex printing (option `-d').
1179         * grolj4/grolj4.man: Document duplex printing.
1181 1999-09-12  Werner LEMBERG  <wl@gnu.org>
1183         * doc/Makefile (pic.ps): Fixed rule which caused problems with
1184         non-GNUish sed programs.
1186         * tmac/doc-syms: Removed extra space from -iso8802-3 macro
1187         definition.
1189         * configure.in (LIBS): Added `-lc'
1191         * Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.
1193         * pic/tex.cc (solid_arc): Casting M_PI to double.
1195         * libgroff/putenv.c (putenv): Changed function header to ANSI C.
1197         * groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
1198         (new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
1199         file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.
1201         * groff/groff_man.man: New file.  This manual page was originally
1202         written for the Debian GNU/Linux system by Susan G. Kleinmann
1203         <sgk@debian.org>.
1205         * eqn/list.cc (list_box::compute_metrics,
1206         list_box::compute_sublist_width): Removed variable declaration to
1207         avoid shadowing warnings.
1209         * grops/psrm.cc (resource_manager::process_file): Ditto.
1211         * tfmtodit/tfmtodit.cc (main): Ditto.
1213         * libgroff/font.cc (font::load_desc): Renamed auxiliary variable
1214         to avoid shadowing warnings.
1216         * tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
1217         shadowing loop variable.
1219         * groff/groff.man, troff/troff.man: Added doc about grohtml.
1221 1999-09-12  Gaius Mulley  <gaius@glam.ac.uk>
1223         New grohtml frontend to convert groff input to html.
1225         * Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.
1227         * tmac/Makefile.sub (NORMALFILES): Added tmac.html.
1229         * tmac/eqnrc: Added html device.
1231         * tmac/tmac.html: New file.
1233         * eqn/main.cc (do_file, inline_equation), pic/troff.cc
1234         (troff_output::start_picture, troff_output::finish_picture),
1235         tbl/main.cc (process_input_file):
1236         Surrounded output with `graphics_start' and `graphics_end' so that
1237         the html driver can identify non-text portions.
1239         * grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
1240         (lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
1241         grotty/tty.ps (tty_printer::set_char): Additional parameter
1242         `name'.
1244         * include/printer.h: Class printer: New function
1245         set_char_and_width; new variables (is_char_named, is_named_set,
1246         named_command, named_char_s, named_char_n) to hold information
1247         about named characters -- needed by the html driver.
1249         * libdriver/printer.cc (printer::set_ascii_char,
1250         printer::set_special_char): Use set_char_and_width.
1252         * devhtml/*: New device files for html driver.
1254         * grohtml/*: New driver grohtml.
1256 1999-09-11  Wilfredo Sanchez  <wsanchez@apple.com>
1258         * tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
1259         default strings.
1261 1999-09-11  Luke Mewburn  <lukem@netbsd.org>
1263         * libgroff/string.cc (search): Small fix to test against NULL
1264         pointer.
1266 1999-09-11  Jeff Conrad  <jeff_conrad@msn.com>
1268         * troff/node.cc (copy): The characters in a bracket escape (e.g.,
1269         \b'abc') were stacked in reverse order when processed in a
1270         diversion.
1272         * troff/node.h: Added `*last' to struct `node' to make the above
1273         fix work.
1275         * troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
1276         The default scale for the 'f' and 't' graphics functions were 'm'
1277         rather than 'u' (i.e., no scaling).
1279 1999-09-11  Peter Miller  <peterm@jna.com.au>
1281         * groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
1282         do_file), soelim/soelim.man: Added `-I file' option to soelim,
1283         defining include paths.
1285         * soelim/soelim.cc (include_path_append): New function.
1287 1999-09-11  Larry Jones  <larry.jones@sdrc.com>
1289         * tbl/main.cc (process_options): Unix (at least Documenter's
1290         Workbench) tbl allows arbitrary non-alpha characters between
1291         options.
1293 1999-09-11  Paul Eggert  <eggert@twinsun.com>
1295         Y2k fixes.  Don't assume that the current year precedes 2000.
1297         * doc/meref.me: Add \n(y2, \n(y4.
1299         * tmac/doc-common (Yr): New number register.
1300         (Dd): Don't assume current year precedes 2000.
1302         * tmac/tmac.e (td): Likewise.
1303         (y2, y4): New number registers.
1305         * pic/pic.man: Update reference for pic paper to May, 1991
1306         version.
1308 1999-09-11  Werner LEMBERG  <wl@gnu.org>
1310         * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
1311         Removed quotation marks which prevented correct expansion of
1312         $(tmac_wrap).
1314         * devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).
1316 1999-09-10  Werner LEMBERG  <wl@gnu.org>
1318         * Makefile.sub (DISTCLEANFILES): Added `config.log' and
1319         `config.cache'.
1321         * Removed configure.old.
1323 1999-08-31  Werner LEMBERG  <wl@gnu.org>
1325         * VERSION: Updated to 1.11.1
1327 1999-05-27  Werner LEMBERG  <wl@gnu.org>
1329         * doc/Makefile: changed `.PS' postfix to `.ps' for consistency.
1331         * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
1332         added quotations around $(tmac_wrap) to avoid syntax error if
1333         variable is empty.
1335         * configure: Newly generated using autoconf 2.13.
1337         * Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.
1339 Fri Aug 15 08:51:47 1997  Eric S. Raymond  <esr@snark.thyrsus.com>
1341         * README, PROJECTS, NEWS, INSTALL, VERSION, 
1342         doc/Makefile. doc/pic.ms, groff/groff.man:
1343         Prepare for 1.11 release.  No code changes.
1344         Documentation for pic added (doc/pic.ms).
1346 Sun Nov 26 11:45:13 1995  James Clark  <jjc@jclark.com>
1348         * Version 1.10 released.
1350 Fri Nov 24 09:56:16 1995  James Clark  <jjc@jclark.com>
1352         * afmtodit/afmtodit.pl: Avoid comment on first line.
1354 Mon Nov 20 11:13:49 1995  James Clark  <jjc@jclark.com>
1356         * aclocal.m4 (GROFF_INSTALL_SH): New macro.
1357         * configure.in: Call it.
1359         * Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
1360         (distfiles): Doesn't depend on config.log or config.cache.
1362 Sun Oct  1 08:45:36 1995  James Clark  <jjc@jclark.com>
1364         * grog/grog.sh: Use print "" rather than print in END rule.
1366 Wed Aug 23 13:30:52 1995  James Clark  <jjc@jclark.com>
1368         * tbl/main.cc (process_data): Don't give error for excess data
1369         entries that are comments.
1371 Fri Jul 28 11:00:27 1995  James Clark  <jjc@jclark.com>
1373         * tbl/main.cc (process_data): Fix case where new for-scope rules
1374         silently change meaning of code.
1376 Tue Jul  4 23:39:51 1995  James Clark  <jjc@jclark.com>
1378         * troff/env.cc (hyphenate): Loop over all consecutive sequences
1379         of non-zero hyphenation codes.
1381 Sat Jul  1 00:42:15 1995  James Clark  <jjc@jclark.com>
1383         * aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.
1385 Thu Jun 29 13:58:36 1995  James Clark  <jjc@jclark.com>
1387         * tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.
1389 Tue Jun 27 12:30:16 1995  James Clark  <jjc@jclark.com>
1391         * tmac/tmac.andoc: Make it work in compatibility mode.
1393         * refer/token.h (token_info::is_range_sep): New function.
1394         * refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
1395         * refer/ref.cc (reference::output): More sophisticated check for
1396         multiple pages.
1398         * devps/prologue.ps (MANUAL): New procedure.
1399         * grops/ps.cc (main): New -m option.
1400         (usage): Include -m.
1401         (ps_printer::~ps_printer): Implement -m.
1403         * aclocal.m4 (GROFF_G): New macro.
1404         * configure.in: Call it.
1405         * Makefile.in (g): Provided by configure.
1407         * hpftodit/hpftodit.cc (basename): Rename to xbasename.
1409         * tmac/tmac.tty: Disable warning about bad fonts.  Remove font
1410         translations.
1412         * Makefile.in (tmacpath): Don't include /usr/lib/tmac.
1413         (tmac_m, tmac_s): Deleted.
1414         (sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
1415         tmac_s_prefix): New variables.
1416         (MDEFINES): Change accordingly.
1417         * Makefile.comm (.man.n): Use new TMAC_* variables.
1418         * configure.in (GROFF_TMAC): Call.
1419         * aclocal.m4 (GROFF_TMAC): Define.
1420         * tmac/Makefile.sub (stamp_wrap): New target.
1421         (install_data, uninstall_sub): Handle macro wrapping.
1423 Mon Jun 26 14:54:39 1995  James Clark  <jjc@jclark.com>
1425         * tbl/main.cc (main): Ignore -T option.
1427 Thu Jun 22 09:08:06 1995  James Clark  <jjc@jclark.com>
1429         * devlj4/generate/special.map: Add definition of \(nb.
1431         * tmac/tmac.dvi: Add definition of \(nb.
1433         * troff/dictionary.c (dictionary::dictionary): association::v gets
1434         initialized by association::association.
1436         * tmac/Makefile.sub: Avoid using temporary files when installing.
1438         * troff/env.cc (environment::set_font): Make bad font number a
1439         warning.
1441         * Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.
1443         * Makefile.in (datadir): Use share rather than lib.
1445         * groff/groff.cc (basename): Rename to xbasename.
1447 Wed Jun 21 16:59:46 1995  James Clark  <jjc@jclark.com>
1449         * Makefile (CCLIBS): Don't use.
1450         * Makefile.ccpg: Likewise.
1452         * acgroff.m4: Rename to...
1453         * aclocal.m4: Modify extensively for autoconf 2.
1454         * configure.in: Likewise.
1455         * Makefile.in: Likewise.
1457         * groff/pipeline.c (const): Declare as empty if __STDC__ not
1458         defined.
1459         (xstrsignal): Check for definition of NSIG. Conditionalize
1460         on SYS_SIGLIST_DECLARED.  Make return type const.
1462 Sat Jun 10 12:28:16 1995  James Clark  <jjc@jclark.com>
1464         * troff/input.cc (interpolate_macro): Rephrase missing space
1465         warning.
1467 Thu May 11 01:07:16 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1469         * addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
1470         grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
1471         grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
1472         libbib/index.cc, libbib/linear.cc, libbib/search.cc,
1473         libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
1474         libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
1475         libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
1476         pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
1477         refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
1478         tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
1479         troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
1480         Fix 'for' scoping.
1482 Wed Apr 19 21:15:11 1995  James Clark  <jjc@jclark.com>
1484         * troff/input.cc (spring_trap): Push a macro_iterator rather than a
1485         string_iterator.
1486         (spring_trap, postpone_traps, unpostpone_traps): Move to later in
1487         file.
1488         (macro_iterator::macro_iterator): Add additional argument.
1490 Mon Apr 10 12:06:02 1995  James Clark  <jjc@jclark.com>
1492         * troff/div.cc (vertical_size::vertical_size): In place of integer
1493         specifying line spacing use cunits specifying post vertical
1494         space.
1495         (macro_diversion::output, top_level_diversion::output): Likewise.
1496         * troff/div.h: Change declarations accordingly.
1497         * troff/env.cc (pending_output_line): Replace ls field by post_vs
1498         field.
1499         (pending_output_line::pending_output_line,
1500         pending_output_line::output, environment::output,
1501         environment::output_line, environment::output_title,
1502         environment::hyphenate_line):  In place of
1503         integer specifying line spacing use cunits specifying post vertical
1504         space.
1505         (environment::environment): Add post_vertical_spacing and
1506         prev_post_vertical_spacing arguments.
1507         (environment::get_post_vertical_spacing): New function.
1508         (environment::total_post_vertical_spacing): New function.
1509         (environment::post_vertical_spacing): New function.
1510         (init_env_requests): Initialize pvs request and .pvs register.
1511         * troff/env.h: Change declarations.
1513 Tue Mar 28 09:52:07 1995  James Clark  <jjc@jclark.com>
1515         * tmac/tmac.pspic: Immediately remove the temporary file.
1517 Sat Mar 25 10:43:11 1995  James Clark  <jjc@jclark.com>
1519         * tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
1520         height is specified.
1522 Thu Jan 26 16:20:13 1995  James Clark  <jjc@jclark.com>
1524         * tbl/table.c (struct vertical rule, class table_entry): Use int
1525         not short for start_row and end_row.
1527 Fri Jan 13 13:53:05 1995  James Clark  <jjc@jclark.com>
1529         * troff/input.cc (trapping_blank_line, blank_line_macro): New
1530         functions.
1531         (diverted_space_node::reread, process_input_stack): Call
1532         trapping_blank_line() rather than blank_line().
1533         (init_input_requests): Bind "blm" to blank_line_macro().
1535         * tmac/tmac.s (XA): Use .br and par@reset rather than XA.
1537 Tue Jan 10 11:40:35 1995  James Clark  <jjc@jclark.com>
1539         * troff/env.cc (environment::possibly_break_line): Require that
1540         width total excluding width of final space node be greater than
1541         the target text length.
1543 Tue Jan  3 09:13:37 1995  James Clark  <jjc@jclark.com>
1545         * troff/node.cc (kern_pair_node::vertical_extent): New function.
1547 Sun Dec  4 13:19:07 1994  James Clark  <jjc@jclark.com>
1549         * troff/node.cc (charinfo_node): New class.
1550         (glyph_node, composite_node): Derive from charinfo_node.  Change
1551         member functions accordingly.
1553 Wed Nov 30 10:29:29 1994  James Clark  <jjc@jclark.com>
1555         * nroff/nroff.sh: Use -Tlatin1 not -TLatin1.
1557 Mon Aug  8 10:17:59 1994  James Clark  (jjc@jclark.com)
1559         * tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].
1561         * devps/generate/textmap (notsubset): Add.
1563         * tmac/tmac.a4: New file.
1565 Sun Jul 24 20:08:42 1994  James Clark  (jjc@jclark.com)
1567         * pic/main.cc (had_parse_error): New variable.
1568         (do_picture, do_whole_file): Set had_parse_error if yyparse()
1569         returns non-zero.
1570         (main): Return 1 if had_parse_error is true.
1572 Tue Jul 19 13:40:31 1994  James Clark  (jjc@jclark.com)
1574         * grolj4/lj4.cc (main): Avoid use of strtoul.
1576 Mon Jul 18 15:03:02 1994  James Clark  (jjc@jclark.com)
1578         * nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
1579         iso_8859_1 or $LESSCHARSET is latin1.
1581 Sun Jul 10 13:38:35 1994  James Clark  (jjc@jclark.com)
1583         * hpftodit: New directory.
1584         * Makefile.in (CCPROGDIRS): Add hpftodit.
1585         * devlj4/generate: New directory.
1587 Thu Jul  7 23:49:48 1994  James Clark  (jjc@jclark.com)
1589         * configure.in: Don't use AC_VFORK.
1590         * groff/pipeline.c (run_pipeline): Use fork() always.
1592 Wed Jul  6 11:13:17 1994  James Clark  (jjc@jclark.com)
1594         * grops/ps.cc (main): Use %1 not %s in error message for -w.
1596         * Makefile.in (CCPROGDIRS): Add grolj4.
1597         (DEVDIRS): Add devlj4.
1598         * grolj4, devlj4: New directories.
1599         * tmac/troffrc: Handle lj4.
1600         * tmac/tmac.lj4: New file.
1602 Fri Jun 17 18:02:53 1994  James Clark  (jjc@jclark.com)
1604         * tmac/tmac.e (@n): Set indent to 0 before calling |h.
1606 Wed Jun  1 07:33:47 1994  James Clark  (jjc@jclark.com)
1608         * troff/input.cc (do_if_request): At end of second string, switch
1609         environments before getting next token.
1611 Fri May 20 07:39:18 1994  James Clark  (jjc@jclark.com)
1613         * devps/psstrip.sed: Split rule that strips whitespace on either
1614         side of delimiters.
1616 Wed May 18 08:13:47 1994  James Clark  (jjc@jclark.com)
1618         * troff/node.h (font_family::make_definition): Add return value to
1619         declaration.  * troff/symbol.h (symbol::operator==,
1620         symbol::operator!=): Likewise.
1622 Tue May 17 20:46:06 1994  James Clark  (jjc@jclark.com)
1624         * groff/groff.cc (main, help, synopsis): Handle -S.
1625         (possible_command::insert_arg): New function.
1627         * tmac/tmac.safer: New file.
1628         * tmac/msafer.man: New file.
1629         * tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.
1631 Thu Mar 10 01:58:30 1994  Paul Eggert  (eggert@twinsun.com)
1633         * pic/pic.h, pic/main.cc (safer_flag): New variable.
1634         * pic/pic.y (placeless_element): Avoid unsafe operations if
1635         `safer_flag' is set.
1636         * pic/main.cc (main): Add -S option, which sets `safer_flag'.
1638 Tue May 10 13:02:31 1994  James Clark  (jjc@jclark.com)
1640         * eqn/lex.cc (get_token): Put call to add_context() in block to
1641         work around Sun C++ 4.0 bug.
1643         * include/stringclass.h (operator +): Use ?: instead of `if' to
1644         work around Sun C++ 4.0 bug.
1646 Thu May  5 11:18:03 1994  James Clark  (jjc@jclark.com)
1648         * tbl/main.cc (process_format): Accept - as a synonym for the _
1649         key letter.
1651         * libbib/index.cc (minus_one): Don't declare as const.
1653 Fri Apr 29 09:32:48 1994  James Clark  (jjc@jclark.com)
1655         * troff/input.cc (get_char_for_escape_name): Push back a newline.
1657 Wed Apr 27 21:14:18 1994  James Clark  (jjc@jclark.com)
1659         * troff/input.cc (write_macro_request): New function.
1660         (init_input_requests): Bind write_macro_request to writem.
1662 Sun Apr 17 11:15:38 1994  James Clark  (jjc@jclark.com)
1664         * tmac/tmac.s (@EN): Turn filling back on even if there was no
1665         equation.
1667         * eqn/lex.cc (do_space): Supply missing argument to lex_error.
1669         * tmac/tmac.s (@TS): Renamed from TS.
1670         (TS): Call LP then TS again.
1671         (cov*ab-init): Alias @TS to TS.
1673         * tmac/tmac.s: Allow QP or RS to initialize.
1675         * tmac/tmac.s (par@load-init): New macro.  Call at end of file.
1676         Move initializations of PS and LL here.
1677         (par@init): Don't initialize HY.  Avoid changing environment 0.
1678         (par*env-init): Don't all par@reset.
1680 Thu Apr 14 19:15:45 1994  James Clark  (jjc@jclark.com)
1682         * include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.
1684 Sun Apr 10 09:54:44 1994  James Clark  (jjc@jclark.com)
1686         * Makefile.in (MDEFINES): Add LDFLAGS.
1687         (LDFLAGS): Add definition line.
1689 Thu Apr  7 22:22:22 1994  James Clark  (jjc@jclark.com)
1691         * troff/input.cc (get_optional_char): Split off error check into...
1692         (check_missing_character): New function.
1693         * troff/token.h: Declare it.
1694         * troff/env.cc (margin_character): Don't call get_optional_char.
1695         Only call tok.next() after making the node.
1697         * include/lib.h (getopt): Make 2nd argument char *const *.
1699 Fri Mar 11 07:28:03 1994  James Clark  (jjc@jclark.com)
1701         * nroff/conftest.sh: Deleted.
1703 Fri Mar  4 10:51:36 1994  James Clark  (jjc@jclark.com)
1705         * pic/make-dos-dist: Deleted.
1707 Wed Mar  2 20:59:16 1994  James Clark  (jjc@jclark.com)
1709         * devps/psstrip.sed: Strip comments before stripping trailing
1710         white space.
1712 Sat Feb 19 13:07:16 1994  James Clark  (jjc@jclark.com)
1714         * Version 1.09 released.
1716 Wed Feb 16 16:53:49 1994  James Clark  (jjc@jclark.com)
1718         * tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.
1720 Mon Feb 14 08:26:40 1994  James Clark  (jjc@jclark.com)
1722         * libgroff/font.cc (font::load_desc): Fix typo in error message.
1724 Sun Feb 13 09:37:38 1994  James Clark  (jjc@jclark.com)
1726         * libgroff/new.cc (operator new): Rewrite so as to avoid warning
1727         about returning without a value.
1729         * troff/charinfo.h (charinfo::get_special_translation): Cast
1730         TRANSLATE_NONE to int.
1732         * refer/token.cc (lookup_token, store_token): Remove bogus loop
1733         test.  Fix test so that it works with n unsigned.
1735         * pic/pic.y (defaults_table): Fully bracket initializer.
1736         * pic/lex.cc (lookup_keyword): Likewise.
1737         * eqn/lex.cc (token_table, def_table): Likewise.
1738         * eqn/box.cc (param_table): Likewise.
1739         * troff/input.cc (warning_table): Likewise.
1740         * libgroff/font.cc (table): Likewise.
1741         * grops/ps.cc (ps_printer::special): Likewise.
1742         * grops/psrm.cc (resource_manager::process_file): Likewise.
1743         * tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
1744         * refer/command.cc (command_table): Likewise.
1745         * addftinfo/addftinfo.cc (param_table): Likewise.
1747         * troff/symbol.cc (symbol::symbol): Prevent compiler warnings
1748         about temp's being unused.
1749         (unused): New function.
1751         * groff/pipeline.cc: Declare c_fatal.
1753         * libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
1754         uchar.
1756         * libbib/index.cc (index_search_item::load): Prevent compiler
1757         warnings about fd_closer's being unused.
1758         (unused): New function.
1760 Sat Feb 12 10:31:59 1994  James Clark  (jjc@jclark.com)
1762         * troff/input.cc (copy_mode_error): Make `prefix' static.
1763         Fix typo.
1765         * include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
1766         defined.
1767         * acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
1768         HAVE_CC_OSFCN_H and modify accordingly.
1770         * troff/input.cc (init_charset_table): radicalex overlaps
1771         horizontally.
1773         * groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
1774         udodo!hans@relay.NL.net).
1775         * groff/configure.in: Call it.
1777         * groff/acgroff.m4 (GROFF_PCLOSE): New macro.
1778         * groff/configure.in: Call it.
1779         * include/lib.h: Conditionalize declaration of pclose.
1781         * troff/div.cc (last_page_number): New global variable.
1782         (top_level_diversion::begin_page): Exit if we just printed the
1783         last page.
1784         * troff/div.h (last_page_number): Declare it.
1785         * troff/input.cc (parse_output_page_list): Set last_page_number.
1787         * eqn/sqrt.cc: Rename \(rn to \[radicalex].
1788         * devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
1789         tmac/tmac.X: Likewise.
1790         * tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
1791         * tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.
1793 Fri Feb 11 11:45:40 1994  James Clark  (jjc@jclark.com)
1795         * tmac/doc-ditroff (hK): Remove groff specific code which
1796         prevented page-breaks between separate manual entries.  If this is
1797         the first page, don't set the page number to 1.
1799         * acgroff.m4 (GROFF_POSIX): New macro.
1800         * configure.in: Use it.
1802         * troff/node.cc (class real_output_file,
1803         real_output_file::real_output_file,
1804         real_output_file::~real_output_file): Conditionalize use of
1805         popen/pclose on POPEN_MISSING.
1806         * troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
1807         * troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
1808         (pipe_source): Similarily.
1810         * acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
1812         * acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
1813         presence of declarations by trying to compile example with
1814         conflicting declarations.  (gcc only gives a warning for missing
1815         declarations.)
1817 Wed Feb  9 09:12:23 1994  James Clark  (jjc@jclark.com)
1819         * tmac/tmac.pspic (PSPIC): Allow options to specify alignment
1820         (from Ulrich Lauther).
1822 Tue Feb  8 03:56:40 1994  James Clark  (jjc@jclark.com)
1824         * libbib/linear.cc (file_buffer::load): Use S_ISREG macro.
1826 Thu Feb  3 09:34:35 1994  James Clark  (jjc@jclark.com)
1828         * indxbib/indxbib.cc (write_hash_table): Add code for case where
1829         pointers and ints have different sizes.
1831 Sun Jan  9 16:17:51 1994  James Clark  (jjc@jclark.com)
1833         * tmac/tmac.s (par*env-init): Call par@reset.
1835 Fri Jan  7 10:24:27 1994  James Clark  (jjc@jclark.com)
1837         * tmac/tmac.s (@IP): Switch to a new environment when diverting
1838         tag.
1839         (par*push-tag-env, par*pop-tag-env): New macros.
1841 Wed Jan  5 21:18:34 1994  James Clark  (jjc@jclark.com)
1843         * grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
1844         initializing `out'.  Reduce MAX_LINE_LENGTH from 79 to 72.
1846         * grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
1847         comment.  Include <time.h>.
1849 Wed Dec 15 14:14:00 1993  James Clark  (jjc@jclark.com)
1851         * grops/ps.cc (is_small_h, is_small_v): Deleted.
1852         (ps_printer::flush_sbuf): Use absolute motion only at beginning of
1853         lines.
1855 Tue Dec 14 10:06:34 1993  James Clark  (jjc@jclark.com)
1857         * troff/input.cc (read_request): Only print a prompt if reading
1858         from the terminal.  Also clearerr on EOF if reading from the
1859         terminal.  Declare isatty.
1861 Mon Nov 29 08:38:15 1993  James Clark  (jjc@jclark.com)
1863         * refer/label.y: Rename map_t to map_func and extractor_t to
1864         extractor_func.
1866 Sat Oct 30 06:38:12 1993  James Clark  (jjc@jclark.com)
1868         * include/assert.h: Don't use volatile.
1869         * libgroff/assert.cc: Likewise.
1871 Fri Oct 29 15:00:23 1993  James Clark  (jjc@jclark.com)
1873         * troff/input.cc (abort_request): Look at character in tok before
1874         calling get_copy().
1876 Thu Oct 28 14:09:48 1993  James Clark  (jjc@jclark.com)
1878         * troff/troff.h (NO_RETURN): Deleted.
1879         * troff/div.cc (cleanup_and_exit):  Don't declare aas NO_RETURN.
1880         * troff/input.cc (exit_troff): Likewise
1882         * Makefile.in: Remove `Making ...' messages since GNU make now
1883         gives these. 
1885         * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
1887 Wed Oct 27 11:12:51 1993  James Clark  (jjc@jclark.com)
1889         * tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
1890         to constant 1 inch.
1892 Sat Oct 23 10:03:52 1993  James Clark  (jjc@jclark.com)
1894         * tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.
1896 Thu Oct 14 12:09:45 1993  James Clark  (jjc@jclark.com)
1898         * eqn/delim.cc (delim_box::compute_metrics): Don't increase
1899         MARK_REG if there was no left delimiter.
1901 Sat Oct  2 19:54:47 1993  James Clark  (jjc@jclark.com)
1903         * pic/troff.cc (troff_output::text): Set line thickness to
1904         relative before outputting text.
1906         * tmac/tmac.e (@k): Don't zero ?T.
1907         ((z): Likewise.
1909 Sat Sep 25 11:08:43 1993  James Clark  (jjc@jclark.com)
1911         * tmac/tmac.e ($p): Handle possibility that $3 is empty.
1913 Wed Aug 18 08:51:41 1993  James Clark  (jjc@jclark.com)
1915         * troff/input.cc (decode_args): Warn about unquoted tabs (from
1916         Paul Eggert).
1918 Tue Aug 10 08:38:32 1993  James Clark  (jjc@jclark.com)
1920         * troff/input.cc (ignoring): New variable.
1921         (ignore): Set ignoring during call to do_define_macro.
1922         (do_define_macro): Clear ignoring before interpolating terminating
1923         macro.
1924         (copy_mode_error): New function.
1925         (get_char_for_escape_name, read_long_escape_name,
1926         interpolate_arg): Use copy_mode_error.
1927         (warning_table): Add WARN_IG.
1928         * troff/troff.h (WARN_IG): Declare.
1929         (WARN_TOTAL): Change accordingly.
1931         * groff/pipeline.c (strsignal): Rename to xstrsignal.
1932         * groff/groff.cc (strsignal): Delete declaration.
1934 Fri Jul 16 01:43:12 1993  James Clark  (jjc@jclark.com)
1936         * troff/div.cc (page_offset): Use 'm' as default scaling.
1938 Sat Jul  3 09:11:38 1993  James Clark  (jjc@jclark.com)
1940         * nroff/nroff.sh: Ignore -u.
1942 Wed Jun  9 12:17:27 1993  James Clark  (jjc@jclark.com)
1944         * Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.
1946 Fri Jun  4 17:35:47 1993  James Clark  (jjc@jclark.com)
1948         * tmac/tmac.s (par*box-draw): Set adjustment mode to l while
1949         drawing box.
1950         (B2): With -Tascii, leave additional vertical space before
1951         and after. Ensure that the left and right indent is restored to
1952         what it was even if the point size changes.  Don't call
1953         par@finish. Change the indent, line length and title length
1954         directly.  With -Tascii, make the width of the box 1n less.
1955         (B1): Remember 1n at the current point size.  Don't call
1956         par@reset.  Change the indent, line length and title length
1957         directly.  Ensure that the temporary indent is preserved.
1958         (par*box-mark-top): Turn off no spacing mode.
1960 Thu Jun  3 17:47:14 1993  James Clark  (jjc@jclark.com)
1962         * Makefile.in (dist): Use .gz suffix.
1964 Thu May 27 20:04:59 1993  James Clark  (jjc@jclark.com)
1966         * troff/input.cc (main): Add return 0.
1967         * pic/main.cc (main): Use return instead of exit.
1968         * tbl/main.cc (main): Likewise.
1969         * eqn/main.cc (main): Likewise.
1970         * grops/ps.cc (main): Likewise.
1971         * grotty/tty.cc (main): Likewise.
1972         * groff/groff.cc (main): Likewise.
1973         * grodvi/dvi.cc (main): Likewise.
1974         * refer/refer.cc (main): Likewise.
1975         * indxbib/indxbib.cc (main): Likewise.
1976         * lkbib/lkbib.cc (main): Likewise.
1977         * soelim/soelim.cc (main): Likewise.
1978         * addftinfo/addftinfo.cc (main): Likewise.
1979         * acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
1980         GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.
1982         * troff/token.h (process_input_stack): Don't declare as static.
1983         * troff/input.cc: Likewise.
1985         * troff/node.c (invalidate_fontno): Make it a static member of
1986         class font_family.  Change callers.
1987         * troff/node.c: Change declaration.
1989         * tbl/main.cc (struct input_entry_format): Add explicit public
1990         specifier.
1991         * tbl/table.cc (struct text_stuff, struct single_hline_stuff,
1992         struct double_hline_stuff): Likewise.
1993         * tbl/table.h (struct entry_format): Likewise.
1994         * pic/object.h (struct saved_state): Likewise.
1996         * include/stringclass.h: Add forward declarations of friend
1997         functions that are later declared as inline.  Don't include inline
1998         specifier in friend declaration.
2000         * libgroff/lib.h: Declare popen and pclose.
2001         * acgroff.m4 (GROFF_POPEN): New macro.
2002         * configure.in: Call it.
2004         * include/lib.h (PI): New constant. Undef first if necessary.
2005         * tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
2006         * grops/ps.cc (degrees, radians): Likewise.
2007         * libgroff/font.cc (font::get_skew): Likewise.
2009         * grops/ps.cc (is_ascii): New function.
2010         (ps_output::put_string): Use is_ascii.  Use csprint rather than
2011         isprint.
2012         (ps_printer::define_encoding): Use csspace.
2013         * libgroff/strtol.c (ISASCII): New macro.
2014         (strtol): Cast arguments to is*() and tolower() to unsigned char.
2015         Use ISASCII rather than isascii.
2016         * libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
2017         * libgroff/cset.cc: Likewise.
2018         * libdriver/input.cc: Include cset.h.
2019         (do_file, get_integer, possibly_get_integer): Use csdigit() rather
2020         than isdigit().
2022         * refer/refer.cc (main): Use %ld rather than %d for longs.
2024         * libbib/index.cc (index_search_item_iterator::get_tag): Use
2025         S_ISREG macro.
2027         * addftinfo/addftinfo.cc (param_t): Add explicit `int'.
2029 Mon May 24 08:51:37 1993  James Clark  (jjc@jclark.com)
2031         * troff/input.cc (hyphenation_code): Skip white space between
2032         char/code pairs.
2034 Sun May 16 08:15:52 1993  James Clark  (jjc at jclark.com)
2036         * tbl/table.h (table::entry_list_tailp): New member.
2037         (table::table): Initialize it.
2038         (table::add_entry): Use entry_list_tailp to avoid O(n^2)
2039         behaviour.
2041 Sat May 15 17:26:00 1993  James Clark  (jjc at jclark.com)
2043         * grotty/tty.cc (tty_printer::add_char): Don't discard characters
2044         with negative horizontal positions. Remove casts of glyph::hpos to
2045         int.
2046         (USHRT_MAX): Delete definition.
2047         (SHRT_MAX, SHRT_MIN): New definitions.
2048         (glyph::hpos): Change type to short.
2049         (tty_printer::end_page): Output multiple backspaces if necessary.
2050          Remove casts of glyph::hpos to int.
2051         
2052 Fri May  7 12:14:37 1993  James Clark  (jjc at jclark.com)
2054         * tmac/tmac.s (@RT): New definition.
2056 Thu May  6 21:36:54 1993  James Clark  (jjc at jclark.com)
2058         * refer/refer.cc (do_file): Make sure current_filename is set when
2059         filename is "-".
2061         * pic/common.cc (common_output::dot_line): Handle zero length
2062         lines.
2064 Sun May  2 19:54:16 1993  James Clark  (jjc at jclark.com)
2066         * tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
2067         (par@init): Initialize \n[HY].
2069 Mon Apr 26 11:43:16 1993  James Clark  (jjc at jclark.com)
2071         * troff/dictionary.cc (dictionary::remove): Continue when
2072         r < j < i.
2074 Sun Apr 25 11:03:00 1993  James Clark  (jjc at jclark.com)
2076         * Makefile.com (.y.cc): Avoid ending up with two versions of
2077         $(YTABH).
2079 Thu Apr 22 21:03:45 1993  James Clark  (jjc at jclark.com)
2081         * tmac/tmac.dvi (\(,c): Define only if it does not exist.
2082         (\(,C): Likewise.  Also fix typo.
2084 Wed Apr 21 08:47:32 1993  James Clark  (jjc at jclark.com)
2086         * lib.h: Delete extraneous semi-colon.
2088         * Add pso request: `so' from a pipe.
2089         * troff/input.c (file_iterator::file_iterator): Add 3rd argument.
2090         (file_iterator::close): New function.
2091         (file_iterator::~file_iterator, file_iterator::next_file): Use
2092         file_iterator::close.
2093         (file_iterator::backtrace): Say `process' rather than `file' when
2094         the stream is popened.
2095         (pipe_source): New function.
2096         (init_input_requests): Bind ".pso" to pipe_source.
2098 Tue Apr 20 00:02:26 1993  James Clark  (jjc at jclark.com)
2100         * afmtodit/afmtodit.pl: Avoid single quotes in comments.
2102         * pfbtops/pfbtops.c: Output 64 characters per line.  Output hex
2103         digits in lower case.
2105 Mon Apr 19 09:55:57 1993  James Clark  (jjc at jclark)
2107         * Version 1.08 released.
2109         * Makefile.in (dist): Insert || true after ln -s commands that
2110         might fail.
2112         * mm: Update to mm 1.16.
2114         * acgroff.m4 (GROFF_CSH_HACK): New macro.
2115         * configure.in: Call GROFF_CSH_HACK.  Substitute for
2116         SH_SCRIPT_SED_CMD.
2117         * Makefile.in (SH_SCRIPT_SED_CMD): New variable.  Include in
2118         MDEFINES.
2119         * nroff/Makefile.sub (nroff): New target.
2120         (install_data): Install nroff.
2121         * eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
2122         * grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.
2124 Sat Apr 17 08:24:28 1993  James Clark  (jjc at jclark)
2126         * eqn/Makefile.sub (neqn): Add chmod +x.
2128         * grog/Makefile.sub (grog): Remove spurious semi-colon.
2130 Fri Apr 16 22:41:57 1993  James Clark  (jjc at jclark)
2132         * troff/input.cc (string_iterator::string_iterator()): Initialize
2133         lineno and count.
2135 Tue Apr 13 10:22:28 1993  James Clark  (jjc at jclark)
2137         * troff/div.cc (macro_diversion::space,
2138         top_level_diversion::space): Don't set high_water_mark.
2139         (macro_diversion::output, top_level_diversion::output): Don't
2140         include post line space in high water mark.
2142 Wed Apr  7 12:48:18 1993  James Clark  (jjc at jclark)
2144         * eqn/eqn.y: Don't define YYDEBUG.
2145         * pic/pic.y: Likewise.
2147 Mon Apr  5 10:15:15 1993  James Clark  (jjc at jclark)
2149         * tmac/tmac.e ([3): Add space after comma following editors.
2150         Change double spaces to single spaces.
2151         ([4): Change double spaces to single spaces.
2153         * grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
2154         * grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
2155         bit is set in broken_flags, use 2.0 rather than 3.0 as the version
2156         after %!PS-Adobe- (for Newsprint).
2158         * troff/div.cc (top_level_diversion::begin_page): When
2159         before_first_page is 1, set page_number to 1.
2161 Sun Apr  4 14:28:53 1993  James Clark  (jjc at jclark)
2163         * eqn/box.cc (box::top_level): Protect equation with \&.
2165 Sat Apr  3 23:27:25 1993  James Clark  (jjc at jclark)
2167         * groff/groff.cc (possible_command::set_name): Delete old name.
2169         * groff/groff.cc (possible_command::~possible_command): Use
2170         a_delete.
2172         * troff/node.cc (troff_output_file::begun_page): New member.
2173         (troff_output_file::troff_output_file): Initialize it.
2174         (troff_output_file::really_begin_page): Only output V command if a
2175         page has been begun.
2177         * pic/pic.y (placeless_element): Delete argument to PRINT after
2178         use.
2180 Fri Apr  2 11:31:02 1993  James Clark  (jjc at jclark)
2182         * Make wrapman work.
2183         * troff/div.h (class top_level_diversion): Replace
2184         first_page_begun by before_first_page (with opposite sense).
2185         * Change first_page_begun to before_first_page inverting sense.
2186         * troff/div.cc (class nl_reg): New class.
2187         (init_div_requests): Use class nl_reg for \n(nl.
2188         (top_level_diversion::begin_page): Don't call
2189         output_file::begin_page if before_first_page is 2;
2190         reset before_first_page afterwards.  If have_next_page_number is
2191         false, then always increment page_number.
2192         * tmac/tmac.an: Set traps within TH rather than at the top-level.
2193         Restore compatibility mode after loading, and then disable
2194         compatibility mode in TH.
2196 Thu Apr  1 11:09:34 1993  James Clark  (jjc at jclark)
2198         * grotty/tty.cc (tty_printer::end_page): Don't discard characters
2199         past last line.
2200         * troff/node.h (output_file::trailer): Declare.
2201         * troff/div.cc (cleanup_and_exit): Call output_file::trailer().
2202         * troff/node.cc (output_file::trailer): New function.
2203         (troff_output_file::~troff_output_file): Move most code into...
2204         (troff_output_file::trailer): New function.
2205         (class troff_output_file): Delete page_length member. Declare
2206         trailer().
2207         (troff_output_file::really_begin_page): Use current page length
2208         for final V command.
2210         * tbl/main.cc (struct options): New decimal_point_char member.
2211         (options::options): Initialize this.
2212         (process_options): Implement decimalpoint option.
2213         (process_data): Pass decimal_point_char option to table::table.
2214         * tbl/table.h (class table): New decimal_point_char member.
2215         (table::table): Add additional argument.
2216         * tbl/table.cc (find_dot): Rename to find_decimal_point. Add
2217         second argument specifying decimal point character.  Use this
2218         instead of '.'.
2219         (table::table): Initialize decimal_point_char.
2220         (table::add_entry): Change call to find_dot.
2222         * troff/input.cc (get_copy, token::next): Implement \V.
2223         (interpolate_environment_variable): New function.
2225 Tue Mar 30 14:41:39 1993  James Clark  (jjc at jclark)
2227         * pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
2228         * pic/pic.y: Likewise.
2230         * grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
2231         Add casts to int.
2232         * refer/ref.cc (reference::insert_field, reference::delete_field):
2233         Likewise.
2234         * troff/number.cc (parse_term): Likewise.
2236         * acgroff.m4 (GROFF_PROG_YACC): New macro.
2237         * configure.in: Use GROFF_PROG_YACC.
2239         * acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
2240         and g++.
2241         * Makefile.in (OPTIMIZE): New define.
2242         (DEBUG): Empty by default.
2243         (CCFLAGS, CFLAGS): Include $(OPTIMIZE).
2245         * acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
2246         (GROFF_ARRAY_DELETE): Likewise.
2247         (GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.
2249         * troff/env.cc (trie::~trie): Make virtual to shut up g++.
2251         * devps/psstrip.sed: Use different delimiter on last line (so that
2252         it works with BSD 4.4 sed.)
2254 Mon Mar 29 17:07:14 1993  James Clark  (jjc at jclark)
2256         * devps/psstrip.sed: Delete comments.
2258         * acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
2259         optind, opterr, optarg.
2260         * lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
2261         opterr, optarg.
2263 Sun Mar 28 17:44:25 1993  James Clark  (jjc at jclark)
2265         * Makefile.in (check): Dummy target.
2267 Wed Mar  3 04:53:38 1993  James Clark  (jjc at jclark)
2269         * Version 1.07 released.
2271         * Integrate mm 1.11.
2273         * tbl/table.cc (alphabetic_block_entry::print): start_row was used
2274         where start_col was meant.
2276 Thu Feb 25 07:55:36 1993  James Clark  (jjc at jclark)
2278         * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
2280 Wed Feb 24 10:15:34 1993  James Clark  (jjc at jclark)
2282         * troff/input.cc (token::next): Make \z\o'...' and similar things
2283         work.
2285         * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
2286         constants.
2287         (environment): Add margin_character_flags member.
2288         * env.cc (environment::environment(symbol),
2289         environment::environment(const environment *): Initialize
2290         margin_character_flags.
2291         (margin_character): Rewrite.
2292         (environment::output_line): Add a margin character if
2293         margin_character_flags is non-zero.  Turn off the
2294         MARGIN_CHARACTER_NEXT bit.  If that makes margin_character_flags
2295         zero, use margin_character_node without copying and then set
2296         margin_character_node to 0.
2298         * devps/DESC.in: Change minimum size to 1000.
2300 Tue Feb 23 14:57:49 1993  James Clark  (jjc at jclark)
2302         * troff/symbol.h (symbol::hash): Change return type to unsigned
2303         long.
2304         * troff/dictionary.cc (dictionary::lookup, dictionary::remove):
2305         Add casts to int.
2307         * test-groff: Use -r rather than -x.
2309         * grops/psfig.diff: Include in distribution again.
2311 Mon Feb 22 09:10:44 1993  James Clark  (jjc at jclark)
2313         * Makefile.in (dist): Use gzip.
2315 Sun Feb 21 11:12:53 1993  James Clark  (jjc at jclark)
2317         * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
2318         unistd.h as well as in stdlib.h.
2319         * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
2320         defined; otherwise include <sys/types.h> and <unistd.h> if
2321         UNISTD_H_DECLARES_GETOPT is defined.
2323         * configure.in: use builtin(include, ... rather than include(...
2324         * configure: Regenerate with autoconf 1.3.
2326         * libdriver/print.cc (printer::adjust_arc_center): Use new
2327         algorithm suggested by Andy Fyfe.
2329         * libdriver/printer.cc (printer::adjust_arc_center): New function.
2330         * include/printer.h: Declare this.
2331         * grops/ps.cc (ps_printer::draw): Use it.
2332         * grodvi/dvi.cc (dvi_printer::draw): Use it.
2334 Fri Feb 19 23:13:51 1993  James Clark  (jjc at jclark)
2336         * Makefile.comm (.man.n): Replace macrodir by tmacdir.
2338 Thu Feb 11 16:46:59 1993  James Clark  (jjc at jclark)
2340         * eqn/main.cc (main): Handle "eqn -".
2342 Mon Jan  4 20:29:56 1993  James Clark  (jjc at jclark)
2344         * tmac/tmac.e (++): Install fix from comp.bugs.4sd.
2346         * mm: Integrate version 1.08.
2348         * pic/troff.cc (troff_output::finish_picture): Set
2349         EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
2350         * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
2351         if it's not defined. Check whether the register is non-zero rather
2352         than whether it's not defined.
2353         * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
2355         * indxbib/indxbib.cc: Move all signal handling into...
2356         * indxbib/signal.c: New file.
2357         * configure.in: Call AC_RETSIGTYPE.
2359         * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
2360         * configure.in: Call GROFF_STRUCT_EXCEPTION.
2361         * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
2363         * troff/input.cc (token::token, token::operator=): Work round SGI
2364         C++ bug.
2365         * pic/object.cc (position::position): Likewise.
2367 Mon Dec 28 21:50:21 1992  James Clark  (jjc at jclark)
2369         * pic/pic.h: Move declaration of hypot().
2371 Wed Dec 16 12:28:29 1992  James Clark  (jjc at jclark)
2373         * pic/pic.h: Declare hypot().
2375         * pic/pic.h: Define M_PI if necessary.
2377 Thu Dec 10 12:03:29 1992  James Clark  (jjc at jclark)
2379         * tmac/tmac.e (re): Add alternative version that doesn't use groff
2380         `.ta T' feature.
2382         * devps/prologue.ps (RE): Handle the possibility that the old font
2383         doesn't have a FontName entry.
2385 Wed Dec  2 10:25:29 1992  James Clark  (jjc at jclark)
2387         * tmac/tmac.e (fam): Redefine to set family in environment 2.
2388         (@C): Use @fam not fam.
2390 Thu Nov 26 16:01:25 1992  James Clark  (jjc at jclark)
2392         * lookbib/lookbib.cc (main): Change type of start to const char *.
2393         * lkbib/lkbib.cc (main): Likewise.
2395         * eqn/lex.cc (definition::definition): Don't use member
2396         initializer syntax for members of anonymous unions.
2398         * troff/input.cc (input_stack::backtrace): Change type of to const
2399         char *.
2401 Wed Nov 25 13:43:09 1992  James Clark  (jjc at jclark)
2403         * include/stringclass.h (class string): Declare inline friend
2404         functions as inline in class declaration.
2405         * troff/hvunits.h (class hunits, class vunits): Likewise.
2406         * include/refid.h (class reference_id): Likewise
2407         * troff/troff.h (points_to_units(units), scale(units, double)):
2408         Delete declarations.
2409         * libdriver/input.cc (get_char): Delete declaration.
2410         * include/lib.h: Change 2nd argument of getopt from const char **
2411         to char **.
2412         * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
2413         char **' before assigning to a `const char **'.
2414         * tbl/table.cc: Delete extra declarations of prints().
2416 Tue Nov 24 14:33:13 1992  James Clark  (jjc at jclark)
2418         * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
2419         char **' before assigning to a `const char **'.
2421         * libgroff/errarg.cc (errarg::errarg): Don't use member
2422         initializer syntax for members of anonymous unions.
2424 Sat Nov 21 05:02:23 1992  James Clark  (jjc at jclark)
2426         * mm: Integrate version 1.07.
2428 Tue Nov 17 16:44:27 1992  James Clark  (jjc at jclark)
2430         * troff/input.c (translate2): Rename to
2431         (translate_no_transparent).
2432         (init_input_requests): Rename tr2 to trnt.
2434 Mon Nov 16 09:49:32 1992  James Clark  (jjc at jclark)
2436         * troff/charinfo.h (class charinfo): Add transparent_translate field.
2437         (charinfo::set_translation, charinfo::set_special_translation):
2438         Add second argument that specifies value for
2439         transparent_translate.
2440         (charinfo::get_translation, charinfo::get_special_translation):
2441         Add optional second argument that specifies whether translation is
2442         being used for transparent throughput.
2443         * troff/input.cc (charinfo::set_translation,
2444         charinfo::set_special_translation): Handle second argument.
2445         (charinfo::charinfo): Initialize transparent_translate.
2446         (translate): Split main part off into
2447         (do_translate): New function.  Pass argument saying whether
2448         translation applies to transparent throughput.
2449         (translate2): New request.
2450         (init_input_requests): Bind translate2 to `tr2'.
2452 Wed Nov 11 11:43:20 1992  James Clark  (jjc at jclark)
2454         * tbl/table.h (class table): Add `nokeep' flag.
2455         * tbl/main.cc (process_options): Handle `nokeep' option.
2456         * tbl/table.cc (table::init_output, table::do_row, table::do_top,
2457         table::do_bottom): Don't output keep/release macro definitions or
2458         calls when `nokeep' option has been specified.
2460 Sat Nov  7 01:28:33 1992  James Clark  (jjc at jclark)
2462         * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
2464 Wed Nov  4 16:29:04 1992  James Clark  (jjc at jclark)
2466         * tbl/table.cc (table_entry::divert, block_entry::do_divert,
2467         block_entry::divert, alphabetic_block_entry::divert): Add extra
2468         argument giving column separation.
2469         (table::compute_widths): Pass column separation to
2470         table_entry::divert().
2471         (block_entry::do_divert): If an entry spans multiple columns and a
2472         minimumum width has been specified for each column, then set the
2473         line length to the sum of the widths (plus possibly the column
2474         separations).
2476         * troff/input.cc (set_escape_char): Don't set the escape_char
2477         until after calling has_arg().
2479 Tue Nov  3 11:23:27 1992  James Clark  (jjc at jclark)
2481         * tbl/table.cc (table::do_top): Add missing \s0 for double box
2482         case.
2484         * tbl/table.cc (table::print_double_hline): Avoid extra new line
2485         in case where r > nrows - 1.
2487         * tbl/table.cc (BODY_HEIGHT): Deleted.
2488         (LINE_SEP): New definition.
2489         (table::print_single_hline, table::print_double_hline,
2490         table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
2491         table::do_row, table::do_top): Use LINE_SEP space before a line
2492         instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.
2494         * tbl/table.cc (text_entry::print_contents): New function.
2495         (text_string_name, right_text_string_name): Deleted.
2496         (TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
2497         (simple_text_entry::do_width, numeric_text_entry::do_width,
2498         alphabetic_text_entry::do_width): Don't store the contents of the
2499         entry in a string.
2500         (left_text_entry::simple_print, right_text_entry::simple_print,
2501         center_text_entry::simple_print,
2502         alphabetic_text_entry::simple_print,
2503         numeric_text_entry::simple_print): Print the entry directly
2504         instead of using the stored string.
2506 Fri Oct 30 10:39:32 1992  James Clark  (jjc at jclark)
2508         * devps/Makefile: Strip PostScript files.
2509         * devps/prologue: Rename to...
2510         * devps/prologue.ps.
2511         * devps/psstrip.sed: New file.
2512         * devps/download: Use .pfa rather than .ps for installed versions
2513         of fonts.
2515 Thu Oct 29 09:14:43 1992  James Clark  (jjc at jclark)
2517         * troff/env.cc (input_trap): Give a warning if the argument is out
2518         of range.
2520         * troff/env.cc (adjust): Treat negative argument as missing. Round
2521         argument > 5 down to 5.
2523         * troff/env.cc (center, right_justify): Make negative argument zero.
2525         * troff/div.cc (page_offset, vertical_position_traps): Treat
2526         invalid argument as missing.
2527         * troff/env.cc (line_spacing, line_length, title_length, indent,
2528         underline, hyphen_line_max_request, control_char,
2529         no_break_control_char, widow_control_request, adjust, input_trap,
2530         point_size): Likewise.
2531         * troff/node.cc (ligature, kern_request, bold_font, track_kern,
2532         constant_space): Likewise.
2533         * troff/input.cc (compatible, shift, warn_request,
2534         set_escape_char): Likewise.
2536         * tbl/main.cc (format::format): Avoid doing `new int[0]'.
2537         * tbl/table.cc (table::table): Likewise.
2539         * Makefile.dev (install_dev): depends on $(DEVFILES).
2541 Wed Oct 28 08:30:57 1992  James Clark  (jjc at jclark)
2543         * devX75, devX75-12, devX100, devX100-12: New directories.
2544         * Makefile.in: Add these to DEVDIRS.
2546         * troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
2547         afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
2548         grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
2549         * Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
2550         targets.
2551         * Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
2552         (uninstall): New target.
2553         * Makefile.comm (uninstall, uninstall_sub, uninstall_man,
2554         uninstall_prog, uninstall_dev): New targets.
2556         * troff/div.cc (return_request): Treat an invalid argument as
2557         missing.
2559 Mon Oct 26 11:33:47 1992  James Clark  (jjc at jclark)
2561         * tmac/tmac.e ((f): Set up the environment even when there's a
2562         current diversion.  Transperently throughput a call to @N.
2563         (@N): New macro.
2565 Thu Oct 22 05:05:59 1992  James Clark  (jjc at jclark)
2567         * tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
2568         up to vertical resolution.
2570         * tbl/table.cc (table::do_row): Change row number after printing
2571         stuff list.
2573         * pic/lex.cc (get_token_after_dot): Make .left and .right work.
2575 Wed Oct 21 14:46:45 1992  James Clark  (jjc at jclark)
2577         * Rename CHANGES to NEWS.
2579 Tue Oct 20 23:25:21 1992  James Clark  (jjc at jclark)
2581         * libgroff/new.cc (operator new): Avoid calling malloc(0).
2583 Mon Oct 19 09:10:13 1992  James Clark  (jjc at jclark)
2585         * man.ultrix: Removed.
2587 Sun Oct 18 06:35:15 1992  James Clark  (jjc at jclark)
2589         * Makefile.comm (extraclean): Delete files whose names begin with
2590         `='.
2592         * pic/troff.cc (troff_output::text): Fix typo in implementation of
2593         aligned text.
2595 Sat Oct 10 09:32:29 1992  James Clark  (jjc at jclark)
2597         * troff/env.cc (hyphenate_request, vertical_spacing, no_number):
2598         * troff/div.cc (page_length, need_space, space_request): Treat
2599         invalid optional argument as missing.
2600         * troff/env.cc (number_lines): If the first argument is present
2601         but not a number, turn on line numbering, don't change the next
2602         line number and parse the remaining arguments.
2604         * tmac/tmac.e (@q): Do the `ne' before changing to environment 2.
2606 Thu Oct  8 10:24:40 1992  James Clark  (jjc at jclark)
2608         * eqn/box.h: Change declaration accordingly.
2609         * eqn/box.cc (set_gsize): Change return type to int.  Return 0 if
2610         the specified size was bad but don't give an error.  Check for
2611         overflow.
2612         * eqn/main.cc (main): Change caller. Leave validation to set_gsize.
2613         * eqn/lex (do_size): Likewise.
2615 Wed Oct  7 09:48:59 1992  James Clark  (jjc at jclark)
2617         * acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
2618         compatible headers.
2620 Sun Oct  4 18:24:02 1992  James Clark  (jjc at jclark)
2622         * tbl/table.cc (table::init_output): Improve error message when
2623         table won't fit on one page.
2625 Fri Oct  2 10:41:40 1992  James Clark  (jjc at jclark)
2627         * pic/troff.cc (troff_output::start_picture): Generate line
2628         containing a horizontal motion equal to the width of the picture.
2630         * groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
2631         using GROFF_COMMAND_PREFIX environment variable.
2633 Fri Sep 25 11:40:40 1992  James Clark  (jjc at jclark)
2635         * mdate.sh: Use $NF rather than $(NF).
2637 Tue Sep 22 09:47:24 1992  James Clark  (jjc at jclark)
2639         * pic/main.cc (main):  Use %1 not %c in argument to warning.
2641         * eqn/main.cc (main): Output code to check that geqn was given the
2642         correct -T option.
2644 Mon Sep 21 10:59:16 1992  James Clark  (jjc at jclark)
2646         * Makefile.in (dist): Instead of doing `make -f ../Makefile', do
2647         `ln -s ../Makefile .; make; rm -f Makefile'.
2649         * troff/hyphen: Rename to...
2650         * troff/hyphen.us:
2651         * troff/input.cc (main): Delete -H option. Don't call
2652         read_hyphen_file().
2653         * troff/env.cc: Include searchpath.h and macropath.h.
2654         (exception_dictionary): Deleted.
2655         (ht): Deleted.
2656         (read_hyphen_file): Deleted.
2657         (hyphenation_language): New struct.
2658         (class trie, class hyphen_trie): Move declarations up.
2659         (trie_node::~trie_node): Deleted.
2660         (trie::delete_trie_node): New function.
2661         (trie::do_delete): New pure virtual function.
2662         (hyphen_trie::do_delete): New function.
2663         (trie::~trie): New function.
2664         (hyphen_trie::~hyphen_trie): New function.
2665         (trie::clear): No need to chcek that tp is not 0.
2666         (current_language, language_dictionary): New variables.
2667         (hyphen_word): Give an error if no current language.  Use
2668         exceptions dictionary in current language.
2669         (hyphen_trie::read_patterns_file): Find file using macro_path.
2670         Allow comments (starting with %) in patterns file.  Don't make it
2671         a fatal error if the file can't be found.
2672         (hyphenate): Return if no current language.  Get the exceptions
2673         dictionary and the hyphenation patterns from the current language.
2674         (set_hyphenation_language): New variable.
2675         (hyphenation_patterns_file): New function.
2676         (hyphenation_language_reg): New class.
2677         (hyphenation_language_reg::get_string): New function.
2678         (init_hyphen_requests): Bind "hla" to set_hyphenation_language and
2679         "hpf" to hyphenation_patterns_file.  Initialize `.hla' number
2680         register.
2681         * groff/groff.cc (main, help, synopsis): Delete -H option.
2682         * include/Makefile.sub: Don't define HYPHENFILE.
2683         * Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
2684         * Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
2685         * tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
2686         hyphenation patterns.
2688 Sun Sep 20 09:33:02 1992  James Clark  (jjc at jclark)
2690         * eqn/neqn.sh: New file.
2691         * eqn/Makefile.sub: Handle neqn.sh.
2693         * eqn/eqn.h: Declare `nroff' variable.
2694         * eqn/box.cc (param_table): Add `nroff' param.
2695         (nroff): Define it.
2696         * eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
2697         variable.
2698         * tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.
2700         * troff/troff.h (WARN_FONT): New warning.
2701         (WARN_TOTAL): Change accordingly.
2702         * troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
2703         (warning_table): Add WARN_FONT.
2704         * troff/node.cc (mount_font_no_translate): Pass argument to
2705         font::load_font.  If this is non-zero, give a warning.
2706         Don't give an error message when accessing a font that has already
2707         been found to be invalid.
2708         * include/font.h (font::load, font::load_font): Add additional
2709         optional argument which suppresses error message if the font is
2710         not found.
2711         * libgroff/font.cc (font::load_font): Handle additional argument.
2712         (font::load): Add additional argument. If this is non-null, set it
2713         to 1 and don't give error message.
2715         * include/printer.h (printer::end_page): Add argument giving
2716         length of page.
2717         * libdriver/input.cc (do_file): Pass this.
2718         * grops/ps.cc (ps_printer::end_page): Add argument.
2719         * grodvi/dvi.cc (dvi_printer::end_page,
2720         draw_dvi_printer::end_page): Add argument.
2721         * grotty/tty.cc (class tty_printer): Remove lines_per_page and
2722         columns_per_page members. New member nlines.
2723         (DEFAULT_LINES_PER_PAGE): Deleted.
2724         (tty_printer::tty_printer): Don't compute lines_per_page from
2725         font::paperlength. Don't compute columns_per_page from
2726         font::paperwidth.
2727         (tty_printer::add_char): Don't check horizontal position against
2728         columns_per_page. Grow glyphs vector if neccessary.
2729         (tty_printer::end_page): Add argument giving page_length in units.
2730         Discard lines past end of page.
2732 Wed Sep 16 06:29:52 1992  James Clark  (jjc at jclark)
2734         * tmac/tmac.tty-char: Fix definition of \(/l.
2736         * tmac/tmac.X: Define \(en.
2738 Tue Sep 15 10:37:13 1992  James Clark  (jjc at jclark)
2740         * acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
2741         lpq, then use lp rather than lpr.
2743         * tmac/tmac.s (par@reset): Don't call `ad'.
2744         (par*env-init): Call `ad'.
2746 Sun Sep 13 18:48:20 1992  James Clark  (jjc at jclark)
2748         * mdate.sh: Use $(NF) instead of $6 to extract year from output of
2749         date.
2751         * troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
2752         * indxbib/indxbib.cc: Likewise.
2754 Sun Sep  6 09:44:46 1992  James Clark  (jjc at jclark)
2756         * libgroff/putenv.c: New file.
2757         * libgroff/Makefile.sub: Add putenv.c to CSRCS.
2758         * Makefile.in: Say that putenv.o can be one of LIBOBJS.
2759         * configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
2760         stdlib.h with AC_HAVE_HEADERS.
2762 Sat Sep  5 18:11:52 1992  James Clark  (jjc at jclark)
2764         * indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
2765         does not exist.
2767 Fri Sep  4 09:43:26 1992  James Clark  (jjc at jclark)
2769         * eqn/box.cc (gsize): Make it an int.
2770         (set_gsize): Parse argument handling increment or decrement.
2771         (box::top_level): Convert gsize to a string.
2773         * troff/input.cc (exit_troff): Make buf unsigned char [].
2774         Call to make_temp_iterator casts buf to char*.
2776         * Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.
2778         * Makefile.ccpg (depend.temp): Depends on $(YTABC).
2779         * Makefile.cpg (depend.temp): Likewise.
2781         * Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).
2783         * Makefile.comm: Add y.output to MOSTLYCLEANFILES.
2785 Thu Sep  3 08:01:55 1992  James Clark  (jjc at jclark)
2787         * tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.
2789 Tue Sep  1 18:24:53 1992  James Clark  (jjc at jclark)
2791         * Version 1.06 released.
2793         * Integrate mm 1.04.
2795 Fri Aug 28 11:28:19 1992  James Clark  (jjc at jclark)
2797         * Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.
2799 Thu Aug 27 11:03:33 1992  James Clark  (jjc at jclark)
2801         * afmtodit/afmtodit.pl: Add -n option that disables generation of
2802         ligatures command.
2803         * devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
2804         afmtodit. Regenerate.
2806         * tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
2807         @f back past the current position.
2809         * tmac/tmac.e: Change calls to @R so that comments are not part of
2810         arguments.
2812 Tue Aug 25 10:42:07 1992  James Clark  (jjc at jclark)
2814         * configure.in: Check for mkstemp with AC_HAVE_FUNCS.
2816         * acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
2817         check that we can link a call to a function declared in <stdio.h>.
2818         (GROFF_UNISTD_H): New macro.
2819         * configure.in: Call it.
2820         * Makefile.in: Document it.
2821         * include/posix.h: New file.
2822         * troff/troff.h: Don't include <osfcn.h>
2823         * troff/input.cc: Include posix.h.
2824         * libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
2825         osfcn.h.
2826         * indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
2827         Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
2828         <fcntl.h>.
2829         * indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
2830         * libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
2831         * libbib/search.cc (O_RDONLY): Delete definition.
2832         * refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
2833         Don't include <osfcn.h>.
2835         * acgroff.m4 (GROFF_TIME_T): New macro.
2836         * configure.in: Call it.
2837         * Makefile.in: Document it.
2839         * acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
2840         * configure.in: Call it.
2841         * Makefile.in: Document -DTRADITIONAL_CPP.
2842         * include/ptable.h: Don't include generic.h.
2843         (name2): Define it.
2845         * tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
2846         Afterwards remove [T1 and [T2.
2847         (ref*spec!0, ref*spec!2): Use T1 rather than T.
2848         (ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
2849         (ref*add-T2): Renamed from ref*add-T.
2850         (ref*add-T1): New macro.
2852 Mon Aug 24 11:11:11 1992  James Clark  (jjc at jclark)
2854         * acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.
2856         * libbib/index.cc: Include <fcntl.h>.
2857         (O_RDONLY): Define if necessary.
2858         (make_index_search_item, index_search_item_iterator::get_tag,
2859         index_search_item::check_files): Use O_RDONLY.
2860         * libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
2861         (O_RDONLY): Define if necessary.
2862         (search_list::add_file): Use O_RDONLY.
2863         * indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
2864         <sys/stat.h>.
2865         (S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
2866         (main): Use these.
2868         * libbib/index.cc (S_ISREG): Define it if necessary.
2869         (index_search_item::load): Use S_ISREG.
2871         * include/driver.h: Include <errno.h>.
2873 Sun Aug 23 11:32:18 1992  James Clark  (jjc at jclark)
2875         * eqn/box.cc (body_height): Increase default value to 85.
2876         (body_depth): Increase default value to 35.
2878 Fri Aug 21 05:34:42 1992  James Clark  (jjc at jclark)
2880         * eqn/pbox.h (SAVE_FONT_STRING): Define it.
2881         * eqn/box.cc (box::top_level): Hide use of \R in a string that is
2882         protected from expansion with \E.
2884         * acgroff.m4 (GROFF_PAGE): Use `case' to test domain.
2886         * Makefile (Makefile): New target.
2888         * Makefile.sub (configure, distfiles): New targets.
2890         * acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
2891         construct.
2893 Thu Aug 20 12:27:26 1992  James Clark  (jjc at jclark)
2895         * eqn/box.cc (param_table): Add body_height and body_depth.
2897         * eqn/lex.cc (def_table): Make circumflex in hat_def roman.
2899 Tue Aug 18 16:24:25 1992  James Clark  (jjc at jclark)
2901         * psbb/Makefile.sub: Don't link with libgroff.a.
2903         * acgroff.m4 (GROFF_PUTENV): New macro.
2904         * configure.in: Call GROFF_PUTENV.
2905         * Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
2906         * groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
2907         is defined.
2909         * troff/env.cc (distribute_space): Rename force_forward argument
2910         to force_reverse.  Reverse the list if force_reverse is true.
2912 Mon Aug 17 17:49:05 1992  James Clark  (jjc at jclark)
2914         * tmac/tmac.an: Don't define a string `T'. Just define Tm.
2916         * eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
2917         height or depth to be negative.  Guard against SUP_RAISE quantity
2918         being negative.
2920 Sat Aug 15 08:18:54 1992  James Clark  (jjc at jclark)
2922         * devps/generate/textmap: Add `an' (arrowhorizex).
2923         * tmac/tmac.ps: \(an overlaps horizontally.
2924         * tmac/tmac.dvi, tmac/tmac.tty: Add `an'.
2926         * devps/symbolchars: Add arrowverttp, arrowvertbt.
2927         * devps/textmap: Add arrowvertex.
2928         * eqn/delim.cc (delim_table): Add uparrow, downarrow and
2929         updownarrow delimiters.
2930         * tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.
2932         * tbl/table.cc (simple_entry::position_vertically,
2933         block_entry::position_vertically):  For a centered entry, perform
2934         the motion in two stages.
2936         * refer/refer.cc (split_punct): Don't call lookup_token if there
2937         is no token.
2939 Fri Aug 14 11:14:58 1992  James Clark  (jjc at jclark)
2941         * troff/input.cc (token::next): Delete token_node after copying
2942         token.
2944         * grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
2945         cur_point_size.
2947         * libdriver/printer.cc (printer::load_font): Delete old_font_table.
2949         * grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.
2951 Tue Aug 11 13:50:38 1992  James Clark  (jjc at jclark)
2953         * grops/ps.cc (usage): -b option takes an argument.
2955         * devps/prologue (PLG): New procedure.
2956         * grops/ps.cc (main, usage): New -g option.
2957         (ps_printer::~ps_printer):  If guess_flag is set, guess the paper
2958         length using PLG.
2960 Mon Aug 10 11:17:53 1992  James Clark  (jjc at jclark)
2962         * include/cset.h: Include <limits.h> if we have it.
2964         * libgroff/illegal.cc: New file.
2965         * include/lib.h (illegal_input_char): Use table.
2966         * troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
2967         * pic/lex.cc (ARG1): Renumber to 14.
2968         * eqn/lex.cc (ARG1: Likewise.
2970         * troff/Makefile.sub (majorminor.cc): Handle 3 part versions
2971         (eg 1.05.90) correctly.
2973 Sun Aug  9 13:35:43 1992  James Clark  (jjc at jclark)
2975         * tmac/tmac.e (sr): Deleted. Set $r and $R directly.
2976         Rename $r and $R registers to $v and $V.
2977         ($r, $R): Initialize to 0.
2978         (@v, @V): New macros.
2979         (sz): Call @v.
2980         (@M): Call @V.
2982         * troff/input.cc (main, usage): Add -R option that says not to
2983         load troffrc.
2984         * eqn/main.cc (main, usage): Rename -n to -R.
2986 Sat Aug  8 00:16:00 1992  James Clark  (jjc at jclark)
2988         * devps/DESC.in: Leave font positions 5-9 blank.
2989         * devdvi/DESC.in: Likewise.
2991         * grog/grog.pl: Handle `.PS <file' correctly.
2993         * troff/input.cc (input_stack::push): Improve error message when
2994         input stack limit exceeded.
2996 Fri Aug  7 13:08:16 1992  James Clark  (jjc at jclark)
2998         * refer/refer.cc (main): Fix typo in handling of `a' option.
3000         * refer/refer.cc (do_bib): In state START after a newline remain
3001         in state START.
3003         * groff/groff.sh: Deleted.
3004         * groff/Makefile.sub: Delete handling of groff.sh.
3006         * pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
3007         to determine whether to use \X'ps:...'.
3008         * tmac/troffrc: Set 0p register to 0.
3009         * tmac/tmac.ps: Set 0p register to 1.
3011         * groff/groff.cc: Support -X option. Give warning for -TXps and
3012         transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
3013         * tmac/troffrc: Support -r.X=1.
3015         * pic/troff.cc (troff_output::dot): Don't test
3016         zero_length_line_flag.
3018 Thu Aug  6 13:32:08 1992  James Clark  (jjc at jclark)
3020         * include/lib.h: Declare getopt() and friends unless
3021         STDLIB_H_DECLARES_GETOPT is defined.
3023         * doc/chars.tr: Delete.
3024         * man/groff_char.man: New file.
3026 Wed Aug  5 00:38:58 1992  James Clark  (jjc at jclark)
3028         * tmac/tmac.e (np, bu): Test \n($p with string expression in case
3029         user has changed register format.
3031 Mon Aug  3 11:22:18 1992  James Clark  (jjc at jclark)
3033         * groff/groff.cc: Get rid of device_table.  Get postprocessor from
3034         `postpro' command in DESC file.  Get spooler command from `print'
3035         command in DESC file.  Execute spooler command with /bin/sh.
3037         * groff/groff.cc: Split Unix-specific parts into...
3038         * groff/pipeline.c: New file.
3040         * LICENSE: Delete.
3041         * COPYING: New file.
3042         * all files: Update copyright notices.
3044         * Rearrange files.  Redo Makefiles.  Use autoconf.
3046 Sat Aug  1 09:36:50 1992  James Clark  (jjc at jclark)
3048         * troff/input.c (charinfo_to_node_list): Interpret character
3049         definition with escape_char of `\'.
3051 Tue Jul 28 12:20:12 1992  James Clark  (jjc at jclark)
3053         * lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
3054         Define INT_DIGITS as big enough for 64-bit integer.
3055         * lib/strtol.c: Don't include lib.h.
3056         * lib/lib.h: Delete ifdef __cplusplus stuff.
3058 Mon Jul 27 11:08:50 1992  James Clark  (jjc at jclark)
3060         * ps/devps/Makefile: Add DESC to DEVICEFILES.  Separate out rule
3061         for making DESC.  Make $(FONTS) depend on DESC. afmtodit should
3062         get DESC from current directory.
3064 Sun Jul 26 15:38:26 1992  James Clark  (jjc at jclark)
3066         * tbl/main.c (main): Always reset the line number when reading
3067         from stdin.
3069         * tbl/table.c (table::print_single_hline, table::print_double_hline,
3070         table::define_bottom_macro, table::do_row, table::do_top): Round
3071         vertical spacing up to vertical resolution.
3073 Fri Jul 24 14:32:07 1992  James Clark  (jjc at jclark)
3075         * ps/ps.h (enum resource_type): Avoid comma at end of
3076         enumerator-list.
3077         * dvi/dvi.c (class dvi_printer): Likewise.
3078         * dvi/tfmtodit.c (gf::load): Likewise.
3079         * refer/label.y (struct expression): Likewise.
3080         * refer/refer.c (class label_processing_state): Likewise.
3081         * refer/indxbib.c (do_file): Likewise.
3082         * troff/troff.c (enum warning_type): Likewise.
3083         * tbl/main.c (process_data): Likewise.
3084         * troff/charinfo.h (class charinfo):
3086 Wed Jul 22 09:17:58 1992  James Clark  (jjc at jclark)
3088         * dvi/devdvi/textt.map: Add entry for `-'.  Regenerate fonts.
3090 Tue Jul 21 11:39:26 1992  James Clark  (jjc at jclark)
3092         * groff.c: Move to new groff subdirectory.
3093         * groff/Makefile: New file.
3094         * Makefile: Remove handling of groff.c. Add groff to SUBDIRS.
3096         * man/mdate.sh: Use ls -L if supported.
3098         * Consolidate all header files produced by gendef into lib/defs.h.
3099         * lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
3100         Don't include path.h.
3101         * lib/Makefile (path.h): Don't generate.
3102         * troff/input.c: Include defs.h. Don't include config.h.
3103         * troff/Makefile (config.h): Don't generate.
3104         * refer/index.h: Don't include suffix.h.
3105         * refer/index.c: Include defs.h.
3106         * refer/indxbib.c: Include defs.h.
3107         * refer/refer.h, refer/lkbib.h: Don't include path.h. Include
3108         defs.h.
3109         * refer/Makefile (suffix.h, path.h): Don't generate.
3110         * groff.c: Don't include config.h. Include defs.h.
3111         * Makefile (config.h): Don't generate.
3112         (lib/defs.h): Generate.
3113         (topclean): Remove lib/defs.h.
3115 Mon Jul 20 10:12:57 1992  James Clark  (jjc at jclark)
3117         * lib/malloc.c, lib/getpagesize.h: Deleted.
3118         * Makefile: Add COOKIE_BUG configuration option.  Delete malloc
3119         related stuff.
3120         * lib/Makefile: Delete malloc-related stuff.
3121         * lib/new.c: Workaround COOKIE_BUG if necessary.
3123         * refer/lkbib.c, refer/indxbib.c: Don't include refer.h.  Include
3124         needed header files directly.
3125         * refer/refer.h: Omit definition of DEFAULT_INDEX.
3126         * Makefile: Include definition of DEFAULT_INDEX in path.h.
3128 Sun Jul 19 10:19:22 1992  James Clark  (jjc at jclark)
3130         * lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
3131         argument.
3132         * lib/font (font::load_desc, font::load): Don't split argument of
3133         unknown command.
3134         (font::handle_unknown_font_command): Change type.
3135         * ps/ps.c (ps_font::handle_unknown_font_command,
3136         handle_unknown_desc_command): Change type.
3137         * dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.
3139 Fri Jul 17 11:12:49 1992  James Clark  (jjc at jclark)
3141         * lib/font.h (font::handle_unknown_font_command): Add file and
3142         line arguments.
3143         * lib/font.c (font::handle_unknown_font_command):
3144         * ps/ps.c (ps_font::handle_unknown_font_command):
3145         * dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
3146         lineno arguments.  Use _with_file_and_line functions for error
3147         reporting.
3149         * lib/fontfile.c (font::unknown_desc_command_handler): New static
3150         data member.
3151         * lib/font.c (font::set_unknown_desc_command_handler): New
3152         function.
3153         (font::load_desc): For unknown commands, call
3154         unknown_desc_command_handler if not null.
3155         * lib/font.h (class font): Declare them.
3156         (FONT_COMMAND_HANDLER): New typedef.
3157         * ps/ps.c (handle_unknown_desc_command): New function.
3158         (main): Set bflag if we had a -b option. Call
3159         font::set_unknown_desc_command_handler.
3160         (broken.h): Don't include.
3161         * ps/Makefile: No need for broken.h.  Pass BROKEN_SPOOLER_FLAGS to
3162         submake 
3163         * ps/devps/Makefile: Add `broken' command to DESC file using
3164         BROKEN_SPOOLER_FLAGS.
3166         * macros/tmac.e ([, ]): Add as synonyms for { and }.
3168         * macros/tmac.e ($p): Only exdent if \$3 > 0.
3170         * macros/tmac.e (@R, @S): New macros.
3171         Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
3172         ?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
3173         Declare $H, $[0-9], .. macros with @S.
3174         Declare |0, |1, |2, |3 strings with @S.
3176         * macros/tmac.e (@S): Rename to @U.
3178         * macros/tmac.e (@z): Define @b and bp as empty instead of
3179         deleting them,
3181         * macros/tmac.e (@m): Deleted.
3182         (@h): Don't call @m.
3183         (@z): Don't set @m trap.
3185         * macros/tmac.e ($h, $f): Define |z as empty string.
3187         * macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
3188         (@q): Likewise.
3190         * macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
3191         removing them.
3192         ()f): Likewise for * register.
3194         * macros/tmac.e (sr): Don't ever scale the arguments. If the third
3195         argument is missing, don't change $R.  Call sr with three
3196         arguments when initializing.
3198 Thu Jul 16 12:17:12 1992  James Clark  (jjc at jclark)
3200         * macros/tmac.e (sr): New macro.
3201         Initialize $r and $R using sr.
3203         * macros/tmac.e (,): Delete \*(#[.
3205         * troff/env.c (set_tabs): Read the tab type even if the position
3206         is bad.  Allow the position of the first tab stop to be negative.
3208 Wed Jul 15 13:14:37 1992  James Clark  (jjc at jclark)
3210         * refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
3211         _POSIX_VERSION.
3212         * refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
3213         rather than -DPATHCONF_MISSING.
3214         * Makefile: Get rid of PATHCONF_MISSING.
3216         * refer/map.c: New file.
3217         * refer/index.c: Interface to mmap through map.c.  Rename map_size
3218         to map_len.
3219         * refer/Makefile: Handle map.c.
3220         * Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.
3222 Tue Jul 14 14:15:20 1992  James Clark  (jjc at jclark)
3224         * Makefile: RANLIB should be `true' if there is no ranlib.
3225         * lib/Makefile (libgroff.a): Simplify.
3226         * driver/Makefile (libdriver.a): Simplify.
3228         * Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
3229         * groff.c (WCOREDUMP): Use WCOREFLAG.  Define only if not already
3230         defined.
3232 Sat Jul 11 09:19:17 1992  James Clark  (jjc at jclark)
3234         * troff/env.c (compare_ranges): Declare as extern "C".
3236         * troff/input.c (init_registers): Use `struct tm' instead of `tm'.
3238         * macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.
3240 Wed Jul  8 11:52:27 1992  James Clark  (jjc at jclark)
3242         * pic/troff.c (troff_output::text): Merge in grops_output::text,
3243         but conditionalize use of \X based on \*(.T.
3244         (grops_output::*): Deleted.
3245         * pic/output.h: Delete declaration of make_grops_output.
3246         * pic/main.c (main): Ignore -p and -x.  driver_extension_flag is 1
3247         by default. -n sets it to 0.
3248         (usage): Corresponding changes.
3249         * groff.c (main): Don't pass -x or -p to pic.
3250         * groff.sh: Likewise.
3252         * ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
3253         to be non-zero.
3255         * ps/devps/afmtodit: Change calculation of asc_boundary and
3256         desc_boundary.  Make these bounds inclusive.
3257         * ps/devps: Regenerate font files.
3259 Tue Jul  7 13:14:15 1992  James Clark  (jjc at jclark)
3261         * macros/tmac.latin1: New file.
3262         * macros/tmac.tty-char: Use tmac.latin1.
3263         (tmac.tty-tr): Deleted.
3264         * macros/Makefile: Install tmac.latin1.
3265         * macros/tmac.dvi: Use tmac.latin1.
3266         * macros/troffrc: Translate \[char160] onto no-break space here.
3267         * macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.
3269 Mon Jul  6 11:06:52 1992  James Clark  (jjc at jclark)
3271         * macros/tmac.Xps: Use `do' request.
3273         * macros/tmac.ps: Use `do' request.
3275         * macros/tmac.e (@C): Use `do' request.
3277         * macros/tmac.X, macros/tmac.Xps: Moved from xditview.
3278         * macros/Makefile: Install tmac.X*.
3280         * tty/tmac.tty, tty/tmac.tty-char: Move to macros.
3281         * tty/Makefile: Don't install tmac.tty*.
3282         * macros/Makefile: Install tmac.tty*.
3284         * dvi/tmac.dvi: Move to macros.
3285         * dvi/Makefile: Don't install tmac.dvi.
3286         * macros/Makefile: Install tmac.dvi.
3288         * ps/tmac.ps*: Move to macros.
3289         * ps/Makefile: Don't install tmac.ps*.
3290         * macros/Makefile: Install tmac.ps*.
3292         * eqn/box.c: Provide draw_lines parameter corresponding to -D
3293         option.
3294         * macros/eqnrc: Set draw_lines parameter based on device.
3295         * groff.c: Don't pass -D flag to eqn.
3296         * groff.sh: Likewise.
3297         * eqn/main.c: Warn about use of -D.
3299         * troff/input.c (process_startup_file): New function.
3300         (main): Call process_startup_file().
3301         * macros/troffrc: New file.
3302         * macros/Makefile: Install troffrc.
3303         * groff.c (main): Don't pass extra -m option to troff. For a 
3304         pseudo device pass the name of the pseudo device to troff using
3305         -d.
3306         * groff.sh: Likewise.
3307         * groff.c (possible_command::prepend_arg): Deleted.
3309         * troff/input.c (do_request): New function.
3310         (init_input_requests): Bind "do" to do_request.
3312         * eqn/main.c (main): Instead of loading eqnchar from device directory,
3313         load eqnrc from macro directory.
3314         * macros/eqnrc: New file.
3315         * macros/Makefile: Install eqnrc.
3316         * ps/devps/eqnchar: Deleted.
3317         * ps/devps/Makefile: Don't install eqnchar.
3318         * dvi/devdvi/eqnchar: Deleted.
3319         * dvi/devdvi/Makefile: Don't install eqnchar.
3320         * groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
3321         variable optM.
3323         * lib/device.[ch]: New files.
3324         * lib/font.h (font::set_device_name, font::get_device_name):
3325         Deleted.
3326         * lib/fontfile.c: Use device.h.
3327         * lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
3328         * troff/input.c: Delete definition of `device'.
3329         (main): Don't initialize device.
3330         * troff/troff.h: Include device.h rather than declaring device.
3331         * troff/Makefile: No need to handle DEVICE.
3332         * driver/input.c: Include device.h. Don't use
3333         font::{set,get}_device_name.
3334         * groff.c, Makefile: Rename device.h to config.h.
3335         * groff.c: Use library device variable.
3336         * eqn/main.c: Use library device variable.
3337         * eqn/Makefile: No need to handle DEVICE.
3339         * lib/searchpath.[ch]: New files.
3340         * lib/Makefile: Handle searchpath.[ch].
3341         * troff/input.c (open_file, init_dirs): Deleted.
3342         (macro_dirs): Deleted.
3343         (open_mac_file, macro_source): Use class search_path.
3344         (add_string, struct string_list): Move definition.
3345         (main): Change -M option to use macro_path. Delete call to
3346         init_dirs().
3347         * lib/fontfile.c (font::command_line_font_dir, font::open_file):
3348         Rewrite to use class search_path.
3349         * lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
3350         * lib/Makefile: fontfile.c depends on searchpath.h.
3351         * lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
3352         MACROPATH.
3353         * lib/macropath.[ch]: New files.
3354         * troff/Makefile: No need to handle MACROPATH.
3356         * troff/input.c: Delete DUMP code.
3357         * lib/fontfile.c, lib/font.h: Delete
3358         font::forget_command_line_font_dirs.
3360         * troff/input.c (push_token): New function.
3361         (handle_first_page_transition): Use push_token().
3362         (process_input_stack): Change handling of a space at the beginning
3363         of the line.
3365 Sun Jul  5 17:11:09 1992  James Clark  (jjc at jclark)
3367         * troff/input.c (font_dirs): Delete unused variable.
3369         * eqn/lex.c (do_set): Correct error messages.
3371 Sat Jul  4 10:20:55 1992  James Clark  (jjc at jclark)
3373         * troff/input.c (do_define_string): Allow the string name to be
3374         followed immediately by a tab.
3375         (define_character): Likewise.
3377 Thu Jul  2 10:59:15 1992  James Clark  (jjc at jclark)
3379         * ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
3380         be negative.
3382         * troff/input.c (input_iterator::is_file): New virtual function.
3383         (file_iterator::is_file): New function.
3384         (input_stack::end_file): New function.
3385         (input_stack::next_file): Handle the situation where there is no
3386         file on the input stack correctly.  Avoid making two passes over
3387         the input stack.
3388         (next_file): Make the filename optional; in this case call
3389         input_stack::end_file().
3391 Wed Jul  1 10:17:25 1992  James Clark  (jjc at jclark)
3393         * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
3394         produce a real _ charater when the current font is CW and _
3395         otherwise.
3397         * lib/errarg.c (errarg::errarg(const char *)): Invert conditional
3398         expression to work around gcc 2.2 bug.
3400 Wed Jun 24 08:12:24 1992  James Clark  (jjc at jclark)
3402         * eqn/main.c (main): Don't give an error if we can't find eqnchar.
3404         * troff/env.c (environment::add_padding): New function.
3405         (environment::add_char): Use add_padding().
3406         (environment::space): Likewise.
3407         (environment::wrap_up_field): Add some padding if there is none
3408         and there's no current tab.
3409         * troff/env.h: Declare environment::add_padding.
3411 Mon Jun 22 08:37:45 1992  James Clark  (jjc@jclark)
3413         * pic/pic.y: undef fmod and rand before declaring them.
3415 Sun Jun 14 11:40:18 1992  James Clark  (jjc@jclark)
3417         * troff/input.c (main): If the DESC file specifies a font name of
3418         0, then leave the corresponding font position empty.
3420         * nroff.sh: New file.
3421         * Makefile (install.nobin): Install nroff.sh.
3423         * tty/devlatin1/R.proto: Add ao as synonym for de.
3424         * tty/tmac.tty-char: Define ao as o.
3426         * tty/dev{ascii,latin1}/R.proto: Add aq.
3427         * tty/tmac.tty-char: Delete definition of aq.
3429 Mon Jun  8 11:43:20 1992  James Clark  (jjc@jclark)
3431         * troff/input.c (init_charset_table): Don't translate 0240.
3432         * ps/tmac.ps: Translate char160 to space.
3433         * dvi/tmac.dvi: Likewise.
3434         * tty/tmac.tty: Likewise.
3436 Sun Jun  7 10:52:35 1992  James Clark  (jjc@jclark)
3438         * dvi/tmac.dvi: Add support for all Latin-1 characters.
3440         * macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
3441         \(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
3442         \(oe, \(r?, \(r!.
3444         * tty/tmac.tty-char: Add \(ah.
3446         * dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
3447         No need to define \(FM and \(!/. Conditionalize all character
3448         definitions.
3450         * ps/devps/lgreekmap: Add +h, +f, +p.
3452         * ps/tmac.psnew: New file.
3453         * ps/Makefile: Install tmac.psnew.
3455         * troff/input.c (charinfo_to_node_list): Don't ever interpret
3456         character definitions in compatible mode.
3458         * troff/input.c (remove_character): New function.
3459         (init_input_requests): Bind remove_character to "rchar".
3461         * ps/tmac.psold: New file.
3462         * ps/Makefile: Install tmac.psold.
3463         * ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
3464         characters into tmac.psold.  Make these definitions unconditional.
3466         * tty/tmac.tty-char: Define \n(_C only if it is not already defined.
3468         * ps/tmac.ps: Don't define \('c and \('C.
3470         * ps/devps/textmap: Move Greek characters to...
3471         * ps/devps/symbolchars:
3473 Sat Jun  6 16:41:17 1992  James Clark  (jjc@jclark)
3475         * ps/devps/text.enc: Add quotesingle.
3476         * ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
3477         * tty/tmac.tty-char: Likewise.
3478         * dvi/devdvi/texmi.map: Add +h, +f, +p.
3479         * dvi/devdvi/texi.map: Add Fn.
3480         * dvi/devdvi/msam.map: Add lz.
3481         * dvi/tmac.dvi: Handle Bq, bq, aq.
3483         * pic/lex.c (get_token): Recognize 'th.
3484         * pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.
3486 Fri Jun  5 11:20:46 1992  James Clark  (jjc@jclark)
3488         * ps/devps/textmap: Move di, mu, +- to...
3489         * ps/devps/symbolchars:
3491         * macros/tmac.s (@XS): Don't call par@reset or fi.
3492         (XA): Call LP. Turn off adjustment. Reduce line length.
3494         * macros/tmac.s: Initially alias XS to LP.
3495         (XS): Rename to @XS.
3496         (cov*ab-init): Alias XS to @XS.
3498 Thu Jun  4 09:12:05 1992  James Clark  (jjc@jclark)
3500         * troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
3501         TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
3502         (token::is_size, token::changes_env): Deleted.
3503         * troff/number.c (parse_term): No need to process \s explicitly.
3504         Call tok.next() only after scale indicator has been processed.
3505         * troff/input.c (do_overstrike, do_bracket): No need to process \s,
3506         \f etc explicitly.
3507         (token::next): Handle \s, \f, \S, \H immediately rather than
3508         returning them as tokens.
3509         (token::operator==, token::description, token::add_to_node_list,
3510         token::process): Remove handling of deleted tokens.
3512         * troff/env.c (environment::add_char): When adding padding
3513         indicator character, call start_line() if necessary.
3515 Wed Jun  3 09:55:50 1992  James Clark  (jjc@jclark)
3517         * ps/devps/afmtodit: Don't output 0 kerns.
3519         * ps/devps/afmtodit: Remove directory from name of encoding in
3520         font description file.
3522         * ps/devps/afmtodit: Improve error messages.
3524         * ps/devps/afmtodit: Allow DESC file to be specified with -d.
3526         * ps/devps/Makefile: Incorporate FontMakefile. Rework.
3527         * ps/devps/FontMakefile: Deleted.
3528         * ps/devps/afmname: New file.
3530         * ps/devps/symbol.sed: New file.
3531         * ps/devps/symbol.diff: Deleted.
3532         * ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
3533         Generate zapfdr.afm from zapfd.afm.
3535         * tty/tmac.tty (tty-char): Prefix definition with ".
3537         * macros/tmac.an (TP): Don't start a diversion if one has already
3538         been started.
3540         * tty/tmac.tty-char: Add Latin-1 characters.
3542         * tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.
3544 Tue Jun  2 00:54:34 1992  James Clark  (jjc@jclark)
3546         * tbl/table.c (table::allocate): Delete old_vline, old_entry.
3547         Move declaration of struct horizontal_span.
3549         * tbl/table.c (table::table): Initialize span_list.
3550         (table::~table): Delete span_list.
3552         * lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.
3554         * ps/devps/Makefile: Avoid dependency on GNU make.
3556         * ps/tmac.ps: Check that character does not already exist before
3557         defining it.
3559         * tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
3560         \(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
3561         \(ru, \(ul, \(br, \(bv, \(sl which are in the font description
3562         files.
3564         * tty/tmac.tty-char: New file.
3565         * tty/Makefile: Install tmac.tty-char.
3566         * tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
3567         tmac.tty-char.
3569         * tty/tmac.tty: Fix definition of \(34.
3571         * tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
3572         bracket-drawing characters onto |. Add *o.
3574         * troff/env.c (environment::wrap_up_tab): Increment field_spaces
3575         only if current_field.
3577         * troff/dictionary.c (dictionary::lookup): Free old_table after
3578         rehashing. 
3580 Mon Jun  1 10:15:22 1992  James Clark  (jjc@jclark)
3582         * tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
3583         whose glyphs are identical to glyphs of some Roman character.
3585         * tty/devlatin1/R.proto (bu): Deleted.
3586         * tty/devascii/R.proto (bu): Deleted.
3587         * tty/tmac.tty: Add definition of \(bu.
3589         * eqn/main.c (do_file): Pass FILE as argument.
3590         (main): Automatically load eqnchar.  New options -F and -n.
3591         Pass do_file an opened FILE.
3592         * groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
3593         No need to include font.h.
3594         * groff.sh: Likewise.  Don't need to use - for standard input.
3595         Prefix files with -- if first file starts with -.
3597         * macros/tmac.e: Conditionalize use of \$* on \n(.g.
3599         * troff/env.c (environment::possibly_break_line): Don't set line
3600         to 0 across call to output_line().  Don't call output_line() until
3601         after discarding nodes after break.
3603 Sun May 31 10:45:29 1992  James Clark  (jjc@jclark)
3605         * request.h (macro::empty): Declare it.
3606         * input.c (macro::empty): New method.
3607         (interpolate_macro):  Don't give a WARN_SPACE if the two-character
3608         macro is empty.
3610 Sat May 30 10:27:15 1992  James Clark  (jjc@jclark)
3612         * troff/env.c (environment::start_field): Decrement space_total
3613         when a space is frozen.
3615 Fri May 22 14:34:38 1992  James Clark  (jjc@jclark)
3617         * macros/tmac.an (R): Delete macro.
3619         * troff/input.c (get_copy, token::next): Support \# (like \" but
3620         newline is ignored).
3622         * troff/input.c (token::next): Fix error message in 'Y' case.
3624 Thu May 21 09:26:24 1992  James Clark  (jjc@jclark)
3626         * eqn/delim.c (define_extensible_string): Recognize any prefix of
3627         a delimiter name.
3629 Fri May 15 10:20:41 1992  James Clark  (jjc at jclark)
3631         * c++test.c: Include <osfcn.h>.
3633         * lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
3634         <errno.h> doesn't.
3636 Fri May  8 09:37:19 1992  James Clark  (jjc at jclark)
3638         * tbl/table.c (table::divide_span): Don't count column separation
3639         if expand was specified.
3641         * tbl/main.c (process_format): Don't ignore width specs in
3642         continued format.  Give warning for changing equal widths or
3643         column separation in continued format.
3644         (process_data): Set column separation, minimum width, equal
3645         columns at end of table.
3647 Thu May  7 08:50:40 1992  James Clark  (jjc at jclark)
3649         * troff/node.c (kern_pair_node::add_discretionary_hyphen,
3650         node::add_discretionary_hyphen): Use soft_hyphen_char.
3651         (set_soft_hyphen_char): New function.
3652         (init_node_requests): Bind to shc.  Initialize soft_hyphen_char.
3654         * Makefile (c++tested): Give more helpful message if test fails.
3656 Tue May  5 10:58:39 1992  James Clark  (jjc at jclark)
3658         * troff/input.c (init_charset_table): Translate 0240 to
3659         an unbreakable space.
3661         * troff/token.h (token::hyphen_indicator): New function.
3662         * troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
3663         translation.
3664         * troff/input.c (translate): Allow translation to \%.
3665         * troff/node.c (node::add_char): Handle
3666         TRANSLATE_HYPHEN_INDICATOR.     
3667         (make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.
3669         * troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
3670         for \(hy.
3672         * tty/devlatin1/R.proto: \(hy and - should print as 055.
3674 Tue Apr 21 09:24:42 1992  James Clark  (jjc at jclark)
3676         * groff.c (run_commands): If the last command gets a SIGPIPE send
3677         a SIGPIPE to all children than haven't yet terminated.  When
3678         command terminates, set pid field to -1.
3680 Fri Apr 17 11:20:48 1992  James Clark  (jjc at jclark)
3682         * groff.c (main): Pass an appropriate -filename option to gxditview.
3684 Thu Apr 16 15:11:40 1992  James Clark  (jjc at jclark)
3686         * Makefile.bd (install): Remove existing program before copying.
3688         * Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
3689         programs which have Unix counterparts to be installed with
3690         user-specified prefix.
3692         * troff/input.c (exit_troff): Don't check if exit_started.
3693         (exit_request): Don't call exit_troff if exit_started.
3695         * Makefile.bd (install.mm): Rename to install.dwbmm.
3697 Tue Apr 14 10:05:10 1992  James Clark  (jjc at jclark)
3699         * driver/input.c (do_file): Add missing break for '#' case.
3701 Mon Apr 13 10:11:02 1992  James Clark  (jjc at jclark)
3703         * troff/input.c (input_stack::clear):  Clear past any boundaries and
3704         then add the boundaries back.
3706         * troff/input.c (exit_troff): Return immediately if already
3707         exiting.
3709         * macros/tmac.s (pg@end-text): New macro.  Use pg@end-text for the
3710         end macro.
3711         (pg*end-page): If the text has ended and there are no more
3712         footnotes or keeps, exit.
3714         * macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.
3716         * troff/input.c (init_charset_table): Make \(rq transparent by
3717         default.
3719         * macros/tmac.an: Define lq and rq strings.
3721         * macros/tmac.s (Q, U): Define as \(lq and \(rq.
3723 Sun Apr 12 12:54:37 1992  James Clark  (jjc at jclark)
3725         * troff/env.c (environment::final_break): New function.
3726         (environment::newline): Set prev_line_interrupted to 2 if
3727         exit_started.
3728         * troff/env.h: Declare environment::final_break.
3729         * troff/input.c (exit_troff): Call environment::final_break()
3730         instead of environment::do_break().
3732         * macros/Makefile: Install man.local if $(MACRODIR)/man.local
3733         doesn't already exist.
3734         * macros/man.local: New file.
3735         * macros/tmac.an: Load man.local.
3736         * macros/man.ultrix: New file.
3738 Sat Apr 11 17:32:04 1992  James Clark  (jjc at jclark)
3740         * troff/input.c (exit_groff): Rename to...
3741         (exit_troff): New function.
3743         * troff/div.c (exit_started, done_end_macro,
3744         seen_last_page_ejector): New global variables.
3745         (began_page_in_end_macro): New static variable.
3746         (exit_flag): Deleted.
3747         (top_level_diversion::top_level_diversion): Initialize
3748         last_page_count.
3749         (top_level_diversion): More elaborate test for whether
3750         cleanup_and_exit() should be called.
3751         Set began_page_in_end_macro if the end macro isn't yet finished.
3752         * troff/div.h (top_level_diversion::last_page_count): New data
3753         member.
3754         (top_level_diversion::set_last_page): New function.
3755         (exit_started, done_end_macro, seen_last_page_ejector): Declare.
3756         * troff/env.c (do_break): Zero prev_line_interrupted.
3757         * troff/input.c (exit_flag): Delete declaration.
3758         (LAST_PAGE_EJECTOR): New magic cookie.
3759         (token::next): Handle LAST_PAGE_EJECTOR.
3760         (exit_groff): Set exit_started and done_end_macro instead of
3761         exit_flag.  Call top_level_diversion::set_last_page.  Push a
3762         LAST_PAGE_EJECTOR instead of calling push_page_ejector().  Do
3763         another ejection after setting seen_last_page_ejector.
3765 Thu Apr  9 04:37:11 1992  James Clark  (jjc at jclark)
3767         * etc/grog.sh, etc/grog.sh: Recognize -me sh macro.
3769         * macros/tmac.e (TH): Make sure there's room for the initial
3770         header.
3772         * macros/tmac.s (par@init): Make PD and DD at least \n(.V.
3773         Set FVS in points rather than units.
3775 Mon Apr  6 11:21:32 1992  James Clark  (jjc at jclark)
3777         * troff/div.c (top_level_diversion::add_trap): Don't consider the
3778         position of empty slots.
3780 Fri Apr  3 10:46:45 1992  James Clark  (jjc at jclark)
3782         * ps/devps/S: Fix height and depth of parenrightex.
3783         * ps/devps/symbol.diff: Regenerate.
3785 Sat Mar 28 21:17:52 1992  James Clark  (jjc at jclark)
3787         * tmac.e (u): Do underlining as in -mgs.
3789 Fri Mar 27 09:23:44 1992  James Clark  (jjc at jclark)
3791         * tty/tty.c (tty_printer::end_page): If overstriking is
3792         suppressed, still turn overstruck horizontal and vertical lines
3793         into +.
3795         * lib/new.c: Back out Feb 24 change; no longer needed with gcc
3796         2.1.
3798         * refer/label.y (format_expr::evaluate): Avoid use of %0*d.
3800 Wed Mar 18 09:29:10 1992  James Clark  (jjc at jclark)
3802         * Version 1.05 released.
3804 Tue Mar 17 16:50:45 1992  James Clark  (jjc at jclark)
3806         * tty/tty.c: Instead of keeping an array of glyphs and then
3807         sorting it, keep a ordered linked list of glyphs for each line.
3809         * driver/driver.h: Include stddef.h.
3811         * tty/tty.c (compare_glyph):
3812         * refer/refer.c (rcompare):
3813         * troff/env.c (compare_ranges): Arguments of qsort comparison
3814         function should be const void *.
3816         * troff/number.c (parse_term):
3817         * dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
3818         switch statement.
3820         * refer/label.y (consider_authors): Don't access variables
3821         constructed under a condition outside that condition: put braces
3822         round for statement containing declaration; redeclare use of same
3823         variable later.
3825         * pic/pic.y (text_expr): Delete production that allows
3826         parenthesised text_expr.
3827         (expr): Allow a conditional_expr to appear in parentheses.
3828         (conditional_expr): Rename to any_expr.
3830         * mm: Install new version 1.01 from jh.
3832         * lib/font.c (font::get_width): Cache scaled widths.
3833         (font::font): Initialize widths_cache.
3834         (font::~font): Destroy widths_cache.
3835         * lib/font.h: Add font::widths_cache. Declare font_widths_cache.
3837 Mon Mar 16 10:16:10 1992  James Clark  (jjc at jclark)
3839         * c++test.c, c++test.ref: New files.
3840         * Makefile: Check that the C++ compiler works.
3842         * ps/tmac.pspic (PSPIC): Do a break.
3844         * ps/tmac.ps: Move definition of PSPIC into...
3845         * ps/tmac.pspic: New file.
3846         (PSPIC): Draw box around picture, but make it invisible to grops.
3847         * ps/tmac.ps: Load tmac.pspic.
3848         * ps/Makefile: Install tmac.pspic.
3850 Sun Mar 15 14:18:08 1992  James Clark  (jjc at jclark)
3852         * lib/font.c (scale_round): If n is negative,
3853         subtract .5 before truncating floating point result.
3855         * lib/fontfile.c: Include <errno.h>.
3857 Tue Mar 10 14:17:03 1992  James Clark  (jjc at jclark)
3859         * driver/input.c (get_char): Inline. Don't update current_lineno.
3860         Change callers to up date current_lineno if necessary.
3861         Use get_char() instead of getc(current_file).
3863 Sun Mar  8 18:05:28 1992  James Clark  (jjc at jclark)
3865         * ps/tmac.ps: Fix up spacing of \(mo and \(nm.
3867 Fri Mar  6 19:38:58 1992  James Clark  (jjc at jclark)
3869         * tty/tty.c (tmac.tty): Define \(rg as (R).
3871 Tue Mar  3 10:11:25 1992  James Clark  (jjc at jclark)
3873         * lib/lib.h: New define a_delete.
3874         * Use a_delete instead of delete when deleting an array of objects
3875         without destructors.
3877         * lib/lib.h: Rename adelete to ad_delete.
3878         * Change uses of adelete.
3880 Mon Mar  2 12:41:05 1992  James Clark  (jjc at jclark)
3882         * eqn/eqn.y: Include lib.h.
3884         * troff/node.c (grow_font_table): Delete old_font_table.
3886         * mm: Install new version from jh.
3888 Fri Feb 28 10:42:23 1992  James Clark  (jjc at jclark)
3890         * tbl/table.h (format_type): Make global instead of local to class
3891         entry_format.  Prefix enumerators with FORMAT_.
3892         * tbl/table.c, tbl/main.c: Corresponding changes.
3893         * refer/token.h (token_type): Make global.  Prefix enumerators
3894         with TOKEN_.
3895         * refer/token.[ch]: Corresponding changes.
3896         * Makefile: Get rid of -DNO_NESTED_TYPES configuration option.
3898         * troff/div.c (node::set_vertical_size): Don't name argument.
3900 Thu Feb 27 10:29:19 1992  James Clark  (jjc at jclark)
3902         * Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
3903         * lib/lib.h: Define adelete accordingly.
3904         * pic/object.c (graphic_object::graphic_object):
3905         * tbl/main.c (format::~format):
3906         * tbl/table.c (table::~table):
3907         * refer/ref.c (reference::~reference, reference::merge,
3908         reference::insert_field, reference::delete_field): Use adelete.
3910         * Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
3911         * refer/token.h:
3912         * tbl/table.h: Corresponding changes.
3914         * common.c (common_output::dashed_arc, common_output::dotted_arc):
3915         Ensure total_angle is positive.
3917 Wed Feb 26 08:49:26 1992  James Clark  (jjc at jclark)
3919         * refer/ref.c (reference::merge, reference::insert_field,
3920         reference::delete_field): Avoid delete[0].
3922         * refer/token.c (init_special_chars): Move calls to cmupper
3923         outside calls to init_two_char_letter to work around bug in gcc
3924         2.0.
3926 Mon Feb 24 14:20:00 1992  James Clark  (jjc at jclark)
3928         * lib/new.c (operator new): Use __builtin_new for g++.
3930         * pic/object.c (graphic_object::~graphic_object):  Don't use
3931         delete [] on 0.
3933         * pic/object.c (output::compute_scale): Initialize max_width and
3934         max_height.
3936 Sat Feb 15 09:55:20 1992  James Clark  (jjc at jclark)
3938         * troff/input.c (write_request): Call fflush.
3940         * troff/node.h (class composite_node): Move declaration to node.c
3941         * troff/input.c (charinfo_to_node): Rename to ...
3942         (charinfo_to_node_list): Return node list rather than composite
3943         node.
3944         * troff/node.c (make_composite_node): New function.
3945         (make_node, add_char): Call make_composite_node instead of
3946         charinfo_to_node.
3947         (class composite_node): Add a tfont * member.  Delete font_size
3948         member.
3949         (composite_node::composite_node, composite_node::copy,
3950         composite_node::size): Corresponding changes.
3951         (composite_node::tprint): Provide constant spacing, emboldening
3952         and track kerning as specified in tfont.
3953         (composite_node::width): Change width calculation accordingly.
3954         * troff/env.h (environment::composite): New member.
3955         (environment::is_composite, environment::set_composite): New
3956         functions.
3957         * troff/env.c (environment::environment): Initialize composite.
3958         * troff/input.c (charinfo_to_node): Call
3959         environment::set_composite.
3960         * troff/node.c (make_composite_node, make_glyph_node): Use the
3961         plain version of the tfont if the environment is composite.
3963         * troff/node.c (font_info::get_space_width): Additional argument
3964         giving space_size.  Handle constant space correctly. Scale by
3965         space_size unless constant spaced.
3966         (env_sentence_space_width): New function.
3967         * troff/node.h: Declare it.
3968         * troff/env.h (environment::get_space_size,
3969         environment::get_sentence_space_size,
3970         environment::get_narrow_space_width,
3971         environment::get_half_narrow_space_width): Make inline.
3972         (environment::get_space_width): Make inline.  Just call
3973         env_space_width.
3974         * troff/env.c: Delete definitions for funtions made inline.
3975         (environment::space_newline, environment::space): Use
3976         env_sentence_space_width(). Don't scale by space_size.
3977         * troff/node.h: Move declarations of env*space_width() functions
3978         into env.h.
3980 Sat Feb  8 09:30:22 1992  James Clark  (jjc at jclark)
3982         * macros/tmac.s (PS): Don't try to set negative indent.
3984 Thu Feb  6 09:00:35 1992  James Clark  (jjc at jclark)
3986         * pic/pic.y: Fix min function.
3988 Tue Jan 28 07:52:29 1992  James Clark  (jjc at jclark)
3990         * man/mdate.sh: Clear LANGUAGE.
3992 Sun Jan 19 13:02:41 1992  James Clark  (jjc at jclark)
3994         * pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
3995         * pic/lex.c: New COMMAND keyword.
3996         * pic/pic.y (print_args, print_arg): New rules.
3997         (placeless_element): Use print_args for PRINT.
3998         New COMMAND element.
4000 Tue Jan  7 13:14:31 1992  James Clark  (jjc at jclark)
4002         * troff/input.c (terminal): Handle missing argument correctly.
4004         * pic/pic.y (text_expr): New rule.
4006         * pic/pic.y: Implement := operator.
4008 Sun Jan  5 10:23:02 1992  James Clark  (jjc at jclark)
4010         * etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
4011         mdoc.
4013 Sat Jan  4 14:42:26 1992  James Clark  (jjc at jclark)
4015         * ps/devps/dingbatsrmap: Include this in the distribution.
4017         * macros/tmac.doc: Replace with new version from 2nd Networking
4018         Release. Fix loading of doc-* files.
4019         * macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
4020         * macros/tmac.doc.old: New file.  Apply fixes that had been
4021         applied to old tmac.doc.
4022         * macros/tmac.andoc: Check that we're running under groff.
4023         * macros/Makefile: Rework.
4025 Fri Jan  3 13:27:51 1992  James Clark  (jjc at jclark)
4027         * tbl/table.h (format_type): 
4028         * refer/token.h (token_type): If NESTED_TYPES is defined, use
4029         typedef to make these types visible at file scope.
4030         * Makefile: Add NESTED_TYPES configuration option.
4032         * troff/div.c (mark): At the top level use the value of
4033         nl_reg_contents rather than the current vertical position.
4035 Thu Jan  2 10:34:51 1992  James Clark  (jjc at jclark)
4037         * tty/tty.c: Implement \D for horizontal or vertical lines.
4038         (tty_printer::set_char): Use vec_used+2 as serial number.
4039         Don't allow size of vector to exceed USHRT_MAX-2.
4040         Split off part into...
4041         (tty_printer::add_char): New function.
4042         (tty_printer::draw): New function.
4043         (compare_glyph): Handle equal serial numbers.
4044         (tty_printer::end_page): Handle overstruck characters from \D.
4045         (main, usage): Implement -d option.
4047 Mon Dec 23 10:37:51 1991  James Clark  (jjc at jclark)
4049         * tbl/main.c (process_format):
4050         * eqn/text.c (split_text):
4051         * troff/input.c (token::next): Use inner block for declarations
4052         with initializers in switch statement.
4054 Mon Dec 16 20:52:03 1991  James Clark  (jjc at jclark)
4056         * pic/common.c (common_output::dash_line): Cope with zero-length
4057         lines.
4059 Sun Nov 17 12:04:08 1991  James Clark  (jjc at jclark)
4061         * Version 1.04 released.
4063 Wed Nov 13 05:27:21 1991  James Clark  (jjc at jclark)
4065         * macros/tmac.an (TH): Define a macro an-init to define variables
4066         based on command line arguments.
4067         (an-header): Call it.
4069 Sun Nov  3 12:07:34 1991  James Clark  (jjc at jclark)
4071         * Makefile (install.mm): Rename to install.dwbmm.
4073         * Makefile: Integrate mm.
4074         * mm: New directory.
4076 Wed Oct 30 10:11:34 1991  James Clark  (jjc at jclark)
4078         * refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
4079         <sys/types.h>.
4081         * pic/troff.c (troff_output::simple_spline,
4082         troff_output::simple_polygon): Rename variable `v' to `d' to avoid
4083         shadowing parameter.
4085         * lib/tmpfile.c (xtmpfile): Declare dir as const char *.
4087         * lib/ptable.h: Add explicit casts when converting from unsigned
4088         long to unsigned.
4090         * dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
4091         * dvi/devdvi/Makefile: Install SA, SB.
4093         * refer/indxbib.c: Add declaration of mktemp.
4095         * refer/lookbib.c: Add declaration of isatty.
4097 Fri Oct 25 09:00:17 1991  James Clark  (jjc at jclark)
4099         * pic/lex.c (interpolate_macro_with_args):  While collecting
4100         arguments, keep track of whether we're in a string.
4102 Wed Oct 23 08:42:48 1991  James Clark  (jjc at jclark)
4104         * ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
4105         down with \v, so as to avoid problems with top of page trap
4106         setting no space mode.
4108 Tue Oct 22 17:38:49 1991  James Clark  (jjc at jclark)
4110         * eqn/lex.c (get_delimited_text): Allow tab before macro body.
4112 Tue Oct 15 17:24:53 1991  James Clark  (jjc at jclark)
4114         * ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
4115         Improve error message.
4117 Fri Oct 11 11:09:38 1991  James Clark  (jjc at jclark)
4119         * ps/psrm.c (print_ps_string): Don't pass negative numbers to
4120         printf("%03o");
4122 Wed Oct  9 17:50:14 1991  James Clark  (jjc at jclark)
4124         * groff.c (possible_command::execp): Always use _exit() after a
4125         failed exec.
4127         * Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
4128         NO_SYS_WAIT_H   configuration options.
4129         * groff.c: Use these options.  Use POSIX-style macros to extract
4130         fields from the status returned by wait().
4132 Fri Oct  4 12:12:27 1991  James Clark  (jjc at jclark)
4134         * tbl/table.c (table::compute_separation_factor): Allow the
4135         separation factor to drop to 0.
4137 Tue Oct  1 18:12:38 1991  James Clark  (jjc at jclark)
4139         * refer/search.c: Include <errno.h>.
4141 Sun Sep 29 08:40:57 1991  James Clark  (jjc at jclark)
4143         * pic/pic.y (YYDEBUG): Don't define for Borland C++.
4145         * lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
4146         C++. 
4148         * pic/lex.c (input_stack::bol): Move definition out of class body.
4150         * pic/main.c: On MSDOS munge argv[0].
4152         * lib/ptable.h: Define name2 as _Paste2 for Borland C++.
4154         * lib/ptable.c (hash_string): Use unsigned long rather than
4155         unsigned.
4156         (next_ptable_size): Use unsigned rather than int.  Give an error
4157         message if we've hit the largest table size.
4158         * lib/ptable.c: Corresponding changes.  Also use unsigneds for the
4159         table size.
4161         * pic/object.h (object_spec): Make flags unsigned long.  Declare
4162         flags as const unisgned long rather than as enums.
4164         * pic/output.c: Deleted.
4166         * pic/troff.c (troff_output::simple_ellipse): Remove spurious %.
4168         * tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
4169         Add additional argument.
4170         (line_entry::note_double_vrule_on_{left,right}): Set value of
4171         douvle_vrule_on_{right,left} flag according to argument.
4172         (simple_line_entry::simple_print,
4173         simple_line_entry::double_line_print): If adjacent to double vrule
4174         on a corner extend rather than shorten the rule by half the double
4175         vrule sep.
4177         * troff/number.c (parse_term): In checking for overflow, handle the
4178         case where the current horizontal position is negative.
4180 Thu Sep 12 08:26:09 1991  James Clark  (jjc at jclark)
4182         * pic/object.c (draw_arrow): Check for object having zero length.
4184 Wed Sep 11 10:32:38 1991  James Clark  (jjc at jclark)
4186         * eqn/main.c (do_file): Split off inline equation handling into...
4187         (inline_equation): New function.  Search for starting delimiter
4188         using...
4189         (delim_search): New function. Don't recognize a delimiter that
4190         occurs in the name of an escape sequence, number register, string
4191         etc.
4193 Tue Sep 10 04:01:11 1991  James Clark  (jjc at jclark)
4195         * eqn/delim.c (delim_box::compute_metrics): Don't call
4196         define_extensible_string if left is 0.
4197         (delim_box::output):  Don't print the left delimiter if left is 0.
4198         (delim_box::debug_print): Check for left == 0 before calling printf.
4200 Fri Aug 23 13:02:30 1991  James Clark  (jjc at jclark)
4202         * troff/Makefile (majorminor.c): Include only digits in
4203         minor_version.
4205 Thu Aug 22 09:35:37 1991  James Clark  (jjc at jclark)
4207         * refer/dirnamemax.c: new file.
4208         * refer/genlimits.c: Deleted.
4209         * refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
4210         Don't check path length.
4211         * refer/Makefile: Add dir_name_max.o; delete genlimits.
4212         * Makefile: Add PATHCONF_MISSING option.
4214         * refer/indxbib.c (get_cwd): New function.
4215         (main): Use get_cwd().
4216         * lib/getcwd.c: New file.
4217         * Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
4218         GETCWD in SUBFLAGS.
4219         * lib/Makefile: Compile getcwd.o.
4221         * ps/tmac.psatk (psatk-defs): Define showpage after pushing
4222         userdict.
4224         * refer/indxbib.c (main): Check success of mktemp.
4226         * lib/tmpfile.c: New file.
4227         * lib/Makefile: Add tmpfile.c.
4228         * lib/lib.h: Declare xtmpfile(); include <stdio.h>.
4229         * ps/ps.h: Delete declaration of mktemp().
4230         * ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
4231         * refer/refer.c (divert_to_temporary_file): Use xtmpfile().
4232         * driver/driver.h: No need now to include errno.h.
4234         * everywhere: Set errno to 0 before calling fopen().
4236         * eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
4237         dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
4238         refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.
4240 Mon Aug 19 10:52:18 1991  James Clark  (jjc at jclark)
4242         * troff/env.h (translate_space_to_dummy): Declare it.
4243         * troff/env.c (environment::space_newline, environment::space):
4244         If translate_space_to_dummy is set then make the width of spaces 0.
4245         * troff/input.c (translate): If the second character of a
4246         translation is a space, translate to unbreakable space.  If the
4247         first character is a space, set or clear translate_space_to_dummy
4248         according to whether the second character is \&.  Weird!
4250 Tue Jul 30 10:03:56 1991  James Clark  (jjc at jclark)
4252         * groff.c (run_commands): Don't use non-zero exit code because a
4253         command gets SIGPIPE.
4255         * groff.c, groff.sh: Use -mXps with -TXps.
4257         * ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
4258         (ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
4259         ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
4260         (ps_printer::special): New specials invis and endinvis.
4261         (ps_printer::do_invis, ps_printer::do_endinvis): New functions.
4262         (ps_printer::set_char, ps_printer::draw): Return if invis_count>0. 
4263         (ps_printer::end_page): Check that invis_count == 0.
4264         (ps_printer::invis_count): New member.
4265         (ps_printer::ps_printer): Initialize invis_count to 0.
4267         * troff/env.c (environment::hyphenate_line): Hyphenation
4268         indicator at beginning of word inhibits splitting after -, \(em
4269         etc.
4271         * pic/pic.y (element): Allow another element to follow } without
4272         any intervening separator.
4274 Mon Jul 22 12:27:37 1991  James Clark  (jjc at jclark)
4276         * pic/lex.c (get_delimited): Allow tabs before delimiter.
4278 Wed Jul 17 10:59:08 1991  James Clark  (jjc at jclark)
4280         * groff.c: Get rid of HAVE_UNION_WAIT stuff.  Instead suppress
4281         declaration of wait() in header files.
4282         * Makefile: Get rid of -DHAVE_UNION_WAIT.
4284         * tbl/table.c (alphabetic_text_entry::add_tab): New function.
4286         * lib/lib.h: Declare return type of strerror as char *.
4288         * man/Makefile: Add g flag to sed substitutions.
4289         * Makefile (shgroff, bindist): Likewise.
4291 Sun Jul 14 11:57:02 1991  James Clark  (jjc at jclark)
4293         * ps/ps.c (ps_printer::do_import): Move push of userdict into...
4294         * ps/devps/prologue (PBEGIN): Define showpage after pushing
4295         userdict.
4297 Sat Jul 13 20:53:04 1991  James Clark  (jjc at jclark)
4299         * ps/devps/prologue (PBEGIN): Zap any definition of showpage in
4300         userdict.
4302 Fri Jul 12 07:10:09 1991  James Clark  (jjc at jclark)
4304         * man/mdate.sh: Handle the fact that BSD ls -l does not print the
4305         group.
4307 Sun Jul  7 08:00:23 1991  James Clark  (jjc at jclark)
4309         * troff/input.c (define_number_reg):  If currently undefined,
4310         don't define it if the argument is an invalid expression.
4312         * Makefile: Ignore return value of `if' commands without `else'
4313         parts.
4315         * Makefile: Split up CPPDEFINES into a series of separate
4316         configuration options.
4318         * troff/input.c (init_registers): Use time_t instead of long
4319         unless LONG_FOR_TIME_T is defined.  Use returned result rather
4320         than passing pointer.
4321         * Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.
4323         * lib/Makefile (fontpath.h): Use gendef.
4325 Thu Jul  4 09:48:05 1991  James Clark  (jjc at jclark)
4327         * troff/input.c (input_iterator::shift): Delete argument name.
4328         * troff/node.c (suppress_output_file::really_begin_page,
4329         suppress_output_file::really_transparent_char, node::ascii_print,
4330         node::tprint): Delete names of unused arguments.
4332 Wed Jul  3 17:34:57 1991  James Clark  (jjc at jclark)
4334         * refer/label.y (string):  Pass $4 to command_error.
4336 Tue Jul  2 15:06:01 1991  James Clark  (jjc at jclark)
4338         * Version 1.03 released.
4340 Sat Jun 29 08:14:01 1991  James Clark  (jjc at jclark)
4342         * Makefile: Pass definition of SHELL in SUBFLAGS.
4344         * gendef: New file.
4345         * Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
4346         ps/Makefile: Use gendef to construct header files that are
4347         constructed from the Makefile.
4349         * macros/Makefile: make all should build stripped version of tmac.e.
4351         * refer/Makefile (clean): Remove y.output.
4353 Fri Jun 28 09:44:36 1991  James Clark  (jjc at jclark)
4355         * ps/pfbtops.c (main): Add -v option which prints out a version
4356         number.
4357         * ps/Makefile (pfbtops): Link with libgroff.a.
4359 Fri Jun 21 07:43:23 1991  James Clark  (jjc at jclark)
4361         * refer/search.h (linear_searcher::get_nkeys): Delete declaration.
4362         * refer/linear.c (linear_searcher::get_nkeys): Delete definition.
4364         * refer/lkbib.c (main): Always terminate reference with blank
4365         line.
4366         * refer/lookbib.c (main): Likewise.
4368         * refer/linear.c (file_buffer::load): Check that the file is not a
4369         binary file.
4371         * refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
4372         (genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
4373         Delete second inclusion of <sys/param.h>.
4375 Tue Jun 18 01:32:26 1991  James Clark  (jjc at jclark)
4377         * troff/token.h (token::special): Deleted.
4379         * tbl/main.c (process_format): Rework so that opt->tab_char is
4380         recognized only when appropriate.
4382         * ps/Makefile (clean): Remove pfbtops.
4384 Sun Jun 16 09:37:19 1991  James Clark  (jjc at jclark)
4386         * lib/font.c (text_file::next): Don't return if we have got a
4387         blank line.
4389 Fri Jun 14 09:52:26 1991  James Clark  (jjc at jclark)
4391         * refer/refer.c (store_reference): Get hash code from old_table[i]
4392         when rehashing the table.
4394 Thu Jun 13 01:26:43 1991  James Clark  (jjc at jclark)
4396         * eqn/box.c (box::top_level): Save size and prev size using \R and
4397         restore it afterwards. Set the size to the size at the beginning
4398         of the line.
4399         * eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
4400         SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.
4402         * refer/Makefile (limits.h): Use ./genlimits.
4404 Wed Jun 12 16:05:34 1991  James Clark  (jjc at jclark)
4406         * refer/index.c: Delete declarations of stat() and fstat().
4408 Tue Jun 11 14:52:49 1991  James Clark  (jjc at jclark)
4410         * tty/tmac.tty: Add character definitions for \(>= and \(<=.
4412 Mon Jun 10 22:49:48 1991  James Clark  (jjc at jclark)
4414         * etc/grog.sh, etc/grog.pl: Change regex for .PS.
4416 Fri Jun  7 09:13:06 1991  James Clark  (jjc at jclark)
4418         * troff/input.c (token::get_char): Handle \e.
4420         * refer/linear.c: Delete declarations of fstat() and stat().
4422 Wed Jun  5 09:11:59 1991  James Clark  (jjc at jclark)
4424         * troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
4425         OP_DELETE_BROKEN stuff, since we now have a fix for g++.
4427 Mon Jun  3 13:41:32 1991  James Clark  (jjc at jclark)
4429         * troff/input.c (do_define_macro): Improve error handling for end
4430         of file while defining macro.
4432 Sun Jun  2 10:20:24 1991  James Clark  (jjc at jclark)
4434         * eqn/box.h: Fix declaration of set_gsize.
4435         * eqn/box.c (set_gsize): Make argument const char *.
4436         (gsize): Declare as char *.
4437         * eqn/main.c (main): Don't convert gsize to int.
4438         * eqn/lex.c (do_gsize): Pass char * to set_gsize.
4440         * Version 1.02 released.
4442 Sat Jun  1 12:19:46 1991  James Clark  (jjc at jclark)
4444         * macros/tmac.andoc: New file.
4445         * macros/Makefile: Install tmac.andoc.
4447         * troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
4448         operator new and delete on OP_DELETE_BROKEN not being defined.
4449         * Makefile: Mention OP_DELETE_BROKEN.
4451 Mon May 27 13:49:07 1991  James Clark  (jjc at jclark)
4453         * Makefile (bindist): Pass SUBFLAGS.
4455 Sun May 26 14:13:22 1991  James Clark  (jjc at jclark)
4457         * Makefile, groff.c: Pass definitions to groff.c via device.h.
4459         * tty/tty.c (tty_font::load_tty_font): Avoid shadowing
4460         parameter.
4462         * ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.
4464         * ps/ps.h, ps/psrm.c: Make comment_table and
4465         header_comment_table local to resource_manager::process_file.
4467         * groff.sh: With -TXps pass -printCommand option to gxditview.
4469         * groff.c (possible_command::print): Implement using
4470         append_arg_to_string.
4472         * xditview: Merge in new implementation with own ChangeLog.
4474 Sat May 25 18:33:20 1991  James Clark  (jjc at jclark)
4476         * groff.c (main): Implement PRINT_OPTION.
4477         (append_arg_to_string): New command.
4478         (device_table): Set PRINT_OPTION flag for Xps.
4480 Fri May 24 09:48:58 1991  James Clark  (jjc at jclark)
4482         * troff/groff.h: Rename to troff.h.
4484         * pic/lex.c (lookup_keyword, docmp): New functions.
4485         (get_token): Use new lookup_keyword.
4486         Don't include key.h.
4487         * pic/key.[ch], pic/pic.gperf: Deleted.
4488         * pic/Makefile: Remove gperf stuff.
4490         * pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
4491         into output.h.
4492         * pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.
4494         * troff/Makefile, troff/node.c: Move definition of
4495         STORE_WIDTH into node.c.
4497         * etc/grog.pl, etc/grog.sh: Support -mdoc.
4499 Thu May 23 12:30:49 1991  James Clark  (jjc at jclark)
4501         * dvi/devdvi/texr.map, dvi.devdvi/texi.map,
4502         dvi/devdvi/texb.map: Add lq and rq.
4503         dvi/devdvi: Regenerate fonts.
4504         * ps/devps/textmap: Add lq and rq.
4505         * ps/devps: Regenerate fonts.
4506         * tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
4507         * macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
4509         * pic/object.c (position_rectangle): When checking radius
4510         cope with possiblity that width or height is negative.
4511         (box_object::box_object): Have separate xrad and yrad with
4512         signs matching signs of dim components.
4513         (box_object::{north,south}_{east,west}): Use xrad and yrad.
4514         (box_object::print): With rounded boxes use absolute values
4515         for dim and rad arguments.
4517         * lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
4518         in fontpath.h.
4520         * eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.
4522         * various files: Add explicit destructors to keep Saber CC +d
4523         happy.
4525 Wed May 22 11:37:11 1991  James Clark  (jjc at jclark)
4527         * eqn/box.c (box::top_level): Restore fonts correctly after
4528         font changes in line containing inline equation.  Also
4529         restore previous font as well as current font.
4530         * eqn/pbox.h: Define necessary string and register names.
4532         * troff/input.c (token::next): Case 'R' calls do_register.
4533         (do_register): New function.
4535 Tue May 21 11:28:23 1991  James Clark  (jjc at jclark)
4537         * groff.c, groff.sh: Support Xps device.  Allow each device
4538         to have a pseudo_name and a real_name.
4540         * groff.c (run_commands): Don't print `Broken pipe' messages.
4542         * ps/pfbtops.c: New file.
4543         * ps/Makefile: Add pfbtops.
4545         * troff/number.c (parse_term): Improved error message.
4547 Mon May 20 11:22:14 1991  James Clark  (jjc at jclark)
4549         * groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.
4551         * Makefile: Integrate refer.
4552         * refer: New directory.
4553         * man/grefer.man, man/glookbib.man, man/gindxbib.man,
4554         man/lkbib.man: New files.
4555         * man/Makefile: Support refer man pages.
4557         * lib/lib.h: Declare is_prime.
4558         * lib/prime.c: New file.
4560         * troff/input.c (macro_source): New function.
4561         (init_input_requests): Bind "mso" to macro_source.
4563         * troff/env.c (environment::possibly_break_line): Maintain
4564         pointer to pointer to node to be split in ndp so as to avoid
4565         using address of freed node.
4567         * troff/env.c (environment::hyphenate_line): Maintain pointer to
4568         pointer to first node to be hyphenated in startp so as to
4569         avoid using address of freed node.
4571         * troff/env.c (class trie, class hyphen_trie): Make the
4572         elements of the trie be of type char not unsigned char.
4573         Declare arguments to be const char* instead of unsigned char *.
4574         
4575         * troff/env.c (hyphenate): Initialize hbuf[0].
4577         * troff/input.c (set_string): Declare p to be char * and cast
4578         *p to unsigned char when necessary.
4580         * troff/input.c (do_define_macro): Declare s to be const
4581         char*. Cast element to unisgned char when necessary, Declare
4582         d to be an int.  Handle EOF better.
4584         * troff/Makefile, troff/input.c: Different scheme for passing
4585         definitions of MACROPATH, HYPHENFILE and DEVICE.
4587 Tue May 14 13:41:36 1991  James Clark  (jjc at jclark)
4589         * tty/devascii/R.proto: Delete entry for em.
4590         * tty/devlatin1/R.proto: Likewise.
4592 Sat May 11 11:13:28 1991  James Clark  (jjc at jclark)
4594         * troff/input.c (translate): Stop when we get a space. Treat eof
4595         like newline.
4597         * macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.
4599 Wed Apr 24 19:24:33 1991  James Clark  (jjc at jclark)
4601         * tbl/main.c (process_format): A font name following a `f'
4602         modifier that starts with a digit can be only one character long.
4603         Also deal with EOF on the second character of the font name.
4605 Wed Apr 17 11:23:43 1991  James Clark  (jjc at jclark)
4607         * troff/input.c (token::next): Turn \~ into an
4608         unbreakable_space_node.
4609         * troff/node.c (unbreakable_space_node): New class.
4610         * troff/node.h: Declare it.
4612 Tue Apr 16 10:47:12 1991  James Clark  (jjc at jclark)
4614         * dvi/dvi.c (dvi_printer::set_char): Make code an int.  Check that
4615         it's >= 0, before outputting it as a single byte.
4617 Mon Apr 15 11:20:23 1991  James Clark  (jjc at jclark)
4619         * lib/font.c: Make font_char_metric::code an int.
4620         (font::get_code): Change return type to int.
4621         (font::load): Allow code to be arbitrary integer.
4622         * lib/font.h (font::get_code): Change return type to int.
4623         (font::number_to_index): Change argument type to int.
4624         * troff/input.c (token::next):  In case 'N', allow any value.
4625         Store value in token::val.
4626         (token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
4627         (token::get_char, token::add_to_node_list, token::process): Get
4628         number from val.
4629         (charinfo::set_number): Change argument to int.
4630         (charinfo::get_number):  Require that NUMBERED flag be set.
4631         (get_charinfo_by_number): Store numbered characters not between 0
4632         and 255 in a dictionary.
4633         * troff/charinfo.h (get_charinfo_by_number): Change argument type
4634         to int.
4635         (charinfo::number): Change type to int.
4636         (charinfo::set_number): Change type of set_number to int.
4637         * troff/node.c (troff_output_file::put_char_width,
4638         troff_output_file::put_char): Test whether character is numbered
4639         using charinfo::numbered().
4640         * driver/printer.c (printer::set_numbered_char): Allow arbitrary
4641         values of num.
4642         * lib/nametoindex.c: New implementation to cope with arbitrary
4643         number characters.
4645         * troff/input.c (token::operator==): Test val for
4646         TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
4647         TOKEN_SIZE.
4649         * man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
4650         (.man.n):  sed out @BROKEN_SPOOLER_FLAGS@.
4652 Sun Apr 14 12:57:00 1991  James Clark  (jjc at jclark)
4654         * ps/devps/zapfdr.ps: Don't copy UniqueID.  Avoid use of newdict
4655         variable.
4657         * all Makefiles: rm targets of cp and >.
4659         * xditview/xtotroff.c (MapFont): Unlink troff_name before opening
4660         it.
4662         * eqn/lex.c (def_table): Add dollar.
4664 Sat Apr 13 13:02:44 1991  James Clark  (jjc at jclark)
4666         * troff/input.c (do_width): Push back newline before closing delim
4667         like do_bracket.
4669 Fri Apr 12 15:16:03 1991  James Clark  (jjc at jclark)
4671         * groff.c (possible_command::prepend_arg): New function.
4672         (main): Prepend device -m option.
4673         * groff.sh: Put device -m options before command-line options.
4675 Tue Apr  9 10:24:43 1991  James Clark  (jjc at jclark)
4677         * macros/tmac.an (IP): Quote argument to TP.
4679         * ps/ps.c (main): New option -b, which sets...
4680         (broken_flags): New variable.
4681         (ps_printer::~ps_printer): Incorporate the setup section in the
4682         prolog if (broken_flags & NO_SETUP_SECTION).
4683         (ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
4684         (ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
4685         ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
4686         ps_printer::print_needed_font_comment,
4687         ps_printer::print_supplied_font_comment,
4688         ps_printer::print_include_font_comments,
4689         ps_printer::lookup_doc_font, ps_printer::download_fonts,
4690         ps_printer::read_download_file, read_document_fonts, add_font,
4691         skip_line, parse_fonts_arg, document_font::document_font,
4692         document_font::~document_font, document_font::download,
4693         ps_output::include_file):  Deleted.
4694         (ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
4695         rather than %!PS-Adobe-2.0.  Make calls to
4696         resource_manager::need_font for each font that we used. Replace
4697         calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
4698         print_supplied_font_comment, print_needed_font_comment by call to
4699         resource_manager::print_header_comments. Output %%Orientation
4700         comment. Output %%Requirements: numcopies comment if ncopies > 1.
4701         Don't output the prolog directly.  Instead call
4702         resource_manager::output_prolog.  Only define #copies when ncopies
4703         > 1.  Delete calls to print_include_font_comments  and
4704         download_fonts.  Add call to resource_manager::document_setup.
4705         (ps_printer::do_file): Call resource_manager::import_file instead
4706         of including it ourselves.
4707         (ps_printer::do_import): Likewise.  Also don't call
4708         merge_import_fonts. Push userdict on the dictionary stack before
4709         and pop it afterwards.
4710         Move declaration of ps_output into ps.h.
4711         * ps/psrm.c: New file implementing resource_manager class.
4712         * ps/ps.h: New file declaring ps_output and resource_manager
4713         classes.
4714         * ps/devps/zapfdr.ps:
4715         * ps/devps/symbolsl.ps:
4716         * ps/devps/prologue:  Use 3.0 conventions.
4717         * ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
4718         Add default definition of BROKEN_SPOOLER_FLAGS.
4719         * Makefile: New variable BROKEN_SPOOLER_FLAGS.  Add
4720         BROKEN_SPOOLER_FLAGS to SUBFLAGS.
4722 Mon Apr  8 09:26:54 1991  James Clark  (jjc at jclark)
4724         * etc/grog.pl: New file.
4725         * Makefile (GROG): New variable.
4726         Add GROG to SUBFLAGS.
4727         * etc/Makefile (GROG): New variable.
4728         (install.nobin): Install $(GROG) rather than grog.sh.
4730 Thu Apr  4 11:36:45 1991  James Clark  (jjc at jclark)
4732         * eqn/special.c (special_box::compute_metrics): Make the input and
4733         output strings the same.  Get the new height and depth from the
4734         predefined height and depth registers.  Also make subscript kern
4735         and skew available.
4736         (special_box::compute_subscript_kern, special_box::compute_skew):
4737         New functions.
4739         * eqn/box.c (pointer_box::compute_skew,
4740         simple_box::compute_metrics, box::top_level)
4741         * eqn/text.c (prime_box::compute_metrics,
4742         prime_box::comput_subscript_kern)
4743         * eqn/limit.c (limit_box::compute_metrics):
4744         * eqn/delim.c (build_extensible, delim_box::compute_metrics):
4745         * eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
4746         negative numbers in `nr' requests with a leading 0.
4748 Wed Apr  3 15:58:23 1991  James Clark  (jjc at jclark)
4750         * eqn/special.c: New file.
4751         * eqn/eqn.y: Declare token SPECIAL.  Make it right associative.
4752         Add new rule for simple.
4753         * eqn/lex.c (token_table): Add SPECIAL.
4754         * eqn/box.h: Declare make_special_box.
4755         * eqn/Makefile: Add special.[co].
4757 Sat Mar 30 10:57:53 1991  James Clark  (jjc at jclark)
4759         * ps/devps/prologue: Possibly set packing to true while defining.
4760         Create grops dictionary here.  Initialize local variables before
4761         defining procedures.
4762         (PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
4763         the dictionary stack. Set strokeadjust and overprint to false if
4764         the relevant operators are defined.
4765         (PEND): New procedure.
4766         * ps/ps.c (ps_printer::~ps_printer): In the prolog just include
4767         prologue.  Do everything else in the setup section.
4768         (ps_printer::do_import): Just call PBEGIN and PEND around the
4769         picture. Also push userdict before, and pop it afterwards.
4771 Wed Mar 27 07:59:50 1991  James Clark  (jjc at jclark)
4773         * troff/node.c (bracket_node::tprint): Brackets were being printed
4774         1m too low.
4776         * macros/tmac.an (SH, SS): Set fill mode.
4778 Tue Mar 26 07:46:31 1991  James Clark  (jjc at jclark)
4780         * troff/div.c (top_level_diversion::begin_page): Set
4781         high_water_mark to 0.
4783 Fri Mar 22 09:19:46 1991  James Clark  (jjc at jclark)
4785         * man/mdate.sh: New file.
4786         * man/mdate.c: Deleted.
4787         * man/Makefile: Use mdate.sh instead of mdate.
4788         (mdate): Deleted.
4790         * eqn/lex.c (do_gsize): Supply missing argument to error message.
4792 Tue Mar 19 11:06:50 1991  James Clark  (jjc at jclark)
4794         * man/mdate.c: New file.
4795         * man/*.man: Replace modification date by @MDATE@.
4796         * man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
4797         (mdate): New target.
4799         * lib/font.c (text_file::next): Deal with arbitrarily long lines.
4800         Remove illegal input characters.
4802 Mon Mar 18 08:32:25 1991  James Clark  (jjc at jclark)
4804         * macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.
4806 Sat Mar 16 03:52:25 1991  James Clark  (jjc at jclark)
4808         * troff/div.c (begin_page): Change behaviour when
4809         !first_page_begun and !break_flag.
4811         * troff/input.c (do_name_test): Return 0 if argument is empty.
4813         * troff/input.c (read_long_escape_name): Require closing ] to be
4814         at same input level as opening [.
4816         * troff/input.c (read_increment_and_escape_name): New function.
4817         (get_copy, process_input_stack): Use this for \n.
4819 Fri Mar 15 00:31:48 1991  James Clark  (jjc at jclark)
4821         * troff/div.c (top_level_diversion::begin_page): Ignore the
4822         current value of page_number if !first_page_begun.
4824         * groff.c (main): Fix declaration of buf.
4826         * troff/input.c (do_name_test): New function.
4827         (token::next): Implement \A.
4828         (token::next): Implement \e by turning it into a TOKEN_ESCAPE.
4829         (token::description, token::add_to_node_list, token::process):
4830         Handle TOKEN_ESCAPE.
4831         * troff/token.h: New token TOKEN_ESCAPE.
4833 Thu Mar 14 10:22:26 1991  James Clark  (jjc at jclark)
4835         * pic/main.c (do_picture): Allow space before and after filename
4836         following `<'.  Check that the filename is not empty.
4838 Wed Mar 13 12:49:40 1991  James Clark  (jjc at jclark)
4840         * Version 1.01 released. 
4842         * dvi/devdvi/CompileFonts: Add cm*ss10 fonts.
4844         * dvi/tmac.dvi: ftr HR to H.
4846         * macros/tmac.e: Round up computation of $r.
4848         * xditview/tmac.X:  Don't give up completely in compatibility mode.
4849         Use \n(.s instead of \n[.s].
4851         * dvi/tmac.dvi: Don't give up completely in compatibility mode.
4852         Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
4853         Add u to factors inside \s[...]. Rename frac to dvi-frac.
4854         Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
4855         short names in the char definitions.
4857         * ps/tmac.ps: Don't give up completely in compatibility mode.
4858         Fix the fraction definitions to use \n(.s and \(f/. Add an extra
4859         quote in front of \n(.s. Add u to factors inside \s[...].
4861 Mon Mar 11 12:01:20 1991  James Clark  (jjc at jclark)
4863         * tty/tmac.tty: Call the nroff request.
4865         * macros/tmac.e ((x, )x):  Better definitions that work properly
4866         in a diversion.
4867         (@0, @1): Helper macros for (x.
4869         * macros/tmac.e ($s, hl): Use \l rather than \D.
4871         * tty/tmac.tty: Make it work better in compatibility mode.
4872         (pchar): Rename to tty-char.
4874         * macros/tmac.e (@E): New macro.
4875         (r, i, b, rb, bi): Use @E.
4877         * macros/tmac.e (@F): Don't use (;...) syntax.
4879         * macros/tmac.e: Remove mention of \*(||/revisions.  Mention that
4880         it was modified for groff.
4882         * macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.
4884         * macros/tmac.e (<., .>): Removed.
4885         ([., .]): If \n(.V>=1v, use [] instead of superscripting.
4887         * macros/tmac.e: Remove check that groff is being used.
4889         * macros/tmac.e (@C): Change families only if using groff; turn
4890         compatibility mode off while changing familes. Save compatibility
4891         mode before changing families and restore it afterwards.
4893         * macros/tmac.e (@h): Remove test for offset + line length.
4895         * macros/tmac.e (sorry): Rename to @S.  Use \$1 instead of \$0
4896         (lo, th, ac): Define to call @S instead of using als.
4898         * macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
4899         the ratio of the vertical spacing to the point size in units
4900         expressed as a percentage.  Use these instead of $10r and $10R,
4901         Delete $10r and $10R.
4903         * lib/font.c (font::load): In default computation of space_width,
4904         divide by sizescale.  Use scale_round.
4906         * macros/tmac.an (TP): Don't call `nf'.
4907         (an-do-tag): Don't call `fi'.
4909 Sun Mar 10 09:52:35 1991  James Clark  (jjc at jclark)
4911         * troff/input.c (process_input_stack): Handle the case where
4912         spaces at the beginning of an input line are followed by a
4913         newline.
4915 Thu Mar  7 20:18:07 1991  James Clark  (jjc at jclark)
4917         * groff.c (device_table): Add PIC_X_OPTION for dvi device.
4918         * groff.sh: Use pic -x with the dvi device.
4920         * dvi/devdvi/FontMakefile (H): Don't use -s.
4922         * dvi/devdvi/HI, dvi/devdvi/HB: New files.
4923         * dvi/devdvi/Makefile: Add HI and HB to FONTS.
4924         * dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
4925         in FONTS.
4927 Mon Mar  4 13:20:14 1991  James Clark  (jjc at jclark)
4929         * ps/psfig.diff: New file.
4930         * ps/tmac.psfig: New file.
4932 Sat Mar  2 00:15:09 1991  James Clark  (jjc at jclark)
4934         * macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
4935         (]-): Don't call ref*do-tl.
4937         * macros/tmac.s (ref*end-print): Use XP if [F not defined.
4939         * macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
4940         (fn@do-FS): Rename to fn*do-FS.
4942         * troff/input.c (transparent_translate): New function.
4943         (process_input_stack): Apply transparent_translate before calling
4944         diversion::transparent_output(unsigned char).
4946 Wed Feb 27 00:13:25 1991  James Clark  (jjc at jclark)
4948         * troff/input.c (do_define_macro): Define the macro before calling
4949         skip_line.
4951         * xditview/Makefile: Add DEVICES variable.  Change install target
4952         to use this.
4954 Tue Feb 26 10:46:22 1991  James Clark  (jjc at jclark)
4956         * groff.c (run_commands): Handle the possibility that there are
4957         child processes other than those forked by us.
4959 Sun Feb 24 21:32:30 1991  James Clark  (jjc at jclark)
4961         * lib/string.c (string::append): New function.
4962         * lib/stringclass.h: Declare it.
4964 Thu Feb 21 11:49:26 1991  James Clark  (jjc at jclark)
4966         * eqn/main.c (main): New option -N which sets
4967         no_newline_in_delim_flag. 
4968         (do_file): If no_newline_in_delim_flag is set don't allow newlines
4969         in delimiters.
4970         * groff.c (main): Pass -N on to eqn.
4971         (help, synopsis): Mention -N.
4972         * groff.sh: Implement -N.
4974 Wed Feb 20 15:16:10 1991  James Clark  (jjc at jclark)
4976         * macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
4977         (]-): Call ref*do-tl if ref*need-tl is non-zero.
4978         (XP): Allow as initializer.
4980 Tue Feb 19 14:09:06 1991  James Clark  (jjc at jclark)
4982         * troff/env.c (environment::wrap_up_field): If field_spaces are
4983         non-zero and we have a current_tab, subtract padding from
4984         tab_distance.  If this makes tab_distance <= 0, use the next tab
4985         stop instead.  If there isn't any next tab or it's a left tab,
4986         wrap up the current tab.
4987         (environment::start_field): Initialize tab_precedes_field.
4988         (environment::wrap_up_tab): If there's a current field, update
4989         pre_field_width, field_distance and tab_precedes_field.
4990         * troff/env.h (environment::tab_precedes_field): New member.
4992 Fri Feb 15 01:24:00 1991  James Clark  (jjc at jclark)
4994         * ps/ps.c (ps_printer::do_file): New function.
4995         (ps_printer::special): Bind to `file' special.
4996         (ps_printer::do_exec): Set ndefined_styles to 0.
4998 Sat Feb  9 03:03:04 1991  James Clark  (jjc at jclark)
5000         * eqn/text.c (split_text): Grok \* and similar escapes sequences.
5001         Avoid stripping first character from the start of unrecognized
5002         escapes.  Use lex_error instead of error to report errors.
5003         * eqn/lex.c (get_token): Rework handling of escapes.
5004         (lex_error): Move declaration into...
5005         * eqn/eqn.h.
5007         * xditview/xditview.c (main): Make -page option work.
5009         * Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.
5011 Wed Feb  6 12:28:43 1991  James Clark  (jjc at jclark)
5013         * macros/tmac.s (B2): Correct size of box.
5015 Tue Feb  5 00:37:35 1991  James Clark  (jjc at jclark)
5017         * macros/tmac.s (B2): Postpone drawing the box until in the
5018         top-level diversion.
5020         * tty/tmac.tty: Add font translations for C, CR, CW.
5022         * groff.c (synopsis, help): Document -i.
5023         * groff.sh: Implement -i.
5025         * macros/tmac.s (@NH): Put a `.' after multi-part numbers.
5026         Simplify the construction of SN.
5028         * troff/number.c (parse_term): Give `|' a higher precedence.
5029         * tbl/table.c (numeric_text_entry::simple_print): Parenthesise
5030         accordingly.
5032         * macros/tmac.s (B2): Use par@finish instead of par@reset.
5034 Mon Feb  4 12:36:09 1991  James Clark  (jjc at jclark)
5036         * lib/string.c (string::move): New function.
5037         * lib/stringclass.h: Declare it.
5039 Sat Feb  2 16:02:16 1991  James Clark  (jjc at jclark)
5041         * troff/env.c (distribute_space): Add optional argument
5042         `force_forward'.
5043         (environment::wrap_up_field): Call distribute_space with
5044         `force_forward' argument of 1.
5046 Fri Feb  1 19:36:33 1991  James Clark  (jjc at jclark)
5048         * lib/string.c, lib/stringclass.h (string::operator+=(char)):
5049         Inline it.  Move reallocation into...
5050         (string::grow1): New function.
5051         * pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
5052         dependencies to include library header files.
5053         * lib/Makefile: Make string.c and lf.c depend on stringclass.h.
5055 Thu Jan 31 15:02:27 1991  James Clark  (jjc at jclark)
5057         * macros/tmac.s (@NH): Use the same number registers than -ms does
5058         for the heading level counters.  Use the same string that -ms does
5059         for the number for this heading.
5061 Wed Jan 30 14:25:40 1991  James Clark  (jjc at jclark)
5063         * lib/new.c (operator new): Cast result of malloc to char *.
5065         * troff/input.c (spring_trap, lookup_request): Add assert that nm
5066         is not null.
5068 Tue Jan 29 18:08:05 1991  James Clark  (jjc at jclark)
5070         * groff.c (main): Support -i.
5072 Sun Jan 27 13:23:17 1991  James Clark  (jjc at jclark)
5074         * pic/pic.h: Include <osfcn.h>.
5076         * ps/ps.c: Add declaration of mktemp.
5078         * Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
5079         * groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
5080         argument as union wait *.
5081         (run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
5082         argument to union wait *.
5084 Sat Jan 26 12:04:52 1991  James Clark  (jjc at jclark)
5086         * tty/tmac.tty: Add definition of \(co.
5088         * pic/object.c (make_arc): Only increase radius when radius
5089         strictly less than d.
5090         (arc_object::update_bounding_box): May need to add 4.0 to end_quad
5091         more than once.
5093         * troff/env.c (environment::environment(symbol),
5094         environment::environment(const environment *)):  Initialize
5095         input_trap_count.
5097 Sat Jan 19 08:18:35 1991  James Clark  (jjc at jclark)
5099         * tbl/main.c (main): Add exit(0).
5101         * ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.
5103         * pic/main.c (main):
5104         * eqn/main.c (main):
5105         * tbl/main.c (main):
5106         * etc/soelim.c (main):
5107         * driver/printer.c (printer::~printer):
5108         * troff/node.c (real_output_file::~real_output_file,
5109         real_output_file::flush):  Check for errors on stdout.
5111         * most files: Add 1991 to copyright notice.
5113         * macros/tmac.s: Don't test \n(.x and \n(.y.
5115         * troff/input.c (token::next): Rename `escape_char' label to
5116         `handle_escape_char' and `normal_char' label to
5117         `handle_normal_char'.
5119 Thu Jan 17 15:46:35 1991  James Clark  (jjc at jclark)
5121         * groff.c (main, synopsis, help): Support -a option.
5122         * groff.sh: Likewise.  Also eliminate Zflag variable by adding -z
5123         to trflags while parsing options.
5125 Tue Jan 15 13:07:27 1991  James Clark  (jjc at jclark)
5127         * troff/number.c (parse_term): With `m', `M' and `n' scale
5128         indicators, convert scale factor to hunits before scaling.
5130 Mon Jan 14 12:39:12 1991  James Clark  (jjc at jclark)
5132         * lib/font.c (scale_round): Better test for overflow when n is
5133         negative.
5135 Thu Jan 10 11:10:56 1991  James Clark  (jjc at jclark)
5137         * tbl/main.c (process_format): Add second argument of type
5138         options*. Change callers.  Allow opt->tab_char as well as '\t'
5139         between format items.
5141 Mon Jan  7 12:30:18 1991  James Clark  (jjc at jclark)
5143         * macros/tmac.an (PD): With no arguments, make sure register PD is
5144         at least \n[.V].
5145         (TH): Call PD with no argument, instead of setting register PD
5146         directly.
5148 Sun Jan  6 11:18:39 1991  James Clark  (jjc at jclark)
5150         * Version 1.00 released.
5152 Sat Jan  5 08:44:30 1991  James Clark  (jjc at jclark)
5154         * ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.
5156         * dvi/devdvi/DESC: Mount CW instead of CR.
5158         * dvi/tmac.dvi: Add definition of \(tm.
5160         * dvi/devdvi/texsy.map: Add lh, and rh.
5161         * dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
5162         * dvi/devdvi/texmi.map: Add *o. Regenerate fonts.
5164         * dvi/devdvi/FontMakefile: Generate H from cmss10.
5165         * dvi/devdvi/Makefile: Install H.
5166         * dvi/devdvi/H: New file.
5168 Fri Jan  4 15:04:57 1991  James Clark  (jjc at jclark)
5170         * troff/env.c (vertical_spacing): Don't allow vertical spacing to
5171         be 0.
5173 Thu Jan  3 13:41:19 1991  James Clark  (jjc at jclark)
5175         * macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.
5177         * macros/tmac.pic (PS): Avoid attempting to set negative indent.
5179         * macros/tmac.s (@EN): Handle the case where the equation is empty
5180         but the label is not.
5182 Wed Jan  2 10:31:44 1991  James Clark  (jjc at jclark)
5184         * troff/groff.h: New warning category WARN_SPACE.
5185         * troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
5186         WARN_SPACE to warning_table.
5187         (interpolate_macro): Give a warning of type WARN_SPACE if the name
5188         is longer than two characters and is not defined, but the first
5189         two characters do make a defined name.
5191         * PROBLEMS: New file.
5193         * CHANGES: New file.
5194         * README-0.6, README-1.00: Deleted.
5196         * groff.c, groff.sh: Add X75-12 and X100-12 devices.
5197         * xditview/devX75/Makefile: Make devX75-12.
5198         * xditview/devX100/Makefile: Make devX100-12.
5200         * xditview/devX100/eqnchar, xditview/devX75/eqnchar,
5201         dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.
5203 Tue Jan  1 19:24:01 1991  James Clark  (jjc at jclark)
5205         * README-0.7: Rename to README-1.00.
5207         * macros/tmac.pic: New file.
5208         * macros/Makefile (install.nobin): Install tmac.pic.
5210 Mon Dec 31 10:40:53 1990  James Clark  (jjc at jclark)
5212         * troff/env.c (hyphen_word): Correct the test for whether the
5213         token is a hyphen.  Reset npos to 0.
5215         * macros/tmac.s (par@sup-start, par@sup-end): New implementations.
5217 Sun Dec 30 15:53:13 1990  James Clark  (jjc at jclark)
5219         * macros/tmac.s (ds*common-end): Call par*reset.
5220         (PE): Likewise.
5221         (par@reset-indent): Deleted.
5223         * macros/tmac.s (@IP): Divert the label.
5225 Sat Dec 29 14:33:32 1990  James Clark  (jjc at jclark)
5227         * xditview/draw.c (setGC): Use a line width of .1m rather than
5228         .04m by default; round rather than truncate value.
5230         * tbl/table.c (class empty_entry): New class.
5231         (empty_entry::empty_entry, empty_entry::line_type): New functions.
5232         (table::add_entry): Represent empty entries by objects of type
5233         empty_entry.
5234         (table_entry::line_type): Return -1.
5235         (table::determine_row_type): Ignore entries with line_type 0.
5236         Treat type -1 as non-lines.
5238 Fri Dec 28 15:04:41 1990  James Clark  (jjc at jclark)
5240         * ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
5241         macros/tmac.s: Rename \(-d to \(Sd.
5243 Thu Dec 27 12:35:47 1990  James Clark  (jjc at jclark)
5245         * ps/devps/textmap: Add `sd', `/_' and `3d' characters.
5246         * xditview/libXdvi/DviChar.c: Likewise.
5247         * dvi/devdvi/texsy.map: Add `<<', `>>'.
5249 Wed Dec 26 13:33:23 1990  James Clark  (jjc at jclark)
5251         * troff/div.c (top_level_diversion::begin_page): Call
5252         init_output() if the_output is 0.
5254 Sat Dec 22 12:35:29 1990  James Clark  (jjc at jclark)
5256         * troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
5257         ESCAPE_c.
5258         (get_copy): Turn \E into ESCAPE_E.
5259         (token::process, asciify): Handle ESCAPE_E.
5261         * macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
5262         (RD): New macro.
5263         (DS): Implement `.DS R'.
5265 Fri Dec 21 11:41:53 1990  James Clark  (jjc at jclark)
5267         * macros/tmac.s (FS): New macro.
5269         * macros/tmac.s (fn@do-FS): Use @LP instead of LP.
5271         * macros/tmac.s (cov*tl-init): Remove after first execution
5272         instead of aliasing to @nop.  Call top of page macro explicitly
5273         instead of setting trap; call @init first.  Set pg@top as top of
5274         page macro.
5275         (cov*auto-init): Deleted.  Set cov*tl-init instead of
5276         cov*auto-init as top of page trap. 
5277         (TL, LP): Do a break instead of calling cov*tl-init.
5278         (cov*print): With RP format but no TL, alias FS and FE to @FS and
5279         @FE; in this case also give a warning and always start another
5280         page. No need to set pg@top here.
5281         (cov*tl-init): Rename to cov*first-page-init.
5283         * macros/tmac.s (RP): Do `.pn 0'.
5284         (cov*tl-init): With RP format don't do `.pn 0'.
5286         * macros/tmac.s (pg@cs-top): Set no space mode.
5288         * macros/tmac.s (par@TL, par@AU, par@AI): New macros.
5289         (cov*ab-init): Alias TL, AU and AI to these.
5291 Thu Dec 20 10:10:50 1990  James Clark  (jjc at jclark)
5293         * macros/tmac.s (@EQ): Move the space before the equation into @EN
5294         (@EN): Do nothing unless \n[dl] is > 0.
5296 Tue Dec 18 12:20:47 1990  James Clark  (jjc at jclark)
5298         * pic/object.c (ellipse_object::radius): New function.
5300         * VERSION: Change version to 0.7.
5302         * tbl/table.c (block_entry::do_divert): Declare return type as
5303         void.
5304         (block_entry::divert, alphabetic_block_entry::divert): Return 1.
5306 Mon Dec 17 12:30:34 1990  James Clark  (jjc at jclark)
5308         * troff/column.c: New file.
5309         * troff/Makefile: Corresponding changes.
5311         * troff/hvunits.c (scale(vunits, vunits, vunits)):  New function.
5312         Friend of vunits.
5314         * troff/div.c (top_level_diversion::space): If the space causes
5315         the first-page transition and springs a trap, truncate the space
5316         to 0.
5318 Fri Dec 14 12:30:02 1990  James Clark  (jjc at jclark)
5320         * ps/ps.c (ps_printer::do_import): Add a `clear' after including
5321         the document.
5323         * pic/troff.c (troff_output::line_thickness,
5324         troff_output::set_fill): Do a horizontal motion to compensate for
5325         the width of the \D escape sequence.
5327 Thu Dec 13 10:17:14 1990  James Clark  (jjc at jclark)
5329         * xditview/tmac.X: Reinstate definition of \(rn, but only for X100
5330         (not X75).
5332         * eqn/sqrt.c (sqrt_box::compute_metrics):  Supply missing argument
5333         to printf.
5335         * tbl/table.c (simple_entry::simply_print): Don't declare as pure.
5336         Supply empty definition.
5337         (text_entry::simple_print, simple_text_entry::simple_print):
5338         Delete declarations.
5339         (table::add_entry): Represent empty entries by objects of type
5340         `simple_entry'.
5342 Wed Dec 12 08:50:48 1990  James Clark  (jjc at jclark)
5344         * troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.
5346         * tbl/table.c (left_text_entry::add_tab): New function.
5348         * macros/tmac.s: Make @RT an alias for par@reset.  Make RT
5349         initialize like LP.
5351 Mon Dec 10 11:19:55 1990  James Clark  (jjc at jclark)
5353         * troff/env.c (environment::start_field): Give an error message if
5354         there is no next tab.
5356 Sun Dec  9 11:46:40 1990  James Clark  (jjc at jclark)
5358         * troff/env.c (hyphenate): Skip initial elements with zero
5359         hyphenation code.
5361         * macros/tmac.s (par@init): Keep VS in points rather than units.
5363 Sat Dec  8 23:00:27 1990  James Clark  (jjc at jclark)
5365         * pic/main.c (main): Implement `-c' option.
5366         * pic/output.h: Declare make_tpic_output().
5367         * pic/tex.c (tex_output::set_pen_size): Make it virtual and
5368         protected.
5369         (tpic_output): New class.
5370         (tpic_output::tpic_output, tpic_output::set_pen_size,
5371         tpic_output::command, make_tpic_output): New functions.
5373 Fri Dec  7 11:57:41 1990  James Clark  (jjc at jclark)
5375         * tbl/main.c (main): Call `.ab' if \n(.g is false.  Define TS/TE
5376         if they're not already defined.
5377         * tbl/table.c (init_output): Don't test \n(.g.
5379         * troff/input.c (do_if_request): Delete `g' condition. Recognize
5380         `d', `r' and `c' conditions even in compatibility mode.
5382 Tue Dec  4 09:13:47 1990  James Clark  (jjc at jclark)
5384         * ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
5385         box.
5387 Mon Dec  3 07:18:26 1990  James Clark  (jjc at jclark)
5389         * troff/env.h (environment::prev_line_interrupted): New member.
5390         (environment::get_prev_line_interrupted): New function.
5391         * troff/env.c (environment::newline): Set prev_line_interrupted.
5392         (environment::environment(const environment *),
5393         environment::environment(symbol)): Initialize
5394         prev_line_interrupted.
5395         * troff/input.c (process_input_stack): Don't give special
5396         treatment to space and newline at the beginning of the line if the
5397         previous line was interrupted.
5399 Sat Dec  1 15:48:37 1990  James Clark  (jjc at jclark)
5401         * eqn/eqn.y: Disallow PRIME by itself.
5402         * eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
5403         PRIME.
5404         (def_table): Remove definition of '.  Define prime to be `.
5406         * eqn/eqn.y: Split off part of rule `script' into a new rule
5407         `nonsup'.
5409 Fri Nov 30 10:23:44 1990  James Clark  (jjc at jclark)
5411         * macros/tmac.s ({, }): New string aliases.
5413 Thu Nov 29 11:34:40 1990  James Clark  (jjc at jclark)
5415         * README-0.7: New file.
5417 Wed Nov 28 10:09:57 1990  James Clark  (jjc at jclark)
5419         * macros/tmac.s: New file.
5420         * man/groff_ms.man: New file.
5421         * Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
5422         * Makefile.bd: Similarily.
5423         * man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
5424         definition of TMAC_S.
5425         * macros/Makefile: Add definition of TMAC_S. Install tmac.s.
5426         * macros/TODO: New file.
5428 Sat Nov 24 20:04:54 1990  James Clark  (jjc at jclark)
5430         * troff/env.c (right_justify): New function.
5431         (init_env_requests): Bind this to request "rj".
5432         (center_lines): Set right_justify_lines to 0. If we get a bad
5433         integer, center 1 line.
5434         (environment::environment(symbol), environment::environment(const
5435         environment *)): Initialize right_justify_lines.
5436         (environment::get_right_justify_lines): New function.
5437         (init_env_requests): Bind this to number_register ".rj".
5439         * troff/env.c (environment::choose_breakpoint): Implement
5440         hyphenation_margin and hyphenation_space.
5441         (environment::get_hyphenation_space,
5442         environment::get_hyphenation_margin): New functions.
5443         (init_env_requests): Bind these to .hys and .hym.
5444         (hyphenation_space_request, hyphenation_margin_request): New
5445         functions
5446         (init_env_requests): Bind these to hys and hym.
5447         (environment::environment(symbol), environment::environment(const
5448         environment *)): Initialize hyphenation_margin and
5449         hyphenation_space.
5450         * troff/env.h: Corresponding changes to class environment.
5452 Fri Nov 23 09:08:16 1990  James Clark  (jjc at jclark)
5454         * troff/div.c (blank_line): Always do a break.
5456         * eqn/box.c (do_text): Turn off escapes while appending text to
5457         string.
5459 Thu Nov 22 10:58:59 1990  James Clark  (jjc at jclark)
5461         * troff/input.c (while_break_request, while_continue_request): New
5462         functions.
5463         (init_input_requests): Bind these to "break" and "continue".
5464         (while_depth, while_break_flag): New variables.
5465         (while_request): Update while_depth.  Break out of loop if
5466         while_break_flag is set.
5468 Wed Nov 21 10:54:40 1990  James Clark  (jjc at jclark)
5470         * tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
5471         rather than 0.
5473 Mon Nov 19 00:45:03 1990  James Clark  (jjc at jclark)
5475         * Makefile: Include -DBROKEN_SPOOLER by default.  Expand comment.
5477         * stringify: New file.
5478         * Makefile (groff.o): Use stringify.
5480         * xditview/tmac.X: Remove definition of \(rn.
5481         * xditview/libXdvi/DviChar.c: Remove radicalex from
5482         Adobe_symbol_map.
5484 Sat Nov 17 10:44:58 1990  James Clark  (jjc at jclark)
5486         * tbl/table.c (table::add_entry): Allow alphabetic text blocks.
5487         (alphabetic_block_entry::alphabetic_block_entry,
5488         alphabetic_block_entry::divert, alphabetic_block_entry::print):
5489         New functions.
5490         (block_entry::divert): Split off body into ...
5491         (block_entry::do_divert): If the block is alphabetic, subtract 2n
5492         from the line length; also update the span width to dl+2n, and the
5493         alphabetic span width to dl.
5495         * driver/input.c (do_file):  While reading argument to D command,
5496         when expanding buffer, multiply szp by sizeof(int) rather than 2
5497         in the argument to memcpy.
5499         * tbl/table.c (compute_span_width): Add 2n rather than 1n to the
5500         width of alphabetic columns.
5502 Fri Nov 16 06:34:27 1990  James Clark  (jjc at jclark)
5504         * troff/node.c (lookup_family): Supply second argument to lookup.
5506         * troff/dictionary.c (dictionary::lookup): After an unsuccesful
5507         search, return immediately if v is 0.
5509         * pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
5510         (troff_output::start_picture): Set this reg.
5511         (troff_output::end_picture): Remove this reg
5512         * eqn/box.c (box::extra_space): Don't produce `\x's if
5513         EQN_NO_EXTRA_SPACE_REG is defined.
5515         * eqn/eqn.y: Allow just a PRIME to be a `simple'.
5516         * eqn/text.c (split_text): Map ' to \(fm when it's the first
5517         character.
5519 Thu Nov 15 10:35:06 1990  James Clark  (jjc at jclark)
5521         * macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
5522         requests.
5524         * troff/div.c (top_level_diversion::top_level_diversion):
5525         Initialize page_number to 0.
5527 Wed Nov 14 21:41:58 1990  James Clark  (jjc at jclark)
5529         * groff/troff (environment::environment(const environment *)):
5530         Initialize name to e->name, rather than "anonymous".
5532 Sat Nov 10 01:59:37 1990  James Clark  (jjc at jclark)
5534         * xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
5535         requested_page.  Split middle part into ...
5536         (FindPage): New function.
5537         (SetValues): If we don't yet know the last page, and the requested
5538         page is greater than the current page, call FindPage.
5539         Update the font_map_string before doing this.
5541         * xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
5542         Translate \(lh and \(rh into left and right double arrows.
5544         * troff/node.c (class hyphen_inhibitor_node): New class.
5545         (hyphen_inhibitor_node::hyphen_inhibitor_node,
5546         hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
5547         hyphen_inhibitor_node::type,
5548         hyphen_inhibitor_node::get_hyphenation_type): New functions.
5549         (node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
5550         than dbreak_node(0, 0) to represent a `\%' at the beginning of a
5551         word.
5553 Fri Nov  9 16:05:38 1990  James Clark  (jjc at jclark)
5555         * troff/node.h (dummy_node::get_hyphenation_type,
5556         transparent_dummy_node::get_hyphenation_type):  Declare them.
5557         * troff/node.c: (dummy_node::get_hyphenation_type,
5558         transparent_dummy_node::get_hyphenation_type): New functions.
5560 Wed Nov  7 10:09:06 1990  James Clark  (jjc at jclark)
5562         * xditview/libXdvi/draw.c: If M_PI not defined after including
5563         math.h, then define it.
5565         * xditview/Makefile: Add definition of AR. Pass it to the submake
5566         in libXdvi.
5567         * xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.
5569 Tue Nov  6 10:14:27 1990  James Clark  (jjc at jclark)
5571         * troff/dictionary.h (object_dictionary::alias): Declare return
5572         value as int.
5573         * troff/dictionary.c (object_dictionary::alias): Return non-zero
5574         if the old name was defined.
5575         * troff/input.c (alias_macro): Give a warning if the old name was
5576         not defined.
5577         * troff/reg.c (alias_reg): Likewise.
5579 Mon Nov  5 00:31:39 1990  James Clark  (jjc at jclark)
5581         * troff/input.c (token::next): Delete implementation of \R.
5583         * macros/Makefile: Strip comments from tmac.e while installing it.
5585         * troff/input.c: New variable `nroff_mode'.
5586         (troff_request, nroff_request): New functions.
5587         (init_input_requests): Bind `troff' and `nroff' to troff_request
5588         and nroff_request.
5589         (do_if_request): Compute results of t and n conditions from
5590         nroff_mode.
5592         * text/text.c (split_text): Fix typo in >=.
5594         * eqn/lex.c: Add definition of `==' to def_table.
5596 Fri Nov  2 02:49:09 1990  James Clark  (jjc at jclark)
5598         * pic/tex.c (tex_output::start_picture): Change the definitions of
5599         \graph and \graphtemp so that they work properly with Plain TeX.
5601         * pic/tex.c (tex_output::solid_arc): Ensure that the second angle
5602         argument to `ar' is not less than the first.
5604         * pic/pic.y: Allow a comma between elements of the variable list
5605         in the argument to `reset'.
5607         * pic/object.c (arc_object::arc_object): Fix computation of
5608         radius.
5610         * eqn/main.c (main): Add exit(0).
5612 Thu Nov  1 02:03:50 1990  James Clark  (jjc at jclark)
5614         * troff/div.c (begin_page): Test no_space_mode after doing the
5615         break, but still push the page ejector cookie before doing the
5616         break.  Also set the next page number after doing the break.
5617         
5618         * xditview/xditview.c (NewFile): Don't set the title and icon name
5619         if this is the first file and its name is `-'.
5620         * groff/groff.c: Define a new device flag XT_OPTION.  Set it for
5621         the X75 and X100 devices.
5622         (main): If a device has the XT_OPTION flag set and there's exactly
5623         one file argument, pass the driver -xrm and -title options to set
5624         the icon name and window title to the name of the file.
5626         * troff/env.c (environment_switch): If there was an argument but
5627         it wasn't a valid number or name, then pop an environment but
5628         don't give an error message on underflow.
5630         * troff/number.c (start_number): Correct spelling in error message.
5632         * troff/input.c (token::delimiter): Don't print an error message
5633         if err is false.
5635         * xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
5636         ParseDrawFunction if dw->display_enable is true.
5638 Wed Oct 31 05:49:50 1990  James Clark  (jjc at jclark)
5640         * pic/pic.y: Parse text positioning like normal attributes, so as
5641         to allow `"text" at 0,0 ljust'.  Don't allow `center' as a
5642         positioning attribute.
5644 Mon Oct 29 22:50:38 1990  James Clark  (jjc at jclark)
5646         * tbl/main.c (process_data): When in state START while reading a
5647         text block, don't change to state MIDDLE if c is a newline.
5649 Sun Oct 28 21:59:56 1990  James Clark  (jjc at jclark)
5651         * dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
5652         so as to avoid shadowing parameter.
5654 Wed Oct 24 18:35:39 1990  James Clark  (jjc at jclark)
5656         * tbl/table.c (trim_space): Deleted.
5657         (table::add_entry): Don't call trim_space.
5659 Mon Oct 22 03:48:39 1990  James Clark  (jjc at jclark)
5661         * VERSION: Change version to 0.6.
5663         * troff/number.c (parse_expr): Make == work.
5665 Sat Oct 20 11:28:17 1990  James Clark  (jjc at jclark)
5667         * man/grog.man: New file.
5668         * man/Makefile: Add grog.n to MAN1PAGES.
5669         * etc/grog.sh: New file.
5670         * etc/Makefile: Install grog.sh as grog.
5672 Fri Oct 19 11:17:15 1990  James Clark  (jjc at jclark)
5674         * troff/input.c (token::next): Implement \E.
5676 Thu Oct 18 11:56:24 1990  James Clark  (jjc at jclark)
5678         * xditview/tmac.X: Change font translations to match tmac.ps.
5680         * troff/input.c (non_empty_name_warning): Don't give a warning if
5681         `\{' terminates the name.
5683 Tue Oct 16 10:04:23 1990  James Clark  (jjc at jclark)
5685         * ps/devps/symbol.diff: New file.
5686         * ps/devps/FontMakefile: Mention symbol.diff.
5688 Sun Oct 14 11:46:46 1990  James Clark  (jjc at jclark)
5690         * troff/node.c (font_position): Use get_long_name to read the
5691         external_name.
5693         * troff/env.c (environment_switch): If we get a number that's < 0
5694         or >= NENVIRONMENTS, treat it like a name.
5695         Change NENVIRONMENTS to 10.
5697         * troff/groff.h: Remove definition of FONTS_MAX.
5698         * troff/node.h (class font_family): Make map a pointer instead of
5699         an array. Add a map_size member. Make it a class. Make nm const
5700         and public. Make invalidate_fontno a friend.
5701         * troff/node.c: Define font_table_size. Make font_info a pointer
5702         rather than an array.
5703         (class troff_output_file): Allocate font_position dynamically. Add
5704         nfont_positions member.
5705         (troff_output_file::set_font): Grow font_position if necessary.
5706         (troff_output_file::~troff_output_file): Delete font_position.
5707         (troff_output_file::troff_output_file): Allocate font_position.
5708         (grow_font_table): New function.
5709         (troff_output_file::really_begin_page,
5710         troff_output_file:really_copy_page): Use nfont_positions rather
5711         than FONTS_MAX.
5712         (mount_font_no_translate, mount_style): Call grow_font_table if
5713         necessary.
5714         (font_family::font_family): Allocate map.
5715         (font_family::make_definite): Grow map if necessary. Use
5716         font_table_size instead of FONTS_MAX.
5717         (font_family::~font_family): New function.
5718         (invalidate_fontno): Use font_family::map_size.
5719         (get_fontno, env_space_width, env_half_narrow_space_width,
5720         env_narrow_space_width, symbol_fotno, is_good_fontno,
5721         get_bold_fontno, make_glyph_node): Use font_table_size rather than
5722         FONTS_MAX.
5723         (next_available_font_position): Never return 0.
5725 Fri Oct 12 10:17:52 1990  James Clark  (jjc at jclark)
5727         * ps/tmac.ps: Add font translations for compatibility with dpost.
5729 Thu Oct 11 12:09:03 1990  James Clark  (jjc at jclark)
5731         * eqn/pile.c: Rename default_baseline_sep to baseline_sep.
5732         Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
5733         Move definitions baseline_sep, shift_down, column_sep,
5734         matrix_side_sep into...
5735         * eqn/box.c: Add them to param_table.
5736         * eqn/pbox.h: Add declarations to pbox.h.
5738         * troff/input.c (set_string): Cast value to unsigned char *.
5740         * troff/token.h (process_input_stack): Declare it static before
5741         declaring it a friend.
5743 Wed Oct 10 09:59:13 1990  James Clark  (jjc at jclark)
5745         * dvi/devdvi/texex.map: Fix positions of extensible brace middle
5746         and bottom.
5747         * dvi/devdvi/EX: Regenerate.
5749         * troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
5750         transparent.
5752 Tue Oct  9 08:34:02 1990  James Clark  (jjc at jclark)
5754         * eqn/lex.c: In defaults_table, make definition of `dot' call
5755         `dot_def'.  Don't explicitly make it roman.  Similarily for other
5756         accents.
5758         * pic/lex.c (for_input::for_input): Add by_is_multiplicative
5759         argument.
5760         (for_input::get, for_input::peek): Use this.
5761         (do_for): Add by_is_multiplicative argument.
5762         * pic/pic.y: Change optional_by clause to allow '*' after `by'.
5763         Change semantic value of optional_by to be a double plus a flag
5764         saying whethet the by clause is multiplicative.
5766         * eqn/lex.c (get_delimited_text): Remember location of start of
5767         definition.  Improve error handling when EOF is encountered.
5769         * lib/font.h: Rename handle_x_command to
5770         handle_unknown_font_command.
5771         * lib/font.c (font::load): Call handle_unknown_font_command for
5772         any unknown command in the font description file.  Don't call
5773         handle_x_command. Include the name of the command in the argv.
5774         Improve message for unknown command after kernpairs or charset
5775         command.
5776         * ps/ps.c (ps_font::handle_x_command): Rename to
5777         handle_unknown_font_command.  Remove message about `x download'
5778         command.  Give error message for wrong number of arguments.
5779         * ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
5780         * dvi/dvi.c (dvi_font::handle_x_command): Rename to
5781         handle_unknown_font_command. Give an error message for wrong
5782         number of arguments.  Rename design_size to designsize.
5783         * dvi/tfmtodit.c (main): Generate `checksum' instead of `x
5784         checksum', `designsize' instead of `design_size'.
5786 Mon Oct  8 00:38:55 1990  James Clark  (jjc at jclark)
5788         * eqn/*.[chy]: Change underaccent to uaccent.
5790         * eqn/eqn.y: Add rule for underaccent.  Declare UNDERACCENT token;
5791         give it the same precedence as ACCENT.
5792         * eqn/other.c (make_underaccent_box): New function.
5793         * eqn/box.h: Declare it.
5794         * eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
5795         def_table.
5797 Sun Oct  7 11:25:16 1990  James Clark  (jjc at jclark)
5799         * pic/pic.y (reset_all): New function. Called in rule for RESET.
5800         (parse_init): Call reset_all.
5801         (define_variable): When defining scale reset only those
5802         pre-defined variables that are scaled.
5803         (defaults_table): Add `scale' as non-scaled value.
5805         * pic/pic.y: Redo parsing of text adjustments: parse adjustments
5806         together with the text; allow any number of positioning words;
5807         allow center as a positioning word.
5809         * pic/object.c (output::compute_scale): Get picture maximum height
5810         and width from variables called maxpswid and maxpsht.
5811         * pic/pic.y: Add maxpswid and maxpsht to defaults_table.
5813 Sat Oct  6 10:16:56 1990  James Clark  (jjc at jclark)
5815         * pic/object.c (object_spec::make_text): Multiply textht by number
5816         of text items.
5818         * pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
5819         occur.
5820         (do_sprintf): New function.
5821         (pic.gperf): Add sprintf token.
5822         (text, sprintf): New rules.
5824         * pic/pic.y: `rand()' with no arguments returns a random number
5825         in the range [0,1).
5827         * pic/pic.y: Allow a bare expression to be an attribute: change
5828         precedences to support this.  Change optional_ordinal rule to
5829         optional_ordinal_last to avoid reduce/reduce conflict.
5830         * pic/object.c (object_spec::object_spec): Initialize direction.
5832         * pic/pic.y: Implement ^ operator meaning exponentiation.
5834         * troff/node.h: Add default argument to mount_font.
5835         * troff/node.c (font_position): Read an optional third argument
5836         giving the external_name.
5837         (mount_font): Add optional argument giving the external_name.
5838         (mount_font_not_translate): Have additional argument giving
5839         external name.  Use this name to load the font.  Pass both names
5840         to font_info::font_info.
5841         (font_info::font_info): Have additional argument giving
5842         external_name.
5843         (class tfont): New member external_name.
5844         (font_info::get_tfont): Use external name to construct tfont_spec.
5846 Fri Oct  5 04:03:13 1990  James Clark  (jjc at jclark)
5848         * eqn/lex.c (init_table): Add argument giving device.  Define
5849         name of device to be "1".
5850         (do_ifdef): Counts as true if the argument has been defined with
5851         `define'.
5852         * eqn/main.c (main): Call init_table with device argument. Make
5853         device local to main.
5854         * eqn/eqn.h: Change declaration of init_table. Remove declaration
5855         of device.
5857         * pic/lex.c (get_delimited): Allow text to be delimited by
5858         matching {}s.  Don't recognize ending delimiter within a string.
5860         * troff/input.c (get_delim_name): New function.
5861         (token::next): Implement \C.
5863         * lib/font.c (font::load): Grok ---.  Add an alias for each
5864         character based on its code.
5865         (font::get_code_width): Deleted.
5866         * lib/font.h (class font): Declare font::number_to_index().
5867         Remove declaration of font::get_code_width.
5868         * lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
5869         to indices of named characters.
5870         (font::number_to_index): New function.
5871         * troff/input.c (font::number_to_index): New function.
5872         (get_charinfo_by_number, charinfo::get_number,
5873         charinfo::set_number): New functions.
5874         (token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
5875         (token::process, token::description, token::get_char,
5876         token::add_to_node_list, token::operator==): Handle
5877         TOKEN_NUMBERED_CHAR.
5878         * troff/charinfo.h: Declare get_charinfo_by_number,
5879         charinfo::get_number, charinfo::set_number.  Add NUMBERED flag to
5880         charinfo class.
5881         (charinfo::numbered): New function.
5882         * troff/token.h: Add TOKEN_NUMBERED_CHAR.
5883         * troff/env.h (class environment): Remove declaration of ...
5884         * troff/env.c (environment::make_numbered_char_node): Deleted.
5885         * troff/node.c (make_numbered_node): Deleted.
5886         (class numbered_glyph_node): Remove.
5887         (troff_output_file::put_char_width, troff_output_file::put_char):
5888         Handle numbered chars.
5889         (troff_output_file::numbered_char): Removed.
5890         (tfont::get_code_width): Removed.
5891         (make_glyph_node): Don't search special fonts for numbered
5892         characters.
5893         * troff/node.h: Remove declaration of make_numbered_node.
5894         * driver/input.c (do_file): Handle N command.
5895         * driver/printer.h: Add declaration of ...
5896         * driver/printer.c (printer::set_numbered_char): New function.
5897         * dvi/tfmtodit.c (main): Generate unnamed entries.
5898         * ps/devps/afmtodit: Likewise.
5899         * xditview/xtotroff.c (MapFont): Likewise.
5900         * xditview/libXdvi/parse.c (ParseInput): Grok N command.
5902         * tbl/main.c (process_format): If multiple widths are specified
5903         for a column but all the widths are the same, don't give an error
5904         message.
5906         * tbl/table.c (table::do_row): If the current row is all lines and
5907         the stuff doesn't contains a line, mark the top of the row after
5908         printing stuff before the row.  If the current row is not all
5909         lines and the stuff doesn't contain a line, don't unnecessarily
5910         mark the top of the row before printing the stuff.
5911         
5912 Mon Oct  1 11:42:00 1990  James Clark  (jjc at jclark)
5914         * troff/groff.h: Remove MAX_PATH.
5915         * troff/input.c (open_file): Dynamically allocate space for the
5916         path.
5917         (open_mac_file, process_macro_file): Corresponding changes.
5919 Sun Sep 23 18:56:26 1990  James Clark  (jjc at jclark)
5921         * troff/node.h (class output_file): Make copy_file pure.  Add
5922         vspace method ifdef COLUMN. Add is_printing method.
5923         * troff/node.c: Add class printing_reg. Add class
5924         real_output_file. Derive other output_file classes from
5925         real_output_file; in these classes rename begin_page to
5926         really_begin_page, print_line to really_print_line, copy_file to
5927         really_copy_file, transparent_char to really_transparent_char.
5928         Move output_file::flush to real_output_file. Add printing member
5929         to class output_file.
5930         * troff/div.h: Remove printing member from top_level_diversion.
5931         Add vspace member function to class diversion ifdef COLUMN. Add
5932         some declarations ifdef COLUMN.
5933         * troff/div.c (top_level_diversion::copy_file,
5934         top_level_diversion::transparent_output,
5935         top_level_diversion::output): Don't test printing member before
5936         output.
5937         * troff/input.c: Handle initial variable_space_request ifdef
5938         COLUMN.
5939         * troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
5940         but comment it out.
5942 Sat Sep 22 11:32:22 1990  James Clark  (jjc at jclark)
5944         * troff/div.c (diversion::need): Make any space forced.  If we
5945         sprung a trap, set truncated_space to minus the distance to the
5946         trap and set needed_space to the amount that was needed.
5947         (top_level_diversion::space): A forced space turns no_space_mode
5948         off.
5949         (class constant_vunits_reg): New class.
5950         (init_div_requests): Implement number registers .trunc and .ne
5951         using constant_vunits_reg.
5952         (class truncated_space_reg): Deleted.   
5954         * troff/div.h: Don't have a no_space_mode member in diversion.
5955         Instead have it in top_level_diversion.
5956         * troff/div.c (diversion::diversion): Don't initialize
5957         no_space_mode.
5958         (top_level_diversion::top_level_diversion): Initialize
5959         no_space_mode.
5960         (no_space, restore_spacing): Do nothing if curdiv != topdiv.
5961         (macro_diversion::output): Don't clear no_space_mode.
5963         * troff/input.c (diverted_space_node::reread): Don't call
5964         environment::do_break.  In fill mode, act like a blank line.
5965         (diverted_copy_file_node::reread): Don't call
5966         environment::do_break.
5968         * troff/div.c (blank_line): New function.
5969         * troff/div.h: Declare it.
5970         * troff/input.c (process_input_stack): Call it.
5972         * troff/div.c (truncated_space_reg::get_string): New function.
5973         (init_div_requests): Bind to .trunc.
5974         (space_request, top_level_diversion::space,
5975         top_level_diversion::output, macro_diversion::space,
5976         macro_diversion::output): Update truncated_space.
5977         (macro_diversion::output): Redo calculations when trap sprung.
5978         (macro_diversion::output, macro_diversion::space): No need for
5979         trap_flag.
5981         * troff/div.c (top_level_diversion::output): Set nl_reg_contents
5982         after truncating post line spacing.
5984 Fri Sep 21 11:27:25 1990  James Clark  (jjc at jclark)
5986         * ps/devps/prologue (MF, SF): Make them work even if setfont is
5987         defined as a procedure rather than as an operator.
5989 Thu Sep 20 12:55:05 1990  James Clark  (jjc at jclark)
5991         * troff/div.c (macro_diversion::space): Ignore no_space_mode.
5993 Wed Sep 19 10:54:37 1990  James Clark  (jjc at jclark)
5995         * troff/div.c (top_level_diversion::output): Merge
5996         output_file::print_line and output_file::end_of_line member
5997         functions.
5998         * troff/div.h (class output_file):
5999         * troff/node.c (troff_output_file::print_line,
6000         troff_output_file::end_of_line, output_file::end_of_line,
6001         ascii_output_file::print_line, suppress_output_file::print_line):
6002         Corresponding changes.  
6004 Tue Sep 18 11:31:47 1990  James Clark  (jjc at jclark)
6006         * troff/input.c (token::next): Don't give a warning for `\.'.
6008         * troff/env.c (environment::get_center_lines): New function.
6009         (init_env_requests): Bind number register .ce to it.
6010         * troff/env.h: Declare it.
6011         * tbl/table.c (table::init_output): Define reset macro to restore
6012         .ce.  If center option not given, store .ce in SAVED_CENTER_REG.
6013         Then do .ce 0.
6014         (table::print): If center option not given, then imply center
6015         option if SAVED_CENTER_REG > 0.
6017 Mon Sep 17 09:19:19 1990  James Clark  (jjc at jclark)
6019         * ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
6020         Troff.ps from DOWNLOAD.
6021         
6022         * troff/Makefile: Change comment in DEFINES to avoid confusing
6023         System V make.
6025         * ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
6026         code.  Don't try to catch errors with stopped.
6027         (check_line_lengths): New function.
6028         * ps/devps/prologue (EXEC): Deleted.
6029         (EBEGIN, EEND): New procedures.
6031 Sun Sep 16 14:51:15 1990  James Clark  (jjc at jclark)
6033         * troff/input.c: Include request.h before node.h.
6034         * troff/node.c: Likewise.
6035         * troff/env.c: Likewise.
6036         * troff/div.c: Likewise.
6037         * troff/node.h (class special_node): Store argument as a macro
6038         rather than a char *.
6039         * troff/node.c (special_node::special_node, special_node::copy):
6040         Grok this.
6041         (special_node::~special_node): Deleted.
6042         (special_node::tprint): Deleted.
6043         (special_node::tprint_start, special_node::tprint_end,
6044         special_node::tprint_char): New functions.
6045         (troff_output_file::special): Deleted.
6046         (troff_output_file::start_special, troff_output_file::end_special,
6047         troff_output_file::special_char): New functions.
6048         * troff/input.c (special_node::tprint): New function.
6049         (do_special): Use macro not char *.
6050         (do_transparent_macro): Deleted.
6051         (token::next): Don't call do_transparent_macro.
6053         * troff/input.c (token::next): Add 'Y' case.
6054         (do_transparent_macro): New function.
6055         * troff/node.c (troff_output_file::special): Handle newlines with
6056         argument using new continuation convention.
6057         * driver/input.c (get_string): Cope with continuation convention.
6058         (do_file): Don't call skip_line after calling get_string(1).
6059         * ps/ps.c (ps_printer::special, ps_printer::do_import,
6060         ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
6061         arg.
6062         * xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
6063         with +.
6065 Sat Sep 15 19:00:10 1990  James Clark  (jjc at jclark)
6067         * troff/input.c (asciify): By default, illegal input characters
6068         should return empty string.
6070         * troff/input.c (copy_file): Handle first page transition like title.
6071         (token::next, process_input_stack): Grok COPY_FILE_REQUEST.
6073         * troff/input.c (token::next): Improve error message for EOF after
6074         escape character.
6075         (input_char_description): New function.
6076         (get_char_for_escape_name): Use input_char_description.
6077         (token::next): Warn about unrecognized escape sequences.
6078         (warning_table): Add WARN_ESCAPE.
6079         * troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
6080         accordingly.
6082         * troff/token.h: Remove declaration of process_input_stack.
6084         * troff/input.c: Remove declaration of init_hyphen_requests.
6085         * troff/request.h: Correct spelling in declaration of same.
6087         * troff/input.c (token::next): Check whether escape_char is 0.
6089 Fri Sep 14 12:09:25 1990  James Clark  (jjc at jclark)
6091         * groff.c (main, usage, help): Implement -P and -L options.
6092         * groff.sh: Likewise.
6094         * troff/input.c (token::next): Use some gotos to avoid code
6095         duplication.
6097         * troff/input.c (get_long_name, get_name, read_long_ecsape_name):
6098         Avoid calling symbol::symbol if name empty.
6100 Thu Sep 13 06:21:45 1990  James Clark  (jjc at jclark)
6102         * troff/input.c (init_input_requests): Make \n(.x return the major
6103         version number and \n(.y return the minor version number.
6104         * troff/Makefile: Construct file majorminor.c defining
6105         major_version and minor_version automatically from ../VERSION.
6107         * troff/node.c (class glyph_node): Make operator new and operator
6108         delete public.
6109         (class ligature_node): Similarily.
6111         * troff/input.c (operator==(const macro &, const macro &)): New
6112         function.
6113         (non_interpreted_node::same): Use this.
6114         (string_iterator::string_iterator): Make macro& argument const.
6116         * troff/input.c (input_iterator::get): New function. Don't make
6117         asciify_macro or class non_interpreted_node friends of class
6118         input_iterator.
6119         (non_interpreted_node::interpret): Use input_iterator::get.
6120         (asciify_macro): Likewise.
6122         * troff/input.c (~token_node, ~string_iterator, ~arg_list,
6123         ~non_interpreted_node): Deleted.
6124         * troff/node.c: (~suppress_output_file, ~ascii_output_file):
6125         Deleted.
6127         * troff/symbol.h: Make all symbol member functions const.
6129         * lib/strtol.c: New file.
6130         * lib/Makefile: Add strtol.c.
6131         * Makefile: Define STRTOL as strtol.o to include strtol in
6132         libgroff.a.
6134 Wed Sep 12 10:00:49 1990  James Clark  (jjc at jclark)
6136         * pic/troff.c (troff_output::simple_circle): Divide by scale.
6138 Tue Sep 11 14:17:16 1990  James Clark  (jjc at jclark)
6140         * troff/input.c (do_special): Use input_level.
6142         * troff/token.h (TOKEN_BACKSPACE): New token.
6143         (token::backspace): New function.
6144         * troff/input.c (token::description, token::next, token::process):
6145         Grok TOKEN_BACKSPACE.
6146         (do_special): Turn TOKEN_BACKSPACE back into \b.
6148         * troff/token.h (token::leader): New function.
6149         * troff/input.c (do_special): Turn TOKEN_LEADER back into \001.
6151         * troff/input.c (do_special): Turn TOKEN_TAB back into \t.
6153         * troff/input.c (do_special): Use token::description in error
6154         message.
6156 Mon Sep 10 11:06:27 1990  James Clark  (jjc at jclark)
6158         * troff/input.c (decode_args): Combine quoted and
6159         quote_input_level variables. Make it a for (;;) loop.
6161         * troff/input.c (get_char_for_escape_name): Check for \001 and \b.
6163         * troff/input.c (read_long_escape_name): The test for whether to
6164         expand buffer was off by 1.
6165         (read_string): Similarily.
6167 Fri Sep  7 11:45:50 1990  James Clark  (jjc at jclark)
6169         * troff/input.c: Use `const int' rather than `static const int'.
6171         * troff/div.h (diversion::copy_file): Declare as pure virtual.
6172         (macro_diversion::copy_file): New function.
6173         * troff/node.h: New class diverted_copy_file_node.
6174         * troff/node.c: Implement it.
6175         * troff/input.c (copy_file): Use diversion::copy_file. Handle
6176         first page transition by pushing a diverted_copy_file_node.
6177         * troff/input.c (token::next, process_input_stack): Don't handle
6178         COPY_FILE_REQUEST.
6180 Thu Sep  6 13:29:10 1990  James Clark  (jjc at jclark)
6182         * ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
6183         whether space widths need adjusting.
6185         * troff/charinfo.h: Generalize translated_to_space to
6186         special_translation so as to allow translation to \&.
6187         * troff/input.c (translate): Allow translation to \&.
6188         (charinfo::*): Corresponding changes.
6189         * troff/node.c (make_node, node::add_char): Corresponding changes.
6190         * troff/node.h (dummy_node::dummy_node): Allow optional first
6191         argument.
6193         * lib/lib.h: Make codes 0200 to 0237 illegal input characters.
6194         * troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
6195         TOKEN_REQUEST.
6196         * troff/input.c (token::next): Turn a TITLE_REQUEST into a
6197         TOKEN_REQUEST with an argument of TITLE_REQUEST.
6198         (token::process): Grok that.
6199         * troff/input.c (copy_file): Handle first page transition like
6200         title by pushing a COPY_FILE_REQUEST cookie.
6201         (token::next, process_input_stack): Grok that.
6202         * troff/node.h (output_file::copy_file): Add x and y arguments.
6203         Make it non-pure.
6204         * troff/div.c (top_level_diversion::copy_file): Supply them.
6205         * troff/node.c (troff_output_file::copy_file): Add x and y
6206         arguments; moveto specified position.  Invalidate font_position
6207         array after copying file.
6208         (output_file::copy_file): New function.
6209         (suppressed_output_file::copy_file, ascii_output::copy_file):
6210         Removed.
6211         * troff/input.c (transparent_file): New function.
6212         (init_input_requests): Bind to "trf".
6213         (token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
6214         (process_input_stack): Likewise.
6216         * troff/Makefile: Add ../lib/lib.h to GROFF_H.
6218         * troff/node.c (init_node_requests): New number registers .kern
6219         pointing to global_kern_mode, and .lg pointing to
6220         global_ligature_mode.
6222         * troff/node.c (ligature): Don't change it if we get a bad
6223         integer.
6225         * troff/input.c (do_define_string): Don't strip tabs.
6227         * troff/input.c (asciify_macro): Make the string_iterator auto.
6229         * troff/node.c (init_font_requests): Rename to...
6230         (init_node_requests):
6231         * troff/node.h: Change declaration.
6232         * troff/input.c (main): Change call.
6234         * troff/input.c (node::reread, diverted_space_node::reread): New
6235         methods.
6236         (process_input_stack): Call reread rather than
6237         get_diverted_space_node.
6238         * troff/node.c (node::get_diverted_space_node,
6239         diverted_space_node::get_diverted_space_node): Removed.
6240         * troff/node.h: Declare reread methods instead of
6241         get_diverted_space_node methods. Make `n' member private.
6242         * troff/input.c: (token::diverted_space): Removed.
6243         * troff/token.h: Removed declaration.
6244         
6246 Tue Sep  4 00:48:04 1990  James Clark  (jjc at jclark)
6248         * eqn/script.c (script_box::compute_metrics): Don't let
6249         SUP_RAISE_FORMAT become negative.
6251         * tbl/table.c (table::do_row): Entries that don't end in the
6252         this row shouldn't make the row non-blank.
6253         
6254         * tbl/table.c (table::make_columns_equal): Only set the width of
6255         columns which are marked as equal.
6256         
6257         * tbl/main.c (process_data): Before issuing excess data error,
6258         if last character was a newline unget it; then get it again after
6259         the error.  Also include the contents of the entry in the message.
6261         * groff.c: New file.
6262         * Makefile: Build groff from groff.c.  Make it possible to use
6263         either groff.sh or groff.c as groff.
6264         * Makefile.bd: Similarily.
6266 Mon Sep  3 09:39:49 1990  James Clark  (jjc at jclark)
6268         * groff.sh: Don't delay expansion of $@ in assignment to files.
6269         Remove occurrences of \".
6271 Sun Sep  2 09:56:59 1990  James Clark  (jjc at jclark)
6273         * all Makefiles: Simplify and rearrange.
6275         * Makefile: Handle fmod like malloc.
6276         * lib/Makefile: Similarily.
6277         * lib/fmod.c: Remove #ifdef NEED_FMOD.
6279         * Makefile: Rename OPTIMISE to OPTIMIZE.
6281         * groff.sh: Remove assignment to PATH.
6282         * Makefile: Remove SHPATH variable.
6283         * Makefile.bd: Similarily.
6285         * groff.sh: Add -V option to print the pipeline instead of
6286         executing it.
6288 Fri Aug 31 00:56:46 1990  James Clark  (jjc at jclark)
6290         * lib/font.c: Split off file searching into ...
6291         * lib/fontfile.c: New file.
6293         * lib/strerror.c (strerror): Use `Error %d' for unknown errors.
6295 Thu Aug 30 13:13:55 1990  James Clark  (jjc at jclark)
6297         * tbl/table.c (table::do_hspan): Delete assertion that e != 0.
6298         Also change misleading comment.
6299         (table::do_vspan): Change similarily misleading comment.
6300         * tbl/main.c (process_data): A format row with an explicit `s'
6301         uses up a data line, even if all the other columns are `_' or `='.
6303         * troff/input.c (token::description): Fix description of
6304         TOKEN_DUMMY and TOKEN_EMPTY.
6306 Wed Aug 29 04:12:08 1990  James Clark  (jjc at jclark)
6308         * groff.sh: Fix description of -Z in help message.
6310 Tue Aug 28 07:28:33 1990  James Clark  (jjc at jclark)
6312         * pic/object.c (object_spec::make_object): Allow negative and zero
6313         line thicknesses.
6314         * pic/pic.y: Give linethick default value of -1.0.
6315         * pic/troff.c (troff_output::troff_output): Initialize
6316         last_line_thickness to BAD_THICKNESS.
6317         (troff_output::finish_picture): Set thickness to BAD_THICKNESS.
6318         (troff_output::line_thickness): Canonicalize negative thicknesses
6319         to RELATIVE_THICKNESS.
6320         * pic/tex.c (tex_output::set_pen_size): Silently map negative line
6321         thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
6322         to -1.0.
6323         (tex_output::start_picture): Set pen_size to -2.0.
6325         * ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
6326         0, then use 0 linewidth.
6327         (ps_printer::ps_printer): Initialize line_thickness to -1.
6329         * pic/troff.c (troff_output::simple_ellipse): Divide by scale.
6331         * ps/devps/symbolchars: Remove `or'.
6332         * ps/tmac.ps: Implement \(or with .char.
6334         * ps/devps/symbolchars: Move most characters into textmap.
6335         * ps/devps/textmap: Add names for troff bracket characters. Remove
6336         ul, ru, br, bv.
6338         * ps/devps/TSymbol.ps: Removed.
6339         * ps/devps/FontMakefile: Make S from Symbol not TSymbol.
6340         * ps/tmac.ps: Do with .char what TSymbol did.
6341         * ps/devps/download: Remove TSymbol.
6343         * ps/devps/T: Removed.
6344         * ps/devps/Troff.ps: Removed.
6345         * ps/devps/Troff.afm: Removed.
6346         * ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
6347         * ps/devps/download: Remove Troff.
6348         * ps/devps/FontMakefile: Remove T target.
6349         * ps/devps/DESC-A4: Remove T from font list.
6350         * ps/devps/DESC-letter: Likewise.
6352         * troff/input.c (macro_to_node): Rename to ...
6353         (charinfo_to_node): Don't pass mac argument.  Temporarily remove the
6354         character's definition while processing it.
6355         * troff/node.c (node::add_char, make_node): Change calls to
6356         macro_to_node accordingly.
6358         * troff/input.c (token::next): Translate \_ to \(ul.
6360         * tty/devascii/R.proto: Add `|'.
6361         * tty/devlatin1/R.proto: Likewise.
6363 Mon Aug 27 11:25:41 1990  James Clark  (jjc at jclark)
6365         * man: Put the version number in all the man pages.
6367 Sun Aug 26 11:40:05 1990  James Clark  (jjc at jclark)
6369         * Makefile.bd: New file.
6370         * README.bd: New file.
6372         * VERSION: New file.
6373         * lib/version.c: Removed.
6374         * lib/Makefile: Create version.c from ../VERSION. Remove version.c
6375         in clean target.
6377         * troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
6378         environment variable.
6380         * all Makefiles: Split install target into install.bin for
6381         binaries, and install.nobin for everything else.
6382         * Makefile: Add bindist target.
6384         * man/afmtodit.man: New file.
6385         * man/Makefile: Add afmtodit.n to MAN1PAGES.
6386         * ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
6387         in BINDIR.
6388         * ps/Makefile: Pass BINDIR to make install in devps.
6390         * ps/ps.c (ps_printer::set_char): Do nothing if the character is
6391         the space character.
6393         * ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.
6395 Sat Aug 25 15:39:03 1990  James Clark  (jjc at jclark)
6397         * ps/ps.c: Redo font downloading.
6398         * ps/devps/download: New file.
6399         * ps/devps/Makefile: Add download to DEVICEFILES.
6400         * ps/devps/afmtodit: Remove -d option.
6401         * ps/devps/FontMakefile: Don't use -d option with afmtodit.
6402         * ps/devps/symbosl.ps: Add %%DocumentFonts comment.
6403         * ps/devps/zapfdr.ps: Likewise.
6404         * ps/devps/TSymbol.ps: Likewise.
6406 Fri Aug 24 20:10:30 1990  James Clark  (jjc at jclark)
6408         * groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.
6410 Thu Aug 23 10:03:47 1990  James Clark  (jjc at yquem)
6412         * ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
6413         then strip the first line if it starts with %.
6414         * Makefile: Add a comment about this.
6416         * man/tfmtodit.man: New file.
6417         * man/Makefile: Add tfmtodit.n to MAN1PAGES.
6418         * dvi/Makefile: Install tfmtodit in BINDIR.
6420         * dvi/tfmtodit.c (usage): Mention -v option.
6422 Wed Aug 22 09:56:36 1990  James Clark  (jjc at yquem)
6424         * troff/node.c (troff_output_file::end_of_line): Call do_motion.
6425         * troff/node.c (troff_output_file::transparent_char): Don't call
6426         flush_tbuf.
6428         * eqn: Add check_tabs method to most box classes.
6429         * eqn/box.c (box::top_level): Call check_tabs.
6431         * eqn/script.c (script_box::output): Use \Z.
6432         * eqn/limit.c (limit_box::output): Use \Z.
6434         * eqn/box.c (box::top_level): Use itoa.
6436 Tue Aug 21 09:29:28 1990  James Clark  (jjc at yquem)
6438         * dvi/tmac.dvi: Add font translations for CR, C, TT.
6439         * dvi/devdvi/Makefile: Don't make links to CW.
6441         * ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
6442         HX, HD.
6443         * xditview/tmac.X: Likewise.
6445         * troff/node.c: Add font translation feature.
6446         (get_font_translation): New function.
6447         (symbol_fontno): Translate the font name.
6448         (mount_font_no_translate): Rename to mount_font to this.
6449         (mount_font): New function.
6450         (font_family::make_definite): Call mount_font_no_translate instead
6451         of mount_font.
6452         (mount_style): Translate the font name.
6453         (font_translate): New function.
6454         (init_font_requests): Bind "ftr" to font_translate.
6456         * ps/devps/prologue (SN): New procedure that rounds a position to
6457         the nearest (pixel + (.25,.25)).
6458         (DL): Use SN to round endpoints.
6460         * lib/version.c: Changed version to 0.5.
6462 Sat Aug 18 04:43:21 1990  James Clark  (jjc at yquem)
6464         * Makefile: Move definition of PAGE to the very beginning, so that
6465         people are less likely to miss it.
6467 Fri Aug 17 02:15:11 1990  James Clark  (jjc at yquem)
6469         * man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.
6471         * troff/env.c (environment::choose_breakpoint): Make `can't find
6472         breakpoint' error a warning of type WARN_BREAK.  Change message to
6473         `can't break line'.
6474         * troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
6475         code 040000.
6476         * troff/input.c: Add WARN_BREAK to warning_table.  Include
6477         WARN_BREAK in DEFAULT_WARNING_MASK.
6479         * tty/tmac.tty: Add definition of \(+-.
6481         * groff.sh: Remove `--' option to set command.
6483         * dvi/devdvi/texsy.map: Remove duplicate md entry.
6485         * ps/devps/eqnchar: Better definition of cdot using md.
6486         * dvi/devdvi/eqnchar:  Likewise.
6487         * xditview/devX100/eqnchar:  Likewise.
6488         * xditview/devX75/eqnchar: Likewise.
6489         * eqn/lex.c: Add definition of cdot.
6491 Thu Aug 16 09:33:57 1990  James Clark  (jjc at yquem)
6493         * troff/input.c (get_optional_char): New function.
6494         * troff/input.c (set_page_character): Use get_optional_char(),
6495         rather than has_arg() and tok.get_char(1).
6496         * troff/env.c (tab_character, leader_character, hyphen_char,
6497         field_characters): Likewise.
6498         (margin_character): Likewise.  Also always delete the
6499         margin_character_node.
6501         * troff/input.c (token::get_char): Use token::description.
6503         * troff/input.c (has_arg): Don't skip over tab and \}.
6504         * troff/number.c (start_number): Give a warning if the number
6505         starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).
6507 Wed Aug 15 10:04:37 1990  James Clark  (jjc at yquem)
6509         * troff/input.c (empty_name_warning, non_empty_name_warning): New
6510         functions.
6511         (get_name, get_long_name): Use these.  Rename `warn' argument to
6512         `required'.
6514         * troff/node.c (get_fontno): Test that the symbol is not null.
6516         * troff/input.c (token::description): New function.
6517         * troff/number.c (parse_term): Use token::description in `numeric
6518         expression expected' message.
6519         * troff/groff.h: Add WARN_MISSING.
6520         * troff/number.c (start_number): New function.
6521         * troff/number.c (get_vunits, get_hunits, get_number, get_integer,
6522         get_incr_number): Use start_number().
6523         * troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
6524         default.
6525         * troff/input.c (get_name, get_long_name): Use WARN_MISSING.
6526         * troff/reg.c (alter_format): Use WARN_MISSING. Also use
6527         token::descripion.
6528         * troff/input.c (token::get_char): Use WARN_MISSING.
6529         * troff/input.c (token::delimiter): Use token::description.
6530         * troff/env.c (environment_switch): Back out Aug 3 change.
6531         * troff/input.c (has_arg): Skip over \}s and tabs but give a
6532         warning.
6533         * troff/token.h (token::tab): New function.
6534         * troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
6535         * troff/reg.c (alter_format): Likewise.
6536         * troff/node.c (bold_font): Use has_arg() rather than tok.skip().
6538 Tue Aug 14 10:11:21 1990  James Clark  (jjc at yquem)
6540         * troff (most files): Redo warnings. Divide warnings into various
6541         categories; warning() has an additional first argument indicating
6542         the category it falls into.
6543         * troff/input.c (main): -w now takes an argument. New option -W.
6544         (enable_warning, disable_warning): New functions.
6546         * ps/devps/afmtodit: Add -a option to lie about the italic angle.
6547         * ps/devps/FontMakefile: Pretend TI has an angle of 7.
6549 Mon Aug 13 10:11:16 1990  James Clark  (jjc at yquem)
6551         * ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
6552         * xditview/devX100/eqnchar: Likewise. Remove definition of dot.
6553         * xditview/devX75/eqnchar: Likewise.
6554         * dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.
6556         * eqn/other.c: When bar or over applies to a single character
6557         don't produce an overline_box or an underline_box. Instead produce
6558         an accent_box or an underaccent_box, with the accent a line
6559         whose width is accent_width.  New classes underaccent_box,
6560         overline_char_box and underline_char_box.
6561         * eqn/box.h: Move overline_box, underline_box, accent_box class
6562         declarations into eqn/other.c. Add declarations of
6563         make_underline_box, make_overline_box, make_accent_box.
6564         * eqn/eqn.y: Call make_overline_box, make_underline_box
6565         make_accent_box instead of constructors.
6566         * eqn/pbox.h, eqn/box.c: Add accent_width parameter.
6568         * eqn/other.c: Add accent_box::~accent_box.
6569         * eqn/box.h: Declare it.
6571         * groff.sh: With -Tps, use eqn -D.
6573         * eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
6574         rather than \l.
6575         (underline_box::output): Similarily.
6576         (accent_box::output): Use \Z.
6578         * xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
6579         bit smaller.)
6581 Sun Aug 12 09:41:15 1990  James Clark  (jjc at yquem)
6583         * troff/div.c (top_level_diversion::transparent_output(unsigned
6584         char)): Use asciify.
6585         * troff/input.c (asciify): Don't make it static.
6586         * troff/token.h (asciify): Declare it.
6587         
6588         * troff/input.c (get_name, get_long_name, token::get_char,
6589         token::delimiter): Add an extra default argument which says
6590         whether a warning should be printed.
6591         * troff: Pass a non-zero argument to one of these rather than
6592         printing a warning directly.
6594 Sat Aug 11 09:02:21 1990  James Clark  (jjc at yquem)
6596         * troff: Consistently use symbol::is_null.
6598         * troff/dictionary.h: Move some inline functions into
6599         dictionary.c.
6601         * troff/request.h: Move inline functions into input.c.
6602         (request_or_macro::invoke): Make it pure.
6604         * troff/input.c, troff/reg.h: New class `constant_int_reg'.
6605         * troff/input.c (init_input_requests): Use class constant_int_reg.
6606         (class compatible_reg): Deleted.
6607         * troff/div.c (init_div_requests): Use class constant_int_reg.
6608         (class last_post_line_extra_space_reg): Deleted.
6610         * troff/env.c (tab_character): Don't change the tab character if
6611         we get an invalid argument.
6612         (hyphen_char): Similarily.
6614         * troff/reg.c (alter_format): Check that nm is not null.
6616         * Makefile, groff.sh: Make it possible to customize the commands
6617         used for printing PostScript and dvi files. Also make it possible
6618         to customize the path used by groff.sh.
6620         * eqn/eqn.y: Make `left' right associative.
6622 Fri Aug 10 18:20:39 1990  James Clark  (jjc at yquem)
6624         * pic/pic.h: Added definition of M_SQRT2 for those systems that
6625         don't have it.
6627         * pic/pic.h: Removed definition of INT_MAX.
6629         * troff/node.c (italic_corrected_node::vertical_extent): Omit
6630         `return'.
6632         * troff/input.c (token::next):  Handle \R like \n.
6634 Tue Aug  7 09:46:33 1990  James Clark  (jjc at yquem)
6636         * ps/tmac.pc (PSPIC): Simplify.
6638         * troff/env.c (tab_stops::to_string):
6639         * pic/pic.y (object_type_name):
6640         * pic/troff.c (simple_output::line):
6641         * pic/tex.c (tex_output::spline):
6642         * pic/object.c (object_spec::make_object):
6643         * tbl/main.c (process_data):  Add cases to switch statements to
6644         avoid cfront warnings. (Some of these are spurious, since the
6645         switch already has a default case.)
6647         * ps/tmac.ps (PSPIC): Reformatted.  Prefix all local names with
6648         `ps-'.  Don't test systat; instead check number of arguments to
6649         ps-bb.
6651 Mon Aug  6 00:13:07 1990  James Clark  (jjc at yquem)
6653         * macros/tmac.e: Do not decrease the page offset by 0.5i.
6655         * ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
6656         Unlink the file as soon as we have opened it, so that we don't
6657         have to bother with signal handlers.
6658         (handler): Deleted.
6659         (fatal_error_exit): Deleted.
6660         (main): Don't call signal.
6662         * dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
6663         can be ignored.
6664         * dvi/devdvi/Makefile: Use the -k option with S and MI.
6666         * pic/pic.y:  If there is a label, or an nth construction before
6667         the first `.' in the argument to `with', ignore it and generate a
6668         warning.
6669         * pic/lex.c (lex_warning): New function.
6671         * tbl/table.c (table::init_output): In section keep and release
6672         macro, use 0 indent when diverting and the correct indent when
6673         rereading.
6675         * troff/input.c (interpolate_number_format): Do not interpolate
6676         anything if the number register is not defined.
6678         * tbl/main.c (process_data): Don't add entry when col >= ncolumns.
6680 Sat Aug  4 08:12:05 1990  James Clark  (jjc at yquem)
6682         * ps/devps/prologue (PICTURE): Set components of graphics state to
6683         their default values.
6685         * ps/devps/text.enc: Add trademark
6686         * ps/devps/textmap: Add names for club, spade, heart, diamond,
6687         carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
6688         * ps/devps/symbolchars: Add names for summation and product.
6690         * dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
6691         suchthat. Add pp. Add upper-case letters.
6693         * xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
6694         diamond, carriagereturn, suchthat. Use Upsilon1 rather than
6695         Upsilon.
6697         * dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
6698         rA (right angle bracket) to ra.  Introduce names for double-headed
6699         arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
6700         * ps/devps/textmap: Likewise for ps device.
6701         * xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
6702         * tty/devascii/R.proto: Rename lA to la and rA to ra.
6703         * tty/devascii/R.proto: Likewise.
6704         * tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
6705         \(uA, \(dA.
6706         * eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.
6708         * xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.
6710         * eqn/lex.c: Added definitions of `approx', `grad' and `del' to
6711         def_table.
6713 Fri Aug  3 09:59:27 1990  James Clark  (jjc at yquem)
6715         * troff/div.c (when_request): Use symbol::is_null rather than
6716         has_arg to determine whether we have an argument.
6717         (change_trap): Remove the trap if we get an invalid number. Give
6718         an error if we don't get at least the macro name.
6719         (diversion_trap): Remove trap if we get an invalid name or number.
6721         * troff/env.c (environment_switch): Pop if we get an invalid
6722         symbol or numeric expression.
6724         * troff/input.c (do_define_macro):  If EOF is encoutered while
6725         defining the macro, do tok.next() before returning.
6727         * troff/token.h (has_arg): Move definition from here, to ...
6728         * troff/input.c (has_arg): ... here
6730         * troff/env.c (space_size): Do nothing if we get an invalid argument.
6731         * troff/input.c (shift): Likewise.
6733         * pic/lex.c (get_token_after_dot):  Accept `.center' as a synonym
6734         for `.c'.
6736         * pic/troff.c (troff_output::start_picture):  Comment out calls to
6737         `..'.
6739         * eqn/main.c (do_file): Subtract 1 from current_lineno if
6740         interpret_lf_args succeeds.
6742         * eqn/main.c (do_file): Don't recognize delimiter if preceded by
6743         \\.  This avoids problems with \$N.
6745         * groff.sh: Pass -C to preprocessors.
6747         * lib/lf.c (interpret_lf_args):  Be more flexible.
6749         * tbl/main.c (main): Add -C option.
6750         (table_input::get): Do not recognize TE if followed by character
6751         other than a space or newline unless -C option given.
6752         (process_input_file): Likewise for lf, TS.
6753         (process_data): Likewise for lf in text blocks.
6755         * eqn/main.c (main): Add -C option.
6756         (do_file): Don't recognize EQ, EN or lf if followed by character
6757         other than space or newline unless -C option given.
6758         * eqn/lex.c (file_input::read_line): Similarily.
6759         * eqn/eqn.h: Declare compatible_flag.
6761         * etc/soelim.c (main): Add -C option.
6762         (interpret_lf_args): Use version in libgroff.
6763         (do_file):
6765         * pic/main.c (main): Add -C option, which sets compatible_flag.
6766         (top_input::get), (top_input::peek):  If -C option not given,
6767         do not recognize .PS/.PE/.PF/.lf if followed by a character
6768         other than space or newline.
6769         * pic/lex.c (file_input::read_line): Similarily.
6770         * pic/pic.h: Add declaration of compatible_flag.
6772 Thu Aug  2 11:11:27 1990  James Clark  (jjc at yquem)
6774         * ps/tmac.ps (PSPIC): Avoid use of `echo -n'.
6776         * troff/node.c, troff/node.h:  Add `asciify' methods to classes
6777         derived from node.  New class space_char_hmotion_node.
6778         * troff/input.c (asciify_macro): New function.
6779         * troff/input.c (init_input_requests): New request `asciify' bound
6780         to asciify_macro.
6781         * macros/mm.diff: New file.
6782         * Makefile:  In install.mm target use `patch' to apply
6783         macros/mm.diff.
6785         * troff/input.c (macro::print_size): Just print the size in bytes.
6787         * troff/div.c (return_request): Correct the argument
6788         interpretation.
6790 Wed Aug  1 12:38:36 1990  James Clark  (jjc at yquem)
6792         * troff/node.h (class composite_node): Add sz member.
6793         * troff/node.c (composite_node::size): Return sz.
6794         * troff/input.c (macro_to_node):  Use the initial size in the
6795         environment as the size of the composite_node.
6797         * troff/node.c (node::zero_width_tprint):  Provide a reasonable
6798         default.
6800 Tue Jul 31 10:07:10 1990  James Clark  (jjc at yquem)
6802         * troff/div.c (change_trap): If we get a bad number expression,
6803         do nothing.
6805 Mon Jul 30 10:30:49 1990  James Clark  (jjc at yquem)
6807         * lib/matherr.c (matherr): Define this only if math.h defines
6808         TLOSS.
6810 Sun Jul 29 10:34:27 1990  James Clark  (jjc at yquem)
6812         * troff/div.c (macro_diversion::distance_to_next_trap): If there
6813         no diversion trap return vunits(INT_MAX - vresolution).
6815 Sat Jul 28 14:28:14 1990  James Clark  (jjc at yquem)
6817         * troff/input.c (do_zero_width): New implementation that doesn't
6818         use a temporary environment. Use instead:
6819         (token::add_to_node_list): New function.
6820         * troff/env.c (environment::get_prev_char_height),
6821         (environment::get_prev_char_height),
6822         (environment::get_prev_char_skew): New functions.
6823         (environment::get_prev_char): New function.
6824         (environment::get_prev_char_width): Change to use get_prev_char.
6825         (init_env_request): Implement new registers .cht, .cdp, .csk.
6826         * eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
6827         \Z being processed in a separate environment.
6829 Fri Jul 27 10:21:25 1990  James Clark  (jjc at yquem)
6831         * tbl/table.c: Removed TABLE_BOTTOM_REG.
6833         * tbl/table.c (table::init_output): In the section release macro,
6834         give a warning message if the section won't fit on one page.
6836         * tbl/table.c (table::do_top): Emit table keep only if table is
6837         boxed.
6838         (table::do_bottom): Likewise for table release.
6839         (table::table), (table::add_vertical_rule):  Remove reference to
6840         keep member.
6841         * tbl/table.h: Remove keep member.
6843         * tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
6844         SECTION_RELEASE_MACRO, if there's not enough space before the next
6845         trap to output the diversion, call T# ourselves, set
6846         SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
6847         SUPPRESS_BOTTOM_REG back to 0.  In T#, do nothing if
6848         SUPPRESS_BOTTOM_REG is non-zero.  In T#, always mark the current
6849         vertical position and return to it before turning traps on again.
6850         
6851 Thu Jul 26 02:54:32 1990  James Clark  (jjc at yquem)
6853         * troff/node.c, troff/node.h: In classes derived from node,
6854         replace prev_char_width method by last_char_node method.
6855         * troff/env.c (environment::get_prev_char_width): Use
6856         node::last_char_node rather than node::get_prev_char_width.
6858         * Makefile: Added comment about -fno-inline on 68030-based
6859         Apollos.
6861         * troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
6862         tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
6863         expressions using sizeof to int.
6864         * dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.
6866         * macros/tmac.e (TS):  Don't move @f back past the current
6867         position.
6869 Wed Jul 25 09:11:08 1990  James Clark  (jjc at yquem)
6871         * ps/ps.c (main): Buffer stderr.
6872         * dvi/dvi.c (main): Likewise.
6873         * tty/tty.c (main): Likewise.
6875         * ps/ps.c (ps_printer::do_import): Improve error handling.
6877         * troff/input.c (abort_request): Use asciify.
6879         * driver/printer.h (printer::draw), driver/printer.c (printer::draw),
6880         ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
6881         type of first argument int rather than char.  This works around a
6882         bug on the 68030 based Apollo using g++ 1.37.1.
6884         * tbl/table.h (class table): Add `keep' member.
6885         * tbl/table.c (table::table): Initialize `keep'.
6886         (table::add_vertical_rule): Set `keep' to 1.
6887         (table::do_top): Only emit table keep macro is `keep' is non-zero.
6888         (table::do_bottom): Likewise for table release macro.
6889         (table::do_row): Emit section keep macro even if the row is 0.
6891 Tue Jul 24 08:35:07 1990  James Clark  (jjc at yquem)
6893         * macros/tmac.e (@C): Preserve the font family across the change
6894         in environments.
6896 Mon Jul 23 10:15:23 1990  James Clark  (jjc at yquem)
6898         * lib/font.c: Initialize font::hor and font::vert to 1.
6899         (font::load_desc): Check the values of font::hor and font::vert.
6901         * lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
6902         be included in a C compilation.
6903         (iftoa): Use INT_DIGITS. Include lib.h.
6904         (itoa): Likewise.
6905         (as_string): Likewise.
6906         * tbl/table.c: Removed definition of INT_DIGITS.
6907         * eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
6908         * troff/input.c (input_input_requests): Likewise.
6909         * ps/ps.c (make_encoding_name): Likewise.
6910         (ps_printer::set_style): Likewise.
6911         (ps_output::put_number): Use 1 + INT_DIGITS + 1 instead of 12.
6913         * tty/devascii/R.proto: Map fm onto '.
6914         * tty/devlatin1/R.proto: Likewise.
6916 Sat Jul 21 12:45:07 1990  James Clark  (jjc at yquem)
6918         * tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
6919         argument to \w is at a different input level.
6921         * tbl/table.c (table::init_output): Define a new macro
6922         REPEATED_VPT_MACRO, like vpt but if in a diversion also
6923         transparently outputs itself.
6924         (table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
6925         vpt.
6926         (table::do_row): Likewise.
6928         * tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
6929         TRANSPARENT_STRING_NAME.
6931         * tbl/table.c (table::init_output): In the table release macro
6932         print an error message and don't produce any output if after
6933         issuing the need request the table still will not fit.  Also
6934         remove the diversion after bringing it back.
6936         * tbl/table.c (table::init_output): Define a new macro
6937         REPEATED_MARK_MACRO, like mk but if in a diversion also
6938         transparently outputs itself.
6939         (table::do_row): Mark row_top_reg using REPEATED_MARK_MACRO. This
6940         is necessary because .TH might not call .T#.
6941         (table::do_top): Likewise TOP_REG.
6942         (table::define_bottom_macro): If TOP_REG is no longer valid, use
6943         #T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
6944         table header might contain just the two top rules.
6946 Fri Jul 20 10:51:42 1990  James Clark  (jjc at yquem)
6948         * troff/div.c: Implement new request `ptr' to print all traps.
6950         * troff/env.c (init_env_requests): Implement `.tabs' reg with
6951         init_string_env_reg.
6952         * troff/env.c (class tab_reg): Deleted.
6954 Thu Jul 19 12:07:16 1990  James Clark  (jjc at yquem)
6956         * troff/div.c: New number register .pn returns the number of the
6957         next page as set by the pn request.
6959         * macros/tmac.an: Redid headers and footers.  Number each manual
6960         entry starting from 1 unless \nC is > 0, like Sun.  Added an
6961         optional 5th argument to .TH which specifies the manual name and
6962         appears in the center of the header.  Understand the X, P and D
6963         registers like Sun.
6965 Wed Jul 18 10:23:31 1990  James Clark  (jjc at yquem)
6967         * troff/env.c (init_env_requests): New number register `.lt' to
6968         return the title length.
6970         * troff/node.h (class transparent_dummy_node): New class.
6971         * troff/node.c (class transparent_dummy_node): Provide member
6972         functions. 
6973         * troff/env.c (interrupt): Add a transparent_dummy_node, rather
6974         than a dummy_node.
6976         * troff/input.c (token::next): New escape sequence \).
6977         * troff/input.c (get_copy): Recognize \) in copy mode.
6979         * troff/input.c (input_stack::clear): New function.
6980         * troff/input.c (exit_request): Use input_stack::clear.
6982         * troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
6983         * troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.
6985         * troff/env.c: Move set_page_character to input.c.  Move
6986         page_character to input.c also.
6987         * troff/env.c (title): Split off the reading of the parts of the
6988         title into read_title_parts.
6989         * troff/input.c (read_title_parts): New function.  Check the
6990         input_level when testing whether a token matches the delimiter.
6992         * troff/input.c (exit_request): New function.
6993         * troff/input.c (init_input_requests): Bind ex request to
6994         exit_request rather than exit_groff.
6996         * troff/input.c (exit_groff): Call tok.next() before
6997         process_input_stack().
6999 Mon Jul 16 09:47:23 1990  James Clark  (jjc at yquem)
7001         * troff/env.c: ifdef widow control support on WIDOW_CONTROL.
7002         * troff/env.h: ditto.
7003         * troff/input.c: ditto.
7005         * troff/env.c (environment::is_empty): Test pending_lines.
7007         * troff/env.c (environment::have_pending_lines): Removed.
7009         * troff/input.c: Add request to flush pending lines from the
7010         environment.
7012         * troff/env.c, troff/env.h: Add automatic widow control feature.
7014         * troff/input.c (exit_groff):  Do process_input_stack() after
7015         do_break() but before setting exit_flag to 2.
7017         * troff/input.c: Remove FLUSH_PENDING_LINES and
7018         TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
7019         environment after END_TRAP token seen, but only if there aren't
7020         any more traps still unfinished.
7021         * troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.
7023 Sun Jul 15 10:50:08 1990  James Clark  (jjc at yquem)
7025         * troff/env.c: Rename the `retain_size' member of class
7026         pending_output_line to `no_fill'.
7028         * troff/env.c (title): When the line is output, make the
7029         retain_size argument !fill.
7031         * troff/node.h: Add `hyphenated' member to struct breakpoint.
7032         * troff/node.c (space_node::get_breakpoints),
7033         (dbreak_node::get_breakpoints):  Fill this in.
7034         * troff/env.c:  Allow specification of maximum number of
7035         consecutive hyphenated lines.
7037         * troff/env.c (environment::is_empty): Add test for !current_tab.
7039 Sat Jul 14 11:23:01 1990  James Clark  (jjc at yquem)
7041         * troff/env.c (environment::hyphenate_line): Don't completely give
7042         up if the word is not to be hyphenated; continue so that breaks
7043         can be made at break_char_node's.
7045         * lib/lib.h: Only define INT_MAX if it's not already defined;
7046         undef INT_MIN if it's already defined.
7048         * Makefile: Make it easy to define CFRONT_ANSI_BUG.
7050         * lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
7051         This works around a bug in AT&T C++ 2.0 used with an ANSI C
7052         compiler.
7053         
7054         * macros/tmac.an (an-header): Set no-space mode.
7056         * macros/tmac.an (TH): Start a new page if necessary.
7058         * Started using ChangeLog at version 0.4.
7060 Local Variables:
7061 version-control: never
7062 End: