Fix typos.
[s-roff.git] / ChangeLog
blob310e66e879b32c440816a4a3f10aa7708593c32b
1 2002-04-05  Werner LEMBERG  <wl@gnu.org>
3         * tmac/tty.tmac: Don't use shc request.
4         * tmac/latin1.tmac, tmac/cp1047.tmac: Translate soft hyphen to `\%'.
5         * NEWS: Updated.
7 2002-04-05  Werner LEMBERG  <wl@gnu.org>
9         * src/drivers/grops/psrm.cc (skip_possible_newline): New function.
10         (resource_manager::do_begin_binary,
11         resource_manager::do_begin_data): Use it.
13         * doc/texinfo.tex: Updated to version 4.2.
15         * src/roff/troff/token.h: Add TOKEN_ZERO_WIDTH_BREAK for `\:'.
16         (token::zero_width_break): New inline function.
17         * src/roff/troff/input.cc (token::next): Use it.
18         (token::description): Updated.
19         (encode_char): Ignore `\%', `\&', `\)', and `\:'.
20         (token::add_to_node_list, token::process): Use it.
21         * NEWS, doc/groff.texinfo: Updated.
23         * src/preproc/eqn/over.cc (over_box::output): Fix typo.
24         * tmac/tty.tmac: Add missing backslash.
26 2002-04-04  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
28         * src/preproc/eqn/box.cc (set_script_size, box::top_level): Use
29         `.ps' register instead of `.s' to handle fractional point sizes.
30         * src/preproc/eqn/limit.cc (limit_box::compute_metrics,
31         limit_box::output): Ditto.
32         * src/preproc/eqn/other.cc (size_box::compute_metrics,
33         size_box::output): Ditto.
34         * src/preproc/eqn/over.cc (over_box::compute_metrics,
35         over_box::output): Ditto.
36         * src/preproc/eqn/script.cc (script_box::compute_metrics,
37         script_box::output): Ditto.
38         * src/preproc/eqn/sqrt.cc (sqrt_box::compute_metrics,
39         sqrt_box::output): Ditto.
41 2002-04-03  Michael Selway  <mas@ssl.co.uk>
43         * src/drivers/grops/psrm.cc (resource_manager::do_begin_binary):
44         Fix typo.
46 2002-04-03  Werner LEMBERG  <wl@gnu.org>
48         * doc/homepage.ms: Reduce title size.
49         * doc/groff.texinfo: Fix documentation of .t register.
50         Fix handling of colon.
51         Fix `\' vs. `\\'.
53         * src/roff/troff/input.cc (exit_troff): Emit LAST_PAGE_EJECTOR
54         only if page length is positive to avoid a loop.
56         * tmac/an-old.tmac (ne): Increase page length to avoid problems with
57         tbl.
59 2002-04-02  P. Alejandro Lopez-Valencia  <dradul@yahoo.com>
61         * src/include/nonposix.h, src/roff/groff/pipeline.c:
62         s/__CYGWIN32__/__CYGWIN__/.
64 2002-03-28  Gaius Mulley  <gaius@glam.ac.uk>
66         * doc/gnu.xpm: New image contributed by Emily Mulley.
67         * doc/Makefile (gnu.eps, gnu.png): Use pnmdepth.
68         (homepage.html): Be dependent on gnu.eps.
69         * doc/homepage.ms: Updated to new image.
71         * src/devices/grohtml/post-html.cc (html_printer): New member
72         `sbuf_prev_hpos'.
73         (html_printer::flush_sbuf, html_printer::set_char): Set it.
74         (html_printer::sbuf_continuation): Use it.
76 2002-03-28  Werner LEMBERG  <wl@gnu.org>
78         * src/libs/libgroff/getopt.c: Updated to latest version.
80         * tmac/README: More on hyphen.tex license.
82 2002-03-26  Larry Kollar  <kollar@alltel.net>
84         * doc/groff.texinfo: Add documentation of most missing requests.
86 2002-03-25  Werner LEMBERG  <wl@gnu.org>
88         Add three glyphs `t+-', `tmu', and `tdi' which are textual variants
89         of `+-', `mu', and `di', respectively.
91         * font/devascii/R.proto, font/devutf8/R.proto,
92         font/devlatin1/R.proto, font/devhtml/R.proto,
93         font/devcp1047/R.proto, font/devlpb/*: Add them.
94         * font/devps/generate/textmap: Ditto.
95         * font/devps/*: Regenerated.
96         * font/devlj4/generate/text.map: Add them.
97         * font/devlj4/*: Regenerated.
98         * font/devdvi/generate/tc.map: Use them.
99         * font/devdvi/generate/texsy.map: Add them.
100         * font/devdvi/*: Regenerated.
101         * font/devX*/*: Regenerated.
103         * tmac/latin1.tmac, tmac/cp1047.tmac, tmac/tty.tmac,
104         tmac/tty-char.tmac: Updated.
106         * NEWS, man/groff_char.man: Updated.
108 2002-03-24  Werner LEMBERG  <wl@gnu.org>
110         * tmac/dvi.tmac, tmac/X.tmac, tmac/ps.tmac, tmac/html.tmac,
111         tmac/lj4.tmac, tmac/tty.tmac: Replace most `.char' with `.fchar'.
112         * tmac/ec.tmac: Remove `.rchar' calls (no longer necessary since
113         we use `.fchar' in dvi.tmac.
114         * tmac/dvi.tmac: Improve definition of \[Fo] and \[Fc].
115         * tmac/Xps.tmac: Simplify some char definitions.
116         Add definition for \[f/].
117         * man/groff_char.man: Updated for new X.tmac.
119         * tmac/README: New file.
121 2002-03-23  Phil Lobbes  <phil@perkpartners.com>
123         * Makefile.comm (.y.o): New rule for make on Solaris 2.5.1 -- the
124         internal .y.o rule took precendence over the .y.cc rule, compiling
125         the yacc files with gcc instead of g++.
127 2002-03-23  Werner LEMBERG  <wl@gnu.org>
129         * tmac/dvi.tmac: Add replacement font for `CB'.
131         * tmac/doc.tmac: s/request/macro/ in messages.
132         (doc-generic-macro): Improve error message.
133         * tmac/groff_mdoc.man: Minor improvements.
135 2002-03-22  Werner LEMBERG  <wl@gnu.org>
137         * doc/groff.texinfo: Document possible conflict between `tr' and
138         `char' requests.
140 2002-03-21  Werner LEMBERG  <wl@gnu.org>
142         Improve handling of hyphenation patterns.  It is now possible to
143         use most of TeX's pattern files unmodified.  To make the process
144         more flexible, a new request `hpfcode' has been added which
145         provides a character code mapping for the `hpf' request.  See
146         comment before hpf_getc() for more details.
148         * src/roff/troff/env.cc (insert_hyphenation, hpf_getc): New
149         functions.
150         (read_patterns_file): Additional parameter for exception dictionary.
151         Extended to recognize \pattern, \hyphenation, and \endinput.
152         (do_hyphenation_patterns_file): Updated.
153         * src/roff/troff/env.h (hpf_code_table): New extern.
155         * src/roff/troff/input.cc (hpf_code_table): New array.
156         (init_hpf_code_table, hyphenation_patterns_file_code): New
157         functions.
158         (hyphenation_code): Handle translation from `trin' correctly.
159         (main, init_input_requests): Updated.
160         (charinfo::set_translation): Handle hyphenation code also.
162         * src/roff/troff/charinfo.h (charinfo::get_translation_input): New
163         inline function.
165         * src/roff/troff/env.cc (WORD_MAX): Reduced to 256 since `unsigned
166         char' is used for offsets in hyphenation exceptions.
168         * tmac/hyphen.us: Replace with contents of unmodified `hyphen.tex'.
170         * NEWS, man/groff_diff.man, man/groff.man: Document it.
172 2002-03-20  Larry Kollar  <kollar@alltel.net>
174         * doc/groff.texinfo: Add documentation for `hpfa' and `trin'
175         requests.
177 2002-03-18  Werner LEMBERG  <wl@gnu.org>
179         * tmac/html.tmac: Fix serious typo.
181 2002-03-17  Larry Kollar  <kollar@alltel.net>
183         * doc/groff.texinfo: Add documentation for `writec' request.
185 2002-03-17  Werner LEMBERG  <wl@gnu.org>
187         Added request `hpfa' to append hyphenation patterns.
189         * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
190         parameter `append'.
191         (hyphenation_patterns_file): Renamed to...
192         (do_hyphenation_patterns_file): This.
193         (hyphenation_patterns_file, hyphenation_patterns_file_append): New
194         functions.
195         (init_hyphen_requests): Updated.
196         * NEWS, man/groff.man, man/groff_diff.man: Document it.
198 2002-03-16  Werner LEMBERG  <wl@gnu.org>
200         Added request `writec' in analogy to `tmc'.
202         * src/roff/troff/input.cc (write_request): Renamed to...
203         (do_write_request): This.
204         Added one parameter.
205         (write_request, write_request_continue): New functions.
206         (init_input_requests): Updated.
207         * NEWS, man/groff.man, man/groff_diff.man: Document it.
209         * font/devdvi/DESC.in (sizes): Allow all sizes in the range
210         5-10000pt.
211         * NEWS: Document it.
213 2002-03-15  Werner LEMBERG  <wl@gnu.org>
215         * man/groff.man: Add writem request.
217         Add request `trin' (translate input) to make `.asciify' work
218         correctly.  This is necessary since `charXXX' entity names are no
219         longer hardcoded in font definition files.
221         * src/roff/troff/charinfo.h (charinfo): Add `asciify_code' and
222         `translate_input' members.
223         (charinfo::set_asciify_code, charinfo::get_asciify_code,
224         charinfo::set_translation_input): New methods.
225         (charinfo::set_translation): Add third argument.
226         * src/roff/troff/input.cc (charinfo:set_translation): Set
227         `asciify_code'.
228         (do_translate): Add second argument.
229         (translate_input): New function.
230         (init_input_requests): Updated.
231         * src/roff/troff/node.cc (glyph_node::asciify,
232         composite_node::asciify): Use `get_asciify_code'.
234         * tmac/cp1047.tmac, tmac/latin1.tmac: Use `trin'.
236         * NEWS, man/groff.man, man/groff_diff.man: Updated.
238 2002-03-14  Larry Kollar  <kollar@alltel.net>
240         * doc/groff.texinfo: Improve documentation of .RS and .RE.
242 2002-03-14  Werner LEMBERG  <wl@gnu.org>
244         Add a new request `sizes' similar to the `sizes' command in DESC
245         files.
247         * src/roff/troff/env.cc (override_sizes): New function.
248         (init_env_requests): Use it.
249         * src/roff/troff/token.h: Export `read_string'.
250         * NEWS, man/groff_diff.man, man/groff.man: Document it.
252 2002-03-12  Werner LEMBERG  <wl@gnu.org>
254         * doc/groff.texinfo: More fixes for texinfo 4.1 and higher.
256 2002-03-10  Werner LEMBERG  <wl@gnu.org>
258         * tmac/pspic.tmac: Add support for -Tdvi.
259         * tmac/dvi.tmac: Include pspic.tmac.
260         * src/devices/grodvi/grodvi.man: Document it.
261         * NEWS: Updated.
263         * font/devlj4/generate/Makefile: Fix URL of metric files.
265 2002-03-09  Werner LEMBERG  <wl@gnu.org>
267         * PROBLEMS: The static constructor bug has been fixed in z/OS V1R3.
269 2002-03-09  Larry Kollar  <kollar@alltel.net>
271         * tmac/groff_ms.man: Add documentation for RS and RE macros.
273 2002-03-08  Werner LEMBERG  <wl@gnu.org>
275         * doc/groff.texinfo: Fixes for texinfo 4.1.
277 2002-03-07  Werner LEMBERG  <wl@gnu.org>
279         * src/include/lib.h: Include getopt.h if groff-getopt.h can't be
280         included.
281         Handle CYGWIN properly.
283 2002-03-07  Paco Andrés Verdú  <pandres@dragonet.es>
285         * font/devlbp/Makefile.sub (DEVFILES): Add some missing fonts.
286         * tmac/lbp.tmac: Add some font translations.
288 2002-03-02  Werner LEMBERG  <wl@gnu.org>
290         * font/devcp1047/R.proto, font/devlatin1/R.proto,
291         font/devhtml/R.proto: Remove `charXXX'  entries.
292         * tmac/tty.tmac, tmac/html.tmac: Load latin1.tmac or cp1047.tmac
293         where appropriate.
295         * font/devlj4/generate/text.map: Remove `charXXX' entries.
296         * font/devlj4/*: Regenerated all font definition files.
297         * tmac/lj4.tmac: Load latin1.tmac.
299         * src/utils/hpftodit/hpftodit.cc (do_file): Partially undo change
300         from 2000-06-17: LJ4 metric files are *not* text files.
302         * tmac/troffrc, tmac/dvi.tmac, tmac/ps.tmac: Don't use .T string
303         register to test for EBCDIC.
305 2002-03-01  Werner LEMBERG  <wl@gnu.org>
307         * src/utils/afmtodit/afmtodit.pl: Skip comment lines in encoding
308         files (as grops already does).
309         * src/utils/afmtodit/afmtodit.man: Document comment lines in map
310         files.
311         * src/devices/grops/grops.man: Document comment lines in encoding
312         files.
314         * tmac/cp1047.tmac: New file.
315         * tmac/dvi.tmac, tmac/tty-char.tmac: Use it.
316         * tmac/ps.tmac: Load latin1.tmac or cp1047.tmac.
317         * tmac/Makefile.sub (NORMALFILES): Updated.
319         * tmac/ec.tmac: Don't load latin1.tmac again.
321         * font/devps/generate/lgreekmap, font/devps/generate/symbolchars,
322         font/devps/generate/dingbats.map,
323         font/devps/generate/dingbats.rmap, font/devps/text.enc,
324         font/devps/generate/Makefile (symbolmap): Add header comment.
325         * font/devps/generate/textmap: Ditto.
326         Remove `charXXX' entries.
327         * font/devps/symbolmap: Regenerated.
328         * font/devps/*: Regenerated all font definition files.
330 2002-02-28  Werner LEMBERG  <wl@gnu.org>
332         Add color support to grodvi (for drawing colors are currently
333         translated to gray values).
335         * src/devices/grodvi/dvi.cc (FILL_MAX): Removed.
336         (dvi_printer): Add `cur_color' member.
337         (dvi_printer::set_color): New function.
338         (draw_dvi_printer): Remove `fill'.
339         (draw_dvi_printer::fill_next): Pass environment as parameter.
340         Update code for new color support translated to gray.
341         (dvi_printer::set_char): Updated.
342         (dvi_printer::begin_page, dvi_printer::end_page): Handle color
343         changes crossing the page border.
344         (dvi_printer::draw): Updated.
345         Remove cases `f' and `F'.
346         * tmac/dvi.tmac: Add color definitions.
347         * NEWS, src/devices/grodvi/grodvi.man: Updated.
349         * tmac/an-old.tmac (R): Make this a macro to emit a warning if
350         used incorrectly.
352         * aclocal.m4 (GROFF_NEED_DECLARATION): Use test similar to recent
353         versions of autoconf.
354         * configure: Updated.
356         * doc/homepage.ms: Use `.blm'.
357         * tmac/www.tmac (www-depth): New auxiliary variable.
358         (www-pop-level): Don't issue HTML tag.
359         (ULS, ULE, LI): Use absolute indentation.
361         * src/devices/grops/ps.cc (ps_printer::begin_page,
362         ps_printer::end_page): Switch forth and back to default color while
363         starting a new page.
365 2002-02-27  Werner LEMBERG  <wl@gnu.org>
367         Add EC and TC fonts to devdvi.
369         * src/utils/tfmtodit/tfmtodit.man: Document patching of exbase.mf.
370         * font/devdvi/generate/cork.map: Renamed to...
371         * font/devdvi/generate/ec.map: This.
372         Remove entry for `aq'.
373         * font/devdvi/generate/tc.map: New file.
374         * font/devdvi/generate/Makefile (*EC, *TC): New creation rules for
375         EC and TC fonts.
376         (FONTS): Updated.
377         * font/devdvi/*EC, font/devdvi/*TC: New font definition files.
378         * font/devdvi/Makefile.sub (DEVFILES): Updated.
379         * tmac/ec.tmac: New file.
380         * tmac/Makefile.sub (NORMALFILES): Updated.
381         * NEWS, src/devices/grodvi/grodvi.man: Updated.
382         * man/groff_char.man: Check `ECFONTS' register.
384         * font/devdvi/{TR,TI,TB,TBI,HR}: Fix `name' field.
386 2002-02-26  Werner LEMBERG  <wl@gnu.org>
388         * font/devdvi/generate/*.map: Remove all `charXXX' entries.
389         * font/devdvi/generate/cork.map: Add 'y and 'Y.
390         * font/devdvi/*: Updated.
391         * tmac/dvi.tmac: Formatting.
393         Add font `HBI' for the dvi output.
394         Add support for font families `T' and `H'.
396         * font/devdvi/HBI: New file.
397         * font/devdvi/B: Renamed to ...
398         * font/devdvi/TB: This.
399         * font/devdvi/BI: Renamed to ...
400         * font/devdvi/TBI: This.
401         * font/devdvi/I: Renamed to ...
402         * font/devdvi/TI: This.
403         * font/devdvi/R: Renamed to ...
404         * font/devdvi/TR: This.
405         * font/devdvi/H: Renamed to ...
406         * font/devdvi/HR: This.
407         * font/devdvi/Makefile.sub (DEVFILES): Updated.
408         * font/devdvi/generate/Makefile (HBI): New rule.
409         (FONTS): Updated.
410         (R, I, B, BI, H): Renamed to ...
411         (TR, TI, TB, TBI, HR): This, respectively.
412         (srcdir): Fixed.
413         * NEWS, src/devices/grodvi/grodvi.man: Updated.
414         * font/devdvi/DESC.in: Don't mount R, I, B, BI, and CWI.
415         Add `styles' and `family' keywords.
416         * tmac/dvi.tmac: Alias `H' to `HR'.
417         Add some fspecial requests for italic fonts.
418         Add TR and TI as special.
419         Add support for `_' with font CWI.
421         * src/roff/troff/number.cc (parse_expr): Add missing `break' for
422         operator `:'.  Until now, the expression `0:1' would return 2
423         instead of 1.
425 2002-02-25  Werner LEMBERG  <wl@gnu.org>
427         * man/groff_char.man: Added some missing PS glyph names (from the
428         Adobe Glyph List).
429         * font/devps/generate/textmap, font/devps/symbolmap: Add
430         `arrowupdn'.
432         * doc/groff.texinfo: Minor additions and fixes.
433         * man/groff_diff.man: Remove documentation of fp request.  This
434         is already covered in the original troff manual.
435         Updated to be consistent with other doc files.
436         * NEWS: Updated.
438 2002-02-24  Werner LEMBERG  <wl@gnu.org>
440         * aclocal.m4 (GROFF_EBCDIC): Don't include `font/devutf8' in
441         TTYDEVDIRS.
442         Define new variable OTHERDEVDIRS (containing `font/devlj4
443         font/devlbp' if not EBCDIC).
444         * Makefile.in (TTYDEVDIRS): Always include `font/devutf8'.
445         (OTHERDEVDIRS): New variable.
446         (MDEFINES, DEVDIRS, ALLDIRS, DISTDIRS): Updated.
447         * configure: Regenerated.
449         * NEWS, src/devices/grotty/grotty.man: Updated.
451 2002-02-23  Werner LEMBERG  <wl@gnu.org>
453         * src/roff/troff/input.cc (do_overstrike, do_bracket,
454         get_line_arg): Honour input level.
456         Add new symbol `mc' corresponding to U+00B5 MICRO SIGN.
458         * font/*/*: Implement it in all font files.
459         * font/devps/generate/textmap, font/devps/generate/symbolchars,
460         * font/devps/symbolmap: Updated.
461         * font/devlj4/generate/text.map: Updated.
462         * font/devdvi/generate/CompileFonts (sizes): Add LaTeX sizes.
463         * font/devdvi/generate/texmi.map: Updated.
465         * font/devutf8/R.proto: Remove all `charXXX' entries.
466         * font/devutf8/NOTES: Updated.
468         * font/devX*/*: Regenerated with xtotroff, using fonts from XFree86
469         version 4.1.0.
471         * tmac/latin1.tmac, tmac/psold.tmac, tmac/tty-char.tmac: Updated.
473         * NEWS, man/groff_char.man: Updated.
475 2002-02-21  Phil Lobbes <phil@perkpartners.com>
477         * src/include/lib.h [HAVE_SNPRINTF]: Include stdarg.h.
479 2002-02-20  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
481         * src/roff/grog/grog.pl: Fix computation of $refer.
483 2002-02-19  Werner LEMBERG  <wl@gnu.org>
485         * src/include/lib.h [!HAVE_SNPRINTF]: Add declarations for
486         `snprintf' and `vsnprintf'.
488         * src/include/htmlindicate.h: Renamed to...
489         * src/include/htmlhint.h: This.
490         * src/include/Makefile.sub: Updated.
491         * src/preproc/eqn/main.cc: Updated.
493 2002-02-18  Werner LEMBERG  <wl@gnu.org>
495         * man/roff.man, man/groff_out.man, man/groff.man,
496         man/groff_diff.man, man/ditroff.man, src/roff/groff/groff.man,
497         src/roff/troff/troff.man: Updated to latest changes in www.tmac.
499         * win32-diffs: Updated.
501 2002-02-17  Werner LEMBERG  <wl@gnu.org>
503         * doc/Makefile (clean): Add *.eps.
504         (MEMACROS): Removed.
505         (TFLAG): New variable.
506         (TROFF): Use it.
507         Add -ww.
508         (GROFF): Use TFLAG, FFLAG, -U, -p, -e, -t, and -ww.
509         (.me.dit): Fixed.
510         (.ms.html, .ms.ascii, .ms.ps, homepage.html): Simplify.
512         * tmac/www.tmac: Use dummy diversion while resetting and disabling
513         `.tl'.
514         * tmac/e.tmac: Inserted some more `\"' to remove warnings if used
515         unstripped.
516         * src/roff/troff/troff.man: Fix order of parameter description.
518         * NEWS: Updated.
520 2002-02-16  Gaius Mulley  <gaius@glam.ac.uk>
522         Simplify image handling for grohtml.
523         Fix <p> bug.
525         * src/devices/grohtml/html-text.cc (DEBUGGING): Don't undefine but
526         comment out.
527         (html_text::dump_stack): Don't emit newline while debugging.
528         (html_text::do_push) [DEBUGGING]: Print more info.
529         (html_text::check_emit_text): Fix handling of <p>.
530         * src/devices/grohtml/html.h: Updated.
531         * src/devices/grohtml/output.cc (FPUTC, FPUTS, PUTC): New macros,
532         replacing `fputc', `fputs', `putc'.  If DEBUGGING is defined, they
533         send its data to stderr also.
534         Update all callers.
535         (simple_output::space_or_newline) [DEBUGGING]: Removed.
536         * src/devices/grohtml/post-html.cc (html_printer::do_links,
537         html_printer::html_printer): Remove `DEBUGGING' conditionals.
539         * src/include/html-strings.h (HTML_IMAGE_{CENTERED,LEFT,RIGHT,END}):
540         Removed.
541         * src/libs/libgroff/htmlhint.cc (is_in_graphic_start,
542         is_inline_image): Removed.
543         (html_begin_suppress, html_end_suppress): Don't take a parameter.
544         (graphic_start, graphic_end): Removed.
545         * src/include/htmlindicate.h: Updated.
546         * src/preproc/html/pre-html.cc (DEBUG_HTML): Removed.
547         (macroset_template): New global variable.
548         (makeFileName): Use `macroset_template'.
549         (write_end_image): Don't take a parameter.
550         Don't emit newline.
551         (write_start_image: Don't emit newline.
552         (char_buffer::write_upto_newline): Updated.
553         (char_buffer::skip_to_newline): Renamed to ...
554         (char_buffer::skip_until_newline): This.
555         Fix code.
556         (char_buffer::write_file_troff, char_buffer::write_file_html):
557         Simplified.
558         (createAllPages, createImage) [DEBUGGING]: Handle `debug' flag.
559         (removeAllPages): Remove `DEBUGGING' conditionals.
560         (addRegDef, dump_args): New functions.
561         (char_buffer::do_html, char_buffer::do_image): Handle
562         `www-image-template' command line variable.
563         Add more debugging code.
564         (addps4html): Removed.
565         (removeTempFiles) [DEBUGGING]: Handle `debug' flag.
567         * src/preproc/eqn/main.cc: Include `ctype.h'.
568         (suppress_html): Removed.
569         (do_file): Updated.
570         (inline_equation): Use `html_begin_suppress' and
571         `html_end_suppress'.
572         * src/preproc/pic/troff.cc: Don't include `htmlindicate.h'.
573         (troff_output::start_picture, troff_output::finish_picture):
574         Updated.
575         * src/preproc/tbl/main.cc: Don't include `htmlindicate.h'.
576         (process_input_file): Updated.
578         * src/roff/troff/div.cc (page_number): Set page number only if the
579         `ps4html' register isn't defined.
580         * src/roff/troff/input.cc (image_no): New external variable.
581         (do_suppress): Use it.
582         * src/roff/troff/node.h (suppress_node::image_id): New member.
583         * src/roff/troff/node.cc (image_no): Remove `static' keyword.
584         (suppress_node::suppress_node): Initialize `image_id' member.
585         (suppress_node::same): Handle `image_id' also.
586         (suppress_node::copy): Updated.
587         (last_image_id): New global variable.
588         (suppress_node::tprint): Use it.
590         * tmac/an-old.tmac (TS, TE, EQ, EN): Use HTML-IMAGE and
591         HTML-IMAGE-END.
592         * tmac/pspic.mac (PSPIC): Fix html support.
593         * tmac/s.tmac (@EQ, @EN, @TS, TE, PS, PE): Ditto.
594         * tmac/www.tmac (www-image-template): Set up.
595         (HTMLINDEX): Renamed to...
596         (HX): This.
597         (BODYCOLOR): Renamed to...
598         (BCL): This.
599         (BACKGROUND): Renamed to...
600         (BGIMG): This.
601         (URL): Change order of parameters for consistency.
602         (MAILTO): Renamed to...
603         (MTO): This.
604         (IMAGE, PNG-IMAGE, MARGIN-PNG-IMAGE): Renamed to...
605         (IMG, PIMG, MPIMG): This.
606         (HTML-H-BEGIN, HTML-H-END): Renamed to...
607         (HnS, HnE): This.
608         (LINKS): Renamed to...
609         (LK): This.
610         (LINE): Renamed to...
611         (HR): This.
612         (NO-AUTO-RULE): Renamed to...
613         (NHR): This.
614         (HTML-TL): Renamed to...
615         (HTL): This.
616         (UL-BEGIN, UL-END): Renamed to...
617         (ULS, ULE): This.
618         (DROPCAP): Renamed to...
619         (DC): This.
620         (TS, TE, EQ, EN): Provide default definitions.
621         (www-make-unique-name): Updated.
622         (HTML-IMAGE-INLINE): Fix typo.
623         * tmac/groff_www.man: Updated.
625         * doc/Makefile (homepage.html): Add option -r to grohtml.
626         Use shortened image name.
627         * doc/groff.texinfo: Updated info on grohtml strings and macros.
628         * doc/homepage.ms: Updated and extended.
630 2002-02-14  Werner LEMBERG  <wl@gnu.org>
632         Don't use `CSI 39 m' and `CSI 49 m' but `CSI 0 m'.
634         * src/devices/grotty/tty.cc (SGR_DEFAULT_COLOR,
635         SGR_BACK_DEFAULT_COLOR): Replaced with ...
636         (tty_printer::put_color): Use it.
637         (ttr_printer::end_page): Simplify.
639 2002-02-13  Werner LEMBERG  <wl@gnu.org>
641         * tmac/groff_tmac.man: Moved to...
642         * man/groff_tmac.man: This place.
643         * tmac/Makefile.sub, man/Makefile.sub: Updated.
645 2002-02-12  Werner LEMBERG  <wl@gnu.org>
647         * src/libs/libgroff/Makefile.sub (snprintf.o): Don't use
648         $(COMPILE.c) to not include groff's assert.h.
650         * src/drivers/grotty/tty.cc (main): Add GROFF_NO_SGR environment
651         variable.
652         * NEWS, src/drivers/grotty/grotty.man: Document it.
654 2002-02-11  Werner LEMBERG  <wl@gnu.org>
656         * src/libs/snprintf/snprintf.c: Updated to latest version
657         (2002-02-11).
659         * src/roff/grog/grog.pl (process): Fix handling of `.['.  We now
660         test whether there is `.]' also.
661         Don't check for spaces after `.['.
662         * src/roff/grog/grog.sh: Do the same.
664 2002-02-10  Werner LEMBERG  <wl@gnu.org>
666         Illegal -> Invalid.
668         * src/libs/libgroff/illegal.cc: Renamed to ...
669         * src/libs/libgroff/invalid.cc: This.
670         (illegal_char_table): Renamed to ...
671         (invalid_char_table): This.
672         * src/libs/libgroff/Makefile.sub: Updated.
673         * win32-diffs: Updated.
675         * doc/groff.texinfo, src/devices/grops/psrm.cc (ps_get_line),
676         src/libs/libdriver/input.cc (fatal_command, parse_color_command,
677         parse_x_command), src/libs/libgroff/font.cc (text_file::next,
678         font::load), src/preproc/eqn/main.cc (read_line, main),
679         src/preproc/eqn/lex.cc (file_input::read_line),
680         src/preproc/pic/lex.cc (file_input::read_line,
681         simple_file_input::get, simple_file_input::peek),
682         src/preproc/pic/main.cc (top_input::get, top_input::peek),
683         src/preproc/pic/pic.man, src/preproc/refer/main.cc
684         (input_stack::push_file), src/preproc/refer/refer.cc (do_file,
685         do_bib), src/preproc/tbl/main.cc (table_input::get),
686         src/preproc/grn/grn.man, src/preproc/grn/main.cc (interpret),
687         src/roff/troff/input.cc (file_iterator::fill, file_iterator::peek,
688         do_zero_width, read_request, encode_char, ps_get_line,
689         transparent_file, get_char_for_escape_name, transparent_translate,
690         asciify, input_char_description, read_string, set_string),
691         src/roff/troff/env.cc (environment::add_html_tag),
692         src/roff/troff/troff.man, tmac/e.tmac (`@(', `(f'): Do it.
694         * src/include/lib.h: Updated.
696         * src/preproc/eqn/eqn.cc: Removed.
698         * NEWS: Updated.
700         * src/preproc/grn/hdb.cc (DBRead): Fix fscanf() fields.
702 2002-02-09  Werner LEMBERG  <wl@gnu.org>
704         * doc/gnu.xpm: New image.
705         * doc/Makefile (DOCS): Add homepage.ps.
706         Add rules for converting xpm->png and xpm->eps.
707         Use `gnu.{xpm,eps}' as image names.
708         * doc/homepage.ms: Updated.
710 2002-02-09  Gaius Mulley  <gaius@glam.ac.uk>
712         * tmac/www.tmac (www-error): New macro, replacing calls to `@error'.
713         (IMAGE): Change image position parameters to `-L', `-R', and `-C'.
714         Remove calls to `B1' and `B2'
715         (PNG-IMAGE): New macro for inclusion of images in PNG format.
716         (www-left-ll-trap, www-left-po-trap, www-right-ll-trap): New
717         auxiliary variables for MARGIN-PNG-IMAGE.
718         (www-finish-left-po, www-finish-right-ll, www-finish-left-ll): New
719         auxiliary macros for MARGIN-PNG-IMAGE.
720         (MARGIN-PNG-IMAGE): New macro to put an image in PNG format into
721         the margin.
722         (www-heading-no): New auxiliary variable for HTML-H-{BEGIN,END}.
723         (HTML-H-BEGIN, HTML-H-END): New macros to begin and end a heading.
724         (DROPCAP): New macro to produce dropcap characters.
725         (www-do-image): Renamed back to...
726         (HTML-DO-IMAGE): This.
727         Updated all callers.
729         * doc/Makefile (gnubw.eps): Updated.
730         * doc/homepage.ms: Updated.
732 2002-02-08  Werner LEMBERG  <wl@gnu.org>
734         * doc/pic.ms: Fixed typos (\(*tx -> \*(tx).
735         Added `linethick' to table in section `Style Variables'.
737 2002-02-08  Gaius Mulley  <gaius@glam.ac.uk>
739         * src/libs/libdriver/input.cc (get_extended_arg): Fix conditional.
741 2002-02-07  Werner LEMBERG  <wl@gnu.org>
743         Adding options -C (compatibility mode) and -c (grotty's old output
744         scheme) to nroff.
746         * src/roff/nroff/nroff.sh: Implement it.
747         Remove `-Wall'.
748         * NEWS, src/roff/nroff/nroff.man: Updated.
750         * PROBLEMS: Document bison 1.32 bug.
752         Some fixes to make groff compile on z/OS 1.2 UNIX (was OS/390).
754         * src/roff/troff/node.cc (make_tfont): Define it earlier.
755         * src/roff/troff/div.h: Add prototype for `end_diversions'.
756         * src/roff/troff/input.cc: Add prototype for `process_input_stack'.
757         * src/roff/troff/env.h: Add prototype for `title'.
759         Adding EBCDIC support to grotty.
761         * src/devices/grotty/tty.cc (CSI): New macro.
762         (SGR_*, tty_printer::put_color): Use it.
764 2002-02-06  Werner LEMBERG  <wl@gnu.org>
766         Implementing color support in grotty.  The new switch -c activates
767         the old drawing scheme, disabling color at the same time.  The new
768         switch `-i' selects italic instead of underlining (SGR only).
770         * src/devices/grotty/tty.cc (putstring): New define instead of
771         `fputs'.  Updated all callers.
772         (old_drawing_scheme): New global variable.
773         (COLOR_CHANGE): New enum value.
774         (SGR_*): New defines containing color handling escape sequences.
775         (TTY_MAX_COLORS, DEFAULT_COLOR_IDX): New defines.
776         (glyph): New members `back_color_idx' and `fore_color_idx'.
777         (glyph::order): Add COLOR_CHANGE.
778         (tty_printer): New members `cur_fore_idx', `curr_back_idx',
779         `is_underline', `is_bold', `cu_flag', `tty_colors'.
780         New methods `make_underline', `make_bold', `color_to_idx',
781         `change_color', `put_color'.
782         (cu_flag): Moved into `tty_printer' class.
783         (tty_printer::tty_printer): Initialize colors.
784         (tty_printer::add_char, tty_printer::set_char, tty_printer::special,
785         tty_printer::draw, tty_printer::end_page): Handle colors also.
786         (main): Add options `-c' and `-i'.
787         (usage): Updated.
788         * NEWS, src/devices/grotty/grotty.man: Updated.
790         * src/include/errarg.h (errarg): Add support for `unsigned int'.
791         * src/libs/libgroff/errarg.c: Implement it.
793         * src/include/printer.h (printer): Add `change_color' method
794         (currently used by grotty only).
795         * src/libs/libdriver/printer.cc: Implement it.
796         * src/libs/libdriver/input.cc (parse_D_command, do_file): Add
797         call to `pr->change_color'.
799         * src/roff/troff/node.cc (troff_output_file::fill_color,
800         troff_output_file::glyph_color): Call `do_motion'.
802         * tmac/tty.tmac: Add color definitions.
804         * src/roff/groff/groff.man: Minor fixes.
806 2002-02-05  Bernd Warken  <bwarken@mayn.de>
808         * src/libs/libdriver/input.cc: Introduce `EnvInt' typedef and use
809         it.  This is a preparation for future changes.
811 2002-02-05  Werner LEMBERG  <wl@gnu.org>
813         * src/roff/troff/input.cc (process_input_stack): Fix the case
814         where leading spaces are followed by \f or \s; previously, an
815         incorrect space width has been used.
817         * doc/roff.man (quoted_char): Fix argument.
818         (comment): Define string.
820 2002-02-04  Larry Kollar  <kollar@alltel.net>
822         * doc/groff.texinfo: More fixes.
824 2002-02-04  Werner LEMBERG  <wl@gnu.org>
826         * src/preproc/eqn/box.cc (output_string): Don't use \\*[...].
827         * src/preproc/eqn/main.cc (do_file, inline_equation): Call
828         `restore_compatibility' before `output_string' -- the LINE_STRING
829         register now already contains proper switches from and to
830         compatibility mode.
832         * man/groff_char.man: Add Euro symbol.
833         * man/groff_diff.man: Improve documentation of `.am1' and `.as1'.
834         * tmac/tty.tmac: Add `EUR' as replacement for `eu' and `Eu'.
835         * doc/groff.texinfo (Defstr*): Print strings with full syntax.
836         Other minor fixes.
838         * doc/Makefile (.SUFFIXES, .texinfo.pdf, clean): Add support for
839         texinfo->pdf.
840         (.texinfo.html): Add support for texinfo->html.
842 2002-02-03  Werner LEMBERG  <wl@gnu.org>
844         Added three new requests `ds1', `as1', and `ami'.  The former two
845         are equivalent to `ds' and `as' with the difference that
846         compatibility mode is saved on entry, switched off during string
847         expansion, and restored on exit.  The latter is the pendant to `dei'
848         for `am'.
850         (do_define_string): Use `define_mode' and `calling mode'.
851         Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and
852         end of string, respectively.
853         (define_string, append_string): Use `calling_mode'.
854         (define_nocomp_string, append_nocomp_string,
855         define_string_indirect): New functions.
856         (init_input_requests): Updated.
857         * NEWS, man/groff_diff.man, man/groff.man: Document it.
859         * src/preproc/eqn/box.cc (box::top_level, box::extra_space): Use
860         `as1' for assigning LINE_STRING (this is `10' usually).  Sun's
861         mm macro package accesses this string register directly.
862         * src/preproc/eqn/main.cc (inline_equation): Use `as1'.
864         * tmac/trace.tmac: Trace calls to `am' also.  Make it work in
865         compatibility mode.
867 2002-02-02  Larry Kollar  <kollar@alltel.net>
869         * doc/groff.texinfo, tmac/groff_ms.man: More fixes.
871 2002-01-31  Werner LEMBERG  <wl@gnu.org>
873         * tmac/an-old.tmac (I): Use \, and \/ to improve spacing.
875 2002-01-31  Bernd Warken  <bwarken@mayn.de>
877         * src/devices/grolbp/lbp.cc (main): Delete `pr'.
878         * man/groff_out.man: Revised and updated.
880 2002-01-30  Bernd Warken  <bwarken@mayn.de>
882         * src/libs/libdriver/input.cc [USE_ENV_STACK]: New macro to comment
883         out the unused `{' and `}' commands.  Undefined by default.
884         (IntArray): Make `data' private.
885         (IntArray::operator[], IntArray::get_data, IntArray::len): Use these
886         new methods instead.
887         (skip_line_D, skip_to_end_of_line): New functions.
888         (get_D_fixed_args): Use `skip_line_D'.
889         Changed to handle dummy odd arguments by ...
890         (get_D_fixed_args_odd_dummy): This new function.
891         (get_D_variable_args): Split some code into ...
892         (get_possibly_integer_args): This new function.
893         (send_draw): Use more `const'.
894         (delete_current_env): New function.
895         (position_to_end_of_args): Use `size_t'.
896         Updated.
897         (send_draw): Updated.
898         (parse_D_command): Handle `c', `C', and `t' better.
899         Updated.
900         (do_file): Updated.
902 2002-01-29  Werner LEMBERG  <wl@gnu.org>
904         * NEWS: Revised.
905         * doc/groff.texinfo: Introduce @Def...List, @Def...Item, and
906         @Def...ListEnd which replaces @Def...x.  This is necessary to get
907         proper HTML output -- see the comment in the file for more
908         information.
909         Updated all calls.
911 2002-01-29  Gaius Mulley  <gaius@glam.ac.uk>
913         Fixes to make color changes of 2002-01-21 work with grohtml.
915         * src/devices/grohtml/post-html.cc (style): Updated.
916         (html_printer): Remove unused methods.
917         (html_printer::do_font, html_printer::draw, html_printer::set_char,
918         html_printer::special): Updated.
919         * src/devices/grohtml/html-text.cc (debugStack, turnDebug,
920         html_text::dump_stack_element, html_text::dump_stack) [DEBUGGING]:
921         Added some debugging code.
922         (html_text::start_tag): Updated.
923         (html_text::do_push): New method.
924         (html_text::push_para): Call it.
925         Add method for handling color.
926         (html_text::do_color): Updated.
927         (html_text::shutdown): Handle color.
928         * src/devices/grohtml/html-text.h (tag_definition): New member
929         `col'.
930         Updated.
932 2002-01-28  Werner LEMBERG  <wl@gnu.org>
934         * tmac/ps.tmac, tmac/html.tmac: Fix compatibility mode issues.
936 2002-01-27  Gaius Mulley  <gaius@glam.ac.uk>
938         Add two switches -a and -g to control the antialiasing bits for
939         text and graphics, respectively.
941         * src/devices/grohtml/post-html.cc (main): Dummy code for `-a' and
942         `-g'.
943         * src/devices/grohtml/grohtml.man: Document them.
944         * src/preproc/html/pre-html.cc (MIN_ALPHA_BITS, MAX_ALPHA_BITS):
945         New macros.
946         (textAlphaBits, graphicAlphaBits, antiAlias): New global variables.
947         (setupAntiAlias): New function.
948         (createAllPages): Updated.
949         (scanArguments): Handle `-a' and `-g'.
950         (main): Call `setupAntiAlias'.
951         * NEWS: Updated.
953 2002-01-27  Werner LEMBERG  <wl@gnu.org>
955         * doc/groff.texinfo (Def*): Call index function after deffn.
957         * tmac/html.tmac: Call `nroff' request.
959 2002-01-26  Larry Kollar  <kollar@alltel.net>
961         * tmac/groff_ms.man: Add some omissions.
963 2002-01-25  Larry Kollar  <kollar@alltel.net>
965         * tmac/groff_ms.man: Typographical improvements.
967 2002-01-25  Werner LEMBERG  <wl@gnu.org>
969         * doc/groff.texinfo: Updated version and copyright.
970         * src/devices/grops/grops.man: Updated.
972         * tmac/groff_tmac.man: Fix `ig' macro.
974         * tmac/an-old.tmac (ne): Redefine `ne' request to be a no-op in
975         nroff mode.
976         Use `.ne' unconditionally everywhere.
977         (TS): Only insert some vertical space.  Doing a page break is no
978         longer necessary due to the redefinition of the `ne' request.
980         * src/libs/libdriver/input.cc (parse_D_command): Don't emit a
981         warning for unknown subcommands but parse and pass them to the
982         device driver.
984 2002-01-24  Werner LEMBERG  <wl@gnu.org>
986         * tmac/groff_www.man, NEWS: Fix typos.
988 2002-01-21  Werner LEMBERG  <wl@gnu.org>
990         Complete revision of color support:
992           Adapt programs to the new libdriver/input.cc.
994           Color spaces are no longer converted to RGB but transferred as-is
995           in the troff intermediate output format.
997           Handle default color gracefully.  troff now supports a `default'
998           color (which can't be changed).
1000           grops will now use the proper color space functions if available.
1002           Update pic.
1004         Note that currently grohtml doesn't handle colors properly.  This
1005         has to be fixed.
1007         * src/libs/libgroff/itoa.c (UINT_DIGITS): New macro.
1008         (ui_to_a): New function.
1009         * src/include/lib.h: Updated.
1011         * src/include/color.h (color_scheme): Replace `NONE' with `DEFAULT'.
1012         (color): Simplified; removed all `double' members and methods.
1013         A new array `components' now holds the color parameters.
1014         (color::is_default, color::get_components): New methods.
1015         (color::operator==, color:operator!=): New.
1016         (Red, Green, Blue, Cyan, Magenta, Yellow, Black, Gray): New macros
1017         to make access to the `components' array more comprehensible.
1018         * src/libs/libgroff/color.cc: Implement new color support.
1019         (atoh): Small fixes.
1020         (color::read_encoding): Simplified for new troff intermediate color
1021         output format.
1022         (default_color): New global variable.
1024         * src/roff/troff/input.cc (default_symbol): New global variable.
1025         (lookup_color): Use it.
1026         (default_black): Removed.
1027         (do_glyph_color, do_fill_color): Simplified.
1028         (define_color): Handle default color.
1029         Improve warnings.
1030         (do_if_request): Handle default color.
1031         * src/roff/troff/env.cc (environment::environment): Initialize
1032         colors with `default_color'.
1033         * src/roff/troff/node.cc (troff_output_file::put): Add method
1034         for `unsigned int'.
1035         (troff_output_file::hex): Removed.
1036         (troff_output_file::fill_color, troff_output_file::glyph_color):
1037         Updated to include/color.h and libdriver/input.cc.
1039         * src/preproc/pic/object.cc (draw_arrow): New parameter to set
1040         fill color properly (identically to the outline color).  \D'f...'
1041         doesn't work any more.
1042         All function calls to it updated.
1044         * src/devices/grohtml/post-html.cc (html_printer::do_body, main):
1045         Updated.
1046         * src/devices/grohtml/html-text.cc (html_text::issue_color_begin):
1047         Updated.
1049         * src/devices/grops/ps.cc (ps_output::put_color): New method.
1050         (ps_printer::sbuf_color): Make a real member instead of pointer.
1051         (ps_printer::fill_color, ps_printer::output_color): Removed.
1052         (ps_printer::ps_printer): Updated.
1053         (ps_printer::set_char): Ditto.
1054         (ps_printer::set_color): Use various color schemes.
1055         Use `put_color' method.
1056         (ps_printer::flush_sbuf): Don't set color.
1057         (ps_printer::fill_path): Take `environment' as parameter.
1058         Simplify color handling.
1059         (ps_printer::set_line_thickness): Renamed to ...
1060         (ps_printer::set_line_thickness_and_color): This (and updated).
1061         (ps_printer::set_color): Change second parameter from `complete'
1062         to `fill' which better describes what it does.
1063         (ps_printer::draw): Call `flush_sbuf' to output graphic commands
1064         and text in the right order.
1065         Updated.
1066         Remove branches for `f' and `F'; this is handled by
1067         libdriver/input.cc.
1068         * src/devices/grops/ps.h: Updated.
1069         * font/devps/prologue (FL): Redefined.
1070         ({F,C}r,k,g: New color functions (with and without filling).
1072         * doc/pic.ms, src/preproc/pic/pic.man: Small fixes.
1073         * man/groff_diff.man, man/groff.man, man/groff_out.man,
1074         doc/groff.texinfo, NEWS: Updated.
1076 2002-01-20  Bernd Warken  <bwarken@mayn.de>
1078         * src/libs/libdriver/input.cc: Completely rewritten.  See comments
1079         in this file for what has been changed.
1081 2002-01-19  Werner LEMBERG  <wl@gnu.org>
1083         * test-groff: Fix GROFF_FONT_PATH.
1084         * tmac/andoc.tmac: Add dummy macros for equation support -- eqnrc
1085         is read before .TH or .Dd is parsed.
1087 2002-01-18  Gaius Mulley  <gaius@glam.ac.uk>
1089         * src/libs/libgroff/geometry.cc (check_output_arc_limits): Fix
1090         quadrant boundaries.
1092 2002-01-18  Werner LEMBERG  <wl@gnu.org>
1094         * devices/grops/ps.cc: Aargh!  Fix the fix of the incorrectly
1095         applied last patch.
1097 2002-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
1099         * tmac/doc.common: Initialize %I register for the %I macro to
1100         avoid (harmless) warning.
1101         * tmac/doc.tmac (Bd): There is no reason to enforce -compact
1102         when in the SYNOPSIS section.
1104 2002-01-17  Bruno Haible  <haible@clisp.cons.org>
1106         * src/preproc/pic/lex.cc (get_token): Fix typo.
1108 2002-01-17  Werner LEMBERG  <wl@gnu.org>
1110         * devices/grops/ps.cc: Fix incorrectly applied last patch.
1112 2002-01-17  Larry Kollar  <kollar@alltel.net>
1114         * tmac/groff_ms.man: Completely rewritten.
1116 2002-01-16  Werner LEMBERG  <wl@gnu.org>
1118         * tmac/an-old.tmac (TS): Force break, inserting some vertical space.
1120 2002-01-15  Gaius Mulley  <gaius@glam.ac.uk>
1122         * devices/grops/ps.cc (ps_printer::fill_path): Fix handling of
1123         fill colors.
1124         (ps_printer::draw): Ditto.
1126 2002-01-14  Ruslan Ermilov  <ru@FreeBSD.org>
1128         * tmac/groff_mdoc.man: Minor fixes.
1130 2002-01-13  Werner LEMBERG  <wl@gnu.org>
1132         * man/groff_out.man: Some fixes.
1134 2002-01-13  Gaius Mulley  <gaius@glam.ac.uk>
1136         * doc/pic.ms: Fix typos.
1138 2002-01-12  Werner LEMBERG  <wl@gnu.org>
1140         * doc/groff.texinfo, doc/groff.man: More on a printable backslash.
1142 2002-01-10  Werner LEMBERG  <wl@gnu.org>
1144         * font/devutf8/R.proto, font/devhtml/R.prot: Add `Eu' and `eu'
1145         symbols.
1146         * NEWS: Updated.
1148 2002-01-09  Bernd Warken  <bwarken@mayn.de>
1150         * man/groff_out.man: Revised.
1151         * man/roff.man: Minor fixes.
1152         * src/roff/troff/troff.man: Some reordering.
1154 2002-01-09  Werner LEMBERG  <wl@gnu.org>
1156         * tmac/an-old.tmac: Add dummy macros for equation support.
1158 2002-01-07  Werner LEMBERG  <wl@gnu.org>
1160         doc/groff.texinfo: Fix documentation of glyph searching algorithm.
1162         * tmac/an-old.tmac: Revert change 2001-12-23.  This breaks too many
1163         man pages.
1164         * tmac/groff_man.man: Small improvements.
1166 2002-01-07  Bernd Warken  <bwarken@mayn.de>
1168         * man/groff_diff.man: Revised.
1170 2002-01-06  Werner LEMBERG  <wl@gnu.org>
1172         * tmac/www.tmac: Remove extraneous backslash.
1174 2002-01-06  Bernd Warken  <bwarken@mayn.de>
1176         * man/ditroff.man, src/roff/groff/groff.man, man/groff.man: Revised.
1178 2002-01-05  Werner LEMBERG  <wl@gnu.org>
1180         Integrated groffer, contributed by Bernd Warken.
1182         * contrib/groffer/*: New.       
1183         * Makefile.in, NEWS: Updated.
1185 2002-01-04  Werner LEMBERG  <wl@gnu.org>
1187         * doc/groff.texinfo: Added macros `@Defmpreg' and `@Defmpregx' for
1188         registers defined in macro packages.
1189         Revising the ms part.
1191 2002-01-04  Larry Kollar  <kollar@alltel.net>
1193         * doc/groff.texinfo: Add documentation for ms macros.
1195 2002-01-02  Werner LEMBERG  <wl@gnu.org>
1197         First step in adding PS support for the Euro symbol.  `eu' is the
1198         official Euro logo, `Eu' is a font-specific glyph variant.
1200         * font/devps/text.enc: Add `Euro' at position 9.
1201         * font/devps/generate/textmap: Add `Euro' as symbol `Eu'.
1202         * font/devps/symbolmap: Regenerated.
1204         * NEWS: Updated.
1206 2002-01-02  Bernd Warken  <bwarken@mayn.de>
1208         * man/roff.man: Revised.
1210 2002-01-01  Bernd Warken  <bwarken@mayn.de>
1212         * src/roff/groff/groff.man: Completely rewritten.
1214 2001-12-31  Werner LEMBERG  <wl@gnu.org>
1216         * doc/Makefile: Updated.
1218 2001-12-30  Werner LEMBERG  <wl@gnu.org>
1220         * tmac/www.tmac: Make all names of internal macros/registers/strings
1221         lowercase, and prepend `www-'.
1222         Other minor changes.
1223         * src/roff/troff/troff.man: Add preprocessor string at BOF.
1225 2001-12-30  Gaius Mulley  <gaius@glam.ac.uk>
1227         Implement option `-b' in grohtml to set the HTML background colour.
1229         * src/devices/grohtml/post-html.cc (default_background): New global
1230         variable.
1231         (html_printer::html_printer): Initialize `background' to
1232         `default_background'.
1233         (main): Implement option `-b'.
1234         (usage): Updated.
1235         * src/preproc/html/pre-html.cc (scanArguments): Add dummy handling
1236         of `-b' option.
1237         * src/devices/grohtml/grohtml.man: Updated.
1238         * doc/Makefile (.ms.html): Use `-b'.
1239         * tmac/html.tmac: Don't set background color.
1241         Add new grohtml tag `.html-tl'.
1243         * src/devices/grohtml/post-html.cc (title_desc): Add `with_h1'
1244         member variable.
1245         (title_desc::title_desc): Updated.
1246         (html_printer::troff_tag): Handle `.html-tl'.
1247         (html_printer::write_title): Use `with_h1'.
1248         * tmac/www.tmac (www-end-nowhere): New auxiliary macro.
1249         (HTML-TL): New macro.
1251         Add support for unordered lists in HTML.
1253         * tmac/www.tmac (www-level): New auxiliary register.
1254         (www-level1, www-level2, www-level3): New auxiliary strings.
1255         (www-push-level, www-pop-level): New auxiliary macros
1256         (UL-BEGIN, UL-END, LI): User macros for unordered lists.
1258         Miscellaneous.
1260         * src/preproc/html/pre-html.cc (DEFAULT_IMAGE_RES): Increase to 100.
1261         (DEFAULT_VERTICAL_OFFSET): Removed.
1262         (IMAGE_BOARDER_PIXELS): Set to 0.
1263         (A4_LENGTH, A4_OFFSET, LETTER_LENGTH, LETTER_OFFSET): New macros.
1264         (vertical_offset): Initialize with 0.
1265         (gsPaper): New global variable.
1266         (get_resolution): Scan for and return unsigned int.
1267         (get_papersize): New function to get paper length from devps/DESC.
1268         (determine_vertical_offset): New function.
1269         (createAllPages): Produce gray-level images and use proper page
1270         length.
1271         (createImage): Use `-quiet' option of pnmcrop.
1272         (addZ): Fix passing of `-Z'.
1273         (scanArguments): Fix handling of `-o'.
1274         (main): Call `determine_vertical_offset'.
1275         * src/devices/grohtml/post-html.cc (html_printer::draw): Comment out
1276         code for `l'.
1278         * src/libs/libgroff/tmpfile.cc (add_tmp_file): Fix buffer length.
1279         * src/roff/troff/node.cc (troff_output_file::check_charinfo): Handle
1280         glyph descenders properly.
1282         * doc/homepage.ms: Include `gnubw.eps'.
1283         * doc/Makefile (gnubw.eps): New rule.
1284         (homepage.html): Depend on `gnubw.eps'.
1286 2001-12-25  Werner LEMBERG  <wl@gnu.org>
1288         * src/roff/troff/input.cc (default_black): Fix return value.
1290 2001-12-24  Ruslan Ermilov  <ru@FreeBSD.org>
1292         * tmac/doc-common (Dt): Change output of architecture strings.
1293         Do some syntax cleanup.
1294         * tmac/groff_mdoc.man: Updated.
1296 2001-12-23  Werner LEMBERG  <wl@gnu.org>
1298         Adding an `itc' request (input line trap accepting \c).
1300         * src/roff/troff/env.h (environment): New member
1301         `continued_input_trap'.
1302         Make `do_input_trap' a friend function instead of `input_trap'.
1303         * src/roff/troff/env.cc (environment::environment,
1304         environment::copy): Updated.
1305         (environment::newline): Implement it.
1306         (do_input_trap): New function.
1307         (input_trap): Call `do_input_trap'.
1308         (input_trap_continued): New function.
1309         (init_env_requests): Updated.
1310         * src/roff/troff/TODO: Updated.
1312         * tmac/an-old.tmac (SH, SS, B, I, SM, SB, TP): Use `.itc' instead of
1313         `.it'.
1315         * src/preproc/grn/hdb.cc (DBRead): Really chop after 127 characters.
1317 2001-12-22  Ruslan Ermilov  <ru@FreeBSD.org>
1319         * tmac/doc-common, tmac/doc-syms: Small updates.
1321 2001-12-22  Colin Watson  <cjwatson@debian.org>
1323         * tmac/an-old.tmac (an-p-footer): Set title length in environment 1.
1325 2001-12-22  Bernd Warken  <bwarken@mayn.de>
1327         * MANIFEST: New file.
1329 2001-12-22  Werner LEMBERG  <wl@gnu.org>
1331         * src/preproc/grn/grn.man: Updated.
1333 2001-12-22  Solar Designer  <solar@openwall.com>
1335         * src/preproc/grn/hdb.cc (MAXSTRING_S): New macro.
1336         (DBRead): Use it.
1338 2001-12-19  Werner LEMBERG  <wl@gnu.org>
1340         Implement a fallback character request `.fchar'.
1342         * src/roff/troff/charinfo.h (charinfo): New flag `fallback'.
1343         (is_fallback): New inline function.
1344         * src/roff/troff/input.cc (do_define_character): New function.
1345         (define_character): Call `do_define_character'.
1346         (define_fallback_character): New function.
1347         (init_input_requests): Add `fchar'.
1348         (charinfo::charinfo): Updated.
1349         (charinfo::set_macro): New argument to set `fallback' flag.
1350         * src/roff/troff/node.cc (make_glyph_node, make_node,
1351         node::add_char): Check `fallback' flag.
1352         * NEWS, man/groff_diff.man, man/groff_man: Updated.
1354 2001-12-16  Werner LEMBERG  <wl@gnu.org>
1356         * groff.texinfo: Document exact search algorithm for glyphs.
1358 2001-12-15  Werner LEMBERG  <wl@gnu.org>
1360         * Makefile.cpg, Makefile.ccpg, Makefile.man: Add dummy file to
1361         the left side of $(MANPAGES) rule to make it always non-empty.
1363 2001-12-14  Werner LEMBERG  <wl@gnu.org>
1365         * src/roff/troff/input.cc (default_black): Define default color
1366         `black' if not yet defined.
1368 2001-12-13  Werner LEMBERG  <wl@gnu.org>
1370         Implement new string-valued register `.fn' to return the current
1371         real (internal) font name.
1373         * env.cc (environment::get_font_name_string): New function.
1374         (init_env_requests): Add `.fn' register.
1375         * env.h (environment): Updated.
1376         * node.cc (font_info): Make `get_font_name' a friend.
1377         (get_font_name): New function.
1378         * node.h: Updated.
1380         * man/groff_diff.man, man/groff.man, NEWS: Updated.
1382 2001-12-12  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
1384         * src/preproc/eqn/main.cc (inline_equation): Fix typos.
1386 2001-12-12  Werner LEMBERG  <wl@gnu.org>
1388         * tmac/groff_man.man, doc/groff.texinfo: There is no .R macro.
1390 2001-12-10  Gaius Mulley  <gaius@glam.ac.uk>
1392         * man/groff_diff.man: Adding documentation for \O.
1394 2001-12-10  Werner LEMBERG  <wl@gnu.org>
1396         * src/preproc/html/pre-html.cc (TROFF_COMMAND): Removed.
1397         (scanArguments): Use PROG_PREFIX for the name of the troff binary.
1399 2001-12-09  Werner LEMBERG  <wl@gnu.org>
1401         * man/roff.man: Revised.
1402         * src/roff/groff/groff.man: Replace man page references with a
1403         pointer to roff.man.
1405 2001-12-09  Bernd Warken  <bwarken@mayn.de>
1407         * man/roff.man: Completely rewritten.
1409 2001-12-06  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
1411         * src/preproc/eqn/main.cc (inline_equation): Improve error message.
1413 2001-12-05  Werner LEMBERG  <wl@gnu.org>
1415         * src/roff/troff/input.cc (get_delim_file_name): Removed since no
1416         longer used.
1417         * src/devices/grohtml/post-html.cc (html_printer::html_printer): Fix
1418         order of initializers.
1419         * NEWS: Updated.
1421 2001-12-05  Gaius Mulley  <gaius@glam.ac.uk>
1423         * doc/groff.texinfo: Fix documentation of \O.
1425         * src/devices/grohtml/html-text.cc (html_text::do_indent,
1426         html_text::do_table, html_text::do_emittext, html_text::do_para):
1427         Use `const' for first argument.
1428         (html_text::do_table): Use cast.
1429         * src/devices/grohtml/html-text.h: Updated.
1430         * src/devices/grohtml/output.cc (simple_output::put_string): Add
1431         method for `const string &s'.
1432         * src/devices/grohtml/html.h: Updated.
1433         * src/devices/grohtml/post-html.cc (MAX_STRING_LENGTH): Removed.
1434         (ANCHOR_TEMPLATE): Modified.
1435         (manufacture_headings): New global variable to handle `-h' option.
1436         (is_subsection): Removed.
1437         (char_buffer::add_string): Add `const' to first argument.
1438         Protect against invalid string argument.
1439         Add method for `const string &s'.
1440         (text_glob): Completely redesigned.
1441         (page): Use `const' for strings and remove string length variable.
1442         (page::add_html): Removed.
1443         (page::add_end_encode): New member function.
1444         (to_unicode): Moved upwards.
1445         (title_desc, header_desc): Updated.
1446         (header_desc::write_headings): Updated to new ANCHOR_TEMPLATE
1447         definition.
1448         (html_printer::is_bold, html_printer::make_bold): New member
1449         functions.
1450         (html_printer::end_of_line): Updated.
1451         (generate_img_src, html_printer::do_auto_image,
1452         html_printer::do_title, html_printer::write_header,
1453         html_printer::determine_header_level, html_printer::do_heading,
1454         html_printer::do_linelength, html_printer::do_pageoffset,
1455         html_printer::do_indentation, html_printer::do_tempindent,
1456         html_printer::do_indentedparagraph, html_printer::do_break,
1457         html_printer::flush_sbuf, get_html_translation,
1458         html_printer::begin_page, html_printer::special): Rewritten to get
1459         rid of static string length limit.
1460         (html_printer::troff_tag): Added `.no-auto-rule'.
1461         (html_printer::flush_globs): Small fix.
1462         (html_printer::determine_space): Don't compute `space_width'.
1463         (html_printer::translate_to_html): Renamed to ...
1464         (html_printer::emit_html): This (with updates).
1465         (html_printer::write_header): Implement `-h' option.
1466         (html_printer::draw): Remove commented-out code.  Handle `F'
1467         command.
1468         (html_printer::add_char_to_sbuf): Removed.
1469         (html_printer::add_to_sbuf): Rewritten.
1470         (html_printer::sbuf_continuation): Fixed.
1471         (html_printer::seen_backwards_escape, reverse,
1472         html_printer::remove_last_char_from_sbuf): Removed.
1473         (char_translate_to_html, str_translate_to_html): Removed.
1474         (html_printer::overstrike): New function member.
1475         (html_printer::set_char): Use it.
1476         (html_printer::do_body): New function member.
1477         (html_printer::~html_printer): Use it.
1478         (main): Handle `-h' option.
1479         (usage): Updated.
1480         * src/devices/grohtml/grohtml.man: Document -h switch.
1482         * src/preproc/html/pre-html.cc: Include searchpath.h
1483         Replace `POSTSCRIPTRES' macro with `postscriptRes' variable.
1484         (get_resolution): New function.
1485         (checkImageDir): Use `0777' permissions in mkdir()
1486         (write_start_image): Rewritten to use `\O[5...]'.
1487         (createImage, generateImages): Updated.
1488         (main): Handle `F' and `h' options.
1489         Use `get_resolution'.
1491         * src/roff/troff/input.cc (begin, end, image): Removed.
1492         (do_suppress): Take parameter.
1493         Handle modified syntax of `\O'.
1494         (token::next): Updated.
1495         (init_markup_requests): Removed.
1496         (main): Updated.
1498         * src/roff/troff/div.h: Add declaration for begin_page().
1500         * tmac/color-html.tmac: Removed.  Contents moved to...
1501         * tmac/html.tmac: Here.  Set background color.
1502         * tmac/color.tmac: Removed.  Contents moved to...
1503         * tmac/ps.tmac: Here.
1504         * tmac/www.tmac: Remove the title command when generating images
1505         for html.
1506         (NO_AUTO_RULE): New macro.
1507         (HTML_DO_IMAGE): Use revised `\O' escapes.
1508         * tmac/Makefile.sub, tmac/groff_www.man, tmac/troffrc: Updated.
1510 2001-12-02  Werner LEMBERG  <wl@gnu.org>
1512         * tmac/groff_mdoc.man: Fix typo.
1514 2001-12-01  Colin Watson  <cjwatson@debian.org>
1516         * man/roff.man: Fix typo.
1518 2001-11-29  Werner LEMBERG  <wl@gnu.org>
1520         * src/libs/libbib/map.c, src/utils/pfbtops/pfbtops.c: Include
1521         stdlib.h.
1523         * src/roff/troff/input.cc (read_draw_node): Emit error message if
1524         more than one argument to \D'f ...'.
1526         * tmac/Makefile.sub (NORMALFILES): Add lbp.tmac.
1528 2001-11-28  Werner LEMBERG  <wl@gnu.org>
1530         * tmac/an-old.tmac, tmac/doc.tmac: Assure that the macro package is
1531         loaded only once.
1533         * tmac/groff_man.man: Minor cosmetic fix.
1535 2001-11-27  Werner LEMBERG  <wl@gnu.org>
1537         * src/roff/groff/groff.man, tmac/groff_tmac.man,
1538         tmac/groff_www.man: s/mwww/www/.
1540 2001-11-26  Werner LEMBERG  <wl@gnu.org>
1542         * aclocal.m4 (GROFF_MKSTEMP): Implement test using C++ linkage.
1543         * configure: Regenerated.
1544         * win32-diffs: Updated.
1546         * tmac/groff_mwww.tmac: Renamed to ...
1547         * tmac/groff_www.tmac: This.
1548         * tmac/mwww.tmac: Removed.
1549         * NEWS, tmac/Makefile.sub: Updated.
1551 2001-11-21  Werner LEMBERG  <wl@gnu.org>
1553         * doc/groff.texinfo: Improve documentation of the `\v' escape.
1554         Fix explanation of `\D' and `rt'.
1556 2001-11-20  Werner LEMBERG  <wl@gnu.org>
1558         * tmac/an-old.tmac (an-header): Set header length equal to page
1559         width.
1560         * doc/groff.texinfo: Improve documentation of `ne' request.  Other
1561         minor fixes.
1562         * NEWS: Small fix.
1564 2001-11-19  Werner LEMBERG  <wl@gnu.org>
1566         * NEWS, man/Makefile.sub: Updated.
1568 2001-11-19  Bernd Warken  <bwarken@mayn.de>
1570         * man/ditroff.man: New file.
1572 2001-11-17  Werner LEMBERG  <wl@gnu.org>
1574         * man/groff_differences.man: Renamed to ...
1575         * man/groff_diff.man: This.  Updated.
1576         * man/Makefile.sub, src/roff/troff/troff.man, NEWS: Updated.
1578         * src/preproc/html/pushbackbuffer.cc: Renamed to ...
1579         * src/preproc/html/pushback.cc: This.  Updated.
1580         * src/preproc/html/pushbackbuffer.h: Renamed to ...
1581         * src/preproc/html/pushback.h: This.
1582         * src/preproc/html/Makefile.sub, src/preproc/html/pre-html.cc:
1583         Updated.
1585         * src/libs/libgroff/htmlindicate.cc: Renamed to ...
1586         * src/libs/libgroff/htmlhint.cc: This.
1587         * src/libs/libgroff/Makefile.sub: Updated.
1589         * tmac/an-old.tmac (an-end): Fix page length.
1591 2001-11-16  Werner LEMBERG  <wl@gnu.org>
1593         * NEWS, man/groff_differences.man, doc/groff.texinfo: Updated.
1594         * man/Makefile.sub: Include groff_differences.man.
1595         * VERSION: Set to 1.18.
1596         * REVISION: Set to 0.
1598 2001-11-16  Bernd Warken  <bwarken@mayn.de>
1600         * src/roff/troff/input.cc (do_define_macro): Allow whitespace before
1601         the second dot (or ending macro name) to end a macro.
1602         * doc/groff.texinfo: Doc fix.
1604 2001-11-16  Ruslan Ermilov  <ru@FreeBSD.org>
1606         * tmac/doc-common (doc-header): Handle very long document titles
1607         better.
1609 2001-11-16  Werner LEMBERG  <wl@gnu.org>
1611         * tmac/doc.tmac (doc-do-Bl-args): Fix .substring requests.
1613 2001-11-15  Werner LEMBERG  <wl@gnu.org>
1615         * src/roff/troff/troff.man: Revised and split into troff.man and...
1616         * man/groff_differences.man: New file.
1617         * NEWS: Updated.
1619 2001-11-13  Werner LEMBERG  <wl@gnu.org>
1621         * tmac/an-old.tmac (TS, TE): New macros for table support.
1623 2001-11-12  Werner LEMBERG  <wl@gnu.org>
1625         * src/include/lib.h: Provide a fix for emx to not include
1626         groff-getopt.h.
1628 2001-10-27  Werner LEMBERG  <wl@gnu.org>
1630         * src/roff/troff/input.cc (substring_macro): Fix computation of
1631         boundary values.
1633 2001-10-20  Werner LEMBERG  <wl@gnu.org>
1635         Undo change from 2001-08-28.
1637         * src/roff/troff/input.cc (have_input): New global variable.
1638         (token::next): Set `have_input' for \f, \H, \R, \s, and \S if not
1639         in compatibility mode.
1640         (process_input_stack): Use it.
1642 2001-10-19  Ruslan Ermilov  <ru@FreeBSD.org>
1644         * tmac/doc.tmac (doc-flag-recursion): Protect arguments against
1645         being handled as end-of-sentence characters,
1647 2001-10-10  Gaius Mulley  <gaius@glam.ac.uk>
1649         * src/roff/troff/input.cc (file_iterator): New members
1650         `suppress_newline_flag' and `seen_escape'.
1651         (file_iterator::next_file): Updated.
1652         (file_iterator::fill): Use it.
1653         (string_iterator): New member `suppress_newline_flag'.
1654         (string_iterator::fill): Set it.
1655         (get_color_element): Use MAX_COLOR_VAL.
1656         * src/roff/troff/env.cc (environment): Remove `need_eol'.
1657         (no_fill): Don't set `env->ignore_next_eol'.
1658         (environment::newline): Handle `eol' tag properly.
1659         Emit `eol.ce'.
1660         (environment::add_html_tag): Set `env->ignore_next_eol'.
1661         Don't handle `.ce'.
1662         * src/roff/troff/env.h (environment): Updated.
1664         * src/devices/grohtml/post-html.cc (text_glob::is_eol_ce): New
1665         member function.
1666         (html_printer::outstanding_eol): New member function.
1667         (html_printer::do_title): Use new functions.
1668         (html_printer::troff_tag): Test `id_eol_ce'.
1670 2001-10-10  Werner LEMBERG  <wl@gnu.org>
1672         * tmac/color.tmac, tmac/color-html.tmac: Use `.do' to make those
1673         files work with -C also.
1675 2001-10-05  Werner LEMBERG  <wl@gnu.org>
1677         * doc/pic.ms: Minor fix.
1678         * src/preproc/html/pre-html.cc (scanArguments): Don't handle `-?'
1679         as a valid command line switch.
1680         * src/devices/grohtml/post-html.cc (main): Ditto.
1681         (usage): Updated.
1682         * src/devices/grohtml/grohtml.man: Updated.
1683         * src/roff/groff/groff.cc (main): Pass `-v' to predriver also.
1685 2001-10-04  Werner LEMBERG  <wl@gnu.org>
1687         Implementing color support in troff, pic, grops, and grohtml.  These
1688         changes are based on a major patch provided by Gaius Mulley
1689         <gaius@glam.ac.uk>.
1691         New request: `defcolor', supporting rgb, cmy, cmyk, and gray
1692         definitions with both hex values and fractions.
1694         New escapes: \m and \M for drawing and background color,
1695         respectively.  This corresponds to the troff output commands `m'
1696         and `DF'.
1698         groff and troff accept command line switch `-c' to disable color
1699         output (which is automatically disabled in compatibility mode).
1701         New scaling indicator `f' for fractions (1f = 65536u).
1703         New conditional operator `m' to test for defined colors with `if'
1704         and `ie'.
1706         New keywords `color' (or `colour', `colored', `coloured'), `outline'
1707         (or `outlined'), and `shaded' added to pic.
1709         * src/include/color.h: New file.
1710         * src/include/driver.h: Include it.
1711         * src/include/printer.h: Include color.h.
1712         (environment): New members `col' and `fill'.
1713         (printer): Remove `adjust_arc_center' member function.
1714         * src/include/Makefile.sub: Updated.
1716         * src/libs/libdriver/input.cc (do_file): Initialize `env.col' and
1717         `env.fill'.
1718         Handle `m' and `DF' troff commands.
1719         * src/libs/libgroff/color.cc: New file.
1720         * src/libs/libgroff/Makefile.sub: Updated.
1722         * src/preproc/html/pre-html.cc (IMAGE_BORDER_PIXELS): Set to 2.
1723         (stop): Removed.
1724         (createImage): Fix computation of `y2'.
1725         Use `pnmcrop' also.
1726         (buffer::write_file_html): Remove calls to `stop'.
1728         * src/preproc/pic/common.h (common_output): New abstract function
1729         members `set_color', `reset_color', `get_last_filled', and
1730         `get_outline_color'.
1731         * src/preproc/pic/object.h: Add `IS_SHADED' and `IS_OUTLINED'.
1732         (object_spec): Add members `shaded' and `outlined'.
1733         * src/preproc/pic/output.h (output): `command' is now abstract.
1734         New function members `set_color', `reset_color', `get_last_filled',
1735         and `get_outline_color'.
1736         * src/preproc/pic/lex.cc (lookup_keyword): Recognize `colo[u]r[ed]',
1737         `outline[d]', and `shaded'.
1738         * src/preproc/pic/object.cc (output::command): Removed.
1739         (output::set_location): Moved to output.h.
1740         (graphic_object): Add protected members `outline_color' and
1741         `color_fill'.
1742         Add member functions `set_outline_color', `get_outline_color', and
1743         `set_fill_color'.
1744         (closed_object): Add member function `set_fill_color'.
1745         Add member `color_fill'.
1746         (graphic_object::print_text): Use `out->set_color' and
1747         `out->reset_color'.
1748         (box_object::print, ellipse_object::print, circle_object::print,
1749         line_object::print, spline_object::print, arc_object::print): Ditto.
1750         (object_spec::make_object): Implement `IS_OUTLINED' and `IS_SHADED'.
1751         * src/preproc/pic/pic.y: Add tokens `COLORED', `OUTLINED', and
1752         `SHADED', making them `%left'.
1753         Add rules `object_spec [SHADED|COLORED|OUTLINED] text'.
1754         * src/preproc/pic/tex.cc (tex_output): New dummy function members
1755         `set_color', `reset_color', `get_last_filled', and
1756         `get_outline_color'.
1757         * src/preproc/pic/troff.cc (simple_output): New abstract function
1758         members `set_color', `reset_color', and `get_last_filled'.
1759         (simple_output::polygon, simple_output::circle,
1760         simple_output::ellipse): Use `get_last_filled'.
1761         (troff_output): New members `last_filled' and `last_outlined'.
1762         New function members `set_color', `reset_color', `get_last_filled',
1763         and `get_outline_color'.
1764         (troff_output::finish_picture): Use `reset_color'.
1765         (troff_output::set_fill): Test `last_filled'.
1766         * src/preproc/pic/pic.man: Updated.
1768         * src/roff/groff/groff.cc (main): Implement `-c' option.
1769         (synopsis, help): Updated.
1770         src/roff/groff/groff.man: Updated.
1772         * src/roff/troff/troff.h: Include color.h.
1773         (warning_type): Add WARN_COLOR.
1774         * src/roff/troff/env.h (environment): New members
1775         `{cur,prev}_{glyph,fill}_color'.
1776         New member functions `get_{prev_,}{glyph,fill}_color'.
1777         * src/roff/troff/env.cc: Initialize and implement them.
1778         * src/roff/troff/input.cc: New global variable `disable_color_flag'.
1779         Replace `NULL' with `0' everywhere for consistency.
1780         (lookup_color, default_black, do_glyph_color, do_fill_color,
1781         get_color_element, read_rgb, read_cmy, read_cmyk, read_gray,
1782         define_color): New functions.
1783         (token::next): Implement \M and \m escapes.
1784         (do_if_request): Implement `m' operator.
1785         (usage): Updated.
1786         (main): Implement `-c' option.
1787         (init_markup_requests): Add `defcolor' request.
1788         (warning_table): Add `color' warning.
1789         * src/roff/troff/node.h (glyph_color_node, fill_color_node): New
1790         classes.
1791         * src/roff/troff/node.cc (troff_output_file): New members
1792         `current_{page,glyph}color'.  New member functions `put_hex',
1793         `glyph_color', and `fill_color'.
1794         (glyph_color_node::*, fill_color_node::*): Implement it.
1795         * src/roff/troff/number.cc (SCALE_INDICATOR_CHARS): Add `f'.
1796         (parse_term): Add support for `f'.
1797         * src/roff/troff/troff.man: Updated.
1799         * src/devices/grodvi/dvi.cc (draw_dvi_printer::draw): Add dummy
1800         entry for `F'.
1801         * src/devices/grolbp/lbp.cc (lbp_printer::draw): Ditto.
1802         * src/devices/grolj4/lj4.cc (lj4_printer::draw): Ditto.
1804         * src/devices/grohtml/html-text.h (HTML_TAG): Add COLOR_TAG.
1805         (tag_definition): Use `void *' for arg1.
1806         (html_text): New member functions `do_color' and `done_color'.
1807         Use `void *' for second parameter of `push_para' member function.
1808         New `push_para' member function with a single parameter.
1809         Use `char *' for parameter of `issue_table_begin' member funtion.
1810         New `issue_color_begin' member function.
1811         * src/devices/grohtml/html-text.cc (html_text::end_tag): Handle
1812         COLOR_TAG.
1813         (html_text::issue_color_begin): New function.
1814         (html_text::issue_table_begin): Use `char *' for parameter.
1815         (html_text::start_tag, html_text::shutdown,
1816         html_text::check_emit_text): Updated.
1817         (html_text::push_para): Use `void *' for second parameter.
1818         Add same function with only one parameter.
1819         (html_text::do_*): Updated.
1820         (html_text::do_color, html_text::done_color): New functions.
1821         * src/devices/grohtml/post-html.cc (style): New member `col'.
1822         Mew member `style' with 6 parameters.
1823         (style::style, style::operator==): Updated.
1824         (html_printer::do_font): Use it.
1825         (html_printer::draw): Add dummy entry for `F'.
1826         (html_printer::set_char): Updated.
1827         * src/devices/grohtml/grohtml.man: Updated.
1829         * src/devices/grops/ps.cc (ps_output::put_float): Use `%g' to have
1830         trailing zeroes removed.
1831         (ps_printer): New members `sbuf_color', `fill_color', and
1832         `output_color'.
1833         Removed member `fill'.
1834         New member function `set_color'.
1835         (ps_printer::ps_printer, ps_printer::set_char): Updated.
1836         (ps_printer::flush_sbuf, ps_printer::set_line_thickness,
1837         ps_printer::fill_path, ps_printer::draw): Use `set_color'.
1839         * tmac/color-html.tmac, tmac/color.tmac: New files.
1840         * tmac/troffrc: Include them.
1841         * tmac/www.tmac (URL, FTP, MAILTO): Use blue color.
1842         * tmac/Makefile.sub: Updated.
1844         * NEWS, doc/groff.texinfo, doc/pic.ms, man/groff_out.man,
1845         man/groff.man: Updated.
1846         * font/devps/prologue.ps: Define FC and CO functions.
1848 2001-10-04  Gaius Mulley  <gaius@glam.ac.uk>
1850         Fix incorrect cropping of images and incorrect handling of special
1851         characters.  Fix handling of file names in \O.
1853         * src/include/geometry.h: New file.
1854         * src/libs/libgroff/geometry.cc: New file.
1855         * src/libs/libdriver/printer.cc (printer::adjust_arc_center): Moved
1856         to `geometry.cc'.
1857         * src/roff/troff/input.cc (get_delim_file_name): Fixed problem with
1858         initial spaces.
1859         (do_suppress): Updated.
1860         * src/roff/troff/node.cc: Include geometry.h.
1861         (troff_output_file::flush_tbuf): Fixed parameters to
1862         `check_output_limits'.
1863         (troff_output_file::check_charinfo): Ditto.
1864         (troff_output_file::determine_line_limits): Add support for `Da'
1865         and `Dl' commands.
1867         * src/devices/grohtml/post-html.cc (str_translate_to_html):
1868         Add new parameter `is_special' to decode special characters from
1869         escape sequences.
1870         (html_printer::do_title, html_printer::do_heading,
1871         html_printer::do_indentedparagraph,
1872         html_printer::translate_to_html, html_printer::special): Updated.
1874 2001-10-03  Werner LEMBERG  <wl@gnu.org>
1876         * Makefile.sub (DISTCLEANFILES): Add stamp-h.
1877         Fix entry for config.h.
1878         * test-groff (GROFF_BIN_PATH): Add $builddir/roff/groff.
1879         * tmac/troffrc: Translate nonbreakable space character to `\~'.
1880         * src/preproc/eqn/eqn.man: Document -d command line option.
1882 2001-09-27  Werner LEMBERG  <wl@gnu.org>
1884         * man/groff.man: Use
1886           .ev xxx
1887           .na
1888           .nh
1889           <table>
1890           .ev
1892         instead of the old code (`.ad .hy' after the table) to suppress
1893         incorrect hyphenation for grohtml output.
1895 2001-09-22  Werner LEMBERG  <wl@gnu.org>
1897         * man/groff_font.man, man/groff_out.man: Minor fixes.
1899 2001-09-20  Werner LEMBERG  <wl@gnu.org>
1901         * PROBLEMS: Updated, reordered.  Improved EPS section (thanks to
1902         Arnold Robbins <arnold@skeeve.com>).
1904 2001-09-09  Werner LEMBERG  <wl@gnu.org>
1906         * configure: Regenerated with autoconf 2.52.
1908         * doc/groff.texinfo: Complete revision of indices.
1910 2001-09-07  Werner LEMBERG  <wl@gnu.org>
1912         * doc/Makefile (clean): Updated to delete all indices.
1914 2001-09-05  Werner LEMBERG  <wl@gnu.org>
1916         * src/roff/troff/troff.man: Remove superfluous line.
1918         * tmac/s.tmac: Enable all warnings only if no -W or -w option is
1919         given on the command line (or rather, if only the default warnings
1920         are set).
1922 2001-09-03  Werner LEMBERG  <wl@gnu.org>
1924         * man/groff.man, src/preproc/eqn/eqn.man, tmac/groff_mdoc.man: Don't
1925         use .ne for TTY devices.
1927 2001-08-31  Werner LEMBERG  <wl@gnu.org>
1929         * src/roff/troff/token.h, src/roff/troff/input.cc:
1930         s/TOKEN_TRANSPARENT_ESCAPE/TOKEN_OPAQUE_ESCAPE/.
1932 2001-08-28  Werner LEMBERG  <wl@gnu.org>
1934         * src/roff/troff/token.h (token_type): Add TOKEN_TRANSPARENT_ESCAPE.
1935         * src/roff/troff/input.cc (token::next): Return
1936         TOKEN_TRANSPARENT_ESCAPE for \f, \H, \R, \s, and \S if not in
1937         compatibility mode.
1938         (token::description): Updated.
1939         (process_input_stack): Reset `bol' for TOKEN_TRANSPARENT_ESCAPE.
1940         (token::add_to_node_list, token::process): Ignore
1941         TOKEN_TRANSPARENT_ESCAPE.
1943 2001-08-27  Werner LEMBERG  <wl@gnu.org>
1945         * tmac/an-old.tmac: Fix `S' string.
1947 2001-08-26  Werner LEMBERG  <wl@gnu.org>
1949         * src/roff/troff/troff.man: Don't use .ne for TTY devices.
1951 2001-08-25  Werner LEMBERG  <wl@gnu.org>
1953         * doc/pic.ms: Replace `\\' with `\e' (and fixing some single
1954         backslashes).
1955         Many other minor fixes.
1957         * configure.ac: Add message at end to inform how to compile
1958         xditview.
1959         * configure: Regenerated.
1961 2001-08-24  Werner LEMBERG  <wl@gnu.org>
1963         * src/include/getopt.h, src/libs/libgroff/{getopt.c, getopt1.c}:
1964         Updated to latest version of libc.
1966 2001-08-23  Werner LEMBERG  <wl@gnu.org>
1968         * configure.ac: Don't create subdirectories before AC_CONFIG_FILES.
1969         Autoconf 2.50 and newer can handle this.
1970         * configure: Regenerated.
1972 2001-08-21  Werner LEMBERG  <wl@gnu.org>
1974         * doc/pic.ms: Fix typo.
1975         * src/preproc/tbl/tbl.man: Document case of global options.
1977 2001-08-21  Gaius Mulley  <gaius@glam.ac.uk>
1979         * src/devices/grohtml/post-html.cc (html_printer::end_font): Fix
1980         handling of `CR' font.
1982 2001-08-20  Werner LEMBERG  <wl@gnu.org>
1984         Use a config.h file.
1986         * src/include/lib.h: Include config.h.
1987         * All C files: Ditto (if necessary).
1988         * All C++ source and header files: Include lib.h first (if
1989         necessary).
1991         * src/include/config.hin: New file (autogenerated by autoheader).
1992         * stamp-h.in: New file.
1993         * configure.ac: Updated.
1994         * aclocal.m4: Add third parameters to AC_DEFINE macros.
1995         (GROFF_ARRAY_DELETE): Simplified.
1996         * Makefile.sub (DISTCLEANFILES): Updated.
1997         Added targets for remaking config.status, config.hin, config.h,
1998         stamp-h.in, and stamp-h.
1999         * configure: Regenerated.
2001 2001-08-19  Werner LEMBERG  <wl@gnu.org>
2003         * NEWS: Updated.
2005 2001-08-18  Sebastian Krahmer  <krahmer@suse.de>
2007         * src/preproc/pic/pic.y (format_number): Use do_sprintf().
2008         (do_sprintf): Use snprintf().
2010 2001-08-18  Werner LEMBERG  <wl@gnu.org>
2012         * src/libs/snprintf/*: Added an snprintf module written by Mark
2013         Martinec.
2014         * src/libs/libgroff/Makefile.sub: Updated.
2015         * configure.ac: Add test for snprintf().
2016         * Makefile.in: Updated.
2017         * configure: Regenerated.
2019         * src/preproc/html/pre-html.cc (make_message): Reactivate code which
2020         uses snprintf().
2022 2001-08-14  Ruslan Ermilov  <ru@FreeBSD.org>
2024         * tmac/doc.tmac (Ex): New implementation.
2025         * tmac/doc-common, tmac/groff_tmac.man: Updated.
2027 2001-08-13  Ruslan Ermilov  <ru@FreeBSD.org>
2029         * tmac/doc.tmac (Rv): Implement support for 0 or more than 1
2030         argument.
2031         * tmac/groff_tmac.man: Updated.
2033 2001-08-13  Werner LEMBERG  <wl@gnu.org>
2035         * src/preproc/tbl/tbl.man: Minor documentation update.
2037 2001-08-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2039         * src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday().
2040         * configure.ac: Add declaration test for gettimeofday().
2041         * Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines.
2042         * aclocal.m4: Include sys/time.h for gettimeofday declaration test.
2043         * configure: Regenerated.
2045 2001-08-11  Werner LEMBERG  <wl@gnu.org>
2047         * aclocal.m4 (GROFF_MKSTEMP): Define HAVE_MKSTEMP.
2048         * configure.ac: Add declaration test for strcasecmp().
2049         * Makefile.in: Updated.
2050         * configure: Regenerated.
2051         * src/include/lib.h [!HAVE_MKSTEMP]: Add prototype for mkstemp() --
2052         this is necessary because groff's mkstemp.cc is C++.
2053         Add declaration conditionally for strcasecmp().
2055 2001-08-10  Werner LEMBERG  <wl@gnu.org>
2057         Integrated pic2graph, contributed by Eric S. Raymond.
2059         * contrib/pic2graph/{Makefile.sub, pic2graph.sh, pic2graph.man}: New
2060         files.
2061         * Makefile.in, NEWS: Updated.
2063         * src/preproc/tbl/tbl.man: Revised.
2065 2001-08-09  Eric S. Raymond  <esr@thyrsus.com>
2067         * src/preproc/tbl/tbl.man: Extended to cover all tbl features.
2069 2001-08-09  Werner LEMBERG  <wl@gnu.org>
2071         * src/preproc/tbl/main.cc (process_data): Fix recognition of .lf
2072         requests.
2074 2001-08-08  Paul Eggert  <eggert@twinsun.com>
2076         * Makefile.sub (configure): Depend on configure.ac, not
2077         configure.in.
2078         * INSTALL.gen: Upgrade to autoconf 2.52's INSTALL.
2080 2001-08-07  Werner LEMBERG  <wl@gnu.org>
2082         * src/utils/afmtodit/afmtodit.man, src/roff/groff/groff.man: Minor
2083         fixes.
2085 2001-08-06  Werner LEMBERG  <wl@gnu.org>
2087         * src/roff/troff/troff.man: Improve documentation of -E option.
2089 2001-07-28  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
2091         * src/preproc/html/pushbackbuffer.cc (pushBackBuffer::readNumber):
2092         Simplified.
2094 2001-07-27  Werner LEMBERG  <wl@gnu.org>
2096         * src/preproc/refer/refer.cc: Undo last change.
2097         * src/devices/grohtml/post-html.cc: Ditto.
2099 2001-07-26  Werner LEMBERG  <wl@gnu.org>
2101         * src/preproc/refer/refer.cc: Include `lib.h'.
2102         * src/devices/grohtml/post-html.cc: Ditto.
2104 2001-07-25  Gaius Mulley  <gaius@glam.ac.uk>
2106         * aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'.
2107         * src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET.
2108         * Makefile.in: Comment updated.
2109         * configure: Regenerated.
2111 2001-07-25  Werner LEMBERG  <wl@gnu.org>
2113         * src/preproc/pic/pic.cc: Removed.
2114         * src/preproc/pic/pic_tab.h: Removed.
2115         * src/preproc/refer/label.cc: Removed.
2117         * doc/Makefile (.ms.html): Don't use a file name extension in
2118         argument to grohtml's -I option.
2119         * Makefile.in (dist): Remove CVS directories.
2120         Call `distfiles' target.
2122         * src/devices/grohtml/grohtml.man: Add information about valid
2123         versions of pnmtopng.
2124         * src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour
2125         name instead of number.
2127 2001-07-24  Werner LEMBERG  <wl@gnu.org>
2129         * doc/groff.texinfo: Minor fixes.
2131 2001-07-21  Gaius Mulley  <gaius@glam.ac.uk>
2133         * doc/Makefile (.ms.html): Put image files into a subdirectory.
2134         (clean): Updated.
2136 2001-07-20  Werner LEMBERG  <wl@gnu.org>
2138         * src/libs/libgroff/tmpname.cc: New file, defining get_tempname().
2139         * src/libs/libgroff/mkstemp.cc: New file.
2140         * src/libs/libgroff/mksdir.cc: New file.
2141         * src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed.
2142         (xtmpfile) [!HAVE_MKSTEMP]: Removed.
2143         * src/libs/libgroff/Makefile.sub: Updated.
2144         * src/include/lib.h: Add mksdir() prototype.
2145         * src/include/posix.h: Define S_IXUSR if not yet defined.
2147         * src/preproc/html/pre-html.cc (MAX_RETRIES): Removed.
2148         (createAllPages): Use mksdir() instead of current code.
2149         * src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed.
2150         (main): [!HAVE_MKSTEMP]: Removed.
2152         * aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file.
2153         (GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New
2154         macros.
2155         * configure.ac: Add tests for stdint.h, sys/time.h, and
2156         gettimeofday().
2157         Call new GROFF_xxx macros.
2158         * configure: Regenerated.
2159         * Makefile.in: Comments updated.
2161 2001-07-20  Gaius Mulley  <gaius@glam.ac.uk>
2163         * src/preproc/html/pre-html.cc (scanArguments): Use getopt_long()
2164         instead of current code.
2165         * src/devices/grohtml/post-html.cc (main): Handle `-d' option.
2166         * src/roff/groff/groff.cc (possible_command::insert_args): New
2167         function.
2168         (main): Use it for predriver handling instead of insert_arg().
2170 2001-07-19  Werner LEMBERG  <wl@gnu.org>
2172         * doc/Makefile: Added GROFF_BIN_PATH to make it work with uninstalled
2173         groff also.
2175         * src/include/posix.h: Define S_IWUSR if not yet defined.
2177 2001-07-18  Werner LEMBERG  <wl@gnu.org>
2179         * NEWS: Updated.
2181 2001-07-18  Ruslan Ermilov  <ru@FreeBSD.org>
2183         * tmac/groff_mdoc.man: Document new -width and -column syntax.
2184         Some other minor fixes.
2185         * tmac/an-old.tmac: Add `AT' and `UC' macros.
2187 2001-07-17  Gaius Mulley  <gaius@glam.ac.uk>
2189         Replace call to `troff' with `groff -Z' to make it aware of
2190         GROFF_BIN_PATH.
2192         * src/preproc/html/pre-html.cc (TROFF_COMMAND): New macro.
2193         (troff_command, command_prefix): Removed.
2194         (alterDeviceTo): Use groff.
2195         (addZ): New function.
2196         (char_buffer::do_html): Use it.
2197         (scanArguments): Use TROFF_COMMAND.
2198         (findPrefix): Removed.
2199         (main): Updated.
2200         * src/roff/groff/groff.cc (main): Handle zflag for preprocessors.
2202 2001-07-17  Eric S. Raymond  <esr@snark.thyrsus.com>
2204         * doc/pic.ms: Documentation fixes.
2206 2001-07-17  Werner LEMBERG  <wl@gnu.org>
2208         Replace atexit() with global destructor.
2210         * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Add constructor.
2211         (xtmpfile_list_init): New global structure to deallocate
2212         xtmpfile_list on exit.  Its destructor inherits most code from
2213         remove_tmp_files().
2214         (remove_tmp_files): Deleted.
2215         (add_tmp_file): Simplified.
2217 2001-07-16  Werner LEMBERG  <wl@gnu.org>
2219         Replace strdup() with strsave().
2221         * src/devices/grolbp/lbp.cc [!HAVE_STRDUP]: Removed.
2222         (set_papersize): Use strsave() and a_delete.
2223         (main): Use strsave().
2224         * src/preproc/html/pre-html.cc (make_message, createAllPages,
2225         removeAllPages): Use strsave() and a_delete.
2227         * configure.ac: Remove test for strdup.
2228         * Makefile.in: Comment updated.
2229         * configure: Regenerated.
2231 2001-07-15  Werner LEMBERG  <wl@gnu.org>
2233         * win32-diffs: Updated.
2235 2001-07-14  Werner LEMBERG  <wl@gnu.org>
2237         * src/preproc/html/pre-html.cc (makeTempFiles): Activate new code,
2238         removing the old one.
2239         * src/utils/indxbib/indxbib.cc (main): Remove compiler warning.
2241 2001-07-14  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
2243         * src/libs/libgroff/tmpfile.cc (xtmpfile): Fix guard for `namep'.
2245 2001-07-12  Ruslan Ermilov  <ru@FreeBSD.org>
2247         Merge -xwidth into -width.  Add -xwidth functionality to -column
2248         also.
2250         * tmac/doc.tmac (Bl): Add dummy doc-typeXXX and doc-spaceXXX to
2251         avoid warning.
2252         (doc-do-Bl-args): Merge -xwidth code with -width.  Test whether
2253         string immediately following a leading dot starts with a valid mdoc
2254         argument.
2255         Add similar code to the -column branch.
2256         (doc-Bl-usage): Updated.
2257         * groff_mdoc.man: s/-xwidth/-width/.
2259 2001-07-12  Gaius Mulley  <gaius@glam.ac.uk>
2261         * src/devices/grohtml/post-html.cc (text_glob::is_br): Stop titles
2262         running into centered or non-formatted text.
2264 2001-07-11  Werner LEMBERG  <wl@gnu.org>
2266         Introduce short and long prefixes to have the selection at run-time
2267         whether there is a 8+3 limit for names of temporary files.
2269         * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX): Replaced with...
2270         (TMPFILE_PREFIX_SHORT, TMPFILE_PREFIX_LONG): This.
2271         (tmpfile_prefix, tmpfile_prefix_len, use_short_prefix): New
2272         variables.
2273         (temp_init): New global structure to initialize above three
2274         variables.
2275         (xtmptemplate): Use two parameters for long and short prefix.
2276         Simplify code use above three variables.
2277         (xtmpfile): Use long and short prefixes as parameters.
2278         * src/include/lib.h: Updated.
2280         * src/preproc/html/pre-html.cc ({PAGE,PS,REGION}_TEMPLATE): Replace
2281         with ...
2282         ({PAGE,PS,REGION}_TEMPLATE_{SHORT,LONG}): This.
2283         (createAllPages, makeTempFiles): Updated.
2285 2001-07-09  Werner LEMBERG  <wl@gnu.org>
2287         * REVISION: Increased to 3.
2289 Version 1.17.2 released
2290 =======================
2292 2001-07-07  Werner LEMBERG  <wl@gnu.org>
2294         * src/utils/indxbib/indxbib.cc (main): Change type of `name_max'
2295         to size_t.
2297 2001-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
2299         * tmac/doc.tmac (Rv): Make `Rv' really not parseable.
2300         Fix synopsis.
2301         * tmac/groff_mdoc.man: Fix synopsis.
2303 2001-07-05  Ruslan Ermilov  <ru@FreeBSD.org>
2305         * tmac/doc.tmac (doc-inset-list, doc-hang-list, doc-ohang-list):
2306         Restore `doc-Pa-font'.
2308 2001-07-04  Werner LEMBERG  <wl@gnu.org>
2310         * src/utils/indxbib/dirnamemax.c: Moved to ...
2311         * src/libs/libgroff/maxfilename.cc: Here.
2312         s/dir_name_max/file_name_max/.
2313         Add copyright.
2314         * src/include/lib.h: Add file_name_max.
2315         * src/utils/indxbib/indxbib.cc: Updated.
2316         * src/utils/indxbib/Makefile.sub, src/libs/libgroff/Makefile.sub:
2317         Updated.
2319         * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX) [__MSDOS__]: Define
2320         as empty.
2321         (xtmpfile) [_MSC_VER]: Removed -- MSVC has mktemp().
2323         * src/preproc/html/pre-html.cc (PAGE_TEMPLATE, PS_TEMPLATE,
2324         REGION_TEMPLATE): New macros.
2325         (createAllPages, makeTempFiles): Use them.
2326         Include `nonposix.h'.
2327         (html_system): New function.
2328         (createAllPages, createImage): Use it.
2329         Use EXE_EXT.
2331         * tmac/www.tmac: Fix typos.
2333 2001-07-03  Werner LEMBERG  <wl@gnu.org>
2335         * tmac/www.tmac: Disable hyphenation in normal text only if output
2336         device is html.
2337         (URL, FTP, MAILTO): Disable hyphenation of actual URL with `\%'.
2338         * tmac/groff_mwww.man, NEWS: Updated.
2340 2001-07-03  Gaius Mulley  <gaius@glam.ac.uk>
2342         * tmac/www.tmac (.IMAGE): Add fourth parameter to specify vertical
2343         image location.
2345 2001-07-02  Ruslan Ermilov  <ru@FreeBSD.org>
2347         * tmac/doc-common, tmac/doc.tmac (doc-display-ft-stack,
2348         doc-display-ps-stack): Implement font and font size stack for
2349         displays.
2351 2001-07-02  Werner LEMBERG  <wl@gnu.org>
2353         * REVISION: Increased to 2.
2354         * src/roff/troff/input.cc (read_size): Fix special case `\s[0]'.
2356         * src/groff/grog/grog.pl (process): Handle `Oo' and `Oc' not at the
2357         beginning of a line.
2358         * src/groff/grog/grog.sh: Ditto.
2360 2001-06-29  Peter Marquardt  <wwwutz@molgen.mpg.de>
2362         * src/preproc/eqn/neqn.sh: Put `export' keyword in a new line to
2363         make it portable.
2365 2001-06-27  Werner LEMBERG  <wl@gnu.org>
2367         Fix problems with preprocessor string for `man' program.
2369         * *.man: Don't use `s' in preprocessor string --  it doesn't exist.
2370         Updated/added copyright.
2371         Moved Emacs's local variable to identify nroff mode to the end of
2372         the file; add local variable if missing.
2374 2001-06-26  Andras Salamon  <andras@cs.wits.ac.za>
2376         * aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS with
2377         AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++).
2378         * configure: Regenerated.
2380 2001-06-25  Andras Salamon  <andras@cs.wits.ac.za>
2382         * aclocal.m4 (GROFF_PAGE): Fix page detection code.
2383         * configure: Regenerated.
2385 2001-06-24  Werner LEMBERG  <wl@gnu.org>
2387         * doc/homepage.ms: Don't include arkup.tmac (which no longer exists)
2388         but www.tmac.
2389         * doc/pic.ms: Fix typos.
2391 Version 1.17.1 released
2392 =======================
2394 2001-06-21  Golubev I. N.  <gin@mo.msk.ru>
2396         * aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h.
2397         * configure: Updated.
2399 2001-06-20  Gaius Mulley  <gaius@glam.ac.uk>
2401         * src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect
2402         image names.
2403         * src/roff/troff/dic.cc (blank_line): Add html tag.
2405 2001-06-19  Gaius Mulley  <gaius@glam.ac.uk>
2407         * src/roff/troff/input.cc (do_suppress): Fix typo.
2409 2001-06-18  Gaius Mulley  <gaius@glam.ac.uk>
2411         Added two new options (-D and -I) to specify image names and a
2412         subdirectory to place the images in.
2414         Change syntax from \\Ox to \\O[x].
2416         * src/devices/grohtml/post-html.cc (main): Add options.
2417         (usage): Updated.
2418         * src/preproc/html/pre-html.cc: Include `stdarg.h'.
2419         Use `NULL' instead of `0' for null string pointers.
2420         (MAX_RETRIES): New macro.
2421         (lengthOfintToStr, intToStr, make_message): New functions.
2422         (makeFileName): Make function static.
2423         Implement -D and -I options.
2424         (checkImageDir): New function.
2425         (write_end_image, write_start_image): Use new syntax of \O.
2426         (createAllPages, removeAllPages): Implement -D and -I options.  Use
2427         make_message().
2428         (createImage): Use make_message().
2429         (addps4html): Add guard for malloc().
2430         (usage, scanArguments): Updated.
2431         (makeTempFiles): Use mkstemp().
2432         (removeTempFiles): Use unlink().
2433         (findPrefix): Add guard for malloc().
2434         (main): Updated.
2435         * src/roff/troff/input.cc (get_delim_file_name): New function to
2436         parse \O.
2437         (do_suppress): Updated to parse new syntax.
2438         * src/devices/grohtml/grohtml.man: Updated.
2439         * tmac/www.tmac: Updated to new syntax.
2441         * NEWS: Updated.
2443 2001-06-15  Werner LEMBERG  <wl@gnu.org>
2445         * src/roff/grog/Makefile.sub: Remove NAMEPREFIX.
2447         * src/devices/grohtml/grohtml.man: Minor improvements.
2449 2001-06-14  Werner LEMBERG  <wl@gnu.org>
2451         * src/preproc/html/Makefile.sub: Remove NAMEPREFIX.
2453 2001-06-11  Werner LEMBERG  <wl@gnu.org>
2455         * man/roff.man, mann/groff.man: Use '\" instead of .\" in the first
2456         line to specify preprocessor options -- mandb 2.3.1 only recognizes
2457         the former.
2458         * src/preproc/grn/grn.man: Add proper '\" string.
2460 2001-06-11  OKAZAKI Tetsurou  <okazaki@be.to>
2462         * test-groff: Don't use PATH but GROFF_BIN_PATH.
2464 2001-06-08  Werner LEMBERG  <wl@gnu.org>
2466         Updated to autoconf 2.50.
2468         * configure.in: Renamed to...
2469         * configure.ac: This.
2470         * aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed.
2471         (GROFF_OS390): Updated.
2472         * configure: Regenerated.
2474 2001-05-18  Werner LEMBERG  <wl@gnu.org>
2476         * src/roff/troff/env.c, src/roff/troff/env.h,
2477         src/roff/troff/input.cc, src/roff/troff/troff.man: Undo `ss' change
2478         from 2000-12-21.
2480 2001-05-17  Jeffrey Friedl  <jfriedl@yahoo-inc.com>
2482         * src/roff/troff/input.cc (read_size): Fix special case `\s0'.
2484 2001-05-16  Werner LEMBERG  <wl@gnu.org>
2486         * src/roff/troff/input.cc (read_size): Emit warning if value becomes
2487         less than or equal zero; set it to 1 then.
2488         * src/roff/troff/node.h (node::node): Initialize `last'.
2490 2001-05-08  Werner LEMBERG  <wl@gnu.org>
2492         * tmac/an-old.tmac: Make predefined strings work in compatibility
2493         mode.
2494         Add troff version guard.
2495         * tmac/doc.tmac: Simplify version guard.
2497 2001-05-07  Werner LEMBERG  <wl@gnu.org>
2499         The .ns and .rs requests are now honoured not only in the top-level
2500         but in all diversions (similar to UNIX troff).
2502         This change is based on a patch from Tadziu Hoffmann
2503         <hoffmann@usm.uni-muenchen.de>.
2505         * src/roff/troff/div.h (diversion): Add `no_space_mode' member.
2506         (top_level_diversion): Remove `no_space_mode' member.
2507         * src/roff/troff/div.cc (diversion::diversion,
2508         top_level_diversion::top_level_diversion): Updated.
2509         (macro_diversion::output): Reset `no_space_mode'.
2510         (no_space, restore_spacing): Use `curdiv' unconditionally.
2511         (space_request, blank_line): Check `curdiv->no_space_mode'.
2512         (no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use
2513         `curdiv' unconditionally.
2514         * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
2515         Updated.
2517 2001-05-06  Werner LEMBERG  <wl@gnu.org>
2519         Added two new requests `de1' and `am1' which are similar to `de' and
2520         `am' with the difference that compatibility mode is saved on entry,
2521         switched off during macro execution, and restored on exit.
2523         * src/roff/troff/input.h: Added two new special characters
2524         (COMPATIBLE_SAVE, COMPATIBLE_RESTORE).
2525         * src/roff/troff/input.cc (input_iterator): Added two member
2526         functions `save_compatible_flag' and `get_compatible_flag'.
2527         (input_stack): Ditto.
2528         (string_iterator): Ditto.  Also add private member
2529         `saved_compatible_flag'.
2530         (token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
2531         (calling_mode): New enumeration.
2532         (do_define_macro): Use it.  Insert COMPATIBLE_SAVE and
2533         COMPATIBLE_RESTORE at the beginning and end of macro, respectively.
2534         (define_macro, define_indirect_macro, append_macro, ignore): Use
2535         `calling_mode'.
2536         (define_nocomp_macro, append_nocomp_macro): New functions.
2537         (init_input_requests): Updated.
2538         (do_request): Rename local variable `saved_compatible_flag' to
2539         `old_compatible_flag'.
2540         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
2542         * tmac/an-old.tmac: Use `de1' instead of `de' request for all
2543         public and trap-invoked macros.  As a consequence, the man macros
2544         work in compatibility mode also.
2546 2001-05-06  Solar Designer  <solar@openwall.com>
2548         * Makefile.in: Use $(mandir).
2550 2001-05-06  Alexios Zavras  <zvr@pobox.com>
2552         * src/utils/afmtodit/afmtodit.pl: Fix serious typo.
2554 2001-05-05  Werner LEMBERG  <wl@gnu.org>
2556         Added `.ns' number register: Returns 1 in no-space mode (if in
2557         top-level diversion), 0 otherwise.
2559         * src/roff/troff/div.cc (no_space_mode_reg): New class.
2560         (init_div_requests): Updated.
2561         * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
2562         Document it.
2564 2001-05-04  Werner LEMBERG  <wl@gnu.org>
2566         * src/roff/nroff/nroff.man: Improved documentation (especially
2567         locales).
2569 2001-05-02  Werner LEMBERG  <wl@gnu.org>
2571         Added `brp' request: This is \p as a request.
2573         * src/roff/troff/env.cc (environment::do_break): Add parameter
2574         `spread'.
2575         (do_break_request): New function (was `break_request').
2576         (break_request): Calls `do_break_request'.
2577         (break_spread_request): New; calls `do_break_request'.
2578         (init_env_requests): Updated.
2579         * src/roff/troff/env.h: Updated.
2580         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
2582         * REVISION: Increased to 1.
2583         * win32-diffs: Updated.
2585 2001-05-01  Werner LEMBERG  <wl@gnu.org>
2587         * tmac/an-old.tmac: Fix minor compatibility mode issue.
2588         * tmac/troffrc-end: Make it really work in compatibility mode.
2590 2001-04-27  Werner LEMBERG  <wl@gnu.org>
2592         * src/utils/lkbib/lkbib.cc: Switch inclusion order of stdio.h and
2593         stdlib.h.
2595 2001-04-22  Werner LEMBERG  <wl@gnu.org>
2597         * src/libs/libgroff/getopt.c, src/include/getopt.h: Updating to
2598         latest versions from glibc CVS archive.
2600         * MORE.STUFF: Updated, using a patch from Kees Zeelenberg
2601         <c.zeelenberg@hccnet.nl>.
2603 2001-04-21  Werner LEMBERG  <wl@gnu.org>
2605         * configure.in: Move check for mkstemp() to...
2606         * aclocal.m4 (GROFF_MKSTEMP): This new function.
2607         * configure: Regenerated.
2609         * src/include/groff-getopt.h: Don't use variable names in
2610         declarations.
2612         * src/devices/grohtml/html-chars.h: Removed.  It isn't used.
2613         * src/devices/grohtml/Makefile.sub,
2614         src/devices/grohtml/post-html.cc: Updated.
2616 2001-04-21  Albert Chin-A-Young  <china@thewrittenword.com>
2618         * configure.in: Add special check for mkstemp().
2619         * src/libs/libgroff/tmpfile.cc: Use it.
2620         * src/utils/indxbib/indxbib.cc: Ditto.
2621         * src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style.
2622         * src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use
2623         `const'.
2625 2001-04-20  Bruce Lilly  <blilly@erols.com>
2627         `Version_string' as C++ object was not visible to linker from C
2628         object files.
2629         Add `const' to `Version_string'.
2631         * src/utils/pfbtops/pfbtops.c (main), src/roff/groff/groff.cc
2632         (main), src/roff/troff/input.cc (main), src/preproc/tbl/main.cc
2633         (main), src/preproc/pic/main.cc (main), src/preproc/eqn/main.cc
2634         (main), src/preproc/grn/main.cc (main), src/preproc/html/pre-html.cc
2635         (scanArguments), src/preproc/refer/refer.cc (main),
2636         src/preproc/soelim/soelim.cc (main), src/devices/grotty/tty.cc
2637         (main), src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
2638         (main), src/devices/grohtml/post-html.cc (main),
2639         src/devices/grolbp/lbp.cc (main), src/utils/tfmtodit/tfmtodit.cc
2640         (main), src/utils/hpftodit/hpftodit.cc (main),
2641         src/utils/lookbib/lookbib.cc (main), src/utils/indxbib/indxbib.cc
2642         (main), src/utils/lkbib/lkbib.cc (main),
2643         src/utils/addftinfo/addftinfo.cc (main): Implement it.
2645         * src/roff/groff/pipeline.c: Add _UWIN.
2646         * src/include/nonposix.h: Ditto.
2648 2001-04-20  Werner LEMBERG  <wl@gnu.org>
2650         * src/include/lib.h: Use HAVE_STRERROR.
2651         * src/roff/groff/pipeline.c: Ditto.
2652         * src/preproc/html/pre-html.cc: Remove declaration of `strerror'.
2653         * src/libs/libgroff/Makefile.sub (version.cc): Add `extern "C"'.
2654         * src/utils/pfbtops/pfbtops.c: Add copyright notice.
2655         * win32-diffs: Updated.
2656         * src/utils/hpftodit/hpftodit.cc (read_map): Fix compiler warning.
2658 2001-04-19  Werner LEMBERG  <wl@gnu.org>
2660         * src/preproc/html/pre-html.cc (scanArguments): Use `troff_command'
2661         instead of hardwired `"troff"'.
2662         (char_buffer::read_file): Remove unused variables.
2663         (char_buffer::write_file_troff): Ditto.
2664         (char_buffer::write_file_html): Ditto.
2665         (generateImages): Ditto.
2666         (abs): Removed.
2667         * src/utils/addftinfo/addftinfo.cc (main): Fix compilation problem.
2669         * src/include/lib.h: Don't include `groff-getopt.h' for UWIN.
2671         * src/libs/libgroff/font.cc (font::load_desc): Fix compiler warning.
2672         * src/libs/libbib/index.cc (index_search_item_iterator::get_tag,
2673         index_search_item::search1): Ditto.
2674         * src/roff/troff/node.h (width_list): Reorder members.
2675         * src/roff/troff/input.cc (do_define_macro): Fix compiler warning.
2676         (lookup_warning): Ditto.
2677         (prepend_string): Commented out.
2678         * src/roff/troff/dictionary.cc (is_good_size): Fix compiler warning.
2679         * src/roff/troff/reg.cc (number_value_to_ascii): Ditto.
2680         * src/preproc/tbl/main.cc (process_format): Ditto.
2681         * src/preproc/pic/pic.y (define_variable, reset, reset_all): Fix
2682         compiler warnings.
2683         * src/preproc/pic/pic.cc: Updated.
2684         * src/preproc/eqn/lex.cc (init_table): Fix compiler warnings.
2685         * src/preproc/eqn/over.cc (over_box::compute_metrics): Ditto.
2686         * src/preproc/refer/command.cc (execute_command): Ditto.
2687         * src/preproc/refer/ref.cc (sortify_title, find_month): Ditto.
2688         * src/preproc/refer/token.cc (lookup_token): Ditto.
2689         * src/preproc/soelim/soelim.cc: Ditto.
2690         * src/preproc/html/pushbackbuffer.cc (ERROR): Ditto.
2691         (isHexDigit): Commented out.
2692         (pushBackBuffer::isString): Remove unused variable.
2693         * src/devices/grops/ps.cc (ps_printer::special): Fix compiler
2694         warning.
2695         * src/devices/grops/psrm.cc (resource_manager::lookup_font,
2696         resource_manager::read_resource_arg, read_one_of, parse_extensions):
2697         Ditto.
2698         * src/devices/grodvi/dvi.cc (dvi_printer::draw): Ditto.
2699         * src/devices/grolj4/lj4.cc (lj4_font::handle_unknown_font_command,
2700         lookup_paper_size): Ditto.
2701         * src/devices/grohtml/post-html.cc (is_subsection): Commented out.
2702         (text_glob, element_list): Reorder members.
2703         * src/devices/grohtml/html-text.cc (html_text::do_pre): Remove
2704         compiler warning.
2705         * src/devices/grohtml/html-text.h (html_text::emit_space): Change
2706         return value to `void'.
2707         * src/devices/grohtml/output.cc (word_list::word_list): Fix order
2708         of initializers.
2709         * src/devices/grohtml/html.h (simple_output::check_newline,
2710         simple_output::space_or_newline, simple_output::enable_newlines):
2711         Add return value.
2712         * src/devices/grolbp/lbp.cc (wp54charset, set_papersize): Remove
2713         compiler warnings.
2714         * src/utils/tfmtodit/tfmtodit.cc (tfm::load, gf::load, main): Ditto.
2715         * src/utils/hpftodit/hpftodit.cc (File::seek, read_symbol_sets,
2716         output_ligatures, output_charset, read_map): Ditto.
2717         * src/utils/lookbib/lookbib.cc (main): Ditto.
2718         * src/utils/indxbib/indxbib.cc (main, fwrite_or_die): Ditto.
2719         (do_file): Fix typo (`=' -> `==').
2720         * src/utils/lkbib/lkbib.cc (main): Remove compiler warning.
2721         * src/utils/addftinfo/addftinfo.cc (main): Ditto.
2723 2001-04-18  Ruslan Ermilov  <ru@FreeBSD.org>
2725         * src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.
2726         Fix usage of GROFF_BIN_PATH.
2727         * src/roff/nroff/nroff.man: Updated.
2729 2001-04-18  Werner LEMBERG  <wl@gnu.org>
2731         * NEWS: Fixing typos.
2732         Updated.
2734 Version 1.17 released
2735 =====================
2737 2001-04-17  Werner LEMBERG  <wl@gnu.org>
2739         * tmac/Makefile.sub (install-data): mdoc.local-s is in current
2740         directory, not in $(srcdir).
2742 2001-04-16  Werner LEMBERG  <wl@gnu.org>
2744         * doc/groff.texinfo: More info on conditionals.
2746 2001-04-15  Werner LEMBERG  <wl@gnu.org>
2748         * doc/groff.texinfo: Added some info about groff internals.
2750         * src/roff/troff/node.cc (make_glyph_node): Emit warning message
2751         about missing special character only if the name is non-null.
2753 2001-04-14  Werner LEMBERG  <wl@gnu.org>
2755         Removing the grohtml-old device driver which is now obsolete.
2757         * src/devices/grohtml-old/*: Removed.
2758         * font/devhtml-old/*: Removed.
2759         * src/libs/libgroff/htmlindicate.cc (graphic_start, graphic_end):
2760         Remove comments.
2761         * Makefile.in (CCPROGDIRS, DEVDIRS): Updated.
2762         * test-groff (PATH): Updated.
2763         * tmac/Makefile.sub (NORMALFILES): Updated.
2764         * tmac/an-old.tmac: Remove special code for html-old device.
2765         Replace `html-or-html-old' register with `an-html'.
2766         * tmac/eqnrc: Updated.
2767         * tmac/html-old.tmac: Removed.
2768         * tmac/troffrc, tmac/troffrc-end: Updated.
2769         * tmac/www.tmac: Remove special code for html-old device.
2770         Replace `html-or-html-old' register with `www-html'.
2772         * src/libs/libgroff/tmpfile.cc (remove_tmp_files),
2773         src/libs/libgroff/htmlindicate.cc (graphic_end),
2774         include/htmlindicate.h, src/preproc/grn/*.cc,
2775         src/roff/groff/env.{cc,h}: Remove `void' parameter if used as a
2776         single argument for consistency with rest of source code.
2778         * aclocal.m4, tmac/an-old.tmac: Fix copyright.
2780 2001-04-13  Ruslan Ermilov  <ru@FreeBSD.org>
2782         * src/roff/troff/troff.man: Fixing typos.
2784 2001-04-13  Werner LEMBERG  <wl@gnu.org>
2786         * doc/pic.ms: Fixing many font switches.
2787         * doc/groff.texinfo: Fixes, additions.
2788         * MORE.STUFF: Updated.
2790 2001-04-12  Gaius Mulley  <gaius@glam.ac.uk>
2792         * src/devices/grohtml/grohtml.man: Updated manual page regarding
2793         simple anchor.
2794         * src/preproc/html/pre-html.cc (createImage): Fixed right hand
2795         cropping of images.
2796         (removeTempFiles): New function to tidy up temporary files.
2797         * src/preproc/html/pre-html.cc (main): Calls `removeTempFiles()'.
2798         Many fixes to do with the new inline suppress node and image regions
2799         are much tighter.
2800         * src/devices/grohtml/post-html.cc: New method `is_auto_img'.
2801         (generate_img_src): New function.
2802         (html_printer::do_auto_image): Utilizes it.
2803         (do_heading, do_title): Include inline images within their contents.
2804         (html_printer::begin_page): Tidied up comments that are issued to
2805         the html output file.
2806         (html_printer::do_fill): Fixed so that `.nf' works with fonts other
2807         than courier.
2808         (text_glob::is_br): New method used by do_heading.
2809         * tmac/s.tmac: If -Thtml then emit $1 in .IP rather than its
2810         equivalent diversion.
2811         * src/include/html-strings.h: Altered image tags to reflect the
2812         inline image node.
2813         * src/include/htmlindicate.h (html_end_suppress): Added `is_inline'
2814         parameter.
2815         * src/preproc/eqn/main.cc: Will suppress generation of image tags if
2816         it is already inside a pic image.  Only emit tags if the argument
2817         `-Tps:html' is present.
2818         * src/preproc/tbl/main.cc: Changes to reflect additional
2819         `html_end_suppress' parameter.
2820         * src/roff/troff/env.cc: Only emit eol tag if a node has been
2821         emitted since the last eol tag was written.
2822         * src/roff/troff/env.h: New boolean `emitted_node'.
2823         * src/roff/troff/input.cc (do_suppress): Handles extra suppress
2824         nodes \O3, \O4, \O5.  No longer use `output_low_mark_miny'.
2825         * src/roff/troff/node.cc (check_charinfo): New method. 
2826         (troff_output_file::determine_line_limits): Alterations to limit
2827         checking.
2828         * tmac/www.tmac: Changes to reflect new suppress nodes.
2829           
2830 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2832         * src/devices/grohtml/post-html.cc (html_printer::add_to_sbuf):
2833         Escape the html_glyph in the buffer.
2834         (str_translate_to_html): Output the unescaped escaped_char.
2835         * src/devices/grohtml/html-text.cc (issue_table_begin): Set
2836         `frame=void', not `frame=none'.  Add `border=0'.
2838 2001-04-12  Werner LEMBERG  <wl@gnu.org>
2840         * PROBLEMS: Add some words on how to avoid wrapper macros.
2842 2001-04-11  Blake McBride  <blake@florida-software.com>
2844         * src/include/nonposix.h (fileno) [_MSC_VER]: Removed.
2846 2001-04-11  Werner LEMBERG  <wl@gnu.org>
2848         * font/devlbp/Makefile.sub (CLEANADD): Set it.
2849         * tmac/Makefile.sub (CLEANADD): Add tmac.local-s.
2850         * Makefile.in (dist): Don't remove src/xditview/Imakefile, but ...
2851         * Makefile.sub (DISTCLEANFILES): Here.
2853         * libs/libgroff/new.cc: Include `nonposix.h'.
2854         * win32-diffs: Updated.
2856 2001-04-10  Ruslan Ermilov  <ru@FreeBSD.org>
2858         Added skeleton macro for defunct macros.
2860         Updated documentation.
2862         When inside displays, an empty input line warning should be
2863         suppressed.  If another macro call is put inside a display,
2864         all subsequent empty lines found in that display caused a
2865         warning to be emitted.
2867         * tmac/doc.tmac (doc-defunct-macro): New macro.
2868         (Db, Ds, Ex, Or, Sf): Reimplemented using this macro.
2869         (doc-restore-global-vars): Fixed typo.
2870         (doc-empty-line): Check the `doc-display-depth' register to
2871         determine whether we are inside display or not.
2873         * tmac/doc-common: Removed `Or' and `Sf' registers.
2874         Moved obsolete `Ds' macro to doc.tmac.
2876         * tmac/groff_mdoc.man: Bump document date.
2877         Document `.Vt' under ``Variable Types''.
2878         Removed documentation for obsolete `.Or' macro.
2880 2001-04-10  Werner LEMBERG  <wl@gnu.org>
2882         * NEWS: Updated.
2883         * doc/groff.texinfo: Many fixes, additions, clarifications, etc.
2885 2001-04-10  Bruno Haible  <haible@clisp.cons.org>
2887         * src/devices/grodvi/dvi.cc (main): Accept --help and --version.
2888         (usage): Add stream argument. Don't exit.
2889         * src/devices/grohtml/post-html.cc (main): Accept --help and --version.
2890         Write --version output to stdout, not stderr.
2891         (usage): Add stream argument. Don't exit.
2892         * src/devices/grohtml-old/html.cc (main): Accept --help and --version.
2893         (usage): Add stream argument. Don't exit.
2894         * src/devices/grolbp/lbp.cc (long_options): Use symbolic getopt.h
2895         constants.
2896         (usage): Add stream argument. Don't exit.
2897         (main): Write --help output to stdout, not stderr.
2898         * src/devices/grolj4/lj4.cc (main): Accept --help and --version.
2899         (usage): Add stream argument. Don't exit.
2900         * src/devices/grops/ps.cc (main): Accept --help and --version.
2901         (usage): Add stream argument. Don't exit.
2902         * src/devices/grotty/tty.cc (main): Accept --help and --version.
2903         (usage): Add stream argument. Don't exit.
2904         * src/preproc/eqn/main.cc (usage): Add stream argument. Don't exit.
2905         (main): Accept --help and --version.
2906         * src/preproc/grn/main.cc (usage): Add stream argument. Don't exit.
2907         (main): Accept --help and --version.
2908         * src/preproc/html/pre-html.cc (usage): Add stream argument.
2909         (scanArguments): Accept --help and --version.
2910         * src/preproc/pic/main.cc (usage): Add stream argument. Don't exit.
2911         (main): Accept --help and --version.
2912         * src/preproc/refer/refer.cc (main): Accept --help and --version.
2913         (usage): Add stream argument. Don't exit.
2914         * src/preproc/soelim/soelim.cc (usage): Add stream argument. Don't
2915         exit.
2916         (main): Accept --help and --version.
2917         * src/preproc/tbl/main.cc (usage): Add stream argument. Don't exit.
2918         (main): Accept --help and --version.
2919         * src/roff/groff/groff.cc (main): Accept --help and --version.
2920         (synopsis): Add stream argument.
2921         (help): Write --help output to stdout, not stderr.
2922         (usage): Add stream argument. Don't exit.
2923         * src/roff/grog/grog.pl: Accept --help and --version.
2924         (help): New sub.
2925         * src/roff/grog/grog.sh: Accept --help and --version.
2926         * src/roff/nroff/nroff.sh: Accept --help and --version.
2927         * src/roff/troff/input.cc (USAGE_EXIT_CODE): Remove macro.
2928         (usage): Add stream argument. Don't exit.
2929         (main): Accept --help and --version.
2930         * src/utils/addftinfo/addftinfo.cc (main): Accept --help and --version.
2931         (usage): New function with stream argument, doesn't exit.
2932         * src/utils/hpftodit/hpftodit.cc (main): Accept --help and --version.
2933         (usage): New function with stream argument, doesn't exit.
2934         * src/utils/indxbib/indxbib.cc (main): Accept --help and --version.
2935         (usage): Add stream argument. Don't exit.
2936         * src/utils/lkbib/lkbib.cc (usage): Add stream argument. Don't exit.
2937         (main): Accept --help and --version.
2938         * src/utils/lookbib/lookbib.cc (usage): Add stream argument. Don't
2939         exit.
2940         (main): Accept --help and --version.
2941         * src/utils/pfbtops/pfbtops.c (usage): Add stream argument. Don't exit.
2942         (main): Accept --help and --version.
2943         * src/utils/tfmtodit/tfmtodit.cc (main): Accept --help and --version.
2944         (usage): Add stream argument. Don't exit.
2946 2001-04-10  Ruslan Ermilov  <ru@freebsd.org>
2948         Fix indentation in SYNOPSIS.
2950         Updated to include changes of latest BSD mdoc version (basically,
2951         the only change is that `.Fn' and `.Fc' put a final semicolon after
2952         a function declaration in the SYNOPSIS section).
2954         * tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
2955         (doc-in-synopsis-section): New variable.  Updated all related
2956         functions.
2957         (doc-indent-synopsis-active): New register.
2958         (Nd, Fn, Fo): Use it.
2959         (Cd): It requires manipulation of \n[doc-indent-synopsis] so that
2960         `.Cd' with long argument line produces indented wrapped lines. 
2961         Also, the misplaced `.nop \*[doc-Nm-font]\c'' caused extra
2962         undesirable line break to be output.
2963         (doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
2964         `.rs'.
2965         (Fn, Fc): Add final `;' to output.
2966         (doc-save-global-vars, doc-restore-global-vars): Updated.
2967         * tmac/doc-common: Remove `Ex' register.
2968         Updated.
2969         * tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
2970         copyright.
2972 2001-04-06  Ruslan Ermilov  <ru@freebsd.org>
2974         * tmac/doc.tmac (Cd): Simplify code.
2975         * tmac/groff_mdoc.man: Document some behaviour of `Cd' request.
2977 2001-04-06  Werner LEMBERG  <wl@gnu.org>
2979         Implement continuous underlining for nroff mode.  To do that, a new
2980         request in the ditroff language has been added: `x u N' (N is 0
2981         or 1).
2983         \X and \Y are now transparent to end-of-sentence recognition.
2985         * src/include/printer.h (printer): Add `type' parameter to `special'
2986         method.
2987         * src/libs/libdriver/printer.cc (printer::special): Updated.
2988         * src/libs/libdriver/input.cc (do_file): Handle `x u N'.
2990         * src/devices/dvi/dvi.cc (dvi_printer::special): Handle only
2991         specials of type `p'.
2992         * src/devices/grohtml/post-html.cc (html_printer::special): Ditto.
2993         * src/devices/grohtml-old/html.cc (html_printer::special): Ditto.
2994         * src/devices/grops/ps.cc (ps_printer::special): Ditto.
2995         * src/devices/grotty/tty.cc: Add new enum CU_MODE.
2996         (glyph::order): New method.
2997         (tty_printer::add_char): Use it.
2998         (tty_printer::special): New method.
2999         (tty_printer::end_page): Implement it.
3001         * src/roff/troff/node.h (special_node): Add `no_init_string' member.
3002         * src/roff/troff/node.cc (special_node::special_node): Add parameter
3003         to set `no_init_string'.
3004         (special_node::tprint_start): Use it.
3005         (special_node::same, special_node::copy): Updated.
3006         (special_node::ends_sentence): New method.
3007         (troff_output_file::start_special): Add parameter to include
3008         inititialization of special conditionally.
3010         * src/roff/troff/env.h (environment): New member `underline_spaces'.
3011         * src/roff/troff/env.cc (do_underline_special): New function.
3012         (environment::set_font): Use it.
3013         (do_underline): Use it.  This was `underline()'.
3014         (underline): Call `do_underline()'.
3015         (continuous_underline): New function which calls `do_underline()'.
3016         (environment::newline): Use `do_underline_special()'.
3017         (init_env_requests): Updated.
3019         * NEWS, man/troff_out.man: Updated.
3021 2001-04-06  Bruno Haible  <haible@clisp.cons.org>
3023         * font/devutf8/R.proto: Fix code of 'shc'.
3025 2001-04-06  Ruslan Ermilov  <ru@freebsd.org>
3027         Many fixes.  Diag lists can now be nested also; additionally,
3028         `-compact' and `-offset' are supported.
3030         * tmac/doc.tmac (doc-have-indent): Replaced with ...
3031         (doc-list-have-indent-stackXXX): A new register stack.
3032         (doc-have-diag-list): Removed.
3033         (Bl): Use `doc-list-have-indent-stackXXX'.
3034         (El): Updated.
3035         (doc-diag-list): Use `doc-compact-list-stackXXX'.
3036         (doc-tag-list): Use `doc-list-have-indent-stackXXX'.
3037         (doc-set-vertical-and-indent): Ditto.
3038         (doc-next-list-depth): Removed.
3039         (doc-increment-list-stack): Updated.
3040         (doc-decrement-list-stack): Use `doc-list-depth' instead of
3041         `doc-next-list-depth'.
3042         (doc-end-list, doc-end-column-list): Don't use
3043         `doc-increment-list-stack'.
3044         (doc-set-column-tab): Don't use `doc-list-offset-stackXXX'.
3045         (doc-save-global-vars, doc-restore-global-vars): Updated.
3046         * tmac/doc-common: Updated.
3047         * tmac/groff_mdoc.man: Updated.
3048         * NEWS: Fix typo.
3050 2001-04-02  Werner LEMBERG  <wl@gnu.org>
3052         * src/devices/grotty/grotty.man: Fix grammatical error.
3054 2001-03-30  Ruslan Ermilov  <ru@freebsd.org>
3056         Remove .Ld from mdoc package; replace it with special handling of
3057         `...'.
3059         * tmac/doc-common: Remove `Ld' register.
3060         Uncomment `doc-volume-ds-*' strings.
3061         Remove `doc-operating-system-default'.
3062         (Os): Updated.
3063         * tmac/doc-syms (Ld): Removed.
3064         * tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
3065         `...' specially.
3066         * NEWS: Updated.
3068         * tmac/groff_mdoc.man: Many fixes and updates.
3070 2001-03-29  Werner LEMBERG  <wl@gnu.org>
3072         * tmac/troffrc-end: Protect data with `.do'.  Reported by T. Kurt
3073         Bond <tkb@tkb.mpl.com>.
3074         * tmac/www.tmac: Save compatibility mode.
3076 2001-03-28  Ruslan Ermilov  <ru@freebsd.org>
3078         * tmac/groff_mdoc.man: Many fixes.
3080 2001-03-28  Werner LEMBERG  <wl@gnu.org>
3082         * src/preproc/soelim/soelim.man: Document that `.<whitespace>so'
3083         isn't recognized.
3085 2001-03-27  Werner LEMBERG  <wl@gnu.org>
3087         * tmac/an-old.tmac (TP, an-do-tag): Reduce line length while in
3088         diversion.  This fixes overlong tags.
3090 2001-03-26  Werner LEMBERG  <wl@gnu.org>
3092         * doc/groff.texinfo: Fixed and improved documentation of fonts.
3093         * tmac/doc-syms: Fix error messages.
3094         * tmac/an-old.tmac: Remove incorrect double backslashes.
3096 2001-03-24  Ruslan Ermilov  <ru@freebsd.org>
3098         * tmac/Makefile.sub: Strip mdoc.local also
3099         * tmac/strip.sed: Fixed.
3101 2001-03-24  Werner LEMBERG  <wl@gnu.org>
3103         * tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
3104         selecting the font size.
3105         * tmac/groff_mdoc.man, NEWS: Document it.
3107 2001-03-23  Werner LEMBERG  <wl@gnu.org>
3109         * src/roff/troff/div.cc (save_vertical_space): Add default argument
3110         to `sv' request.
3111         * src/roff/troff/env.cc (family_change): Make `.fam' accept no
3112         argument to restore previous font family.
3113         * src/roff/troff/troff.man, man/groff.man, NEWS: Updated.
3115         * doc/groff.texinfo: More fixes and additions (mainly for font
3116         manipulating commands).
3118         * tmac/groff_mdoc.reference.man: Small updates and renamed to ...
3119         * tmac/groff_mdoc.man: This.  The quick reference has been removed.
3120         * tmac/Makefile.sub, NEWS: Updated.
3122 2001-03-23  Werner LEMBERG  <wl@gnu.org>
3124         Replaced mdoc implementation.  The new version is `state of the
3125         art', using almost all new features of groff 1.17 -- it won't run
3126         with older versions.
3128         * tmac/doc.tmac: Completely rewritten.
3129         * tmac/doc-common: Ditto.
3130         * tmac/doc-nroff: Ditto.
3131         * tmac/doc-ditroff: Ditto.
3132         * tmac/doc-syms: Ditto.
3133         * tmac/mdoc.local: New file.
3134         * tmac/groff_mdoc.samples.man: Replaced with ...
3135         * tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
3136         * tmac/strip.sed: Updated.
3137         * tmac/Makefile.sub: Updated.
3138         * INSTALL: Updated.
3140         * tmac/groff_man.man: Add `man.local' to the FILES section.
3142 2001-03-22  Werner LEMBERG  <wl@gnu.org>
3144         * doc/groff.texinfo: Added many @noindent.
3145         Replaced @end_Example -> @endExample.
3146         Added info whether registers are r/o.
3147         Many other additions and fixes.
3149 2001-03-21  Werner LEMBERG  <wl@gnu.org>
3151         * doc/groff.texinfo: Added macro @Var (and some hacks due to bugs
3152         in makeinfo of texinfo 4.0) to be used in @Def* macros.
3153         Improved @Def* macros: Now the exact syntax of request, register,
3154         and escapes is shown.
3155         Added macros for parentheses and brackets to be used in @Def*.
3156         Many fixes and improvements of the documentation.
3158 2001-03-20  Werner LEMBERG  <wl@gnu.org>
3160         * doc/groff.texinfo: Added new index: `st' (for strings).
3161         Added macros @Defstr(x).
3162         Added macro @Example (adding @group).
3163         Other minor improvements.
3165 2001-03-19  Werner LEMBERG  <wl@gnu.org>
3167         * doc/groff.texinfo: Added two new indices: `es' (for escapes) and
3168         `rq' for requests.  `fn' is no longer used.
3169         Added macros @Defreq(x), @Defreg(x), and @Defesc(x).
3170         Removed @Deffn(x).
3172         * tmac/an-old.tmac (an-p-footer): If `cR' is set, replace page
3173         number with name of man page.
3175 2001-03-19  Larry Kollar  <kollar@alltel.net>
3177         * doc/groff.texinfo: Complete revision.  Added many @Deffn to gain
3178         consistency.
3180 2001-03-19  Werner LEMBERG  <wl@gnu.org>
3182         * man/groff_font.man: Document `prepro', `postpro', and `print'.
3183         * src/roff/groff/groff.man: Improve documentation of `-l' and `-L'.
3184         * src/devices/grohtml/grohtml.man: Fixing typos.
3186 2001-03-19  Gaius Mulley  <gaius@glam.ac.uk>
3188         * tmac/s.tmac (@IP): Pass `.ip' html tag.
3189         * tmac/groff_mwww.man: Remove .LINE macro
3190         * tmac/www.tmac (LINE): Add `.ti'.
3192         * src/devices/grohtml/post-html.cc (html_printer): New member
3193         `indent'.
3194         (html_printer::emit_raw): Use it.
3195         (html_printer::do_linelength): Ditto.
3196         (html_printer::do_pageoffset): Ditto.
3197         (html_printer::do_indentation): Ditto.
3198         (html_printer::do_tempindent): Ditto.
3199         (html_printer::do_break): Ditto.
3200         (html_printer::begin_page): Ditto.
3201         (html_printer::do_indentedparagraph): New function.
3202         (html_printer::troff_tag): Handle `.ip'.
3203         * src/devices/grohtml/html-text.cc (html_text::issue_table_begin):
3204         Add `<td width=...>' handling.
3205         (html_text::do_table): Add parameter.
3206         (html_text::do_indent): Updated.
3207         * src/devices/groohtml/html-text.h: Updated.
3209 2001-03-16  Gaius Mulley  <gaius@glam.ac.uk>
3211         Introduced simple html tables to implement indentation.
3213         * src/devices/grohtml/html.h (word, word_list): New structures.
3214         (simple_output): Use it.
3215         * src/devices/grohtml/post-html.cc: Add `INDENTATION'.
3216         (html_printer): Improve indentation handling.
3217         (html_printer::emit_raw): Set `in_table' element.  Handle
3218         indentation if set.
3219         (html_printer::write_header): Move conditional downwards.
3220         Don't allow whitespace in tags.
3221         (html_printer::do_linelength): Handle line length and indentation
3222         conditionally.
3223         (html_printer::do_pageoffset): Handle indentation conditionally.
3224         (html_printer::do_indentation): Ditto.
3225         (html_printer::do_tempindent): New function member.
3226         (html_printer::do_fill): Take care of indentation.
3227         (html_printer::do_flush): Finish table.
3228         (html_printer::do_links): Ditto.
3229         (html_printer::do_break): New function for handling `.br' and `.ti'.
3230         (html_printer::troff_tag): Use it.
3231         Handle `.ti'.
3232         (html_printer::flush_globs): Fix.
3233         (html_printer::flush_page): Finish table.
3234         (html_printer::html_printer): Fix error message.  Set up
3235         `linelength'.
3236         (html_printer::add_to_sbuf): Remove special handling of character
3237         code 255.
3238         (to_unicode): Remove `stop()'.
3239         (html_printer::write_title): Cleanup.
3240         (html_printer::begin_page): Use `put_string()'.  Handle indentation.
3241         (html_printer::~html_printer): Flush text and end the line.
3242         Use `put_string()'.
3243         * src/devices/grohtml/html_text.h: Add more *_TAG enum values.
3244         * src/devices/grohtml/html_text.cc (html_text::end_tag): Fix
3245         emission of tags.
3246         (html_text::start_tag): Disable newlines.
3247         (html_text::table_is_void): New function.
3248         (html_text::issue_table_begin): Ditto.
3249         (html_text::issue_table_end): Ditto.
3250         (html_text::push_para): Better table handling.
3251         (html_text::do_indent): New function.
3252         (html_text::do_table): Ditto.
3253         (html_text::done_table): Ditto.
3254         (html_text::do_tt): Handle PRE_TAG.
3255         (html_text::is_in_table): New function.
3256         (html_text::check_emit_text): Handle tables.
3257         (html_text::do_emittext): Use `nl()'.
3258         (html_text::do_para): Handle table.
3259         (html_text::remove_def): New function.
3260         * src/devices/grohtml/output.cc (word, word_list): Implement
3261         methods.
3262         (simple_output::end_line): Flush last word.
3263         (simple_output::simple_comment): Ditto.
3264         (simple_output::begin_comment): Recoded.
3265         (simple_output::end_comment): Ditto.
3266         (simple_output::comment_arg): Removed.
3267         (simple_output::check_newline): Improve test and flush last word.
3268         (simple_output::space_or_newline): Improved.
3269         (simple_output::write_newline): Replaced with...
3270         (simple_output::nl): This.
3271         (simple_output::put_raw_char): Flush last word.
3272         (simple_output::check_space): Removed.
3273         (simple_output::put_translated_string): Ditto.
3274         (simple_output::put_string): Simplified.
3275         (simple_output::put_number): Updated.
3276         (simple_output::put_float): Ditto.
3277         (simple_output::put_symbol): Removed.
3278         (simple_output::enable_newlines): Add `check_newline()'.
3279         (simple_output::flush_last_word): New function.
3281         * src/roff/troff/enc.cc (no_fill): Remove call to add_html_tag().
3282         * src/roff/troff/div.cc (page_offset): Add call to add_html_tag().
3284         * tmac/s.tmac (@PP, @IP): Add html conditional code.
3285         * tmac/an-old.tmac (TP): Ditto.
3287 2001-03-09  Ruslan Ermilov  <ru@freebsd.org>
3289         * mdate.sh: Make it POSIX compliant.
3291 2001-03-09  Werner LEMBERG  <wl@gnu.org>
3293         Added the `return' request to end a macro immediately.  It simply
3294         pops iterators from the input stack until a macro iterator is found.
3296         * src/roff/troff/input.cc (input_iterator::is_macro,
3297         macro_iterator::is_macro): New member.
3298         (input_return_boundary): New class to signal an immediate return
3299         to while_request().
3300         (input_stack::add_return_boundary, input_stack::is_return_boundary):
3301         New functions.
3302         (input_stack::clear): Use it.
3303         (input_stack::pop_macro): New function.
3304         (while_request): Use `is_return_boundary()'.
3305         (return_macro_request): New function.
3306         (init_input_requests): Use it.
3308         * src/roff/troff/TODO: Updated.
3309         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
3311 2001-03-08  Werner LEMBERG  <wl@gnu.org>
3313         * src/roff/troff/input.cc (input_iterator::is_boundary): Minor
3314         cleanup.
3316 2001-03-07  Werner LEMBERG  <wl@gnu.org>
3318         Make `\B' more rigid.
3320         * src/roff/troff/number.cc (parse_expr, parse_term): Add `rigid'
3321         parameter.
3322         (get_number_rigidly): New function.
3323         * src/roff/troff/input.cc (do_expr_test): Use it.
3324         * src/roff/troff/token.h: Updated.
3326         * src/roff/troff/request.h: Fix typo (init_html_request ->
3327         init_markup_request).
3329 2001-03-04  Gaius Mulley  <gaius@glam.ac.uk>
3331         Fixed grohtml handling of any named glyph for glyph indexes < 0x80. 
3332         Cosmetic changes to `.html-begin', `.html-end', `.html-image' which
3333         are now `.begin', `.end', `.image'.
3335         * src/devices/grohtml/post-html.cc: Adding UNICODE_DESC_START.
3336         (html_printer::add_to_sbuf): Changing type of `code' parameter.
3337         Use add_char_to_sbuf().
3338         (to_unicode): New function.
3339         (char_translate_to_html): Changing type of `ch' parameter.
3340         Use `to_unicode()'.
3341         (html_printer::~html_printer): Comment out doctype string.
3342         * src/preproc/html/pre-html.cc (write_end_image): Use `.end'
3343         instead of `.html-end'.
3344         (write_start_image): Use `.begin' and `.image' instead of
3345         `.html-begin' and `.html-image'.
3346         * src/roff/troff/input.cc: Rename `html_level' to `begin_level'.
3347         (html_begin): Renamed to ...
3348         (begin): This.
3349         (html_end): Renamed to ...
3350         (end): This.
3351         (html_image): Renamed to ...
3352         (image): This.
3353         (init_html_requests): Renamed to ...
3354         (init_markup_requests): This.
3355         * tmac/www.tmac: Updated.
3357 2001-02-28  Bram  <bram@avontuur.org>
3359         * src/libs/libgroff/font.cc (font_widths_cache): Fixing syntax of
3360         constructor.
3362 2001-02-26  David Leonard  <david.leonard@csee.uq.edu.au>
3364         * doc/meref.me: Fixing some typos.
3366 2001-02-16  Werner LEMBERG  <wl@gnu.org>
3368         * src/roff/troff/node.cc (space_node::get_hyphenation_type): New
3369         method.  Return `HYPHEN_MIDDLE' if it was `\:'.
3370         * src/roff/troff/node.h: Updated.
3372 2001-02-17  Ruslan Ermilov  <ru@FreeBSD.org>
3374         * tmac/groff_tmac.man: Fix typo.
3376 2001-02-16  Werner LEMBERG  <wl@gnu.org>
3378         Fixing a bug which prevented proper end-of-sentence recognition
3379         between an `unformatted' box and the following text.  As a
3380         consequence, vertical line distances are no longer preserved in
3381         boxes after a call to `.unformat' -- because boxes aren't
3382         line-oriented (contrary to diversions), this doesn't make sense
3383         anyway.
3385         * src/roff/troff/node.cc (*node::set_unformat_flag): Add return
3386         value.
3387         (vertical_size_node::set_unformat_flag): New method.
3388         * src/roff/troff/node.hh: Updated.
3389         * src/roff/troff/input.cc (word_space_node::reread,
3390         hmotion_node::reread): Reset `unformat' flag after usage.
3391         (unformat_macro): Append only if `set_unformat_flag()' returns
3392         non-zero.
3393         * src/roff/troff/troff.man: Updated.
3395 2001-02-15  Werner LEMBERG  <wl@gnu.org>
3397         * src/roff/troff/troff.man, NEWS, man/groff.man: Improved
3398         documentation of `asciify' and `unformat' requests.
3400 2001-02-13  Werner LEMBERG  <wl@gnu.org>
3402         Redesigned the `unformat' request.  It is no longer connected with
3403         `asciify' but rather uses new `reread()' methods if the `unformat'
3404         flag is set.  Additionally, the handling of space characters after
3405         unformatting has been fixed so that they retain their width.
3407         * src/roff/troff/node.h (width_list): New structure to store
3408         original widths of spaces.
3409         (node): Added `unformat' member.
3410         Replaced `num_spaces' variable with `orig_width' list.
3411         * src/roff/troff/node.cc (*node::asciify,
3412         asciify_reverse_node_list): Removed `unformat_only' flag and related
3413         code.
3414         (word_space_node::asciify, word_space_node::word_space_node): Use
3415         `orig_width'.
3416         (word_space_node::~word_space_node): New destructor.
3417         (word_space_node::copy): Updated to handle `orig_width'.
3418         (hmotion_node::copy, unbreakable_space_node::copy): Updated.
3419         (*node::merge_space): Update `orig_width' list if necessary.
3420         (*node::set_unformat_flag): New methods to set the `unformat' flag.
3421         * src/roff/troff/enc.cc (environment::space_newline): Use
3422         `width_list'.
3423         (environment::space): Added method to handle space width and
3424         sentence space width as parameters.  Use `width_list'.
3425         (environment::make_tab_node): Updated.
3426         * src/roff/troff/env.h: Updated.
3427         * src/roff/troff/input.cc (word_space_node::reread,
3428         unbreakable_space_node::reread, hmotion_node::reread): New methods
3429         to handle nodes specially if `unformat' flag is set.
3430         (do_asciify_macro): Renamed back to ...
3431         (asciify_macro): This.
3432         (unformat_macro): New implementation to simply set the `unformat'
3433         flag.
3435         * MORE.STUFF: Added more info about deroff.
3437 2001-02-08  Werner LEMBERG  <wl@gnu.org>
3439         * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
3440         space_char_hmotion_node, overstrike_node): Add `get_hyphen_list()'
3441         and `add_self()' methods to avoid hyphenation.  For example, the
3442         hyphen list for `foo\0\0bar' was `foobar', causing insertion of a
3443         soft hyphen after `foo'.  Now the hyphen list is correctly
3444         `foo<ignore><ignore>bar'.
3446 2001-02-05  Yoshiteru Kageyama  <yt-kage@cb3.so-net.ne.jp>
3448         * tmac/groff_tmac.man: Fix `BIR' macro.
3450 2001-02-04  Werner LEMBERG  <wl@gnu.org>
3452         A new escape sequence `\:', inserting a zero-width break point.
3454         * src/roff/troff/input.h: Adding `ESCAPE_COLON'.
3455         * src/roff/troff/input.cc (get_copy, token::next, asciify):
3456         Implement it.
3457         * src/roff/troff/node.h (node): Add `is_escape_colon()' virtual
3458         method.
3459         (space_node): Add `was_escape_colon' member.  Add `is_escape_colon()'
3460         and `asciify()' methods.
3461         * src/roff/troff/node.cc (space_node::space_node): Updated.
3462         (space_node::asciify): Handle `was_escape_colon'.
3463         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
3465         Handle `\~' similar to other comparable requests.
3467         * src/roff/troff/input.cc (process_input_stack): Remove now obsolete
3468         label.
3469         (token::next): Move creation of an unbreakable_space_node to...
3470         (token::add_to_node_list): Here.
3472         Fix a bug which sometimes prevented hyphenation of words connected
3473         with `\~' or `\ ' (and other escape sequences handled as
3474         TOKEN_NODE).  This also fixes a hyphenation problem with boxes
3475         (after a call to the `unformat' request).
3477         * src/roff/troff/env.h (environment::possibly_break_line,
3478         environment::hyphenate_line): Introducing `start_here' parameter.
3479         * src/roff/troff/env.cc (environment::space_newline,
3480         environment::space): Use it.
3481         (environment::possibly_break_line, environment::hyphenate_line):
3482         Implement it.
3483         * src/roff/troff/input.cc (process_input_stack): Use it.
3484         * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
3485         space_char_hmotion_node, overstrike_node): Add
3486         `get_hyphenation_type()' method.
3487         * src/roff/troff/node.cc (break_char_node::asciify): Don't asciify
3488         if `unformat_only' is active.
3490 2001-01-30  Werner LEMBERG  <wl@gnu.org>
3492         Implemented new read-only number register `.linetabs' which
3493         returns 1 if in line-tabs mode, 0 otherwise.
3495         * src/roff/troff/env.h (environment): Add get_line_tabs() member.
3496         * src/roff/troff/env.cc (get_line_tabs): New function.
3497         (init_env_requests): Use it.
3498         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
3500         * VERSION, REVISION: Changing to 1.17.0.
3502 2001-01-28  Werner LEMBERG  <wl@gnu.org>
3504         Fixed a bug which prevented hyphenation of words which are finished
3505         with `\)'.
3507         * src/roff/troff/token.h (token): Add enum type
3508         `TOKEN_TRANSPARENT_DUMMY' and method `transparent_dummy()'.
3509         * src/roff/troff/input.cc (token::next, token::description,
3510         get_line_arg, token::add_to_node_list, token::process): Use it.
3512 2001-01-27  Werner LEMBERG  <wl@gnu.org>
3514         * src/roff/troff/div.h (diversion): Add `saved_prev_line_interrupted'.
3515         * src/roff/troff/div.cc (do_divert): Use it.
3517         * src/roff/troff/input.cc (asciify): Add ESCAPE_RIGHT_PARENTHESIS.
3519 2001-01-25  Werner LEMBERG  <wl@gnu.org>
3521         Adding the `linetabs' request.  If set, tab distances are not
3522         computed relative to the input line but relative to the output line.
3524         * src/roff/troff/env.h (environment): New member `line_tabs'.
3525         * src/roff/troff/env.cc (line_tabs_request): Implement request.
3526         (environment::environment, environment::copy): Updated.
3527         (environment::distance_to_next_tab): Use `line_tabs'.
3528         (init_env_requests): Register request.
3529         * src/roff/troff/troff.man, man/groff.man, NEWS: Document it.  Other
3530         fixes.
3532 2001-01-24  Werner LEMBERG  <wl@gnu.org>
3534         Introducing a new read-only register `.int' which is set to a
3535         positive value if the last output line is interrupted (i.e., if it
3536         contains `\c').
3538         * src/roff/troff/env.cc (init_env_requests): Add it.
3539         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
3541 2001-01-23  Gaius Mulley  <gaius@glam.ac.uk>
3543         * tmac/mwww.tmac: Call `www.tmac', not `arkup.tmac'.
3544         * src/preproc/html/pre-html.cc (findPrefix): New function which
3545         generates the troff executable name via the system prefix.
3546         * src/preproc/eqn/main.cc: Modified warning message.
3548 2001-01-23  Werner LEMBERG  <wl@gnu.org>
3550         troff's `box' and `boxa' requests didn't preserve temporary
3551         indentation.
3553         * src/roff/troff/div.h (diversion): Add `saved_saved_indent' and
3554         `saved_target_text_length' members.
3555         * src/roff/troff/div.cc (do_divert): Use them.
3557         Tabs (but not yet leaders and fields) are now handled correctly by
3558         `asciify' request.
3560         * node.h (hmotion_node): Add field `was_tab'.
3561         * env.cc (environment::make_tab_node): Set it.
3562         * node.cc (hmotion_node::copy, hmotion_node::asciify): Use it.
3564         Added new request `unformat' which will, contrary to `asciify',
3565         preserve font information after unformatting (i.e., only nodes
3566         dealing with horizontal space are converted back to input
3567         characters).
3569         * input.cc (asciify_macro): Renamed to ...
3570         (do_asciify_macro): this, having a new parameter `unformat_only'.
3571         (asciify_macro, unformat_macro): New; using do_asciify_macro.
3572         (init_input_requests): Added `unformat'.
3573         * node.cc (*_node::asciify), asciify_reverse_node_list: Added
3574         parameter to control asciification process.
3575         * node.h (*_node::asciify): Ditto.
3576         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
3578 2001-01-20  Werner LEMBERG  <wl@gnu.org>
3580         * doc/groff.texinfo: Minor improvement of `.in' documentation.
3582 2001-01-18  Werner LEMBERG  <wl@gnu.org>
3584         * tmac/ps.tmac: Remove call of psold.tmac.
3585         * tmac/psold.tmac: Comment updated.
3586         * tmac/psnew.tmac: Removed since no longer needed.
3587         * tmac/Makefile.sub, NEWS, src/devices/grops/grops.man: Updated.
3589         * font/devutf8/R.proto: Adding `shc' glyph.
3590         * font/devutf8/NOTES: Updated.
3592         * test-groff: Updated.
3594 2001-01-15  Gaius Mulley  <gaius@glam.ac.uk>
3596         First cut of the new html device driver.  Changes to pre-html and
3597         the new grohtml are too numerous to be documented here.
3599         Stuff related to `html' has been renamed to `html-old' and `html2'
3600         stuff has been renamed to `html' (including directories).  The new
3601         html device driver is therefore invoked as `-Thtml'.
3603         Added new `\O' escape to suppress output (needed by html driver).
3605         Added functions and code to pass info about input-level commands
3606         (`.in', `.fl', etc.) to html driver.
3608         Three new functions (.html-begin, .html-end, and .html-image) for
3609         better html handling: `html-begin' will execute the remaining line
3610         if at the outermost nesting level, increasing an internal counter.
3611         `html-end' does the same but decreases the internal counter.
3612         `html_image' puts its arguments into a special node (suppress_node)
3613         to define an image region.
3615         The `output' request has been removed.
3617         * tmac/html-tags.tmac: Removed.
3618         * tmac/arkup.tmac: Updated and renamed to ...
3619         * tmac/www.tmac: New file.
3620         * tmac/markup.tmac Updated and renamed to ...
3621         * tmac/mwww.tmac: New file.
3622         * tmac/Makefile.sub: Updated.
3623         * tmac/an-old.tmac: Updated.
3624         * tmac/eqnrc: Updated.
3625         * tmac/groff_man.man
3626         * tmac/groff_markup.man: Updated and renamed to ...
3627         * tmac/groff_mwww.man: New file.
3628         * tmac/groff_tmac.man: Updated.
3629         * tmac/html-old.tmac: Updated and Renamed from html.tmac.
3630         * tmac/html.tmac: Updated and renamed from html2.tmac.
3631         * tmac/pspic.tmac: Updated html support.
3632         * tmac/s.tmac: Added html output support.
3633         * tmac/troffrc, tmac/troffrc-end: Updated.
3635         * Makefile.in, doc/Makefile: Updated.
3636         * doc/groff.texinfo: Added info about new `\O' escape.
3637         * doc/homepage.ms: Use `MAILTO' macro.
3639         * font/devhtml/DESC.proto: Add `C' font.
3640         * font/devhtml/Makefile.sub: Updated.
3641         * font/devhtml/R.proto: Minor fixes.
3642         * font/devhtml-old/Makefile.sub: Updated.
3644         * src/devices/grohtml-old/Makefile.sub: Updated.
3646         * src/libs/libdriver/printer.cc (printer::get_font_from_index): New
3647         method.
3648         * src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
3649         graphic_start): Add `inline' parameter.  Update.
3650         (html_end_suppress, graphic_end): Update.
3652         * src/include/html-strings.h: New file.
3653         * src/include/htmlindicate.h: Comments updated.
3654         * src/include/printer.h: Updated.
3656         * src/preproc/eqn/main.cc (do_file, main): Updated.
3657         * src/preproc/pic/troff.cc (troff_output::start_picture,
3658         troff_output::finish_picture): Updated.
3659         * src/preproc/tbl/main.cc (process_input_file): Updated.
3661         * src/roff/groff/groff.cc (main): Updated.
3662         Pass device arguments to predrivers also.
3663         Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
3664         * src/roff/troff/env.h (environment): Updated.
3665         New elements `need_eol' and `ignore_next_eol' (for html output).
3666         * src/roff/troff/env.cc (environment::environment): Add initializers
3667         for `need_eol' and `ignore_next_eol'.
3668         (environment::add_html_tag_eol, environment::add_html_tag_tabs): New
3669         functions.
3670         (point_size, fill, no_fill, center, right_justify, line_length,
3671         indent, temporary_indent, break_request, handle_tab): Use
3672         `add_html_tag()'.
3673         (set_tabs): Use `add_html_tag_tabs()'.
3674         (environment::add_html_tag): Updated.
3675         (environment::do_break): Updated.
3676         * src/roff/troff/div.cc (space_request, flush_output): Use
3677         `environment::add_html_tag()'.
3678         * src/roff/troff/input.cc: Updated.
3679         New variable `html_level' to indicate nested `html-begin' requests.
3680         (file_iterator::fill): Use `environment::add_html_tag_eol()'.
3681         (non_interpreted_char_node, token_node, non_interpreted_node): Add
3682         `force_tprint()' method.
3683         (token::next): Handle `\O'.
3684         (do_suppress): Implement it.
3685         (html_begin, html_end, html_image): New functions.
3686         (init_output_requests): Renamed to ...
3687         (init_html_requests): this.
3688         (main): Use it.
3689         (macro::append_str, macro::append_unsigned, macro::append_int): New
3690         methods.
3691         New variable `output_low_mark_miny' to limit minimal value of y.
3692         (reset_output_registers): Use it.
3693         (output_request): Removed.
3694         (get_output_registers): New function.
3695         * src/roff/troff/node.h (node): Make `force_tprint()' virtual.
3696         (*_node): Added `force_tprint()' if necessary.
3697         (special_node): New elements `tf' and `get_tfont()'.
3698         (suppress_node): New class.
3699         * src/roff/troff/node.cc:
3700         New global variables `image_no' and `suppress_start_page'.
3701         (real_output_file): New method `is_on()'.
3702         (troff_output_file): New method `start_special(tfont)'.
3703         (troff_output_file::really_print_line): Use `tprint' conditionally.
3704         (real_output_file::print_line): Updated.
3705         (real_output_file::on): Updated.
3706         (*_node): Added `force_tprint()'.
3707         (special_node::special_node): Initializer updated.
3708         (special_node::same, special_node::copy, special_node::tprint_start):
3709         Updated.
3710         (get_reg_int, get_reg_str): New functions.
3711         (suppress_node::*): New methods.
3712         New global variables last_position, last_image_filename;
3713         (min): New inline function.
3714         * src/roff/troff/reg.h, src/roff/troff/request.h,
3715         src/roff/troff/troff.h: Updated.
3717 2001-01-13  Werner LEMBERG  <wl@gnu.org>
3719         * NEWS, src/roff/troff/troff.man, doc/groff.texinfo: Fix
3720         documentation of `asciify' request.
3722 2001-01-12  Werner LEMBERG  <wl@gnu.org>
3724         * src/roff/troff/input.cc: Move definition of special characters
3725         like `ESCAPE_TILDE' to ...
3726         * src/roff/troff/input.h: New file.
3727         * src/roff/troff/Makefile.sub (HDRS): Add it.
3729         Extending the .asciify request to `unformat' space characters also.
3731         * src/roff/troff/node.h (word_space_node): Add `num_spaces' element
3732         to count input space characters.
3733         Update constructors to take care of it.
3734         * src/roff/troff/node.cc (space_char_hmotion_node::asciify): Use
3735         `ESCAPE_SPACE' instead of normal space.
3736         (word_space_node::asciify): New method.
3737         (unbreakable_space_node::asciify): New method.
3738         (word_space_node::merge_space): New method.
3739         * src/roff/troff/env.cc (environment::space_newline,
3740         environment::space): Add code to initialize `num_spaces' (using the
3741         constructor of `word_space_node').
3742         * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
3743         Document it.
3745 2001-01-09  Werner LEMBERG  <wl@gnu.org>
3747         * man/groff_char.man: Use table header traps only conditionally.
3749 2001-01-09  Bjarni Ingi Gíslason  <bjarniig@hi.is>
3751         * man/groff_char.man: Add `ý' and `Ý' to the `acute' group.
3753 2001-01-08  Werner LEMBERG  <wl@gnu.org>
3755         Introducing the `box' and `boxa' requests which are similar to
3756         `di' resp. `da' but omitting a partially filled line (which is
3757         restored after ending the diversion).
3759         * src/roff/troff/div.h (diversion): Add elements to save partially
3760         filled line.
3761         * src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save
3762         partially filled line.
3763         (divert, divert_append): Updated.
3764         (box, box_append): New functions.
3765         (init_div_requests): Use them.
3766         * src/roff/troff/env.h (environment): do_divert() is now a friend.
3767         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
3769         * doc/groff.texinfo: Fix documentation of `lf' request.
3771 2000-12-25  Werner LEMBERG  <wl@gnu.org>
3773         * src/roff/troff/troff.man, NEWS: Document `writem' request.
3775 2000-12-21  Werner LEMBERG  <wl@gnu.org>
3777         Ignore `ss' request if in compatibility mode.
3779         * src/roff/troff/input.cc: Make `compatible_flag' non-static.
3780         * src/roff/troff/env.h: Added extern `compatible_flag' declaration.
3781         * src/roff/troff/env.cc (space_size): Use it.
3783         * doc/groff.texinfo, src/roff/troff/troff.man: Fix documentation of
3784         `ss' request in nroff mode.
3786         * tmac/an-old.tmac: Fixed some serious bugs introduced with latest
3787         changes.
3789 2000-12-15  Ruslan Ermilov  <ru@FreeBSD.org>
3791         * tmac/troffrc, tmac/troffrc-end: Convert tmac.* to *.tmac.
3793 2000-12-13  Werner LEMBERG  <wl@gnu.org>
3795         * src/preproc/eqn/Makefile.sub (MAN1): Added neqn.man.
3796         * src/preproc/eqn/neqn.man: Small fixes and additions.
3798 2000-12-13  Ruslan Ermilov  <ru@FreeBSD.org>
3800         * src/utils/addftinfo/addftinfo.man, src/devices/grops/grops.man:
3801         Fixing typo.
3803         * src/preproc/eqn/neqn.man: New file.
3805         * src/preproc/tbl/table.cc (table::print): Fix `indent cannot be
3806         negative' warning.
3808         * tmac/e.tmac: Add `T&' macro.
3809         Fix `indent cannot be negative' warning.
3810         * tmac/s.tmac: Fix `indent cannot be negative' warning.
3812 2000-12-07  Werner LEMBERG  <wl@gnu.org>
3814         * src/include/lib.h: Replaced __ALPHA with __alpha symbol.
3816 2000-12-06  Werner LEMBERG  <wl@gnu.org>
3818         * PROBLEMS: Added info about adding -lPW on HP-UX to satisfy the
3819         `alloca' symbol .
3821         * MORE.STUFF: Added info about deroff for djgpp.
3823         * tmac/an-old.tmac, tmac/groff_man.man, doc/groff.texinfo, NEWS: Fix
3824         documentation of -rcR switch.
3826 2000-12-03  Werner LEMBERG  <wl@gnu.org>
3828         * tmac/an-old.tmac: Implementing the -rcR switch (similar to mdoc);
3829         if -rcR=1 (which is now the default in nroff mode), a single, very
3830         long page is created instead of multiple pages: All `ne' and `wh'
3831         requests are put into conditionals; a new macro `an-end' is added to
3832         be called with `em'.
3834         Some other minor cleanups.
3836         * NEWS, tmac/groff_man.man, doc/groff.texinfo: Updated.
3838 2000-12-02  Werner LEMBERG  <wl@gnu.org>
3840         Fixing a bug which prevented hyphenation in words followed
3841         immediately by a TOKEN_NODE (e.g. `\ ', `\~', etc.).
3843         * src/roff/troff/input.cc (process_input_stack <token::TOKEN_NODE>):
3844         Adding possibly_break_line().
3845         * src/roff/troff/env.h (environment): Make possibly_break_line()
3846         public.
3848         Make `\~' usable in .tr request.
3850         * src/roff/troff/token.h (token_type): Add TOKEN_STRETCHABLE_SPACE.
3851         (token): Add stretchable_space().
3852         * src/roff/troff/input.cc (token::next, token::delimiter,
3853         token::description, process_input_stack, do_translate,
3854         add_to_node_list, token::process): Use it.
3855         * src/roff/troff/node.h (node): Add fourth parameter to add_char()
3856         for adjusting the space.
3857         * src/roff/troff/node.cc (node::add_char): Implement it.  Add code
3858         for stretchable space.
3859         * src/roff/troff/input.cc (token::add_to_node_list): Use it.
3860         (make_node): Add code for stretchable space.
3861         * src/roff/troff/env.cc (environment::add_char): Use it.
3862         * src/roff/troff/input.cc: Add ESCAPE_TILDE special character.
3863         (get_copy, token::next, transparent_translate, asciify): Use it.
3865         * NEWS, src/roff/troff/troff.man, src/roff/troff/TODO,
3866         doc/groff.texinfo: Updated.
3867         * man/groff.man: Small reorderings.
3869 2000-11-23  Werner LEMBERG  <wl@gnu.org>
3871         * NEWS: Fixes.
3872         * src/preproc/eqn/main.cc (main): Use `config_macro_path' for -M
3873         option.
3874         * src/roff/troff/input.cc (main): Add `config_macro_path' and
3875         `safer_macro_path' to -M option.
3876         * src/roff/troff/troff.man: Fixes.
3878 2000-11-22  Werner LEMBERG  <wl@gnu.org>
3880         Use safer path (except for config files) if -U isn't specified.  Add
3881         a special macro path (without home and current directory) for config
3882         files.  Add home directory to unsafe path for consistency.  Don't
3883         include the home directory in the font path.
3885         * src/libs/libgroff/macropath.cc: Add `config_macro_path', change
3886         `macro_path'.
3887         * src/include/macropath.h: Add `config_macrp_path'.
3888         * src/libs/libgroff/fontfile.cc: Fix font path.
3889         * src/roff/troff/input.cc (process_startup_file): Use
3890         `config_macro_path'.
3891         (main): Select unsafe path if -U is given.
3893         * src/preproc/eqn/main.cc (main): Fixing search path for
3894         configuration file.
3895         * src/preproc/eqn/eqn.man: Updated.
3897         * src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
3898         Updated.
3900         * src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
3901         src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
3902         src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
3903         src/devices/grotty/grotty.man: Updated.
3905         * Makefile.in: Fix comments.
3907 2000-11-17  Werner LEMBERG  <wl@gnu.org>
3909         * tmac/safer.tmac: Empty file added (again) for compatibility
3910         reasons.
3911         * tmac/Makefile.sub: Updated.
3913 2000-11-16  Werner LEMBERG  <wl@gnu.org>
3915         * src/devices/grodvi/dvi.cc (main),
3916         src/devices/grohtml2/post-html.cc (main),
3917         src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
3918         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
3919         (main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
3920         (main), src/preproc/html2/pre-html.cc (main),
3921         src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
3922         src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
3923         (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
3924         (main), src/utils/hpftodit/hpftodit.cc (main),
3925         src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc
3926         (main), src/utils/lookbib/lookbib.cc (main),
3927         src/utils/pfbtops/pfbtops.c (main), src/utils/tfmtodit/tfmtodit.cc
3928         (main): Use stdout for -v.
3929         * src/roff/groff/groff.cc (run_commands),
3930         src/roff/groff/pipeline.c (run_pipeline): New parameter `no_pipe'
3931         to make direct printing to stdout possible.
3932         * src/roff/groff/pipeline.h: Updated.
3934         * src/utils/afmtodit/afmtodit.pl: Add -v switch.
3935         * src/utils/afmtodit/Makefile.sub (afmtodit): Use @VERSION@.
3936         * src/utils/afmtodit/afmtodit.man: Updated.
3938         * src/utils/addftinfo/addftinfo.cc (main): Add -v switch.
3939         (version): New function.
3940         (usage): Updated.
3941         * src/utils/addftinfo/addftinfo.man: Updated.
3943         * src/devices/*/*, src/preproc/*/*, src/roff/*/*, src/utils/*/*:
3944         Fixing copyright dates.
3946         * src/preproc/eqn/neqn.sh: Adding GROFF_BIN_PATH to path instead of
3947         replacing it.
3949         * src/devices/grolbp/lbp.cc (main): Use Version_string instead of
3950         version_string.
3952         * src/roff/nroff/Makefile.sub (nroff): Fix use of @VERSION@.
3954 2000-11-15  Werner LEMBERG  <wl@gnu.org>
3956         In all programs, make -v return immediately with exit status 0 to
3957         be compliant with the GNU standard.
3959         * src/devices/grodvi/dvi.cc (main),
3960         src/devices/grohtml2/post-html.cc (main),
3961         src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
3962         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
3963         (main) src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
3964         (main), src/preproc/html2/pre-html.cc (main),
3965         src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
3966         src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
3967         (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
3968         (main): Implement it.
3969         * NEWS: Updated.
3971         * src/roff/groff/groff.cc (main): Add copyright notice.  Add refer
3972         and postprocessors to the -v option.
3974         * src/roff/grog/grog.pl: Implement -v.
3975         * src/roff/grog/Makefile.sub (grog): Use @VERSION@.
3976         * src/roff/grog/grog.man, doc/groff.texinfo: Updated.
3978         * src/roff/nroff/nroff.sh: Implement -v.
3979         * src/roff/nroff/Makefile.sub (nroff): Use @VERSION@.
3980         * src/roff/nroff/nroff.man: Updated.
3981         
3982         * src/preproc/eqn/main.cc (main): Fix comment typo.
3984         * MORE.STUFF: Added info about djgpp port of grap.
3986 2000-11-14  Werner LEMBERG  <wl@gnu.org>
3988         * src/roff/grog/grog.{pl,sh}: Implemented -C switch for compatibility
3989         mode (or rather, implemented non-compatibility mode).
3990         * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
3992         * src/roff/groff/groff.cc (main): Add BIN_PATH to PATH instead of
3993         replacing it -- we don't find gxditview otherwise.
3994         * NEWS, src/roff/groff/groff.man, doc/groff.texinfo: Updated.
3996         * src/preproc/pic/depend: Removed.  Unnecessary.
3998         Implemented dummy keyword `solid' in pic for compatibility with
3999         AT&T pic.
4001         * lex.cc (lookup_keyword): Added `solid'.
4002         * pic.y: Added SOLID with dummy rule.
4003         * pic.cc, pic_tab.h: Regenerated.
4004         * doc/pic.ms: Updated.
4006 2000-11-13  Werner LEMBERG  <wl@gnu.org>
4008         For security reasons, don't use the current directory but the home
4009         directory while searching and scanning troffrc and troffrc-end.
4010         Similarly, replace the current directory with the home directory
4011         in the font path.
4013         * Makefile.in (fontpath, tmacpath): Remove current directory.
4015         * src/libs/libgroff/searchpath.cc (search_path::search_path): Add
4016         two parameters `add_home' and `add_current'.
4017         (search_path::~search_path, search_path::command_line_dir,
4018         search_path::open_file): Remove tests for `dirs' being zero.
4019         * src/include/searchpath.h: Adjust.
4020         * src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
4021         `safer_macro_path'.
4022         * src/libs/libgroff/fontfile.cc: Adjust `font_path'.
4024         * src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
4025         * src/roff/troff/input.cc: Use `mac_path', initialized with
4026         `macro_path'.
4027         (process_startup_file): Set `mac_path' to `safer_macro_path'.
4028         * src/roff/troff/env.cc: Use `mac_path'.
4030         * src/preproc/eqn/main.cc (main): Use `safer_macro_path'.
4032         * NEWS, man/roff.man, src/roff/troff/troff.man,
4033         src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
4034         Updated.
4036 2000-11-12  Werner LEMBERG  <wl@gnu.org>
4038         * src/include/lib.h: Don't include groff-getopt.h for OSF/1.
4040         * aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
4041         * configure.in: Fix typo in comment.
4042         * configure: Regenerated.
4044         * src/libs/libgroff/*, src/include/*, src/roff/troff/*: Fixing
4045         copyright dates.
4047 2000-11-08  Werner LEMBERG  <wl@gnu.org>
4049         Add system tmac directory (/usr/local/lib/groff/site-tmac).
4051         * Makefile.in: Add $(libdir), $(libprogramdir), and $(systemtmacdir).
4052         (uninstall_dirs): Add $(libdir), $(libprogramdir), and
4053         $(systemtmacdir).
4054         Use @libdir@.
4055         * Makefile.comm (.man.n): Add @SYSTEMMACRODIR@.
4056         * tmac/Makefile.sub (install_data): Create
4057         $(systemtmacdir) and $(localtmacdir).
4058         (uninstall_sub): Use $(systemtmacdir) for wrapper macros.
4059         * man/roff.man, src/roff/troff/troff.man, src/roff/groff/groff.man,
4060         NEWS, doc/groff.texinfo: Updated and minor fixes.
4062         * Makefile.comm, Makefile.in: Added tmac_{s,an}_prefix stuff again.
4063         * tmac/Makefile.sub: Added `wrap' stuff again, but installing into
4064         $(systemtmacdir) since the wrapper files are platform-dependent.
4066 2000-11-01  Werner LEMBERG  <wl@gnu.org>
4068         * doc/groff.texinfo: Fix typo.
4070 2000-10-26  Werner LEMBERG  <wl@gnu.org>
4072         Convert macros `tmac.XXX' to `XXX.tmac'.  Special cases:
4073           tmac.doc.old -> doc-old.tmac
4074           tmac.an.old  -> an-old.tmac
4076         * tmac/tmac.*: Moved to ...
4077         * tmac/*.tmac: this.
4078         * tmac/man.local: Fix comment.
4079         * tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man,
4080         tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated. 
4081         Added some `FILES' sections.  More use of @...@ directives.  Other
4082         minor updates.
4083         * arch/djgpp/README, font/devutf8/NOTES: Updated.
4084         * doc/homepage.ms, doc/groff.texinfo: Updated.
4085         * man/groff.man, man/roff.man: Updated.
4086         * src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man,
4087         src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
4088         src/devices/grotty/grotty.man: Updated.
4089         * src/preproc/pic/pic.man: Updated.
4090         * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old
4091         instead of -mdoc.old.
4092         * src/roff/grog/grog.man: Document -mdoc and -mdoc-old.
4093         * src/roff/nroff/nroff.man: Updated.
4094         * NEWS: Updated.
4096         * tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment.
4098         * tmac/mm.diff: Removed -- it has no use now since the mm package
4099         is part of groff.
4101         * tmac/*: Removed trailing spaces.
4103         * arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in
4104         the tmac subdirectory also).
4106         * Makefile.comm, Makefile.in: Remove tmac_{s,an}_prefix stuff.
4107         * tmac/Makefile.sub: Adapted to new macro names; removed `wrap'
4108         stuff since it is no longer needed.
4110         * README, PROBLEMS: Updated.
4112 2000-10-25  Werner LEMBERG  <wl@gnu.org>
4114         Invert current behaviour: Search first FOOBAR.tmac, then
4115         tmac.FOOBAR.
4117         * src/roff/troff/input.cc: Introduce MACRO_POSTFIX.
4118         (open_mac_file, macro_source): Implement it.
4119         * src/roff/troff/troff.man, tmac/groff_tmac.man, man/roff.man,
4120         doc/groff.texinfo, NEWS: Document it.
4122         * src/roff/nroff/nroff.man, src/roff/groff/groff.man, man/groff.man:
4123         Small documentation improvements.
4125         * test-groff: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac
4126         subdirectory also).
4128         * font/devps/Makefile.sub: Fix rules for dingbats.*map.
4130 2000-10-24  Werner LEMBERG  <wl@gnu.org>
4132         Add local tmac directory (groff/site-tmac).
4134         * Makefile.in: Add $(localtmacdir).
4135         (uninstall_dirs): Add $(localtmacdir).
4136         * Makefile.comm (.man.n): Add @LOCALMACRODIR@.
4137         * tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local
4138         in $(localtmacdir).  Create $(localtmacdir).
4139         * man/roff.man, src/roff/troff/troff.man, NEWS, doc/groff.texinfo:
4140         Updated and minor fixes.
4142         Rename font/devps/generate/dingbats[r]map to dingbats.[r]map.
4144         * font/devps/generate/Makefile.sub, arch/djgpp/README: Adjust.
4146 2000-10-23  Werner LEMBERG  <wl@gnu.org>
4148         Move hyphen.us to tmac directory.
4150         * src/roff/troff/hyphen.us: Removed.
4151         * src/tmac/hyphen.us: Added.
4152         * src/roff/troff/Makefile.sub, tmac/Makefile.sub: Updated.
4154         Change installation structure for data files from .../groff/... to
4155         .../groff/<version><revision>/... to be conform with other GNU
4156         programs.
4158         * Makefile.in, Makefile.comm, src/utils/indxbib/Makefile.sub,
4159         doc/Makefile: Implement it.
4160         * aclocal.m4 (GROFF_PAGE): Add test for new directory structure.
4161         * configure: Updated.
4162         * arch/djgpp/README, font/devutf8/NOTES: Use it.
4163         * NEWS: Document it.
4164         * man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and
4165         @MACRODIR@ instead of hard-coded directories.
4167 2000-10-22  Werner LEMBERG  <wl@gnu.org>
4169         Implement $GROFF_BIN_PATH environment variable (which defaults to
4170         $bindir) used for child programs of groff and similar wrappers.
4172         * gendefs.sh: Improve documentation.
4173         * Makefile.comm (,man.n), src/include/Makefile.sub (defs.h),
4174         src/preproc/eqn/Makefile.sub (neqn),
4175         src/roff/nroff/Makefile.sub (nroff): Add $(bindir).
4176         * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Implement
4177         $GROFF_BIN_PATH.
4178         * src/roff/groff/groff.cc (main): Implement $GROFF_BIN_PATH and
4179         $GROFF_PATH__ (the latter for communication with troff).
4180         * src/roff/troff/input.cc (main): Use $GROFF_PATH__ for $PATH if
4181         set.
4182         * NEWS, src/roff/nroff/nroff.man, src/roff/groff/groff.man,
4183         doc/groff.texinfo: Document it.
4185         * doc/groff.texinfo: Improve documentation of troff's -a option.
4187 2000-10-17  Gaius Mulley  <gaius@glam.ac.uk>
4189         * src/roff/troff/node.cc: Fixed calculation of opminx and fixed
4190         non-intrusive eol marker.
4191         (troff_output_file::determine_line_limits): New function.
4192         (troff_output_file::draw): Use it.
4193         * src/roff/troff/env.cc (environment::add_html_tag): Use output() +
4194         output_pending_lines() instead of output_line().
4195         * src/preproc/eqn/main.cc (do_file): Fix graphic_end().
4196         * src/preproc/html2/pre-html.cc (char_buffer::write_file_troff,
4197         createImage): Small fixes.
4198         
4199 2000-10-14  Werner LEMBERG  <wl@gnu.org>
4201         Replace tmac.safer with a real secure solution.
4203         * src/roff/troff/input.cc (open_request, opena_request, pipe_source,
4204         system_request, pipe_output): Disable requests if in safer mode.
4205         * src/roff/groff/groff.cc (main): Remove reference to tmac.safer.
4206         * tmac/tmac.safer, tmac/groff_msafer.man: Removed.
4207         * tmac/Makefile.sub, NEWS, man/roff.man, tmac/groff_tmac.man,
4208         doc/groff.texinfo, src/roff/groff/groff.man,
4209         src/roff/troff/troff.man, arch/djgpp/README: Updated.
4211         * src/devices/grops/ps.cc (main), src/devices/grops/psrm.cc
4212         (resource_manager::output_prolog): Replace setenv() with putenv().
4214 2000-10-09  Werner LEMBERG  <wl@gnu.org>
4216         * src/libs/libbib/map.c, src/libs/libgroff/getcwd.c,
4217         src/libs/libgroff/strtol.c, src/preproc/html2/image.cc,
4218         src/preproc/html2/pre-html.cc, src/preproc/html2/pushbackbuffer.cc,
4219         src/roff/groff/pipeline.c: Removing `#ifndef errno' to avoid
4220         compilation errors with some compilers.  It seems that this code
4221         is no longer necessary -- if yes, it is easy to add some #ifdef's
4222         for that particular old-fashioned compiler.
4224         * MORE.STUFF: Added info about Meta-tbl.
4226         * doc/groff.texinfo: Added more info about `.if "..."..."'.
4228 2000-10-07  Werner LEMBERG  <wl@gnu.org>
4230         Adding a new escape sequence \B'...': If the string between
4231         the delimiters is a valid numeric expression, return the character
4232         `1', and `0' otherwise.  This is an analogon to \A.
4234         * src/roff/troff/input.cc (do_expr_test): Implement it.
4235         (token::next): Use it.
4236         * src/roff/troff/troff.man, NEWS, man/groff.man: Document it.
4238         * tmac/tmac.trace: Made independent from escape character.
4240 2000-10-06  Werner LEMBERG  <wl@gnu.org>
4242         Adding a new request .dei: define indirect.  The first and second
4243         parameter of .dei are taken from string registers instead directly;
4244         this very special request is needed to make tmac.trace independent
4245         from the escape character (which might even be disabled).
4247         * src/roff/troff/input.cc (do_define_macro): Implement it.
4248         (define_macro_indirect): New function.
4249         (init_input_requests): Use it.
4251         Adding two requests .ecs and .ecr: Save and restore the escape
4252         character.  These two requests are needed to make tmac.trace
4253         independent from the escape character (which might even be
4254         disabled).
4256         * src/roff/troff/input.cc (save_escape_char, restore_escape_char):
4257         Implement it.
4258         (init_input_requests): Use it.
4260         * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
4262 2000-09-22  Ricardo Soares Guimarães  <ricardo@conectiva.com.br>
4264         Adding a new option -P and new environment variable GROPS_PROLOGUE
4265         to grops, selecting a different prologue file (minor modifications
4266         by WL).
4268         * src/devices/grops/psrm.cc (resource_manager::output_prolog),
4269         src/devices/grops/ps.cc (main): Implement it.
4270         * src/devices/grops/grops.man, NEWS: Document it.
4272 2000-09-22  Werner LEMBERG  <wl@gnu.org>
4274         * INSTALL: Add info about selecting paper format.
4276 2000-09-21  Werner LEMBERG  <wl@gnu.org>
4278         * src/roff/troff/input.cc (main): Fixing compiler warning.
4279         * src/include/{driver.h, lib.h}: Move inclusion of string.h and
4280         strings.h from the former to the latter.
4281         * src/devices/grolbp/lpb.cc, src/include/lib.h: Move strncasecmp()
4282         stuff from the former to the latter.
4284 2000-09-11  Werner LEMBERG  <wl@gnu.org>
4286         Implementing two new requests .tm1 and .tmc: The former is similar
4287         to .tm but can output leading spaces; its syntax is similar to
4288         defining a string, i.e., a `"' can be used to mark the beginning of
4289         the string to be written to stderr: `.tm1 " test'.  The latter is
4290         similar to .tm1 but doesn't write out a final newline character.
4292         * src/roff/troff/input.cc (terminal1, terminal_continue,
4293         do_terminal): New functions.
4294         (init_input_requests): Use them.
4295         * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
4297 2000-09-09  Werner LEMBERG  <wl@gnu.org>
4299         * tmac/groff_mdoc.samples.man: Small fixes.
4301 2000-09-08  Werner LEMBERG  <wl@gnu.org>
4303         * tmac/groff_mdoc.man: Fixing typo.
4305 2000-09-02  Werner LEMBERG  <wl@gnu.org>
4307         Implementing a .nop request which does nothing.
4309         * src/roff/troff/input.cc (nop_request): New function.
4310         (init_input_requests): Use it.
4311         * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
4313 2000-09-01  Werner LEMBERG  <wl@gnu.org>
4315         * doc/groff.texinfo: Added some comments.
4317 2000-08-30  Werner LEMBERG  <wl@gnu.org>
4319         * src/roff/troff/TODO: Updated.
4321 2000-08-25  Werner LEMBERG  <wl@gnu.org>
4323         * doc/groff.texinfo: Fix comment how to compile the DVI file.
4325 2000-08-25  Eli Zaretskii  <eliz@is.elta.co.il>
4327         * font/devps/generate/Makefile (SHELL): Define explicitly to
4328         "/bin/sh", for non-Unix platforms.
4329         (extraclean): Use a more portable "" quoting instead of a
4330         backslash (which doesn't work on DOS/Windows).
4331         
4332         * font/devlj4/generate/Makefile (extraclean): Ditto.
4334         * font/devdvi/generate/Makefile (extraclean): Ditto.
4336 2000-08-25  Werner LEMBERG  <wl@gnu.org>
4338         * NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,
4339         src/roff/troff/troff.man: Document Eli's latest changes.
4341 2000-08-25  Eli Zaretskii  <eliz@is.elta.co.il>
4343         * src/roff/troff/input.cc (open_mac_file, macro_source): Support
4344         macro file names of the form NAME.tmac as well as tmac.NAME.
4346 2000-08-25  Werner LEMBERG  <wl@gnu.org>
4348         * src/include/posix.h: Remove definition of FILENAME_MAX.
4350         * src/preproc/html2/pre-html.h, pre-html.cc: Add return type to
4351         `sys_fatal' and `stop' function().
4353         * test-groff: Updated.
4355 2000-08-24  Gaius Mulley  <gaius@glam.ac.uk>
4357         Added the new troff command .output <arg> to suppress output (while
4358         still obeying motion) and also the opminx, opminy, opmaxx, opmaxy
4359         registers (for passing the output dimensions to the output device).
4361         * src/roff/troff/div.cc (top_level_diversion::output): Use `width'
4362         parameter.
4363         * src/roff/troff/node.h, src/roff/troff/node.cc
4364         (troff_output_file::really_print_line,
4365         ascii_output_file::really_print_line,
4366         supress_output_file::really_print_line): Use `width' parameter.
4367         (troff_output_file::really_on, troff_output_file::really_off,
4368         output_file::on, output_file::off, real_output_file::on,
4369         real_output_file::off, real_output_file::really_on,
4370         real_output_file::really_off): New functions.
4371         (real_output_file:public output_file): New variable `output_on'.
4372         (real_output_file::begin_page, real_output_file::copy_file,
4373         real_output_file::transparent_char, real_output_file::print_line):
4374         Use it.
4375         (real_output_file::print_line): Use check_output_limits.
4376         * src/roff/troff/reg.h, src/roff/troff/request.h,
4377         src/roff/troff/input.cc (assign_registers): New function to remove
4378         two `goto's.
4379         (do_ps_file): Use it.
4380         (check_output_limits, reset_output_registers, output_request,
4381         init_output_requests): New functions.
4382         (init_input_requests): Updated.
4384         Added new grohtml2 device and html2 preprocessor (coding
4385         not yet finished) which will eventually replace grohtml.
4387         * Makefile.in, tmac/Makefile.sub, tmac/eqnrc, tmac/troffrc-end:
4388         Updated.
4389         * src/include/htmlindicate.h, src/include/htmlindicate
4390         (html_begin_suppress, html_end_suppress): New functions.
4391         * src/preproc/tbl/main.cc: Use it.
4392         * src/roff/groff/groff.cc: Add support for html2 device (which will
4393         automatically invoke the html2 preprocessor).
4394         * src/roff/troff/input.cc (is_html2): New variable.
4395         * src/roff/troff/troff.h, src/roff/troff/env.h,
4396         src/roff/troff/env.cc (environment::add_html_tag): New function
4397         (uses `is_html2').
4398         (environment::do_break): Use it.
4399         * font/devhtml2/*: New files.
4400         * src/devices/grohtml2: New device.
4401         * src/preproc/html2: New preprocessor.
4402         * tmac/tmac.html-tags, tmac/tmac.html2: New files.
4404 2000-08-23  Werner LEMBERG  <wl@gnu.org>
4406         * src/devices/grolbp/lbp.cc: Same workaround for sinix as for AIX.
4408 2000-08-22  Werner LEMBERG  <wl@gnu.org>
4410         * src/include/lib.h: Provide a fix for IRIX to not include
4411         groff-getopt.h.
4413 2000-08-18  Werner LEMBERG  <wl@gnu.org>
4415         * configure.in: Don't provide an empty value for SH_SCRIPT_SED_CMD
4416         since some non-GNU sed programs can't handle null regexps.
4417         * configure, src/preproc/eqn/Makefile.sub,
4418         src/roff/grog/Makefile.sub, src/roff/nroff/Makefile.sub: Updated.
4420         * src/devices/grolbp/lbp.cc: Add an AIX workaround for an autoconf
4421         bug (string.h and strings.h are both needed according to latest
4422         POSIX standard).
4424         * MORE.STUFF: Added info about unroff and troffcvt.
4426 2000-08-08  Werner LEMBERG  <wl@gnu.org>
4428         * tmac/tmac.a4: Will now work with ms macros also; -ma4 should be
4429         used before -ms.
4431         * tmac/tmac.man.old: Remove unused number register.
4433         * tmac.doc: Minor documentation fix.
4435 2000-08-07  Paul Eggert  <eggert@twinsun.com>
4437         * src/roff/groff/pipeline.c (is_system_shell):
4438         Fix typo: "monocased_shell" no longer exists.
4440 2000-08-07  Paul Eggert  <eggert@twinsun.com>
4442         Remove FILENAME_MAX limits.
4444         * src/roff/groff/pipeline.c (is_system_shell): Do not assume
4445         that the argument length is less than FILENAME_MAX.
4446         * src/libs/libgroff/tmpfile.cc (add_tmp_file): Likewise.
4447         Use struct hack to allocate and free file name.
4448         (struct xtmpfile_list): fname is now part of the structure,
4449         not a pointer to another string.
4451 2000-08-07  Tom Schmidt  <tschmidt@micron.com>
4453         * src/include/posix.h: Add a default value for FILENAME_MAX.
4455 2000-08-06  Paul Eggert  <eggert@twinsun.com>
4457         Add support for new BSD-style man pages (with ".Dd" instead of
4458         ".TH"), so that "groff -man" understands both styles, even
4459         when running "groff -man" on a host whose system man page
4460         macros don't support ".Dd".
4462         * tmac/Makefile.sub (NORMALFILES): Add tmac.an.old.
4463         (stamp-wrap): Source tmac.andoc first when wrapping man macros,
4464         in case the system man macros don't define Dd or TH.
4466         * tmac/tmac.an.old: Renamed from tmac/tmac.an.
4467         * tmac/tmac.an: New one-line file.
4468         * tmac/tmac.andoc (TH): Adjust to the tmac.an.old file renaming.
4470 2000-08-06  Werner LEMBERG  <wl@gnu.org>
4472         * src/roff/troff/troff.man: Fixing typos.
4474 Version 1.16.1 released
4475 =======================
4477 2000-07-31  Werner LEMBERG  <wl@gnu.org>
4479         Preparing release 1.16.1.
4481         * REVISION: Revision number set to 1.
4482         * MORE.STUFF: Added info about port to DOS.
4483         * NEWS, win32-diffs: Updated.
4485         * src/include/nonposix.h: Remove first line -- this file is used
4486         in C also.
4488         * Makefile.in (dist): Delete Imakefile earlier to avoid a soft
4489         link to it.
4491 2000-07-30  Werner LEMBERG  <wl@gnu.org>
4493         * doc/texinfo.tex: Update to latest version.
4495 2000-06-28  Paul Eggert  <eggert@twinsun.com>
4497         * Makefile.in (ENVSETUP): Don't assume POSIX make semantics for
4498         commands that fail.  Don't assume that "export a=b" is valid shell
4499         syntax.  This is needed for Solaris 2.5.1.
4501         * src/libs/libgroff/tmpfile.cc, src/utils/indxbib/indxbib.cc: Fix
4502         comment about missing Solaris headers.
4504         * PROBLEMS: Add section about problems with Sun Make and VPATH.
4506 2000-06-25  Werner LEMBERG  <wl@gnu.org>
4508         * src/devics/grodvi/dvi.cc: Replace _setmode() (for MSC) with
4509         SET_BINARY().
4511         * src/include/posix.h: Use HAVE_UNISTD instead of _MSC_VER.
4513         * win32-diffs: Updated.
4514         * README.WIN32: Added CRs to make all Windows editors happy.
4516         * src/roff/troff/node.cc: Added WIFSIGNALED() macro (copied from
4517         src/roff/groff/pipeline.c).
4519 2000-06-23  Eli Zaretskii  <eliz@is.elta.co.il>
4521         * src/roff/grog/Makefile.sub (grog): Prepend `-e' to
4522         $(SH_SCRIPT_SED_CMD), for the case where its value is empty.
4524 2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
4526         * src/utils/tfmtodit/tfmtodit.cc: #include nonposix.h.
4527         (tfm::load, gf::load): Open tfm and gf files in binary mode: these
4528         are binary files.
4529         (main): Support non-Posix systems with several different styles of
4530         slash characters in file names.
4532         * src/utils/pfbtops/pfbtops.c: #include nonposix.h.
4533         (main) [SET_BINARY]: Switch stdin into binary mode.
4535         * src/utils/indxbib/indxbib.cc: #include nonposix.h.
4536         (main): Support file names with several possible slash-type
4537         characters, as given by DIR_SEPS[] in nonposix.h.
4538         (main) [__MSDOS__]: If renaming the temporary index file fails
4539         because it has more than one dot in its trunk, replace the dot
4540         with an underscore and try again.
4541         (do_file): Use FOPEN_RB instead of "r".  Skip every CR before a
4542         Newline.
4543         [__MSDOS__ || _MSC_VER]: Stop at the first ^Z character.
4545         * src/utils/hpftodit/hpftodit.cc: #include nonposix.h.
4546         (File::File): Open the input file in binary mode.  Strip CR
4547         characters from each CR-LF pair.
4548         (xbasename): Support file names with several possible slash-type
4549         characters, as given by DIR_SEPS[] in nonposix.h.
4551         * src/include/Makefile.sub (HDRS): Add nonposix.h.
4553         * src/roff/troff/node.cc [HAVE_UNISTD_H]: Include <unistd.h>.
4554         (WIFEXITED, WEXITSTATUS, WTERMSIG, WIFSTOPPED, WSTOPSIG)
4555         [!_POSIX_VERSION]: Define for traditional Unix systems.
4556         (real_output_file::real_output_file): Remove the MSVC-specific
4557         call to popen, use instead POPEN_WT, appropriately defined on
4558         nonposix.h.  #include nonposix.h.
4559         (real_output_file::~real_output_file): Remove the MSVC-specific
4560         call to pclose, a suitable macro is now defined on nonposix.h.
4561         Use the portable macros WIFEXITED, WIFSIGNALED, WTERMSIG, WSTOPSIG
4562         and WEXITSTATUS instead of assuming traditional Unix
4563         interpretation of the status returned by pclose.
4565         * src/roff/troff/input.cc (pipe_source): Remove the MSVC-specific
4566         call to popen, use POPEN_RT instead (appropriately defined on
4567         nonposix.h).  #include nonposix.h.
4568         (ps_bbox_request): Open the PostScript file in binary mode.
4569         Close the file after processing it.
4570         (getpid) [_MSC_VER]: Remove; a suitable macro is now defined on
4571         nonposix.h.
4573         * src/roff/groff/pipeline.c (run_pipeline) [__MSDOS__ || _WIN32]:
4574         A version of run_pipeline that doesn't use `fork'.
4575         (signal_catcher) [__MSDOS__ || _WIN32]: New function.
4576         (system_shell_name, system_shell_dash_c)
4577         (is_system_shell) [__MSDOS__ || _WIN32]: New functions, to hide
4578         the ugliness of testing DOS/Windows file names for equality, and
4579         support both stock shells and ports of Unix shells.
4581         * src/roff/groff/groff.cc: #include nonposix.h.
4582         (BSHELL): Definition moved to nonposix.h.
4583         (main): Use PATH_SEP[0] instead of literal ':'.  Use BSHELL_DASH_C
4584         instead of a literal "-c".
4585         (xbasename): Support file names with several possible slash-type
4586         characters, as given by DIR_SEPS[] in nonposix.h.
4587         (possible_command::print): Use BSHELL_DASH_C and IS_BSHELL instead
4588         of literal strings.
4590         * src/preproc/soelim/soelim.cc: #include nonposix.h.
4591         (do_file): Use IS_ABSOLUTE instead of testing for a literal '/'.
4593         * src/preproc/pic/Makefile.sub (YTABH): Change pic.tab.h to
4594         pic_tab.h.
4596         * src/preproc/pic/lex.cc: Change pic.tab.h to pic_tab.h.
4598         * src/preproc/eqn/Makefile.sub (YTABH): Rename eqn.tab.h to
4599         eqn_tab.h.
4601         * src/preproc/eqn/lex.cc: #include eqn_tab.h, not eqn.tab.h.
4603         * src/libs/libgroff/tmpfile.cc (DEFAULT_TMPDIR) [P_tmpdir]: If
4604         P_tmpdir is defined, use it instead of the literal "/tmp".
4605         (remove_tmp_files, add_tmp_file): New functions.
4606         (xtmpfile): Record temporary files and register an atexit function
4607         to delete them explicitly, instead of relying on the OS to do
4608         that, which doesn't work on non-Unix systems.
4610         * src/libs/libgroff/searchpath.cc: #include nonposix.h.
4611         (search_path::search_path): Use PATH_SEP instead of a literal
4612         colon.
4613         (search_path::command_line_dir): Ditto.
4614         (search_path::open_file): Use IS_ABSOLUTE, PATH_SEP and DIR_SEPS,
4615         to support non-Posix systems.
4617         * src/libs/libbib/search.cc: #include nonposix.h.
4618         (search_list::add_file): Open the file in binary mode.
4620         * src/libs/libbib/linear.cc: #include nonposix.h.
4621         (file_buffer::load): Remove \r characters preceding \n from the
4622         loaded buffer.
4624         * src/libs/libbib/index.cc: #include nonposix.h.
4625         (make_index_search_item): Open index_filename in O_BINARY mode.
4626         (index_search_item_iterator::get_tag): Ditto.  Remove \r
4627         characters before \n characters.
4628         (index_search_item::check_files): Open files in binary mode.
4629         (index_search_item::munge_filename): Support DOS-style file names
4630         with backslashes and drive letters, use IS_ABSOLUTE.
4632         * src/devices/grops/ps.cc: #include nonposix.h.
4633         (main) [SET_BINARY]: Switch stdout to binary mode.
4635         * src/devices/grolj4/lj4.cc: #include nonposix.h.
4636         (main) [SET_BINARY]: Switch stdout to binary mode.
4638         * src/devices/grolbp/lbp.cc: #include nonposix.h
4639         (fill_pattern) [SET_BINARY]: Switch stdout to binary mode.
4641         * src/devices/grodvi/dvi.cc: #include nonposix.h.
4642         [_MSC_VER]: Remove inclusion of Windows-specific headers (done by
4643         nonposix.h).
4644         (main) [SET_BINARY]: Switch stdout to binary mode.
4645         [_MSC_VER]: Remove an explicit call to _setmode.
4647         * src/include/nonposix.h: New file.
4649         * Makefile.in (ENVSETUP): New variable, to set up case-sensitive
4650         operation when building with DJGPP.
4651         ($(TARGETS), dot, $(LIBDIRS), $(CPROGDIRS), $(CCPROGDIRS))
4652         ($(DEVDIRS), $(TTYDEVDIRS), $(INCDIRS), $(OTHERDIRS)): Use
4653         ENVSETUP.
4655         * Makefile.comm: mv y.tab.[ch] to y_tab.[ch], to make it work on
4656         MS-DOS.
4657         (.man.n): Replace `;' with `|', since FONTPATH, MACROPATH,
4658         etc. can include a semi-colon on DOS/Windows.
4659         (depend.temp): Use depend1.temp instead of depend.temp1, to
4660         prevent files from overerwiting each other on 8+3 filesystems.
4662         * gendef.sh (t): Change definition to work with DOS/Windows.
4664         doc/groff.texinfo: Apart of some typo corrections, I also changed
4665         some index entris, to make them more non-ambiguous, and also put
4666         @ignore around some parts that are not yet written, to allow the
4667         Info output be readable.
4669 2000-06-10  Gael Queri  <gqueri@mail.dotcom.fr>
4671         Replaced specific checks for function declarations with a generic
4672         routine taken from GNU bfd.
4674         * aclocal.m4 (GROFF_NEED_DECLARATION): New function.
4675         GROFF_PUTENV, GROFF_POPEN, GROFF_PCLOSE, GROFF_HYPOT: Removed.
4676         * configure.in: Use it.
4677         * src/devices/grolbp/lbp.cc, src/include/lib.h,
4678         src/preproc/grn/hgraph.cc, src/preproc/pic/pic.h,
4679         src/roff/groff/groff.cc: Use it.
4680         * Makefile.in, configure: Updated.
4682 2000-06-07  Paco Andrés Verdú  <pandres@dragonet.es>
4684         * src/devides/grolbp/lbp.h: Removed unused variables.
4686 2000-05-31  Keith Thompson  <kst@sdsc.edu>
4688         * src/devices/grolbp/lbp.cc (set_papersizes): Add declaration of
4689         strncasecmp().
4691 2000-05-31  Werner LEMBERG  <wl@gnu.org>
4693         * aclocal.m4 (GROFF_SRAND): New function to test the return value
4694         of srand() -- at least SunOS 4.1.3 uses `int' instead of `void'.
4695         * configure.in: Use it.
4696         * src/preproc/pic/pic.y, src/preproc/pic/pic.cc: Use it.
4697         * configure, Makefile.in: Updated.
4699         * configure.in: Add test for strncasecmp().
4700         * src/include/lib.h: Use it.
4702 2000-05-29  Andrej Borsenkow  <Andrej.Borsenkow@mow.siemens.ru>
4704         * src/preproc/grn/Makefile.sub: Add MLIB.
4706 2000-05-29  Nix  <nix@esperi.demon.co.uk>
4708         * Makefile.in: Use @datadir@ and @mandir@ appropriately.
4710 2000-05-29  Werner LEMBERG  <wl@gnu.org>
4712         * src/roff/grog/Makefile.sub, src/roff/grog/grog.sh: Add `@g@'.
4714         * PROBLEMS: Small update.
4716         * src/devices/grolbp/lbp.cc: Various small fixes.
4718 2000-05-28  Keith Thompson  <kst@sdsc.edu>
4720         * src/roff/nroff/nroff.sh: Fix main loop syntax.
4722         * src/utils/indxbib/indxbib.cc: Add declaration of mkstemp().
4724 2000-05-25  Werner LEMBERG  <wl@gnu.org>
4726         * man/roff.man: Removed unused macro.
4728 2000-05-24  Werner LEMBERG  <wl@gnu.org>
4730         * Makefile.in (dist): Remove src/xditview/Imakefile explicitly. 
4731         This is needed e.g. if you do
4732         `make distclean; ./configure; make dist'.
4734 Version 1.16 released
4735 =====================
4737 2000-05-23  Werner LEMBERG  <wl@gnu.org>
4739         Adding font CWI (constant width italic) to devdvi.
4741         * font/devdvi/CWI: New file.
4742         * font/devdvi/generate/Makefile: Add generating rule.
4743         * font/devdvi/DESC.in, font/devdvi/Makefile.sub, win32-diffs,
4744         tmac/tmac.dvi: Use it.
4745         * NEWS: Announce it.
4747         * font/devlj4/*: Regenerated (only adding kernings for `cq' glyph).
4748         * font/devlj4/generate/Makefile: Cosmetic changes only.
4750         * man/groff.man: Removed most of the redundant description of
4751         special characters (which is in groff_char.man).  Added font
4752         translation CB->CR for devdvi.  Other minor fixes.
4754         * tmac/tmac.dvi: Improved appearance of \(co (copyright) and \(rg
4755         (registered) symbols.
4757 2000-05-22  Werner LEMBERG  <wl@gnu.org>
4759         * doc/Makefile: Added rule for creating info files.
4761         * font/devdvi/*: Added kernings for `cq' glyph.  Updated to latest
4762         AMS font metrics.
4763         * font/devdvi/generate/Makefile: Fixed dependencies.
4765         * font/devps/*: Regenerated.  Heavy changes for Bookman and
4766         NewCentury Schoolbook!
4767         * font/devps/generate/afmname: Will now run with GNU awk.
4768         * font/devps/generate/textmap: Added forgotten `cq' glyph name.
4769         * font/devps/generate/Makefile: Cosmetic changes only.
4771 2000-05-21  Werner LEMBERG  <wl@gnu.org>
4773         * tmac/tmac.an: Added a new command line option `-rSxx' (`xx' can be
4774         10, 11, or 12) to support output with 11pt and 12pt base font sizes. 
4775         `.SS' now produces a heading with a smaller size than `.SH'. 
4776         Completely formatted.
4777         * doc/groff.texinfo, tmac/groff_man.man, NEWS: Document it.
4779         * man/groff.man: Improved table appearance.  Use of `eo' request
4780         to reduce number of doubled backslashes in macro definitions.
4781         Replacing `\e' with `\(rs'.  Other minor fixes.
4783         * src/preproc/tbl/main.cc: Insert HTML table end tag before `lf'
4784         to have correct line number.
4786         * INSTALL: Small improvement.
4788 2000-05-20  Bernd Warken  <bwarken@mayn.de>
4790         * man/roff.man, tmac/groff_tmac.man: Updates (with corrections by
4791         WL).
4793 2000-05-19  Bernd Warken  <bwarken@mayn.de>
4795         * man/groff.man: Complete update (with a lot of corrections by WL).
4797 2000-05-18  Werner LEMBERG  <wl@gnu.org>
4799         Adding `cq' (PS name `quoteright') glyph name as an alias for "'".
4801         * font/*/*: Implement it.
4802         * man/groff_char.man, NEWS: Document it.
4804         * src/include/unix.h: Removed.  It isn't used.
4806         * doc/groff.texinfo: Slight improvements.
4808 2000-05-17  Werner LEMBERG  <wl@gnu.org>
4810         * README, win32-diffs: Small fixes and improvements.
4812 2000-05-16  Werner LEMBERG  <wl@gnu.org>
4814         * FDL: New file (the Free Documentation License version 1.1).
4816         * doc/groff.texinfo: Added many start-up values for gtroff.
4817         Some structural improvements of the source code.
4819 2000-05-15  Werner LEMBERG  <wl@gnu.org>
4821         * src/roff/troff/input.cc: Added small comment about troffrc-end.
4822         * src/roff/troff/troff.man: Added info about troffrc-end.
4824 2000-05-14  Werner LEMBERG  <wl@gnu.org>
4826         * Makefile.in (EXTRADIRS): Fix typos.
4827         (dist): Handle deletion of old .tar.gz file correctly.
4828         (DISTDIRS): Include all tty output devices.
4830         * doc/groff.texinfo: Adding more cross references; countless other
4831         fixes.
4833 2000-05-13  Werner LEMBERG  <wl@gnu.org>
4835         * MORE.STUFF: Added Robert Marks's utilities.
4837 2000-05-12  Werner LEMBERG  <wl@gnu.org>
4839         Added win32 port contributed by Blake McBride
4840         <blake@florida-software.com>.
4842         * README.WIN32, win32-diffs: New files.
4843         * NEWS: Updated.
4845         * src/preproc/grn/hgraph.cc (HGSetBrush): Replace `%lf' with `%f'.
4846         (tmove, tmove2): Added parentheses to avoid compiler warnings.
4847         (change): Removed unused variables.
4849         * src/preproc/grn/main.cc (main, conv): Removed unused variables.
4850         (savebounds): Changed return value from `int' to `void'.
4851         * src/preproc/grn/hdb.cc: Ditto.
4853         * src/devices/grolbp/lbp.cc (lbp_printer::draw): Removed superfluous
4854         final backslash in comment to avoid compiler warning.
4856         * src/utils/pfbtops/pfbtops.c: Added `getopt.h'.
4858         * doc/groff.texinfo: More fixes.
4860 2000-05-11  OKAZAKI Tetsurou  <okazaki@be.to>
4862         * tmac/tmac.doc: Documentation fix.
4864 2000-05-11  Werner LEMBERG  <wl@gnu.org>
4866         * doc/groff.texinfo: Reading the source code shows up a lot of
4867         omissions and incorrect data...  More conversion to @Deffn macros.
4869 2000-05-10  Werner LEMBERG  <wl@gnu.org>
4871         * src/roff/troff/reg.cc (number_value_to_ascii): Remove ASCII
4872         dependency.
4874         * src/roff/troff/request.h: Removing unused `no_break_flag'.
4876 2000-05-09  Werner LEMBERG  <wl@gnu.org>
4878         * man/groff.man, man/roff.man, tmac/groff_tmac.man: Minor
4879         improvements.
4881         * doc/groff.texinfo: Extended history section.  More conversion to
4882         @Deffn macros.  More .tr documentation.
4884 2000-05-07  Werner LEMBERG  <wl@gnu.org>
4886         * doc/groff.texinfo: Completed tab section.  Added info about
4887         fields.
4889 2000-05-06  Mike MacIsaac  <mikemac@us.ibm.com>
4891         * PROBLEMS: Describe configure script fix for OS/390 Unix.
4893 2000-05-05  Werner LEMBERG  <wl@gnu.org>
4895         * font/devdvi/DESC.in: Change size 11pt to 10.95pt (as used in
4896         LaTeX 2e).
4897         * NEWS: Document it.
4899         * man/troff.man: Minor optical improvements.
4901 2000-05-03  Werner LEMBERG  <wl@gnu.org>
4903         Adding `dq' (PS name `quotedbl') glyph name as an alias for `"'.
4905         * font/*/*: Implement it.
4906         * man/groff_char.man, NEWS: Document it.
4908 2000-05-02  Werner LEMBERG  <wl@gnu.org>
4910         * tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @MANxEXT@
4911         expansion.
4912         * NEWS: Document the three new man pages.
4914         * aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call.
4915         * configure: Updated.
4917         * font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
4919 2000-05-01  Werner LEMBERG  <wl@gnu.org>
4921         Added grap support to grog.
4923         * src/roff/grog/grog.sh, src/roff/grog/grog.pl: Implement it.
4924         * src/roff/grog/grog.man: Document it.
4926         * doc/groff.texinfo, NEWS: Add info about grap support.
4928         Add new man pages comptributed by Bernd Warken <bwarken@mayn.de>
4929         (with slight fixes by me).
4931         * tmac/groff_tmac.man: New file documenting tmac mechanism.
4932         * tmac/Makefile.sub: Add groff_tmac.man.
4933         * man/roff.man: New file giving overview of roff system.
4934         * man/troff.man: A short reference of troff.
4935         * man/Makefile.sub: Add roff.man and troff.man.
4937 2000-04-30  Werner LEMBERG  <wl@gnu.org>
4939         Added grap support to groff.
4941         * src/roff/groff/groff.cc: Implement it.
4942         * src/roff/groff/groff.man: Document it.
4944         * src/devices/grotty/grotty.man: Add cp1047 device.
4945         * src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc:
4946         Ditto.
4947         * src/roff/groff/groff.man: Ditto.
4948         * src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto.
4949         * doc/groff.texinfo: Ditto.
4951         * tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space)
4952         for cp1047.
4954 2000-04-29  Werner LEMBERG  <wl@gnu.org>
4956         * man/groff_char.man: Add `pc' glyph.
4957         * tmac/tmac.latin1: Replacing `md' glyph with `pc'.
4958         * tmac/tmac.tty: Add `pc' glyph.
4959         * tmac/tmac.tty-char: Use/add `pc' glyph.  Don't call tmac.latin1 if
4960         we use cp1047 output device.
4962         * Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since
4963         there are still hardcoded latin1->unicode values in utf8's font
4964         definition files.
4965         * configure: Updated.
4966         * NEWS: Minor clarification.  Updated.
4968         * PROBLEMS: Formatted.  Added info about C++ fix pack for OS/390
4969         Unix.
4971 2000-04-28  Werner LEMBERG  <wl@gnu.org>
4973         Adding EBCDIC code page 1047.
4975         * font/devcp1047/R.proto, font/devcp1047/Makefile.sub,
4976         font/devcp1047/DESC.proto: New files.
4978         * aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be
4979         either ascii/latin1 or cp1047.
4980         * Makefile.in: Use it.
4981         * configure: Updated.
4983         Replacing and/or adding `md' (mathdot) glyph with `pc'
4984         (periodcentered) in all text fonts.
4986         * font/*/*: Change it.
4988 2000-04-27  Werner LEMBERG  <wl@gnu.org>
4990         * aclocal.m4 (GROFF_OS390): Fixing compiler flags.
4992         * configure.in: Add check for strings.h.
4993         * src/include/driver.h: Use HAVE_STRINGS_H.
4994         * src/devices/grolbp/lpb.cc: Remove string.h.
4996         * src/include/groff-getopt.h: New file.  It will be used instead of
4997         getopt.h (to be included in lib.h) to avoid endless problems with
4998         picky C++ compilers.
4999         * src/include/lib.h: Use groff-getopt.h.
5000         * src/include/Makefile.sub: Updated.
5002         * configure: Updated.
5003         * Makefile.in: Updated.
5005         * NEWS: Mention EBCDIC support.
5007 2000-04-26  Werner LEMBERG  <wl@gnu.org>
5009         * TODO: Some additions.
5011 2000-04-25  Werner LEMBERG  <wl@gnu.org>
5013         * src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation
5014         of mso request.
5016 2000-04-23  Werner LEMBERG  <wl@gnu.org>
5018         * src/roff/troff/troff.man: Minor fixes.
5020 2000-04-22  Werner LEMBERG  <wl@gnu.org>
5022         * src/roff/troff/troff.man, doc/groff.texinfo, NEWS: Document the
5023         `.T' string register and the incompatible definition of the `.T'
5024         number register (compared to Unix troff).
5026         * man/groff_char.man: Add some missing characters.
5027         * font/devutf8/NOTES: Update.
5029 2000-04-21  Werner LEMBERG  <wl@gnu.org>
5031         * src/include/htmlindicate.h, src/include/lib.h,
5032         src/include/posix.h: Fix copyright.
5034         * src/include/Makefile.sub: Update.
5036 2000-04-20  Werner LEMBERG  <wl@gnu.org>
5038         * src/roff/troff/input.cc (input_char_description): Removing
5039         superfluous space char.
5041         * tmac/tmac.X: Fix typo \(bq -> \(Bq.
5043         * doc/groff.texinfo: Document EBCDIC.
5045 2000-04-19  Werner LEMBERG  <wl@gnu.org>
5047         Introducing `shc' as the glyph name for the soft hyphen character.
5049         * tmac/tmac.tty, tmac/tmac.latin1, tmac/tmac.html,
5050         font/devlatin1/R.proto: Use it.
5052         * NEWS: Updated.
5054 2000-04-18  Werner LEMBERG  <wl@gnu.org>
5056         * src/devices/grops/ps.cc (ps_printer::flush_sbuf): Removing
5057         dependency on ASCII order.
5059 2000-04-16  Sandor BARANY  <S.Barany@infosys.tuwien.ac.at>
5061         * src/libs/libgroff/illegal.c: Added EBCDIC table.
5062         * src/roff/troff/input.cc: Added adaptation to EBCDIC.
5064         * src/preproc/refer/refer.cc, src/roff/troff/env.cc: Minor changes
5065         to increase portability.
5067 2000-04-15  Werner LEMBERG  <wl@gnu.org>
5069         * aclocal.m4: Added GROFF_EBCDIC and GROFF_OS390 tests.
5070         Redefined AC_OUTPUT_MAKE_DEFS to replace ASCII character `012' with
5071         the generic `\n' if under OS/390 Unix.
5073         * configure.in: Call GROFF_EBCDIC and GROFF_OS390.
5075         * configure: Regenerated.
5077 2000-04-14  Werner LEMBERG  <wl@gnu.org>
5079         * doc/groff.texinfo: More conversions to @Deffn.
5081 2000-04-12  Werner LEMBERG  <wl@gnu.org>
5083         * tmac/tmac.psfig: Fix incorrect use of `&' operator by replacing it
5084         with `:'.
5086         * src/roff/nroff/nroff.man: Add note about tmac.tty-char.
5088 2000-04-10  Werner LEMBERG  <wl@gnu.org>
5090         * doc/groff.texinfo: More conversions to @Deffn.
5092 2000-04-08  Werner LEMBERG  <wl@gnu.org>
5094         * src/libs/libgroff/{getopt.c,getopt1.c}, src/include/getopt.h:
5095         Updated to latest version (glibc 2.1.3).
5097 2000-04-07  Werner LEMBERG  <wl@gnu.org>
5099         * doc/Makefile (clean): Include more index files.
5100         Add rule texinfo->dvi.
5102 2000-04-05  Werner LEMBERG  <wl@gnu.org>
5104         * doc/groff.texinfo: Added new index `op' for operators.  More
5105         info on end of sentence characters.  More use of @Deffn.
5107 2000-03-30  Werner LEMBERG  <wl@gnu.org>
5109         * */*.man: Adding a note that a whitespace can be inserted between
5110         a command line option and its parameter -- we are using GNU getopt.
5112         * src/roff/groff/groff.man: Add example of `-m mandoc'.
5114 2000-03-28  Werner LEMBERG  <wl@gnu.org>
5116         Correct anachronism of calling the man macro file with `-man'
5117         instead of `-m man' etc.
5119         * tmac/tmac.man, tmac/tmac.mandoc, tmac/tmac.markup, tmac/tmac.mdoc,
5120         tmac/tmac.me, tmac/tmac.ms: New files tmac.m<package> which simply
5121         load tmac.<package>.
5123         * tmac/Makefile.sub: Updated.  Take care of $(tmac_an_prefix) etc.
5125         * NEWS: Updated.
5127         * doc/groff.texinfo: Updated.
5129         * tmac/groff_man.man: Copyright added.
5131 2000-03-27  Werner LEMBERG  <wl@gnu.org>
5133         * doc/groff.texinfo: Introducing macros `Deffn' and `Defmac' to
5134         typeset the request resp. escape name with a tt font -- due to a
5135         bug in texinfo.tex it is necessary to use the `-e' switch with
5136         texi2dvi.
5138         Improving info about usage of groff units.
5140         Other minor fixes.
5142 2000-03-20  Werner LEMBERG  <wl@gnu.org>
5144         * doc/groff.texinfo: Added section about man macro package
5145         (I've basically taken groff_man.man).  Introducing new indices `ma'
5146         for macros/strings and `gl' for glyph names.  Other minor fixes.
5148         * tmac/groff_man.man: Fixed some typos.
5150 2000-03-19  Werner LEMBERG  <wl@gnu.org>
5152         * doc/groff.texinfo: Removed all occurrences of `you', `we', etc.
5153         Other minor fixes.
5155         * doc/texinfo.tex: New file.
5157 2000-03-18  Werner LEMBERG  <wl@gnu.org>
5159         * doc/groff.texinfo: Improved section on number registers.  Other
5160         minor updates.
5162 2000-03-16  Werner LEMBERG  <wl@gnu.org>
5164         * src/roff/groff/groff.man: Added info about grolbp.  Make nicer
5165         synopsis.
5167         * src/devices/grolbp/grolbp.man, src/roff/nroff/nroff.man,
5168         src/devices/grolj4/grlj4.man, src/devices/grops/grops.man,
5169         src/preproc/eqn/eqn.man, src/utils/afmtodit/afmtodit.man,
5170         src/utils/tfmtodit/tfmtodit.man: Make nicer synopsis.
5172         * src/preproc/grn/grn.man: Better synopsis; added copyright.
5174         * src/roff/grog/grog.man: Updated copyright date.
5176 2000-03-14  Francisco Andrés Verdú  <pandres@dragonet.es>
5178         * configure.in: Added test for strdup.
5180         * src/devices/grolbp/lbp.cc: Added a strdup() version in case none
5181         is available.
5183         Replaced dynamic allocation of arrays `[...]' with `new' operator.
5185         Other minor fixes.
5187 2000-03-12  OKAZAKI Tetsurou  <okazaki@be.to>
5189         * Makefile.comm: Add $(INCLUDES) to $(ALL_CFLAGS).
5191 2000-03-11  Werner LEMBERG  <wl@gnu.org>
5193         * src/preproc/grn/hdb.cc (DBGetType): Added return value to make
5194         compilers silent.
5195         * src/preproc/grn/hgraph.cc: Add #ifdef for hypot().
5196         * src/include/lib.h: Remove some spaces.
5198 2000-03-10  Werner LEMBERG  <wl@gnu.org>
5200         * src/libs/libgroff/tmpfile.cc (xtmptemplate, xtmpfile): Removing
5201         initializers from arguments (some compilers don't like this).
5203 2000-03-09  Gaius Mulley  <gaius@glam.ac.uk>
5205         * src/libs/libgroff/htmlindicate.cc: Added library file which is now
5206         used by pic and eqn to tell grohtml where the graphic regions start
5207         and end.
5208         * src/libs/libgroff/Makefile.sub: Use it.
5209         * src/preproc/eqn/main.cc, src/preproc/pic/troff.cc: Altered to use
5210         graphic_start() and graphic_end() from htmlindicate.cc.
5212 2000-03-09  Werner LEMBERG  <wl@gnu.org>
5214         * tmac/tmac.safer: Will now work correctly in compatibility mode.
5215         * tmac/groff_man.man: More fixes.
5217 2000-03-08  Werner LEMBERG  <wl@gnu.org>
5219         * doc/Makefile: Added texput.log to the `clean' target.
5220         * doc/groff.texinfo: Added info about delimiters for escapes.
5222 2000-03-08  Bernd Warken  <bwarken@mayn.de>
5224         * src/preproc/pic/pic.man: Add info on conversion of pic images to
5225         other graphic formats.
5227 2000-03-07  OKAZAKI Tetsurou  <okazaki@be.to>
5229         * Makefile.in, Makefile.sub, src/preproc/eqn/Makefile.sub,
5230         src/roff/groff/Makefile.sub, src/roff/nroff/Makefile.sub,
5231         src/utils/afmtodit/Makefile.sub: Use $(INSTALL_SCRIPT) for script
5232         files.
5234 2000-03-07  Werner LEMBERG  <wl@gnu.org>
5236         * doc/groff.texinfo: Spelling fixes.
5238 2000-03-06  Werner LEMBERG  <wl@gnu.org>
5240         * tmac/groff_man.man: Completely revised to cover everything in
5241         tmac.an.
5243         * doc/groff.texinfo, src/roff/troff/troff.man: Document evc request.
5244         Other minor fixings.
5245         * src/roff/troff/env.cc (environment_copy): Improve error message and
5246         fix itoa->i_to_a.
5247         * src/roff/troff/TODO: Updated.
5249         * doc/Makefile: Bug fixes -- this is still provisional, though...
5251         * tmac/eqnrc: Small fixes.
5253 2000-03-05  Abramo Bagnara  <abramo@alsa-project.org>
5255         Adding a request `evc' to copy environments.
5257         * src/roff/troff/env.cc (environment::copy, environment_copy):
5258         Implement it.
5259         * src/roff/troff/env.h: Add prototype.
5261 2000-03-05  Francisco Andrés Verdú  <pandres@dragonet.es>
5263         Adding strsep() -- Solaris 8 doesn't have it.
5265         * configure.in: Test it.
5266         * src/devices/grolbp/lbp.cc: Add code.
5268 2000-03-05  Werner LEMBERG  <wl@gnu.org>
5270         * src/roff/troff/div.cc (macro_diversion::output,
5271         top_level_diversion::output): Fixing an incompatibility with
5272         original troff: \x'0' updates the .a register also.  Thanks to
5273         <Andries.Brouwer@cwi.nl> for pointing this out.
5274         * doc/groff.texinfo: Document it.
5276         * Makefile.in: Create Makefile.dep if necessary before calling the
5277         submake process to avoid warning about nonexistent file.
5279         * NEWS, PROJECTS: Updated.
5281 2000-03-04  Werner LEMBERG  <wl@gnu.org>
5283         * tmac/troffrc: Add tmac.lbp.
5285 2000-03-03  Francisco Andrés Verdú  <pandres@dragonet.es>
5287         * tmac/tmac.lbp: New file.
5288         * src/devices/grolbp/grolbp.man: Add documentation of `lbpname'
5289         command.
5291 2000-03-03  Werner LEMBERG  <wl@gnu.org>
5293         * Makefile.in: Fixing $(subdir).
5295         * README, NEWS: Small fixes.
5297         * test-groff: Adding path to grolbp.
5299         * configure.in: The (new) file src/xditview/Imakefile.in will be
5300         also configured -- it is now possible to build gxditview in a
5301         directory different from $srcdir.
5303 2000-03-02  Blake McBride  <blake@florida-software.com>
5305         * src/libs/libgroff/searchpath.cc (open_file): Adapting to WinNT.
5307         * MORE.STUFF: Added website of bell labs and info about plot2dev.
5309 2000-03-01  Colin Phipps  <crp22@cam.ac.uk>
5311         * src/utils/indxbib/indxbib.cc (main): Use mkstemp() for temporary
5312         files.
5314 2000-02-29  Werner LEMBERG  <wl@gnu.org>
5316         Adding GNU getopt to the groff distribution.
5318         * src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
5319         New files.
5320         * src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
5321         * aclocal.a4: Remove GROFF_GETOPT function.
5322         * configure.in, Makefile.in, PROBLEMS: Update.
5323         * src/include/lib.h: Replace getopt tests with getopt.h.
5324         * src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.
5326         * doc/groff.texinfo: Further checking/updating.  Adding more index
5327         entries.
5329         * man/groff_out.man: Fix nroff mode activation (for emacs).
5330         * man/groff_font.man: Add missing ligature.
5332 2000-02-28  Werner LEMBERG  <wl@gnu.org>
5334         * doc/groff.texinfo: Further checking/updating.  Adding more index
5335         entries.
5337         * src/devices/grolbp/grolbp.man: Added a comment line at the
5338         beginning of the file (similar to shell scripts) which indicates
5339         that `tbl' should be used as a preprocessor.
5341 2000-02-27  Blake McBride  <blake@florida-software.com>
5343         Adapting groff to MS Visual C++ 6.0 compiler (tested with
5344         Windows NT 4.0).  Uses _MSC_VER define where necessary.
5346         * src/devices/grodvi/dvi.cc: Making stdout a binary stream.
5347         * src/devices/grolj4/lj4.cc: Making getopt variables `extern "C"'.
5348         * src/devices/grohtml/html.cc, src/devices/grops/ps.cc,
5349         src/include/lib.h, src/libs/libgroff/errarg.cc,
5350         src/libs/libgroff/itoa.c, src/libs/libgroff/nametoindex.cc,
5351         src/preproc/refer/label.y, src/preproc/refer/label.cc,
5352         src/roff/groff/pipeline.c, src/roff/troff/column.cc,
5353         src/roff/troff/div.cc, src/roff/troff/env.cc,
5354         src/roff/troff/input.cc, src/roff/troff/node.cc,
5355         src/roff/troff/reg.cc: Renaming itoa() to i_to_a() and iftoa() to
5356         if_to_a() to avoid name clashes.
5357         * src/include/posix.h: Don't use unistd.h.
5358         * src/libs/libgroff/tmpfile.cc: Use `#ifndef...#else...#endif'
5359         clause for integrating non-Unix xtmpfile() code.
5360         * src/roff/troff/input.cc: Adding `public' keyword to macro_header
5361         structure; use "rt" for popen() in pipe_source(); add getpid()
5362         dummy function.
5363         * src/roff/troff/node.cc: Use special versions of popen() in
5364         real_output_file() and pclose() in ~real_output_file().
5366 2000-02-27  Werner LEMBERG  <wl@gnu.org>
5368         Adding a new driver, grolbp, for Canon CAPSL printers (LBP-4 and
5369         LBP-8 series laser printers).  This code has been contributed by
5370         Francisco Andrés Verdú <pandres@dragonet.es>.
5372         * src/devices/grolbp/*: The grolbp output device.
5373         * font/devlpb/*: The font description files.
5374         * Makefile.in: Add grolpb and devlbp subdirectories.
5376         * src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
5377         src/devices/grotty/grotty.man,src/roff/troff/troff.man: Minor
5378         typographic fixes.
5380         * doc/groff.texinfo: Further checking/updating.  Adding more index
5381         entries.
5383         * NEWS: Updated.
5385         * src/devices/grolbp/Makefile.sub: Adding $(srcdir).
5387         * man/groff_font.man: Adding info about obsolete DESC keywords.
5388         * src/devices/grolj4/grolj4.man: Documenting additional DESC
5389         keywords.
5391 2000-02-26  Werner LEMBERG  <wl@gnu.org>
5393         * src/preproc/grn/grn.man: Added info about the gremlin file format
5394         (contributed by Daniel Senderowicz <daniel@synchrods.com>).
5396 2000-02-25  Werner LEMBERG  <wl@gnu.org>
5398         * src/preproc/grn/main.cc: Allow values of `narrow' parameter and
5399         friends to be non-integer.
5401         * src/preproc/grn/grn.man: Document it.
5403         * doc/groff.texinfo: Further checking/updating.  Adding more index
5404         entries.
5406 2000-02-24  Werner LEMBERG  <wl@gnu.org>
5408         * src/preproc/grn/main.cc: Introduce BASE_THICKNESS, defining
5409         line thicknesses to be integer multiples of this value.
5411         * src/preproc/grn/grn.man: Commenting out the -s option -- the
5412         corresponding code doesn't work (yet).
5414         * doc/groff.texinfo: Further checking/updating.  Adding more index
5415         entries.
5417 2000-02-23  Werner LEMBERG  <wl@gnu.org>
5419         * src/preproc/grn/{main.cc, hgraph.cc}: Using point units to
5420         specify line thickness instead of base units.  The new default
5421         values are now 0.15,pt 0.45pt, and 0.75pt for thin, middle, and
5422         thick lines respectively.
5424         Removed unused variable `prevval'.
5426         * src/preproc/grn/grn.man: Updated.
5428 2000-02-22  Werner LEMBERG  <wl@gnu.org>
5430         * src/preproc/grn/main.cc: Slight formatting.
5432         * src/roff/groff/groff.man: Formatting fix.
5433         * src/preproc/grn/grn.man: Ditto.
5435         * src/roff/grog/grog.pl: Fixing two embarassing bugs.
5437         * doc/groff.texinfo: Further checking/updating.
5439 2000-02-21  Werner LEMBERG  <wl@gnu.org>
5441         * README, INSTALL, PROJECT, PROBLEMS, BUGREPORT: Updated.
5443         * test-groff: Added grn subdir to path.
5445         * doc/groff.texinfo: Some restructing and other small improvements.
5447         * src/roff/groff/groff.cc (help): Fixed info string.
5449 2000-02-20  Werner LEMBERG  <wl@gnu.org>
5451         * doc/meref.me: Fix description of .GS request.
5453         * src/roff/troff/troff.man: Fixing typo.
5455         Adding the `grn' preprocessor for gremlin graphic files.
5457         * src/preproc/grn/*: This is the Berkeley distribution written by
5458         David Slattengren and Barry Roitblat, adapted to groff by Daniel
5459         Senderowicz and Werner Lemberg.
5461         * doc/grnexampl.{me,g}: A sample for grn.
5463         * Makefile.in: Added subdirectory entry for grn.
5465         * src/roff/groff/groff.cc: Added support for grn.  It can be now
5466         called with the switch `-g'.
5468         * src/roff/groff/groff.man: Updated.
5470         * src/roff/grog/grog.{man,pl,sh}: Updated.
5472         * NEWS: Updated.
5474 2000-02-11  Gaius Mulley  <gaius@glam.ac.uk>
5476         * src/include/lib.h: Added xtmptemplate and made xtmpfile
5477         parametrically polymorphic.
5479         * src/libs/libgroff/tmpfile.cc: Implemented xtmptemplate
5480         and the alterations to xtmpfile.
5481         xtmpfile can be requested to return the filename created
5482         and asked not to unlink the temp file.  The default behaviour
5483         if parameters are absent is exactly the same as before.
5485 2000-02-11  Abramo Bagnara  <abramo@alsa-project.org>
5487         A new request `length' is available which returns the length of a
5488         string in a number register:
5490         * src/roff/troff/input.cc (length_macro): Implement it.
5491         * src/roff/troff/input.cc (init_input_requests): Register it.
5493 2000-02-11  Werner LEMBERG  <wl@gnu.org>
5495         * doc/groff.texinfo, src/roff/troff/troff.man: Add documentation
5496         of the `substring' request.
5498         * src/roff/troff/troff.man, doc/groff.texinfo: Document `length'
5499         request.
5501         * src/roff/troff/TODO, NEWS: Updated.
5503 2000-02-09  Werner LEMBERG  <wl@gnu.org>
5505         * src/roff/groff/groff.man: Added an example.
5507 2000-02-06  Werner LEMBERG  <wl@gnu.org>
5509         I've considerably modified the directory structure of the
5510         distribution to get a more vertical layout.  For example, the number
5511         of top level directories has been reduced from 42 to 6.
5513         As a consequence, many changes, especially to the makefiles, were
5514         necessary:
5516         * The makefile variables `top_builddir' and `top_srcdir' have been
5517         introduced.  Virtually all relative paths have been replaced with
5518         absolute ones using these two variables.
5520         * Dependencies (in the files `Makefile.dep') are no longer part of
5521         the distribution.  Instead, they are created during a `make install'
5522         in the build directory.
5524         * aclocal.m4 (GROFF_SRCDIR, GROFF_BUILDDIR): Two new functions to
5525         make `top_srcdir' and `top_builddir' absolute.
5527         Some other changes:
5529         * Man pages no depend on the files `VERSION' and `REVISION'.
5531         * The added shell script `mkinstalldirs' will replace `mkdir' in
5532         almost all cases.
5534         * VERSION: Version number increased to 1.16.
5536 2000-02-04  Werner LEMBERG  <wl@gnu.org>
5538         * grops/psrm.cc (read_one_of): Fixed pointer incrementation.
5540         * Makefile.in: Removed $(tmac_m) since it is no longer needed
5541         (after an update of the mm stuff).
5543         * troff/Makefile.sub (majorminor.cc): Fix dependencies.
5545 2000-02-03  Werner LEMBERG  <wl@gnu.org>
5547         The .psbb request will now also accept Mac PS images (i.e. using LF
5548         as the EOL character).
5550         * troff/input.cc (ps_get_line): New function, taken from psrm.cc
5551         (with slight modifications).
5552         * troff/input.cc (do_ps_file): Use it.
5554         * test-groff: Add grohtml and grolj4 output devices to PATH.
5556 2000-01-30  Werner LEMBERG  <wl@gnu.org>
5558         * NEWS, MORE.STUFF: Updated.
5560 2000-01-30  Cary D. Renzema  <caryr@dollar.mxim.com>
5562         Add the `srand' command to pic.
5564         * pic/lex.cc, pic/pic.y: Implement it.
5565         * pic/pic.man: Document it.
5566         * pic/pic.cc, pic/pic.tab.h: Regenerated (with yacc).
5568 2000-01-30  Werner LEMBERG  <wl@gnu.org>
5570         Add a new request `.psbb'.  This does exactly what the external
5571         program psbb did.  It scans a PostScript image file for a
5572         %%BoundingBox comment and extracts the bounding box values (in
5573         PostScript units) which are then stored in the four new (read-only)
5574         number registers `llx', `lly', `urx', and `ury'.
5576         This will allow the usage of the .PSPIC macro without worrying
5577         about unsafe behaviour of groff, i.e., it will work without the
5578         `-U' switch of groff.
5580         * troff/input.cc: Implement it.
5581         * tmac/tmac.pspic: Use it.
5582         * troff/troff.man, grops/grops.man, NEWS: Document it.
5583         * psbb/*, Makefile.in: Remove it since it is no longer needed.
5585         This is bloody C code simply adapted from psbb.c!  Any improvements
5586         welcome.
5588 2000-01-29  Werner LEMBERG  <wl@gnu.org>
5590         * man/groff_font.man: Minor clarifications.
5592         * NEWS: Updated.
5594 2000-01-28  Werner LEMBERG  <wl@gnu.org>
5596         * afmtodit/afmtodit.pl: Use new `--' comment delimiter.
5598 2000-01-28  Gaius Mulley  <gaius@glam.ac.uk>
5600         * man/groff_font.man: Brought up to date regarding tcommand
5601         extensions.
5602         * libgroff/font.cc: Handle everything after `--' as a comment
5603         in the font files.
5604         * devps/*: Added comment delimiter inside devps font files.
5606 2000-01-28  Werner LEMBERG  <wl@gnu.org>
5608         * tmac/tmac.arkup, tmac/groff_markup.man: Replace \fC...\fR with
5609         \fC...\fP (which now works as expected).
5611         * troff/troff.man: Fix typo.
5613 2000-01-27  Gaius Mulley  <gaius@glam.ac.uk>
5615         Completed the pass_filenames implementation in troff.
5617         * libdriver/input.cc: Will read the new `F' tcommand.
5618         * troff/node.cc, troff/node.h: Will issue the new `F' tcommand.
5619         * troff/input.cc: Use it.
5621 2000-01-26  Werner LEMBERG  <wl@gnu.org>
5623         * troff/env.cc (set_font): Fix the behaviour of \fP.  The previous
5624         font will now be updated even if an invalid font is selected.
5626 2000-01-24  Werner LEMBERG  <wl@gnu.org>
5628         * doc/homepage.ms: Updated for new tmac.arkup.
5630         * tmac/tmac.html: Disable line breaks after hyphen-like characters.
5632         * tmac/tmac.arkup: Cleanup.
5634         Added `\&' to .HTML macro to `leave vertical mode', so to say.
5636         Removed obsolete .LINK macro completely.
5638         The macros .URL, .FTP, and .MAILTO now accept a third argument which
5639         will be immediately appended to the second argument (to be used with
5640         punctuation, for example).
5642         Disabled .CDFTP macro temporarily for security reasons.
5644         * tmac/groff_markup.man: Complete revision for latest changes in
5645         tmac.arkup -- note that it does not yet format correctly with
5646         grohtml :-(
5648 2000-01-23  Bruno Haible  <haible@clisp.cons.org>
5650         * nroff/nroff.sh: Accept -Tutf8 option and pass it through.
5651         * devutf8/R.proto: Add mappings for wp, lh, rh.
5652         * devutf8/NOTES: Updated.
5654 2000-01-23  Werner LEMBERG  <wl@gnu.org>
5656         * doc/groff.texinfo: Updated version/copyright info.
5658 2000-01-21  Gaius Mulley  <gaius@glam.ac.uk>
5660         Added support for two new directives in device descriptions:
5661         `pass_filenames' (to pass the input file name to the output device)
5662         and `use_charnames_in_special' (to support e.g. accented characters
5663         in the `X' request).
5665         * include/font.h, troff/charinfo.h: Declare it.
5667         * libgroff/font.cc, libgroff/fontfile.cc: Set it.
5669         * devhtml/DESC: Use it.
5671         * troff/input.cc: New function encoded_char.
5673         * troff/token.h: Add test for `specialness'.
5675 2000-01-21  Werner LEMBERG  <wl@gnu.org>
5677         * tmac/Makefile.sub: tmac.a4 and tmac.trace have been removed by
5678         mistake from the list of files to be installed.
5680 2000-01-18  Werner LEMBERG  <wl@gnu.org>
5682         * README: Added info how to apply patches.
5684 2000-01-15  Jan Echternach  <echter@informatik.uni-rostock.de>
5686         * troff/node.cc (ligature_note::operator delete):  Fix g++ warning.
5688 2000-01-15  Gaius Mulley  <gaius@glam.ac.uk>
5690         * troff/input.cc: Add support for troffrc-end.
5692         * tbl/main.cc: Altered to issue table-start and table-end special
5693         characters if using the html device.
5695         * devhtml/*: Modified font files to incorporate html encoding of
5696         characters.
5698         * tmac/groff_markup.man: New file documenting tmac.arkup.
5700         * tmac/troffrc-end: New file.  This is invoked after all user
5701         specified macros.  Currently used by the html device to include
5702         tmac.html.  Thus no need for users to specify -mhtml anymore.
5704         * tmac/Makefile.sub (NORMALFILES): Add troffrc-end.
5705         (MAN7): Add groff_markup.man.
5707         * tmac/tmac.an, tmac/tmac.html: Small html updates.
5709         * tmac/troffrc: tmac.arkup will now be called for the html device.
5711         * libgroff/font.cc, libgroff/font.h: Altered to include reading of
5712         extra device specific information about fonts.
5714         * doc/homepage.ms: New file.  It is an example how an HTML home page
5715         could look like with grohtml.
5717         * doc/Makefile: Add homepage.ms.  Remove rule for pic.html.
5719 2000-01-12  Bruno Haible  <haible@clisp.cons.org>
5721         * devutf8/R.proto: Add mappings for ti, Fn, st, an.  Change mappings
5722         of Im, Re.
5724         * devutf8/NOTES: Updated.
5726 2000-01-08  Bruno Haible  <haible@clisp.cons.org>
5728         * eqn/box.cc, eqn/lex.cc, eqn/other.cc, eqn/over.cc, eqn/special.cc,
5729         eqn/text.cc, grodvi/dvi.cc, grops/ps.cc, grops/psrm.cc,
5730         libbib/index.cc, libbib/linear.cc, libbib/search.cc,
5731         libdriver/printer.cc, libgroff/font.cc, libgroff/string.cc,
5732         pic/lex.cc, pic/object.cc, refer/label.y, refer/ref.cc, tbl/main.cc,
5733         tbl/table.cc, tfmtodit/tfmtodit.cc, troff/dictionary.cc,
5734         troff/div.cc, troff/env.cc, troff/input.cc, troff/node.cc,
5735         troff/node.h, troff/reg.cc: Avoid most "g++ -Wall -Wno-sign-compare"
5736         warnings.
5738         * troff/node.cc (bracket_node::copy): Initialize last to NULL.
5740 2000-01-12  Fabrizio Polacco  <fab@prosa.it>
5742         grolj4: Paper size will be searched case-insensitively.
5744         * include/lib.h: Add check for strcasecmp().
5745         * grolj4/li4.cc (lookup_paper_size): Use strcasecmp().
5746         * configure.in: Check for strcasecmp().
5748 2000-01-11  Werner LEMBERG  <wl@gnu.org>
5750         * troff/Makefile.sub (majorminor.cc): Fix incorrect path to
5751         `REVISION'.
5753 2000-01-10  Werner LEMBERG  <wl@gnu.org>
5755         * Makefile.comm, Makefile.in, doc/Makefile: More fixes for the
5756         revision scheme.
5758         Add a new read-only register, `.Y', which contains the groff
5759         revision.
5761         * troff/input.cc (init_input_requests): Define it.
5762         * troff/Makefile.sub (majorminor.cc): Define `revision' string.
5763         * doc/groff.texinfo, troff/troff.man: Document it.
5765         * libgroff/Makefile.sub (version.cc): Add definition of
5766         `Version_string[]', consisting of `<major>.<minor>.<revision>'
5767         * eqn/main.cc, grodvi/dvi.cc, grolj4/lj4.cc, grops/ps.cc,
5768         grotty/tty.cc, hpftodit/hpftodit.cc, indxbib/indxbib.cc, pic/main.cc,
5769         refer/refer.cc, soelim/soelim.cc, tbl/main.cc, tfmtodit/tfmtodit.cc,
5770         troff/input.cc, pfbtops/pfbtops.c: Use it.
5772 2000-01-10  Fabrizio Polacco  <fab@prosa.it>
5774         Add a revision scheme to the groff package.
5776         * REVISION: New file.
5777         * libgroff/Makefile.sub (version.cc): Use it to define
5778         `revision_string[]'.
5779         * grops/psrm.cc: Use revision_string (converted to an unsigned
5780         integer) in constructor of resource_manager.
5782 2000-01-10  Bruno Haible  <haible@clisp.cons.org>
5784         * devutf8/Makefile.sub, devutf8/DESC.proto, devutf8/R.proto: New
5785         files.
5786         * Makefile.in (DEVDIRS): Add devutf8.
5787         * grotty/tty.cc: Include device.h.
5788         (glyph): Change type of `code' to `unsigned int'.
5789         (tty_printer): New field is_utf8.  Constructor takes device argument.
5790         (tty_printer::tty_printer): If device if `utf8', set is_utf8.
5791         (tty_printer::add_char): Change type of first arg to `unsigned int'.
5792         (tty_printer::put_char): New function.
5793         (tty_printer::end_page): Use put_char() instead of ::putchar().
5794         (make_printer): Pass device to tty_printer constructor.
5795         * nroff.sh: Determine default device by calling 'locale'.  As a
5796         fallback, look at all of $LC_ALL, $LC_CTYPE, $LANG, $LESSCHARSET.
5797         Recognize UTF-8 locales.
5798         * tmac/eqnrc: Recognize utf8 like latin1.
5799         * tmac/troffrc: Device utf8 needs tmac.tty.
5801 2000-01-07  Werner LEMBERG  <wl@gnu.org>
5803         * tmac/Makefile.sub: tmac.a4 and tmac.trace will now be installed.
5805 2000-01-07  Paul Eggert  <eggert@twinsun.com>
5807         Add a new predefined writeable number register, `year',
5808         which contains the current year.
5810         * doc/groff.texinfo, PROBLEMS, troff/troff.man: Document it.
5811         * tmac/tmac.s: Use it.
5812         * troff/input.cc (init_registers): Initialize it.
5814 2000-01-06  Werner LEMBERG  <wl@gnu.org>
5816         * PROBLEMS: Fixed typo.
5818 2000-01-04  Paul Eggert  <eggert@twinsun.com>
5820         * PROBLEMS: Add Y2k advice for the yr number register.
5822 2000-01-03  Paul Eggert  <eggert@twinsun.com>
5824         * doc/groff.texinfo: Fix Y2k bug in documentation of \n(yr.
5826 2000-01-02  Werner LEMBERG  <wl@gnu.org>
5828         * tmac/tmac.arkup: Slight modification of macros to provide better
5829         appearance for non-HTML formats.
5831 2000-01-01  Charles Levert  <charles@comm.polymtl.ca>
5833         * soelim/soelim.cc (include_path_append): realloc(NULL, n)
5834         does not automatically translate to malloc(n) on all OSes
5835         (e.g., SunOS) so do it explicitly.  Also, check the returned
5836         value.
5838 2000-01-01  Werner LEMBERG  <wl@gnu.org>
5840         * tmac/tmac.arkup: Added .LINE macro.  Some formatting.
5842         * Makefile.in: Added $(tmac_m) again since the Makefile in `mm'
5843         expects this variable
5845 2000-01-01  Gaius Mulley  <gaius@glam.ac.uk>
5847         * doc/Makefile: Added instructions to create HTML and text
5848         versions of some files.
5850 1999-12-31  Werner LEMBERG  <wl@gnu.org>
5852         * Updated INSTALL.gen.
5854         * tmac/tmac.arkup: Added fixes so that .FTP and .MAILTO works
5855         better resp. correctly with non-HTML devices.
5857 Version 1.15 released
5858 =====================
5860 1999-12-28  Werner LEMBERG  <wl@gnu.org>
5862         * NEWS, VERSION: Changed to 1.15
5864 1999-12-27  Paul Eggert  <eggert@twinsun.com>
5866         * nroff/nroff.man: -S is safer, not safe.
5868         * groff/groff.cc (main): Use `safer', not `safe', in variable
5869         names.  This does not change the behavior.
5871         * troff/input.cc (main): Likewise.
5873         * nroff/nroff.sh: Likewise.
5875         * troff/input.cc (prepend_string): New function.
5876         (main): Prepend -msafer, so that we check macro libraries for
5877         safety.
5879         * PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.
5881 Version 1.14 released
5882 =====================
5884 1999-12-26  Werner LEMBERG  <wl@gnu.org>
5886         * NEWS, VERSION: Changed to 1.14.
5888 1999-12-24  Werner LEMBERG  <wl@gnu.org>
5890         * refer/refer.cc: Fixing the last fix.
5892 Version 1.13 released
5893 =====================
5895 1999-12-23  Werner LEMBERG  <wl@gnu.org>
5897         * tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
5898         number disappear.
5900         * NEWS: Updated.
5902         * tmac/tmac.safer: Forgot to remove `so' from the `rm' request.
5904         * VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
5905         document conventions, the version number must be a real.
5907 Version 1.12.1 released
5908 =======================
5910 1999-12-22  Werner LEMBERG  <wl@gnu.org>
5912         * VERSION: Changed to 1.12.1.
5914 1999-12-22  Alan Rooks  <arooks@istar.ca>
5916         * refer/refer.cc (do_file): Slight modification to satisfy the
5917         `Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
5918         UnixWare 7.1.
5920 1999-12-20  Werner LEMBERG  <wl@gnu.org>
5922         * changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
5923         notices.
5925         * tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
5926         list of unsafe requests.
5928         * pic/pic.man: Fixed a typo.
5930         * man/groff_out.man: Fixed a typo.
5932 1999-12-18  Werner LEMBERG  <wl@gnu.org>
5934         * Makefile.in: Doc fixes.
5936 1999-12-17  Fabrizio Polacco  <fab@prosa.it>
5938         * groff/groff.cc: Missing `U' option added to getopt().
5940         * troff/troff.man: Missing `U' option added to synopsis.
5942 Version 1.12 released
5943 =====================
5945 1999-12-14  Werner LEMBERG  <wl@gnu.org>
5947         * troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
5948         to the synopsis.
5950         * nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
5951         with the more appropriate terms `safer' and `unsafe'.
5953         * libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
5954         sys_nerr and sys_errlist[].
5956         * pic/pic.h, aclocal.m4, configure.in: Added check for hypot().
5958         * pic/pic.y, pic/pic.cc: Added check for fmod().
5960 1999-12-13  Werner LEMBERG  <wl@gnu.org>
5962         * VERSION: Changed to 1.12.
5964         Here some patches from various sources; most of them taken from
5965         the Debian distribution.
5967         * tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
5968         tmac/Makefile.sub: New files copied directly from the NetBSD
5969         distribution.  Probably, some additional adaptation later on is
5970         necessary...
5972         * tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
5973         of unsafe requests.
5975         * groff/groff.cc, groff/groff.man, nroff/nroff.sh,
5976         nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
5977         troff/troff.man: Added option `-U' for unsafe mode.  Safe mode
5978         (`-S') is now the default.
5980         * README, NEWS: Updated.
5982 1999-12-09  Werner LEMBERG  <wl@gnu.org>
5984         * doc/groff.texinfo: Regenerated nodes and menus with emacs.
5986         * doc/Makefile (clean): Added cleaning commands for groff.texinfo.
5988 1999-12-06  Werner LEMBERG  <wl@gnu.org>
5990         * configure.in: Removed AC_PREFIX_PROGRAM since it causes more
5991         grief than relief today.  Additionally, it is against the GNU
5992         coding standards.
5994         * configure: Recreated.
5996 1999-12-05  Werner LEMBERG  <wl@gnu.org>
5998         * configure.in: Added GROFF_LIBM.
6000         * configure: Recreated.
6002         * aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
6003         necessary.
6005         * Makefile.in: Added definition of $(LIBM).
6007         * Makefile.comm (LIBM): Removed.
6009         * pfbtops/Makefile.sub: On AIX, -lm is needed also.
6011 1999-12-03  Gaius Mulley  <gaius@glam.ac.uk>
6013         * doc/Makefile: Added rule for generation pic.html.
6015         (clean): Files produced by grohtml will be removed also.
6017         * doc/pic.ms: Small fix.
6019         * tmac/tmac.html: Fixed suppression of headers.
6021 1999-11-16  Gaius Mulley  <gaius@glam.ac.uk>
6023         * tmac/tmac.html: Fixing horizontal arrows.
6025         Turning off hyphenation.
6027         * tmac/tmac.an: Improved support for grohtml; better indentation,
6028         no footers/headers.
6030 1999-10-31  Gaius Mulley  <gaius@glam.ac.uk>
6032         * tmac/tmac.arkup: Added CDFTP macro
6034         * tmac/tmac.html: All headers are turned off for ms, me, and mm
6035         macros.
6037         * tmac/troffrc: Some additions for HTML stuff.
6039 1999-10-06  Gaius Mulley  <gaius@glam.ac.uk>
6041         * tmac/tmac.html: Small changes.
6043 1999-09-26  Werner LEMBERG  <wl@gnu.org>
6045         * doc/groff.texinfo: Minor fixes.
6047 1999-09-26  Gaius Mulley  <gaius@glam.ac.uk>
6049         * devhtml/TR: Changed spacewidth to 3.
6051         * tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.
6053         * tmac/tmac.html: Moved markup macros to tmap.arkup.
6055         * tmac/tmac.arkup: New file.
6057         * grohtml/ChangeLog: New file.
6059 1999-09-16  Werner LEMBERG  <wl@gnu.org>
6061         * doc/groff.texinfo (Common Features): Added Copying chapter.
6062         Changed format to @smallbook.
6064 1999-09-15  Werner LEMBERG  <wl@gnu.org>
6066         * NEWS: Added info about groff.texinfo.
6068         * doc/groff.texinfo: Will now compile (using texi2dvi) without
6069         warning messages.
6071 1999-09-14  Werner LEMBERG  <wl@gnu.org>
6073         * groff/groff.man: More updates.
6075 1999-09-13  Werner LEMBERG  <wl@gnu.org>
6077         * doc/groff.texinfo: New file.  This manual is still very
6078         rudimentary.  It has been originally contributed by Trent
6079         A. Fisher <trent@gnurd.portland.or.us> with first corrections and
6080         additions by me.
6082         * INSTALL: Added information about the `doc' subdir
6084         * troff/troff.man: Minor fixes.
6086         * groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
6087         reordered options.
6089         * troff/input.cc (usage): Added missing `-ffam' to usage message.
6091         * Makefile.in (dist): groff-$(version).tar.gz must be removed
6092         also, otherwise it is included itself in another call of `make
6093         dist'.
6095         * groff/groff.cc (synopsis): Removed superfluous space.
6097         * PROJECTS, PROBLEMS, NEWS: Updated.
6099         * VERSION: Updated to 1.12beta.
6101         * BUG-REPORT: Some cosmetic fixes.  Corrected email address.
6103         * README: Updated: Included documentation about CVS repository,
6104         mailing lists, and daily snapshots.
6106         * tmac/Makefile.sub: Fixed $(tmap_wrap) finally.
6108 1999-09-12  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
6110         * tmac/tmac.an: If the tag didn't fit into the space that the
6111         macro `TP' specifies, the rest of the tag went into the space for
6112         the next line.
6114 1999-09-12  Jeffrey Copeland  <jeff@opennt.com> 
6116         * grolj4/lj4.cc: Added duplex printing (option `-d').
6118         * grolj4/grolj4.man: Document duplex printing.
6120 1999-09-12  Werner LEMBERG  <wl@gnu.org>
6122         * doc/Makefile (pic.ps): Fixed rule which caused problems with
6123         non-GNUish sed programs.
6125         * tmac/doc-syms: Removed extra space from -iso8802-3 macro
6126         definition.
6128         * configure.in (LIBS): Added `-lc'
6130         * Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.
6132         * pic/tex.cc (solid_arc): Casting M_PI to double.
6134         * libgroff/putenv.c (putenv): Changed function header to ANSI C.
6136         * groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
6137         (new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
6138         file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.
6140         * groff/groff_man.man: New file.  This manual page was originally
6141         written for the Debian GNU/Linux system by Susan G. Kleinmann
6142         <sgk@debian.org>.
6144         * eqn/list.cc (list_box::compute_metrics,
6145         list_box::compute_sublist_width): Removed variable declaration to
6146         avoid shadowing warnings.
6148         * grops/psrm.cc (resource_manager::process_file): Ditto.
6150         * tfmtodit/tfmtodit.cc (main): Ditto.
6152         * libgroff/font.cc (font::load_desc): Renamed auxiliary variable
6153         to avoid shadowing warnings.
6155         * tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
6156         shadowing loop variable.
6158         * groff/groff.man, troff/troff.man: Added doc about grohtml.
6160 1999-09-12  Gaius Mulley  <gaius@glam.ac.uk>
6162         New grohtml frontend to convert groff input to html.
6164         * Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.
6166         * tmac/Makefile.sub (NORMALFILES): Added tmac.html.
6168         * tmac/eqnrc: Added html device.
6170         * tmac/tmac.html: New file.
6172         * eqn/main.cc (do_file, inline_equation), pic/troff.cc
6173         (troff_output::start_picture, troff_output::finish_picture),
6174         tbl/main.cc (process_input_file):
6175         Surrounded output with `graphics_start' and `graphics_end' so that
6176         the html driver can identify non-text portions.
6178         * grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
6179         (lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
6180         grotty/tty.ps (tty_printer::set_char): Additional parameter
6181         `name'.
6183         * include/printer.h: Class printer: New function
6184         set_char_and_width; new variables (is_char_named, is_named_set,
6185         named_command, named_char_s, named_char_n) to hold information
6186         about named characters -- needed by the html driver.
6188         * libdriver/printer.cc (printer::set_ascii_char,
6189         printer::set_special_char): Use set_char_and_width.
6191         * devhtml/*: New device files for html driver.
6193         * grohtml/*: New driver grohtml.
6195 1999-09-11  Wilfredo Sanchez  <wsanchez@apple.com>
6197         * tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
6198         default strings.
6200 1999-09-11  Luke Mewburn  <lukem@netbsd.org>
6202         * libgroff/string.cc (search): Small fix to test against NULL
6203         pointer.
6205 1999-09-11  Jeff Conrad  <jeff_conrad@msn.com>
6207         * troff/node.cc (copy): The characters in a bracket escape (e.g.,
6208         \b'abc') were stacked in reverse order when processed in a
6209         diversion.
6211         * troff/node.h: Added `*last' to struct `node' to make the above
6212         fix work.
6214         * troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
6215         The default scale for the 'f' and 't' graphics functions were 'm'
6216         rather than 'u' (i.e., no scaling).
6218 1999-09-11  Peter Miller  <peterm@jna.com.au>
6220         * groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
6221         do_file), soelim/soelim.man: Added `-I file' option to soelim,
6222         defining include paths.
6224         * soelim/soelim.cc (include_path_append): New function.
6226 1999-09-11  Larry Jones  <larry.jones@sdrc.com>
6228         * tbl/main.cc (process_options): Unix (at least Documenter's
6229         Workbench) tbl allows arbitrary non-alpha characters between
6230         options.
6232 1999-09-11  Paul Eggert  <eggert@twinsun.com>
6234         Y2k fixes.  Don't assume that the current year precedes 2000.
6236         * doc/meref.me: Add \n(y2, \n(y4.
6238         * tmac/doc-common (Yr): New number register.
6239         (Dd): Don't assume current year precedes 2000.
6241         * tmac/tmac.e (td): Likewise.
6242         (y2, y4): New number registers.
6244         * pic/pic.man: Update reference for pic paper to May, 1991
6245         version.
6247 1999-09-11  Werner LEMBERG  <wl@gnu.org>
6249         * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
6250         Removed quotation marks which prevented correct expansion of
6251         $(tmac_wrap).
6253         * devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).
6255 1999-09-10  Werner LEMBERG  <wl@gnu.org>
6257         * Makefile.sub (DISTCLEANFILES): Added `config.log' and
6258         `config.cache'.
6260         * Removed configure.old.
6262 1999-08-31  Werner LEMBERG  <wl@gnu.org>
6264         * VERSION: Updated to 1.11.1
6266 1999-05-27  Werner LEMBERG  <wl@gnu.org>
6268         * doc/Makefile: changed `.PS' postfix to `.ps' for consistency.
6270         * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
6271         added quotations around $(tmac_wrap) to avoid syntax error if
6272         variable is empty.
6274         * configure: Newly generated using autoconf 2.13.
6276         * Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.
6278 Fri Aug 15 08:51:47 1997  Eric S. Raymond  <esr@snark.thyrsus.com>
6280         * README, PROJECTS, NEWS, INSTALL, VERSION, 
6281         doc/Makefile. doc/pic.ms, groff/groff.man:
6282         Prepare for 1.11 release.  No code changes.
6283         Documentation for pic added (doc/pic.ms).
6285 Sun Nov 26 11:45:13 1995  James Clark  <jjc@jclark.com>
6287         * Version 1.10 released.
6289 Fri Nov 24 09:56:16 1995  James Clark  <jjc@jclark.com>
6291         * afmtodit/afmtodit.pl: Avoid comment on first line.
6293 Mon Nov 20 11:13:49 1995  James Clark  <jjc@jclark.com>
6295         * aclocal.m4 (GROFF_INSTALL_SH): New macro.
6296         * configure.in: Call it.
6298         * Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
6299         (distfiles): Doesn't depend on config.log or config.cache.
6301 Sun Oct  1 08:45:36 1995  James Clark  <jjc@jclark.com>
6303         * grog/grog.sh: Use print "" rather than print in END rule.
6305 Wed Aug 23 13:30:52 1995  James Clark  <jjc@jclark.com>
6307         * tbl/main.cc (process_data): Don't give error for excess data
6308         entries that are comments.
6310 Fri Jul 28 11:00:27 1995  James Clark  <jjc@jclark.com>
6312         * tbl/main.cc (process_data): Fix case where new for-scope rules
6313         silently change meaning of code.
6315 Tue Jul  4 23:39:51 1995  James Clark  <jjc@jclark.com>
6317         * troff/env.cc (hyphenate): Loop over all consecutive sequences
6318         of non-zero hyphenation codes.
6320 Sat Jul  1 00:42:15 1995  James Clark  <jjc@jclark.com>
6322         * aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.
6324 Thu Jun 29 13:58:36 1995  James Clark  <jjc@jclark.com>
6326         * tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.
6328 Tue Jun 27 12:30:16 1995  James Clark  <jjc@jclark.com>
6330         * tmac/tmac.andoc: Make it work in compatibility mode.
6332         * refer/token.h (token_info::is_range_sep): New function.
6333         * refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
6334         * refer/ref.cc (reference::output): More sophisticated check for
6335         multiple pages.
6337         * devps/prologue.ps (MANUAL): New procedure.
6338         * grops/ps.cc (main): New -m option.
6339         (usage): Include -m.
6340         (ps_printer::~ps_printer): Implement -m.
6342         * aclocal.m4 (GROFF_G): New macro.
6343         * configure.in: Call it.
6344         * Makefile.in (g): Provided by configure.
6346         * hpftodit/hpftodit.cc (basename): Rename to xbasename.
6348         * tmac/tmac.tty: Disable warning about bad fonts.  Remove font
6349         translations.
6351         * Makefile.in (tmacpath): Don't include /usr/lib/tmac.
6352         (tmac_m, tmac_s): Deleted.
6353         (sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
6354         tmac_s_prefix): New variables.
6355         (MDEFINES): Change accordingly.
6356         * Makefile.comm (.man.n): Use new TMAC_* variables.
6357         * configure.in (GROFF_TMAC): Call.
6358         * aclocal.m4 (GROFF_TMAC): Define.
6359         * tmac/Makefile.sub (stamp_wrap): New target.
6360         (install_data, uninstall_sub): Handle macro wrapping.
6362 Mon Jun 26 14:54:39 1995  James Clark  <jjc@jclark.com>
6364         * tbl/main.cc (main): Ignore -T option.
6366 Thu Jun 22 09:08:06 1995  James Clark  <jjc@jclark.com>
6368         * devlj4/generate/special.map: Add definition of \(nb.
6370         * tmac/tmac.dvi: Add definition of \(nb.
6372         * troff/dictionary.c (dictionary::dictionary): association::v gets
6373         initialized by association::association.
6375         * tmac/Makefile.sub: Avoid using temporary files when installing.
6377         * troff/env.cc (environment::set_font): Make bad font number a
6378         warning.
6380         * Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.
6382         * Makefile.in (datadir): Use share rather than lib.
6384         * groff/groff.cc (basename): Rename to xbasename.
6386 Wed Jun 21 16:59:46 1995  James Clark  <jjc@jclark.com>
6388         * Makefile (CCLIBS): Don't use.
6389         * Makefile.ccpg: Likewise.
6391         * acgroff.m4: Rename to...
6392         * aclocal.m4: Modify extensively for autoconf 2.
6393         * configure.in: Likewise.
6394         * Makefile.in: Likewise.
6396         * groff/pipeline.c (const): Declare as empty if __STDC__ not
6397         defined.
6398         (xstrsignal): Check for definition of NSIG. Conditionalize
6399         on SYS_SIGLIST_DECLARED.  Make return type const.
6401 Sat Jun 10 12:28:16 1995  James Clark  <jjc@jclark.com>
6403         * troff/input.cc (interpolate_macro): Rephrase missing space
6404         warning.
6406 Thu May 11 01:07:16 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6408         * addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
6409         grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
6410         grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
6411         libbib/index.cc, libbib/linear.cc, libbib/search.cc,
6412         libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
6413         libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
6414         libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
6415         pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
6416         refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
6417         tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
6418         troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
6419         Fix 'for' scoping.
6421 Wed Apr 19 21:15:11 1995  James Clark  <jjc@jclark.com>
6423         * troff/input.cc (spring_trap): Push a macro_iterator rather than a
6424         string_iterator.
6425         (spring_trap, postpone_traps, unpostpone_traps): Move to later in
6426         file.
6427         (macro_iterator::macro_iterator): Add additional argument.
6429 Mon Apr 10 12:06:02 1995  James Clark  <jjc@jclark.com>
6431         * troff/div.cc (vertical_size::vertical_size): In place of integer
6432         specifying line spacing use cunits specifying post vertical
6433         space.
6434         (macro_diversion::output, top_level_diversion::output): Likewise.
6435         * troff/div.h: Change declarations accordingly.
6436         * troff/env.cc (pending_output_line): Replace ls field by post_vs
6437         field.
6438         (pending_output_line::pending_output_line,
6439         pending_output_line::output, environment::output,
6440         environment::output_line, environment::output_title,
6441         environment::hyphenate_line):  In place of
6442         integer specifying line spacing use cunits specifying post vertical
6443         space.
6444         (environment::environment): Add post_vertical_spacing and
6445         prev_post_vertical_spacing arguments.
6446         (environment::get_post_vertical_spacing): New function.
6447         (environment::total_post_vertical_spacing): New function.
6448         (environment::post_vertical_spacing): New function.
6449         (init_env_requests): Initialize pvs request and .pvs register.
6450         * troff/env.h: Change declarations.
6452 Tue Mar 28 09:52:07 1995  James Clark  <jjc@jclark.com>
6454         * tmac/tmac.pspic: Immediately remove the temporary file.
6456 Sat Mar 25 10:43:11 1995  James Clark  <jjc@jclark.com>
6458         * tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
6459         height is specified.
6461 Thu Jan 26 16:20:13 1995  James Clark  <jjc@jclark.com>
6463         * tbl/table.c (struct vertical rule, class table_entry): Use int
6464         not short for start_row and end_row.
6466 Fri Jan 13 13:53:05 1995  James Clark  <jjc@jclark.com>
6468         * troff/input.cc (trapping_blank_line, blank_line_macro): New
6469         functions.
6470         (diverted_space_node::reread, process_input_stack): Call
6471         trapping_blank_line() rather than blank_line().
6472         (init_input_requests): Bind "blm" to blank_line_macro().
6474         * tmac/tmac.s (XA): Use .br and par@reset rather than XA.
6476 Tue Jan 10 11:40:35 1995  James Clark  <jjc@jclark.com>
6478         * troff/env.cc (environment::possibly_break_line): Require that
6479         width total excluding width of final space node be greater than
6480         the target text length.
6482 Tue Jan  3 09:13:37 1995  James Clark  <jjc@jclark.com>
6484         * troff/node.cc (kern_pair_node::vertical_extent): New function.
6486 Sun Dec  4 13:19:07 1994  James Clark  <jjc@jclark.com>
6488         * troff/node.cc (charinfo_node): New class.
6489         (glyph_node, composite_node): Derive from charinfo_node.  Change
6490         member functions accordingly.
6492 Wed Nov 30 10:29:29 1994  James Clark  <jjc@jclark.com>
6494         * nroff/nroff.sh: Use -Tlatin1 not -TLatin1.
6496 Mon Aug  8 10:17:59 1994  James Clark  (jjc@jclark.com)
6498         * tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].
6500         * devps/generate/textmap (notsubset): Add.
6502         * tmac/tmac.a4: New file.
6504 Sun Jul 24 20:08:42 1994  James Clark  (jjc@jclark.com)
6506         * pic/main.cc (had_parse_error): New variable.
6507         (do_picture, do_whole_file): Set had_parse_error if yyparse()
6508         returns non-zero.
6509         (main): Return 1 if had_parse_error is true.
6511 Tue Jul 19 13:40:31 1994  James Clark  (jjc@jclark.com)
6513         * grolj4/lj4.cc (main): Avoid use of strtoul.
6515 Mon Jul 18 15:03:02 1994  James Clark  (jjc@jclark.com)
6517         * nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
6518         iso_8859_1 or $LESSCHARSET is latin1.
6520 Sun Jul 10 13:38:35 1994  James Clark  (jjc@jclark.com)
6522         * hpftodit: New directory.
6523         * Makefile.in (CCPROGDIRS): Add hpftodit.
6524         * devlj4/generate: New directory.
6526 Thu Jul  7 23:49:48 1994  James Clark  (jjc@jclark.com)
6528         * configure.in: Don't use AC_VFORK.
6529         * groff/pipeline.c (run_pipeline): Use fork() always.
6531 Wed Jul  6 11:13:17 1994  James Clark  (jjc@jclark.com)
6533         * grops/ps.cc (main): Use %1 not %s in error message for -w.
6535         * Makefile.in (CCPROGDIRS): Add grolj4.
6536         (DEVDIRS): Add devlj4.
6537         * grolj4, devlj4: New directories.
6538         * tmac/troffrc: Handle lj4.
6539         * tmac/tmac.lj4: New file.
6541 Fri Jun 17 18:02:53 1994  James Clark  (jjc@jclark.com)
6543         * tmac/tmac.e (@n): Set indent to 0 before calling |h.
6545 Wed Jun  1 07:33:47 1994  James Clark  (jjc@jclark.com)
6547         * troff/input.cc (do_if_request): At end of second string, switch
6548         environments before getting next token.
6550 Fri May 20 07:39:18 1994  James Clark  (jjc@jclark.com)
6552         * devps/psstrip.sed: Split rule that strips whitespace on either
6553         side of delimiters.
6555 Wed May 18 08:13:47 1994  James Clark  (jjc@jclark.com)
6557         * troff/node.h (font_family::make_definition): Add return value to
6558         declaration.  * troff/symbol.h (symbol::operator==,
6559         symbol::operator!=): Likewise.
6561 Tue May 17 20:46:06 1994  James Clark  (jjc@jclark.com)
6563         * groff/groff.cc (main, help, synopsis): Handle -S.
6564         (possible_command::insert_arg): New function.
6566         * tmac/tmac.safer: New file.
6567         * tmac/msafer.man: New file.
6568         * tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.
6570 Thu Mar 10 01:58:30 1994  Paul Eggert  (eggert@twinsun.com)
6572         * pic/pic.h, pic/main.cc (safer_flag): New variable.
6573         * pic/pic.y (placeless_element): Avoid unsafe operations if
6574         `safer_flag' is set.
6575         * pic/main.cc (main): Add -S option, which sets `safer_flag'.
6577 Tue May 10 13:02:31 1994  James Clark  (jjc@jclark.com)
6579         * eqn/lex.cc (get_token): Put call to add_context() in block to
6580         work around Sun C++ 4.0 bug.
6582         * include/stringclass.h (operator +): Use ?: instead of `if' to
6583         work around Sun C++ 4.0 bug.
6585 Thu May  5 11:18:03 1994  James Clark  (jjc@jclark.com)
6587         * tbl/main.cc (process_format): Accept - as a synonym for the _
6588         key letter.
6590         * libbib/index.cc (minus_one): Don't declare as const.
6592 Fri Apr 29 09:32:48 1994  James Clark  (jjc@jclark.com)
6594         * troff/input.cc (get_char_for_escape_name): Push back a newline.
6596 Wed Apr 27 21:14:18 1994  James Clark  (jjc@jclark.com)
6598         * troff/input.cc (write_macro_request): New function.
6599         (init_input_requests): Bind write_macro_request to writem.
6601 Sun Apr 17 11:15:38 1994  James Clark  (jjc@jclark.com)
6603         * tmac/tmac.s (@EN): Turn filling back on even if there was no
6604         equation.
6606         * eqn/lex.cc (do_space): Supply missing argument to lex_error.
6608         * tmac/tmac.s (@TS): Renamed from TS.
6609         (TS): Call LP then TS again.
6610         (cov*ab-init): Alias @TS to TS.
6612         * tmac/tmac.s: Allow QP or RS to initialize.
6614         * tmac/tmac.s (par@load-init): New macro.  Call at end of file.
6615         Move initializations of PS and LL here.
6616         (par@init): Don't initialize HY.  Avoid changing environment 0.
6617         (par*env-init): Don't all par@reset.
6619 Thu Apr 14 19:15:45 1994  James Clark  (jjc@jclark.com)
6621         * include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.
6623 Sun Apr 10 09:54:44 1994  James Clark  (jjc@jclark.com)
6625         * Makefile.in (MDEFINES): Add LDFLAGS.
6626         (LDFLAGS): Add definition line.
6628 Thu Apr  7 22:22:22 1994  James Clark  (jjc@jclark.com)
6630         * troff/input.cc (get_optional_char): Split off error check into...
6631         (check_missing_character): New function.
6632         * troff/token.h: Declare it.
6633         * troff/env.cc (margin_character): Don't call get_optional_char.
6634         Only call tok.next() after making the node.
6636         * include/lib.h (getopt): Make 2nd argument char *const *.
6638 Fri Mar 11 07:28:03 1994  James Clark  (jjc@jclark.com)
6640         * nroff/conftest.sh: Deleted.
6642 Fri Mar  4 10:51:36 1994  James Clark  (jjc@jclark.com)
6644         * pic/make-dos-dist: Deleted.
6646 Wed Mar  2 20:59:16 1994  James Clark  (jjc@jclark.com)
6648         * devps/psstrip.sed: Strip comments before stripping trailing
6649         white space.
6651 Sat Feb 19 13:07:16 1994  James Clark  (jjc@jclark.com)
6653         * Version 1.09 released.
6655 Wed Feb 16 16:53:49 1994  James Clark  (jjc@jclark.com)
6657         * tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.
6659 Mon Feb 14 08:26:40 1994  James Clark  (jjc@jclark.com)
6661         * libgroff/font.cc (font::load_desc): Fix typo in error message.
6663 Sun Feb 13 09:37:38 1994  James Clark  (jjc@jclark.com)
6665         * libgroff/new.cc (operator new): Rewrite so as to avoid warning
6666         about returning without a value.
6668         * troff/charinfo.h (charinfo::get_special_translation): Cast
6669         TRANSLATE_NONE to int.
6671         * refer/token.cc (lookup_token, store_token): Remove bogus loop
6672         test.  Fix test so that it works with n unsigned.
6674         * pic/pic.y (defaults_table): Fully bracket initializer.
6675         * pic/lex.cc (lookup_keyword): Likewise.
6676         * eqn/lex.cc (token_table, def_table): Likewise.
6677         * eqn/box.cc (param_table): Likewise.
6678         * troff/input.cc (warning_table): Likewise.
6679         * libgroff/font.cc (table): Likewise.
6680         * grops/ps.cc (ps_printer::special): Likewise.
6681         * grops/psrm.cc (resource_manager::process_file): Likewise.
6682         * tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
6683         * refer/command.cc (command_table): Likewise.
6684         * addftinfo/addftinfo.cc (param_table): Likewise.
6686         * troff/symbol.cc (symbol::symbol): Prevent compiler warnings
6687         about temp's being unused.
6688         (unused): New function.
6690         * groff/pipeline.cc: Declare c_fatal.
6692         * libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
6693         uchar.
6695         * libbib/index.cc (index_search_item::load): Prevent compiler
6696         warnings about fd_closer's being unused.
6697         (unused): New function.
6699 Sat Feb 12 10:31:59 1994  James Clark  (jjc@jclark.com)
6701         * troff/input.cc (copy_mode_error): Make `prefix' static.
6702         Fix typo.
6704         * include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
6705         defined.
6706         * acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
6707         HAVE_CC_OSFCN_H and modify accordingly.
6709         * troff/input.cc (init_charset_table): radicalex overlaps
6710         horizontally.
6712         * groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
6713         udodo!hans@relay.NL.net).
6714         * groff/configure.in: Call it.
6716         * groff/acgroff.m4 (GROFF_PCLOSE): New macro.
6717         * groff/configure.in: Call it.
6718         * include/lib.h: Conditionalize declaration of pclose.
6720         * troff/div.cc (last_page_number): New global variable.
6721         (top_level_diversion::begin_page): Exit if we just printed the
6722         last page.
6723         * troff/div.h (last_page_number): Declare it.
6724         * troff/input.cc (parse_output_page_list): Set last_page_number.
6726         * eqn/sqrt.cc: Rename \(rn to \[radicalex].
6727         * devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
6728         tmac/tmac.X: Likewise.
6729         * tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
6730         * tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.
6732 Fri Feb 11 11:45:40 1994  James Clark  (jjc@jclark.com)
6734         * tmac/doc-ditroff (hK): Remove groff specific code which
6735         prevented page-breaks between separate manual entries.  If this is
6736         the first page, don't set the page number to 1.
6738         * acgroff.m4 (GROFF_POSIX): New macro.
6739         * configure.in: Use it.
6741         * troff/node.cc (class real_output_file,
6742         real_output_file::real_output_file,
6743         real_output_file::~real_output_file): Conditionalize use of
6744         popen/pclose on POPEN_MISSING.
6745         * troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
6746         * troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
6747         (pipe_source): Similarily.
6749         * acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
6751         * acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
6752         presence of declarations by trying to compile example with
6753         conflicting declarations.  (gcc only gives a warning for missing
6754         declarations.)
6756 Wed Feb  9 09:12:23 1994  James Clark  (jjc@jclark.com)
6758         * tmac/tmac.pspic (PSPIC): Allow options to specify alignment
6759         (from Ulrich Lauther).
6761 Tue Feb  8 03:56:40 1994  James Clark  (jjc@jclark.com)
6763         * libbib/linear.cc (file_buffer::load): Use S_ISREG macro.
6765 Thu Feb  3 09:34:35 1994  James Clark  (jjc@jclark.com)
6767         * indxbib/indxbib.cc (write_hash_table): Add code for case where
6768         pointers and ints have different sizes.
6770 Sun Jan  9 16:17:51 1994  James Clark  (jjc@jclark.com)
6772         * tmac/tmac.s (par*env-init): Call par@reset.
6774 Fri Jan  7 10:24:27 1994  James Clark  (jjc@jclark.com)
6776         * tmac/tmac.s (@IP): Switch to a new environment when diverting
6777         tag.
6778         (par*push-tag-env, par*pop-tag-env): New macros.
6780 Wed Jan  5 21:18:34 1994  James Clark  (jjc@jclark.com)
6782         * grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
6783         initializing `out'.  Reduce MAX_LINE_LENGTH from 79 to 72.
6785         * grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
6786         comment.  Include <time.h>.
6788 Wed Dec 15 14:14:00 1993  James Clark  (jjc@jclark.com)
6790         * grops/ps.cc (is_small_h, is_small_v): Deleted.
6791         (ps_printer::flush_sbuf): Use absolute motion only at beginning of
6792         lines.
6794 Tue Dec 14 10:06:34 1993  James Clark  (jjc@jclark.com)
6796         * troff/input.cc (read_request): Only print a prompt if reading
6797         from the terminal.  Also clearerr on EOF if reading from the
6798         terminal.  Declare isatty.
6800 Mon Nov 29 08:38:15 1993  James Clark  (jjc@jclark.com)
6802         * refer/label.y: Rename map_t to map_func and extractor_t to
6803         extractor_func.
6805 Sat Oct 30 06:38:12 1993  James Clark  (jjc@jclark.com)
6807         * include/assert.h: Don't use volatile.
6808         * libgroff/assert.cc: Likewise.
6810 Fri Oct 29 15:00:23 1993  James Clark  (jjc@jclark.com)
6812         * troff/input.cc (abort_request): Look at character in tok before
6813         calling get_copy().
6815 Thu Oct 28 14:09:48 1993  James Clark  (jjc@jclark.com)
6817         * troff/troff.h (NO_RETURN): Deleted.
6818         * troff/div.cc (cleanup_and_exit):  Don't declare aas NO_RETURN.
6819         * troff/input.cc (exit_troff): Likewise
6821         * Makefile.in: Remove `Making ...' messages since GNU make now
6822         gives these. 
6824         * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
6826 Wed Oct 27 11:12:51 1993  James Clark  (jjc@jclark.com)
6828         * tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
6829         to constant 1 inch.
6831 Sat Oct 23 10:03:52 1993  James Clark  (jjc@jclark.com)
6833         * tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.
6835 Thu Oct 14 12:09:45 1993  James Clark  (jjc@jclark.com)
6837         * eqn/delim.cc (delim_box::compute_metrics): Don't increase
6838         MARK_REG if there was no left delimiter.
6840 Sat Oct  2 19:54:47 1993  James Clark  (jjc@jclark.com)
6842         * pic/troff.cc (troff_output::text): Set line thickness to
6843         relative before outputting text.
6845         * tmac/tmac.e (@k): Don't zero ?T.
6846         ((z): Likewise.
6848 Sat Sep 25 11:08:43 1993  James Clark  (jjc@jclark.com)
6850         * tmac/tmac.e ($p): Handle possibility that $3 is empty.
6852 Wed Aug 18 08:51:41 1993  James Clark  (jjc@jclark.com)
6854         * troff/input.cc (decode_args): Warn about unquoted tabs (from
6855         Paul Eggert).
6857 Tue Aug 10 08:38:32 1993  James Clark  (jjc@jclark.com)
6859         * troff/input.cc (ignoring): New variable.
6860         (ignore): Set ignoring during call to do_define_macro.
6861         (do_define_macro): Clear ignoring before interpolating terminating
6862         macro.
6863         (copy_mode_error): New function.
6864         (get_char_for_escape_name, read_long_escape_name,
6865         interpolate_arg): Use copy_mode_error.
6866         (warning_table): Add WARN_IG.
6867         * troff/troff.h (WARN_IG): Declare.
6868         (WARN_TOTAL): Change accordingly.
6870         * groff/pipeline.c (strsignal): Rename to xstrsignal.
6871         * groff/groff.cc (strsignal): Delete declaration.
6873 Fri Jul 16 01:43:12 1993  James Clark  (jjc@jclark.com)
6875         * troff/div.cc (page_offset): Use 'm' as default scaling.
6877 Sat Jul  3 09:11:38 1993  James Clark  (jjc@jclark.com)
6879         * nroff/nroff.sh: Ignore -u.
6881 Wed Jun  9 12:17:27 1993  James Clark  (jjc@jclark.com)
6883         * Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.
6885 Fri Jun  4 17:35:47 1993  James Clark  (jjc@jclark.com)
6887         * tmac/tmac.s (par*box-draw): Set adjustment mode to l while
6888         drawing box.
6889         (B2): With -Tascii, leave additional vertical space before
6890         and after. Ensure that the left and right indent is restored to
6891         what it was even if the point size changes.  Don't call
6892         par@finish. Change the indent, line length and title length
6893         directly.  With -Tascii, make the width of the box 1n less.
6894         (B1): Remember 1n at the current point size.  Don't call
6895         par@reset.  Change the indent, line length and title length
6896         directly.  Ensure that the temporary indent is preserved.
6897         (par*box-mark-top): Turn off no spacing mode.
6899 Thu Jun  3 17:47:14 1993  James Clark  (jjc@jclark.com)
6901         * Makefile.in (dist): Use .gz suffix.
6903 Thu May 27 20:04:59 1993  James Clark  (jjc@jclark.com)
6905         * troff/input.cc (main): Add return 0.
6906         * pic/main.cc (main): Use return instead of exit.
6907         * tbl/main.cc (main): Likewise.
6908         * eqn/main.cc (main): Likewise.
6909         * grops/ps.cc (main): Likewise.
6910         * grotty/tty.cc (main): Likewise.
6911         * groff/groff.cc (main): Likewise.
6912         * grodvi/dvi.cc (main): Likewise.
6913         * refer/refer.cc (main): Likewise.
6914         * indxbib/indxbib.cc (main): Likewise.
6915         * lkbib/lkbib.cc (main): Likewise.
6916         * soelim/soelim.cc (main): Likewise.
6917         * addftinfo/addftinfo.cc (main): Likewise.
6918         * acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
6919         GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.
6921         * troff/token.h (process_input_stack): Don't declare as static.
6922         * troff/input.cc: Likewise.
6924         * troff/node.c (invalidate_fontno): Make it a static member of
6925         class font_family.  Change callers.
6926         * troff/node.c: Change declaration.
6928         * tbl/main.cc (struct input_entry_format): Add explicit public
6929         specifier.
6930         * tbl/table.cc (struct text_stuff, struct single_hline_stuff,
6931         struct double_hline_stuff): Likewise.
6932         * tbl/table.h (struct entry_format): Likewise.
6933         * pic/object.h (struct saved_state): Likewise.
6935         * include/stringclass.h: Add forward declarations of friend
6936         functions that are later declared as inline.  Don't include inline
6937         specifier in friend declaration.
6939         * libgroff/lib.h: Declare popen and pclose.
6940         * acgroff.m4 (GROFF_POPEN): New macro.
6941         * configure.in: Call it.
6943         * include/lib.h (PI): New constant. Undef first if necessary.
6944         * tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
6945         * grops/ps.cc (degrees, radians): Likewise.
6946         * libgroff/font.cc (font::get_skew): Likewise.
6948         * grops/ps.cc (is_ascii): New function.
6949         (ps_output::put_string): Use is_ascii.  Use csprint rather than
6950         isprint.
6951         (ps_printer::define_encoding): Use csspace.
6952         * libgroff/strtol.c (ISASCII): New macro.
6953         (strtol): Cast arguments to is*() and tolower() to unsigned char.
6954         Use ISASCII rather than isascii.
6955         * libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
6956         * libgroff/cset.cc: Likewise.
6957         * libdriver/input.cc: Include cset.h.
6958         (do_file, get_integer, possibly_get_integer): Use csdigit() rather
6959         than isdigit().
6961         * refer/refer.cc (main): Use %ld rather than %d for longs.
6963         * libbib/index.cc (index_search_item_iterator::get_tag): Use
6964         S_ISREG macro.
6966         * addftinfo/addftinfo.cc (param_t): Add explicit `int'.
6968 Mon May 24 08:51:37 1993  James Clark  (jjc@jclark.com)
6970         * troff/input.cc (hyphenation_code): Skip white space between
6971         char/code pairs.
6973 Sun May 16 08:15:52 1993  James Clark  (jjc at jclark.com)
6975         * tbl/table.h (table::entry_list_tailp): New member.
6976         (table::table): Initialize it.
6977         (table::add_entry): Use entry_list_tailp to avoid O(n^2)
6978         behaviour.
6980 Sat May 15 17:26:00 1993  James Clark  (jjc at jclark.com)
6982         * grotty/tty.cc (tty_printer::add_char): Don't discard characters
6983         with negative horizontal positions. Remove casts of glyph::hpos to
6984         int.
6985         (USHRT_MAX): Delete definition.
6986         (SHRT_MAX, SHRT_MIN): New definitions.
6987         (glyph::hpos): Change type to short.
6988         (tty_printer::end_page): Output multiple backspaces if necessary.
6989          Remove casts of glyph::hpos to int.
6990         
6991 Fri May  7 12:14:37 1993  James Clark  (jjc at jclark.com)
6993         * tmac/tmac.s (@RT): New definition.
6995 Thu May  6 21:36:54 1993  James Clark  (jjc at jclark.com)
6997         * refer/refer.cc (do_file): Make sure current_filename is set when
6998         filename is "-".
7000         * pic/common.cc (common_output::dot_line): Handle zero length
7001         lines.
7003 Sun May  2 19:54:16 1993  James Clark  (jjc at jclark.com)
7005         * tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
7006         (par@init): Initialize \n[HY].
7008 Mon Apr 26 11:43:16 1993  James Clark  (jjc at jclark.com)
7010         * troff/dictionary.cc (dictionary::remove): Continue when
7011         r < j < i.
7013 Sun Apr 25 11:03:00 1993  James Clark  (jjc at jclark.com)
7015         * Makefile.com (.y.cc): Avoid ending up with two versions of
7016         $(YTABH).
7018 Thu Apr 22 21:03:45 1993  James Clark  (jjc at jclark.com)
7020         * tmac/tmac.dvi (\(,c): Define only if it does not exist.
7021         (\(,C): Likewise.  Also fix typo.
7023 Wed Apr 21 08:47:32 1993  James Clark  (jjc at jclark.com)
7025         * lib.h: Delete extraneous semi-colon.
7027         * Add pso request: `so' from a pipe.
7028         * troff/input.c (file_iterator::file_iterator): Add 3rd argument.
7029         (file_iterator::close): New function.
7030         (file_iterator::~file_iterator, file_iterator::next_file): Use
7031         file_iterator::close.
7032         (file_iterator::backtrace): Say `process' rather than `file' when
7033         the stream is popened.
7034         (pipe_source): New function.
7035         (init_input_requests): Bind ".pso" to pipe_source.
7037 Tue Apr 20 00:02:26 1993  James Clark  (jjc at jclark.com)
7039         * afmtodit/afmtodit.pl: Avoid single quotes in comments.
7041         * pfbtops/pfbtops.c: Output 64 characters per line.  Output hex
7042         digits in lower case.
7044 Mon Apr 19 09:55:57 1993  James Clark  (jjc at jclark)
7046         * Version 1.08 released.
7048         * Makefile.in (dist): Insert || true after ln -s commands that
7049         might fail.
7051         * mm: Update to mm 1.16.
7053         * acgroff.m4 (GROFF_CSH_HACK): New macro.
7054         * configure.in: Call GROFF_CSH_HACK.  Substitute for
7055         SH_SCRIPT_SED_CMD.
7056         * Makefile.in (SH_SCRIPT_SED_CMD): New variable.  Include in
7057         MDEFINES.
7058         * nroff/Makefile.sub (nroff): New target.
7059         (install_data): Install nroff.
7060         * eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
7061         * grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.
7063 Sat Apr 17 08:24:28 1993  James Clark  (jjc at jclark)
7065         * eqn/Makefile.sub (neqn): Add chmod +x.
7067         * grog/Makefile.sub (grog): Remove spurious semi-colon.
7069 Fri Apr 16 22:41:57 1993  James Clark  (jjc at jclark)
7071         * troff/input.cc (string_iterator::string_iterator()): Initialize
7072         lineno and count.
7074 Tue Apr 13 10:22:28 1993  James Clark  (jjc at jclark)
7076         * troff/div.cc (macro_diversion::space,
7077         top_level_diversion::space): Don't set high_water_mark.
7078         (macro_diversion::output, top_level_diversion::output): Don't
7079         include post line space in high water mark.
7081 Wed Apr  7 12:48:18 1993  James Clark  (jjc at jclark)
7083         * eqn/eqn.y: Don't define YYDEBUG.
7084         * pic/pic.y: Likewise.
7086 Mon Apr  5 10:15:15 1993  James Clark  (jjc at jclark)
7088         * tmac/tmac.e ([3): Add space after comma following editors.
7089         Change double spaces to single spaces.
7090         ([4): Change double spaces to single spaces.
7092         * grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
7093         * grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
7094         bit is set in broken_flags, use 2.0 rather than 3.0 as the version
7095         after %!PS-Adobe- (for Newsprint).
7097         * troff/div.cc (top_level_diversion::begin_page): When
7098         before_first_page is 1, set page_number to 1.
7100 Sun Apr  4 14:28:53 1993  James Clark  (jjc at jclark)
7102         * eqn/box.cc (box::top_level): Protect equation with \&.
7104 Sat Apr  3 23:27:25 1993  James Clark  (jjc at jclark)
7106         * groff/groff.cc (possible_command::set_name): Delete old name.
7108         * groff/groff.cc (possible_command::~possible_command): Use
7109         a_delete.
7111         * troff/node.cc (troff_output_file::begun_page): New member.
7112         (troff_output_file::troff_output_file): Initialize it.
7113         (troff_output_file::really_begin_page): Only output V command if a
7114         page has been begun.
7116         * pic/pic.y (placeless_element): Delete argument to PRINT after
7117         use.
7119 Fri Apr  2 11:31:02 1993  James Clark  (jjc at jclark)
7121         * Make wrapman work.
7122         * troff/div.h (class top_level_diversion): Replace
7123         first_page_begun by before_first_page (with opposite sense).
7124         * Change first_page_begun to before_first_page inverting sense.
7125         * troff/div.cc (class nl_reg): New class.
7126         (init_div_requests): Use class nl_reg for \n(nl.
7127         (top_level_diversion::begin_page): Don't call
7128         output_file::begin_page if before_first_page is 2;
7129         reset before_first_page afterwards.  If have_next_page_number is
7130         false, then always increment page_number.
7131         * tmac/tmac.an: Set traps within TH rather than at the top-level.
7132         Restore compatibility mode after loading, and then disable
7133         compatibility mode in TH.
7135 Thu Apr  1 11:09:34 1993  James Clark  (jjc at jclark)
7137         * grotty/tty.cc (tty_printer::end_page): Don't discard characters
7138         past last line.
7139         * troff/node.h (output_file::trailer): Declare.
7140         * troff/div.cc (cleanup_and_exit): Call output_file::trailer().
7141         * troff/node.cc (output_file::trailer): New function.
7142         (troff_output_file::~troff_output_file): Move most code into...
7143         (troff_output_file::trailer): New function.
7144         (class troff_output_file): Delete page_length member. Declare
7145         trailer().
7146         (troff_output_file::really_begin_page): Use current page length
7147         for final V command.
7149         * tbl/main.cc (struct options): New decimal_point_char member.
7150         (options::options): Initialize this.
7151         (process_options): Implement decimalpoint option.
7152         (process_data): Pass decimal_point_char option to table::table.
7153         * tbl/table.h (class table): New decimal_point_char member.
7154         (table::table): Add additional argument.
7155         * tbl/table.cc (find_dot): Rename to find_decimal_point. Add
7156         second argument specifying decimal point character.  Use this
7157         instead of '.'.
7158         (table::table): Initialize decimal_point_char.
7159         (table::add_entry): Change call to find_dot.
7161         * troff/input.cc (get_copy, token::next): Implement \V.
7162         (interpolate_environment_variable): New function.
7164 Tue Mar 30 14:41:39 1993  James Clark  (jjc at jclark)
7166         * pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
7167         * pic/pic.y: Likewise.
7169         * grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
7170         Add casts to int.
7171         * refer/ref.cc (reference::insert_field, reference::delete_field):
7172         Likewise.
7173         * troff/number.cc (parse_term): Likewise.
7175         * acgroff.m4 (GROFF_PROG_YACC): New macro.
7176         * configure.in: Use GROFF_PROG_YACC.
7178         * acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
7179         and g++.
7180         * Makefile.in (OPTIMIZE): New define.
7181         (DEBUG): Empty by default.
7182         (CCFLAGS, CFLAGS): Include $(OPTIMIZE).
7184         * acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
7185         (GROFF_ARRAY_DELETE): Likewise.
7186         (GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.
7188         * troff/env.cc (trie::~trie): Make virtual to shut up g++.
7190         * devps/psstrip.sed: Use different delimiter on last line (so that
7191         it works with BSD 4.4 sed.)
7193 Mon Mar 29 17:07:14 1993  James Clark  (jjc at jclark)
7195         * devps/psstrip.sed: Delete comments.
7197         * acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
7198         optind, opterr, optarg.
7199         * lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
7200         opterr, optarg.
7202 Sun Mar 28 17:44:25 1993  James Clark  (jjc at jclark)
7204         * Makefile.in (check): Dummy target.
7206 Wed Mar  3 04:53:38 1993  James Clark  (jjc at jclark)
7208         * Version 1.07 released.
7210         * Integrate mm 1.11.
7212         * tbl/table.cc (alphabetic_block_entry::print): start_row was used
7213         where start_col was meant.
7215 Thu Feb 25 07:55:36 1993  James Clark  (jjc at jclark)
7217         * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
7219 Wed Feb 24 10:15:34 1993  James Clark  (jjc at jclark)
7221         * troff/input.cc (token::next): Make \z\o'...' and similar things
7222         work.
7224         * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
7225         constants.
7226         (environment): Add margin_character_flags member.
7227         * env.cc (environment::environment(symbol),
7228         environment::environment(const environment *): Initialize
7229         margin_character_flags.
7230         (margin_character): Rewrite.
7231         (environment::output_line): Add a margin character if
7232         margin_character_flags is non-zero.  Turn off the
7233         MARGIN_CHARACTER_NEXT bit.  If that makes margin_character_flags
7234         zero, use margin_character_node without copying and then set
7235         margin_character_node to 0.
7237         * devps/DESC.in: Change minimum size to 1000.
7239 Tue Feb 23 14:57:49 1993  James Clark  (jjc at jclark)
7241         * troff/symbol.h (symbol::hash): Change return type to unsigned
7242         long.
7243         * troff/dictionary.cc (dictionary::lookup, dictionary::remove):
7244         Add casts to int.
7246         * test-groff: Use -r rather than -x.
7248         * grops/psfig.diff: Include in distribution again.
7250 Mon Feb 22 09:10:44 1993  James Clark  (jjc at jclark)
7252         * Makefile.in (dist): Use gzip.
7254 Sun Feb 21 11:12:53 1993  James Clark  (jjc at jclark)
7256         * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
7257         unistd.h as well as in stdlib.h.
7258         * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
7259         defined; otherwise include <sys/types.h> and <unistd.h> if
7260         UNISTD_H_DECLARES_GETOPT is defined.
7262         * configure.in: use builtin(include, ... rather than include(...
7263         * configure: Regenerate with autoconf 1.3.
7265         * libdriver/print.cc (printer::adjust_arc_center): Use new
7266         algorithm suggested by Andy Fyfe.
7268         * libdriver/printer.cc (printer::adjust_arc_center): New function.
7269         * include/printer.h: Declare this.
7270         * grops/ps.cc (ps_printer::draw): Use it.
7271         * grodvi/dvi.cc (dvi_printer::draw): Use it.
7273 Fri Feb 19 23:13:51 1993  James Clark  (jjc at jclark)
7275         * Makefile.comm (.man.n): Replace macrodir by tmacdir.
7277 Thu Feb 11 16:46:59 1993  James Clark  (jjc at jclark)
7279         * eqn/main.cc (main): Handle "eqn -".
7281 Mon Jan  4 20:29:56 1993  James Clark  (jjc at jclark)
7283         * tmac/tmac.e (++): Install fix from comp.bugs.4sd.
7285         * mm: Integrate version 1.08.
7287         * pic/troff.cc (troff_output::finish_picture): Set
7288         EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
7289         * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
7290         if it's not defined. Check whether the register is non-zero rather
7291         than whether it's not defined.
7292         * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
7294         * indxbib/indxbib.cc: Move all signal handling into...
7295         * indxbib/signal.c: New file.
7296         * configure.in: Call AC_RETSIGTYPE.
7298         * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
7299         * configure.in: Call GROFF_STRUCT_EXCEPTION.
7300         * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
7302         * troff/input.cc (token::token, token::operator=): Work round SGI
7303         C++ bug.
7304         * pic/object.cc (position::position): Likewise.
7306 Mon Dec 28 21:50:21 1992  James Clark  (jjc at jclark)
7308         * pic/pic.h: Move declaration of hypot().
7310 Wed Dec 16 12:28:29 1992  James Clark  (jjc at jclark)
7312         * pic/pic.h: Declare hypot().
7314         * pic/pic.h: Define M_PI if necessary.
7316 Thu Dec 10 12:03:29 1992  James Clark  (jjc at jclark)
7318         * tmac/tmac.e (re): Add alternative version that doesn't use groff
7319         `.ta T' feature.
7321         * devps/prologue.ps (RE): Handle the possibility that the old font
7322         doesn't have a FontName entry.
7324 Wed Dec  2 10:25:29 1992  James Clark  (jjc at jclark)
7326         * tmac/tmac.e (fam): Redefine to set family in environment 2.
7327         (@C): Use @fam not fam.
7329 Thu Nov 26 16:01:25 1992  James Clark  (jjc at jclark)
7331         * lookbib/lookbib.cc (main): Change type of start to const char *.
7332         * lkbib/lkbib.cc (main): Likewise.
7334         * eqn/lex.cc (definition::definition): Don't use member
7335         initializer syntax for members of anonymous unions.
7337         * troff/input.cc (input_stack::backtrace): Change type of to const
7338         char *.
7340 Wed Nov 25 13:43:09 1992  James Clark  (jjc at jclark)
7342         * include/stringclass.h (class string): Declare inline friend
7343         functions as inline in class declaration.
7344         * troff/hvunits.h (class hunits, class vunits): Likewise.
7345         * include/refid.h (class reference_id): Likewise
7346         * troff/troff.h (points_to_units(units), scale(units, double)):
7347         Delete declarations.
7348         * libdriver/input.cc (get_char): Delete declaration.
7349         * include/lib.h: Change 2nd argument of getopt from const char **
7350         to char **.
7351         * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
7352         char **' before assigning to a `const char **'.
7353         * tbl/table.cc: Delete extra declarations of prints().
7355 Tue Nov 24 14:33:13 1992  James Clark  (jjc at jclark)
7357         * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
7358         char **' before assigning to a `const char **'.
7360         * libgroff/errarg.cc (errarg::errarg): Don't use member
7361         initializer syntax for members of anonymous unions.
7363 Sat Nov 21 05:02:23 1992  James Clark  (jjc at jclark)
7365         * mm: Integrate version 1.07.
7367 Tue Nov 17 16:44:27 1992  James Clark  (jjc at jclark)
7369         * troff/input.c (translate2): Rename to
7370         (translate_no_transparent).
7371         (init_input_requests): Rename tr2 to trnt.
7373 Mon Nov 16 09:49:32 1992  James Clark  (jjc at jclark)
7375         * troff/charinfo.h (class charinfo): Add transparent_translate field.
7376         (charinfo::set_translation, charinfo::set_special_translation):
7377         Add second argument that specifies value for
7378         transparent_translate.
7379         (charinfo::get_translation, charinfo::get_special_translation):
7380         Add optional second argument that specifies whether translation is
7381         being used for transparent throughput.
7382         * troff/input.cc (charinfo::set_translation,
7383         charinfo::set_special_translation): Handle second argument.
7384         (charinfo::charinfo): Initialize transparent_translate.
7385         (translate): Split main part off into
7386         (do_translate): New function.  Pass argument saying whether
7387         translation applies to transparent throughput.
7388         (translate2): New request.
7389         (init_input_requests): Bind translate2 to `tr2'.
7391 Wed Nov 11 11:43:20 1992  James Clark  (jjc at jclark)
7393         * tbl/table.h (class table): Add `nokeep' flag.
7394         * tbl/main.cc (process_options): Handle `nokeep' option.
7395         * tbl/table.cc (table::init_output, table::do_row, table::do_top,
7396         table::do_bottom): Don't output keep/release macro definitions or
7397         calls when `nokeep' option has been specified.
7399 Sat Nov  7 01:28:33 1992  James Clark  (jjc at jclark)
7401         * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
7403 Wed Nov  4 16:29:04 1992  James Clark  (jjc at jclark)
7405         * tbl/table.cc (table_entry::divert, block_entry::do_divert,
7406         block_entry::divert, alphabetic_block_entry::divert): Add extra
7407         argument giving column separation.
7408         (table::compute_widths): Pass column separation to
7409         table_entry::divert().
7410         (block_entry::do_divert): If an entry spans multiple columns and a
7411         minimumum width has been specified for each column, then set the
7412         line length to the sum of the widths (plus possibly the column
7413         separations).
7415         * troff/input.cc (set_escape_char): Don't set the escape_char
7416         until after calling has_arg().
7418 Tue Nov  3 11:23:27 1992  James Clark  (jjc at jclark)
7420         * tbl/table.cc (table::do_top): Add missing \s0 for double box
7421         case.
7423         * tbl/table.cc (table::print_double_hline): Avoid extra new line
7424         in case where r > nrows - 1.
7426         * tbl/table.cc (BODY_HEIGHT): Deleted.
7427         (LINE_SEP): New definition.
7428         (table::print_single_hline, table::print_double_hline,
7429         table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
7430         table::do_row, table::do_top): Use LINE_SEP space before a line
7431         instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.
7433         * tbl/table.cc (text_entry::print_contents): New function.
7434         (text_string_name, right_text_string_name): Deleted.
7435         (TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
7436         (simple_text_entry::do_width, numeric_text_entry::do_width,
7437         alphabetic_text_entry::do_width): Don't store the contents of the
7438         entry in a string.
7439         (left_text_entry::simple_print, right_text_entry::simple_print,
7440         center_text_entry::simple_print,
7441         alphabetic_text_entry::simple_print,
7442         numeric_text_entry::simple_print): Print the entry directly
7443         instead of using the stored string.
7445 Fri Oct 30 10:39:32 1992  James Clark  (jjc at jclark)
7447         * devps/Makefile: Strip PostScript files.
7448         * devps/prologue: Rename to...
7449         * devps/prologue.ps.
7450         * devps/psstrip.sed: New file.
7451         * devps/download: Use .pfa rather than .ps for installed versions
7452         of fonts.
7454 Thu Oct 29 09:14:43 1992  James Clark  (jjc at jclark)
7456         * troff/env.cc (input_trap): Give a warning if the argument is out
7457         of range.
7459         * troff/env.cc (adjust): Treat negative argument as missing. Round
7460         argument > 5 down to 5.
7462         * troff/env.cc (center, right_justify): Make negative argument zero.
7464         * troff/div.cc (page_offset, vertical_position_traps): Treat
7465         invalid argument as missing.
7466         * troff/env.cc (line_spacing, line_length, title_length, indent,
7467         underline, hyphen_line_max_request, control_char,
7468         no_break_control_char, widow_control_request, adjust, input_trap,
7469         point_size): Likewise.
7470         * troff/node.cc (ligature, kern_request, bold_font, track_kern,
7471         constant_space): Likewise.
7472         * troff/input.cc (compatible, shift, warn_request,
7473         set_escape_char): Likewise.
7475         * tbl/main.cc (format::format): Avoid doing `new int[0]'.
7476         * tbl/table.cc (table::table): Likewise.
7478         * Makefile.dev (install_dev): depends on $(DEVFILES).
7480 Wed Oct 28 08:30:57 1992  James Clark  (jjc at jclark)
7482         * devX75, devX75-12, devX100, devX100-12: New directories.
7483         * Makefile.in: Add these to DEVDIRS.
7485         * troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
7486         afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
7487         grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
7488         * Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
7489         targets.
7490         * Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
7491         (uninstall): New target.
7492         * Makefile.comm (uninstall, uninstall_sub, uninstall_man,
7493         uninstall_prog, uninstall_dev): New targets.
7495         * troff/div.cc (return_request): Treat an invalid argument as
7496         missing.
7498 Mon Oct 26 11:33:47 1992  James Clark  (jjc at jclark)
7500         * tmac/tmac.e ((f): Set up the environment even when there's a
7501         current diversion.  Transperently throughput a call to @N.
7502         (@N): New macro.
7504 Thu Oct 22 05:05:59 1992  James Clark  (jjc at jclark)
7506         * tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
7507         up to vertical resolution.
7509         * tbl/table.cc (table::do_row): Change row number after printing
7510         stuff list.
7512         * pic/lex.cc (get_token_after_dot): Make .left and .right work.
7514 Wed Oct 21 14:46:45 1992  James Clark  (jjc at jclark)
7516         * Rename CHANGES to NEWS.
7518 Tue Oct 20 23:25:21 1992  James Clark  (jjc at jclark)
7520         * libgroff/new.cc (operator new): Avoid calling malloc(0).
7522 Mon Oct 19 09:10:13 1992  James Clark  (jjc at jclark)
7524         * man.ultrix: Removed.
7526 Sun Oct 18 06:35:15 1992  James Clark  (jjc at jclark)
7528         * Makefile.comm (extraclean): Delete files whose names begin with
7529         `='.
7531         * pic/troff.cc (troff_output::text): Fix typo in implementation of
7532         aligned text.
7534 Sat Oct 10 09:32:29 1992  James Clark  (jjc at jclark)
7536         * troff/env.cc (hyphenate_request, vertical_spacing, no_number):
7537         * troff/div.cc (page_length, need_space, space_request): Treat
7538         invalid optional argument as missing.
7539         * troff/env.cc (number_lines): If the first argument is present
7540         but not a number, turn on line numbering, don't change the next
7541         line number and parse the remaining arguments.
7543         * tmac/tmac.e (@q): Do the `ne' before changing to environment 2.
7545 Thu Oct  8 10:24:40 1992  James Clark  (jjc at jclark)
7547         * eqn/box.h: Change declaration accordingly.
7548         * eqn/box.cc (set_gsize): Change return type to int.  Return 0 if
7549         the specified size was bad but don't give an error.  Check for
7550         overflow.
7551         * eqn/main.cc (main): Change caller. Leave validation to set_gsize.
7552         * eqn/lex (do_size): Likewise.
7554 Wed Oct  7 09:48:59 1992  James Clark  (jjc at jclark)
7556         * acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
7557         compatible headers.
7559 Sun Oct  4 18:24:02 1992  James Clark  (jjc at jclark)
7561         * tbl/table.cc (table::init_output): Improve error message when
7562         table won't fit on one page.
7564 Fri Oct  2 10:41:40 1992  James Clark  (jjc at jclark)
7566         * pic/troff.cc (troff_output::start_picture): Generate line
7567         containing a horizontal motion equal to the width of the picture.
7569         * groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
7570         using GROFF_COMMAND_PREFIX environment variable.
7572 Fri Sep 25 11:40:40 1992  James Clark  (jjc at jclark)
7574         * mdate.sh: Use $NF rather than $(NF).
7576 Tue Sep 22 09:47:24 1992  James Clark  (jjc at jclark)
7578         * pic/main.cc (main):  Use %1 not %c in argument to warning.
7580         * eqn/main.cc (main): Output code to check that geqn was given the
7581         correct -T option.
7583 Mon Sep 21 10:59:16 1992  James Clark  (jjc at jclark)
7585         * Makefile.in (dist): Instead of doing `make -f ../Makefile', do
7586         `ln -s ../Makefile .; make; rm -f Makefile'.
7588         * troff/hyphen: Rename to...
7589         * troff/hyphen.us:
7590         * troff/input.cc (main): Delete -H option. Don't call
7591         read_hyphen_file().
7592         * troff/env.cc: Include searchpath.h and macropath.h.
7593         (exception_dictionary): Deleted.
7594         (ht): Deleted.
7595         (read_hyphen_file): Deleted.
7596         (hyphenation_language): New struct.
7597         (class trie, class hyphen_trie): Move declarations up.
7598         (trie_node::~trie_node): Deleted.
7599         (trie::delete_trie_node): New function.
7600         (trie::do_delete): New pure virtual function.
7601         (hyphen_trie::do_delete): New function.
7602         (trie::~trie): New function.
7603         (hyphen_trie::~hyphen_trie): New function.
7604         (trie::clear): No need to chcek that tp is not 0.
7605         (current_language, language_dictionary): New variables.
7606         (hyphen_word): Give an error if no current language.  Use
7607         exceptions dictionary in current language.
7608         (hyphen_trie::read_patterns_file): Find file using macro_path.
7609         Allow comments (starting with %) in patterns file.  Don't make it
7610         a fatal error if the file can't be found.
7611         (hyphenate): Return if no current language.  Get the exceptions
7612         dictionary and the hyphenation patterns from the current language.
7613         (set_hyphenation_language): New variable.
7614         (hyphenation_patterns_file): New function.
7615         (hyphenation_language_reg): New class.
7616         (hyphenation_language_reg::get_string): New function.
7617         (init_hyphen_requests): Bind "hla" to set_hyphenation_language and
7618         "hpf" to hyphenation_patterns_file.  Initialize `.hla' number
7619         register.
7620         * groff/groff.cc (main, help, synopsis): Delete -H option.
7621         * include/Makefile.sub: Don't define HYPHENFILE.
7622         * Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
7623         * Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
7624         * tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
7625         hyphenation patterns.
7627 Sun Sep 20 09:33:02 1992  James Clark  (jjc at jclark)
7629         * eqn/neqn.sh: New file.
7630         * eqn/Makefile.sub: Handle neqn.sh.
7632         * eqn/eqn.h: Declare `nroff' variable.
7633         * eqn/box.cc (param_table): Add `nroff' param.
7634         (nroff): Define it.
7635         * eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
7636         variable.
7637         * tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.
7639         * troff/troff.h (WARN_FONT): New warning.
7640         (WARN_TOTAL): Change accordingly.
7641         * troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
7642         (warning_table): Add WARN_FONT.
7643         * troff/node.cc (mount_font_no_translate): Pass argument to
7644         font::load_font.  If this is non-zero, give a warning.
7645         Don't give an error message when accessing a font that has already
7646         been found to be invalid.
7647         * include/font.h (font::load, font::load_font): Add additional
7648         optional argument which suppresses error message if the font is
7649         not found.
7650         * libgroff/font.cc (font::load_font): Handle additional argument.
7651         (font::load): Add additional argument. If this is non-null, set it
7652         to 1 and don't give error message.
7654         * include/printer.h (printer::end_page): Add argument giving
7655         length of page.
7656         * libdriver/input.cc (do_file): Pass this.
7657         * grops/ps.cc (ps_printer::end_page): Add argument.
7658         * grodvi/dvi.cc (dvi_printer::end_page,
7659         draw_dvi_printer::end_page): Add argument.
7660         * grotty/tty.cc (class tty_printer): Remove lines_per_page and
7661         columns_per_page members. New member nlines.
7662         (DEFAULT_LINES_PER_PAGE): Deleted.
7663         (tty_printer::tty_printer): Don't compute lines_per_page from
7664         font::paperlength. Don't compute columns_per_page from
7665         font::paperwidth.
7666         (tty_printer::add_char): Don't check horizontal position against
7667         columns_per_page. Grow glyphs vector if neccessary.
7668         (tty_printer::end_page): Add argument giving page_length in units.
7669         Discard lines past end of page.
7671 Wed Sep 16 06:29:52 1992  James Clark  (jjc at jclark)
7673         * tmac/tmac.tty-char: Fix definition of \(/l.
7675         * tmac/tmac.X: Define \(en.
7677 Tue Sep 15 10:37:13 1992  James Clark  (jjc at jclark)
7679         * acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
7680         lpq, then use lp rather than lpr.
7682         * tmac/tmac.s (par@reset): Don't call `ad'.
7683         (par*env-init): Call `ad'.
7685 Sun Sep 13 18:48:20 1992  James Clark  (jjc at jclark)
7687         * mdate.sh: Use $(NF) instead of $6 to extract year from output of
7688         date.
7690         * troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
7691         * indxbib/indxbib.cc: Likewise.
7693 Sun Sep  6 09:44:46 1992  James Clark  (jjc at jclark)
7695         * libgroff/putenv.c: New file.
7696         * libgroff/Makefile.sub: Add putenv.c to CSRCS.
7697         * Makefile.in: Say that putenv.o can be one of LIBOBJS.
7698         * configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
7699         stdlib.h with AC_HAVE_HEADERS.
7701 Sat Sep  5 18:11:52 1992  James Clark  (jjc at jclark)
7703         * indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
7704         does not exist.
7706 Fri Sep  4 09:43:26 1992  James Clark  (jjc at jclark)
7708         * eqn/box.cc (gsize): Make it an int.
7709         (set_gsize): Parse argument handling increment or decrement.
7710         (box::top_level): Convert gsize to a string.
7712         * troff/input.cc (exit_troff): Make buf unsigned char [].
7713         Call to make_temp_iterator casts buf to char*.
7715         * Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.
7717         * Makefile.ccpg (depend.temp): Depends on $(YTABC).
7718         * Makefile.cpg (depend.temp): Likewise.
7720         * Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).
7722         * Makefile.comm: Add y.output to MOSTLYCLEANFILES.
7724 Thu Sep  3 08:01:55 1992  James Clark  (jjc at jclark)
7726         * tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.
7728 Tue Sep  1 18:24:53 1992  James Clark  (jjc at jclark)
7730         * Version 1.06 released.
7732         * Integrate mm 1.04.
7734 Fri Aug 28 11:28:19 1992  James Clark  (jjc at jclark)
7736         * Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.
7738 Thu Aug 27 11:03:33 1992  James Clark  (jjc at jclark)
7740         * afmtodit/afmtodit.pl: Add -n option that disables generation of
7741         ligatures command.
7742         * devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
7743         afmtodit. Regenerate.
7745         * tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
7746         @f back past the current position.
7748         * tmac/tmac.e: Change calls to @R so that comments are not part of
7749         arguments.
7751 Tue Aug 25 10:42:07 1992  James Clark  (jjc at jclark)
7753         * configure.in: Check for mkstemp with AC_HAVE_FUNCS.
7755         * acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
7756         check that we can link a call to a function declared in <stdio.h>.
7757         (GROFF_UNISTD_H): New macro.
7758         * configure.in: Call it.
7759         * Makefile.in: Document it.
7760         * include/posix.h: New file.
7761         * troff/troff.h: Don't include <osfcn.h>
7762         * troff/input.cc: Include posix.h.
7763         * libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
7764         osfcn.h.
7765         * indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
7766         Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
7767         <fcntl.h>.
7768         * indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
7769         * libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
7770         * libbib/search.cc (O_RDONLY): Delete definition.
7771         * refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
7772         Don't include <osfcn.h>.
7774         * acgroff.m4 (GROFF_TIME_T): New macro.
7775         * configure.in: Call it.
7776         * Makefile.in: Document it.
7778         * acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
7779         * configure.in: Call it.
7780         * Makefile.in: Document -DTRADITIONAL_CPP.
7781         * include/ptable.h: Don't include generic.h.
7782         (name2): Define it.
7784         * tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
7785         Afterwards remove [T1 and [T2.
7786         (ref*spec!0, ref*spec!2): Use T1 rather than T.
7787         (ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
7788         (ref*add-T2): Renamed from ref*add-T.
7789         (ref*add-T1): New macro.
7791 Mon Aug 24 11:11:11 1992  James Clark  (jjc at jclark)
7793         * acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.
7795         * libbib/index.cc: Include <fcntl.h>.
7796         (O_RDONLY): Define if necessary.
7797         (make_index_search_item, index_search_item_iterator::get_tag,
7798         index_search_item::check_files): Use O_RDONLY.
7799         * libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
7800         (O_RDONLY): Define if necessary.
7801         (search_list::add_file): Use O_RDONLY.
7802         * indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
7803         <sys/stat.h>.
7804         (S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
7805         (main): Use these.
7807         * libbib/index.cc (S_ISREG): Define it if necessary.
7808         (index_search_item::load): Use S_ISREG.
7810         * include/driver.h: Include <errno.h>.
7812 Sun Aug 23 11:32:18 1992  James Clark  (jjc at jclark)
7814         * eqn/box.cc (body_height): Increase default value to 85.
7815         (body_depth): Increase default value to 35.
7817 Fri Aug 21 05:34:42 1992  James Clark  (jjc at jclark)
7819         * eqn/pbox.h (SAVE_FONT_STRING): Define it.
7820         * eqn/box.cc (box::top_level): Hide use of \R in a string that is
7821         protected from expansion with \E.
7823         * acgroff.m4 (GROFF_PAGE): Use `case' to test domain.
7825         * Makefile (Makefile): New target.
7827         * Makefile.sub (configure, distfiles): New targets.
7829         * acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
7830         construct.
7832 Thu Aug 20 12:27:26 1992  James Clark  (jjc at jclark)
7834         * eqn/box.cc (param_table): Add body_height and body_depth.
7836         * eqn/lex.cc (def_table): Make circumflex in hat_def roman.
7838 Tue Aug 18 16:24:25 1992  James Clark  (jjc at jclark)
7840         * psbb/Makefile.sub: Don't link with libgroff.a.
7842         * acgroff.m4 (GROFF_PUTENV): New macro.
7843         * configure.in: Call GROFF_PUTENV.
7844         * Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
7845         * groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
7846         is defined.
7848         * troff/env.cc (distribute_space): Rename force_forward argument
7849         to force_reverse.  Reverse the list if force_reverse is true.
7851 Mon Aug 17 17:49:05 1992  James Clark  (jjc at jclark)
7853         * tmac/tmac.an: Don't define a string `T'. Just define Tm.
7855         * eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
7856         height or depth to be negative.  Guard against SUP_RAISE quantity
7857         being negative.
7859 Sat Aug 15 08:18:54 1992  James Clark  (jjc at jclark)
7861         * devps/generate/textmap: Add `an' (arrowhorizex).
7862         * tmac/tmac.ps: \(an overlaps horizontally.
7863         * tmac/tmac.dvi, tmac/tmac.tty: Add `an'.
7865         * devps/symbolchars: Add arrowverttp, arrowvertbt.
7866         * devps/textmap: Add arrowvertex.
7867         * eqn/delim.cc (delim_table): Add uparrow, downarrow and
7868         updownarrow delimiters.
7869         * tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.
7871         * tbl/table.cc (simple_entry::position_vertically,
7872         block_entry::position_vertically):  For a centered entry, perform
7873         the motion in two stages.
7875         * refer/refer.cc (split_punct): Don't call lookup_token if there
7876         is no token.
7878 Fri Aug 14 11:14:58 1992  James Clark  (jjc at jclark)
7880         * troff/input.cc (token::next): Delete token_node after copying
7881         token.
7883         * grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
7884         cur_point_size.
7886         * libdriver/printer.cc (printer::load_font): Delete old_font_table.
7888         * grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.
7890 Tue Aug 11 13:50:38 1992  James Clark  (jjc at jclark)
7892         * grops/ps.cc (usage): -b option takes an argument.
7894         * devps/prologue (PLG): New procedure.
7895         * grops/ps.cc (main, usage): New -g option.
7896         (ps_printer::~ps_printer):  If guess_flag is set, guess the paper
7897         length using PLG.
7899 Mon Aug 10 11:17:53 1992  James Clark  (jjc at jclark)
7901         * include/cset.h: Include <limits.h> if we have it.
7903         * libgroff/illegal.cc: New file.
7904         * include/lib.h (illegal_input_char): Use table.
7905         * troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
7906         * pic/lex.cc (ARG1): Renumber to 14.
7907         * eqn/lex.cc (ARG1: Likewise.
7909         * troff/Makefile.sub (majorminor.cc): Handle 3 part versions
7910         (eg 1.05.90) correctly.
7912 Sun Aug  9 13:35:43 1992  James Clark  (jjc at jclark)
7914         * tmac/tmac.e (sr): Deleted. Set $r and $R directly.
7915         Rename $r and $R registers to $v and $V.
7916         ($r, $R): Initialize to 0.
7917         (@v, @V): New macros.
7918         (sz): Call @v.
7919         (@M): Call @V.
7921         * troff/input.cc (main, usage): Add -R option that says not to
7922         load troffrc.
7923         * eqn/main.cc (main, usage): Rename -n to -R.
7925 Sat Aug  8 00:16:00 1992  James Clark  (jjc at jclark)
7927         * devps/DESC.in: Leave font positions 5-9 blank.
7928         * devdvi/DESC.in: Likewise.
7930         * grog/grog.pl: Handle `.PS <file' correctly.
7932         * troff/input.cc (input_stack::push): Improve error message when
7933         input stack limit exceeded.
7935 Fri Aug  7 13:08:16 1992  James Clark  (jjc at jclark)
7937         * refer/refer.cc (main): Fix typo in handling of `a' option.
7939         * refer/refer.cc (do_bib): In state START after a newline remain
7940         in state START.
7942         * groff/groff.sh: Deleted.
7943         * groff/Makefile.sub: Delete handling of groff.sh.
7945         * pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
7946         to determine whether to use \X'ps:...'.
7947         * tmac/troffrc: Set 0p register to 0.
7948         * tmac/tmac.ps: Set 0p register to 1.
7950         * groff/groff.cc: Support -X option. Give warning for -TXps and
7951         transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
7952         * tmac/troffrc: Support -r.X=1.
7954         * pic/troff.cc (troff_output::dot): Don't test
7955         zero_length_line_flag.
7957 Thu Aug  6 13:32:08 1992  James Clark  (jjc at jclark)
7959         * include/lib.h: Declare getopt() and friends unless
7960         STDLIB_H_DECLARES_GETOPT is defined.
7962         * doc/chars.tr: Delete.
7963         * man/groff_char.man: New file.
7965 Wed Aug  5 00:38:58 1992  James Clark  (jjc at jclark)
7967         * tmac/tmac.e (np, bu): Test \n($p with string expression in case
7968         user has changed register format.
7970 Mon Aug  3 11:22:18 1992  James Clark  (jjc at jclark)
7972         * groff/groff.cc: Get rid of device_table.  Get postprocessor from
7973         `postpro' command in DESC file.  Get spooler command from `print'
7974         command in DESC file.  Execute spooler command with /bin/sh.
7976         * groff/groff.cc: Split Unix-specific parts into...
7977         * groff/pipeline.c: New file.
7979         * LICENSE: Delete.
7980         * COPYING: New file.
7981         * all files: Update copyright notices.
7983         * Rearrange files.  Redo Makefiles.  Use autoconf.
7985 Sat Aug  1 09:36:50 1992  James Clark  (jjc at jclark)
7987         * troff/input.c (charinfo_to_node_list): Interpret character
7988         definition with escape_char of `\'.
7990 Tue Jul 28 12:20:12 1992  James Clark  (jjc at jclark)
7992         * lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
7993         Define INT_DIGITS as big enough for 64-bit integer.
7994         * lib/strtol.c: Don't include lib.h.
7995         * lib/lib.h: Delete ifdef __cplusplus stuff.
7997 Mon Jul 27 11:08:50 1992  James Clark  (jjc at jclark)
7999         * ps/devps/Makefile: Add DESC to DEVICEFILES.  Separate out rule
8000         for making DESC.  Make $(FONTS) depend on DESC. afmtodit should
8001         get DESC from current directory.
8003 Sun Jul 26 15:38:26 1992  James Clark  (jjc at jclark)
8005         * tbl/main.c (main): Always reset the line number when reading
8006         from stdin.
8008         * tbl/table.c (table::print_single_hline, table::print_double_hline,
8009         table::define_bottom_macro, table::do_row, table::do_top): Round
8010         vertical spacing up to vertical resolution.
8012 Fri Jul 24 14:32:07 1992  James Clark  (jjc at jclark)
8014         * ps/ps.h (enum resource_type): Avoid comma at end of
8015         enumerator-list.
8016         * dvi/dvi.c (class dvi_printer): Likewise.
8017         * dvi/tfmtodit.c (gf::load): Likewise.
8018         * refer/label.y (struct expression): Likewise.
8019         * refer/refer.c (class label_processing_state): Likewise.
8020         * refer/indxbib.c (do_file): Likewise.
8021         * troff/troff.c (enum warning_type): Likewise.
8022         * tbl/main.c (process_data): Likewise.
8023         * troff/charinfo.h (class charinfo):
8025 Wed Jul 22 09:17:58 1992  James Clark  (jjc at jclark)
8027         * dvi/devdvi/textt.map: Add entry for `-'.  Regenerate fonts.
8029 Tue Jul 21 11:39:26 1992  James Clark  (jjc at jclark)
8031         * groff.c: Move to new groff subdirectory.
8032         * groff/Makefile: New file.
8033         * Makefile: Remove handling of groff.c. Add groff to SUBDIRS.
8035         * man/mdate.sh: Use ls -L if supported.
8037         * Consolidate all header files produced by gendef into lib/defs.h.
8038         * lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
8039         Don't include path.h.
8040         * lib/Makefile (path.h): Don't generate.
8041         * troff/input.c: Include defs.h. Don't include config.h.
8042         * troff/Makefile (config.h): Don't generate.
8043         * refer/index.h: Don't include suffix.h.
8044         * refer/index.c: Include defs.h.
8045         * refer/indxbib.c: Include defs.h.
8046         * refer/refer.h, refer/lkbib.h: Don't include path.h. Include
8047         defs.h.
8048         * refer/Makefile (suffix.h, path.h): Don't generate.
8049         * groff.c: Don't include config.h. Include defs.h.
8050         * Makefile (config.h): Don't generate.
8051         (lib/defs.h): Generate.
8052         (topclean): Remove lib/defs.h.
8054 Mon Jul 20 10:12:57 1992  James Clark  (jjc at jclark)
8056         * lib/malloc.c, lib/getpagesize.h: Deleted.
8057         * Makefile: Add COOKIE_BUG configuration option.  Delete malloc
8058         related stuff.
8059         * lib/Makefile: Delete malloc-related stuff.
8060         * lib/new.c: Workaround COOKIE_BUG if necessary.
8062         * refer/lkbib.c, refer/indxbib.c: Don't include refer.h.  Include
8063         needed header files directly.
8064         * refer/refer.h: Omit definition of DEFAULT_INDEX.
8065         * Makefile: Include definition of DEFAULT_INDEX in path.h.
8067 Sun Jul 19 10:19:22 1992  James Clark  (jjc at jclark)
8069         * lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
8070         argument.
8071         * lib/font (font::load_desc, font::load): Don't split argument of
8072         unknown command.
8073         (font::handle_unknown_font_command): Change type.
8074         * ps/ps.c (ps_font::handle_unknown_font_command,
8075         handle_unknown_desc_command): Change type.
8076         * dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.
8078 Fri Jul 17 11:12:49 1992  James Clark  (jjc at jclark)
8080         * lib/font.h (font::handle_unknown_font_command): Add file and
8081         line arguments.
8082         * lib/font.c (font::handle_unknown_font_command):
8083         * ps/ps.c (ps_font::handle_unknown_font_command):
8084         * dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
8085         lineno arguments.  Use _with_file_and_line functions for error
8086         reporting.
8088         * lib/fontfile.c (font::unknown_desc_command_handler): New static
8089         data member.
8090         * lib/font.c (font::set_unknown_desc_command_handler): New
8091         function.
8092         (font::load_desc): For unknown commands, call
8093         unknown_desc_command_handler if not null.
8094         * lib/font.h (class font): Declare them.
8095         (FONT_COMMAND_HANDLER): New typedef.
8096         * ps/ps.c (handle_unknown_desc_command): New function.
8097         (main): Set bflag if we had a -b option. Call
8098         font::set_unknown_desc_command_handler.
8099         (broken.h): Don't include.
8100         * ps/Makefile: No need for broken.h.  Pass BROKEN_SPOOLER_FLAGS to
8101         submake 
8102         * ps/devps/Makefile: Add `broken' command to DESC file using
8103         BROKEN_SPOOLER_FLAGS.
8105         * macros/tmac.e ([, ]): Add as synonyms for { and }.
8107         * macros/tmac.e ($p): Only exdent if \$3 > 0.
8109         * macros/tmac.e (@R, @S): New macros.
8110         Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
8111         ?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
8112         Declare $H, $[0-9], .. macros with @S.
8113         Declare |0, |1, |2, |3 strings with @S.
8115         * macros/tmac.e (@S): Rename to @U.
8117         * macros/tmac.e (@z): Define @b and bp as empty instead of
8118         deleting them,
8120         * macros/tmac.e (@m): Deleted.
8121         (@h): Don't call @m.
8122         (@z): Don't set @m trap.
8124         * macros/tmac.e ($h, $f): Define |z as empty string.
8126         * macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
8127         (@q): Likewise.
8129         * macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
8130         removing them.
8131         ()f): Likewise for * register.
8133         * macros/tmac.e (sr): Don't ever scale the arguments. If the third
8134         argument is missing, don't change $R.  Call sr with three
8135         arguments when initializing.
8137 Thu Jul 16 12:17:12 1992  James Clark  (jjc at jclark)
8139         * macros/tmac.e (sr): New macro.
8140         Initialize $r and $R using sr.
8142         * macros/tmac.e (,): Delete \*(#[.
8144         * troff/env.c (set_tabs): Read the tab type even if the position
8145         is bad.  Allow the position of the first tab stop to be negative.
8147 Wed Jul 15 13:14:37 1992  James Clark  (jjc at jclark)
8149         * refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
8150         _POSIX_VERSION.
8151         * refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
8152         rather than -DPATHCONF_MISSING.
8153         * Makefile: Get rid of PATHCONF_MISSING.
8155         * refer/map.c: New file.
8156         * refer/index.c: Interface to mmap through map.c.  Rename map_size
8157         to map_len.
8158         * refer/Makefile: Handle map.c.
8159         * Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.
8161 Tue Jul 14 14:15:20 1992  James Clark  (jjc at jclark)
8163         * Makefile: RANLIB should be `true' if there is no ranlib.
8164         * lib/Makefile (libgroff.a): Simplify.
8165         * driver/Makefile (libdriver.a): Simplify.
8167         * Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
8168         * groff.c (WCOREDUMP): Use WCOREFLAG.  Define only if not already
8169         defined.
8171 Sat Jul 11 09:19:17 1992  James Clark  (jjc at jclark)
8173         * troff/env.c (compare_ranges): Declare as extern "C".
8175         * troff/input.c (init_registers): Use `struct tm' instead of `tm'.
8177         * macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.
8179 Wed Jul  8 11:52:27 1992  James Clark  (jjc at jclark)
8181         * pic/troff.c (troff_output::text): Merge in grops_output::text,
8182         but conditionalize use of \X based on \*(.T.
8183         (grops_output::*): Deleted.
8184         * pic/output.h: Delete declaration of make_grops_output.
8185         * pic/main.c (main): Ignore -p and -x.  driver_extension_flag is 1
8186         by default. -n sets it to 0.
8187         (usage): Corresponding changes.
8188         * groff.c (main): Don't pass -x or -p to pic.
8189         * groff.sh: Likewise.
8191         * ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
8192         to be non-zero.
8194         * ps/devps/afmtodit: Change calculation of asc_boundary and
8195         desc_boundary.  Make these bounds inclusive.
8196         * ps/devps: Regenerate font files.
8198 Tue Jul  7 13:14:15 1992  James Clark  (jjc at jclark)
8200         * macros/tmac.latin1: New file.
8201         * macros/tmac.tty-char: Use tmac.latin1.
8202         (tmac.tty-tr): Deleted.
8203         * macros/Makefile: Install tmac.latin1.
8204         * macros/tmac.dvi: Use tmac.latin1.
8205         * macros/troffrc: Translate \[char160] onto no-break space here.
8206         * macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.
8208 Mon Jul  6 11:06:52 1992  James Clark  (jjc at jclark)
8210         * macros/tmac.Xps: Use `do' request.
8212         * macros/tmac.ps: Use `do' request.
8214         * macros/tmac.e (@C): Use `do' request.
8216         * macros/tmac.X, macros/tmac.Xps: Moved from xditview.
8217         * macros/Makefile: Install tmac.X*.
8219         * tty/tmac.tty, tty/tmac.tty-char: Move to macros.
8220         * tty/Makefile: Don't install tmac.tty*.
8221         * macros/Makefile: Install tmac.tty*.
8223         * dvi/tmac.dvi: Move to macros.
8224         * dvi/Makefile: Don't install tmac.dvi.
8225         * macros/Makefile: Install tmac.dvi.
8227         * ps/tmac.ps*: Move to macros.
8228         * ps/Makefile: Don't install tmac.ps*.
8229         * macros/Makefile: Install tmac.ps*.
8231         * eqn/box.c: Provide draw_lines parameter corresponding to -D
8232         option.
8233         * macros/eqnrc: Set draw_lines parameter based on device.
8234         * groff.c: Don't pass -D flag to eqn.
8235         * groff.sh: Likewise.
8236         * eqn/main.c: Warn about use of -D.
8238         * troff/input.c (process_startup_file): New function.
8239         (main): Call process_startup_file().
8240         * macros/troffrc: New file.
8241         * macros/Makefile: Install troffrc.
8242         * groff.c (main): Don't pass extra -m option to troff. For a 
8243         pseudo device pass the name of the pseudo device to troff using
8244         -d.
8245         * groff.sh: Likewise.
8246         * groff.c (possible_command::prepend_arg): Deleted.
8248         * troff/input.c (do_request): New function.
8249         (init_input_requests): Bind "do" to do_request.
8251         * eqn/main.c (main): Instead of loading eqnchar from device directory,
8252         load eqnrc from macro directory.
8253         * macros/eqnrc: New file.
8254         * macros/Makefile: Install eqnrc.
8255         * ps/devps/eqnchar: Deleted.
8256         * ps/devps/Makefile: Don't install eqnchar.
8257         * dvi/devdvi/eqnchar: Deleted.
8258         * dvi/devdvi/Makefile: Don't install eqnchar.
8259         * groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
8260         variable optM.
8262         * lib/device.[ch]: New files.
8263         * lib/font.h (font::set_device_name, font::get_device_name):
8264         Deleted.
8265         * lib/fontfile.c: Use device.h.
8266         * lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
8267         * troff/input.c: Delete definition of `device'.
8268         (main): Don't initialize device.
8269         * troff/troff.h: Include device.h rather than declaring device.
8270         * troff/Makefile: No need to handle DEVICE.
8271         * driver/input.c: Include device.h. Don't use
8272         font::{set,get}_device_name.
8273         * groff.c, Makefile: Rename device.h to config.h.
8274         * groff.c: Use library device variable.
8275         * eqn/main.c: Use library device variable.
8276         * eqn/Makefile: No need to handle DEVICE.
8278         * lib/searchpath.[ch]: New files.
8279         * lib/Makefile: Handle searchpath.[ch].
8280         * troff/input.c (open_file, init_dirs): Deleted.
8281         (macro_dirs): Deleted.
8282         (open_mac_file, macro_source): Use class search_path.
8283         (add_string, struct string_list): Move definition.
8284         (main): Change -M option to use macro_path. Delete call to
8285         init_dirs().
8286         * lib/fontfile.c (font::command_line_font_dir, font::open_file):
8287         Rewrite to use class search_path.
8288         * lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
8289         * lib/Makefile: fontfile.c depends on searchpath.h.
8290         * lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
8291         MACROPATH.
8292         * lib/macropath.[ch]: New files.
8293         * troff/Makefile: No need to handle MACROPATH.
8295         * troff/input.c: Delete DUMP code.
8296         * lib/fontfile.c, lib/font.h: Delete
8297         font::forget_command_line_font_dirs.
8299         * troff/input.c (push_token): New function.
8300         (handle_first_page_transition): Use push_token().
8301         (process_input_stack): Change handling of a space at the beginning
8302         of the line.
8304 Sun Jul  5 17:11:09 1992  James Clark  (jjc at jclark)
8306         * troff/input.c (font_dirs): Delete unused variable.
8308         * eqn/lex.c (do_set): Correct error messages.
8310 Sat Jul  4 10:20:55 1992  James Clark  (jjc at jclark)
8312         * troff/input.c (do_define_string): Allow the string name to be
8313         followed immediately by a tab.
8314         (define_character): Likewise.
8316 Thu Jul  2 10:59:15 1992  James Clark  (jjc at jclark)
8318         * ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
8319         be negative.
8321         * troff/input.c (input_iterator::is_file): New virtual function.
8322         (file_iterator::is_file): New function.
8323         (input_stack::end_file): New function.
8324         (input_stack::next_file): Handle the situation where there is no
8325         file on the input stack correctly.  Avoid making two passes over
8326         the input stack.
8327         (next_file): Make the filename optional; in this case call
8328         input_stack::end_file().
8330 Wed Jul  1 10:17:25 1992  James Clark  (jjc at jclark)
8332         * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
8333         produce a real _ charater when the current font is CW and _
8334         otherwise.
8336         * lib/errarg.c (errarg::errarg(const char *)): Invert conditional
8337         expression to work around gcc 2.2 bug.
8339 Wed Jun 24 08:12:24 1992  James Clark  (jjc at jclark)
8341         * eqn/main.c (main): Don't give an error if we can't find eqnchar.
8343         * troff/env.c (environment::add_padding): New function.
8344         (environment::add_char): Use add_padding().
8345         (environment::space): Likewise.
8346         (environment::wrap_up_field): Add some padding if there is none
8347         and there's no current tab.
8348         * troff/env.h: Declare environment::add_padding.
8350 Mon Jun 22 08:37:45 1992  James Clark  (jjc@jclark)
8352         * pic/pic.y: undef fmod and rand before declaring them.
8354 Sun Jun 14 11:40:18 1992  James Clark  (jjc@jclark)
8356         * troff/input.c (main): If the DESC file specifies a font name of
8357         0, then leave the corresponding font position empty.
8359         * nroff.sh: New file.
8360         * Makefile (install.nobin): Install nroff.sh.
8362         * tty/devlatin1/R.proto: Add ao as synonym for de.
8363         * tty/tmac.tty-char: Define ao as o.
8365         * tty/dev{ascii,latin1}/R.proto: Add aq.
8366         * tty/tmac.tty-char: Delete definition of aq.
8368 Mon Jun  8 11:43:20 1992  James Clark  (jjc@jclark)
8370         * troff/input.c (init_charset_table): Don't translate 0240.
8371         * ps/tmac.ps: Translate char160 to space.
8372         * dvi/tmac.dvi: Likewise.
8373         * tty/tmac.tty: Likewise.
8375 Sun Jun  7 10:52:35 1992  James Clark  (jjc@jclark)
8377         * dvi/tmac.dvi: Add support for all Latin-1 characters.
8379         * macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
8380         \(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
8381         \(oe, \(r?, \(r!.
8383         * tty/tmac.tty-char: Add \(ah.
8385         * dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
8386         No need to define \(FM and \(!/. Conditionalize all character
8387         definitions.
8389         * ps/devps/lgreekmap: Add +h, +f, +p.
8391         * ps/tmac.psnew: New file.
8392         * ps/Makefile: Install tmac.psnew.
8394         * troff/input.c (charinfo_to_node_list): Don't ever interpret
8395         character definitions in compatible mode.
8397         * troff/input.c (remove_character): New function.
8398         (init_input_requests): Bind remove_character to "rchar".
8400         * ps/tmac.psold: New file.
8401         * ps/Makefile: Install tmac.psold.
8402         * ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
8403         characters into tmac.psold.  Make these definitions unconditional.
8405         * tty/tmac.tty-char: Define \n(_C only if it is not already defined.
8407         * ps/tmac.ps: Don't define \('c and \('C.
8409         * ps/devps/textmap: Move Greek characters to...
8410         * ps/devps/symbolchars:
8412 Sat Jun  6 16:41:17 1992  James Clark  (jjc@jclark)
8414         * ps/devps/text.enc: Add quotesingle.
8415         * ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
8416         * tty/tmac.tty-char: Likewise.
8417         * dvi/devdvi/texmi.map: Add +h, +f, +p.
8418         * dvi/devdvi/texi.map: Add Fn.
8419         * dvi/devdvi/msam.map: Add lz.
8420         * dvi/tmac.dvi: Handle Bq, bq, aq.
8422         * pic/lex.c (get_token): Recognize 'th.
8423         * pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.
8425 Fri Jun  5 11:20:46 1992  James Clark  (jjc@jclark)
8427         * ps/devps/textmap: Move di, mu, +- to...
8428         * ps/devps/symbolchars:
8430         * macros/tmac.s (@XS): Don't call par@reset or fi.
8431         (XA): Call LP. Turn off adjustment. Reduce line length.
8433         * macros/tmac.s: Initially alias XS to LP.
8434         (XS): Rename to @XS.
8435         (cov*ab-init): Alias XS to @XS.
8437 Thu Jun  4 09:12:05 1992  James Clark  (jjc@jclark)
8439         * troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
8440         TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
8441         (token::is_size, token::changes_env): Deleted.
8442         * troff/number.c (parse_term): No need to process \s explicitly.
8443         Call tok.next() only after scale indicator has been processed.
8444         * troff/input.c (do_overstrike, do_bracket): No need to process \s,
8445         \f etc explicitly.
8446         (token::next): Handle \s, \f, \S, \H immediately rather than
8447         returning them as tokens.
8448         (token::operator==, token::description, token::add_to_node_list,
8449         token::process): Remove handling of deleted tokens.
8451         * troff/env.c (environment::add_char): When adding padding
8452         indicator character, call start_line() if necessary.
8454 Wed Jun  3 09:55:50 1992  James Clark  (jjc@jclark)
8456         * ps/devps/afmtodit: Don't output 0 kerns.
8458         * ps/devps/afmtodit: Remove directory from name of encoding in
8459         font description file.
8461         * ps/devps/afmtodit: Improve error messages.
8463         * ps/devps/afmtodit: Allow DESC file to be specified with -d.
8465         * ps/devps/Makefile: Incorporate FontMakefile. Rework.
8466         * ps/devps/FontMakefile: Deleted.
8467         * ps/devps/afmname: New file.
8469         * ps/devps/symbol.sed: New file.
8470         * ps/devps/symbol.diff: Deleted.
8471         * ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
8472         Generate zapfdr.afm from zapfd.afm.
8474         * tty/tmac.tty (tty-char): Prefix definition with ".
8476         * macros/tmac.an (TP): Don't start a diversion if one has already
8477         been started.
8479         * tty/tmac.tty-char: Add Latin-1 characters.
8481         * tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.
8483 Tue Jun  2 00:54:34 1992  James Clark  (jjc@jclark)
8485         * tbl/table.c (table::allocate): Delete old_vline, old_entry.
8486         Move declaration of struct horizontal_span.
8488         * tbl/table.c (table::table): Initialize span_list.
8489         (table::~table): Delete span_list.
8491         * lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.
8493         * ps/devps/Makefile: Avoid dependency on GNU make.
8495         * ps/tmac.ps: Check that character does not already exist before
8496         defining it.
8498         * tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
8499         \(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
8500         \(ru, \(ul, \(br, \(bv, \(sl which are in the font description
8501         files.
8503         * tty/tmac.tty-char: New file.
8504         * tty/Makefile: Install tmac.tty-char.
8505         * tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
8506         tmac.tty-char.
8508         * tty/tmac.tty: Fix definition of \(34.
8510         * tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
8511         bracket-drawing characters onto |. Add *o.
8513         * troff/env.c (environment::wrap_up_tab): Increment field_spaces
8514         only if current_field.
8516         * troff/dictionary.c (dictionary::lookup): Free old_table after
8517         rehashing. 
8519 Mon Jun  1 10:15:22 1992  James Clark  (jjc@jclark)
8521         * tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
8522         whose glyphs are identical to glyphs of some Roman character.
8524         * tty/devlatin1/R.proto (bu): Deleted.
8525         * tty/devascii/R.proto (bu): Deleted.
8526         * tty/tmac.tty: Add definition of \(bu.
8528         * eqn/main.c (do_file): Pass FILE as argument.
8529         (main): Automatically load eqnchar.  New options -F and -n.
8530         Pass do_file an opened FILE.
8531         * groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
8532         No need to include font.h.
8533         * groff.sh: Likewise.  Don't need to use - for standard input.
8534         Prefix files with -- if first file starts with -.
8536         * macros/tmac.e: Conditionalize use of \$* on \n(.g.
8538         * troff/env.c (environment::possibly_break_line): Don't set line
8539         to 0 across call to output_line().  Don't call output_line() until
8540         after discarding nodes after break.
8542 Sun May 31 10:45:29 1992  James Clark  (jjc@jclark)
8544         * request.h (macro::empty): Declare it.
8545         * input.c (macro::empty): New method.
8546         (interpolate_macro):  Don't give a WARN_SPACE if the two-character
8547         macro is empty.
8549 Sat May 30 10:27:15 1992  James Clark  (jjc@jclark)
8551         * troff/env.c (environment::start_field): Decrement space_total
8552         when a space is frozen.
8554 Fri May 22 14:34:38 1992  James Clark  (jjc@jclark)
8556         * macros/tmac.an (R): Delete macro.
8558         * troff/input.c (get_copy, token::next): Support \# (like \" but
8559         newline is ignored).
8561         * troff/input.c (token::next): Fix error message in 'Y' case.
8563 Thu May 21 09:26:24 1992  James Clark  (jjc@jclark)
8565         * eqn/delim.c (define_extensible_string): Recognize any prefix of
8566         a delimiter name.
8568 Fri May 15 10:20:41 1992  James Clark  (jjc at jclark)
8570         * c++test.c: Include <osfcn.h>.
8572         * lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
8573         <errno.h> doesn't.
8575 Fri May  8 09:37:19 1992  James Clark  (jjc at jclark)
8577         * tbl/table.c (table::divide_span): Don't count column separation
8578         if expand was specified.
8580         * tbl/main.c (process_format): Don't ignore width specs in
8581         continued format.  Give warning for changing equal widths or
8582         column separation in continued format.
8583         (process_data): Set column separation, minimum width, equal
8584         columns at end of table.
8586 Thu May  7 08:50:40 1992  James Clark  (jjc at jclark)
8588         * troff/node.c (kern_pair_node::add_discretionary_hyphen,
8589         node::add_discretionary_hyphen): Use soft_hyphen_char.
8590         (set_soft_hyphen_char): New function.
8591         (init_node_requests): Bind to shc.  Initialize soft_hyphen_char.
8593         * Makefile (c++tested): Give more helpful message if test fails.
8595 Tue May  5 10:58:39 1992  James Clark  (jjc at jclark)
8597         * troff/input.c (init_charset_table): Translate 0240 to
8598         an unbreakable space.
8600         * troff/token.h (token::hyphen_indicator): New function.
8601         * troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
8602         translation.
8603         * troff/input.c (translate): Allow translation to \%.
8604         * troff/node.c (node::add_char): Handle
8605         TRANSLATE_HYPHEN_INDICATOR.     
8606         (make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.
8608         * troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
8609         for \(hy.
8611         * tty/devlatin1/R.proto: \(hy and - should print as 055.
8613 Tue Apr 21 09:24:42 1992  James Clark  (jjc at jclark)
8615         * groff.c (run_commands): If the last command gets a SIGPIPE send
8616         a SIGPIPE to all children than haven't yet terminated.  When
8617         command terminates, set pid field to -1.
8619 Fri Apr 17 11:20:48 1992  James Clark  (jjc at jclark)
8621         * groff.c (main): Pass an appropriate -filename option to gxditview.
8623 Thu Apr 16 15:11:40 1992  James Clark  (jjc at jclark)
8625         * Makefile.bd (install): Remove existing program before copying.
8627         * Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
8628         programs which have Unix counterparts to be installed with
8629         user-specified prefix.
8631         * troff/input.c (exit_troff): Don't check if exit_started.
8632         (exit_request): Don't call exit_troff if exit_started.
8634         * Makefile.bd (install.mm): Rename to install.dwbmm.
8636 Tue Apr 14 10:05:10 1992  James Clark  (jjc at jclark)
8638         * driver/input.c (do_file): Add missing break for '#' case.
8640 Mon Apr 13 10:11:02 1992  James Clark  (jjc at jclark)
8642         * troff/input.c (input_stack::clear):  Clear past any boundaries and
8643         then add the boundaries back.
8645         * troff/input.c (exit_troff): Return immediately if already
8646         exiting.
8648         * macros/tmac.s (pg@end-text): New macro.  Use pg@end-text for the
8649         end macro.
8650         (pg*end-page): If the text has ended and there are no more
8651         footnotes or keeps, exit.
8653         * macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.
8655         * troff/input.c (init_charset_table): Make \(rq transparent by
8656         default.
8658         * macros/tmac.an: Define lq and rq strings.
8660         * macros/tmac.s (Q, U): Define as \(lq and \(rq.
8662 Sun Apr 12 12:54:37 1992  James Clark  (jjc at jclark)
8664         * troff/env.c (environment::final_break): New function.
8665         (environment::newline): Set prev_line_interrupted to 2 if
8666         exit_started.
8667         * troff/env.h: Declare environment::final_break.
8668         * troff/input.c (exit_troff): Call environment::final_break()
8669         instead of environment::do_break().
8671         * macros/Makefile: Install man.local if $(MACRODIR)/man.local
8672         doesn't already exist.
8673         * macros/man.local: New file.
8674         * macros/tmac.an: Load man.local.
8675         * macros/man.ultrix: New file.
8677 Sat Apr 11 17:32:04 1992  James Clark  (jjc at jclark)
8679         * troff/input.c (exit_groff): Rename to...
8680         (exit_troff): New function.
8682         * troff/div.c (exit_started, done_end_macro,
8683         seen_last_page_ejector): New global variables.
8684         (began_page_in_end_macro): New static variable.
8685         (exit_flag): Deleted.
8686         (top_level_diversion::top_level_diversion): Initialize
8687         last_page_count.
8688         (top_level_diversion): More elaborate test for whether
8689         cleanup_and_exit() should be called.
8690         Set began_page_in_end_macro if the end macro isn't yet finished.
8691         * troff/div.h (top_level_diversion::last_page_count): New data
8692         member.
8693         (top_level_diversion::set_last_page): New function.
8694         (exit_started, done_end_macro, seen_last_page_ejector): Declare.
8695         * troff/env.c (do_break): Zero prev_line_interrupted.
8696         * troff/input.c (exit_flag): Delete declaration.
8697         (LAST_PAGE_EJECTOR): New magic cookie.
8698         (token::next): Handle LAST_PAGE_EJECTOR.
8699         (exit_groff): Set exit_started and done_end_macro instead of
8700         exit_flag.  Call top_level_diversion::set_last_page.  Push a
8701         LAST_PAGE_EJECTOR instead of calling push_page_ejector().  Do
8702         another ejection after setting seen_last_page_ejector.
8704 Thu Apr  9 04:37:11 1992  James Clark  (jjc at jclark)
8706         * etc/grog.sh, etc/grog.sh: Recognize -me sh macro.
8708         * macros/tmac.e (TH): Make sure there's room for the initial
8709         header.
8711         * macros/tmac.s (par@init): Make PD and DD at least \n(.V.
8712         Set FVS in points rather than units.
8714 Mon Apr  6 11:21:32 1992  James Clark  (jjc at jclark)
8716         * troff/div.c (top_level_diversion::add_trap): Don't consider the
8717         position of empty slots.
8719 Fri Apr  3 10:46:45 1992  James Clark  (jjc at jclark)
8721         * ps/devps/S: Fix height and depth of parenrightex.
8722         * ps/devps/symbol.diff: Regenerate.
8724 Sat Mar 28 21:17:52 1992  James Clark  (jjc at jclark)
8726         * tmac.e (u): Do underlining as in -mgs.
8728 Fri Mar 27 09:23:44 1992  James Clark  (jjc at jclark)
8730         * tty/tty.c (tty_printer::end_page): If overstriking is
8731         suppressed, still turn overstruck horizontal and vertical lines
8732         into +.
8734         * lib/new.c: Back out Feb 24 change; no longer needed with gcc
8735         2.1.
8737         * refer/label.y (format_expr::evaluate): Avoid use of %0*d.
8739 Wed Mar 18 09:29:10 1992  James Clark  (jjc at jclark)
8741         * Version 1.05 released.
8743 Tue Mar 17 16:50:45 1992  James Clark  (jjc at jclark)
8745         * tty/tty.c: Instead of keeping an array of glyphs and then
8746         sorting it, keep a ordered linked list of glyphs for each line.
8748         * driver/driver.h: Include stddef.h.
8750         * tty/tty.c (compare_glyph):
8751         * refer/refer.c (rcompare):
8752         * troff/env.c (compare_ranges): Arguments of qsort comparison
8753         function should be const void *.
8755         * troff/number.c (parse_term):
8756         * dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
8757         switch statement.
8759         * refer/label.y (consider_authors): Don't access variables
8760         constructed under a condition outside that condition: put braces
8761         round for statement containing declaration; redeclare use of same
8762         variable later.
8764         * pic/pic.y (text_expr): Delete production that allows
8765         parenthesised text_expr.
8766         (expr): Allow a conditional_expr to appear in parentheses.
8767         (conditional_expr): Rename to any_expr.
8769         * mm: Install new version 1.01 from jh.
8771         * lib/font.c (font::get_width): Cache scaled widths.
8772         (font::font): Initialize widths_cache.
8773         (font::~font): Destroy widths_cache.
8774         * lib/font.h: Add font::widths_cache. Declare font_widths_cache.
8776 Mon Mar 16 10:16:10 1992  James Clark  (jjc at jclark)
8778         * c++test.c, c++test.ref: New files.
8779         * Makefile: Check that the C++ compiler works.
8781         * ps/tmac.pspic (PSPIC): Do a break.
8783         * ps/tmac.ps: Move definition of PSPIC into...
8784         * ps/tmac.pspic: New file.
8785         (PSPIC): Draw box around picture, but make it invisible to grops.
8786         * ps/tmac.ps: Load tmac.pspic.
8787         * ps/Makefile: Install tmac.pspic.
8789 Sun Mar 15 14:18:08 1992  James Clark  (jjc at jclark)
8791         * lib/font.c (scale_round): If n is negative,
8792         subtract .5 before truncating floating point result.
8794         * lib/fontfile.c: Include <errno.h>.
8796 Tue Mar 10 14:17:03 1992  James Clark  (jjc at jclark)
8798         * driver/input.c (get_char): Inline. Don't update current_lineno.
8799         Change callers to up date current_lineno if necessary.
8800         Use get_char() instead of getc(current_file).
8802 Sun Mar  8 18:05:28 1992  James Clark  (jjc at jclark)
8804         * ps/tmac.ps: Fix up spacing of \(mo and \(nm.
8806 Fri Mar  6 19:38:58 1992  James Clark  (jjc at jclark)
8808         * tty/tty.c (tmac.tty): Define \(rg as (R).
8810 Tue Mar  3 10:11:25 1992  James Clark  (jjc at jclark)
8812         * lib/lib.h: New define a_delete.
8813         * Use a_delete instead of delete when deleting an array of objects
8814         without destructors.
8816         * lib/lib.h: Rename adelete to ad_delete.
8817         * Change uses of adelete.
8819 Mon Mar  2 12:41:05 1992  James Clark  (jjc at jclark)
8821         * eqn/eqn.y: Include lib.h.
8823         * troff/node.c (grow_font_table): Delete old_font_table.
8825         * mm: Install new version from jh.
8827 Fri Feb 28 10:42:23 1992  James Clark  (jjc at jclark)
8829         * tbl/table.h (format_type): Make global instead of local to class
8830         entry_format.  Prefix enumerators with FORMAT_.
8831         * tbl/table.c, tbl/main.c: Corresponding changes.
8832         * refer/token.h (token_type): Make global.  Prefix enumerators
8833         with TOKEN_.
8834         * refer/token.[ch]: Corresponding changes.
8835         * Makefile: Get rid of -DNO_NESTED_TYPES configuration option.
8837         * troff/div.c (node::set_vertical_size): Don't name argument.
8839 Thu Feb 27 10:29:19 1992  James Clark  (jjc at jclark)
8841         * Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
8842         * lib/lib.h: Define adelete accordingly.
8843         * pic/object.c (graphic_object::graphic_object):
8844         * tbl/main.c (format::~format):
8845         * tbl/table.c (table::~table):
8846         * refer/ref.c (reference::~reference, reference::merge,
8847         reference::insert_field, reference::delete_field): Use adelete.
8849         * Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
8850         * refer/token.h:
8851         * tbl/table.h: Corresponding changes.
8853         * common.c (common_output::dashed_arc, common_output::dotted_arc):
8854         Ensure total_angle is positive.
8856 Wed Feb 26 08:49:26 1992  James Clark  (jjc at jclark)
8858         * refer/ref.c (reference::merge, reference::insert_field,
8859         reference::delete_field): Avoid delete[0].
8861         * refer/token.c (init_special_chars): Move calls to cmupper
8862         outside calls to init_two_char_letter to work around bug in gcc
8863         2.0.
8865 Mon Feb 24 14:20:00 1992  James Clark  (jjc at jclark)
8867         * lib/new.c (operator new): Use __builtin_new for g++.
8869         * pic/object.c (graphic_object::~graphic_object):  Don't use
8870         delete [] on 0.
8872         * pic/object.c (output::compute_scale): Initialize max_width and
8873         max_height.
8875 Sat Feb 15 09:55:20 1992  James Clark  (jjc at jclark)
8877         * troff/input.c (write_request): Call fflush.
8879         * troff/node.h (class composite_node): Move declaration to node.c
8880         * troff/input.c (charinfo_to_node): Rename to ...
8881         (charinfo_to_node_list): Return node list rather than composite
8882         node.
8883         * troff/node.c (make_composite_node): New function.
8884         (make_node, add_char): Call make_composite_node instead of
8885         charinfo_to_node.
8886         (class composite_node): Add a tfont * member.  Delete font_size
8887         member.
8888         (composite_node::composite_node, composite_node::copy,
8889         composite_node::size): Corresponding changes.
8890         (composite_node::tprint): Provide constant spacing, emboldening
8891         and track kerning as specified in tfont.
8892         (composite_node::width): Change width calculation accordingly.
8893         * troff/env.h (environment::composite): New member.
8894         (environment::is_composite, environment::set_composite): New
8895         functions.
8896         * troff/env.c (environment::environment): Initialize composite.
8897         * troff/input.c (charinfo_to_node): Call
8898         environment::set_composite.
8899         * troff/node.c (make_composite_node, make_glyph_node): Use the
8900         plain version of the tfont if the environment is composite.
8902         * troff/node.c (font_info::get_space_width): Additional argument
8903         giving space_size.  Handle constant space correctly. Scale by
8904         space_size unless constant spaced.
8905         (env_sentence_space_width): New function.
8906         * troff/node.h: Declare it.
8907         * troff/env.h (environment::get_space_size,
8908         environment::get_sentence_space_size,
8909         environment::get_narrow_space_width,
8910         environment::get_half_narrow_space_width): Make inline.
8911         (environment::get_space_width): Make inline.  Just call
8912         env_space_width.
8913         * troff/env.c: Delete definitions for funtions made inline.
8914         (environment::space_newline, environment::space): Use
8915         env_sentence_space_width(). Don't scale by space_size.
8916         * troff/node.h: Move declarations of env*space_width() functions
8917         into env.h.
8919 Sat Feb  8 09:30:22 1992  James Clark  (jjc at jclark)
8921         * macros/tmac.s (PS): Don't try to set negative indent.
8923 Thu Feb  6 09:00:35 1992  James Clark  (jjc at jclark)
8925         * pic/pic.y: Fix min function.
8927 Tue Jan 28 07:52:29 1992  James Clark  (jjc at jclark)
8929         * man/mdate.sh: Clear LANGUAGE.
8931 Sun Jan 19 13:02:41 1992  James Clark  (jjc at jclark)
8933         * pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
8934         * pic/lex.c: New COMMAND keyword.
8935         * pic/pic.y (print_args, print_arg): New rules.
8936         (placeless_element): Use print_args for PRINT.
8937         New COMMAND element.
8939 Tue Jan  7 13:14:31 1992  James Clark  (jjc at jclark)
8941         * troff/input.c (terminal): Handle missing argument correctly.
8943         * pic/pic.y (text_expr): New rule.
8945         * pic/pic.y: Implement := operator.
8947 Sun Jan  5 10:23:02 1992  James Clark  (jjc at jclark)
8949         * etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
8950         mdoc.
8952 Sat Jan  4 14:42:26 1992  James Clark  (jjc at jclark)
8954         * ps/devps/dingbatsrmap: Include this in the distribution.
8956         * macros/tmac.doc: Replace with new version from 2nd Networking
8957         Release. Fix loading of doc-* files.
8958         * macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
8959         * macros/tmac.doc.old: New file.  Apply fixes that had been
8960         applied to old tmac.doc.
8961         * macros/tmac.andoc: Check that we're running under groff.
8962         * macros/Makefile: Rework.
8964 Fri Jan  3 13:27:51 1992  James Clark  (jjc at jclark)
8966         * tbl/table.h (format_type): 
8967         * refer/token.h (token_type): If NESTED_TYPES is defined, use
8968         typedef to make these types visible at file scope.
8969         * Makefile: Add NESTED_TYPES configuration option.
8971         * troff/div.c (mark): At the top level use the value of
8972         nl_reg_contents rather than the current vertical position.
8974 Thu Jan  2 10:34:51 1992  James Clark  (jjc at jclark)
8976         * tty/tty.c: Implement \D for horizontal or vertical lines.
8977         (tty_printer::set_char): Use vec_used+2 as serial number.
8978         Don't allow size of vector to exceed USHRT_MAX-2.
8979         Split off part into...
8980         (tty_printer::add_char): New function.
8981         (tty_printer::draw): New function.
8982         (compare_glyph): Handle equal serial numbers.
8983         (tty_printer::end_page): Handle overstruck characters from \D.
8984         (main, usage): Implement -d option.
8986 Mon Dec 23 10:37:51 1991  James Clark  (jjc at jclark)
8988         * tbl/main.c (process_format):
8989         * eqn/text.c (split_text):
8990         * troff/input.c (token::next): Use inner block for declarations
8991         with initializers in switch statement.
8993 Mon Dec 16 20:52:03 1991  James Clark  (jjc at jclark)
8995         * pic/common.c (common_output::dash_line): Cope with zero-length
8996         lines.
8998 Sun Nov 17 12:04:08 1991  James Clark  (jjc at jclark)
9000         * Version 1.04 released.
9002 Wed Nov 13 05:27:21 1991  James Clark  (jjc at jclark)
9004         * macros/tmac.an (TH): Define a macro an-init to define variables
9005         based on command line arguments.
9006         (an-header): Call it.
9008 Sun Nov  3 12:07:34 1991  James Clark  (jjc at jclark)
9010         * Makefile (install.mm): Rename to install.dwbmm.
9012         * Makefile: Integrate mm.
9013         * mm: New directory.
9015 Wed Oct 30 10:11:34 1991  James Clark  (jjc at jclark)
9017         * refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
9018         <sys/types.h>.
9020         * pic/troff.c (troff_output::simple_spline,
9021         troff_output::simple_polygon): Rename variable `v' to `d' to avoid
9022         shadowing parameter.
9024         * lib/tmpfile.c (xtmpfile): Declare dir as const char *.
9026         * lib/ptable.h: Add explicit casts when converting from unsigned
9027         long to unsigned.
9029         * dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
9030         * dvi/devdvi/Makefile: Install SA, SB.
9032         * refer/indxbib.c: Add declaration of mktemp.
9034         * refer/lookbib.c: Add declaration of isatty.
9036 Fri Oct 25 09:00:17 1991  James Clark  (jjc at jclark)
9038         * pic/lex.c (interpolate_macro_with_args):  While collecting
9039         arguments, keep track of whether we're in a string.
9041 Wed Oct 23 08:42:48 1991  James Clark  (jjc at jclark)
9043         * ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
9044         down with \v, so as to avoid problems with top of page trap
9045         setting no space mode.
9047 Tue Oct 22 17:38:49 1991  James Clark  (jjc at jclark)
9049         * eqn/lex.c (get_delimited_text): Allow tab before macro body.
9051 Tue Oct 15 17:24:53 1991  James Clark  (jjc at jclark)
9053         * ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
9054         Improve error message.
9056 Fri Oct 11 11:09:38 1991  James Clark  (jjc at jclark)
9058         * ps/psrm.c (print_ps_string): Don't pass negative numbers to
9059         printf("%03o");
9061 Wed Oct  9 17:50:14 1991  James Clark  (jjc at jclark)
9063         * groff.c (possible_command::execp): Always use _exit() after a
9064         failed exec.
9066         * Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
9067         NO_SYS_WAIT_H   configuration options.
9068         * groff.c: Use these options.  Use POSIX-style macros to extract
9069         fields from the status returned by wait().
9071 Fri Oct  4 12:12:27 1991  James Clark  (jjc at jclark)
9073         * tbl/table.c (table::compute_separation_factor): Allow the
9074         separation factor to drop to 0.
9076 Tue Oct  1 18:12:38 1991  James Clark  (jjc at jclark)
9078         * refer/search.c: Include <errno.h>.
9080 Sun Sep 29 08:40:57 1991  James Clark  (jjc at jclark)
9082         * pic/pic.y (YYDEBUG): Don't define for Borland C++.
9084         * lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
9085         C++. 
9087         * pic/lex.c (input_stack::bol): Move definition out of class body.
9089         * pic/main.c: On MSDOS munge argv[0].
9091         * lib/ptable.h: Define name2 as _Paste2 for Borland C++.
9093         * lib/ptable.c (hash_string): Use unsigned long rather than
9094         unsigned.
9095         (next_ptable_size): Use unsigned rather than int.  Give an error
9096         message if we've hit the largest table size.
9097         * lib/ptable.c: Corresponding changes.  Also use unsigneds for the
9098         table size.
9100         * pic/object.h (object_spec): Make flags unsigned long.  Declare
9101         flags as const unisgned long rather than as enums.
9103         * pic/output.c: Deleted.
9105         * pic/troff.c (troff_output::simple_ellipse): Remove spurious %.
9107         * tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
9108         Add additional argument.
9109         (line_entry::note_double_vrule_on_{left,right}): Set value of
9110         douvle_vrule_on_{right,left} flag according to argument.
9111         (simple_line_entry::simple_print,
9112         simple_line_entry::double_line_print): If adjacent to double vrule
9113         on a corner extend rather than shorten the rule by half the double
9114         vrule sep.
9116         * troff/number.c (parse_term): In checking for overflow, handle the
9117         case where the current horizontal position is negative.
9119 Thu Sep 12 08:26:09 1991  James Clark  (jjc at jclark)
9121         * pic/object.c (draw_arrow): Check for object having zero length.
9123 Wed Sep 11 10:32:38 1991  James Clark  (jjc at jclark)
9125         * eqn/main.c (do_file): Split off inline equation handling into...
9126         (inline_equation): New function.  Search for starting delimiter
9127         using...
9128         (delim_search): New function. Don't recognize a delimiter that
9129         occurs in the name of an escape sequence, number register, string
9130         etc.
9132 Tue Sep 10 04:01:11 1991  James Clark  (jjc at jclark)
9134         * eqn/delim.c (delim_box::compute_metrics): Don't call
9135         define_extensible_string if left is 0.
9136         (delim_box::output):  Don't print the left delimiter if left is 0.
9137         (delim_box::debug_print): Check for left == 0 before calling printf.
9139 Fri Aug 23 13:02:30 1991  James Clark  (jjc at jclark)
9141         * troff/Makefile (majorminor.c): Include only digits in
9142         minor_version.
9144 Thu Aug 22 09:35:37 1991  James Clark  (jjc at jclark)
9146         * refer/dirnamemax.c: new file.
9147         * refer/genlimits.c: Deleted.
9148         * refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
9149         Don't check path length.
9150         * refer/Makefile: Add dir_name_max.o; delete genlimits.
9151         * Makefile: Add PATHCONF_MISSING option.
9153         * refer/indxbib.c (get_cwd): New function.
9154         (main): Use get_cwd().
9155         * lib/getcwd.c: New file.
9156         * Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
9157         GETCWD in SUBFLAGS.
9158         * lib/Makefile: Compile getcwd.o.
9160         * ps/tmac.psatk (psatk-defs): Define showpage after pushing
9161         userdict.
9163         * refer/indxbib.c (main): Check success of mktemp.
9165         * lib/tmpfile.c: New file.
9166         * lib/Makefile: Add tmpfile.c.
9167         * lib/lib.h: Declare xtmpfile(); include <stdio.h>.
9168         * ps/ps.h: Delete declaration of mktemp().
9169         * ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
9170         * refer/refer.c (divert_to_temporary_file): Use xtmpfile().
9171         * driver/driver.h: No need now to include errno.h.
9173         * everywhere: Set errno to 0 before calling fopen().
9175         * eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
9176         dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
9177         refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.
9179 Mon Aug 19 10:52:18 1991  James Clark  (jjc at jclark)
9181         * troff/env.h (translate_space_to_dummy): Declare it.
9182         * troff/env.c (environment::space_newline, environment::space):
9183         If translate_space_to_dummy is set then make the width of spaces 0.
9184         * troff/input.c (translate): If the second character of a
9185         translation is a space, translate to unbreakable space.  If the
9186         first character is a space, set or clear translate_space_to_dummy
9187         according to whether the second character is \&.  Weird!
9189 Tue Jul 30 10:03:56 1991  James Clark  (jjc at jclark)
9191         * groff.c (run_commands): Don't use non-zero exit code because a
9192         command gets SIGPIPE.
9194         * groff.c, groff.sh: Use -mXps with -TXps.
9196         * ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
9197         (ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
9198         ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
9199         (ps_printer::special): New specials invis and endinvis.
9200         (ps_printer::do_invis, ps_printer::do_endinvis): New functions.
9201         (ps_printer::set_char, ps_printer::draw): Return if invis_count>0. 
9202         (ps_printer::end_page): Check that invis_count == 0.
9203         (ps_printer::invis_count): New member.
9204         (ps_printer::ps_printer): Initialize invis_count to 0.
9206         * troff/env.c (environment::hyphenate_line): Hyphenation
9207         indicator at beginning of word inhibits splitting after -, \(em
9208         etc.
9210         * pic/pic.y (element): Allow another element to follow } without
9211         any intervening separator.
9213 Mon Jul 22 12:27:37 1991  James Clark  (jjc at jclark)
9215         * pic/lex.c (get_delimited): Allow tabs before delimiter.
9217 Wed Jul 17 10:59:08 1991  James Clark  (jjc at jclark)
9219         * groff.c: Get rid of HAVE_UNION_WAIT stuff.  Instead suppress
9220         declaration of wait() in header files.
9221         * Makefile: Get rid of -DHAVE_UNION_WAIT.
9223         * tbl/table.c (alphabetic_text_entry::add_tab): New function.
9225         * lib/lib.h: Declare return type of strerror as char *.
9227         * man/Makefile: Add g flag to sed substitutions.
9228         * Makefile (shgroff, bindist): Likewise.
9230 Sun Jul 14 11:57:02 1991  James Clark  (jjc at jclark)
9232         * ps/ps.c (ps_printer::do_import): Move push of userdict into...
9233         * ps/devps/prologue (PBEGIN): Define showpage after pushing
9234         userdict.
9236 Sat Jul 13 20:53:04 1991  James Clark  (jjc at jclark)
9238         * ps/devps/prologue (PBEGIN): Zap any definition of showpage in
9239         userdict.
9241 Fri Jul 12 07:10:09 1991  James Clark  (jjc at jclark)
9243         * man/mdate.sh: Handle the fact that BSD ls -l does not print the
9244         group.
9246 Sun Jul  7 08:00:23 1991  James Clark  (jjc at jclark)
9248         * troff/input.c (define_number_reg):  If currently undefined,
9249         don't define it if the argument is an invalid expression.
9251         * Makefile: Ignore return value of `if' commands without `else'
9252         parts.
9254         * Makefile: Split up CPPDEFINES into a series of separate
9255         configuration options.
9257         * troff/input.c (init_registers): Use time_t instead of long
9258         unless LONG_FOR_TIME_T is defined.  Use returned result rather
9259         than passing pointer.
9260         * Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.
9262         * lib/Makefile (fontpath.h): Use gendef.
9264 Thu Jul  4 09:48:05 1991  James Clark  (jjc at jclark)
9266         * troff/input.c (input_iterator::shift): Delete argument name.
9267         * troff/node.c (suppress_output_file::really_begin_page,
9268         suppress_output_file::really_transparent_char, node::ascii_print,
9269         node::tprint): Delete names of unused arguments.
9271 Wed Jul  3 17:34:57 1991  James Clark  (jjc at jclark)
9273         * refer/label.y (string):  Pass $4 to command_error.
9275 Tue Jul  2 15:06:01 1991  James Clark  (jjc at jclark)
9277         * Version 1.03 released.
9279 Sat Jun 29 08:14:01 1991  James Clark  (jjc at jclark)
9281         * Makefile: Pass definition of SHELL in SUBFLAGS.
9283         * gendef: New file.
9284         * Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
9285         ps/Makefile: Use gendef to construct header files that are
9286         constructed from the Makefile.
9288         * macros/Makefile: make all should build stripped version of tmac.e.
9290         * refer/Makefile (clean): Remove y.output.
9292 Fri Jun 28 09:44:36 1991  James Clark  (jjc at jclark)
9294         * ps/pfbtops.c (main): Add -v option which prints out a version
9295         number.
9296         * ps/Makefile (pfbtops): Link with libgroff.a.
9298 Fri Jun 21 07:43:23 1991  James Clark  (jjc at jclark)
9300         * refer/search.h (linear_searcher::get_nkeys): Delete declaration.
9301         * refer/linear.c (linear_searcher::get_nkeys): Delete definition.
9303         * refer/lkbib.c (main): Always terminate reference with blank
9304         line.
9305         * refer/lookbib.c (main): Likewise.
9307         * refer/linear.c (file_buffer::load): Check that the file is not a
9308         binary file.
9310         * refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
9311         (genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
9312         Delete second inclusion of <sys/param.h>.
9314 Tue Jun 18 01:32:26 1991  James Clark  (jjc at jclark)
9316         * troff/token.h (token::special): Deleted.
9318         * tbl/main.c (process_format): Rework so that opt->tab_char is
9319         recognized only when appropriate.
9321         * ps/Makefile (clean): Remove pfbtops.
9323 Sun Jun 16 09:37:19 1991  James Clark  (jjc at jclark)
9325         * lib/font.c (text_file::next): Don't return if we have got a
9326         blank line.
9328 Fri Jun 14 09:52:26 1991  James Clark  (jjc at jclark)
9330         * refer/refer.c (store_reference): Get hash code from old_table[i]
9331         when rehashing the table.
9333 Thu Jun 13 01:26:43 1991  James Clark  (jjc at jclark)
9335         * eqn/box.c (box::top_level): Save size and prev size using \R and
9336         restore it afterwards. Set the size to the size at the beginning
9337         of the line.
9338         * eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
9339         SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.
9341         * refer/Makefile (limits.h): Use ./genlimits.
9343 Wed Jun 12 16:05:34 1991  James Clark  (jjc at jclark)
9345         * refer/index.c: Delete declarations of stat() and fstat().
9347 Tue Jun 11 14:52:49 1991  James Clark  (jjc at jclark)
9349         * tty/tmac.tty: Add character definitions for \(>= and \(<=.
9351 Mon Jun 10 22:49:48 1991  James Clark  (jjc at jclark)
9353         * etc/grog.sh, etc/grog.pl: Change regex for .PS.
9355 Fri Jun  7 09:13:06 1991  James Clark  (jjc at jclark)
9357         * troff/input.c (token::get_char): Handle \e.
9359         * refer/linear.c: Delete declarations of fstat() and stat().
9361 Wed Jun  5 09:11:59 1991  James Clark  (jjc at jclark)
9363         * troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
9364         OP_DELETE_BROKEN stuff, since we now have a fix for g++.
9366 Mon Jun  3 13:41:32 1991  James Clark  (jjc at jclark)
9368         * troff/input.c (do_define_macro): Improve error handling for end
9369         of file while defining macro.
9371 Sun Jun  2 10:20:24 1991  James Clark  (jjc at jclark)
9373         * eqn/box.h: Fix declaration of set_gsize.
9374         * eqn/box.c (set_gsize): Make argument const char *.
9375         (gsize): Declare as char *.
9376         * eqn/main.c (main): Don't convert gsize to int.
9377         * eqn/lex.c (do_gsize): Pass char * to set_gsize.
9379         * Version 1.02 released.
9381 Sat Jun  1 12:19:46 1991  James Clark  (jjc at jclark)
9383         * macros/tmac.andoc: New file.
9384         * macros/Makefile: Install tmac.andoc.
9386         * troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
9387         operator new and delete on OP_DELETE_BROKEN not being defined.
9388         * Makefile: Mention OP_DELETE_BROKEN.
9390 Mon May 27 13:49:07 1991  James Clark  (jjc at jclark)
9392         * Makefile (bindist): Pass SUBFLAGS.
9394 Sun May 26 14:13:22 1991  James Clark  (jjc at jclark)
9396         * Makefile, groff.c: Pass definitions to groff.c via device.h.
9398         * tty/tty.c (tty_font::load_tty_font): Avoid shadowing
9399         parameter.
9401         * ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.
9403         * ps/ps.h, ps/psrm.c: Make comment_table and
9404         header_comment_table local to resource_manager::process_file.
9406         * groff.sh: With -TXps pass -printCommand option to gxditview.
9408         * groff.c (possible_command::print): Implement using
9409         append_arg_to_string.
9411         * xditview: Merge in new implementation with own ChangeLog.
9413 Sat May 25 18:33:20 1991  James Clark  (jjc at jclark)
9415         * groff.c (main): Implement PRINT_OPTION.
9416         (append_arg_to_string): New command.
9417         (device_table): Set PRINT_OPTION flag for Xps.
9419 Fri May 24 09:48:58 1991  James Clark  (jjc at jclark)
9421         * troff/groff.h: Rename to troff.h.
9423         * pic/lex.c (lookup_keyword, docmp): New functions.
9424         (get_token): Use new lookup_keyword.
9425         Don't include key.h.
9426         * pic/key.[ch], pic/pic.gperf: Deleted.
9427         * pic/Makefile: Remove gperf stuff.
9429         * pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
9430         into output.h.
9431         * pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.
9433         * troff/Makefile, troff/node.c: Move definition of
9434         STORE_WIDTH into node.c.
9436         * etc/grog.pl, etc/grog.sh: Support -mdoc.
9438 Thu May 23 12:30:49 1991  James Clark  (jjc at jclark)
9440         * dvi/devdvi/texr.map, dvi.devdvi/texi.map,
9441         dvi/devdvi/texb.map: Add lq and rq.
9442         dvi/devdvi: Regenerate fonts.
9443         * ps/devps/textmap: Add lq and rq.
9444         * ps/devps: Regenerate fonts.
9445         * tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
9446         * macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
9448         * pic/object.c (position_rectangle): When checking radius
9449         cope with possiblity that width or height is negative.
9450         (box_object::box_object): Have separate xrad and yrad with
9451         signs matching signs of dim components.
9452         (box_object::{north,south}_{east,west}): Use xrad and yrad.
9453         (box_object::print): With rounded boxes use absolute values
9454         for dim and rad arguments.
9456         * lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
9457         in fontpath.h.
9459         * eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.
9461         * various files: Add explicit destructors to keep Saber CC +d
9462         happy.
9464 Wed May 22 11:37:11 1991  James Clark  (jjc at jclark)
9466         * eqn/box.c (box::top_level): Restore fonts correctly after
9467         font changes in line containing inline equation.  Also
9468         restore previous font as well as current font.
9469         * eqn/pbox.h: Define necessary string and register names.
9471         * troff/input.c (token::next): Case 'R' calls do_register.
9472         (do_register): New function.
9474 Tue May 21 11:28:23 1991  James Clark  (jjc at jclark)
9476         * groff.c, groff.sh: Support Xps device.  Allow each device
9477         to have a pseudo_name and a real_name.
9479         * groff.c (run_commands): Don't print `Broken pipe' messages.
9481         * ps/pfbtops.c: New file.
9482         * ps/Makefile: Add pfbtops.
9484         * troff/number.c (parse_term): Improved error message.
9486 Mon May 20 11:22:14 1991  James Clark  (jjc at jclark)
9488         * groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.
9490         * Makefile: Integrate refer.
9491         * refer: New directory.
9492         * man/grefer.man, man/glookbib.man, man/gindxbib.man,
9493         man/lkbib.man: New files.
9494         * man/Makefile: Support refer man pages.
9496         * lib/lib.h: Declare is_prime.
9497         * lib/prime.c: New file.
9499         * troff/input.c (macro_source): New function.
9500         (init_input_requests): Bind "mso" to macro_source.
9502         * troff/env.c (environment::possibly_break_line): Maintain
9503         pointer to pointer to node to be split in ndp so as to avoid
9504         using address of freed node.
9506         * troff/env.c (environment::hyphenate_line): Maintain pointer to
9507         pointer to first node to be hyphenated in startp so as to
9508         avoid using address of freed node.
9510         * troff/env.c (class trie, class hyphen_trie): Make the
9511         elements of the trie be of type char not unsigned char.
9512         Declare arguments to be const char* instead of unsigned char *.
9513         
9514         * troff/env.c (hyphenate): Initialize hbuf[0].
9516         * troff/input.c (set_string): Declare p to be char * and cast
9517         *p to unsigned char when necessary.
9519         * troff/input.c (do_define_macro): Declare s to be const
9520         char*. Cast element to unisgned char when necessary, Declare
9521         d to be an int.  Handle EOF better.
9523         * troff/Makefile, troff/input.c: Different scheme for passing
9524         definitions of MACROPATH, HYPHENFILE and DEVICE.
9526 Tue May 14 13:41:36 1991  James Clark  (jjc at jclark)
9528         * tty/devascii/R.proto: Delete entry for em.
9529         * tty/devlatin1/R.proto: Likewise.
9531 Sat May 11 11:13:28 1991  James Clark  (jjc at jclark)
9533         * troff/input.c (translate): Stop when we get a space. Treat eof
9534         like newline.
9536         * macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.
9538 Wed Apr 24 19:24:33 1991  James Clark  (jjc at jclark)
9540         * tbl/main.c (process_format): A font name following a `f'
9541         modifier that starts with a digit can be only one character long.
9542         Also deal with EOF on the second character of the font name.
9544 Wed Apr 17 11:23:43 1991  James Clark  (jjc at jclark)
9546         * troff/input.c (token::next): Turn \~ into an
9547         unbreakable_space_node.
9548         * troff/node.c (unbreakable_space_node): New class.
9549         * troff/node.h: Declare it.
9551 Tue Apr 16 10:47:12 1991  James Clark  (jjc at jclark)
9553         * dvi/dvi.c (dvi_printer::set_char): Make code an int.  Check that
9554         it's >= 0, before outputting it as a single byte.
9556 Mon Apr 15 11:20:23 1991  James Clark  (jjc at jclark)
9558         * lib/font.c: Make font_char_metric::code an int.
9559         (font::get_code): Change return type to int.
9560         (font::load): Allow code to be arbitrary integer.
9561         * lib/font.h (font::get_code): Change return type to int.
9562         (font::number_to_index): Change argument type to int.
9563         * troff/input.c (token::next):  In case 'N', allow any value.
9564         Store value in token::val.
9565         (token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
9566         (token::get_char, token::add_to_node_list, token::process): Get
9567         number from val.
9568         (charinfo::set_number): Change argument to int.
9569         (charinfo::get_number):  Require that NUMBERED flag be set.
9570         (get_charinfo_by_number): Store numbered characters not between 0
9571         and 255 in a dictionary.
9572         * troff/charinfo.h (get_charinfo_by_number): Change argument type
9573         to int.
9574         (charinfo::number): Change type to int.
9575         (charinfo::set_number): Change type of set_number to int.
9576         * troff/node.c (troff_output_file::put_char_width,
9577         troff_output_file::put_char): Test whether character is numbered
9578         using charinfo::numbered().
9579         * driver/printer.c (printer::set_numbered_char): Allow arbitrary
9580         values of num.
9581         * lib/nametoindex.c: New implementation to cope with arbitrary
9582         number characters.
9584         * troff/input.c (token::operator==): Test val for
9585         TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
9586         TOKEN_SIZE.
9588         * man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
9589         (.man.n):  sed out @BROKEN_SPOOLER_FLAGS@.
9591 Sun Apr 14 12:57:00 1991  James Clark  (jjc at jclark)
9593         * ps/devps/zapfdr.ps: Don't copy UniqueID.  Avoid use of newdict
9594         variable.
9596         * all Makefiles: rm targets of cp and >.
9598         * xditview/xtotroff.c (MapFont): Unlink troff_name before opening
9599         it.
9601         * eqn/lex.c (def_table): Add dollar.
9603 Sat Apr 13 13:02:44 1991  James Clark  (jjc at jclark)
9605         * troff/input.c (do_width): Push back newline before closing delim
9606         like do_bracket.
9608 Fri Apr 12 15:16:03 1991  James Clark  (jjc at jclark)
9610         * groff.c (possible_command::prepend_arg): New function.
9611         (main): Prepend device -m option.
9612         * groff.sh: Put device -m options before command-line options.
9614 Tue Apr  9 10:24:43 1991  James Clark  (jjc at jclark)
9616         * macros/tmac.an (IP): Quote argument to TP.
9618         * ps/ps.c (main): New option -b, which sets...
9619         (broken_flags): New variable.
9620         (ps_printer::~ps_printer): Incorporate the setup section in the
9621         prolog if (broken_flags & NO_SETUP_SECTION).
9622         (ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
9623         (ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
9624         ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
9625         ps_printer::print_needed_font_comment,
9626         ps_printer::print_supplied_font_comment,
9627         ps_printer::print_include_font_comments,
9628         ps_printer::lookup_doc_font, ps_printer::download_fonts,
9629         ps_printer::read_download_file, read_document_fonts, add_font,
9630         skip_line, parse_fonts_arg, document_font::document_font,
9631         document_font::~document_font, document_font::download,
9632         ps_output::include_file):  Deleted.
9633         (ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
9634         rather than %!PS-Adobe-2.0.  Make calls to
9635         resource_manager::need_font for each font that we used. Replace
9636         calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
9637         print_supplied_font_comment, print_needed_font_comment by call to
9638         resource_manager::print_header_comments. Output %%Orientation
9639         comment. Output %%Requirements: numcopies comment if ncopies > 1.
9640         Don't output the prolog directly.  Instead call
9641         resource_manager::output_prolog.  Only define #copies when ncopies
9642         > 1.  Delete calls to print_include_font_comments  and
9643         download_fonts.  Add call to resource_manager::document_setup.
9644         (ps_printer::do_file): Call resource_manager::import_file instead
9645         of including it ourselves.
9646         (ps_printer::do_import): Likewise.  Also don't call
9647         merge_import_fonts. Push userdict on the dictionary stack before
9648         and pop it afterwards.
9649         Move declaration of ps_output into ps.h.
9650         * ps/psrm.c: New file implementing resource_manager class.
9651         * ps/ps.h: New file declaring ps_output and resource_manager
9652         classes.
9653         * ps/devps/zapfdr.ps:
9654         * ps/devps/symbolsl.ps:
9655         * ps/devps/prologue:  Use 3.0 conventions.
9656         * ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
9657         Add default definition of BROKEN_SPOOLER_FLAGS.
9658         * Makefile: New variable BROKEN_SPOOLER_FLAGS.  Add
9659         BROKEN_SPOOLER_FLAGS to SUBFLAGS.
9661 Mon Apr  8 09:26:54 1991  James Clark  (jjc at jclark)
9663         * etc/grog.pl: New file.
9664         * Makefile (GROG): New variable.
9665         Add GROG to SUBFLAGS.
9666         * etc/Makefile (GROG): New variable.
9667         (install.nobin): Install $(GROG) rather than grog.sh.
9669 Thu Apr  4 11:36:45 1991  James Clark  (jjc at jclark)
9671         * eqn/special.c (special_box::compute_metrics): Make the input and
9672         output strings the same.  Get the new height and depth from the
9673         predefined height and depth registers.  Also make subscript kern
9674         and skew available.
9675         (special_box::compute_subscript_kern, special_box::compute_skew):
9676         New functions.
9678         * eqn/box.c (pointer_box::compute_skew,
9679         simple_box::compute_metrics, box::top_level)
9680         * eqn/text.c (prime_box::compute_metrics,
9681         prime_box::comput_subscript_kern)
9682         * eqn/limit.c (limit_box::compute_metrics):
9683         * eqn/delim.c (build_extensible, delim_box::compute_metrics):
9684         * eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
9685         negative numbers in `nr' requests with a leading 0.
9687 Wed Apr  3 15:58:23 1991  James Clark  (jjc at jclark)
9689         * eqn/special.c: New file.
9690         * eqn/eqn.y: Declare token SPECIAL.  Make it right associative.
9691         Add new rule for simple.
9692         * eqn/lex.c (token_table): Add SPECIAL.
9693         * eqn/box.h: Declare make_special_box.
9694         * eqn/Makefile: Add special.[co].
9696 Sat Mar 30 10:57:53 1991  James Clark  (jjc at jclark)
9698         * ps/devps/prologue: Possibly set packing to true while defining.
9699         Create grops dictionary here.  Initialize local variables before
9700         defining procedures.
9701         (PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
9702         the dictionary stack. Set strokeadjust and overprint to false if
9703         the relevant operators are defined.
9704         (PEND): New procedure.
9705         * ps/ps.c (ps_printer::~ps_printer): In the prolog just include
9706         prologue.  Do everything else in the setup section.
9707         (ps_printer::do_import): Just call PBEGIN and PEND around the
9708         picture. Also push userdict before, and pop it afterwards.
9710 Wed Mar 27 07:59:50 1991  James Clark  (jjc at jclark)
9712         * troff/node.c (bracket_node::tprint): Brackets were being printed
9713         1m too low.
9715         * macros/tmac.an (SH, SS): Set fill mode.
9717 Tue Mar 26 07:46:31 1991  James Clark  (jjc at jclark)
9719         * troff/div.c (top_level_diversion::begin_page): Set
9720         high_water_mark to 0.
9722 Fri Mar 22 09:19:46 1991  James Clark  (jjc at jclark)
9724         * man/mdate.sh: New file.
9725         * man/mdate.c: Deleted.
9726         * man/Makefile: Use mdate.sh instead of mdate.
9727         (mdate): Deleted.
9729         * eqn/lex.c (do_gsize): Supply missing argument to error message.
9731 Tue Mar 19 11:06:50 1991  James Clark  (jjc at jclark)
9733         * man/mdate.c: New file.
9734         * man/*.man: Replace modification date by @MDATE@.
9735         * man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
9736         (mdate): New target.
9738         * lib/font.c (text_file::next): Deal with arbitrarily long lines.
9739         Remove illegal input characters.
9741 Mon Mar 18 08:32:25 1991  James Clark  (jjc at jclark)
9743         * macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.
9745 Sat Mar 16 03:52:25 1991  James Clark  (jjc at jclark)
9747         * troff/div.c (begin_page): Change behaviour when
9748         !first_page_begun and !break_flag.
9750         * troff/input.c (do_name_test): Return 0 if argument is empty.
9752         * troff/input.c (read_long_escape_name): Require closing ] to be
9753         at same input level as opening [.
9755         * troff/input.c (read_increment_and_escape_name): New function.
9756         (get_copy, process_input_stack): Use this for \n.
9758 Fri Mar 15 00:31:48 1991  James Clark  (jjc at jclark)
9760         * troff/div.c (top_level_diversion::begin_page): Ignore the
9761         current value of page_number if !first_page_begun.
9763         * groff.c (main): Fix declaration of buf.
9765         * troff/input.c (do_name_test): New function.
9766         (token::next): Implement \A.
9767         (token::next): Implement \e by turning it into a TOKEN_ESCAPE.
9768         (token::description, token::add_to_node_list, token::process):
9769         Handle TOKEN_ESCAPE.
9770         * troff/token.h: New token TOKEN_ESCAPE.
9772 Thu Mar 14 10:22:26 1991  James Clark  (jjc at jclark)
9774         * pic/main.c (do_picture): Allow space before and after filename
9775         following `<'.  Check that the filename is not empty.
9777 Wed Mar 13 12:49:40 1991  James Clark  (jjc at jclark)
9779         * Version 1.01 released. 
9781         * dvi/devdvi/CompileFonts: Add cm*ss10 fonts.
9783         * dvi/tmac.dvi: ftr HR to H.
9785         * macros/tmac.e: Round up computation of $r.
9787         * xditview/tmac.X:  Don't give up completely in compatibility mode.
9788         Use \n(.s instead of \n[.s].
9790         * dvi/tmac.dvi: Don't give up completely in compatibility mode.
9791         Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
9792         Add u to factors inside \s[...]. Rename frac to dvi-frac.
9793         Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
9794         short names in the char definitions.
9796         * ps/tmac.ps: Don't give up completely in compatibility mode.
9797         Fix the fraction definitions to use \n(.s and \(f/. Add an extra
9798         quote in front of \n(.s. Add u to factors inside \s[...].
9800 Mon Mar 11 12:01:20 1991  James Clark  (jjc at jclark)
9802         * tty/tmac.tty: Call the nroff request.
9804         * macros/tmac.e ((x, )x):  Better definitions that work properly
9805         in a diversion.
9806         (@0, @1): Helper macros for (x.
9808         * macros/tmac.e ($s, hl): Use \l rather than \D.
9810         * tty/tmac.tty: Make it work better in compatibility mode.
9811         (pchar): Rename to tty-char.
9813         * macros/tmac.e (@E): New macro.
9814         (r, i, b, rb, bi): Use @E.
9816         * macros/tmac.e (@F): Don't use (;...) syntax.
9818         * macros/tmac.e: Remove mention of \*(||/revisions.  Mention that
9819         it was modified for groff.
9821         * macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.
9823         * macros/tmac.e (<., .>): Removed.
9824         ([., .]): If \n(.V>=1v, use [] instead of superscripting.
9826         * macros/tmac.e: Remove check that groff is being used.
9828         * macros/tmac.e (@C): Change families only if using groff; turn
9829         compatibility mode off while changing familes. Save compatibility
9830         mode before changing families and restore it afterwards.
9832         * macros/tmac.e (@h): Remove test for offset + line length.
9834         * macros/tmac.e (sorry): Rename to @S.  Use \$1 instead of \$0
9835         (lo, th, ac): Define to call @S instead of using als.
9837         * macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
9838         the ratio of the vertical spacing to the point size in units
9839         expressed as a percentage.  Use these instead of $10r and $10R,
9840         Delete $10r and $10R.
9842         * lib/font.c (font::load): In default computation of space_width,
9843         divide by sizescale.  Use scale_round.
9845         * macros/tmac.an (TP): Don't call `nf'.
9846         (an-do-tag): Don't call `fi'.
9848 Sun Mar 10 09:52:35 1991  James Clark  (jjc at jclark)
9850         * troff/input.c (process_input_stack): Handle the case where
9851         spaces at the beginning of an input line are followed by a
9852         newline.
9854 Thu Mar  7 20:18:07 1991  James Clark  (jjc at jclark)
9856         * groff.c (device_table): Add PIC_X_OPTION for dvi device.
9857         * groff.sh: Use pic -x with the dvi device.
9859         * dvi/devdvi/FontMakefile (H): Don't use -s.
9861         * dvi/devdvi/HI, dvi/devdvi/HB: New files.
9862         * dvi/devdvi/Makefile: Add HI and HB to FONTS.
9863         * dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
9864         in FONTS.
9866 Mon Mar  4 13:20:14 1991  James Clark  (jjc at jclark)
9868         * ps/psfig.diff: New file.
9869         * ps/tmac.psfig: New file.
9871 Sat Mar  2 00:15:09 1991  James Clark  (jjc at jclark)
9873         * macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
9874         (]-): Don't call ref*do-tl.
9876         * macros/tmac.s (ref*end-print): Use XP if [F not defined.
9878         * macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
9879         (fn@do-FS): Rename to fn*do-FS.
9881         * troff/input.c (transparent_translate): New function.
9882         (process_input_stack): Apply transparent_translate before calling
9883         diversion::transparent_output(unsigned char).
9885 Wed Feb 27 00:13:25 1991  James Clark  (jjc at jclark)
9887         * troff/input.c (do_define_macro): Define the macro before calling
9888         skip_line.
9890         * xditview/Makefile: Add DEVICES variable.  Change install target
9891         to use this.
9893 Tue Feb 26 10:46:22 1991  James Clark  (jjc at jclark)
9895         * groff.c (run_commands): Handle the possibility that there are
9896         child processes other than those forked by us.
9898 Sun Feb 24 21:32:30 1991  James Clark  (jjc at jclark)
9900         * lib/string.c (string::append): New function.
9901         * lib/stringclass.h: Declare it.
9903 Thu Feb 21 11:49:26 1991  James Clark  (jjc at jclark)
9905         * eqn/main.c (main): New option -N which sets
9906         no_newline_in_delim_flag. 
9907         (do_file): If no_newline_in_delim_flag is set don't allow newlines
9908         in delimiters.
9909         * groff.c (main): Pass -N on to eqn.
9910         (help, synopsis): Mention -N.
9911         * groff.sh: Implement -N.
9913 Wed Feb 20 15:16:10 1991  James Clark  (jjc at jclark)
9915         * macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
9916         (]-): Call ref*do-tl if ref*need-tl is non-zero.
9917         (XP): Allow as initializer.
9919 Tue Feb 19 14:09:06 1991  James Clark  (jjc at jclark)
9921         * troff/env.c (environment::wrap_up_field): If field_spaces are
9922         non-zero and we have a current_tab, subtract padding from
9923         tab_distance.  If this makes tab_distance <= 0, use the next tab
9924         stop instead.  If there isn't any next tab or it's a left tab,
9925         wrap up the current tab.
9926         (environment::start_field): Initialize tab_precedes_field.
9927         (environment::wrap_up_tab): If there's a current field, update
9928         pre_field_width, field_distance and tab_precedes_field.
9929         * troff/env.h (environment::tab_precedes_field): New member.
9931 Fri Feb 15 01:24:00 1991  James Clark  (jjc at jclark)
9933         * ps/ps.c (ps_printer::do_file): New function.
9934         (ps_printer::special): Bind to `file' special.
9935         (ps_printer::do_exec): Set ndefined_styles to 0.
9937 Sat Feb  9 03:03:04 1991  James Clark  (jjc at jclark)
9939         * eqn/text.c (split_text): Grok \* and similar escapes sequences.
9940         Avoid stripping first character from the start of unrecognized
9941         escapes.  Use lex_error instead of error to report errors.
9942         * eqn/lex.c (get_token): Rework handling of escapes.
9943         (lex_error): Move declaration into...
9944         * eqn/eqn.h.
9946         * xditview/xditview.c (main): Make -page option work.
9948         * Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.
9950 Wed Feb  6 12:28:43 1991  James Clark  (jjc at jclark)
9952         * macros/tmac.s (B2): Correct size of box.
9954 Tue Feb  5 00:37:35 1991  James Clark  (jjc at jclark)
9956         * macros/tmac.s (B2): Postpone drawing the box until in the
9957         top-level diversion.
9959         * tty/tmac.tty: Add font translations for C, CR, CW.
9961         * groff.c (synopsis, help): Document -i.
9962         * groff.sh: Implement -i.
9964         * macros/tmac.s (@NH): Put a `.' after multi-part numbers.
9965         Simplify the construction of SN.
9967         * troff/number.c (parse_term): Give `|' a higher precedence.
9968         * tbl/table.c (numeric_text_entry::simple_print): Parenthesise
9969         accordingly.
9971         * macros/tmac.s (B2): Use par@finish instead of par@reset.
9973 Mon Feb  4 12:36:09 1991  James Clark  (jjc at jclark)
9975         * lib/string.c (string::move): New function.
9976         * lib/stringclass.h: Declare it.
9978 Sat Feb  2 16:02:16 1991  James Clark  (jjc at jclark)
9980         * troff/env.c (distribute_space): Add optional argument
9981         `force_forward'.
9982         (environment::wrap_up_field): Call distribute_space with
9983         `force_forward' argument of 1.
9985 Fri Feb  1 19:36:33 1991  James Clark  (jjc at jclark)
9987         * lib/string.c, lib/stringclass.h (string::operator+=(char)):
9988         Inline it.  Move reallocation into...
9989         (string::grow1): New function.
9990         * pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
9991         dependencies to include library header files.
9992         * lib/Makefile: Make string.c and lf.c depend on stringclass.h.
9994 Thu Jan 31 15:02:27 1991  James Clark  (jjc at jclark)
9996         * macros/tmac.s (@NH): Use the same number registers than -ms does
9997         for the heading level counters.  Use the same string that -ms does
9998         for the number for this heading.
10000 Wed Jan 30 14:25:40 1991  James Clark  (jjc at jclark)
10002         * lib/new.c (operator new): Cast result of malloc to char *.
10004         * troff/input.c (spring_trap, lookup_request): Add assert that nm
10005         is not null.
10007 Tue Jan 29 18:08:05 1991  James Clark  (jjc at jclark)
10009         * groff.c (main): Support -i.
10011 Sun Jan 27 13:23:17 1991  James Clark  (jjc at jclark)
10013         * pic/pic.h: Include <osfcn.h>.
10015         * ps/ps.c: Add declaration of mktemp.
10017         * Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
10018         * groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
10019         argument as union wait *.
10020         (run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
10021         argument to union wait *.
10023 Sat Jan 26 12:04:52 1991  James Clark  (jjc at jclark)
10025         * tty/tmac.tty: Add definition of \(co.
10027         * pic/object.c (make_arc): Only increase radius when radius
10028         strictly less than d.
10029         (arc_object::update_bounding_box): May need to add 4.0 to end_quad
10030         more than once.
10032         * troff/env.c (environment::environment(symbol),
10033         environment::environment(const environment *)):  Initialize
10034         input_trap_count.
10036 Sat Jan 19 08:18:35 1991  James Clark  (jjc at jclark)
10038         * tbl/main.c (main): Add exit(0).
10040         * ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.
10042         * pic/main.c (main):
10043         * eqn/main.c (main):
10044         * tbl/main.c (main):
10045         * etc/soelim.c (main):
10046         * driver/printer.c (printer::~printer):
10047         * troff/node.c (real_output_file::~real_output_file,
10048         real_output_file::flush):  Check for errors on stdout.
10050         * most files: Add 1991 to copyright notice.
10052         * macros/tmac.s: Don't test \n(.x and \n(.y.
10054         * troff/input.c (token::next): Rename `escape_char' label to
10055         `handle_escape_char' and `normal_char' label to
10056         `handle_normal_char'.
10058 Thu Jan 17 15:46:35 1991  James Clark  (jjc at jclark)
10060         * groff.c (main, synopsis, help): Support -a option.
10061         * groff.sh: Likewise.  Also eliminate Zflag variable by adding -z
10062         to trflags while parsing options.
10064 Tue Jan 15 13:07:27 1991  James Clark  (jjc at jclark)
10066         * troff/number.c (parse_term): With `m', `M' and `n' scale
10067         indicators, convert scale factor to hunits before scaling.
10069 Mon Jan 14 12:39:12 1991  James Clark  (jjc at jclark)
10071         * lib/font.c (scale_round): Better test for overflow when n is
10072         negative.
10074 Thu Jan 10 11:10:56 1991  James Clark  (jjc at jclark)
10076         * tbl/main.c (process_format): Add second argument of type
10077         options*. Change callers.  Allow opt->tab_char as well as '\t'
10078         between format items.
10080 Mon Jan  7 12:30:18 1991  James Clark  (jjc at jclark)
10082         * macros/tmac.an (PD): With no arguments, make sure register PD is
10083         at least \n[.V].
10084         (TH): Call PD with no argument, instead of setting register PD
10085         directly.
10087 Sun Jan  6 11:18:39 1991  James Clark  (jjc at jclark)
10089         * Version 1.00 released.
10091 Sat Jan  5 08:44:30 1991  James Clark  (jjc at jclark)
10093         * ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.
10095         * dvi/devdvi/DESC: Mount CW instead of CR.
10097         * dvi/tmac.dvi: Add definition of \(tm.
10099         * dvi/devdvi/texsy.map: Add lh, and rh.
10100         * dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
10101         * dvi/devdvi/texmi.map: Add *o. Regenerate fonts.
10103         * dvi/devdvi/FontMakefile: Generate H from cmss10.
10104         * dvi/devdvi/Makefile: Install H.
10105         * dvi/devdvi/H: New file.
10107 Fri Jan  4 15:04:57 1991  James Clark  (jjc at jclark)
10109         * troff/env.c (vertical_spacing): Don't allow vertical spacing to
10110         be 0.
10112 Thu Jan  3 13:41:19 1991  James Clark  (jjc at jclark)
10114         * macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.
10116         * macros/tmac.pic (PS): Avoid attempting to set negative indent.
10118         * macros/tmac.s (@EN): Handle the case where the equation is empty
10119         but the label is not.
10121 Wed Jan  2 10:31:44 1991  James Clark  (jjc at jclark)
10123         * troff/groff.h: New warning category WARN_SPACE.
10124         * troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
10125         WARN_SPACE to warning_table.
10126         (interpolate_macro): Give a warning of type WARN_SPACE if the name
10127         is longer than two characters and is not defined, but the first
10128         two characters do make a defined name.
10130         * PROBLEMS: New file.
10132         * CHANGES: New file.
10133         * README-0.6, README-1.00: Deleted.
10135         * groff.c, groff.sh: Add X75-12 and X100-12 devices.
10136         * xditview/devX75/Makefile: Make devX75-12.
10137         * xditview/devX100/Makefile: Make devX100-12.
10139         * xditview/devX100/eqnchar, xditview/devX75/eqnchar,
10140         dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.
10142 Tue Jan  1 19:24:01 1991  James Clark  (jjc at jclark)
10144         * README-0.7: Rename to README-1.00.
10146         * macros/tmac.pic: New file.
10147         * macros/Makefile (install.nobin): Install tmac.pic.
10149 Mon Dec 31 10:40:53 1990  James Clark  (jjc at jclark)
10151         * troff/env.c (hyphen_word): Correct the test for whether the
10152         token is a hyphen.  Reset npos to 0.
10154         * macros/tmac.s (par@sup-start, par@sup-end): New implementations.
10156 Sun Dec 30 15:53:13 1990  James Clark  (jjc at jclark)
10158         * macros/tmac.s (ds*common-end): Call par*reset.
10159         (PE): Likewise.
10160         (par@reset-indent): Deleted.
10162         * macros/tmac.s (@IP): Divert the label.
10164 Sat Dec 29 14:33:32 1990  James Clark  (jjc at jclark)
10166         * xditview/draw.c (setGC): Use a line width of .1m rather than
10167         .04m by default; round rather than truncate value.
10169         * tbl/table.c (class empty_entry): New class.
10170         (empty_entry::empty_entry, empty_entry::line_type): New functions.
10171         (table::add_entry): Represent empty entries by objects of type
10172         empty_entry.
10173         (table_entry::line_type): Return -1.
10174         (table::determine_row_type): Ignore entries with line_type 0.
10175         Treat type -1 as non-lines.
10177 Fri Dec 28 15:04:41 1990  James Clark  (jjc at jclark)
10179         * ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
10180         macros/tmac.s: Rename \(-d to \(Sd.
10182 Thu Dec 27 12:35:47 1990  James Clark  (jjc at jclark)
10184         * ps/devps/textmap: Add `sd', `/_' and `3d' characters.
10185         * xditview/libXdvi/DviChar.c: Likewise.
10186         * dvi/devdvi/texsy.map: Add `<<', `>>'.
10188 Wed Dec 26 13:33:23 1990  James Clark  (jjc at jclark)
10190         * troff/div.c (top_level_diversion::begin_page): Call
10191         init_output() if the_output is 0.
10193 Sat Dec 22 12:35:29 1990  James Clark  (jjc at jclark)
10195         * troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
10196         ESCAPE_c.
10197         (get_copy): Turn \E into ESCAPE_E.
10198         (token::process, asciify): Handle ESCAPE_E.
10200         * macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
10201         (RD): New macro.
10202         (DS): Implement `.DS R'.
10204 Fri Dec 21 11:41:53 1990  James Clark  (jjc at jclark)
10206         * macros/tmac.s (FS): New macro.
10208         * macros/tmac.s (fn@do-FS): Use @LP instead of LP.
10210         * macros/tmac.s (cov*tl-init): Remove after first execution
10211         instead of aliasing to @nop.  Call top of page macro explicitly
10212         instead of setting trap; call @init first.  Set pg@top as top of
10213         page macro.
10214         (cov*auto-init): Deleted.  Set cov*tl-init instead of
10215         cov*auto-init as top of page trap. 
10216         (TL, LP): Do a break instead of calling cov*tl-init.
10217         (cov*print): With RP format but no TL, alias FS and FE to @FS and
10218         @FE; in this case also give a warning and always start another
10219         page. No need to set pg@top here.
10220         (cov*tl-init): Rename to cov*first-page-init.
10222         * macros/tmac.s (RP): Do `.pn 0'.
10223         (cov*tl-init): With RP format don't do `.pn 0'.
10225         * macros/tmac.s (pg@cs-top): Set no space mode.
10227         * macros/tmac.s (par@TL, par@AU, par@AI): New macros.
10228         (cov*ab-init): Alias TL, AU and AI to these.
10230 Thu Dec 20 10:10:50 1990  James Clark  (jjc at jclark)
10232         * macros/tmac.s (@EQ): Move the space before the equation into @EN
10233         (@EN): Do nothing unless \n[dl] is > 0.
10235 Tue Dec 18 12:20:47 1990  James Clark  (jjc at jclark)
10237         * pic/object.c (ellipse_object::radius): New function.
10239         * VERSION: Change version to 0.7.
10241         * tbl/table.c (block_entry::do_divert): Declare return type as
10242         void.
10243         (block_entry::divert, alphabetic_block_entry::divert): Return 1.
10245 Mon Dec 17 12:30:34 1990  James Clark  (jjc at jclark)
10247         * troff/column.c: New file.
10248         * troff/Makefile: Corresponding changes.
10250         * troff/hvunits.c (scale(vunits, vunits, vunits)):  New function.
10251         Friend of vunits.
10253         * troff/div.c (top_level_diversion::space): If the space causes
10254         the first-page transition and springs a trap, truncate the space
10255         to 0.
10257 Fri Dec 14 12:30:02 1990  James Clark  (jjc at jclark)
10259         * ps/ps.c (ps_printer::do_import): Add a `clear' after including
10260         the document.
10262         * pic/troff.c (troff_output::line_thickness,
10263         troff_output::set_fill): Do a horizontal motion to compensate for
10264         the width of the \D escape sequence.
10266 Thu Dec 13 10:17:14 1990  James Clark  (jjc at jclark)
10268         * xditview/tmac.X: Reinstate definition of \(rn, but only for X100
10269         (not X75).
10271         * eqn/sqrt.c (sqrt_box::compute_metrics):  Supply missing argument
10272         to printf.
10274         * tbl/table.c (simple_entry::simply_print): Don't declare as pure.
10275         Supply empty definition.
10276         (text_entry::simple_print, simple_text_entry::simple_print):
10277         Delete declarations.
10278         (table::add_entry): Represent empty entries by objects of type
10279         `simple_entry'.
10281 Wed Dec 12 08:50:48 1990  James Clark  (jjc at jclark)
10283         * troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.
10285         * tbl/table.c (left_text_entry::add_tab): New function.
10287         * macros/tmac.s: Make @RT an alias for par@reset.  Make RT
10288         initialize like LP.
10290 Mon Dec 10 11:19:55 1990  James Clark  (jjc at jclark)
10292         * troff/env.c (environment::start_field): Give an error message if
10293         there is no next tab.
10295 Sun Dec  9 11:46:40 1990  James Clark  (jjc at jclark)
10297         * troff/env.c (hyphenate): Skip initial elements with zero
10298         hyphenation code.
10300         * macros/tmac.s (par@init): Keep VS in points rather than units.
10302 Sat Dec  8 23:00:27 1990  James Clark  (jjc at jclark)
10304         * pic/main.c (main): Implement `-c' option.
10305         * pic/output.h: Declare make_tpic_output().
10306         * pic/tex.c (tex_output::set_pen_size): Make it virtual and
10307         protected.
10308         (tpic_output): New class.
10309         (tpic_output::tpic_output, tpic_output::set_pen_size,
10310         tpic_output::command, make_tpic_output): New functions.
10312 Fri Dec  7 11:57:41 1990  James Clark  (jjc at jclark)
10314         * tbl/main.c (main): Call `.ab' if \n(.g is false.  Define TS/TE
10315         if they're not already defined.
10316         * tbl/table.c (init_output): Don't test \n(.g.
10318         * troff/input.c (do_if_request): Delete `g' condition. Recognize
10319         `d', `r' and `c' conditions even in compatibility mode.
10321 Tue Dec  4 09:13:47 1990  James Clark  (jjc at jclark)
10323         * ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
10324         box.
10326 Mon Dec  3 07:18:26 1990  James Clark  (jjc at jclark)
10328         * troff/env.h (environment::prev_line_interrupted): New member.
10329         (environment::get_prev_line_interrupted): New function.
10330         * troff/env.c (environment::newline): Set prev_line_interrupted.
10331         (environment::environment(const environment *),
10332         environment::environment(symbol)): Initialize
10333         prev_line_interrupted.
10334         * troff/input.c (process_input_stack): Don't give special
10335         treatment to space and newline at the beginning of the line if the
10336         previous line was interrupted.
10338 Sat Dec  1 15:48:37 1990  James Clark  (jjc at jclark)
10340         * eqn/eqn.y: Disallow PRIME by itself.
10341         * eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
10342         PRIME.
10343         (def_table): Remove definition of '.  Define prime to be `.
10345         * eqn/eqn.y: Split off part of rule `script' into a new rule
10346         `nonsup'.
10348 Fri Nov 30 10:23:44 1990  James Clark  (jjc at jclark)
10350         * macros/tmac.s ({, }): New string aliases.
10352 Thu Nov 29 11:34:40 1990  James Clark  (jjc at jclark)
10354         * README-0.7: New file.
10356 Wed Nov 28 10:09:57 1990  James Clark  (jjc at jclark)
10358         * macros/tmac.s: New file.
10359         * man/groff_ms.man: New file.
10360         * Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
10361         * Makefile.bd: Similarily.
10362         * man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
10363         definition of TMAC_S.
10364         * macros/Makefile: Add definition of TMAC_S. Install tmac.s.
10365         * macros/TODO: New file.
10367 Sat Nov 24 20:04:54 1990  James Clark  (jjc at jclark)
10369         * troff/env.c (right_justify): New function.
10370         (init_env_requests): Bind this to request "rj".
10371         (center_lines): Set right_justify_lines to 0. If we get a bad
10372         integer, center 1 line.
10373         (environment::environment(symbol), environment::environment(const
10374         environment *)): Initialize right_justify_lines.
10375         (environment::get_right_justify_lines): New function.
10376         (init_env_requests): Bind this to number_register ".rj".
10378         * troff/env.c (environment::choose_breakpoint): Implement
10379         hyphenation_margin and hyphenation_space.
10380         (environment::get_hyphenation_space,
10381         environment::get_hyphenation_margin): New functions.
10382         (init_env_requests): Bind these to .hys and .hym.
10383         (hyphenation_space_request, hyphenation_margin_request): New
10384         functions
10385         (init_env_requests): Bind these to hys and hym.
10386         (environment::environment(symbol), environment::environment(const
10387         environment *)): Initialize hyphenation_margin and
10388         hyphenation_space.
10389         * troff/env.h: Corresponding changes to class environment.
10391 Fri Nov 23 09:08:16 1990  James Clark  (jjc at jclark)
10393         * troff/div.c (blank_line): Always do a break.
10395         * eqn/box.c (do_text): Turn off escapes while appending text to
10396         string.
10398 Thu Nov 22 10:58:59 1990  James Clark  (jjc at jclark)
10400         * troff/input.c (while_break_request, while_continue_request): New
10401         functions.
10402         (init_input_requests): Bind these to "break" and "continue".
10403         (while_depth, while_break_flag): New variables.
10404         (while_request): Update while_depth.  Break out of loop if
10405         while_break_flag is set.
10407 Wed Nov 21 10:54:40 1990  James Clark  (jjc at jclark)
10409         * tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
10410         rather than 0.
10412 Mon Nov 19 00:45:03 1990  James Clark  (jjc at jclark)
10414         * Makefile: Include -DBROKEN_SPOOLER by default.  Expand comment.
10416         * stringify: New file.
10417         * Makefile (groff.o): Use stringify.
10419         * xditview/tmac.X: Remove definition of \(rn.
10420         * xditview/libXdvi/DviChar.c: Remove radicalex from
10421         Adobe_symbol_map.
10423 Sat Nov 17 10:44:58 1990  James Clark  (jjc at jclark)
10425         * tbl/table.c (table::add_entry): Allow alphabetic text blocks.
10426         (alphabetic_block_entry::alphabetic_block_entry,
10427         alphabetic_block_entry::divert, alphabetic_block_entry::print):
10428         New functions.
10429         (block_entry::divert): Split off body into ...
10430         (block_entry::do_divert): If the block is alphabetic, subtract 2n
10431         from the line length; also update the span width to dl+2n, and the
10432         alphabetic span width to dl.
10434         * driver/input.c (do_file):  While reading argument to D command,
10435         when expanding buffer, multiply szp by sizeof(int) rather than 2
10436         in the argument to memcpy.
10438         * tbl/table.c (compute_span_width): Add 2n rather than 1n to the
10439         width of alphabetic columns.
10441 Fri Nov 16 06:34:27 1990  James Clark  (jjc at jclark)
10443         * troff/node.c (lookup_family): Supply second argument to lookup.
10445         * troff/dictionary.c (dictionary::lookup): After an unsuccesful
10446         search, return immediately if v is 0.
10448         * pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
10449         (troff_output::start_picture): Set this reg.
10450         (troff_output::end_picture): Remove this reg
10451         * eqn/box.c (box::extra_space): Don't produce `\x's if
10452         EQN_NO_EXTRA_SPACE_REG is defined.
10454         * eqn/eqn.y: Allow just a PRIME to be a `simple'.
10455         * eqn/text.c (split_text): Map ' to \(fm when it's the first
10456         character.
10458 Thu Nov 15 10:35:06 1990  James Clark  (jjc at jclark)
10460         * macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
10461         requests.
10463         * troff/div.c (top_level_diversion::top_level_diversion):
10464         Initialize page_number to 0.
10466 Wed Nov 14 21:41:58 1990  James Clark  (jjc at jclark)
10468         * groff/troff (environment::environment(const environment *)):
10469         Initialize name to e->name, rather than "anonymous".
10471 Sat Nov 10 01:59:37 1990  James Clark  (jjc at jclark)
10473         * xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
10474         requested_page.  Split middle part into ...
10475         (FindPage): New function.
10476         (SetValues): If we don't yet know the last page, and the requested
10477         page is greater than the current page, call FindPage.
10478         Update the font_map_string before doing this.
10480         * xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
10481         Translate \(lh and \(rh into left and right double arrows.
10483         * troff/node.c (class hyphen_inhibitor_node): New class.
10484         (hyphen_inhibitor_node::hyphen_inhibitor_node,
10485         hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
10486         hyphen_inhibitor_node::type,
10487         hyphen_inhibitor_node::get_hyphenation_type): New functions.
10488         (node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
10489         than dbreak_node(0, 0) to represent a `\%' at the beginning of a
10490         word.
10492 Fri Nov  9 16:05:38 1990  James Clark  (jjc at jclark)
10494         * troff/node.h (dummy_node::get_hyphenation_type,
10495         transparent_dummy_node::get_hyphenation_type):  Declare them.
10496         * troff/node.c: (dummy_node::get_hyphenation_type,
10497         transparent_dummy_node::get_hyphenation_type): New functions.
10499 Wed Nov  7 10:09:06 1990  James Clark  (jjc at jclark)
10501         * xditview/libXdvi/draw.c: If M_PI not defined after including
10502         math.h, then define it.
10504         * xditview/Makefile: Add definition of AR. Pass it to the submake
10505         in libXdvi.
10506         * xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.
10508 Tue Nov  6 10:14:27 1990  James Clark  (jjc at jclark)
10510         * troff/dictionary.h (object_dictionary::alias): Declare return
10511         value as int.
10512         * troff/dictionary.c (object_dictionary::alias): Return non-zero
10513         if the old name was defined.
10514         * troff/input.c (alias_macro): Give a warning if the old name was
10515         not defined.
10516         * troff/reg.c (alias_reg): Likewise.
10518 Mon Nov  5 00:31:39 1990  James Clark  (jjc at jclark)
10520         * troff/input.c (token::next): Delete implementation of \R.
10522         * macros/Makefile: Strip comments from tmac.e while installing it.
10524         * troff/input.c: New variable `nroff_mode'.
10525         (troff_request, nroff_request): New functions.
10526         (init_input_requests): Bind `troff' and `nroff' to troff_request
10527         and nroff_request.
10528         (do_if_request): Compute results of t and n conditions from
10529         nroff_mode.
10531         * text/text.c (split_text): Fix typo in >=.
10533         * eqn/lex.c: Add definition of `==' to def_table.
10535 Fri Nov  2 02:49:09 1990  James Clark  (jjc at jclark)
10537         * pic/tex.c (tex_output::start_picture): Change the definitions of
10538         \graph and \graphtemp so that they work properly with Plain TeX.
10540         * pic/tex.c (tex_output::solid_arc): Ensure that the second angle
10541         argument to `ar' is not less than the first.
10543         * pic/pic.y: Allow a comma between elements of the variable list
10544         in the argument to `reset'.
10546         * pic/object.c (arc_object::arc_object): Fix computation of
10547         radius.
10549         * eqn/main.c (main): Add exit(0).
10551 Thu Nov  1 02:03:50 1990  James Clark  (jjc at jclark)
10553         * troff/div.c (begin_page): Test no_space_mode after doing the
10554         break, but still push the page ejector cookie before doing the
10555         break.  Also set the next page number after doing the break.
10556         
10557         * xditview/xditview.c (NewFile): Don't set the title and icon name
10558         if this is the first file and its name is `-'.
10559         * groff/groff.c: Define a new device flag XT_OPTION.  Set it for
10560         the X75 and X100 devices.
10561         (main): If a device has the XT_OPTION flag set and there's exactly
10562         one file argument, pass the driver -xrm and -title options to set
10563         the icon name and window title to the name of the file.
10565         * troff/env.c (environment_switch): If there was an argument but
10566         it wasn't a valid number or name, then pop an environment but
10567         don't give an error message on underflow.
10569         * troff/number.c (start_number): Correct spelling in error message.
10571         * troff/input.c (token::delimiter): Don't print an error message
10572         if err is false.
10574         * xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
10575         ParseDrawFunction if dw->display_enable is true.
10577 Wed Oct 31 05:49:50 1990  James Clark  (jjc at jclark)
10579         * pic/pic.y: Parse text positioning like normal attributes, so as
10580         to allow `"text" at 0,0 ljust'.  Don't allow `center' as a
10581         positioning attribute.
10583 Mon Oct 29 22:50:38 1990  James Clark  (jjc at jclark)
10585         * tbl/main.c (process_data): When in state START while reading a
10586         text block, don't change to state MIDDLE if c is a newline.
10588 Sun Oct 28 21:59:56 1990  James Clark  (jjc at jclark)
10590         * dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
10591         so as to avoid shadowing parameter.
10593 Wed Oct 24 18:35:39 1990  James Clark  (jjc at jclark)
10595         * tbl/table.c (trim_space): Deleted.
10596         (table::add_entry): Don't call trim_space.
10598 Mon Oct 22 03:48:39 1990  James Clark  (jjc at jclark)
10600         * VERSION: Change version to 0.6.
10602         * troff/number.c (parse_expr): Make == work.
10604 Sat Oct 20 11:28:17 1990  James Clark  (jjc at jclark)
10606         * man/grog.man: New file.
10607         * man/Makefile: Add grog.n to MAN1PAGES.
10608         * etc/grog.sh: New file.
10609         * etc/Makefile: Install grog.sh as grog.
10611 Fri Oct 19 11:17:15 1990  James Clark  (jjc at jclark)
10613         * troff/input.c (token::next): Implement \E.
10615 Thu Oct 18 11:56:24 1990  James Clark  (jjc at jclark)
10617         * xditview/tmac.X: Change font translations to match tmac.ps.
10619         * troff/input.c (non_empty_name_warning): Don't give a warning if
10620         `\{' terminates the name.
10622 Tue Oct 16 10:04:23 1990  James Clark  (jjc at jclark)
10624         * ps/devps/symbol.diff: New file.
10625         * ps/devps/FontMakefile: Mention symbol.diff.
10627 Sun Oct 14 11:46:46 1990  James Clark  (jjc at jclark)
10629         * troff/node.c (font_position): Use get_long_name to read the
10630         external_name.
10632         * troff/env.c (environment_switch): If we get a number that's < 0
10633         or >= NENVIRONMENTS, treat it like a name.
10634         Change NENVIRONMENTS to 10.
10636         * troff/groff.h: Remove definition of FONTS_MAX.
10637         * troff/node.h (class font_family): Make map a pointer instead of
10638         an array. Add a map_size member. Make it a class. Make nm const
10639         and public. Make invalidate_fontno a friend.
10640         * troff/node.c: Define font_table_size. Make font_info a pointer
10641         rather than an array.
10642         (class troff_output_file): Allocate font_position dynamically. Add
10643         nfont_positions member.
10644         (troff_output_file::set_font): Grow font_position if necessary.
10645         (troff_output_file::~troff_output_file): Delete font_position.
10646         (troff_output_file::troff_output_file): Allocate font_position.
10647         (grow_font_table): New function.
10648         (troff_output_file::really_begin_page,
10649         troff_output_file:really_copy_page): Use nfont_positions rather
10650         than FONTS_MAX.
10651         (mount_font_no_translate, mount_style): Call grow_font_table if
10652         necessary.
10653         (font_family::font_family): Allocate map.
10654         (font_family::make_definite): Grow map if necessary. Use
10655         font_table_size instead of FONTS_MAX.
10656         (font_family::~font_family): New function.
10657         (invalidate_fontno): Use font_family::map_size.
10658         (get_fontno, env_space_width, env_half_narrow_space_width,
10659         env_narrow_space_width, symbol_fotno, is_good_fontno,
10660         get_bold_fontno, make_glyph_node): Use font_table_size rather than
10661         FONTS_MAX.
10662         (next_available_font_position): Never return 0.
10664 Fri Oct 12 10:17:52 1990  James Clark  (jjc at jclark)
10666         * ps/tmac.ps: Add font translations for compatibility with dpost.
10668 Thu Oct 11 12:09:03 1990  James Clark  (jjc at jclark)
10670         * eqn/pile.c: Rename default_baseline_sep to baseline_sep.
10671         Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
10672         Move definitions baseline_sep, shift_down, column_sep,
10673         matrix_side_sep into...
10674         * eqn/box.c: Add them to param_table.
10675         * eqn/pbox.h: Add declarations to pbox.h.
10677         * troff/input.c (set_string): Cast value to unsigned char *.
10679         * troff/token.h (process_input_stack): Declare it static before
10680         declaring it a friend.
10682 Wed Oct 10 09:59:13 1990  James Clark  (jjc at jclark)
10684         * dvi/devdvi/texex.map: Fix positions of extensible brace middle
10685         and bottom.
10686         * dvi/devdvi/EX: Regenerate.
10688         * troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
10689         transparent.
10691 Tue Oct  9 08:34:02 1990  James Clark  (jjc at jclark)
10693         * eqn/lex.c: In defaults_table, make definition of `dot' call
10694         `dot_def'.  Don't explicitly make it roman.  Similarily for other
10695         accents.
10697         * pic/lex.c (for_input::for_input): Add by_is_multiplicative
10698         argument.
10699         (for_input::get, for_input::peek): Use this.
10700         (do_for): Add by_is_multiplicative argument.
10701         * pic/pic.y: Change optional_by clause to allow '*' after `by'.
10702         Change semantic value of optional_by to be a double plus a flag
10703         saying whethet the by clause is multiplicative.
10705         * eqn/lex.c (get_delimited_text): Remember location of start of
10706         definition.  Improve error handling when EOF is encountered.
10708         * lib/font.h: Rename handle_x_command to
10709         handle_unknown_font_command.
10710         * lib/font.c (font::load): Call handle_unknown_font_command for
10711         any unknown command in the font description file.  Don't call
10712         handle_x_command. Include the name of the command in the argv.
10713         Improve message for unknown command after kernpairs or charset
10714         command.
10715         * ps/ps.c (ps_font::handle_x_command): Rename to
10716         handle_unknown_font_command.  Remove message about `x download'
10717         command.  Give error message for wrong number of arguments.
10718         * ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
10719         * dvi/dvi.c (dvi_font::handle_x_command): Rename to
10720         handle_unknown_font_command. Give an error message for wrong
10721         number of arguments.  Rename design_size to designsize.
10722         * dvi/tfmtodit.c (main): Generate `checksum' instead of `x
10723         checksum', `designsize' instead of `design_size'.
10725 Mon Oct  8 00:38:55 1990  James Clark  (jjc at jclark)
10727         * eqn/*.[chy]: Change underaccent to uaccent.
10729         * eqn/eqn.y: Add rule for underaccent.  Declare UNDERACCENT token;
10730         give it the same precedence as ACCENT.
10731         * eqn/other.c (make_underaccent_box): New function.
10732         * eqn/box.h: Declare it.
10733         * eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
10734         def_table.
10736 Sun Oct  7 11:25:16 1990  James Clark  (jjc at jclark)
10738         * pic/pic.y (reset_all): New function. Called in rule for RESET.
10739         (parse_init): Call reset_all.
10740         (define_variable): When defining scale reset only those
10741         pre-defined variables that are scaled.
10742         (defaults_table): Add `scale' as non-scaled value.
10744         * pic/pic.y: Redo parsing of text adjustments: parse adjustments
10745         together with the text; allow any number of positioning words;
10746         allow center as a positioning word.
10748         * pic/object.c (output::compute_scale): Get picture maximum height
10749         and width from variables called maxpswid and maxpsht.
10750         * pic/pic.y: Add maxpswid and maxpsht to defaults_table.
10752 Sat Oct  6 10:16:56 1990  James Clark  (jjc at jclark)
10754         * pic/object.c (object_spec::make_text): Multiply textht by number
10755         of text items.
10757         * pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
10758         occur.
10759         (do_sprintf): New function.
10760         (pic.gperf): Add sprintf token.
10761         (text, sprintf): New rules.
10763         * pic/pic.y: `rand()' with no arguments returns a random number
10764         in the range [0,1).
10766         * pic/pic.y: Allow a bare expression to be an attribute: change
10767         precedences to support this.  Change optional_ordinal rule to
10768         optional_ordinal_last to avoid reduce/reduce conflict.
10769         * pic/object.c (object_spec::object_spec): Initialize direction.
10771         * pic/pic.y: Implement ^ operator meaning exponentiation.
10773         * troff/node.h: Add default argument to mount_font.
10774         * troff/node.c (font_position): Read an optional third argument
10775         giving the external_name.
10776         (mount_font): Add optional argument giving the external_name.
10777         (mount_font_not_translate): Have additional argument giving
10778         external name.  Use this name to load the font.  Pass both names
10779         to font_info::font_info.
10780         (font_info::font_info): Have additional argument giving
10781         external_name.
10782         (class tfont): New member external_name.
10783         (font_info::get_tfont): Use external name to construct tfont_spec.
10785 Fri Oct  5 04:03:13 1990  James Clark  (jjc at jclark)
10787         * eqn/lex.c (init_table): Add argument giving device.  Define
10788         name of device to be "1".
10789         (do_ifdef): Counts as true if the argument has been defined with
10790         `define'.
10791         * eqn/main.c (main): Call init_table with device argument. Make
10792         device local to main.
10793         * eqn/eqn.h: Change declaration of init_table. Remove declaration
10794         of device.
10796         * pic/lex.c (get_delimited): Allow text to be delimited by
10797         matching {}s.  Don't recognize ending delimiter within a string.
10799         * troff/input.c (get_delim_name): New function.
10800         (token::next): Implement \C.
10802         * lib/font.c (font::load): Grok ---.  Add an alias for each
10803         character based on its code.
10804         (font::get_code_width): Deleted.
10805         * lib/font.h (class font): Declare font::number_to_index().
10806         Remove declaration of font::get_code_width.
10807         * lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
10808         to indices of named characters.
10809         (font::number_to_index): New function.
10810         * troff/input.c (font::number_to_index): New function.
10811         (get_charinfo_by_number, charinfo::get_number,
10812         charinfo::set_number): New functions.
10813         (token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
10814         (token::process, token::description, token::get_char,
10815         token::add_to_node_list, token::operator==): Handle
10816         TOKEN_NUMBERED_CHAR.
10817         * troff/charinfo.h: Declare get_charinfo_by_number,
10818         charinfo::get_number, charinfo::set_number.  Add NUMBERED flag to
10819         charinfo class.
10820         (charinfo::numbered): New function.
10821         * troff/token.h: Add TOKEN_NUMBERED_CHAR.
10822         * troff/env.h (class environment): Remove declaration of ...
10823         * troff/env.c (environment::make_numbered_char_node): Deleted.
10824         * troff/node.c (make_numbered_node): Deleted.
10825         (class numbered_glyph_node): Remove.
10826         (troff_output_file::put_char_width, troff_output_file::put_char):
10827         Handle numbered chars.
10828         (troff_output_file::numbered_char): Removed.
10829         (tfont::get_code_width): Removed.
10830         (make_glyph_node): Don't search special fonts for numbered
10831         characters.
10832         * troff/node.h: Remove declaration of make_numbered_node.
10833         * driver/input.c (do_file): Handle N command.
10834         * driver/printer.h: Add declaration of ...
10835         * driver/printer.c (printer::set_numbered_char): New function.
10836         * dvi/tfmtodit.c (main): Generate unnamed entries.
10837         * ps/devps/afmtodit: Likewise.
10838         * xditview/xtotroff.c (MapFont): Likewise.
10839         * xditview/libXdvi/parse.c (ParseInput): Grok N command.
10841         * tbl/main.c (process_format): If multiple widths are specified
10842         for a column but all the widths are the same, don't give an error
10843         message.
10845         * tbl/table.c (table::do_row): If the current row is all lines and
10846         the stuff doesn't contains a line, mark the top of the row after
10847         printing stuff before the row.  If the current row is not all
10848         lines and the stuff doesn't contain a line, don't unnecessarily
10849         mark the top of the row before printing the stuff.
10850         
10851 Mon Oct  1 11:42:00 1990  James Clark  (jjc at jclark)
10853         * troff/groff.h: Remove MAX_PATH.
10854         * troff/input.c (open_file): Dynamically allocate space for the
10855         path.
10856         (open_mac_file, process_macro_file): Corresponding changes.
10858 Sun Sep 23 18:56:26 1990  James Clark  (jjc at jclark)
10860         * troff/node.h (class output_file): Make copy_file pure.  Add
10861         vspace method ifdef COLUMN. Add is_printing method.
10862         * troff/node.c: Add class printing_reg. Add class
10863         real_output_file. Derive other output_file classes from
10864         real_output_file; in these classes rename begin_page to
10865         really_begin_page, print_line to really_print_line, copy_file to
10866         really_copy_file, transparent_char to really_transparent_char.
10867         Move output_file::flush to real_output_file. Add printing member
10868         to class output_file.
10869         * troff/div.h: Remove printing member from top_level_diversion.
10870         Add vspace member function to class diversion ifdef COLUMN. Add
10871         some declarations ifdef COLUMN.
10872         * troff/div.c (top_level_diversion::copy_file,
10873         top_level_diversion::transparent_output,
10874         top_level_diversion::output): Don't test printing member before
10875         output.
10876         * troff/input.c: Handle initial variable_space_request ifdef
10877         COLUMN.
10878         * troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
10879         but comment it out.
10881 Sat Sep 22 11:32:22 1990  James Clark  (jjc at jclark)
10883         * troff/div.c (diversion::need): Make any space forced.  If we
10884         sprung a trap, set truncated_space to minus the distance to the
10885         trap and set needed_space to the amount that was needed.
10886         (top_level_diversion::space): A forced space turns no_space_mode
10887         off.
10888         (class constant_vunits_reg): New class.
10889         (init_div_requests): Implement number registers .trunc and .ne
10890         using constant_vunits_reg.
10891         (class truncated_space_reg): Deleted.   
10893         * troff/div.h: Don't have a no_space_mode member in diversion.
10894         Instead have it in top_level_diversion.
10895         * troff/div.c (diversion::diversion): Don't initialize
10896         no_space_mode.
10897         (top_level_diversion::top_level_diversion): Initialize
10898         no_space_mode.
10899         (no_space, restore_spacing): Do nothing if curdiv != topdiv.
10900         (macro_diversion::output): Don't clear no_space_mode.
10902         * troff/input.c (diverted_space_node::reread): Don't call
10903         environment::do_break.  In fill mode, act like a blank line.
10904         (diverted_copy_file_node::reread): Don't call
10905         environment::do_break.
10907         * troff/div.c (blank_line): New function.
10908         * troff/div.h: Declare it.
10909         * troff/input.c (process_input_stack): Call it.
10911         * troff/div.c (truncated_space_reg::get_string): New function.
10912         (init_div_requests): Bind to .trunc.
10913         (space_request, top_level_diversion::space,
10914         top_level_diversion::output, macro_diversion::space,
10915         macro_diversion::output): Update truncated_space.
10916         (macro_diversion::output): Redo calculations when trap sprung.
10917         (macro_diversion::output, macro_diversion::space): No need for
10918         trap_flag.
10920         * troff/div.c (top_level_diversion::output): Set nl_reg_contents
10921         after truncating post line spacing.
10923 Fri Sep 21 11:27:25 1990  James Clark  (jjc at jclark)
10925         * ps/devps/prologue (MF, SF): Make them work even if setfont is
10926         defined as a procedure rather than as an operator.
10928 Thu Sep 20 12:55:05 1990  James Clark  (jjc at jclark)
10930         * troff/div.c (macro_diversion::space): Ignore no_space_mode.
10932 Wed Sep 19 10:54:37 1990  James Clark  (jjc at jclark)
10934         * troff/div.c (top_level_diversion::output): Merge
10935         output_file::print_line and output_file::end_of_line member
10936         functions.
10937         * troff/div.h (class output_file):
10938         * troff/node.c (troff_output_file::print_line,
10939         troff_output_file::end_of_line, output_file::end_of_line,
10940         ascii_output_file::print_line, suppress_output_file::print_line):
10941         Corresponding changes.  
10943 Tue Sep 18 11:31:47 1990  James Clark  (jjc at jclark)
10945         * troff/input.c (token::next): Don't give a warning for `\.'.
10947         * troff/env.c (environment::get_center_lines): New function.
10948         (init_env_requests): Bind number register .ce to it.
10949         * troff/env.h: Declare it.
10950         * tbl/table.c (table::init_output): Define reset macro to restore
10951         .ce.  If center option not given, store .ce in SAVED_CENTER_REG.
10952         Then do .ce 0.
10953         (table::print): If center option not given, then imply center
10954         option if SAVED_CENTER_REG > 0.
10956 Mon Sep 17 09:19:19 1990  James Clark  (jjc at jclark)
10958         * ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
10959         Troff.ps from DOWNLOAD.
10960         
10961         * troff/Makefile: Change comment in DEFINES to avoid confusing
10962         System V make.
10964         * ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
10965         code.  Don't try to catch errors with stopped.
10966         (check_line_lengths): New function.
10967         * ps/devps/prologue (EXEC): Deleted.
10968         (EBEGIN, EEND): New procedures.
10970 Sun Sep 16 14:51:15 1990  James Clark  (jjc at jclark)
10972         * troff/input.c: Include request.h before node.h.
10973         * troff/node.c: Likewise.
10974         * troff/env.c: Likewise.
10975         * troff/div.c: Likewise.
10976         * troff/node.h (class special_node): Store argument as a macro
10977         rather than a char *.
10978         * troff/node.c (special_node::special_node, special_node::copy):
10979         Grok this.
10980         (special_node::~special_node): Deleted.
10981         (special_node::tprint): Deleted.
10982         (special_node::tprint_start, special_node::tprint_end,
10983         special_node::tprint_char): New functions.
10984         (troff_output_file::special): Deleted.
10985         (troff_output_file::start_special, troff_output_file::end_special,
10986         troff_output_file::special_char): New functions.
10987         * troff/input.c (special_node::tprint): New function.
10988         (do_special): Use macro not char *.
10989         (do_transparent_macro): Deleted.
10990         (token::next): Don't call do_transparent_macro.
10992         * troff/input.c (token::next): Add 'Y' case.
10993         (do_transparent_macro): New function.
10994         * troff/node.c (troff_output_file::special): Handle newlines with
10995         argument using new continuation convention.
10996         * driver/input.c (get_string): Cope with continuation convention.
10997         (do_file): Don't call skip_line after calling get_string(1).
10998         * ps/ps.c (ps_printer::special, ps_printer::do_import,
10999         ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
11000         arg.
11001         * xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
11002         with +.
11004 Sat Sep 15 19:00:10 1990  James Clark  (jjc at jclark)
11006         * troff/input.c (asciify): By default, illegal input characters
11007         should return empty string.
11009         * troff/input.c (copy_file): Handle first page transition like title.
11010         (token::next, process_input_stack): Grok COPY_FILE_REQUEST.
11012         * troff/input.c (token::next): Improve error message for EOF after
11013         escape character.
11014         (input_char_description): New function.
11015         (get_char_for_escape_name): Use input_char_description.
11016         (token::next): Warn about unrecognized escape sequences.
11017         (warning_table): Add WARN_ESCAPE.
11018         * troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
11019         accordingly.
11021         * troff/token.h: Remove declaration of process_input_stack.
11023         * troff/input.c: Remove declaration of init_hyphen_requests.
11024         * troff/request.h: Correct spelling in declaration of same.
11026         * troff/input.c (token::next): Check whether escape_char is 0.
11028 Fri Sep 14 12:09:25 1990  James Clark  (jjc at jclark)
11030         * groff.c (main, usage, help): Implement -P and -L options.
11031         * groff.sh: Likewise.
11033         * troff/input.c (token::next): Use some gotos to avoid code
11034         duplication.
11036         * troff/input.c (get_long_name, get_name, read_long_ecsape_name):
11037         Avoid calling symbol::symbol if name empty.
11039 Thu Sep 13 06:21:45 1990  James Clark  (jjc at jclark)
11041         * troff/input.c (init_input_requests): Make \n(.x return the major
11042         version number and \n(.y return the minor version number.
11043         * troff/Makefile: Construct file majorminor.c defining
11044         major_version and minor_version automatically from ../VERSION.
11046         * troff/node.c (class glyph_node): Make operator new and operator
11047         delete public.
11048         (class ligature_node): Similarily.
11050         * troff/input.c (operator==(const macro &, const macro &)): New
11051         function.
11052         (non_interpreted_node::same): Use this.
11053         (string_iterator::string_iterator): Make macro& argument const.
11055         * troff/input.c (input_iterator::get): New function. Don't make
11056         asciify_macro or class non_interpreted_node friends of class
11057         input_iterator.
11058         (non_interpreted_node::interpret): Use input_iterator::get.
11059         (asciify_macro): Likewise.
11061         * troff/input.c (~token_node, ~string_iterator, ~arg_list,
11062         ~non_interpreted_node): Deleted.
11063         * troff/node.c: (~suppress_output_file, ~ascii_output_file):
11064         Deleted.
11066         * troff/symbol.h: Make all symbol member functions const.
11068         * lib/strtol.c: New file.
11069         * lib/Makefile: Add strtol.c.
11070         * Makefile: Define STRTOL as strtol.o to include strtol in
11071         libgroff.a.
11073 Wed Sep 12 10:00:49 1990  James Clark  (jjc at jclark)
11075         * pic/troff.c (troff_output::simple_circle): Divide by scale.
11077 Tue Sep 11 14:17:16 1990  James Clark  (jjc at jclark)
11079         * troff/input.c (do_special): Use input_level.
11081         * troff/token.h (TOKEN_BACKSPACE): New token.
11082         (token::backspace): New function.
11083         * troff/input.c (token::description, token::next, token::process):
11084         Grok TOKEN_BACKSPACE.
11085         (do_special): Turn TOKEN_BACKSPACE back into \b.
11087         * troff/token.h (token::leader): New function.
11088         * troff/input.c (do_special): Turn TOKEN_LEADER back into \001.
11090         * troff/input.c (do_special): Turn TOKEN_TAB back into \t.
11092         * troff/input.c (do_special): Use token::description in error
11093         message.
11095 Mon Sep 10 11:06:27 1990  James Clark  (jjc at jclark)
11097         * troff/input.c (decode_args): Combine quoted and
11098         quote_input_level variables. Make it a for (;;) loop.
11100         * troff/input.c (get_char_for_escape_name): Check for \001 and \b.
11102         * troff/input.c (read_long_escape_name): The test for whether to
11103         expand buffer was off by 1.
11104         (read_string): Similarily.
11106 Fri Sep  7 11:45:50 1990  James Clark  (jjc at jclark)
11108         * troff/input.c: Use `const int' rather than `static const int'.
11110         * troff/div.h (diversion::copy_file): Declare as pure virtual.
11111         (macro_diversion::copy_file): New function.
11112         * troff/node.h: New class diverted_copy_file_node.
11113         * troff/node.c: Implement it.
11114         * troff/input.c (copy_file): Use diversion::copy_file. Handle
11115         first page transition by pushing a diverted_copy_file_node.
11116         * troff/input.c (token::next, process_input_stack): Don't handle
11117         COPY_FILE_REQUEST.
11119 Thu Sep  6 13:29:10 1990  James Clark  (jjc at jclark)
11121         * ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
11122         whether space widths need adjusting.
11124         * troff/charinfo.h: Generalize translated_to_space to
11125         special_translation so as to allow translation to \&.
11126         * troff/input.c (translate): Allow translation to \&.
11127         (charinfo::*): Corresponding changes.
11128         * troff/node.c (make_node, node::add_char): Corresponding changes.
11129         * troff/node.h (dummy_node::dummy_node): Allow optional first
11130         argument.
11132         * lib/lib.h: Make codes 0200 to 0237 illegal input characters.
11133         * troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
11134         TOKEN_REQUEST.
11135         * troff/input.c (token::next): Turn a TITLE_REQUEST into a
11136         TOKEN_REQUEST with an argument of TITLE_REQUEST.
11137         (token::process): Grok that.
11138         * troff/input.c (copy_file): Handle first page transition like
11139         title by pushing a COPY_FILE_REQUEST cookie.
11140         (token::next, process_input_stack): Grok that.
11141         * troff/node.h (output_file::copy_file): Add x and y arguments.
11142         Make it non-pure.
11143         * troff/div.c (top_level_diversion::copy_file): Supply them.
11144         * troff/node.c (troff_output_file::copy_file): Add x and y
11145         arguments; moveto specified position.  Invalidate font_position
11146         array after copying file.
11147         (output_file::copy_file): New function.
11148         (suppressed_output_file::copy_file, ascii_output::copy_file):
11149         Removed.
11150         * troff/input.c (transparent_file): New function.
11151         (init_input_requests): Bind to "trf".
11152         (token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
11153         (process_input_stack): Likewise.
11155         * troff/Makefile: Add ../lib/lib.h to GROFF_H.
11157         * troff/node.c (init_node_requests): New number registers .kern
11158         pointing to global_kern_mode, and .lg pointing to
11159         global_ligature_mode.
11161         * troff/node.c (ligature): Don't change it if we get a bad
11162         integer.
11164         * troff/input.c (do_define_string): Don't strip tabs.
11166         * troff/input.c (asciify_macro): Make the string_iterator auto.
11168         * troff/node.c (init_font_requests): Rename to...
11169         (init_node_requests):
11170         * troff/node.h: Change declaration.
11171         * troff/input.c (main): Change call.
11173         * troff/input.c (node::reread, diverted_space_node::reread): New
11174         methods.
11175         (process_input_stack): Call reread rather than
11176         get_diverted_space_node.
11177         * troff/node.c (node::get_diverted_space_node,
11178         diverted_space_node::get_diverted_space_node): Removed.
11179         * troff/node.h: Declare reread methods instead of
11180         get_diverted_space_node methods. Make `n' member private.
11181         * troff/input.c: (token::diverted_space): Removed.
11182         * troff/token.h: Removed declaration.
11183         
11185 Tue Sep  4 00:48:04 1990  James Clark  (jjc at jclark)
11187         * eqn/script.c (script_box::compute_metrics): Don't let
11188         SUP_RAISE_FORMAT become negative.
11190         * tbl/table.c (table::do_row): Entries that don't end in the
11191         this row shouldn't make the row non-blank.
11192         
11193         * tbl/table.c (table::make_columns_equal): Only set the width of
11194         columns which are marked as equal.
11195         
11196         * tbl/main.c (process_data): Before issuing excess data error,
11197         if last character was a newline unget it; then get it again after
11198         the error.  Also include the contents of the entry in the message.
11200         * groff.c: New file.
11201         * Makefile: Build groff from groff.c.  Make it possible to use
11202         either groff.sh or groff.c as groff.
11203         * Makefile.bd: Similarily.
11205 Mon Sep  3 09:39:49 1990  James Clark  (jjc at jclark)
11207         * groff.sh: Don't delay expansion of $@ in assignment to files.
11208         Remove occurrences of \".
11210 Sun Sep  2 09:56:59 1990  James Clark  (jjc at jclark)
11212         * all Makefiles: Simplify and rearrange.
11214         * Makefile: Handle fmod like malloc.
11215         * lib/Makefile: Similarily.
11216         * lib/fmod.c: Remove #ifdef NEED_FMOD.
11218         * Makefile: Rename OPTIMISE to OPTIMIZE.
11220         * groff.sh: Remove assignment to PATH.
11221         * Makefile: Remove SHPATH variable.
11222         * Makefile.bd: Similarily.
11224         * groff.sh: Add -V option to print the pipeline instead of
11225         executing it.
11227 Fri Aug 31 00:56:46 1990  James Clark  (jjc at jclark)
11229         * lib/font.c: Split off file searching into ...
11230         * lib/fontfile.c: New file.
11232         * lib/strerror.c (strerror): Use `Error %d' for unknown errors.
11234 Thu Aug 30 13:13:55 1990  James Clark  (jjc at jclark)
11236         * tbl/table.c (table::do_hspan): Delete assertion that e != 0.
11237         Also change misleading comment.
11238         (table::do_vspan): Change similarily misleading comment.
11239         * tbl/main.c (process_data): A format row with an explicit `s'
11240         uses up a data line, even if all the other columns are `_' or `='.
11242         * troff/input.c (token::description): Fix description of
11243         TOKEN_DUMMY and TOKEN_EMPTY.
11245 Wed Aug 29 04:12:08 1990  James Clark  (jjc at jclark)
11247         * groff.sh: Fix description of -Z in help message.
11249 Tue Aug 28 07:28:33 1990  James Clark  (jjc at jclark)
11251         * pic/object.c (object_spec::make_object): Allow negative and zero
11252         line thicknesses.
11253         * pic/pic.y: Give linethick default value of -1.0.
11254         * pic/troff.c (troff_output::troff_output): Initialize
11255         last_line_thickness to BAD_THICKNESS.
11256         (troff_output::finish_picture): Set thickness to BAD_THICKNESS.
11257         (troff_output::line_thickness): Canonicalize negative thicknesses
11258         to RELATIVE_THICKNESS.
11259         * pic/tex.c (tex_output::set_pen_size): Silently map negative line
11260         thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
11261         to -1.0.
11262         (tex_output::start_picture): Set pen_size to -2.0.
11264         * ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
11265         0, then use 0 linewidth.
11266         (ps_printer::ps_printer): Initialize line_thickness to -1.
11268         * pic/troff.c (troff_output::simple_ellipse): Divide by scale.
11270         * ps/devps/symbolchars: Remove `or'.
11271         * ps/tmac.ps: Implement \(or with .char.
11273         * ps/devps/symbolchars: Move most characters into textmap.
11274         * ps/devps/textmap: Add names for troff bracket characters. Remove
11275         ul, ru, br, bv.
11277         * ps/devps/TSymbol.ps: Removed.
11278         * ps/devps/FontMakefile: Make S from Symbol not TSymbol.
11279         * ps/tmac.ps: Do with .char what TSymbol did.
11280         * ps/devps/download: Remove TSymbol.
11282         * ps/devps/T: Removed.
11283         * ps/devps/Troff.ps: Removed.
11284         * ps/devps/Troff.afm: Removed.
11285         * ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
11286         * ps/devps/download: Remove Troff.
11287         * ps/devps/FontMakefile: Remove T target.
11288         * ps/devps/DESC-A4: Remove T from font list.
11289         * ps/devps/DESC-letter: Likewise.
11291         * troff/input.c (macro_to_node): Rename to ...
11292         (charinfo_to_node): Don't pass mac argument.  Temporarily remove the
11293         character's definition while processing it.
11294         * troff/node.c (node::add_char, make_node): Change calls to
11295         macro_to_node accordingly.
11297         * troff/input.c (token::next): Translate \_ to \(ul.
11299         * tty/devascii/R.proto: Add `|'.
11300         * tty/devlatin1/R.proto: Likewise.
11302 Mon Aug 27 11:25:41 1990  James Clark  (jjc at jclark)
11304         * man: Put the version number in all the man pages.
11306 Sun Aug 26 11:40:05 1990  James Clark  (jjc at jclark)
11308         * Makefile.bd: New file.
11309         * README.bd: New file.
11311         * VERSION: New file.
11312         * lib/version.c: Removed.
11313         * lib/Makefile: Create version.c from ../VERSION. Remove version.c
11314         in clean target.
11316         * troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
11317         environment variable.
11319         * all Makefiles: Split install target into install.bin for
11320         binaries, and install.nobin for everything else.
11321         * Makefile: Add bindist target.
11323         * man/afmtodit.man: New file.
11324         * man/Makefile: Add afmtodit.n to MAN1PAGES.
11325         * ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
11326         in BINDIR.
11327         * ps/Makefile: Pass BINDIR to make install in devps.
11329         * ps/ps.c (ps_printer::set_char): Do nothing if the character is
11330         the space character.
11332         * ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.
11334 Sat Aug 25 15:39:03 1990  James Clark  (jjc at jclark)
11336         * ps/ps.c: Redo font downloading.
11337         * ps/devps/download: New file.
11338         * ps/devps/Makefile: Add download to DEVICEFILES.
11339         * ps/devps/afmtodit: Remove -d option.
11340         * ps/devps/FontMakefile: Don't use -d option with afmtodit.
11341         * ps/devps/symbosl.ps: Add %%DocumentFonts comment.
11342         * ps/devps/zapfdr.ps: Likewise.
11343         * ps/devps/TSymbol.ps: Likewise.
11345 Fri Aug 24 20:10:30 1990  James Clark  (jjc at jclark)
11347         * groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.
11349 Thu Aug 23 10:03:47 1990  James Clark  (jjc at yquem)
11351         * ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
11352         then strip the first line if it starts with %.
11353         * Makefile: Add a comment about this.
11355         * man/tfmtodit.man: New file.
11356         * man/Makefile: Add tfmtodit.n to MAN1PAGES.
11357         * dvi/Makefile: Install tfmtodit in BINDIR.
11359         * dvi/tfmtodit.c (usage): Mention -v option.
11361 Wed Aug 22 09:56:36 1990  James Clark  (jjc at yquem)
11363         * troff/node.c (troff_output_file::end_of_line): Call do_motion.
11364         * troff/node.c (troff_output_file::transparent_char): Don't call
11365         flush_tbuf.
11367         * eqn: Add check_tabs method to most box classes.
11368         * eqn/box.c (box::top_level): Call check_tabs.
11370         * eqn/script.c (script_box::output): Use \Z.
11371         * eqn/limit.c (limit_box::output): Use \Z.
11373         * eqn/box.c (box::top_level): Use itoa.
11375 Tue Aug 21 09:29:28 1990  James Clark  (jjc at yquem)
11377         * dvi/tmac.dvi: Add font translations for CR, C, TT.
11378         * dvi/devdvi/Makefile: Don't make links to CW.
11380         * ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
11381         HX, HD.
11382         * xditview/tmac.X: Likewise.
11384         * troff/node.c: Add font translation feature.
11385         (get_font_translation): New function.
11386         (symbol_fontno): Translate the font name.
11387         (mount_font_no_translate): Rename to mount_font to this.
11388         (mount_font): New function.
11389         (font_family::make_definite): Call mount_font_no_translate instead
11390         of mount_font.
11391         (mount_style): Translate the font name.
11392         (font_translate): New function.
11393         (init_font_requests): Bind "ftr" to font_translate.
11395         * ps/devps/prologue (SN): New procedure that rounds a position to
11396         the nearest (pixel + (.25,.25)).
11397         (DL): Use SN to round endpoints.
11399         * lib/version.c: Changed version to 0.5.
11401 Sat Aug 18 04:43:21 1990  James Clark  (jjc at yquem)
11403         * Makefile: Move definition of PAGE to the very beginning, so that
11404         people are less likely to miss it.
11406 Fri Aug 17 02:15:11 1990  James Clark  (jjc at yquem)
11408         * man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.
11410         * troff/env.c (environment::choose_breakpoint): Make `can't find
11411         breakpoint' error a warning of type WARN_BREAK.  Change message to
11412         `can't break line'.
11413         * troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
11414         code 040000.
11415         * troff/input.c: Add WARN_BREAK to warning_table.  Include
11416         WARN_BREAK in DEFAULT_WARNING_MASK.
11418         * tty/tmac.tty: Add definition of \(+-.
11420         * groff.sh: Remove `--' option to set command.
11422         * dvi/devdvi/texsy.map: Remove duplicate md entry.
11424         * ps/devps/eqnchar: Better definition of cdot using md.
11425         * dvi/devdvi/eqnchar:  Likewise.
11426         * xditview/devX100/eqnchar:  Likewise.
11427         * xditview/devX75/eqnchar: Likewise.
11428         * eqn/lex.c: Add definition of cdot.
11430 Thu Aug 16 09:33:57 1990  James Clark  (jjc at yquem)
11432         * troff/input.c (get_optional_char): New function.
11433         * troff/input.c (set_page_character): Use get_optional_char(),
11434         rather than has_arg() and tok.get_char(1).
11435         * troff/env.c (tab_character, leader_character, hyphen_char,
11436         field_characters): Likewise.
11437         (margin_character): Likewise.  Also always delete the
11438         margin_character_node.
11440         * troff/input.c (token::get_char): Use token::description.
11442         * troff/input.c (has_arg): Don't skip over tab and \}.
11443         * troff/number.c (start_number): Give a warning if the number
11444         starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).
11446 Wed Aug 15 10:04:37 1990  James Clark  (jjc at yquem)
11448         * troff/input.c (empty_name_warning, non_empty_name_warning): New
11449         functions.
11450         (get_name, get_long_name): Use these.  Rename `warn' argument to
11451         `required'.
11453         * troff/node.c (get_fontno): Test that the symbol is not null.
11455         * troff/input.c (token::description): New function.
11456         * troff/number.c (parse_term): Use token::description in `numeric
11457         expression expected' message.
11458         * troff/groff.h: Add WARN_MISSING.
11459         * troff/number.c (start_number): New function.
11460         * troff/number.c (get_vunits, get_hunits, get_number, get_integer,
11461         get_incr_number): Use start_number().
11462         * troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
11463         default.
11464         * troff/input.c (get_name, get_long_name): Use WARN_MISSING.
11465         * troff/reg.c (alter_format): Use WARN_MISSING. Also use
11466         token::descripion.
11467         * troff/input.c (token::get_char): Use WARN_MISSING.
11468         * troff/input.c (token::delimiter): Use token::description.
11469         * troff/env.c (environment_switch): Back out Aug 3 change.
11470         * troff/input.c (has_arg): Skip over \}s and tabs but give a
11471         warning.
11472         * troff/token.h (token::tab): New function.
11473         * troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
11474         * troff/reg.c (alter_format): Likewise.
11475         * troff/node.c (bold_font): Use has_arg() rather than tok.skip().
11477 Tue Aug 14 10:11:21 1990  James Clark  (jjc at yquem)
11479         * troff (most files): Redo warnings. Divide warnings into various
11480         categories; warning() has an additional first argument indicating
11481         the category it falls into.
11482         * troff/input.c (main): -w now takes an argument. New option -W.
11483         (enable_warning, disable_warning): New functions.
11485         * ps/devps/afmtodit: Add -a option to lie about the italic angle.
11486         * ps/devps/FontMakefile: Pretend TI has an angle of 7.
11488 Mon Aug 13 10:11:16 1990  James Clark  (jjc at yquem)
11490         * ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
11491         * xditview/devX100/eqnchar: Likewise. Remove definition of dot.
11492         * xditview/devX75/eqnchar: Likewise.
11493         * dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.
11495         * eqn/other.c: When bar or over applies to a single character
11496         don't produce an overline_box or an underline_box. Instead produce
11497         an accent_box or an underaccent_box, with the accent a line
11498         whose width is accent_width.  New classes underaccent_box,
11499         overline_char_box and underline_char_box.
11500         * eqn/box.h: Move overline_box, underline_box, accent_box class
11501         declarations into eqn/other.c. Add declarations of
11502         make_underline_box, make_overline_box, make_accent_box.
11503         * eqn/eqn.y: Call make_overline_box, make_underline_box
11504         make_accent_box instead of constructors.
11505         * eqn/pbox.h, eqn/box.c: Add accent_width parameter.
11507         * eqn/other.c: Add accent_box::~accent_box.
11508         * eqn/box.h: Declare it.
11510         * groff.sh: With -Tps, use eqn -D.
11512         * eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
11513         rather than \l.
11514         (underline_box::output): Similarily.
11515         (accent_box::output): Use \Z.
11517         * xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
11518         bit smaller.)
11520 Sun Aug 12 09:41:15 1990  James Clark  (jjc at yquem)
11522         * troff/div.c (top_level_diversion::transparent_output(unsigned
11523         char)): Use asciify.
11524         * troff/input.c (asciify): Don't make it static.
11525         * troff/token.h (asciify): Declare it.
11526         
11527         * troff/input.c (get_name, get_long_name, token::get_char,
11528         token::delimiter): Add an extra default argument which says
11529         whether a warning should be printed.
11530         * troff: Pass a non-zero argument to one of these rather than
11531         printing a warning directly.
11533 Sat Aug 11 09:02:21 1990  James Clark  (jjc at yquem)
11535         * troff: Consistently use symbol::is_null.
11537         * troff/dictionary.h: Move some inline functions into
11538         dictionary.c.
11540         * troff/request.h: Move inline functions into input.c.
11541         (request_or_macro::invoke): Make it pure.
11543         * troff/input.c, troff/reg.h: New class `constant_int_reg'.
11544         * troff/input.c (init_input_requests): Use class constant_int_reg.
11545         (class compatible_reg): Deleted.
11546         * troff/div.c (init_div_requests): Use class constant_int_reg.
11547         (class last_post_line_extra_space_reg): Deleted.
11549         * troff/env.c (tab_character): Don't change the tab character if
11550         we get an invalid argument.
11551         (hyphen_char): Similarily.
11553         * troff/reg.c (alter_format): Check that nm is not null.
11555         * Makefile, groff.sh: Make it possible to customize the commands
11556         used for printing PostScript and dvi files. Also make it possible
11557         to customize the path used by groff.sh.
11559         * eqn/eqn.y: Make `left' right associative.
11561 Fri Aug 10 18:20:39 1990  James Clark  (jjc at yquem)
11563         * pic/pic.h: Added definition of M_SQRT2 for those systems that
11564         don't have it.
11566         * pic/pic.h: Removed definition of INT_MAX.
11568         * troff/node.c (italic_corrected_node::vertical_extent): Omit
11569         `return'.
11571         * troff/input.c (token::next):  Handle \R like \n.
11573 Tue Aug  7 09:46:33 1990  James Clark  (jjc at yquem)
11575         * ps/tmac.pc (PSPIC): Simplify.
11577         * troff/env.c (tab_stops::to_string):
11578         * pic/pic.y (object_type_name):
11579         * pic/troff.c (simple_output::line):
11580         * pic/tex.c (tex_output::spline):
11581         * pic/object.c (object_spec::make_object):
11582         * tbl/main.c (process_data):  Add cases to switch statements to
11583         avoid cfront warnings. (Some of these are spurious, since the
11584         switch already has a default case.)
11586         * ps/tmac.ps (PSPIC): Reformatted.  Prefix all local names with
11587         `ps-'.  Don't test systat; instead check number of arguments to
11588         ps-bb.
11590 Mon Aug  6 00:13:07 1990  James Clark  (jjc at yquem)
11592         * macros/tmac.e: Do not decrease the page offset by 0.5i.
11594         * ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
11595         Unlink the file as soon as we have opened it, so that we don't
11596         have to bother with signal handlers.
11597         (handler): Deleted.
11598         (fatal_error_exit): Deleted.
11599         (main): Don't call signal.
11601         * dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
11602         can be ignored.
11603         * dvi/devdvi/Makefile: Use the -k option with S and MI.
11605         * pic/pic.y:  If there is a label, or an nth construction before
11606         the first `.' in the argument to `with', ignore it and generate a
11607         warning.
11608         * pic/lex.c (lex_warning): New function.
11610         * tbl/table.c (table::init_output): In section keep and release
11611         macro, use 0 indent when diverting and the correct indent when
11612         rereading.
11614         * troff/input.c (interpolate_number_format): Do not interpolate
11615         anything if the number register is not defined.
11617         * tbl/main.c (process_data): Don't add entry when col >= ncolumns.
11619 Sat Aug  4 08:12:05 1990  James Clark  (jjc at yquem)
11621         * ps/devps/prologue (PICTURE): Set components of graphics state to
11622         their default values.
11624         * ps/devps/text.enc: Add trademark
11625         * ps/devps/textmap: Add names for club, spade, heart, diamond,
11626         carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
11627         * ps/devps/symbolchars: Add names for summation and product.
11629         * dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
11630         suchthat. Add pp. Add upper-case letters.
11632         * xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
11633         diamond, carriagereturn, suchthat. Use Upsilon1 rather than
11634         Upsilon.
11636         * dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
11637         rA (right angle bracket) to ra.  Introduce names for double-headed
11638         arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
11639         * ps/devps/textmap: Likewise for ps device.
11640         * xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
11641         * tty/devascii/R.proto: Rename lA to la and rA to ra.
11642         * tty/devascii/R.proto: Likewise.
11643         * tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
11644         \(uA, \(dA.
11645         * eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.
11647         * xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.
11649         * eqn/lex.c: Added definitions of `approx', `grad' and `del' to
11650         def_table.
11652 Fri Aug  3 09:59:27 1990  James Clark  (jjc at yquem)
11654         * troff/div.c (when_request): Use symbol::is_null rather than
11655         has_arg to determine whether we have an argument.
11656         (change_trap): Remove the trap if we get an invalid number. Give
11657         an error if we don't get at least the macro name.
11658         (diversion_trap): Remove trap if we get an invalid name or number.
11660         * troff/env.c (environment_switch): Pop if we get an invalid
11661         symbol or numeric expression.
11663         * troff/input.c (do_define_macro):  If EOF is encoutered while
11664         defining the macro, do tok.next() before returning.
11666         * troff/token.h (has_arg): Move definition from here, to ...
11667         * troff/input.c (has_arg): ... here
11669         * troff/env.c (space_size): Do nothing if we get an invalid argument.
11670         * troff/input.c (shift): Likewise.
11672         * pic/lex.c (get_token_after_dot):  Accept `.center' as a synonym
11673         for `.c'.
11675         * pic/troff.c (troff_output::start_picture):  Comment out calls to
11676         `..'.
11678         * eqn/main.c (do_file): Subtract 1 from current_lineno if
11679         interpret_lf_args succeeds.
11681         * eqn/main.c (do_file): Don't recognize delimiter if preceded by
11682         \\.  This avoids problems with \$N.
11684         * groff.sh: Pass -C to preprocessors.
11686         * lib/lf.c (interpret_lf_args):  Be more flexible.
11688         * tbl/main.c (main): Add -C option.
11689         (table_input::get): Do not recognize TE if followed by character
11690         other than a space or newline unless -C option given.
11691         (process_input_file): Likewise for lf, TS.
11692         (process_data): Likewise for lf in text blocks.
11694         * eqn/main.c (main): Add -C option.
11695         (do_file): Don't recognize EQ, EN or lf if followed by character
11696         other than space or newline unless -C option given.
11697         * eqn/lex.c (file_input::read_line): Similarily.
11698         * eqn/eqn.h: Declare compatible_flag.
11700         * etc/soelim.c (main): Add -C option.
11701         (interpret_lf_args): Use version in libgroff.
11702         (do_file):
11704         * pic/main.c (main): Add -C option, which sets compatible_flag.
11705         (top_input::get), (top_input::peek):  If -C option not given,
11706         do not recognize .PS/.PE/.PF/.lf if followed by a character
11707         other than space or newline.
11708         * pic/lex.c (file_input::read_line): Similarily.
11709         * pic/pic.h: Add declaration of compatible_flag.
11711 Thu Aug  2 11:11:27 1990  James Clark  (jjc at yquem)
11713         * ps/tmac.ps (PSPIC): Avoid use of `echo -n'.
11715         * troff/node.c, troff/node.h:  Add `asciify' methods to classes
11716         derived from node.  New class space_char_hmotion_node.
11717         * troff/input.c (asciify_macro): New function.
11718         * troff/input.c (init_input_requests): New request `asciify' bound
11719         to asciify_macro.
11720         * macros/mm.diff: New file.
11721         * Makefile:  In install.mm target use `patch' to apply
11722         macros/mm.diff.
11724         * troff/input.c (macro::print_size): Just print the size in bytes.
11726         * troff/div.c (return_request): Correct the argument
11727         interpretation.
11729 Wed Aug  1 12:38:36 1990  James Clark  (jjc at yquem)
11731         * troff/node.h (class composite_node): Add sz member.
11732         * troff/node.c (composite_node::size): Return sz.
11733         * troff/input.c (macro_to_node):  Use the initial size in the
11734         environment as the size of the composite_node.
11736         * troff/node.c (node::zero_width_tprint):  Provide a reasonable
11737         default.
11739 Tue Jul 31 10:07:10 1990  James Clark  (jjc at yquem)
11741         * troff/div.c (change_trap): If we get a bad number expression,
11742         do nothing.
11744 Mon Jul 30 10:30:49 1990  James Clark  (jjc at yquem)
11746         * lib/matherr.c (matherr): Define this only if math.h defines
11747         TLOSS.
11749 Sun Jul 29 10:34:27 1990  James Clark  (jjc at yquem)
11751         * troff/div.c (macro_diversion::distance_to_next_trap): If there
11752         no diversion trap return vunits(INT_MAX - vresolution).
11754 Sat Jul 28 14:28:14 1990  James Clark  (jjc at yquem)
11756         * troff/input.c (do_zero_width): New implementation that doesn't
11757         use a temporary environment. Use instead:
11758         (token::add_to_node_list): New function.
11759         * troff/env.c (environment::get_prev_char_height),
11760         (environment::get_prev_char_height),
11761         (environment::get_prev_char_skew): New functions.
11762         (environment::get_prev_char): New function.
11763         (environment::get_prev_char_width): Change to use get_prev_char.
11764         (init_env_request): Implement new registers .cht, .cdp, .csk.
11765         * eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
11766         \Z being processed in a separate environment.
11768 Fri Jul 27 10:21:25 1990  James Clark  (jjc at yquem)
11770         * tbl/table.c: Removed TABLE_BOTTOM_REG.
11772         * tbl/table.c (table::init_output): In the section release macro,
11773         give a warning message if the section won't fit on one page.
11775         * tbl/table.c (table::do_top): Emit table keep only if table is
11776         boxed.
11777         (table::do_bottom): Likewise for table release.
11778         (table::table), (table::add_vertical_rule):  Remove reference to
11779         keep member.
11780         * tbl/table.h: Remove keep member.
11782         * tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
11783         SECTION_RELEASE_MACRO, if there's not enough space before the next
11784         trap to output the diversion, call T# ourselves, set
11785         SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
11786         SUPPRESS_BOTTOM_REG back to 0.  In T#, do nothing if
11787         SUPPRESS_BOTTOM_REG is non-zero.  In T#, always mark the current
11788         vertical position and return to it before turning traps on again.
11789         
11790 Thu Jul 26 02:54:32 1990  James Clark  (jjc at yquem)
11792         * troff/node.c, troff/node.h: In classes derived from node,
11793         replace prev_char_width method by last_char_node method.
11794         * troff/env.c (environment::get_prev_char_width): Use
11795         node::last_char_node rather than node::get_prev_char_width.
11797         * Makefile: Added comment about -fno-inline on 68030-based
11798         Apollos.
11800         * troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
11801         tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
11802         expressions using sizeof to int.
11803         * dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.
11805         * macros/tmac.e (TS):  Don't move @f back past the current
11806         position.
11808 Wed Jul 25 09:11:08 1990  James Clark  (jjc at yquem)
11810         * ps/ps.c (main): Buffer stderr.
11811         * dvi/dvi.c (main): Likewise.
11812         * tty/tty.c (main): Likewise.
11814         * ps/ps.c (ps_printer::do_import): Improve error handling.
11816         * troff/input.c (abort_request): Use asciify.
11818         * driver/printer.h (printer::draw), driver/printer.c (printer::draw),
11819         ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
11820         type of first argument int rather than char.  This works around a
11821         bug on the 68030 based Apollo using g++ 1.37.1.
11823         * tbl/table.h (class table): Add `keep' member.
11824         * tbl/table.c (table::table): Initialize `keep'.
11825         (table::add_vertical_rule): Set `keep' to 1.
11826         (table::do_top): Only emit table keep macro is `keep' is non-zero.
11827         (table::do_bottom): Likewise for table release macro.
11828         (table::do_row): Emit section keep macro even if the row is 0.
11830 Tue Jul 24 08:35:07 1990  James Clark  (jjc at yquem)
11832         * macros/tmac.e (@C): Preserve the font family across the change
11833         in environments.
11835 Mon Jul 23 10:15:23 1990  James Clark  (jjc at yquem)
11837         * lib/font.c: Initialize font::hor and font::vert to 1.
11838         (font::load_desc): Check the values of font::hor and font::vert.
11840         * lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
11841         be included in a C compilation.
11842         (iftoa): Use INT_DIGITS. Include lib.h.
11843         (itoa): Likewise.
11844         (as_string): Likewise.
11845         * tbl/table.c: Removed definition of INT_DIGITS.
11846         * eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
11847         * troff/input.c (input_input_requests): Likewise.
11848         * ps/ps.c (make_encoding_name): Likewise.
11849         (ps_printer::set_style): Likewise.
11850         (ps_output::put_number): Use 1 + INT_DIGITS + 1 instead of 12.
11852         * tty/devascii/R.proto: Map fm onto '.
11853         * tty/devlatin1/R.proto: Likewise.
11855 Sat Jul 21 12:45:07 1990  James Clark  (jjc at yquem)
11857         * tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
11858         argument to \w is at a different input level.
11860         * tbl/table.c (table::init_output): Define a new macro
11861         REPEATED_VPT_MACRO, like vpt but if in a diversion also
11862         transparently outputs itself.
11863         (table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
11864         vpt.
11865         (table::do_row): Likewise.
11867         * tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
11868         TRANSPARENT_STRING_NAME.
11870         * tbl/table.c (table::init_output): In the table release macro
11871         print an error message and don't produce any output if after
11872         issuing the need request the table still will not fit.  Also
11873         remove the diversion after bringing it back.
11875         * tbl/table.c (table::init_output): Define a new macro
11876         REPEATED_MARK_MACRO, like mk but if in a diversion also
11877         transparently outputs itself.
11878         (table::do_row): Mark row_top_reg using REPEATED_MARK_MACRO. This
11879         is necessary because .TH might not call .T#.
11880         (table::do_top): Likewise TOP_REG.
11881         (table::define_bottom_macro): If TOP_REG is no longer valid, use
11882         #T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
11883         table header might contain just the two top rules.
11885 Fri Jul 20 10:51:42 1990  James Clark  (jjc at yquem)
11887         * troff/div.c: Implement new request `ptr' to print all traps.
11889         * troff/env.c (init_env_requests): Implement `.tabs' reg with
11890         init_string_env_reg.
11891         * troff/env.c (class tab_reg): Deleted.
11893 Thu Jul 19 12:07:16 1990  James Clark  (jjc at yquem)
11895         * troff/div.c: New number register .pn returns the number of the
11896         next page as set by the pn request.
11898         * macros/tmac.an: Redid headers and footers.  Number each manual
11899         entry starting from 1 unless \nC is > 0, like Sun.  Added an
11900         optional 5th argument to .TH which specifies the manual name and
11901         appears in the center of the header.  Understand the X, P and D
11902         registers like Sun.
11904 Wed Jul 18 10:23:31 1990  James Clark  (jjc at yquem)
11906         * troff/env.c (init_env_requests): New number register `.lt' to
11907         return the title length.
11909         * troff/node.h (class transparent_dummy_node): New class.
11910         * troff/node.c (class transparent_dummy_node): Provide member
11911         functions. 
11912         * troff/env.c (interrupt): Add a transparent_dummy_node, rather
11913         than a dummy_node.
11915         * troff/input.c (token::next): New escape sequence \).
11916         * troff/input.c (get_copy): Recognize \) in copy mode.
11918         * troff/input.c (input_stack::clear): New function.
11919         * troff/input.c (exit_request): Use input_stack::clear.
11921         * troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
11922         * troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.
11924         * troff/env.c: Move set_page_character to input.c.  Move
11925         page_character to input.c also.
11926         * troff/env.c (title): Split off the reading of the parts of the
11927         title into read_title_parts.
11928         * troff/input.c (read_title_parts): New function.  Check the
11929         input_level when testing whether a token matches the delimiter.
11931         * troff/input.c (exit_request): New function.
11932         * troff/input.c (init_input_requests): Bind ex request to
11933         exit_request rather than exit_groff.
11935         * troff/input.c (exit_groff): Call tok.next() before
11936         process_input_stack().
11938 Mon Jul 16 09:47:23 1990  James Clark  (jjc at yquem)
11940         * troff/env.c: ifdef widow control support on WIDOW_CONTROL.
11941         * troff/env.h: ditto.
11942         * troff/input.c: ditto.
11944         * troff/env.c (environment::is_empty): Test pending_lines.
11946         * troff/env.c (environment::have_pending_lines): Removed.
11948         * troff/input.c: Add request to flush pending lines from the
11949         environment.
11951         * troff/env.c, troff/env.h: Add automatic widow control feature.
11953         * troff/input.c (exit_groff):  Do process_input_stack() after
11954         do_break() but before setting exit_flag to 2.
11956         * troff/input.c: Remove FLUSH_PENDING_LINES and
11957         TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
11958         environment after END_TRAP token seen, but only if there aren't
11959         any more traps still unfinished.
11960         * troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.
11962 Sun Jul 15 10:50:08 1990  James Clark  (jjc at yquem)
11964         * troff/env.c: Rename the `retain_size' member of class
11965         pending_output_line to `no_fill'.
11967         * troff/env.c (title): When the line is output, make the
11968         retain_size argument !fill.
11970         * troff/node.h: Add `hyphenated' member to struct breakpoint.
11971         * troff/node.c (space_node::get_breakpoints),
11972         (dbreak_node::get_breakpoints):  Fill this in.
11973         * troff/env.c:  Allow specification of maximum number of
11974         consecutive hyphenated lines.
11976         * troff/env.c (environment::is_empty): Add test for !current_tab.
11978 Sat Jul 14 11:23:01 1990  James Clark  (jjc at yquem)
11980         * troff/env.c (environment::hyphenate_line): Don't completely give
11981         up if the word is not to be hyphenated; continue so that breaks
11982         can be made at break_char_node's.
11984         * lib/lib.h: Only define INT_MAX if it's not already defined;
11985         undef INT_MIN if it's already defined.
11987         * Makefile: Make it easy to define CFRONT_ANSI_BUG.
11989         * lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
11990         This works around a bug in AT&T C++ 2.0 used with an ANSI C
11991         compiler.
11992         
11993         * macros/tmac.an (an-header): Set no-space mode.
11995         * macros/tmac.an (TH): Start a new page if necessary.
11997         * Started using ChangeLog at version 0.4.
11999 Local Variables:
12000 version-control: never
12001 coding: latin-1
12002 End: