1 2002-02-10 Werner LEMBERG <wl@gnu.org>
5 * src/libs/libgroff/illegal.cc: Renamed to ...
6 * src/libs/libgroff/invalid.cc: This.
7 (illegal_char_table): Renamed to ...
8 (invalid_char_table): This.
9 * src/libs/libgroff/Makefile.sub: Updated.
10 * win32-diffs: Updated.
12 * doc/groff.texinfo, src/devices/grops/psrm.cc (ps_get_line),
13 src/libs/libdriver/input.cc (fatal_command, parse_color_command,
14 parse_x_command), src/libs/libgroff/font.cc (text_file::next,
15 font::load), src/preproc/eqn/main.cc (read_line, main),
16 src/preproc/eqn/lex.cc (file_input::read_line),
17 src/preproc/pic/lex.cc (file_input::read_line,
18 simple_file_input::get, simple_file_input::peek),
19 src/preproc/pic/main.cc (top_input::get, top_input::peek),
20 src/preproc/pic/pic.man, src/preproc/refer/main.cc
21 (input_stack::push_file), src/preproc/refer/refer.cc (do_file,
22 do_bib), src/preproc/tbl/main.cc (table_input::get),
23 src/preproc/grn/grn.man, src/preproc/grn/main.cc (interpret),
24 src/roff/troff/input.cc (file_iterator::fill, file_iterator::peek,
25 do_zero_width, read_request, encode_char, ps_get_line,
26 transparent_file, get_char_for_escape_name, transparent_translate,
27 asciify, input_char_description, read_string, set_string),
28 src/roff/troff/env.cc (environment::add_html_tag),
29 src/roff/troff/troff.man, tmac/e.tmac (`@(', `(f'): Do it.
31 * src/include/lib.h: Updated.
33 * src/preproc/eqn/eqn.cc: Removed.
35 2002-02-09 Werner LEMBERG <wl@gnu.org>
37 * doc/gnu.xpm: New image.
38 * doc/Makefile (DOCS): Add homepage.ps
39 Add rules for converting xpm->png and xpm->eps.
40 Use `gnu.{xpm,eps}' as image names.
41 * doc/homepage.ms: Updated.
43 2002-02-09 Gaius Mulley <gaius@glam.ac.uk>
45 * tmac/www.tmac (www-error): New macro, replacing calls to `@error'.
46 (IMAGE): Change image position parameters to `-L', `-R', and `-C'.
47 Remove calls to `B1' and `B2'
48 (PNG-IMAGE): New macro for inclusion of images in PNG format.
49 (www-left-ll-trap, www-left-po-trap, www-right-ll-trap): New
50 auxiliary variables for MARGIN-PNG-IMAGE.
51 (www-finish-left-po, www-finish-right-ll, www-finish-left-ll): New
52 auxiliary macros for MARGIN-PNG-IMAGE.
53 (MARGIN-PNG-IMAGE): New macro to put an image in PNG format into
55 (www-heading-no): New auxiliary variable for HTML-H-{BEGIN,END}.
56 (HTML-H-BEGIN, HTML-H-END): New macros to begin and end a heading.
57 (DROPCAP): New macro to produce dropcap characters.
58 (www-do-image): Renamed back to...
59 (HTML-DO-IMAGE): This.
62 * doc/Makefile (gnubw.eps): Updated.
63 * doc/homepage.ms: Updated.
65 2002-02-08 Werner LEMBERG <wl@gnu.org>
67 * doc/pic.ms: Fixed typos (\(*tx -> \*(tx).
68 Added `linethick' to table in section `Style Variables'.
70 2002-02-08 Gaius Mulley <gaius@glam.ac.uk>
72 * src/libs/libdriver/input.cc (get_extended_arg): Fix conditional.
74 2002-02-07 Werner LEMBERG <wl@gnu.org>
76 Adding options -C (compatibility mode) and -c (grotty's old output
79 * src/roff/nroff/nroff.sh: Implement it.
81 * NEWS, src/roff/nroff/nroff.man: Updated.
83 * PROBLEMS: Document bison 1.32 bug.
85 Some fixes to make groff compile on z/OS 1.2 UNIX (was OS/390).
87 * src/roff/troff/node.cc (make_tfont): Define it earlier.
88 * src/roff/troff/div.h: Add prototype for `end_diversions'.
89 * src/roff/troff/input.cc: Add prototype for `process_input_stack'.
90 * src/roff/troff/env.h: Add prototype for `title'.
92 Adding EBCDIC support to grotty.
94 * src/devices/grotty/tty.cc (CSI): New macro.
95 (SGR_*, tty_printer::put_color): Use it.
97 2002-02-06 Werner LEMBERG <wl@gnu.org>
99 Implementing color support in grotty. The new switch -c activates
100 the old drawing scheme, disabling color at the same time. The new
101 switch `-i' selects italic instead of underlining (SGR only).
103 * src/devices/grotty/tty.cc (putstring): New define instead of
104 `fputs'. Updated all callers.
105 (old_drawing_scheme): New global variable.
106 (COLOR_CHANGE): New enum value.
107 (SGR_*): New defines containing color handling escape sequences.
108 (TTY_MAX_COLORS, DEFAULT_COLOR_IDX): New defines.
109 (glyph): New members `back_color_idx' and `fore_color_idx'.
110 (glyph::order): Add COLOR_CHANGE.
111 (tty_printer): New members `cur_fore_idx', `curr_back_idx',
112 `is_underline', `is_bold', `cu_flag', `tty_colors'.
113 New methods `make_underline', `make_bold', `color_to_idx',
114 `change_color', `put_color'.
115 (cu_flag): Moved into `tty_printer' class.
116 (tty_printer::tty_printer): Initialize colors.
117 (tty_printer::add_char, tty_printer::set_char, tty_printer::special,
118 tty_printer::draw, tty_printer::end_page): Handle colors also.
119 (main): Add options `-c' and `-i'.
121 * NEWS, src/devices/grotty/grotty.man: Updated.
123 * src/include/errarg.h (errarg): Add support for `unsigned int'.
124 * src/libs/libgroff/errarg.c: Implement it.
126 * src/include/printer.h (printer): Add `change_color' method
127 (currently used by grotty only).
128 * src/libs/libdriver/printer.cc: Implement it.
129 * src/libs/libdriver/input.cc (parse_D_command, do_file): Add
130 call to `pr->change_color'.
132 * src/roff/troff/node.cc (troff_output_file::fill_color,
133 troff_output_file::glyph_color): Call `do_motion'.
135 * tmac/tty.tmac: Add color definitions.
137 * src/roff/groff/groff.man: Minor fixes.
139 2002-02-05 Bernd Warken <bwarken@mayn.de>
141 * src/libs/libdriver/input.cc: Introduce `EnvInt' typedef and use
142 it. This is a preparation for future changes.
144 2002-02-05 Werner LEMBERG <wl@gnu.org>
146 * src/roff/troff/input.cc (process_input_stack): Fix the case
147 where leading spaces are followed by \f or \s; previously, an
148 incorrect space width has been used.
150 * doc/roff.man (quoted_char): Fix argument.
151 (comment): Define string.
153 2002-02-04 Larry Kollar <kollar@alltel.net>
155 * doc/groff.texinfo: More fixes.
157 2002-02-04 Werner LEMBERG <wl@gnu.org>
159 * src/preproc/eqn/box.cc (output_string): Don't use \\*[...].
160 * src/preproc/eqn/main.cc (do_file, inline_equation): Call
161 `restore_compatibility' before `output_string' -- the LINE_STRING
162 register now already contains proper switches from and to
165 * man/groff_char.man: Add Euro symbol.
166 * man/groff_diff.man: Improve documentation of `.am1' and `.as1'.
167 * tmac/tty.tmac: Add `EUR' as replacement for `eu' and `Eu'.
168 * doc/groff.texinfo (Defstr*): Print strings with full syntax.
171 * doc/Makefile (.SUFFIXES, .texinfo.pdf, clean): Add support for
173 (.texinfo.html): Add support for texinfo->html.
175 2002-02-03 Werner LEMBERG <wl@gnu.org>
177 Added three new requests `ds1', `as1', and `ami'. The former two
178 are equivalent to `ds' and `as' with the difference that
179 compatibility mode is saved on entry, switched off during string
180 expansion, and restored on exit. The latter is the pendant to `dei'
183 (do_define_string): Use `define_mode' and `calling mode'.
184 Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and
185 end of string, respectively.
186 (define_string, append_string): Use `calling_mode'.
187 (define_nocomp_string, append_nocomp_string,
188 define_string_indirect): New functions.
189 (init_input_requests): Updated.
190 * NEWS, man/groff_diff.man, man/groff.man: Document it.
192 * src/preproc/eqn/box.cc (box::top_level, box::extra_space): Use
193 `as1' for assigning LINE_STRING (this is `10' usually). Sun's
194 mm macro package accesses this string register directly.
195 * src/preproc/eqn/main.cc (inline_equation): Use `as1'.
197 * tmac/trace.tmac: Trace calls to `am' also. Make it work in
200 2002-02-02 Larry Kollar <kollar@alltel.net>
202 * doc/groff.texinfo, tmac/groff_ms.man: More fixes.
204 2002-01-31 Werner LEMBERG <wl@gnu.org>
206 * tmac/an-old.tmac (I): Use \, and \/ to improve spacing.
208 2002-01-31 Bernd Warken <bwarken@mayn.de>
210 * src/devices/grolbp/lbp.cc (main): Delete `pr'.
211 * man/groff_out.man: Revised and updated.
213 2002-01-30 Bernd Warken <bwarken@mayn.de>
215 * src/libs/libdriver/input.cc [USE_ENV_STACK]: New macro to comment
216 out the unused `{' and `}' commands. Undefined by default.
217 (IntArray): Make `data' private.
218 (IntArray::operator[], IntArray::get_data, IntArray::len): Use these
220 (skip_line_D, skip_to_end_of_line): New functions.
221 (get_D_fixed_args): Use `skip_line_D'.
222 Changed to handle dummy odd arguments by ...
223 (get_D_fixed_args_odd_dummy): This new function.
224 (get_D_variable_args): Split some code into ...
225 (get_possibly_integer_args): This new function.
226 (send_draw): Use more `const'.
227 (delete_current_env): New function.
228 (position_to_end_of_args): Use `size_t'.
230 (send_draw): Updated.
231 (parse_D_command): Handle `c', `C', and `t' better.
235 2002-01-29 Werner LEMBERG <wl@gnu.org>
238 * doc/groff.texinfo: Introduce @Def...List, @Def...Item, and
239 @Def...ListEnd which replaces @Def...x. This is necessary to get
240 proper HTML output -- see the comment in the file for more
244 2002-01-29 Gaius Mulley <gaius@glam.ac.uk>
246 Fixes to make color changes of 2002-01-21 work with grohtml.
248 * src/devices/grohtml/post-html.cc (style): Updated.
249 (html_printer): Remove unused methods.
250 (html_printer::do_font, html_printer::draw, html_printer::set_char,
251 html_printer::special): Updated.
252 * src/devices/grohtml/html-text.cc (debugStack, turnDebug,
253 html_text::dump_stack_element, html_text::dump_stack) [DEBUGGING]:
254 Added some debugging code.
255 (html_text::start_tag): Updated.
256 (html_text::do_push): New method.
257 (html_text::push_para): Call it.
258 Add method for handling color.
259 (html_text::do_color): Updated.
260 (html_text::shutdown): Handle color.
261 * src/devices/grohtml/html-text.h (tag_definition): New member
265 2002-01-28 Werner LEMBERG <wl@gnu.org>
267 * tmac/ps.tmac, tmac/html.tmac: Fix compatibility mode issues.
269 2002-01-27 Gaius Mulley <gaius@glam.ac.uk>
271 Add two switches -a and -g to control the antialiasing bits for
272 text and graphics, respectively.
274 * src/devices/grohtml/post-html.cc (main): Dummy code for `-a' and
276 * src/devices/grohtml/grohtml.man: Document them.
277 * src/preproc/html/pre-html.cc (MIN_ALPHA_BITS, MAX_ALPHA_BITS):
279 (textAlphaBits, graphicAlphaBits, antiAlias): New global variables.
280 (setupAntiAlias): New function.
281 (createAllPages): Updated.
282 (scanArguments): Handle `-a' and `-g'.
283 (main): Call `setupAntiAlias'.
286 2002-01-27 Werner LEMBERG <wl@gnu.org>
288 * doc/groff.texinfo (Def*): Call index function after deffn.
290 * tmac/html.tmac: Call `nroff' request.
292 2002-01-26 Larry Kollar <kollar@alltel.net>
294 * tmac/groff_ms.man: Add some omissions.
296 2002-01-25 Larry Kollar <kollar@alltel.net>
298 * tmac/groff_ms.man: Typographical improvements.
300 2002-01-25 Werner LEMBERG <wl@gnu.org>
302 * doc/groff.texinfo: Updated version and copyright.
303 * src/devices/grops/grops.man: Updated.
305 * tmac/groff_tmac.man: Fix `ig' macro.
307 * tmac/an-old.tmac (ne): Redefine `ne' request to be a no-op in
309 Use `.ne' unconditionally everywhere.
310 (TS): Only insert some vertical space. Doing a page break is no
311 longer necessary due to the redefinition of the `ne' request.
313 * src/libs/libdriver/input.cc (parse_D_command): Don't emit a
314 warning for unknown subcommands but parse and pass them to the
317 2002-01-24 Werner LEMBERG <wl@gnu.org>
319 * tmac/groff_www.man, NEWS: Fix typos.
321 2002-01-21 Werner LEMBERG <wl@gnu.org>
323 Complete revision of color support:
325 Adapt programs to the new libdriver/input.cc.
327 Color spaces are no longer converted to RGB but transferred as-is
328 in the troff intermediate output format.
330 Handle default color gracefully. troff now supports a `default'
331 color (which can't be changed).
333 grops will now use the proper color space functions if available.
337 Note that currently grohtml doesn't handle colors properly. This
340 * src/libs/libgroff/itoa.c (UINT_DIGITS): New macro.
341 (ui_to_a): New function.
342 * src/include/lib.h: Updated.
344 * src/include/color.h (color_scheme): Replace `NONE' with `DEFAULT'.
345 (color): Simplified; removed all `double' members and methods.
346 A new array `components' now holds the color parameters.
347 (color::is_default, color::get_components): New methods.
348 (color::operator==, color:operator!=): New.
349 (Red, Green, Blue, Cyan, Magenta, Yellow, Black, Gray): New macros
350 to make access to the `components' array more comprehensible.
351 * src/libs/libgroff/color.cc: Implement new color support.
353 (color::read_encoding): Simplified for new troff intermediate color
355 (default_color): New global variable.
357 * src/roff/troff/input.cc (default_symbol): New global variable.
358 (lookup_color): Use it.
359 (default_black): Removed.
360 (do_glyph_color, do_fill_color): Simplified.
361 (define_color): Handle default color.
363 (do_if_request): Handle default color.
364 * src/roff/troff/env.cc (environment::environment): Initialize
365 colors with `default_color'.
366 * src/roff/troff/node.cc (troff_output_file::put): Add method
368 (troff_output_file::hex): Removed.
369 (troff_output_file::fill_color, troff_output_file::glyph_color):
370 Updated to include/color.h and libdriver/input.cc.
372 * src/preproc/pic/object.cc (draw_arrow): New parameter to set
373 fill color properly (identically to the outline color). \D'f...'
374 doesn't work any more.
375 All function calls to it updated.
377 * src/devices/grohtml/post-html.cc (html_printer::do_body, main):
379 * src/devices/grohtml/html-text.cc (html_text::issue_color_begin):
382 * src/devices/grops/ps.cc (ps_output::put_color): New method.
383 (ps_printer::sbuf_color): Make a real member instead of pointer.
384 (ps_printer::fill_color, ps_printer::output_color): Removed.
385 (ps_printer::ps_printer): Updated.
386 (ps_printer::set_char): Ditto.
387 (ps_printer::set_color): Use various color schemes.
388 Use `put_color' method.
389 (ps_printer::flush_sbuf): Don't set color.
390 (ps_printer::fill_path): Take `environment' as parameter.
391 Simplify color handling.
392 (ps_printer::set_line_thickness): Renamed to ...
393 (ps_printer::set_line_thickness_and_color): This (and updated).
394 (ps_printer::set_color): Change second parameter from `complete'
395 to `fill' which better describes what it does.
396 (ps_printer::draw): Call `flush_sbuf' to output graphic commands
397 and text in the right order.
399 Remove branches for `f' and `F'; this is handled by
401 * src/devices/grops/ps.h: Updated.
402 * font/devps/prologue (FL): Redefined
403 ({F,C}r,k,g: New color functions (with and without filling).
405 * doc/pic.ms, src/preproc/pic/pic.man: Small fixes.
406 * man/groff_diff.man, man/groff.man, man/groff_out.man,
407 doc/groff.texinfo, NEWS: Updated.
409 2002-01-20 Bernd Warken <bwarken@mayn.de>
411 * src/libs/libdriver/input.cc: Completely rewritten. See comments
412 in this file for what has been changed.
414 2002-01-19 Werner LEMBERG <wl@gnu.org>
416 * test-groff: Fix GROFF_FONT_PATH.
417 * tmac/andoc.tmac: Add dummy macros for equation support -- eqnrc
418 is read before .TH or .Dd is parsed.
420 2002-01-18 Gaius Mulley <gaius@glam.ac.uk>
422 * src/libs/libgroff/geometry.cc (check_output_arc_limits): Fix
425 2002-01-18 Werner LEMBERG <wl@gnu.org>
427 * devices/grops/ps.cc: Aargh! Fix the fix of the incorrectly
430 2002-01-17 Ruslan Ermilov <ru@FreeBSD.org>
432 * tmac/doc.common: Initialize %I register for the %I macro to
433 avoid (harmless) warning.
434 * tmac/doc.tmac (Bd): There is no reason to enforce -compact
435 when in the SYNOPSIS section.
437 2002-01-17 Bruno Haible <haible@clisp.cons.org>
439 * src/preproc/pic/lex.cc (get_token): Fix typo.
441 2002-01-17 Werner LEMBERG <wl@gnu.org>
443 * devices/grops/ps.cc: Fix incorrectly applied last patch.
445 2002-01-17 Larry Kollar <kollar@alltel.net>
447 * tmac/groff_ms.man: Completely rewritten.
449 2002-01-16 Werner LEMBERG <wl@gnu.org>
451 * tmac/an-old.tmac (TS): Force break, inserting some vertical space.
453 2002-01-15 Gaius Mulley <gaius@glam.ac.uk>
455 * devices/grops/ps.cc (ps_printer::fill_path): Fix handling of
457 (ps_printer::draw): Ditto.
459 2002-01-14 Ruslan Ermilov <ru@FreeBSD.org>
461 * tmac/groff_mdoc.man: Minor fixes.
463 2002-01-13 Werner LEMBERG <wl@gnu.org>
465 * man/groff_out.man: Some fixes.
467 2002-01-13 Gaius Mulley <gaius@glam.ac.uk>
469 * doc/pic.ms: Fix typos.
471 2002-01-12 Werner LEMBERG <wl@gnu.org>
473 * doc/groff.texinfo, doc/groff.man: More on a printable backslash.
475 2002-01-10 Werner LEMBERG <wl@gnu.org>
477 * font/devutf8/R.proto, font/devhtml/R.prot: Add `Eu' and `eu'
481 2002-01-09 Bernd Warken <bwarken@mayn.de>
483 * man/groff_out.man: Revised.
484 * man/roff.man: Minor fixes.
485 * src/roff/troff/troff.man: Some reordering.
487 2002-01-09 Werner LEMBERG <wl@gnu.org>
489 * tmac/an-old.tmac: Add dummy macros for equation support.
491 2002-01-07 Werner LEMBERG <wl@gnu.org>
493 doc/groff.texinfo: Fix documentation of glyph searching algorithm.
495 * tmac/an-old.tmac: Revert change 2001-12-23. This breaks too many
497 * tmac/groff_man.man: Small improvements.
499 2002-01-07 Bernd Warken <bwarken@mayn.de>
501 * man/groff_diff.man: Revised.
503 2002-01-06 Werner LEMBERG <wl@gnu.org>
505 * tmac/www.tmac: Remove extraneous backslash.
507 2002-01-06 Bernd Warken <bwarken@mayn.de>
509 * man/ditroff.man, src/roff/groff/groff.man, man/groff.man: Revised.
511 2002-01-05 Werner LEMBERG <wl@gnu.org>
513 Integrated groffer, contributed by Bernd Warken.
515 * contrib/groffer/*: New.
516 * Makefile.in, NEWS: Updated.
518 2002-01-04 Werner LEMBERG <wl@gnu.org>
520 * doc/groff.texinfo: Added macros `@Defmpreg' and `@Defmpregx' for
521 registers defined in macro packages.
522 Revising the ms part.
524 2002-01-04 Larry Kollar <kollar@alltel.net>
526 * doc/groff.texinfo: Add documentation for ms macros.
528 2002-01-02 Werner LEMBERG <wl@gnu.org>
530 First step in adding PS support for the Euro symbol. `eu' is the
531 official Euro logo, `Eu' is a font-specific glyph variant.
533 * font/devps/text.enc: Add `Euro' at position 9.
534 * font/devps/generate/textmap: Add `Euro' as symbol `Eu'.
535 * font/devps/symbolmap: Regenerated.
539 2002-01-02 Bernd Warken <bwarken@mayn.de>
541 * man/roff.man: Revised.
543 2002-01-01 Bernd Warken <bwarken@mayn.de>
545 * src/roff/groff/groff.man: Completely rewritten.
547 2001-12-31 Werner LEMBERG <wl@gnu.org>
549 * doc/Makefile: Updated.
551 2001-12-30 Werner LEMBERG <wl@gnu.org>
553 * tmac/www.tmac: Make all names of internal macros/registers/strings
554 lowercase, and prepend `www-'.
556 * src/roff/troff/troff.man: Add preprocessor string at BOF.
558 2001-12-30 Gaius Mulley <gaius@glam.ac.uk>
560 Implement option `-b' in grohtml to set the HTML background colour.
562 * src/devices/grohtml/post-html.cc (default_background): New global
564 (html_printer::html_printer): Initialize `background' to
565 `default_background'.
566 (main): Implement option `-b'.
568 * src/preproc/html/pre-html.cc (scanArguments): Add dummy handling
570 * src/devices/grohtml/grohtml.man: Updated.
571 * doc/Makefile (.ms.html): Use `-b'.
572 * tmac/html.tmac: Don't set background color.
574 Add new grohtml tag `.html-tl'.
576 * src/devices/grohtml/post-html.cc (title_desc): Add `with_h1'
578 (title_desc::title_desc): Updated.
579 (html_printer::troff_tag): Handle `.html-tl'.
580 (html_printer::write_title): Use `with_h1'.
581 * tmac/www.tmac (www-end-nowhere): New auxiliary macro.
582 (HTML-TL): New macro.
584 Add support for unordered lists in HTML.
586 * tmac/www.tmac (www-level): New auxiliary register.
587 (www-level1, www-level2, www-level3): New auxiliary strings.
588 (www-push-level, www-pop-level): New auxiliary macros
589 (UL-BEGIN, UL-END, LI): User macros for unordered lists.
593 * src/preproc/html/pre-html.cc (DEFAULT_IMAGE_RES): Increase to 100.
594 (DEFAULT_VERTICAL_OFFSET): Removed.
595 (IMAGE_BOARDER_PIXELS): Set to 0.
596 (A4_LENGTH, A4_OFFSET, LETTER_LENGTH, LETTER_OFFSET): New macros.
597 (vertical_offset): Initialize with 0.
598 (gsPaper): New global variable.
599 (get_resolution): Scan for and return unsigned int.
600 (get_papersize): New function to get paper length from devps/DESC.
601 (determine_vertical_offset): New function.
602 (createAllPages): Produce gray-level images and use proper page
604 (createImage): Use `-quiet' option of pnmcrop.
605 (addZ): Fix passing of `-Z'.
606 (scanArguments): Fix handling of `-o'.
607 (main): Call `determine_vertical_offset'.
608 * src/devices/grohtml/post-html.cc (html_printer::draw): Comment out
611 * src/libs/libgroff/tmpfile.cc (add_tmp_file): Fix buffer length.
612 * src/roff/troff/node.cc (troff_output_file::check_charinfo): Handle
613 glyph descenders properly.
615 * doc/homepage.ms: Include `gnubw.eps'.
616 * doc/Makefile (gnubw.eps): New rule.
617 (homepage.html): Depend on `gnubw.eps'.
619 2001-12-25 Werner LEMBERG <wl@gnu.org>
621 * src/roff/troff/input.cc (default_black): Fix return value.
623 2001-12-24 Ruslan Ermilov <ru@FreeBSD.org>
625 * tmac/doc-common (Dt): Change output of architecture strings.
626 Do some syntax cleanup.
627 * tmac/groff_mdoc.man: Updated.
629 2001-12-23 Werner LEMBERG <wl@gnu.org>
631 Adding an `itc' request (input line trap accepting \c).
633 * src/roff/troff/env.h (environment): New member
634 `continued_input_trap'.
635 Make `do_input_trap' a friend function instead of `input_trap'.
636 * src/roff/troff/env.cc (environment::environment,
637 environment::copy): Updated.
638 (environment::newline): Implement it.
639 (do_input_trap): New function.
640 (input_trap): Call `do_input_trap'.
641 (input_trap_continued): New function.
642 (init_env_requests): Updated.
643 * src/roff/troff/TODO: Updated.
645 * tmac/an-old.tmac (SH, SS, B, I, SM, SB, TP): Use `.itc' instead of
648 * src/preproc/grn/hdb.cc (DBRead): Really chop after 127 characters.
650 2001-12-22 Ruslan Ermilov <ru@FreeBSD.org>
652 * tmac/doc-common, tmac/doc-syms: Small updates.
654 2001-12-22 Colin Watson <cjwatson@debian.org>
656 * tmac/an-old.tmac (an-p-footer): Set title length in environment 1.
658 2001-12-22 Bernd Warken <bwarken@mayn.de>
660 * MANIFEST: New file.
662 2001-12-22 Werner LEMBERG <wl@gnu.org>
664 * src/preproc/grn/grn.man: Updated.
666 2001-12-22 Solar Designer <solar@openwall.com>
668 * src/preproc/grn/hdb.cc (MAXSTRING_S): New macro.
671 2001-12-19 Werner LEMBERG <wl@gnu.org>
673 Implement a fallback character request `.fchar'.
675 * src/roff/troff/charinfo.h (charinfo): New flag `fallback'.
676 (is_fallback): New inline function.
677 * src/roff/troff/input.cc (do_define_character): New function.
678 (define_character): Call `do_define_character'.
679 (define_fallback_character): New function.
680 (init_input_requests): Add `fchar'.
681 (charinfo::charinfo): Updated.
682 (charinfo::set_macro): New argument to set `fallback' flag.
683 * src/roff/troff/node.cc (make_glyph_node, make_node,
684 node::add_char): Check `fallback' flag.
685 * NEWS, man/groff_diff.man, man/groff_man: Updated.
687 2001-12-16 Werner LEMBERG <wl@gnu.org>
689 * groff.texinfo: Document exact search algorithm for glyphs.
691 2001-12-15 Werner LEMBERG <wl@gnu.org>
693 * Makefile.cpg, Makefile.ccpg, Makefile.man: Add dummy file to
694 the left side of $(MANPAGES) rule to make it always non-empty.
696 2001-12-14 Werner LEMBERG <wl@gnu.org>
698 * src/roff/troff/input.cc (default_black): Define default color
699 `black' if not yet defined.
701 2001-12-13 Werner LEMBERG <wl@gnu.org>
703 Implement new string-valued register `.fn' to return the current
704 real (internal) font name.
706 * env.cc (environment::get_font_name_string): New function.
707 (init_env_requests): Add `.fn' register.
708 * env.h (environment): Updated.
709 * node.cc (font_info): Make `get_font_name' a friend.
710 (get_font_name): New function.
713 * man/groff_diff.man, man/groff.man, NEWS: Updated.
715 2001-12-12 Ralph Corderoy <ralph@inputplus.demon.co.uk>
717 * src/preproc/eqn/main.cc (inline_equation): Fix typos.
719 2001-12-12 Werner LEMBERG <wl@gnu.org>
721 * tmac/groff_man.man, doc/groff.texinfo: There is no .R macro.
723 2001-12-10 Gaius Mulley <gaius@glam.ac.uk>
725 * man/groff_diff.man: Adding documentation for \O.
727 2001-12-10 Werner LEMBERG <wl@gnu.org>
729 * src/preproc/html/pre-html.cc (TROFF_COMMAND): Removed.
730 (scanArguments): Use PROG_PREFIX for the name of the troff binary.
732 2001-12-09 Werner LEMBERG <wl@gnu.org>
734 * man/roff.man: Revised.
735 * src/roff/groff/groff.man: Replace man page references with a
738 2001-12-09 Bernd Warken <bwarken@mayn.de>
740 * man/roff.man: Completely rewritten.
742 2001-12-06 Ralph Corderoy <ralph@inputplus.demon.co.uk>
744 * src/preproc/eqn/main.cc (inline_equation): Improve error message.
746 2001-12-05 Werner LEMBERG <wl@gnu.org>
748 * src/roff/troff/input.cc (get_delim_file_name): Removed since no
750 * src/devices/grohtml/post-html.cc (html_printer::html_printer): Fix
751 order of initializers.
754 2001-12-05 Gaius Mulley <gaius@glam.ac.uk>
756 * doc/groff.texinfo: Fix documentation of \O.
758 * src/devices/grohtml/html-text.cc (html_text::do_indent,
759 html_text::do_table, html_text::do_emittext, html_text::do_para):
760 Use `const' for first argument.
761 (html_text::do_table): Use cast.
762 * src/devices/grohtml/html-text.h: Updated.
763 * src/devices/grohtml/output.cc (simple_output::put_string): Add
764 method for `const string &s'.
765 * src/devices/grohtml/html.h: Updated.
766 * src/devices/grohtml/post-html.cc (MAX_STRING_LENGTH): Removed.
767 (ANCHOR_TEMPLATE): Modified.
768 (manufacture_headings): New global variable to handle `-h' option.
769 (is_subsection): Removed.
770 (char_buffer::add_string): Add `const' to first argument.
771 Protect against invalid string argument.
772 Add method for `const string &s'.
773 (text_glob): Completely redesigned.
774 (page): Use `const' for strings and remove string length variable.
775 (page::add_html): Removed.
776 (page::add_end_encode): New member function.
777 (to_unicode): Moved upwards.
778 (title_desc, header_desc): Updated.
779 (header_desc::write_headings): Updated to new ANCHOR_TEMPLATE
781 (html_printer::is_bold, html_printer::make_bold): New member
783 (html_printer::end_of_line): Updated.
784 (generate_img_src, html_printer::do_auto_image,
785 html_printer::do_title, html_printer::write_header,
786 html_printer::determine_header_level, html_printer::do_heading,
787 html_printer::do_linelength, html_printer::do_pageoffset,
788 html_printer::do_indentation, html_printer::do_tempindent,
789 html_printer::do_indentedparagraph, html_printer::do_break,
790 html_printer::flush_sbuf, get_html_translation,
791 html_printer::begin_page, html_printer::special): Rewritten to get
792 rid of static string length limit.
793 (html_printer::troff_tag): Added `.no-auto-rule'.
794 (html_printer::flush_globs): Small fix.
795 (html_printer::determine_space): Don't compute `space_width'.
796 (html_printer::translate_to_html): Renamed to ...
797 (html_printer::emit_html): This (with updates).
798 (html_printer::write_header): Implement `-h' option.
799 (html_printer::draw): Remove commented-out code. Handle `F'
801 (html_printer::add_char_to_sbuf): Removed.
802 (html_printer::add_to_sbuf): Rewritten.
803 (html_printer::sbuf_continuation): Fixed.
804 (html_printer::seen_backwards_escape, reverse,
805 html_printer::remove_last_char_from_sbuf): Removed.
806 (char_translate_to_html, str_translate_to_html): Removed.
807 (html_printer::overstrike): New function member.
808 (html_printer::set_char): Use it.
809 (html_printer::do_body): New function member.
810 (html_printer::~html_printer): Use it.
811 (main): Handle `-h' option.
813 * src/devices/grohtml/grohtml.man: Document -h switch.
815 * src/preproc/html/pre-html.cc: Include searchpath.h
816 Replace `POSTSCRIPTRES' macro with `postscriptRes' variable.
817 (get_resolution): New function.
818 (checkImageDir): Use `0777' permissions in mkdir()
819 (write_start_image): Rewritten to use `\O[5...]'.
820 (createImage, generateImages): Updated.
821 (main): Handle `F' and `h' options.
822 Use `get_resolution'.
824 * src/roff/troff/input.cc (begin, end, image): Removed.
825 (do_suppress): Take parameter.
826 Handle modified syntax of `\O'.
827 (token::next): Updated.
828 (init_markup_requests): Removed.
831 * src/roff/troff/div.h: Add declaration for begin_page().
833 * tmac/color-html.tmac: Removed. Contents moved to...
834 * tmac/html.tmac: Here. Set background color.
835 * tmac/color.tmac: Removed. Contents moved to...
836 * tmac/ps.tmac: Here.
837 * tmac/www.tmac: Remove the title command when generating images
839 (NO_AUTO_RULE): New macro.
840 (HTML_DO_IMAGE): Use revised `\O' escapes.
841 * tmac/Makefile.sub, tmac/groff_www.man, tmac/troffrc: Updated.
843 2001-12-02 Werner LEMBERG <wl@gnu.org>
845 * tmac/groff_mdoc.man: Fix typo.
847 2001-12-01 Colin Watson <cjwatson@debian.org>
849 * man/roff.man: Fix typo.
851 2001-11-29 Werner LEMBERG <wl@gnu.org>
853 * src/libs/libbib/map.c, src/utils/pfbtops/pfbtops.c: Include
856 * src/roff/troff/input.cc (read_draw_node): Emit error message if
857 more than one argument to \D'f ...'.
859 * tmac/Makefile.sub (NORMALFILES): Add lbp.tmac.
861 2001-11-28 Werner LEMBERG <wl@gnu.org>
863 * tmac/an-old.tmac, tmac/doc.tmac: Assure that the macro package is
866 * tmac/groff_man.man: Minor cosmetic fix.
868 2001-11-27 Werner LEMBERG <wl@gnu.org>
870 * src/roff/groff/groff.man, tmac/groff_tmac.man,
871 tmac/groff_www.man: s/mwww/www/.
873 2001-11-26 Werner LEMBERG <wl@gnu.org>
875 * aclocal.m4 (GROFF_MKSTEMP): Implement test using C++ linkage.
876 * configure: Regenerated.
877 * win32-diffs: Updated.
879 * tmac/groff_mwww.tmac: Renamed to ...
880 * tmac/groff_www.tmac: This.
881 * tmac/mwww.tmac: Removed.
882 * NEWS, tmac/Makefile.sub: Updated.
884 2001-11-21 Werner LEMBERG <wl@gnu.org>
886 * doc/groff.texinfo: Improve documentation of the `\v' escape.
887 Fix explanation of `\D' and `rt'.
889 2001-11-20 Werner LEMBERG <wl@gnu.org>
891 * tmac/an-old.tmac (an-header): Set header length equal to page
893 * doc/groff.texinfo: Improve documentation of `ne' request. Other
897 2001-11-19 Werner LEMBERG <wl@gnu.org>
899 * NEWS, man/Makefile.sub: Updated.
901 2001-11-19 Bernd Warken <bwarken@mayn.de>
903 * man/ditroff.man: New file.
905 2001-11-17 Werner LEMBERG <wl@gnu.org>
907 * man/groff_differences.man: Renamed to ...
908 * man/groff_diff.man: This. Updated.
909 * man/Makefile.sub, src/roff/troff/troff.man, NEWS: Updated.
911 * src/preproc/html/pushbackbuffer.cc: Renamed to ...
912 * src/preproc/html/pushback.cc: This. Updated.
913 * src/preproc/html/pushbackbuffer.h: Renamed to ...
914 * src/preproc/html/pushback.h: This.
915 * src/preproc/html/Makefile.sub, src/preproc/html/pre-html.cc:
918 * src/libs/libgroff/htmlindicate.cc: Renamed to ...
919 * src/libs/libgroff/htmlhint.cc: This.
920 * src/libs/libgroff/Makefile.sub: Updated.
922 * tmac/an-old.tmac (an-end): Fix page length.
924 2001-11-16 Werner LEMBERG <wl@gnu.org>
926 * NEWS, man/groff_differences.man, doc/groff.texinfo: Updated.
927 * man/Makefile.sub: Include groff_differences.man.
928 * VERSION: Set to 1.18.
929 * REVISION: Set to 0.
931 2001-11-16 Bernd Warken <bwarken@mayn.de>
933 * src/roff/troff/input.cc (do_define_macro): Allow whitespace before
934 the second dot (or ending macro name) to end a macro.
935 * doc/groff.texinfo: Doc fix.
937 2001-11-16 Ruslan Ermilov <ru@FreeBSD.org>
939 * tmac/doc-common (doc-header): Handle very long document titles
942 2001-11-16 Werner LEMBERG <wl@gnu.org>
944 * tmac/doc.tmac (doc-do-Bl-args): Fix .substring requests.
946 2001-11-15 Werner LEMBERG <wl@gnu.org>
948 * src/roff/troff/troff.man: Revised and split into troff.man and...
949 * man/groff_differences.man: New file.
952 2001-11-13 Werner LEMBERG <wl@gnu.org>
954 * tmac/an-old.tmac (TS, TE): New macros for table support.
956 2001-11-12 Werner LEMBERG <wl@gnu.org>
958 * src/include/lib.h: Provide a fix for emx to not include
961 2001-10-27 Werner LEMBERG <wl@gnu.org>
963 * src/roff/troff/input.cc (substring_macro): Fix computation of
966 2001-10-20 Werner LEMBERG <wl@gnu.org>
968 Undo change from 2001-08-28.
970 * src/roff/troff/input.cc (have_input): New global variable.
971 (token::next): Set `have_input' for \f, \H, \R, \s, and \S if not
972 in compatibility mode.
973 (process_input_stack): Use it.
975 2001-10-19 Ruslan Ermilov <ru@FreeBSD.org>
977 * tmac/doc.tmac (doc-flag-recursion): Protect arguments against
978 being handled as end-of-sentence characters,
980 2001-10-10 Gaius Mulley <gaius@glam.ac.uk>
982 * src/roff/troff/input.cc (file_iterator): New members
983 `suppress_newline_flag' and `seen_escape'.
984 (file_iterator::next_file): Updated.
985 (file_iterator::fill): Use it.
986 (string_iterator): New member `suppress_newline_flag'.
987 (string_iterator::fill): Set it.
988 (get_color_element): Use MAX_COLOR_VAL.
989 * src/roff/troff/env.cc (environment): Remove `need_eol'.
990 (no_fill): Don't set `env->ignore_next_eol'.
991 (environment::newline): Handle `eol' tag properly.
993 (environment::add_html_tag): Set `env->ignore_next_eol'.
995 * src/roff/troff/env.h (environment): Updated.
997 * src/devices/grohtml/post-html.cc (text_glob::is_eol_ce): New
999 (html_printer::outstanding_eol): New member function.
1000 (html_printer::do_title): Use new functions.
1001 (html_printer::troff_tag): Test `id_eol_ce'.
1003 2001-10-10 Werner LEMBERG <wl@gnu.org>
1005 * tmac/color.tmac, tmac/color-html.tmac: Use `.do' to make those
1006 files work with -C also.
1008 2001-10-05 Werner LEMBERG <wl@gnu.org>
1010 * doc/pic.ms: Minor fix.
1011 * src/preproc/html/pre-html.cc (scanArguments): Don't handle `-?'
1012 as a valid command line switch.
1013 * src/devices/grohtml/post-html.cc (main): Ditto.
1015 * src/devices/grohtml/grohtml.man: Updated.
1016 * src/roff/groff/groff.cc (main): Pass `-v' to predriver also.
1018 2001-10-04 Werner LEMBERG <wl@gnu.org>
1020 Implementing color support in troff, pic, grops, and grohtml. These
1021 changes are based on a major patch provided by Gaius Mulley
1024 New request: `defcolor', supporting rgb, cmy, cmyk, and gray
1025 definitions with both hex values and fractions.
1027 New escapes: \m and \M for drawing and background color,
1028 respectively. This corresponds to the troff output commands `m'
1031 groff and troff accept command line switch `-c' to disable color
1032 output (which is automatically disabled in compatibility mode).
1034 New scaling indicator `f' for fractions (1f = 65536u).
1036 New conditional operator `m' to test for defined colors with `if'
1039 New keywords `color' (or `colour', `colored', `coloured'), `outline'
1040 (or `outlined'), and `shaded' added to pic.
1042 * src/include/color.h: New file.
1043 * src/include/driver.h: Include it.
1044 * src/include/printer.h: Include color.h.
1045 (environment): New members `col' and `fill'.
1046 (printer): Remove `adjust_arc_center' member function.
1047 * src/include/Makefile.sub: Updated.
1049 * src/libs/libdriver/input.cc (do_file): Initialize `env.col' and
1051 Handle `m' and `DF' troff commands.
1052 * src/libs/libgroff/color.cc: New file.
1053 * src/libs/libgroff/Makefile.sub: Updated.
1055 * src/preproc/html/pre-html.cc (IMAGE_BORDER_PIXELS): Set to 2.
1057 (createImage): Fix computation of `y2'.
1059 (buffer::write_file_html): Remove calls to `stop'.
1061 * src/preproc/pic/common.h (common_output): New abstract function
1062 members `set_color', `reset_color', `get_last_filled', and
1063 `get_outline_color'.
1064 * src/preproc/pic/object.h: Add `IS_SHADED' and `IS_OUTLINED'.
1065 (object_spec): Add members `shaded' and `outlined'.
1066 * src/preproc/pic/output.h (output): `command' is now abstract.
1067 New function members `set_color', `reset_color', `get_last_filled',
1068 and `get_outline_color'.
1069 * src/preproc/pic/lex.cc (lookup_keyword): Recognize `colo[u]r[ed]',
1070 `outline[d]', and `shaded'.
1071 * src/preproc/pic/object.cc (output::command): Removed.
1072 (output::set_location): Moved to output.h.
1073 (graphic_object): Add protected members `outline_color' and
1075 Add member functions `set_outline_color', `get_outline_color', and
1077 (closed_object): Add member function `set_fill_color'.
1078 Add member `color_fill'.
1079 (graphic_object::print_text): Use `out->set_color' and
1081 (box_object::print, ellipse_object::print, circle_object::print,
1082 line_object::print, spline_object::print, arc_object::print): Ditto.
1083 (object_spec::make_object): Implement `IS_OUTLINED' and `IS_SHADED'.
1084 * src/preproc/pic/pic.y: Add tokens `COLORED', `OUTLINED', and
1085 `SHADED', making them `%left'.
1086 Add rules `object_spec [SHADED|COLORED|OUTLINED] text'.
1087 * src/preproc/pic/tex.cc (tex_output): New dummy function members
1088 `set_color', `reset_color', `get_last_filled', and
1089 `get_outline_color'.
1090 * src/preproc/pic/troff.cc (simple_output): New abstract function
1091 members `set_color', `reset_color', and `get_last_filled'.
1092 (simple_output::polygon, simple_output::circle,
1093 simple_output::ellipse): Use `get_last_filled'.
1094 (troff_output): New members `last_filled' and `last_outlined'.
1095 New function members `set_color', `reset_color', `get_last_filled',
1096 and `get_outline_color'.
1097 (troff_output::finish_picture): Use `reset_color'.
1098 (troff_output::set_fill): Test `last_filled'.
1099 * src/preproc/pic/pic.man: Updated.
1101 * src/roff/groff/groff.cc (main): Implement `-c' option.
1102 (synopsis, help): Updated.
1103 src/roff/groff/groff.man: Updated.
1105 * src/roff/troff/troff.h: Include color.h.
1106 (warning_type): Add WARN_COLOR.
1107 * src/roff/troff/env.h (environment): New members
1108 `{cur,prev}_{glyph,fill}_color'.
1109 New member functions `get_{prev_,}{glyph,fill}_color'.
1110 * src/roff/troff/env.cc: Initialize and implement them.
1111 * src/roff/troff/input.cc: New global variable `disable_color_flag'.
1112 Replace `NULL' with `0' everywhere for consistency.
1113 (lookup_color, default_black, do_glyph_color, do_fill_color,
1114 get_color_element, read_rgb, read_cmy, read_cmyk, read_gray,
1115 define_color): New functions.
1116 (token::next): Implement \M and \m escapes.
1117 (do_if_request): Implement `m' operator.
1119 (main): Implement `-c' option.
1120 (init_markup_requests): Add `defcolor' request.
1121 (warning_table): Add `color' warning.
1122 * src/roff/troff/node.h (glyph_color_node, fill_color_node): New
1124 * src/roff/troff/node.cc (troff_output_file): New members
1125 `current_{page,glyph}color'. New member functions `put_hex',
1126 `glyph_color', and `fill_color'.
1127 (glyph_color_node::*, fill_color_node::*): Implement it.
1128 * src/roff/troff/number.cc (SCALE_INDICATOR_CHARS): Add `f'.
1129 (parse_term): Add support for `f'.
1130 * src/roff/troff/troff.man: Updated.
1132 * src/devices/grodvi/dvi.cc (draw_dvi_printer::draw): Add dummy
1134 * src/devices/grolbp/lbp.cc (lbp_printer::draw): Ditto.
1135 * src/devices/grolj4/lj4.cc (lj4_printer::draw): Ditto.
1137 * src/devices/grohtml/html-text.h (HTML_TAG): Add COLOR_TAG.
1138 (tag_definition): Use `void *' for arg1.
1139 (html_text): New member functions `do_color' and `done_color'.
1140 Use `void *' for second parameter of `push_para' member function.
1141 New `push_para' member function with a single parameter.
1142 Use `char *' for parameter of `issue_table_begin' member funtion.
1143 New `issue_color_begin' member function.
1144 * src/devices/grohtml/html-text.cc (html_text::end_tag): Handle
1146 (html_text::issue_color_begin): New function.
1147 (html_text::issue_table_begin): Use `char *' for parameter.
1148 (html_text::start_tag, html_text::shutdown,
1149 html_text::check_emit_text): Updated.
1150 (html_text::push_para): Use `void *' for second parameter.
1151 Add same function with only one parameter.
1152 (html_text::do_*): Updated.
1153 (html_text::do_color, html_text::done_color): New functions.
1154 * src/devices/grohtml/post-html.cc (style): New member `col'.
1155 Mew member `style' with 6 parameters.
1156 (style::style, style::operator==): Updated.
1157 (html_printer::do_font): Use it.
1158 (html_printer::draw): Add dummy entry for `F'.
1159 (html_printer::set_char): Updated.
1160 * src/devices/grohtml/grohtml.man: Updated.
1162 * src/devices/grops/ps.cc (ps_output::put_float): Use `%g' to have
1163 trailing zeroes removed.
1164 (ps_printer): New members `sbuf_color', `fill_color', and
1166 Removed member `fill'.
1167 New member function `set_color'.
1168 (ps_printer::ps_printer, ps_printer::set_char): Updated.
1169 (ps_printer::flush_sbuf, ps_printer::set_line_thickness,
1170 ps_printer::fill_path, ps_printer::draw): Use `set_color'.
1172 * tmac/color-html.tmac, tmac/color.tmac: New files.
1173 * tmac/troffrc: Include them.
1174 * tmac/www.tmac (URL, FTP, MAILTO): Use blue color.
1175 * tmac/Makefile.sub: Updated.
1177 * NEWS, doc/groff.texinfo, doc/pic.ms, man/groff_out.man,
1178 man/groff.man: Updated.
1179 * font/devps/prologue.ps: Define FC and CO functions.
1181 2001-10-04 Gaius Mulley <gaius@glam.ac.uk>
1183 Fix incorrect cropping of images and incorrect handling of special
1184 characters. Fix handling of file names in \O.
1186 * src/include/geometry.h: New file.
1187 * src/libs/libgroff/geometry.cc: New file.
1188 * src/libs/libdriver/printer.cc (printer::adjust_arc_center): Moved
1190 * src/roff/troff/input.cc (get_delim_file_name): Fixed problem with
1192 (do_suppress): Updated.
1193 * src/roff/troff/node.cc: Include geometry.h.
1194 (troff_output_file::flush_tbuf): Fixed parameters to
1195 `check_output_limits'.
1196 (troff_output_file::check_charinfo): Ditto.
1197 (troff_output_file::determine_line_limits): Add support for `Da'
1200 * src/devices/grohtml/post-html.cc (str_translate_to_html):
1201 Add new parameter `is_special' to decode special characters from
1203 (html_printer::do_title, html_printer::do_heading,
1204 html_printer::do_indentedparagraph,
1205 html_printer::translate_to_html, html_printer::special): Updated.
1207 2001-10-03 Werner LEMBERG <wl@gnu.org>
1209 * Makefile.sub (DISTCLEANFILES): Add stamp-h.
1210 Fix entry for config.h.
1211 * test-groff (GROFF_BIN_PATH): Add $builddir/roff/groff.
1212 * tmac/troffrc: Translate nonbreakable space character to `\~'.
1213 * src/preproc/eqn/eqn.man: Document -d command line option.
1215 2001-09-27 Werner LEMBERG <wl@gnu.org>
1217 * man/groff.man: Use
1225 instead of the old code (`.ad .hy' after the table) to suppress
1226 incorrect hyphenation for grohtml output.
1228 2001-09-22 Werner LEMBERG <wl@gnu.org>
1230 * man/groff_font.man, man/groff_out.man: Minor fixes.
1232 2001-09-20 Werner LEMBERG <wl@gnu.org>
1234 * PROBLEMS: Updated, reordered. Improved EPS section (thanks to
1235 Arnold Robbins <arnold@skeeve.com>).
1237 2001-09-09 Werner LEMBERG <wl@gnu.org>
1239 * configure: Regenerated with autoconf 2.52.
1241 * doc/groff.texinfo: Complete revision of indices.
1243 2001-09-07 Werner LEMBERG <wl@gnu.org>
1245 * doc/Makefile (clean): Updated to delete all indices.
1247 2001-09-05 Werner LEMBERG <wl@gnu.org>
1249 * src/roff/troff/troff.man: Remove superfluous line.
1251 * tmac/s.tmac: Enable all warnings only if no -W or -w option is
1252 given on the command line (or rather, if only the default warnings
1255 2001-09-03 Werner LEMBERG <wl@gnu.org>
1257 * man/groff.man, src/preproc/eqn/eqn.man, tmac/groff_mdoc.man: Don't
1258 use .ne for TTY devices.
1260 2001-08-31 Werner LEMBERG <wl@gnu.org>
1262 * src/roff/troff/token.h, src/roff/troff/input.cc:
1263 s/TOKEN_TRANSPARENT_ESCAPE/TOKEN_OPAQUE_ESCAPE/.
1265 2001-08-28 Werner LEMBERG <wl@gnu.org>
1267 * src/roff/troff/token.h (token_type): Add TOKEN_TRANSPARENT_ESCAPE.
1268 * src/roff/troff/input.cc (token::next): Return
1269 TOKEN_TRANSPARENT_ESCAPE for \f, \H, \R, \s, and \S if not in
1271 (token::description): Updated.
1272 (process_input_stack): Reset `bol' for TOKEN_TRANSPARENT_ESCAPE.
1273 (token::add_to_node_list, token::process): Ignore
1274 TOKEN_TRANSPARENT_ESCAPE.
1276 2001-08-27 Werner LEMBERG <wl@gnu.org>
1278 * tmac/an-old.tmac: Fix `S' string.
1280 2001-08-26 Werner LEMBERG <wl@gnu.org>
1282 * src/roff/troff/troff.man: Don't use .ne for TTY devices.
1284 2001-08-25 Werner LEMBERG <wl@gnu.org>
1286 * doc/pic.ms: Replace `\\' with `\e' (and fixing some single
1288 Many other minor fixes.
1290 * configure.ac: Add message at end to inform how to compile
1292 * configure: Regenerated.
1294 2001-08-24 Werner LEMBERG <wl@gnu.org>
1296 * src/include/getopt.h, src/libs/libgroff/{getopt.c, getopt1.c}:
1297 Updated to latest version of libc.
1299 2001-08-23 Werner LEMBERG <wl@gnu.org>
1301 * configure.ac: Don't create subdirectories before AC_CONFIG_FILES.
1302 Autoconf 2.50 and newer can handle this.
1303 * configure: Regenerated.
1305 2001-08-21 Werner LEMBERG <wl@gnu.org>
1307 * doc/pic.ms: Fix typo.
1308 * src/preproc/tbl/tbl.man: Document case of global options.
1310 2001-08-21 Gaius Mulley <gaius@glam.ac.uk>
1312 * src/devices/grohtml/post-html.cc (html_printer::end_font): Fix
1313 handling of `CR' font.
1315 2001-08-20 Werner LEMBERG <wl@gnu.org>
1317 Use a config.h file.
1319 * src/include/lib.h: Include config.h.
1320 * All C files: Ditto (if necessary).
1321 * All C++ source and header files: Include lib.h first (if
1324 * src/include/config.hin: New file (autogenerated by autoheader).
1325 * stamp-h.in: New file.
1326 * configure.ac: Updated.
1327 * aclocal.m4: Add third parameters to AC_DEFINE macros.
1328 (GROFF_ARRAY_DELETE): Simplified.
1329 * Makefile.sub (DISTCLEANFILES): Updated.
1330 Added targets for remaking config.status, config.hin, config.h,
1331 stamp-h.in, and stamp-h.
1332 * configure: Regenerated.
1334 2001-08-19 Werner LEMBERG <wl@gnu.org>
1338 2001-08-18 Sebastian Krahmer <krahmer@suse.de>
1340 * src/preproc/pic/pic.y (format_number): Use do_sprintf().
1341 (do_sprintf): Use snprintf().
1343 2001-08-18 Werner LEMBERG <wl@gnu.org>
1345 * src/libs/snprintf/*: Added an snprintf module written by Mark
1347 * src/libs/libgroff/Makefile.sub: Updated.
1348 * configure.ac: Add test for snprintf().
1349 * Makefile.in: Updated.
1350 * configure: Regenerated.
1352 * src/preproc/html/pre-html.cc (make_message): Reactivate code which
1355 2001-08-14 Ruslan Ermilov <ru@FreeBSD.org>
1357 * tmac/doc.tmac (Ex): New implementation.
1358 * tmac/doc-common, tmac/groff_tmac.man: Updated.
1360 2001-08-13 Ruslan Ermilov <ru@FreeBSD.org>
1362 * tmac/doc.tmac (Rv): Implement support for 0 or more than 1
1364 * tmac/groff_tmac.man: Updated.
1366 2001-08-13 Werner LEMBERG <wl@gnu.org>
1368 * src/preproc/tbl/tbl.man: Minor documentation update.
1370 2001-08-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1372 * src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday().
1373 * configure.ac: Add declaration test for gettimeofday().
1374 * Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines.
1375 * aclocal.m4: Include sys/time.h for gettimeofday declaration test.
1376 * configure: Regenerated.
1378 2001-08-11 Werner LEMBERG <wl@gnu.org>
1380 * aclocal.m4 (GROFF_MKSTEMP): Define HAVE_MKSTEMP.
1381 * configure.ac: Add declaration test for strcasecmp().
1382 * Makefile.in: Updated.
1383 * configure: Regenerated.
1384 * src/include/lib.h [!HAVE_MKSTEMP]: Add prototype for mkstemp() --
1385 this is necessary because groff's mkstemp.cc is C++.
1386 Add declaration conditionally for strcasecmp().
1388 2001-08-10 Werner LEMBERG <wl@gnu.org>
1390 Integrated pic2graph, contributed by Eric S. Raymond.
1392 * contrib/pic2graph/{Makefile.sub, pic2graph.sh, pic2graph.man}: New
1394 * Makefile.in, NEWS: Updated.
1396 * src/preproc/tbl/tbl.man: Revised.
1398 2001-08-09 Eric S. Raymond <esr@thyrsus.com>
1400 * src/preproc/tbl/tbl.man: Extended to cover all tbl features.
1402 2001-08-09 Werner LEMBERG <wl@gnu.org>
1404 * src/preproc/tbl/main.cc (process_data): Fix recognition of .lf
1407 2001-08-08 Paul Eggert <eggert@twinsun.com>
1409 * Makefile.sub (configure): Depend on configure.ac, not
1411 * INSTALL.gen: Upgrade to autoconf 2.52's INSTALL.
1413 2001-08-07 Werner LEMBERG <wl@gnu.org>
1415 * src/utils/afmtodit/afmtodit.man, src/roff/groff/groff.man: Minor
1418 2001-08-06 Werner LEMBERG <wl@gnu.org>
1420 * src/roff/troff/troff.man: Improve documentation of -E option.
1422 2001-07-28 Ralph Corderoy <ralph@inputplus.demon.co.uk>
1424 * src/preproc/html/pushbackbuffer.cc (pushBackBuffer::readNumber):
1427 2001-07-27 Werner LEMBERG <wl@gnu.org>
1429 * src/preproc/refer/refer.cc: Undo last change.
1430 * src/devices/grohtml/post-html.cc: Ditto.
1432 2001-07-26 Werner LEMBERG <wl@gnu.org>
1434 * src/preproc/refer/refer.cc: Include `lib.h'.
1435 * src/devices/grohtml/post-html.cc: Ditto.
1437 2001-07-25 Gaius Mulley <gaius@glam.ac.uk>
1439 * aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'.
1440 * src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET.
1441 * Makefile.in: Comment updated.
1442 * configure: Regenerated.
1444 2001-07-25 Werner LEMBERG <wl@gnu.org>
1446 * src/preproc/pic/pic.cc: Removed.
1447 * src/preproc/pic/pic_tab.h: Removed.
1448 * src/preproc/refer/label.cc: Removed.
1450 * doc/Makefile (.ms.html): Don't use a file name extension in
1451 argument to grohtml's -I option.
1452 * Makefile.in (dist): Remove CVS directories.
1453 Call `distfiles' target.
1455 * src/devices/grohtml/grohtml.man: Add information about valid
1456 versions of pnmtopng.
1457 * src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour
1458 name instead of number.
1460 2001-07-24 Werner LEMBERG <wl@gnu.org>
1462 * doc/groff.texinfo: Minor fixes.
1464 2001-07-21 Gaius Mulley <gaius@glam.ac.uk>
1466 * doc/Makefile (.ms.html): Put image files into a subdirectory.
1469 2001-07-20 Werner LEMBERG <wl@gnu.org>
1471 * src/libs/libgroff/tmpname.cc: New file, defining get_tempname().
1472 * src/libs/libgroff/mkstemp.cc: New file.
1473 * src/libs/libgroff/mksdir.cc: New file.
1474 * src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed.
1475 (xtmpfile) [!HAVE_MKSTEMP]: Removed.
1476 * src/libs/libgroff/Makefile.sub: Updated.
1477 * src/include/lib.h: Add mksdir() prototype.
1478 * src/include/posix.h: Define S_IXUSR if not yet defined.
1480 * src/preproc/html/pre-html.cc (MAX_RETRIES): Removed.
1481 (createAllPages): Use mksdir() instead of current code.
1482 * src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed.
1483 (main): [!HAVE_MKSTEMP]: Removed.
1485 * aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file.
1486 (GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New
1488 * configure.ac: Add tests for stdint.h, sys/time.h, and
1490 Call new GROFF_xxx macros.
1491 * configure: Regenerated.
1492 * Makefile.in: Comments updated.
1494 2001-07-20 Gaius Mulley <gaius@glam.ac.uk>
1496 * src/preproc/html/pre-html.cc (scanArguments): Use getopt_long()
1497 instead of current code.
1498 * src/devices/grohtml/post-html.cc (main): Handle `-d' option.
1499 * src/roff/groff/groff.cc (possible_command::insert_args): New
1501 (main): Use it for predriver handling instead of insert_arg().
1503 2001-07-19 Werner LEMBERG <wl@gnu.org>
1505 * doc/Makefile: Added GROFF_BIN_PATH to make it work with uninstalled
1508 * src/include/posix.h: Define S_IWUSR if not yet defined.
1510 2001-07-18 Werner LEMBERG <wl@gnu.org>
1514 2001-07-18 Ruslan Ermilov <ru@FreeBSD.org>
1516 * tmac/groff_mdoc.man: Document new -width and -column syntax.
1517 Some other minor fixes.
1518 * tmac/an-old.tmac: Add `AT' and `UC' macros.
1520 2001-07-17 Gaius Mulley <gaius@glam.ac.uk>
1522 Replace call to `troff' with `groff -Z' to make it aware of
1525 * src/preproc/html/pre-html.cc (TROFF_COMMAND): New macro.
1526 (troff_command, command_prefix): Removed.
1527 (alterDeviceTo): Use groff.
1528 (addZ): New function.
1529 (char_buffer::do_html): Use it.
1530 (scanArguments): Use TROFF_COMMAND.
1531 (findPrefix): Removed.
1533 * src/roff/groff/groff.cc (main): Handle zflag for preprocessors.
1535 2001-07-17 Eric S. Raymond <esr@snark.thyrsus.com>
1537 * doc/pic.ms: Documentation fixes.
1539 2001-07-17 Werner LEMBERG <wl@gnu.org>
1541 Replace atexit() with global destructor.
1543 * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Add constructor.
1544 (xtmpfile_list_init): New global structure to deallocate
1545 xtmpfile_list on exit. Its destructor inherits most code from
1547 (remove_tmp_files): Deleted.
1548 (add_tmp_file): Simplified.
1550 2001-07-16 Werner LEMBERG <wl@gnu.org>
1552 Replace strdup() with strsave().
1554 * src/devices/grolbp/lbp.cc [!HAVE_STRDUP]: Removed.
1555 (set_papersize): Use strsave() and a_delete.
1556 (main): Use strsave().
1557 * src/preproc/html/pre-html.cc (make_message, createAllPages,
1558 removeAllPages): Use strsave() and a_delete.
1560 * configure.ac: Remove test for strdup.
1561 * Makefile.in: Comment updated.
1562 * configure: Regenerated.
1564 2001-07-15 Werner LEMBERG <wl@gnu.org>
1566 * win32-diffs: Updated.
1568 2001-07-14 Werner LEMBERG <wl@gnu.org>
1570 * src/preproc/html/pre-html.cc (makeTempFiles): Activate new code,
1571 removing the old one.
1572 * src/utils/indxbib/indxbib.cc (main): Remove compiler warning.
1574 2001-07-14 Ralph Corderoy <ralph@inputplus.demon.co.uk>
1576 * src/libs/libgroff/tmpfile.cc (xtmpfile): Fix guard for `namep'.
1578 2001-07-12 Ruslan Ermilov <ru@FreeBSD.org>
1580 Merge -xwidth into -width. Add -xwidth functionality to -column
1583 * tmac/doc.tmac (Bl): Add dummy doc-typeXXX and doc-spaceXXX to
1585 (doc-do-Bl-args): Merge -xwidth code with -width. Test whether
1586 string immediately following a leading dot starts with a valid mdoc
1588 Add similar code to the -column branch.
1589 (doc-Bl-usage): Updated.
1590 * groff_mdoc.man: s/-xwidth/-width/.
1592 2001-07-12 Gaius Mulley <gaius@glam.ac.uk>
1594 * src/devices/grohtml/post-html.cc (text_glob::is_br): Stop titles
1595 running into centered or non-formatted text.
1597 2001-07-11 Werner LEMBERG <wl@gnu.org>
1599 Introduce short and long prefixes to have the selection at run-time
1600 whether there is a 8+3 limit for names of temporary files.
1602 * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX): Replaced with...
1603 (TMPFILE_PREFIX_SHORT, TMPFILE_PREFIX_LONG): This.
1604 (tmpfile_prefix, tmpfile_prefix_len, use_short_prefix): New
1606 (temp_init): New global structure to initialize above three
1608 (xtmptemplate): Use two parameters for long and short prefix.
1609 Simplify code use above three variables.
1610 (xtmpfile): Use long and short prefixes as parameters.
1611 * src/include/lib.h: Updated.
1613 * src/preproc/html/pre-html.cc ({PAGE,PS,REGION}_TEMPLATE): Replace
1615 ({PAGE,PS,REGION}_TEMPLATE_{SHORT,LONG}): This.
1616 (createAllPages, makeTempFiles): Updated.
1618 2001-07-09 Werner LEMBERG <wl@gnu.org>
1620 * REVISION: Increased to 3.
1622 Version 1.17.2 released
1623 =======================
1625 2001-07-07 Werner LEMBERG <wl@gnu.org>
1627 * src/utils/indxbib/indxbib.cc (main): Change type of `name_max'
1630 2001-07-06 Ruslan Ermilov <ru@FreeBSD.org>
1632 * tmac/doc.tmac (Rv): Make `Rv' really not parseable.
1634 * tmac/groff_mdoc.man: Fix synopsis.
1636 2001-07-05 Ruslan Ermilov <ru@FreeBSD.org>
1638 * tmac/doc.tmac (doc-inset-list, doc-hang-list, doc-ohang-list):
1639 Restore `doc-Pa-font'.
1641 2001-07-04 Werner LEMBERG <wl@gnu.org>
1643 * src/utils/indxbib/dirnamemax.c: Moved to ...
1644 * src/libs/libgroff/maxfilename.cc: Here.
1645 s/dir_name_max/file_name_max/.
1647 * src/include/lib.h: Add file_name_max.
1648 * src/utils/indxbib/indxbib.cc: Updated.
1649 * src/utils/indxbib/Makefile.sub, src/libs/libgroff/Makefile.sub:
1652 * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX) [__MSDOS__]: Define
1654 (xtmpfile) [_MSC_VER]: Removed -- MSVC has mktemp().
1656 * src/preproc/html/pre-html.cc (PAGE_TEMPLATE, PS_TEMPLATE,
1657 REGION_TEMPLATE): New macros.
1658 (createAllPages, makeTempFiles): Use them.
1659 Include `nonposix.h'.
1660 (html_system): New function.
1661 (createAllPages, createImage): Use it.
1664 * tmac/www.tmac: Fix typos.
1666 2001-07-03 Werner LEMBERG <wl@gnu.org>
1668 * tmac/www.tmac: Disable hyphenation in normal text only if output
1670 (URL, FTP, MAILTO): Disable hyphenation of actual URL with `\%'.
1671 * tmac/groff_mwww.man, NEWS: Updated.
1673 2001-07-03 Gaius Mulley <gaius@glam.ac.uk>
1675 * tmac/www.tmac (.IMAGE): Add fourth parameter to specify vertical
1678 2001-07-02 Ruslan Ermilov <ru@FreeBSD.org>
1680 * tmac/doc-common, tmac/doc.tmac (doc-display-ft-stack,
1681 doc-display-ps-stack): Implement font and font size stack for
1684 2001-07-02 Werner LEMBERG <wl@gnu.org>
1686 * REVISION: Increased to 2.
1687 * src/roff/troff/input.cc (read_size): Fix special case `\s[0]'.
1689 * src/groff/grog/grog.pl (process): Handle `Oo' and `Oc' not at the
1690 beginning of a line.
1691 * src/groff/grog/grog.sh: Ditto.
1693 2001-06-29 Peter Marquardt <wwwutz@molgen.mpg.de>
1695 * src/preproc/eqn/neqn.sh: Put `export' keyword in a new line to
1698 2001-06-27 Werner LEMBERG <wl@gnu.org>
1700 Fix problems with preprocessor string for `man' program.
1702 * *.man: Don't use `s' in preprocessor string -- it doesn't exist.
1703 Updated/added copyright.
1704 Moved Emacs's local variable to identify nroff mode to the end of
1705 the file; add local variable if missing.
1707 2001-06-26 Andras Salamon <andras@cs.wits.ac.za>
1709 * aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS with
1710 AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++).
1711 * configure: Regenerated.
1713 2001-06-25 Andras Salamon <andras@cs.wits.ac.za>
1715 * aclocal.m4 (GROFF_PAGE): Fix page detection code.
1716 * configure: Regenerated.
1718 2001-06-24 Werner LEMBERG <wl@gnu.org>
1720 * doc/homepage.ms: Don't include arkup.tmac (which no longer exists)
1722 * doc/pic.ms: Fix typos.
1724 Version 1.17.1 released
1725 =======================
1727 2001-06-21 Golubev I. N. <gin@mo.msk.ru>
1729 * aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h.
1730 * configure: Updated.
1732 2001-06-20 Gaius Mulley <gaius@glam.ac.uk>
1734 * src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect
1736 * src/roff/troff/dic.cc (blank_line): Add html tag.
1738 2001-06-19 Gaius Mulley <gaius@glam.ac.uk>
1740 * src/roff/troff/input.cc (do_suppress): Fix typo.
1742 2001-06-18 Gaius Mulley <gaius@glam.ac.uk>
1744 Added two new options (-D and -I) to specify image names and a
1745 subdirectory to place the images in.
1747 Change syntax from \\Ox to \\O[x].
1749 * src/devices/grohtml/post-html.cc (main): Add options.
1751 * src/preproc/html/pre-html.cc: Include `stdarg.h'.
1752 Use `NULL' instead of `0' for null string pointers.
1753 (MAX_RETRIES): New macro.
1754 (lengthOfintToStr, intToStr, make_message): New functions.
1755 (makeFileName): Make function static.
1756 Implement -D and -I options.
1757 (checkImageDir): New function.
1758 (write_end_image, write_start_image): Use new syntax of \O.
1759 (createAllPages, removeAllPages): Implement -D and -I options. Use
1761 (createImage): Use make_message().
1762 (addps4html): Add guard for malloc().
1763 (usage, scanArguments): Updated.
1764 (makeTempFiles): Use mkstemp().
1765 (removeTempFiles): Use unlink().
1766 (findPrefix): Add guard for malloc().
1768 * src/roff/troff/input.cc (get_delim_file_name): New function to
1770 (do_suppress): Updated to parse new syntax.
1771 * src/devices/grohtml/grohtml.man: Updated.
1772 * tmac/www.tmac: Updated to new syntax.
1776 2001-06-15 Werner LEMBERG <wl@gnu.org>
1778 * src/roff/grog/Makefile.sub: Remove NAMEPREFIX.
1780 * src/devices/grohtml/grohtml.man: Minor improvements.
1782 2001-06-14 Werner LEMBERG <wl@gnu.org>
1784 * src/preproc/html/Makefile.sub: Remove NAMEPREFIX.
1786 2001-06-11 Werner LEMBERG <wl@gnu.org>
1788 * man/roff.man, mann/groff.man: Use '\" instead of .\" in the first
1789 line to specify preprocessor options -- mandb 2.3.1 only recognizes
1791 * src/preproc/grn/grn.man: Add proper '\" string.
1793 2001-06-11 OKAZAKI Tetsurou <okazaki@be.to>
1795 * test-groff: Don't use PATH but GROFF_BIN_PATH.
1797 2001-06-08 Werner LEMBERG <wl@gnu.org>
1799 Updated to autoconf 2.50.
1801 * configure.in: Renamed to...
1802 * configure.ac: This.
1803 * aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed.
1804 (GROFF_OS390): Updated.
1805 * configure: Regenerated.
1807 2001-05-18 Werner LEMBERG <wl@gnu.org>
1809 * src/roff/troff/env.c, src/roff/troff/env.h,
1810 src/roff/troff/input.cc, src/roff/troff/troff.man: Undo `ss' change
1813 2001-05-17 Jeffrey Friedl <jfriedl@yahoo-inc.com>
1815 * src/roff/troff/input.cc (read_size): Fix special case `\s0'.
1817 2001-05-16 Werner LEMBERG <wl@gnu.org>
1819 * src/roff/troff/input.cc (read_size): Emit warning if value becomes
1820 less than or equal zero; set it to 1 then.
1821 * src/roff/troff/node.h (node::node): Initialize `last'.
1823 2001-05-08 Werner LEMBERG <wl@gnu.org>
1825 * tmac/an-old.tmac: Make predefined strings work in compatibility
1827 Add troff version guard.
1828 * tmac/doc.tmac: Simplify version guard.
1830 2001-05-07 Werner LEMBERG <wl@gnu.org>
1832 The .ns and .rs requests are now honoured not only in the top-level
1833 but in all diversions (similar to UNIX troff).
1835 This change is based on a patch from Tadziu Hoffmann
1836 <hoffmann@usm.uni-muenchen.de>.
1838 * src/roff/troff/div.h (diversion): Add `no_space_mode' member.
1839 (top_level_diversion): Remove `no_space_mode' member.
1840 * src/roff/troff/div.cc (diversion::diversion,
1841 top_level_diversion::top_level_diversion): Updated.
1842 (macro_diversion::output): Reset `no_space_mode'.
1843 (no_space, restore_spacing): Use `curdiv' unconditionally.
1844 (space_request, blank_line): Check `curdiv->no_space_mode'.
1845 (no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use
1846 `curdiv' unconditionally.
1847 * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
1850 2001-05-06 Werner LEMBERG <wl@gnu.org>
1852 Added two new requests `de1' and `am1' which are similar to `de' and
1853 `am' with the difference that compatibility mode is saved on entry,
1854 switched off during macro execution, and restored on exit.
1856 * src/roff/troff/input.h: Added two new special characters
1857 (COMPATIBLE_SAVE, COMPATIBLE_RESTORE).
1858 * src/roff/troff/input.cc (input_iterator): Added two member
1859 functions `save_compatible_flag' and `get_compatible_flag'.
1860 (input_stack): Ditto.
1861 (string_iterator): Ditto. Also add private member
1862 `saved_compatible_flag'.
1863 (token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
1864 (calling_mode): New enumeration.
1865 (do_define_macro): Use it. Insert COMPATIBLE_SAVE and
1866 COMPATIBLE_RESTORE at the beginning and end of macro, respectively.
1867 (define_macro, define_indirect_macro, append_macro, ignore): Use
1869 (define_nocomp_macro, append_nocomp_macro): New functions.
1870 (init_input_requests): Updated.
1871 (do_request): Rename local variable `saved_compatible_flag' to
1872 `old_compatible_flag'.
1873 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
1875 * tmac/an-old.tmac: Use `de1' instead of `de' request for all
1876 public and trap-invoked macros. As a consequence, the man macros
1877 work in compatibility mode also.
1879 2001-05-06 Solar Designer <solar@openwall.com>
1881 * Makefile.in: Use $(mandir).
1883 2001-05-06 Alexios Zavras <zvr@pobox.com>
1885 * src/utils/afmtodit/afmtodit.pl: Fix serious typo.
1887 2001-05-05 Werner LEMBERG <wl@gnu.org>
1889 Added `.ns' number register: Returns 1 in no-space mode (if in
1890 top-level diversion), 0 otherwise.
1892 * src/roff/troff/div.cc (no_space_mode_reg): New class.
1893 (init_div_requests): Updated.
1894 * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
1897 2001-05-04 Werner LEMBERG <wl@gnu.org>
1899 * src/roff/nroff/nroff.man: Improved documentation (especially
1902 2001-05-02 Werner LEMBERG <wl@gnu.org>
1904 Added `brp' request: This is \p as a request.
1906 * src/roff/troff/env.cc (environment::do_break): Add parameter
1908 (do_break_request): New function (was `break_request').
1909 (break_request): Calls `do_break_request'.
1910 (break_spread_request): New; calls `do_break_request'.
1911 (init_env_requests): Updated.
1912 * src/roff/troff/env.h: Updated.
1913 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
1915 * REVISION: Increased to 1.
1916 * win32-diffs: Updated.
1918 2001-05-01 Werner LEMBERG <wl@gnu.org>
1920 * tmac/an-old.tmac: Fix minor compatibility mode issue.
1921 * tmac/troffrc-end: Make it really work in compatibility mode.
1923 2001-04-27 Werner LEMBERG <wl@gnu.org>
1925 * src/utils/lkbib/lkbib.cc: Switch inclusion order of stdio.h and
1928 2001-04-22 Werner LEMBERG <wl@gnu.org>
1930 * src/libs/libgroff/getopt.c, src/include/getopt.h: Updating to
1931 latest versions from glibc CVS archive.
1933 * MORE.STUFF: Updated, using a patch from Kees Zeelenberg
1934 <c.zeelenberg@hccnet.nl>.
1936 2001-04-21 Werner LEMBERG <wl@gnu.org>
1938 * configure.in: Move check for mkstemp() to...
1939 * aclocal.m4 (GROFF_MKSTEMP): This new function.
1940 * configure: Regenerated.
1942 * src/include/groff-getopt.h: Don't use variable names in
1945 * src/devices/grohtml/html-chars.h: Removed. It isn't used.
1946 * src/devices/grohtml/Makefile.sub,
1947 src/devices/grohtml/post-html.cc: Updated.
1949 2001-04-21 Albert Chin-A-Young <china@thewrittenword.com>
1951 * configure.in: Add special check for mkstemp().
1952 * src/libs/libgroff/tmpfile.cc: Use it.
1953 * src/utils/indxbib/indxbib.cc: Ditto.
1954 * src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style.
1955 * src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use
1958 2001-04-20 Bruce Lilly <blilly@erols.com>
1960 `Version_string' as C++ object was not visible to linker from C
1962 Add `const' to `Version_string'.
1964 * src/utils/pfbtops/pfbtops.c (main), src/roff/groff/groff.cc
1965 (main), src/roff/troff/input.cc (main), src/preproc/tbl/main.cc
1966 (main), src/preproc/pic/main.cc (main), src/preproc/eqn/main.cc
1967 (main), src/preproc/grn/main.cc (main), src/preproc/html/pre-html.cc
1968 (scanArguments), src/preproc/refer/refer.cc (main),
1969 src/preproc/soelim/soelim.cc (main), src/devices/grotty/tty.cc
1970 (main), src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
1971 (main), src/devices/grohtml/post-html.cc (main),
1972 src/devices/grolbp/lbp.cc (main), src/utils/tfmtodit/tfmtodit.cc
1973 (main), src/utils/hpftodit/hpftodit.cc (main),
1974 src/utils/lookbib/lookbib.cc (main), src/utils/indxbib/indxbib.cc
1975 (main), src/utils/lkbib/lkbib.cc (main),
1976 src/utils/addftinfo/addftinfo.cc (main): Implement it.
1978 * src/roff/groff/pipeline.c: Add _UWIN.
1979 * src/include/nonposix.h: Ditto.
1981 2001-04-20 Werner LEMBERG <wl@gnu.org>
1983 * src/include/lib.h: Use HAVE_STRERROR.
1984 * src/roff/groff/pipeline.c: Ditto.
1985 * src/preproc/html/pre-html.cc: Remove declaration of `strerror'.
1986 * src/libs/libgroff/Makefile.sub (version.cc): Add `extern "C"'.
1987 * src/utils/pfbtops/pfbtops.c: Add copyright notice.
1988 * win32-diffs: Updated.
1989 * src/utils/hpftodit/hpftodit.cc (read_map): Fix compiler warning.
1991 2001-04-19 Werner LEMBERG <wl@gnu.org>
1993 * src/preproc/html/pre-html.cc (scanArguments): Use `troff_command'
1994 instead of hardwired `"troff"'.
1995 (char_buffer::read_file): Remove unused variables.
1996 (char_buffer::write_file_troff): Ditto.
1997 (char_buffer::write_file_html): Ditto.
1998 (generateImages): Ditto.
2000 * src/utils/addftinfo/addftinfo.cc (main): Fix compilation problem.
2002 * src/include/lib.h: Don't include `groff-getopt.h' for UWIN.
2004 * src/libs/libgroff/font.cc (font::load_desc): Fix compiler warning.
2005 * src/libs/libbib/index.cc (index_search_item_iterator::get_tag,
2006 index_search_item::search1): Ditto.
2007 * src/roff/troff/node.h (width_list): Reorder members.
2008 * src/roff/troff/input.cc (do_define_macro): Fix compiler warning.
2009 (lookup_warning): Ditto.
2010 (prepend_string): Commented out.
2011 * src/roff/troff/dictionary.cc (is_good_size): Fix compiler warning.
2012 * src/roff/troff/reg.cc (number_value_to_ascii): Ditto.
2013 * src/preproc/tbl/main.cc (process_format): Ditto.
2014 * src/preproc/pic/pic.y (define_variable, reset, reset_all): Fix
2016 * src/preproc/pic/pic.cc: Updated.
2017 * src/preproc/eqn/lex.cc (init_table): Fix compiler warnings.
2018 * src/preproc/eqn/over.cc (over_box::compute_metrics): Ditto.
2019 * src/preproc/refer/command.cc (execute_command): Ditto.
2020 * src/preproc/refer/ref.cc (sortify_title, find_month): Ditto.
2021 * src/preproc/refer/token.cc (lookup_token): Ditto.
2022 * src/preproc/soelim/soelim.cc: Ditto.
2023 * src/preproc/html/pushbackbuffer.cc (ERROR): Ditto.
2024 (isHexDigit): Commented out.
2025 (pushBackBuffer::isString): Remove unused variable.
2026 * src/devices/grops/ps.cc (ps_printer::special): Fix compiler
2028 * src/devices/grops/psrm.cc (resource_manager::lookup_font,
2029 resource_manager::read_resource_arg, read_one_of, parse_extensions):
2031 * src/devices/grodvi/dvi.cc (dvi_printer::draw): Ditto.
2032 * src/devices/grolj4/lj4.cc (lj4_font::handle_unknown_font_command,
2033 lookup_paper_size): Ditto.
2034 * src/devices/grohtml/post-html.cc (is_subsection): Commented out.
2035 (text_glob, element_list): Reorder members.
2036 * src/devices/grohtml/html-text.cc (html_text::do_pre): Remove
2038 * src/devices/grohtml/html-text.h (html_text::emit_space): Change
2039 return value to `void'.
2040 * src/devices/grohtml/output.cc (word_list::word_list): Fix order
2042 * src/devices/grohtml/html.h (simple_output::check_newline,
2043 simple_output::space_or_newline, simple_output::enable_newlines):
2045 * src/devices/grolbp/lbp.cc (wp54charset, set_papersize): Remove
2047 * src/utils/tfmtodit/tfmtodit.cc (tfm::load, gf::load, main): Ditto.
2048 * src/utils/hpftodit/hpftodit.cc (File::seek, read_symbol_sets,
2049 output_ligatures, output_charset, read_map): Ditto.
2050 * src/utils/lookbib/lookbib.cc (main): Ditto.
2051 * src/utils/indxbib/indxbib.cc (main, fwrite_or_die): Ditto.
2052 (do_file): Fix typo (`=' -> `==').
2053 * src/utils/lkbib/lkbib.cc (main): Remove compiler warning.
2054 * src/utils/addftinfo/addftinfo.cc (main): Ditto.
2056 2001-04-18 Ruslan Ermilov <ru@FreeBSD.org>
2058 * src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.
2059 Fix usage of GROFF_BIN_PATH.
2060 * src/roff/nroff/nroff.man: Updated.
2062 2001-04-18 Werner LEMBERG <wl@gnu.org>
2064 * NEWS: Fixing typos.
2067 Version 1.17 released
2068 =====================
2070 2001-04-17 Werner LEMBERG <wl@gnu.org>
2072 * tmac/Makefile.sub (install-data): mdoc.local-s is in current
2073 directory, not in $(srcdir).
2075 2001-04-16 Werner LEMBERG <wl@gnu.org>
2077 * doc/groff.texinfo: More info on conditionals.
2079 2001-04-15 Werner LEMBERG <wl@gnu.org>
2081 * doc/groff.texinfo: Added some info about groff internals.
2083 * src/roff/troff/node.cc (make_glyph_node): Emit warning message
2084 about missing special character only if the name is non-null.
2086 2001-04-14 Werner LEMBERG <wl@gnu.org>
2088 Removing the grohtml-old device driver which is now obsolete.
2090 * src/devices/grohtml-old/*: Removed.
2091 * font/devhtml-old/*: Removed.
2092 * src/libs/libgroff/htmlindicate.cc (graphic_start, graphic_end):
2094 * Makefile.in (CCPROGDIRS, DEVDIRS): Updated.
2095 * test-groff (PATH): Updated.
2096 * tmac/Makefile.sub (NORMALFILES): Updated.
2097 * tmac/an-old.tmac: Remove special code for html-old device.
2098 Replace `html-or-html-old' register with `an-html'.
2099 * tmac/eqnrc: Updated.
2100 * tmac/html-old.tmac: Removed.
2101 * tmac/troffrc, tmac/troffrc-end: Updated.
2102 * tmac/www.tmac: Remove special code for html-old device.
2103 Replace `html-or-html-old' register with `www-html'.
2105 * src/libs/libgroff/tmpfile.cc (remove_tmp_files),
2106 src/libs/libgroff/htmlindicate.cc (graphic_end),
2107 include/htmlindicate.h, src/preproc/grn/*.cc,
2108 src/roff/groff/env.{cc,h}: Remove `void' parameter if used as a
2109 single argument for consistency with rest of source code.
2111 * aclocal.m4, tmac/an-old.tmac: Fix copyright.
2113 2001-04-13 Ruslan Ermilov <ru@FreeBSD.org>
2115 * src/roff/troff/troff.man: Fixing typos.
2117 2001-04-13 Werner LEMBERG <wl@gnu.org>
2119 * doc/pic.ms: Fixing many font switches.
2120 * doc/groff.texinfo: Fixes, additions.
2121 * MORE.STUFF: Updated.
2123 2001-04-12 Gaius Mulley <gaius@glam.ac.uk>
2125 * src/devices/grohtml/grohtml.man: Updated manual page regarding
2127 * src/preproc/html/pre-html.cc (createImage): Fixed right hand
2129 (removeTempFiles): New function to tidy up temporary files.
2130 * src/preproc/html/pre-html.cc (main): Calls `removeTempFiles()'.
2131 Many fixes to do with the new inline suppress node and image regions
2133 * src/devices/grohtml/post-html.cc: New method `is_auto_img'.
2134 (generate_img_src): New function.
2135 (html_printer::do_auto_image): Utilizes it.
2136 (do_heading, do_title): Include inline images within their contents.
2137 (html_printer::begin_page): Tidied up comments that are issued to
2138 the html output file.
2139 (html_printer::do_fill): Fixed so that `.nf' works with fonts other
2141 (text_glob::is_br): New method used by do_heading.
2142 * tmac/s.tmac: If -Thtml then emit $1 in .IP rather than its
2143 equivalent diversion.
2144 * src/include/html-strings.h: Altered image tags to reflect the
2146 * src/include/htmlindicate.h (html_end_suppress): Added `is_inline'
2148 * src/preproc/eqn/main.cc: Will suppress generation of image tags if
2149 it is already inside a pic image. Only emit tags if the argument
2150 `-Tps:html' is present.
2151 * src/preproc/tbl/main.cc: Changes to reflect additional
2152 `html_end_suppress' parameter.
2153 * src/roff/troff/env.cc: Only emit eol tag if a node has been
2154 emitted since the last eol tag was written.
2155 * src/roff/troff/env.h: New boolean `emitted_node'.
2156 * src/roff/troff/input.cc (do_suppress): Handles extra suppress
2157 nodes \O3, \O4, \O5. No longer use `output_low_mark_miny'.
2158 * src/roff/troff/node.cc (check_charinfo): New method.
2159 (troff_output_file::determine_line_limits): Alterations to limit
2161 * tmac/www.tmac: Changes to reflect new suppress nodes.
2163 2001-04-12 Bruno Haible <haible@clisp.cons.org>
2165 * src/devices/grohtml/post-html.cc (html_printer::add_to_sbuf):
2166 Escape the html_glyph in the buffer.
2167 (str_translate_to_html): Output the unescaped escaped_char.
2168 * src/devices/grohtml/html-text.cc (issue_table_begin): Set
2169 `frame=void', not `frame=none'. Add `border=0'.
2171 2001-04-12 Werner LEMBERG <wl@gnu.org>
2173 * PROBLEMS: Add some words on how to avoid wrapper macros.
2175 2001-04-11 Blake McBride <blake@florida-software.com>
2177 * src/include/nonposix.h (fileno) [_MSC_VER]: Removed.
2179 2001-04-11 Werner LEMBERG <wl@gnu.org>
2181 * font/devlbp/Makefile.sub (CLEANADD): Set it.
2182 * tmac/Makefile.sub (CLEANADD): Add tmac.local-s.
2183 * Makefile.in (dist): Don't remove src/xditview/Imakefile, but ...
2184 * Makefile.sub (DISTCLEANFILES): Here.
2186 * libs/libgroff/new.cc: Include `nonposix.h'.
2187 * win32-diffs: Updated.
2189 2001-04-10 Ruslan Ermilov <ru@FreeBSD.org>
2191 Added skeleton macro for defunct macros.
2193 Updated documentation.
2195 When inside displays, an empty input line warning should be
2196 suppressed. If another macro call is put inside a display,
2197 all subsequent empty lines found in that display caused a
2198 warning to be emitted.
2200 * tmac/doc.tmac (doc-defunct-macro): New macro.
2201 (Db, Ds, Ex, Or, Sf): Reimplemented using this macro.
2202 (doc-restore-global-vars): Fixed typo.
2203 (doc-empty-line): Check the `doc-display-depth' register to
2204 determine whether we are inside display or not.
2206 * tmac/doc-common: Removed `Or' and `Sf' registers.
2207 Moved obsolete `Ds' macro to doc.tmac.
2209 * tmac/groff_mdoc.man: Bump document date.
2210 Document `.Vt' under ``Variable Types''.
2211 Removed documentation for obsolete `.Or' macro.
2213 2001-04-10 Werner LEMBERG <wl@gnu.org>
2216 * doc/groff.texinfo: Many fixes, additions, clarifications, etc.
2218 2001-04-10 Bruno Haible <haible@clisp.cons.org>
2220 * src/devices/grodvi/dvi.cc (main): Accept --help and --version.
2221 (usage): Add stream argument. Don't exit.
2222 * src/devices/grohtml/post-html.cc (main): Accept --help and --version.
2223 Write --version output to stdout, not stderr.
2224 (usage): Add stream argument. Don't exit.
2225 * src/devices/grohtml-old/html.cc (main): Accept --help and --version.
2226 (usage): Add stream argument. Don't exit.
2227 * src/devices/grolbp/lbp.cc (long_options): Use symbolic getopt.h
2229 (usage): Add stream argument. Don't exit.
2230 (main): Write --help output to stdout, not stderr.
2231 * src/devices/grolj4/lj4.cc (main): Accept --help and --version.
2232 (usage): Add stream argument. Don't exit.
2233 * src/devices/grops/ps.cc (main): Accept --help and --version.
2234 (usage): Add stream argument. Don't exit.
2235 * src/devices/grotty/tty.cc (main): Accept --help and --version.
2236 (usage): Add stream argument. Don't exit.
2237 * src/preproc/eqn/main.cc (usage): Add stream argument. Don't exit.
2238 (main): Accept --help and --version.
2239 * src/preproc/grn/main.cc (usage): Add stream argument. Don't exit.
2240 (main): Accept --help and --version.
2241 * src/preproc/html/pre-html.cc (usage): Add stream argument.
2242 (scanArguments): Accept --help and --version.
2243 * src/preproc/pic/main.cc (usage): Add stream argument. Don't exit.
2244 (main): Accept --help and --version.
2245 * src/preproc/refer/refer.cc (main): Accept --help and --version.
2246 (usage): Add stream argument. Don't exit.
2247 * src/preproc/soelim/soelim.cc (usage): Add stream argument. Don't
2249 (main): Accept --help and --version.
2250 * src/preproc/tbl/main.cc (usage): Add stream argument. Don't exit.
2251 (main): Accept --help and --version.
2252 * src/roff/groff/groff.cc (main): Accept --help and --version.
2253 (synopsis): Add stream argument.
2254 (help): Write --help output to stdout, not stderr.
2255 (usage): Add stream argument. Don't exit.
2256 * src/roff/grog/grog.pl: Accept --help and --version.
2258 * src/roff/grog/grog.sh: Accept --help and --version.
2259 * src/roff/nroff/nroff.sh: Accept --help and --version.
2260 * src/roff/troff/input.cc (USAGE_EXIT_CODE): Remove macro.
2261 (usage): Add stream argument. Don't exit.
2262 (main): Accept --help and --version.
2263 * src/utils/addftinfo/addftinfo.cc (main): Accept --help and --version.
2264 (usage): New function with stream argument, doesn't exit.
2265 * src/utils/hpftodit/hpftodit.cc (main): Accept --help and --version.
2266 (usage): New function with stream argument, doesn't exit.
2267 * src/utils/indxbib/indxbib.cc (main): Accept --help and --version.
2268 (usage): Add stream argument. Don't exit.
2269 * src/utils/lkbib/lkbib.cc (usage): Add stream argument. Don't exit.
2270 (main): Accept --help and --version.
2271 * src/utils/lookbib/lookbib.cc (usage): Add stream argument. Don't
2273 (main): Accept --help and --version.
2274 * src/utils/pfbtops/pfbtops.c (usage): Add stream argument. Don't exit.
2275 (main): Accept --help and --version.
2276 * src/utils/tfmtodit/tfmtodit.cc (main): Accept --help and --version.
2277 (usage): Add stream argument. Don't exit.
2279 2001-04-10 Ruslan Ermilov <ru@freebsd.org>
2281 Fix indentation in SYNOPSIS.
2283 Updated to include changes of latest BSD mdoc version (basically,
2284 the only change is that `.Fn' and `.Fc' put a final semicolon after
2285 a function declaration in the SYNOPSIS section).
2287 * tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
2288 (doc-in-synopsis-section): New variable. Updated all related
2290 (doc-indent-synopsis-active): New register.
2291 (Nd, Fn, Fo): Use it.
2292 (Cd): It requires manipulation of \n[doc-indent-synopsis] so that
2293 `.Cd' with long argument line produces indented wrapped lines.
2294 Also, the misplaced `.nop \*[doc-Nm-font]\c'' caused extra
2295 undesirable line break to be output.
2296 (doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
2298 (Fn, Fc): Add final `;' to output.
2299 (doc-save-global-vars, doc-restore-global-vars): Updated.
2300 * tmac/doc-common: Remove `Ex' register.
2302 * tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
2305 2001-04-06 Ruslan Ermilov <ru@freebsd.org>
2307 * tmac/doc.tmac (Cd): Simplify code.
2308 * tmac/groff_mdoc.man: Document some behaviour of `Cd' request.
2310 2001-04-06 Werner LEMBERG <wl@gnu.org>
2312 Implement continuous underlining for nroff mode. To do that, a new
2313 request in the ditroff language has been added: `x u N' (N is 0
2316 \X and \Y are now transparent to end-of-sentence recognition.
2318 * src/include/printer.h (printer): Add `type' parameter to `special'
2320 * src/libs/libdriver/printer.cc (printer::special): Updated.
2321 * src/libs/libdriver/input.cc (do_file): Handle `x u N'.
2323 * src/devices/dvi/dvi.cc (dvi_printer::special): Handle only
2324 specials of type `p'.
2325 * src/devices/grohtml/post-html.cc (html_printer::special): Ditto.
2326 * src/devices/grohtml-old/html.cc (html_printer::special): Ditto.
2327 * src/devices/grops/ps.cc (ps_printer::special): Ditto.
2328 * src/devices/grotty/tty.cc: Add new enum CU_MODE.
2329 (glyph::order): New method.
2330 (tty_printer::add_char): Use it.
2331 (tty_printer::special): New method.
2332 (tty_printer::end_page): Implement it.
2334 * src/roff/troff/node.h (special_node): Add `no_init_string' member.
2335 * src/roff/troff/node.cc (special_node::special_node): Add parameter
2336 to set `no_init_string'.
2337 (special_node::tprint_start): Use it.
2338 (special_node::same, special_node::copy): Updated.
2339 (special_node::ends_sentence): New method.
2340 (troff_output_file::start_special): Add parameter to include
2341 inititialization of special conditionally.
2343 * src/roff/troff/env.h (environment): New member `underline_spaces'.
2344 * src/roff/troff/env.cc (do_underline_special): New function.
2345 (environment::set_font): Use it.
2346 (do_underline): Use it. This was `underline()'.
2347 (underline): Call `do_underline()'.
2348 (continuous_underline): New function which calls `do_underline()'.
2349 (environment::newline): Use `do_underline_special()'.
2350 (init_env_requests): Updated.
2352 * NEWS, man/troff_out.man: Updated.
2354 2001-04-06 Bruno Haible <haible@clisp.cons.org>
2356 * font/devutf8/R.proto: Fix code of 'shc'.
2358 2001-04-06 Ruslan Ermilov <ru@freebsd.org>
2360 Many fixes. Diag lists can now be nested also; additionally,
2361 `-compact' and `-offset' are supported.
2363 * tmac/doc.tmac (doc-have-indent): Replaced with ...
2364 (doc-list-have-indent-stackXXX): A new register stack.
2365 (doc-have-diag-list): Removed.
2366 (Bl): Use `doc-list-have-indent-stackXXX'.
2368 (doc-diag-list): Use `doc-compact-list-stackXXX'.
2369 (doc-tag-list): Use `doc-list-have-indent-stackXXX'.
2370 (doc-set-vertical-and-indent): Ditto.
2371 (doc-next-list-depth): Removed.
2372 (doc-increment-list-stack): Updated.
2373 (doc-decrement-list-stack): Use `doc-list-depth' instead of
2374 `doc-next-list-depth'.
2375 (doc-end-list, doc-end-column-list): Don't use
2376 `doc-increment-list-stack'.
2377 (doc-set-column-tab): Don't use `doc-list-offset-stackXXX'.
2378 (doc-save-global-vars, doc-restore-global-vars): Updated.
2379 * tmac/doc-common: Updated.
2380 * tmac/groff_mdoc.man: Updated.
2383 2001-04-02 Werner LEMBERG <wl@gnu.org>
2385 * src/devices/grotty/grotty.man: Fix grammatical error.
2387 2001-03-30 Ruslan Ermilov <ru@freebsd.org>
2389 Remove .Ld from mdoc package; replace it with special handling of
2392 * tmac/doc-common: Remove `Ld' register.
2393 Uncomment `doc-volume-ds-*' strings.
2394 Remove `doc-operating-system-default'.
2396 * tmac/doc-syms (Ld): Removed.
2397 * tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
2401 * tmac/groff_mdoc.man: Many fixes and updates.
2403 2001-03-29 Werner LEMBERG <wl@gnu.org>
2405 * tmac/troffrc-end: Protect data with `.do'. Reported by T. Kurt
2406 Bond <tkb@tkb.mpl.com>.
2407 * tmac/www.tmac: Save compatibility mode.
2409 2001-03-28 Ruslan Ermilov <ru@freebsd.org>
2411 * tmac/groff_mdoc.man: Many fixes.
2413 2001-03-28 Werner LEMBERG <wl@gnu.org>
2415 * src/preproc/soelim/soelim.man: Document that `.<whitespace>so'
2418 2001-03-27 Werner LEMBERG <wl@gnu.org>
2420 * tmac/an-old.tmac (TP, an-do-tag): Reduce line length while in
2421 diversion. This fixes overlong tags.
2423 2001-03-26 Werner LEMBERG <wl@gnu.org>
2425 * doc/groff.texinfo: Fixed and improved documentation of fonts.
2426 * tmac/doc-syms: Fix error messages.
2427 * tmac/an-old.tmac: Remove incorrect double backslashes.
2429 2001-03-24 Ruslan Ermilov <ru@freebsd.org>
2431 * tmac/Makefile.sub: Strip mdoc.local also
2432 * tmac/strip.sed: Fixed.
2434 2001-03-24 Werner LEMBERG <wl@gnu.org>
2436 * tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
2437 selecting the font size.
2438 * tmac/groff_mdoc.man, NEWS: Document it.
2440 2001-03-23 Werner LEMBERG <wl@gnu.org>
2442 * src/roff/troff/div.cc (save_vertical_space): Add default argument
2444 * src/roff/troff/env.cc (family_change): Make `.fam' accept no
2445 argument to restore previous font family.
2446 * src/roff/troff/troff.man, man/groff.man, NEWS: Updated.
2448 * doc/groff.texinfo: More fixes and additions (mainly for font
2449 manipulating commands).
2451 * tmac/groff_mdoc.reference.man: Small updates and renamed to ...
2452 * tmac/groff_mdoc.man: This. The quick reference has been removed.
2453 * tmac/Makefile.sub, NEWS: Updated.
2455 2001-03-23 Werner LEMBERG <wl@gnu.org>
2457 Replaced mdoc implementation. The new version is `state of the
2458 art', using almost all new features of groff 1.17 -- it won't run
2459 with older versions.
2461 * tmac/doc.tmac: Completely rewritten.
2462 * tmac/doc-common: Ditto.
2463 * tmac/doc-nroff: Ditto.
2464 * tmac/doc-ditroff: Ditto.
2465 * tmac/doc-syms: Ditto.
2466 * tmac/mdoc.local: New file.
2467 * tmac/groff_mdoc.samples.man: Replaced with ...
2468 * tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
2469 * tmac/strip.sed: Updated.
2470 * tmac/Makefile.sub: Updated.
2473 * tmac/groff_man.man: Add `man.local' to the FILES section.
2475 2001-03-22 Werner LEMBERG <wl@gnu.org>
2477 * doc/groff.texinfo: Added many @noindent.
2478 Replaced @end_Example -> @endExample.
2479 Added info whether registers are r/o.
2480 Many other additions and fixes.
2482 2001-03-21 Werner LEMBERG <wl@gnu.org>
2484 * doc/groff.texinfo: Added macro @Var (and some hacks due to bugs
2485 in makeinfo of texinfo 4.0) to be used in @Def* macros.
2486 Improved @Def* macros: Now the exact syntax of request, register,
2487 and escapes is shown.
2488 Added macros for parentheses and brackets to be used in @Def*.
2489 Many fixes and improvements of the documentation.
2491 2001-03-20 Werner LEMBERG <wl@gnu.org>
2493 * doc/groff.texinfo: Added new index: `st' (for strings).
2494 Added macros @Defstr(x).
2495 Added macro @Example (adding @group).
2496 Other minor improvements.
2498 2001-03-19 Werner LEMBERG <wl@gnu.org>
2500 * doc/groff.texinfo: Added two new indices: `es' (for escapes) and
2501 `rq' for requests. `fn' is no longer used.
2502 Added macros @Defreq(x), @Defreg(x), and @Defesc(x).
2505 * tmac/an-old.tmac (an-p-footer): If `cR' is set, replace page
2506 number with name of man page.
2508 2001-03-19 Larry Kollar <kollar@alltel.net>
2510 * doc/groff.texinfo: Complete revision. Added many @Deffn to gain
2513 2001-03-19 Werner LEMBERG <wl@gnu.org>
2515 * man/groff_font.man: Document `prepro', `postpro', and `print'.
2516 * src/roff/groff/groff.man: Improve documentation of `-l' and `-L'.
2517 * src/devices/grohtml/grohtml.man: Fixing typos.
2519 2001-03-19 Gaius Mulley <gaius@glam.ac.uk>
2521 * tmac/s.tmac (@IP): Pass `.ip' html tag.
2522 * tmac/groff_mwww.man: Remove .LINE macro
2523 * tmac/www.tmac (LINE): Add `.ti'.
2525 * src/devices/grohtml/post-html.cc (html_printer): New member
2527 (html_printer::emit_raw): Use it.
2528 (html_printer::do_linelength): Ditto.
2529 (html_printer::do_pageoffset): Ditto.
2530 (html_printer::do_indentation): Ditto.
2531 (html_printer::do_tempindent): Ditto.
2532 (html_printer::do_break): Ditto.
2533 (html_printer::begin_page): Ditto.
2534 (html_printer::do_indentedparagraph): New function.
2535 (html_printer::troff_tag): Handle `.ip'.
2536 * src/devices/grohtml/html-text.cc (html_text::issue_table_begin):
2537 Add `<td width=...>' handling.
2538 (html_text::do_table): Add parameter.
2539 (html_text::do_indent): Updated.
2540 * src/devices/groohtml/html-text.h: Updated.
2542 2001-03-16 Gaius Mulley <gaius@glam.ac.uk>
2544 Introduced simple html tables to implement indentation.
2546 * src/devices/grohtml/html.h (word, word_list): New structures.
2547 (simple_output): Use it.
2548 * src/devices/grohtml/post-html.cc: Add `INDENTATION'.
2549 (html_printer): Improve indentation handling.
2550 (html_printer::emit_raw): Set `in_table' element. Handle
2552 (html_printer::write_header): Move conditional downwards.
2553 Don't allow whitespace in tags.
2554 (html_printer::do_linelength): Handle line length and indentation
2556 (html_printer::do_pageoffset): Handle indentation conditionally.
2557 (html_printer::do_indentation): Ditto.
2558 (html_printer::do_tempindent): New function member.
2559 (html_printer::do_fill): Take care of indentation.
2560 (html_printer::do_flush): Finish table.
2561 (html_printer::do_links): Ditto.
2562 (html_printer::do_break): New function for handling `.br' and `.ti'.
2563 (html_printer::troff_tag): Use it.
2565 (html_printer::flush_globs): Fix.
2566 (html_printer::flush_page): Finish table.
2567 (html_printer::html_printer): Fix error message. Set up
2569 (html_printer::add_to_sbuf): Remove special handling of character
2571 (to_unicode): Remove `stop()'.
2572 (html_printer::write_title): Cleanup.
2573 (html_printer::begin_page): Use `put_string()'. Handle indentation.
2574 (html_printer::~html_printer): Flush text and end the line.
2576 * src/devices/grohtml/html_text.h: Add more *_TAG enum values.
2577 * src/devices/grohtml/html_text.cc (html_text::end_tag): Fix
2579 (html_text::start_tag): Disable newlines.
2580 (html_text::table_is_void): New function.
2581 (html_text::issue_table_begin): Ditto.
2582 (html_text::issue_table_end): Ditto.
2583 (html_text::push_para): Better table handling.
2584 (html_text::do_indent): New function.
2585 (html_text::do_table): Ditto.
2586 (html_text::done_table): Ditto.
2587 (html_text::do_tt): Handle PRE_TAG.
2588 (html_text::is_in_table): New function.
2589 (html_text::check_emit_text): Handle tables.
2590 (html_text::do_emittext): Use `nl()'.
2591 (html_text::do_para): Handle table.
2592 (html_text::remove_def): New function.
2593 * src/devices/grohtml/output.cc (word, word_list): Implement
2595 (simple_output::end_line): Flush last word.
2596 (simple_output::simple_comment): Ditto.
2597 (simple_output::begin_comment): Recoded.
2598 (simple_output::end_comment): Ditto.
2599 (simple_output::comment_arg): Removed.
2600 (simple_output::check_newline): Improve test and flush last word.
2601 (simple_output::space_or_newline): Improved.
2602 (simple_output::write_newline): Replaced with...
2603 (simple_output::nl): This.
2604 (simple_output::put_raw_char): Flush last word.
2605 (simple_output::check_space): Removed.
2606 (simple_output::put_translated_string): Ditto.
2607 (simple_output::put_string): Simplified.
2608 (simple_output::put_number): Updated.
2609 (simple_output::put_float): Ditto.
2610 (simple_output::put_symbol): Removed.
2611 (simple_output::enable_newlines): Add `check_newline()'.
2612 (simple_output::flush_last_word): New function.
2614 * src/roff/troff/enc.cc (no_fill): Remove call to add_html_tag().
2615 * src/roff/troff/div.cc (page_offset): Add call to add_html_tag().
2617 * tmac/s.tmac (@PP, @IP): Add html conditional code.
2618 * tmac/an-old.tmac (TP): Ditto.
2620 2001-03-09 Ruslan Ermilov <ru@freebsd.org>
2622 * mdate.sh: Make it POSIX compliant.
2624 2001-03-09 Werner LEMBERG <wl@gnu.org>
2626 Added the `return' request to end a macro immediately. It simply
2627 pops iterators from the input stack until a macro iterator is found.
2629 * src/roff/troff/input.cc (input_iterator::is_macro,
2630 macro_iterator::is_macro): New member.
2631 (input_return_boundary): New class to signal an immediate return
2633 (input_stack::add_return_boundary, input_stack::is_return_boundary):
2635 (input_stack::clear): Use it.
2636 (input_stack::pop_macro): New function.
2637 (while_request): Use `is_return_boundary()'.
2638 (return_macro_request): New function.
2639 (init_input_requests): Use it.
2641 * src/roff/troff/TODO: Updated.
2642 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
2644 2001-03-08 Werner LEMBERG <wl@gnu.org>
2646 * src/roff/troff/input.cc (input_iterator::is_boundary): Minor
2649 2001-03-07 Werner LEMBERG <wl@gnu.org>
2651 Make `\B' more rigid.
2653 * src/roff/troff/number.cc (parse_expr, parse_term): Add `rigid'
2655 (get_number_rigidly): New function.
2656 * src/roff/troff/input.cc (do_expr_test): Use it.
2657 * src/roff/troff/token.h: Updated.
2659 * src/roff/troff/request.h: Fix typo (init_html_request ->
2660 init_markup_request).
2662 2001-03-04 Gaius Mulley <gaius@glam.ac.uk>
2664 Fixed grohtml handling of any named glyph for glyph indexes < 0x80.
2665 Cosmetic changes to `.html-begin', `.html-end', `.html-image' which
2666 are now `.begin', `.end', `.image'.
2668 * src/devices/grohtml/post-html.cc: Adding UNICODE_DESC_START.
2669 (html_printer::add_to_sbuf): Changing type of `code' parameter.
2670 Use add_char_to_sbuf().
2671 (to_unicode): New function.
2672 (char_translate_to_html): Changing type of `ch' parameter.
2674 (html_printer::~html_printer): Comment out doctype string.
2675 * src/preproc/html/pre-html.cc (write_end_image): Use `.end'
2676 instead of `.html-end'.
2677 (write_start_image): Use `.begin' and `.image' instead of
2678 `.html-begin' and `.html-image'.
2679 * src/roff/troff/input.cc: Rename `html_level' to `begin_level'.
2680 (html_begin): Renamed to ...
2682 (html_end): Renamed to ...
2684 (html_image): Renamed to ...
2686 (init_html_requests): Renamed to ...
2687 (init_markup_requests): This.
2688 * tmac/www.tmac: Updated.
2690 2001-02-28 Bram <bram@avontuur.org>
2692 * src/libs/libgroff/font.cc (font_widths_cache): Fixing syntax of
2695 2001-02-26 David Leonard <david.leonard@csee.uq.edu.au>
2697 * doc/meref.me: Fixing some typos.
2699 2001-02-16 Werner LEMBERG <wl@gnu.org>
2701 * src/roff/troff/node.cc (space_node::get_hyphenation_type): New
2702 method. Return `HYPHEN_MIDDLE' if it was `\:'.
2703 * src/roff/troff/node.h: Updated.
2705 2001-02-17 Ruslan Ermilov <ru@FreeBSD.org>
2707 * tmac/groff_tmac.man: Fix typo.
2709 2001-02-16 Werner LEMBERG <wl@gnu.org>
2711 Fixing a bug which prevented proper end-of-sentence recognition
2712 between an `unformatted' box and the following text. As a
2713 consequence, vertical line distances are no longer preserved in
2714 boxes after a call to `.unformat' -- because boxes aren't
2715 line-oriented (contrary to diversions), this doesn't make sense
2718 * src/roff/troff/node.cc (*node::set_unformat_flag): Add return
2720 (vertical_size_node::set_unformat_flag): New method.
2721 * src/roff/troff/node.hh: Updated.
2722 * src/roff/troff/input.cc (word_space_node::reread,
2723 hmotion_node::reread): Reset `unformat' flag after usage.
2724 (unformat_macro): Append only if `set_unformat_flag()' returns
2726 * src/roff/troff/troff.man: Updated.
2728 2001-02-15 Werner LEMBERG <wl@gnu.org>
2730 * src/roff/troff/troff.man, NEWS, man/groff.man: Improved
2731 documentation of `asciify' and `unformat' requests.
2733 2001-02-13 Werner LEMBERG <wl@gnu.org>
2735 Redesigned the `unformat' request. It is no longer connected with
2736 `asciify' but rather uses new `reread()' methods if the `unformat'
2737 flag is set. Additionally, the handling of space characters after
2738 unformatting has been fixed so that they retain their width.
2740 * src/roff/troff/node.h (width_list): New structure to store
2741 original widths of spaces.
2742 (node): Added `unformat' member.
2743 Replaced `num_spaces' variable with `orig_width' list.
2744 * src/roff/troff/node.cc (*node::asciify,
2745 asciify_reverse_node_list): Removed `unformat_only' flag and related
2747 (word_space_node::asciify, word_space_node::word_space_node): Use
2749 (word_space_node::~word_space_node): New destructor.
2750 (word_space_node::copy): Updated to handle `orig_width'.
2751 (hmotion_node::copy, unbreakable_space_node::copy): Updated.
2752 (*node::merge_space): Update `orig_width' list if necessary.
2753 (*node::set_unformat_flag): New methods to set the `unformat' flag.
2754 * src/roff/troff/enc.cc (environment::space_newline): Use
2756 (environment::space): Added method to handle space width and
2757 sentence space width as parameters. Use `width_list'.
2758 (environment::make_tab_node): Updated.
2759 * src/roff/troff/env.h: Updated.
2760 * src/roff/troff/input.cc (word_space_node::reread,
2761 unbreakable_space_node::reread, hmotion_node::reread): New methods
2762 to handle nodes specially if `unformat' flag is set.
2763 (do_asciify_macro): Renamed back to ...
2764 (asciify_macro): This.
2765 (unformat_macro): New implementation to simply set the `unformat'
2768 * MORE.STUFF: Added more info about deroff.
2770 2001-02-08 Werner LEMBERG <wl@gnu.org>
2772 * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
2773 space_char_hmotion_node, overstrike_node): Add `get_hyphen_list()'
2774 and `add_self()' methods to avoid hyphenation. For example, the
2775 hyphen list for `foo\0\0bar' was `foobar', causing insertion of a
2776 soft hyphen after `foo'. Now the hyphen list is correctly
2777 `foo<ignore><ignore>bar'.
2779 2001-02-05 Yoshiteru Kageyama <yt-kage@cb3.so-net.ne.jp>
2781 * tmac/groff_tmac.man: Fix `BIR' macro.
2783 2001-02-04 Werner LEMBERG <wl@gnu.org>
2785 A new escape sequence `\:', inserting a zero-width break point.
2787 * src/roff/troff/input.h: Adding `ESCAPE_COLON'.
2788 * src/roff/troff/input.cc (get_copy, token::next, asciify):
2790 * src/roff/troff/node.h (node): Add `is_escape_colon()' virtual
2792 (space_node): Add `was_escape_colon' member. Add `is_escape_colon()'
2793 and `asciify()' methods.
2794 * src/roff/troff/node.cc (space_node::space_node): Updated.
2795 (space_node::asciify): Handle `was_escape_colon'.
2796 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
2798 Handle `\~' similar to other comparable requests.
2800 * src/roff/troff/input.cc (process_input_stack): Remove now obsolete
2802 (token::next): Move creation of an unbreakable_space_node to...
2803 (token::add_to_node_list): Here.
2805 Fix a bug which sometimes prevented hyphenation of words connected
2806 with `\~' or `\ ' (and other escape sequences handled as
2807 TOKEN_NODE). This also fixes a hyphenation problem with boxes
2808 (after a call to the `unformat' request).
2810 * src/roff/troff/env.h (environment::possibly_break_line,
2811 environment::hyphenate_line): Introducing `start_here' parameter.
2812 * src/roff/troff/env.cc (environment::space_newline,
2813 environment::space): Use it.
2814 (environment::possibly_break_line, environment::hyphenate_line):
2816 * src/roff/troff/input.cc (process_input_stack): Use it.
2817 * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
2818 space_char_hmotion_node, overstrike_node): Add
2819 `get_hyphenation_type()' method.
2820 * src/roff/troff/node.cc (break_char_node::asciify): Don't asciify
2821 if `unformat_only' is active.
2823 2001-01-30 Werner LEMBERG <wl@gnu.org>
2825 Implemented new read-only number register `.linetabs' which
2826 returns 1 if in line-tabs mode, 0 otherwise.
2828 * src/roff/troff/env.h (environment): Add get_line_tabs() member.
2829 * src/roff/troff/env.cc (get_line_tabs): New function.
2830 (init_env_requests): Use it.
2831 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
2833 * VERSION, REVISION: Changing to 1.17.0.
2835 2001-01-28 Werner LEMBERG <wl@gnu.org>
2837 Fixed a bug which prevented hyphenation of words which are finished
2840 * src/roff/troff/token.h (token): Add enum type
2841 `TOKEN_TRANSPARENT_DUMMY' and method `transparent_dummy()'.
2842 * src/roff/troff/input.cc (token::next, token::description,
2843 get_line_arg, token::add_to_node_list, token::process): Use it.
2845 2001-01-27 Werner LEMBERG <wl@gnu.org>
2847 * src/roff/troff/div.h (diversion): Add `saved_prev_line_interrupted'.
2848 * src/roff/troff/div.cc (do_divert): Use it.
2850 * src/roff/troff/input.cc (asciify): Add ESCAPE_RIGHT_PARENTHESIS.
2852 2001-01-25 Werner LEMBERG <wl@gnu.org>
2854 Adding the `linetabs' request. If set, tab distances are not
2855 computed relative to the input line but relative to the output line.
2857 * src/roff/troff/env.h (environment): New member `line_tabs'.
2858 * src/roff/troff/env.cc (line_tabs_request): Implement request.
2859 (environment::environment, environment::copy): Updated.
2860 (environment::distance_to_next_tab): Use `line_tabs'.
2861 (init_env_requests): Register request.
2862 * src/roff/troff/troff.man, man/groff.man, NEWS: Document it. Other
2865 2001-01-24 Werner LEMBERG <wl@gnu.org>
2867 Introducing a new read-only register `.int' which is set to a
2868 positive value if the last output line is interrupted (i.e., if it
2871 * src/roff/troff/env.cc (init_env_requests): Add it.
2872 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
2874 2001-01-23 Gaius Mulley <gaius@glam.ac.uk>
2876 * tmac/mwww.tmac: Call `www.tmac', not `arkup.tmac'.
2877 * src/preproc/html/pre-html.cc (findPrefix): New function which
2878 generates the troff executable name via the system prefix.
2879 * src/preproc/eqn/main.cc: Modified warning message.
2881 2001-01-23 Werner LEMBERG <wl@gnu.org>
2883 troff's `box' and `boxa' requests didn't preserve temporary
2886 * src/roff/troff/div.h (diversion): Add `saved_saved_indent' and
2887 `saved_target_text_length' members.
2888 * src/roff/troff/div.cc (do_divert): Use them.
2890 Tabs (but not yet leaders and fields) are now handled correctly by
2893 * node.h (hmotion_node): Add field `was_tab'.
2894 * env.cc (environment::make_tab_node): Set it.
2895 * node.cc (hmotion_node::copy, hmotion_node::asciify): Use it.
2897 Added new request `unformat' which will, contrary to `asciify',
2898 preserve font information after unformatting (i.e., only nodes
2899 dealing with horizontal space are converted back to input
2902 * input.cc (asciify_macro): Renamed to ...
2903 (do_asciify_macro): this, having a new parameter `unformat_only'.
2904 (asciify_macro, unformat_macro): New; using do_asciify_macro.
2905 (init_input_requests): Added `unformat'.
2906 * node.cc (*_node::asciify), asciify_reverse_node_list: Added
2907 parameter to control asciification process.
2908 * node.h (*_node::asciify): Ditto.
2909 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
2911 2001-01-20 Werner LEMBERG <wl@gnu.org>
2913 * doc/groff.texinfo: Minor improvement of `.in' documentation.
2915 2001-01-18 Werner LEMBERG <wl@gnu.org>
2917 * tmac/ps.tmac: Remove call of psold.tmac.
2918 * tmac/psold.tmac: Comment updated.
2919 * tmac/psnew.tmac: Removed since no longer needed.
2920 * tmac/Makefile.sub, NEWS, src/devices/grops/grops.man: Updated.
2922 * font/devutf8/R.proto: Adding `shc' glyph.
2923 * font/devutf8/NOTES: Updated.
2925 * test-groff: Updated.
2927 2001-01-15 Gaius Mulley <gaius@glam.ac.uk>
2929 First cut of the new html device driver. Changes to pre-html and
2930 the new grohtml are too numerous to be documented here.
2932 Stuff related to `html' has been renamed to `html-old' and `html2'
2933 stuff has been renamed to `html' (including directories). The new
2934 html device driver is therefore invoked as `-Thtml'.
2936 Added new `\O' escape to suppress output (needed by html driver).
2938 Added functions and code to pass info about input-level commands
2939 (`.in', `.fl', etc.) to html driver.
2941 Three new functions (.html-begin, .html-end, and .html-image) for
2942 better html handling: `html-begin' will execute the remaining line
2943 if at the outermost nesting level, increasing an internal counter.
2944 `html-end' does the same but decreases the internal counter.
2945 `html_image' puts its arguments into a special node (suppress_node)
2946 to define an image region.
2948 The `output' request has been removed.
2950 * tmac/html-tags.tmac: Removed.
2951 * tmac/arkup.tmac: Updated and renamed to ...
2952 * tmac/www.tmac: New file.
2953 * tmac/markup.tmac Updated and renamed to ...
2954 * tmac/mwww.tmac: New file.
2955 * tmac/Makefile.sub: Updated.
2956 * tmac/an-old.tmac: Updated.
2957 * tmac/eqnrc: Updated.
2958 * tmac/groff_man.man
2959 * tmac/groff_markup.man: Updated and renamed to ...
2960 * tmac/groff_mwww.man: New file.
2961 * tmac/groff_tmac.man: Updated.
2962 * tmac/html-old.tmac: Updated and Renamed from html.tmac.
2963 * tmac/html.tmac: Updated and renamed from html2.tmac.
2964 * tmac/pspic.tmac: Updated html support.
2965 * tmac/s.tmac: Added html output support.
2966 * tmac/troffrc, tmac/troffrc-end: Updated.
2968 * Makefile.in, doc/Makefile: Updated.
2969 * doc/groff.texinfo: Added info about new `\O' escape.
2970 * doc/homepage.ms: Use `MAILTO' macro.
2972 * font/devhtml/DESC.proto: Add `C' font.
2973 * font/devhtml/Makefile.sub: Updated.
2974 * font/devhtml/R.proto: Minor fixes.
2975 * font/devhtml-old/Makefile.sub: Updated.
2977 * src/devices/grohtml-old/Makefile.sub: Updated.
2979 * src/libs/libdriver/printer.cc (printer::get_font_from_index): New
2981 * src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
2982 graphic_start): Add `inline' parameter. Update.
2983 (html_end_suppress, graphic_end): Update.
2985 * src/include/html-strings.h: New file.
2986 * src/include/htmlindicate.h: Comments updated.
2987 * src/include/printer.h: Updated.
2989 * src/preproc/eqn/main.cc (do_file, main): Updated.
2990 * src/preproc/pic/troff.cc (troff_output::start_picture,
2991 troff_output::finish_picture): Updated.
2992 * src/preproc/tbl/main.cc (process_input_file): Updated.
2994 * src/roff/groff/groff.cc (main): Updated.
2995 Pass device arguments to predrivers also.
2996 Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
2997 * src/roff/troff/env.h (environment): Updated.
2998 New elements `need_eol' and `ignore_next_eol' (for html output).
2999 * src/roff/troff/env.cc (environment::environment): Add initializers
3000 for `need_eol' and `ignore_next_eol'.
3001 (environment::add_html_tag_eol, environment::add_html_tag_tabs): New
3003 (point_size, fill, no_fill, center, right_justify, line_length,
3004 indent, temporary_indent, break_request, handle_tab): Use
3006 (set_tabs): Use `add_html_tag_tabs()'.
3007 (environment::add_html_tag): Updated.
3008 (environment::do_break): Updated.
3009 * src/roff/troff/div.cc (space_request, flush_output): Use
3010 `environment::add_html_tag()'.
3011 * src/roff/troff/input.cc: Updated.
3012 New variable `html_level' to indicate nested `html-begin' requests.
3013 (file_iterator::fill): Use `environment::add_html_tag_eol()'.
3014 (non_interpreted_char_node, token_node, non_interpreted_node): Add
3015 `force_tprint()' method.
3016 (token::next): Handle `\O'.
3017 (do_suppress): Implement it.
3018 (html_begin, html_end, html_image): New functions.
3019 (init_output_requests): Renamed to ...
3020 (init_html_requests): this.
3022 (macro::append_str, macro::append_unsigned, macro::append_int): New
3024 New variable `output_low_mark_miny' to limit minimal value of y.
3025 (reset_output_registers): Use it.
3026 (output_request): Removed.
3027 (get_output_registers): New function.
3028 * src/roff/troff/node.h (node): Make `force_tprint()' virtual.
3029 (*_node): Added `force_tprint()' if necessary.
3030 (special_node): New elements `tf' and `get_tfont()'.
3031 (suppress_node): New class.
3032 * src/roff/troff/node.cc:
3033 New global variables `image_no' and `suppress_start_page'.
3034 (real_output_file): New method `is_on()'.
3035 (troff_output_file): New method `start_special(tfont)'.
3036 (troff_output_file::really_print_line): Use `tprint' conditionally.
3037 (real_output_file::print_line): Updated.
3038 (real_output_file::on): Updated.
3039 (*_node): Added `force_tprint()'.
3040 (special_node::special_node): Initializer updated.
3041 (special_node::same, special_node::copy, special_node::tprint_start):
3043 (get_reg_int, get_reg_str): New functions.
3044 (suppress_node::*): New methods.
3045 New global variables last_position, last_image_filename;
3046 (min): New inline function.
3047 * src/roff/troff/reg.h, src/roff/troff/request.h,
3048 src/roff/troff/troff.h: Updated.
3050 2001-01-13 Werner LEMBERG <wl@gnu.org>
3052 * NEWS, src/roff/troff/troff.man, doc/groff.texinfo: Fix
3053 documentation of `asciify' request.
3055 2001-01-12 Werner LEMBERG <wl@gnu.org>
3057 * src/roff/troff/input.cc: Move definition of special characters
3058 like `ESCAPE_TILDE' to ...
3059 * src/roff/troff/input.h: New file.
3060 * src/roff/troff/Makefile.sub (HDRS): Add it.
3062 Extending the .asciify request to `unformat' space characters also.
3064 * src/roff/troff/node.h (word_space_node): Add `num_spaces' element
3065 to count input space characters.
3066 Update constructors to take care of it.
3067 * src/roff/troff/node.cc (space_char_hmotion_node::asciify): Use
3068 `ESCAPE_SPACE' instead of normal space.
3069 (word_space_node::asciify): New method.
3070 (unbreakable_space_node::asciify): New method.
3071 (word_space_node::merge_space): New method.
3072 * src/roff/troff/env.cc (environment::space_newline,
3073 environment::space): Add code to initialize `num_spaces' (using the
3074 constructor of `word_space_node').
3075 * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
3078 2001-01-09 Werner LEMBERG <wl@gnu.org>
3080 * man/groff_char.man: Use table header traps only conditionally.
3082 2001-01-09 Bjarni Ingi Gíslason <bjarniig@hi.is>
3084 * man/groff_char.man: Add `ý' and `Ý' to the `acute' group.
3086 2001-01-08 Werner LEMBERG <wl@gnu.org>
3088 Introducing the `box' and `boxa' requests which are similar to
3089 `di' resp. `da' but omitting a partially filled line (which is
3090 restored after ending the diversion).
3092 * src/roff/troff/div.h (diversion): Add elements to save partially
3094 * src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save
3095 partially filled line.
3096 (divert, divert_append): Updated.
3097 (box, box_append): New functions.
3098 (init_div_requests): Use them.
3099 * src/roff/troff/env.h (environment): do_divert() is now a friend.
3100 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
3102 * doc/groff.texinfo: Fix documentation of `lf' request.
3104 2000-12-25 Werner LEMBERG <wl@gnu.org>
3106 * src/roff/troff/troff.man, NEWS: Document `writem' request.
3108 2000-12-21 Werner LEMBERG <wl@gnu.org>
3110 Ignore `ss' request if in compatibility mode.
3112 * src/roff/troff/input.cc: Make `compatible_flag' non-static.
3113 * src/roff/troff/env.h: Added extern `compatible_flag' declaration.
3114 * src/roff/troff/env.cc (space_size): Use it.
3116 * doc/groff.texinfo, src/roff/troff/troff.man: Fix documentation of
3117 `ss' request in nroff mode.
3119 * tmac/an-old.tmac: Fixed some serious bugs introduced with latest
3122 2000-12-15 Ruslan Ermilov <ru@FreeBSD.org>
3124 * tmac/troffrc, tmac/troffrc-end: Convert tmac.* to *.tmac.
3126 2000-12-13 Werner LEMBERG <wl@gnu.org>
3128 * src/preproc/eqn/Makefile.sub (MAN1): Added neqn.man.
3129 * src/preproc/eqn/neqn.man: Small fixes and additions.
3131 2000-12-13 Ruslan Ermilov <ru@FreeBSD.org>
3133 * src/utils/addftinfo/addftinfo.man, src/devices/grops/grops.man:
3136 * src/preproc/eqn/neqn.man: New file.
3138 * src/preproc/tbl/table.cc (table::print): Fix `indent cannot be
3141 * tmac/e.tmac: Add `T&' macro.
3142 Fix `indent cannot be negative' warning.
3143 * tmac/s.tmac: Fix `indent cannot be negative' warning.
3145 2000-12-07 Werner LEMBERG <wl@gnu.org>
3147 * src/include/lib.h: Replaced __ALPHA with __alpha symbol.
3149 2000-12-06 Werner LEMBERG <wl@gnu.org>
3151 * PROBLEMS: Added info about adding -lPW on HP-UX to satisfy the
3154 * MORE.STUFF: Added info about deroff for djgpp.
3156 * tmac/an-old.tmac, tmac/groff_man.man, doc/groff.texinfo, NEWS: Fix
3157 documentation of -rcR switch.
3159 2000-12-03 Werner LEMBERG <wl@gnu.org>
3161 * tmac/an-old.tmac: Implementing the -rcR switch (similar to mdoc);
3162 if -rcR=1 (which is now the default in nroff mode), a single, very
3163 long page is created instead of multiple pages: All `ne' and `wh'
3164 requests are put into conditionals; a new macro `an-end' is added to
3165 be called with `em'.
3167 Some other minor cleanups.
3169 * NEWS, tmac/groff_man.man, doc/groff.texinfo: Updated.
3171 2000-12-02 Werner LEMBERG <wl@gnu.org>
3173 Fixing a bug which prevented hyphenation in words followed
3174 immediately by a TOKEN_NODE (e.g. `\ ', `\~', etc.).
3176 * src/roff/troff/input.cc (process_input_stack <token::TOKEN_NODE>):
3177 Adding possibly_break_line().
3178 * src/roff/troff/env.h (environment): Make possibly_break_line()
3181 Make `\~' usable in .tr request.
3183 * src/roff/troff/token.h (token_type): Add TOKEN_STRETCHABLE_SPACE.
3184 (token): Add stretchable_space().
3185 * src/roff/troff/input.cc (token::next, token::delimiter,
3186 token::description, process_input_stack, do_translate,
3187 add_to_node_list, token::process): Use it.
3188 * src/roff/troff/node.h (node): Add fourth parameter to add_char()
3189 for adjusting the space.
3190 * src/roff/troff/node.cc (node::add_char): Implement it. Add code
3191 for stretchable space.
3192 * src/roff/troff/input.cc (token::add_to_node_list): Use it.
3193 (make_node): Add code for stretchable space.
3194 * src/roff/troff/env.cc (environment::add_char): Use it.
3195 * src/roff/troff/input.cc: Add ESCAPE_TILDE special character.
3196 (get_copy, token::next, transparent_translate, asciify): Use it.
3198 * NEWS, src/roff/troff/troff.man, src/roff/troff/TODO,
3199 doc/groff.texinfo: Updated.
3200 * man/groff.man: Small reorderings.
3202 2000-11-23 Werner LEMBERG <wl@gnu.org>
3205 * src/preproc/eqn/main.cc (main): Use `config_macro_path' for -M
3207 * src/roff/troff/input.cc (main): Add `config_macro_path' and
3208 `safer_macro_path' to -M option.
3209 * src/roff/troff/troff.man: Fixes.
3211 2000-11-22 Werner LEMBERG <wl@gnu.org>
3213 Use safer path (except for config files) if -U isn't specified. Add
3214 a special macro path (without home and current directory) for config
3215 files. Add home directory to unsafe path for consistency. Don't
3216 include the home directory in the font path.
3218 * src/libs/libgroff/macropath.cc: Add `config_macro_path', change
3220 * src/include/macropath.h: Add `config_macrp_path'.
3221 * src/libs/libgroff/fontfile.cc: Fix font path.
3222 * src/roff/troff/input.cc (process_startup_file): Use
3223 `config_macro_path'.
3224 (main): Select unsafe path if -U is given.
3226 * src/preproc/eqn/main.cc (main): Fixing search path for
3228 * src/preproc/eqn/eqn.man: Updated.
3230 * src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
3233 * src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
3234 src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
3235 src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
3236 src/devices/grotty/grotty.man: Updated.
3238 * Makefile.in: Fix comments.
3240 2000-11-17 Werner LEMBERG <wl@gnu.org>
3242 * tmac/safer.tmac: Empty file added (again) for compatibility
3244 * tmac/Makefile.sub: Updated.
3246 2000-11-16 Werner LEMBERG <wl@gnu.org>
3248 * src/devices/grodvi/dvi.cc (main),
3249 src/devices/grohtml2/post-html.cc (main),
3250 src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
3251 (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
3252 (main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
3253 (main), src/preproc/html2/pre-html.cc (main),
3254 src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
3255 src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
3256 (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
3257 (main), src/utils/hpftodit/hpftodit.cc (main),
3258 src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc
3259 (main), src/utils/lookbib/lookbib.cc (main),
3260 src/utils/pfbtops/pfbtops.c (main), src/utils/tfmtodit/tfmtodit.cc
3261 (main): Use stdout for -v.
3262 * src/roff/groff/groff.cc (run_commands),
3263 src/roff/groff/pipeline.c (run_pipeline): New parameter `no_pipe'
3264 to make direct printing to stdout possible.
3265 * src/roff/groff/pipeline.h: Updated.
3267 * src/utils/afmtodit/afmtodit.pl: Add -v switch.
3268 * src/utils/afmtodit/Makefile.sub (afmtodit): Use @VERSION@.
3269 * src/utils/afmtodit/afmtodit.man: Updated.
3271 * src/utils/addftinfo/addftinfo.cc (main): Add -v switch.
3272 (version): New function.
3274 * src/utils/addftinfo/addftinfo.man: Updated.
3276 * src/devices/*/*, src/preproc/*/*, src/roff/*/*, src/utils/*/*:
3277 Fixing copyright dates.
3279 * src/preproc/eqn/neqn.sh: Adding GROFF_BIN_PATH to path instead of
3282 * src/devices/grolbp/lbp.cc (main): Use Version_string instead of
3285 * src/roff/nroff/Makefile.sub (nroff): Fix use of @VERSION@.
3287 2000-11-15 Werner LEMBERG <wl@gnu.org>
3289 In all programs, make -v return immediately with exit status 0 to
3290 be compliant with the GNU standard.
3292 * src/devices/grodvi/dvi.cc (main),
3293 src/devices/grohtml2/post-html.cc (main),
3294 src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
3295 (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
3296 (main) src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
3297 (main), src/preproc/html2/pre-html.cc (main),
3298 src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
3299 src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
3300 (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
3301 (main): Implement it.
3304 * src/roff/groff/groff.cc (main): Add copyright notice. Add refer
3305 and postprocessors to the -v option.
3307 * src/roff/grog/grog.pl: Implement -v.
3308 * src/roff/grog/Makefile.sub (grog): Use @VERSION@.
3309 * src/roff/grog/grog.man, doc/groff.texinfo: Updated.
3311 * src/roff/nroff/nroff.sh: Implement -v.
3312 * src/roff/nroff/Makefile.sub (nroff): Use @VERSION@.
3313 * src/roff/nroff/nroff.man: Updated.
3315 * src/preproc/eqn/main.cc (main): Fix comment typo.
3317 * MORE.STUFF: Added info about djgpp port of grap.
3319 2000-11-14 Werner LEMBERG <wl@gnu.org>
3321 * src/roff/grog/grog.{pl,sh}: Implemented -C switch for compatibility
3322 mode (or rather, implemented non-compatibility mode).
3323 * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
3325 * src/roff/groff/groff.cc (main): Add BIN_PATH to PATH instead of
3326 replacing it -- we don't find gxditview otherwise.
3327 * NEWS, src/roff/groff/groff.man, doc/groff.texinfo: Updated.
3329 * src/preproc/pic/depend: Removed. Unnecessary.
3331 Implemented dummy keyword `solid' in pic for compatibility with
3334 * lex.cc (lookup_keyword): Added `solid'.
3335 * pic.y: Added SOLID with dummy rule.
3336 * pic.cc, pic_tab.h: Regenerated.
3337 * doc/pic.ms: Updated.
3339 2000-11-13 Werner LEMBERG <wl@gnu.org>
3341 For security reasons, don't use the current directory but the home
3342 directory while searching and scanning troffrc and troffrc-end.
3343 Similarly, replace the current directory with the home directory
3346 * Makefile.in (fontpath, tmacpath): Remove current directory.
3348 * src/libs/libgroff/searchpath.cc (search_path::search_path): Add
3349 two parameters `add_home' and `add_current'.
3350 (search_path::~search_path, search_path::command_line_dir,
3351 search_path::open_file): Remove tests for `dirs' being zero.
3352 * src/include/searchpath.h: Adjust.
3353 * src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
3355 * src/libs/libgroff/fontfile.cc: Adjust `font_path'.
3357 * src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
3358 * src/roff/troff/input.cc: Use `mac_path', initialized with
3360 (process_startup_file): Set `mac_path' to `safer_macro_path'.
3361 * src/roff/troff/env.cc: Use `mac_path'.
3363 * src/preproc/eqn/main.cc (main): Use `safer_macro_path'.
3365 * NEWS, man/roff.man, src/roff/troff/troff.man,
3366 src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
3369 2000-11-12 Werner LEMBERG <wl@gnu.org>
3371 * src/include/lib.h: Don't include groff-getopt.h for OSF/1.
3373 * aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
3374 * configure.in: Fix typo in comment.
3375 * configure: Regenerated.
3377 * src/libs/libgroff/*, src/include/*, src/roff/troff/*: Fixing
3380 2000-11-08 Werner LEMBERG <wl@gnu.org>
3382 Add system tmac directory (/usr/local/lib/groff/site-tmac).
3384 * Makefile.in: Add $(libdir), $(libprogramdir), and $(systemtmacdir).
3385 (uninstall_dirs): Add $(libdir), $(libprogramdir), and
3388 * Makefile.comm (.man.n): Add @SYSTEMMACRODIR@.
3389 * tmac/Makefile.sub (install_data): Create
3390 $(systemtmacdir) and $(localtmacdir).
3391 (uninstall_sub): Use $(systemtmacdir) for wrapper macros.
3392 * man/roff.man, src/roff/troff/troff.man, src/roff/groff/groff.man,
3393 NEWS, doc/groff.texinfo: Updated and minor fixes.
3395 * Makefile.comm, Makefile.in: Added tmac_{s,an}_prefix stuff again.
3396 * tmac/Makefile.sub: Added `wrap' stuff again, but installing into
3397 $(systemtmacdir) since the wrapper files are platform-dependent.
3399 2000-11-01 Werner LEMBERG <wl@gnu.org>
3401 * doc/groff.texinfo: Fix typo.
3403 2000-10-26 Werner LEMBERG <wl@gnu.org>
3405 Convert macros `tmac.XXX' to `XXX.tmac'. Special cases:
3406 tmac.doc.old -> doc-old.tmac
3407 tmac.an.old -> an-old.tmac
3409 * tmac/tmac.*: Moved to ...
3410 * tmac/*.tmac: this.
3411 * tmac/man.local: Fix comment.
3412 * tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man,
3413 tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated.
3414 Added some `FILES' sections. More use of @...@ directives. Other
3416 * arch/djgpp/README, font/devutf8/NOTES: Updated.
3417 * doc/homepage.ms, doc/groff.texinfo: Updated.
3418 * man/groff.man, man/roff.man: Updated.
3419 * src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man,
3420 src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
3421 src/devices/grotty/grotty.man: Updated.
3422 * src/preproc/pic/pic.man: Updated.
3423 * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old
3424 instead of -mdoc.old.
3425 * src/roff/grog/grog.man: Document -mdoc and -mdoc-old.
3426 * src/roff/nroff/nroff.man: Updated.
3429 * tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment.
3431 * tmac/mm.diff: Removed -- it has no use now since the mm package
3434 * tmac/*: Removed trailing spaces.
3436 * arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in
3437 the tmac subdirectory also).
3439 * Makefile.comm, Makefile.in: Remove tmac_{s,an}_prefix stuff.
3440 * tmac/Makefile.sub: Adapted to new macro names; removed `wrap'
3441 stuff since it is no longer needed.
3443 * README, PROBLEMS: Updated.
3445 2000-10-25 Werner LEMBERG <wl@gnu.org>
3447 Invert current behaviour: Search first FOOBAR.tmac, then
3450 * src/roff/troff/input.cc: Introduce MACRO_POSTFIX.
3451 (open_mac_file, macro_source): Implement it.
3452 * src/roff/troff/troff.man, tmac/groff_tmac.man, man/roff.man,
3453 doc/groff.texinfo, NEWS: Document it.
3455 * src/roff/nroff/nroff.man, src/roff/groff/groff.man, man/groff.man:
3456 Small documentation improvements.
3458 * test-groff: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac
3461 * font/devps/Makefile.sub: Fix rules for dingbats.*map.
3463 2000-10-24 Werner LEMBERG <wl@gnu.org>
3465 Add local tmac directory (groff/site-tmac).
3467 * Makefile.in: Add $(localtmacdir).
3468 (uninstall_dirs): Add $(localtmacdir).
3469 * Makefile.comm (.man.n): Add @LOCALMACRODIR@.
3470 * tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local
3471 in $(localtmacdir). Create $(localtmacdir).
3472 * man/roff.man, src/roff/troff/troff.man, NEWS, doc/groff.texinfo:
3473 Updated and minor fixes.
3475 Rename font/devps/generate/dingbats[r]map to dingbats.[r]map.
3477 * font/devps/generate/Makefile.sub, arch/djgpp/README: Adjust.
3479 2000-10-23 Werner LEMBERG <wl@gnu.org>
3481 Move hyphen.us to tmac directory.
3483 * src/roff/troff/hyphen.us: Removed.
3484 * src/tmac/hyphen.us: Added.
3485 * src/roff/troff/Makefile.sub, tmac/Makefile.sub: Updated.
3487 Change installation structure for data files from .../groff/... to
3488 .../groff/<version><revision>/... to be conform with other GNU
3491 * Makefile.in, Makefile.comm, src/utils/indxbib/Makefile.sub,
3492 doc/Makefile: Implement it.
3493 * aclocal.m4 (GROFF_PAGE): Add test for new directory structure.
3494 * configure: Updated.
3495 * arch/djgpp/README, font/devutf8/NOTES: Use it.
3496 * NEWS: Document it.
3497 * man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and
3498 @MACRODIR@ instead of hard-coded directories.
3500 2000-10-22 Werner LEMBERG <wl@gnu.org>
3502 Implement $GROFF_BIN_PATH environment variable (which defaults to
3503 $bindir) used for child programs of groff and similar wrappers.
3505 * gendefs.sh: Improve documentation.
3506 * Makefile.comm (,man.n), src/include/Makefile.sub (defs.h),
3507 src/preproc/eqn/Makefile.sub (neqn),
3508 src/roff/nroff/Makefile.sub (nroff): Add $(bindir).
3509 * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Implement
3511 * src/roff/groff/groff.cc (main): Implement $GROFF_BIN_PATH and
3512 $GROFF_PATH__ (the latter for communication with troff).
3513 * src/roff/troff/input.cc (main): Use $GROFF_PATH__ for $PATH if
3515 * NEWS, src/roff/nroff/nroff.man, src/roff/groff/groff.man,
3516 doc/groff.texinfo: Document it.
3518 * doc/groff.texinfo: Improve documentation of troff's -a option.
3520 2000-10-17 Gaius Mulley <gaius@glam.ac.uk>
3522 * src/roff/troff/node.cc: Fixed calculation of opminx and fixed
3523 non-intrusive eol marker.
3524 (troff_output_file::determine_line_limits): New function.
3525 (troff_output_file::draw): Use it.
3526 * src/roff/troff/env.cc (environment::add_html_tag): Use output() +
3527 output_pending_lines() instead of output_line().
3528 * src/preproc/eqn/main.cc (do_file): Fix graphic_end().
3529 * src/preproc/html2/pre-html.cc (char_buffer::write_file_troff,
3530 createImage): Small fixes.
3532 2000-10-14 Werner LEMBERG <wl@gnu.org>
3534 Replace tmac.safer with a real secure solution.
3536 * src/roff/troff/input.cc (open_request, opena_request, pipe_source,
3537 system_request, pipe_output): Disable requests if in safer mode.
3538 * src/roff/groff/groff.cc (main): Remove reference to tmac.safer.
3539 * tmac/tmac.safer, tmac/groff_msafer.man: Removed.
3540 * tmac/Makefile.sub, NEWS, man/roff.man, tmac/groff_tmac.man,
3541 doc/groff.texinfo, src/roff/groff/groff.man,
3542 src/roff/troff/troff.man, arch/djgpp/README: Updated.
3544 * src/devices/grops/ps.cc (main), src/devices/grops/psrm.cc
3545 (resource_manager::output_prolog): Replace setenv() with putenv().
3547 2000-10-09 Werner LEMBERG <wl@gnu.org>
3549 * src/libs/libbib/map.c, src/libs/libgroff/getcwd.c,
3550 src/libs/libgroff/strtol.c, src/preproc/html2/image.cc,
3551 src/preproc/html2/pre-html.cc, src/preproc/html2/pushbackbuffer.cc,
3552 src/roff/groff/pipeline.c: Removing `#ifndef errno' to avoid
3553 compilation errors with some compilers. It seems that this code
3554 is no longer necessary -- if yes, it is easy to add some #ifdef's
3555 for that particular old-fashioned compiler.
3557 * MORE.STUFF: Added info about Meta-tbl.
3559 * doc/groff.texinfo: Added more info about `.if "..."..."'.
3561 2000-10-07 Werner LEMBERG <wl@gnu.org>
3563 Adding a new escape sequence \B'...': If the string between
3564 the delimiters is a valid numeric expression, return the character
3565 `1', and `0' otherwise. This is an analogon to \A.
3567 * src/roff/troff/input.cc (do_expr_test): Implement it.
3568 (token::next): Use it.
3569 * src/roff/troff/troff.man, NEWS, man/groff.man: Document it.
3571 * tmac/tmac.trace: Made independent from escape character.
3573 2000-10-06 Werner LEMBERG <wl@gnu.org>
3575 Adding a new request .dei: define indirect. The first and second
3576 parameter of .dei are taken from string registers instead directly;
3577 this very special request is needed to make tmac.trace independent
3578 from the escape character (which might even be disabled).
3580 * src/roff/troff/input.cc (do_define_macro): Implement it.
3581 (define_macro_indirect): New function.
3582 (init_input_requests): Use it.
3584 Adding two requests .ecs and .ecr: Save and restore the escape
3585 character. These two requests are needed to make tmac.trace
3586 independent from the escape character (which might even be
3589 * src/roff/troff/input.cc (save_escape_char, restore_escape_char):
3591 (init_input_requests): Use it.
3593 * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
3595 2000-09-22 Ricardo Soares Guimarães <ricardo@conectiva.com.br>
3597 Adding a new option -P and new environment variable GROPS_PROLOGUE
3598 to grops, selecting a different prologue file (minor modifications
3601 * src/devices/grops/psrm.cc (resource_manager::output_prolog),
3602 src/devices/grops/ps.cc (main): Implement it.
3603 * src/devices/grops/grops.man, NEWS: Document it.
3605 2000-09-22 Werner LEMBERG <wl@gnu.org>
3607 * INSTALL: Add info about selecting paper format.
3609 2000-09-21 Werner LEMBERG <wl@gnu.org>
3611 * src/roff/troff/input.cc (main): Fixing compiler warning.
3612 * src/include/{driver.h, lib.h}: Move inclusion of string.h and
3613 strings.h from the former to the latter.
3614 * src/devices/grolbp/lpb.cc, src/include/lib.h: Move strncasecmp()
3615 stuff from the former to the latter.
3617 2000-09-11 Werner LEMBERG <wl@gnu.org>
3619 Implementing two new requests .tm1 and .tmc: The former is similar
3620 to .tm but can output leading spaces; its syntax is similar to
3621 defining a string, i.e., a `"' can be used to mark the beginning of
3622 the string to be written to stderr: `.tm1 " test'. The latter is
3623 similar to .tm1 but doesn't write out a final newline character.
3625 * src/roff/troff/input.cc (terminal1, terminal_continue,
3626 do_terminal): New functions.
3627 (init_input_requests): Use them.
3628 * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
3630 2000-09-09 Werner LEMBERG <wl@gnu.org>
3632 * tmac/groff_mdoc.samples.man: Small fixes.
3634 2000-09-08 Werner LEMBERG <wl@gnu.org>
3636 * tmac/groff_mdoc.man: Fixing typo.
3638 2000-09-02 Werner LEMBERG <wl@gnu.org>
3640 Implementing a .nop request which does nothing.
3642 * src/roff/troff/input.cc (nop_request): New function.
3643 (init_input_requests): Use it.
3644 * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
3646 2000-09-01 Werner LEMBERG <wl@gnu.org>
3648 * doc/groff.texinfo: Added some comments.
3650 2000-08-30 Werner LEMBERG <wl@gnu.org>
3652 * src/roff/troff/TODO: Updated.
3654 2000-08-25 Werner LEMBERG <wl@gnu.org>
3656 * doc/groff.texinfo: Fix comment how to compile the DVI file.
3658 2000-08-25 Eli Zaretskii <eliz@is.elta.co.il>
3660 * font/devps/generate/Makefile (SHELL): Define explicitly to
3661 "/bin/sh", for non-Unix platforms.
3662 (extraclean): Use a more portable "" quoting instead of a
3663 backslash (which doesn't work on DOS/Windows).
3665 * font/devlj4/generate/Makefile (extraclean): Ditto.
3667 * font/devdvi/generate/Makefile (extraclean): Ditto.
3669 2000-08-25 Werner LEMBERG <wl@gnu.org>
3671 * NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,
3672 src/roff/troff/troff.man: Document Eli's latest changes.
3674 2000-08-25 Eli Zaretskii <eliz@is.elta.co.il>
3676 * src/roff/troff/input.cc (open_mac_file, macro_source): Support
3677 macro file names of the form NAME.tmac as well as tmac.NAME.
3679 2000-08-25 Werner LEMBERG <wl@gnu.org>
3681 * src/include/posix.h: Remove definition of FILENAME_MAX.
3683 * src/preproc/html2/pre-html.h, pre-html.cc: Add return type to
3684 `sys_fatal' and `stop' function().
3686 * test-groff: Updated.
3688 2000-08-24 Gaius Mulley <gaius@glam.ac.uk>
3690 Added the new troff command .output <arg> to suppress output (while
3691 still obeying motion) and also the opminx, opminy, opmaxx, opmaxy
3692 registers (for passing the output dimensions to the output device).
3694 * src/roff/troff/div.cc (top_level_diversion::output): Use `width'
3696 * src/roff/troff/node.h, src/roff/troff/node.cc
3697 (troff_output_file::really_print_line,
3698 ascii_output_file::really_print_line,
3699 supress_output_file::really_print_line): Use `width' parameter.
3700 (troff_output_file::really_on, troff_output_file::really_off,
3701 output_file::on, output_file::off, real_output_file::on,
3702 real_output_file::off, real_output_file::really_on,
3703 real_output_file::really_off): New functions.
3704 (real_output_file:public output_file): New variable `output_on'.
3705 (real_output_file::begin_page, real_output_file::copy_file,
3706 real_output_file::transparent_char, real_output_file::print_line):
3708 (real_output_file::print_line): Use check_output_limits.
3709 * src/roff/troff/reg.h, src/roff/troff/request.h,
3710 src/roff/troff/input.cc (assign_registers): New function to remove
3712 (do_ps_file): Use it.
3713 (check_output_limits, reset_output_registers, output_request,
3714 init_output_requests): New functions.
3715 (init_input_requests): Updated.
3717 Added new grohtml2 device and html2 preprocessor (coding
3718 not yet finished) which will eventually replace grohtml.
3720 * Makefile.in, tmac/Makefile.sub, tmac/eqnrc, tmac/troffrc-end:
3722 * src/include/htmlindicate.h, src/include/htmlindicate
3723 (html_begin_suppress, html_end_suppress): New functions.
3724 * src/preproc/tbl/main.cc: Use it.
3725 * src/roff/groff/groff.cc: Add support for html2 device (which will
3726 automatically invoke the html2 preprocessor).
3727 * src/roff/troff/input.cc (is_html2): New variable.
3728 * src/roff/troff/troff.h, src/roff/troff/env.h,
3729 src/roff/troff/env.cc (environment::add_html_tag): New function
3731 (environment::do_break): Use it.
3732 * font/devhtml2/*: New files.
3733 * src/devices/grohtml2: New device.
3734 * src/preproc/html2: New preprocessor.
3735 * tmac/tmac.html-tags, tmac/tmac.html2: New files.
3737 2000-08-23 Werner LEMBERG <wl@gnu.org>
3739 * src/devices/grolbp/lbp.cc: Same workaround for sinix as for AIX.
3741 2000-08-22 Werner LEMBERG <wl@gnu.org>
3743 * src/include/lib.h: Provide a fix for IRIX to not include
3746 2000-08-18 Werner LEMBERG <wl@gnu.org>
3748 * configure.in: Don't provide an empty value for SH_SCRIPT_SED_CMD
3749 since some non-GNU sed programs can't handle null regexps.
3750 * configure, src/preproc/eqn/Makefile.sub,
3751 src/roff/grog/Makefile.sub, src/roff/nroff/Makefile.sub: Updated.
3753 * src/devices/grolbp/lbp.cc: Add an AIX workaround for an autoconf
3754 bug (string.h and strings.h are both needed according to latest
3757 * MORE.STUFF: Added info about unroff and troffcvt.
3759 2000-08-08 Werner LEMBERG <wl@gnu.org>
3761 * tmac/tmac.a4: Will now work with ms macros also; -ma4 should be
3764 * tmac/tmac.man.old: Remove unused number register.
3766 * tmac.doc: Minor documentation fix.
3768 2000-08-07 Paul Eggert <eggert@twinsun.com>
3770 * src/roff/groff/pipeline.c (is_system_shell):
3771 Fix typo: "monocased_shell" no longer exists.
3773 2000-08-07 Paul Eggert <eggert@twinsun.com>
3775 Remove FILENAME_MAX limits.
3777 * src/roff/groff/pipeline.c (is_system_shell): Do not assume
3778 that the argument length is less than FILENAME_MAX.
3779 * src/libs/libgroff/tmpfile.cc (add_tmp_file): Likewise.
3780 Use struct hack to allocate and free file name.
3781 (struct xtmpfile_list): fname is now part of the structure,
3782 not a pointer to another string.
3784 2000-08-07 Tom Schmidt <tschmidt@micron.com>
3786 * src/include/posix.h: Add a default value for FILENAME_MAX.
3788 2000-08-06 Paul Eggert <eggert@twinsun.com>
3790 Add support for new BSD-style man pages (with ".Dd" instead of
3791 ".TH"), so that "groff -man" understands both styles, even
3792 when running "groff -man" on a host whose system man page
3793 macros don't support ".Dd".
3795 * tmac/Makefile.sub (NORMALFILES): Add tmac.an.old.
3796 (stamp-wrap): Source tmac.andoc first when wrapping man macros,
3797 in case the system man macros don't define Dd or TH.
3799 * tmac/tmac.an.old: Renamed from tmac/tmac.an.
3800 * tmac/tmac.an: New one-line file.
3801 * tmac/tmac.andoc (TH): Adjust to the tmac.an.old file renaming.
3803 2000-08-06 Werner LEMBERG <wl@gnu.org>
3805 * src/roff/troff/troff.man: Fixing typos.
3807 Version 1.16.1 released
3808 =======================
3810 2000-07-31 Werner LEMBERG <wl@gnu.org>
3812 Preparing release 1.16.1.
3814 * REVISION: Revision number set to 1.
3815 * MORE.STUFF: Added info about port to DOS.
3816 * NEWS, win32-diffs: Updated.
3818 * src/include/nonposix.h: Remove first line -- this file is used
3821 * Makefile.in (dist): Delete Imakefile earlier to avoid a soft
3824 2000-07-30 Werner LEMBERG <wl@gnu.org>
3826 * doc/texinfo.tex: Update to latest version.
3828 2000-06-28 Paul Eggert <eggert@twinsun.com>
3830 * Makefile.in (ENVSETUP): Don't assume POSIX make semantics for
3831 commands that fail. Don't assume that "export a=b" is valid shell
3832 syntax. This is needed for Solaris 2.5.1.
3834 * src/libs/libgroff/tmpfile.cc, src/utils/indxbib/indxbib.cc: Fix
3835 comment about missing Solaris headers.
3837 * PROBLEMS: Add section about problems with Sun Make and VPATH.
3839 2000-06-25 Werner LEMBERG <wl@gnu.org>
3841 * src/devics/grodvi/dvi.cc: Replace _setmode() (for MSC) with
3844 * src/include/posix.h: Use HAVE_UNISTD instead of _MSC_VER.
3846 * win32-diffs: Updated.
3847 * README.WIN32: Added CRs to make all Windows editors happy.
3849 * src/roff/troff/node.cc: Added WIFSIGNALED() macro (copied from
3850 src/roff/groff/pipeline.c).
3852 2000-06-23 Eli Zaretskii <eliz@is.elta.co.il>
3854 * src/roff/grog/Makefile.sub (grog): Prepend `-e' to
3855 $(SH_SCRIPT_SED_CMD), for the case where its value is empty.
3857 2000-06-17 Eli Zaretskii <eliz@is.elta.co.il>
3859 * src/utils/tfmtodit/tfmtodit.cc: #include nonposix.h.
3860 (tfm::load, gf::load): Open tfm and gf files in binary mode: these
3862 (main): Support non-Posix systems with several different styles of
3863 slash characters in file names.
3865 * src/utils/pfbtops/pfbtops.c: #include nonposix.h.
3866 (main) [SET_BINARY]: Switch stdin into binary mode.
3868 * src/utils/indxbib/indxbib.cc: #include nonposix.h.
3869 (main): Support file names with several possible slash-type
3870 characters, as given by DIR_SEPS[] in nonposix.h.
3871 (main) [__MSDOS__]: If renaming the temporary index file fails
3872 because it has more than one dot in its trunk, replace the dot
3873 with an underscore and try again.
3874 (do_file): Use FOPEN_RB instead of "r". Skip every CR before a
3876 [__MSDOS__ || _MSC_VER]: Stop at the first ^Z character.
3878 * src/utils/hpftodit/hpftodit.cc: #include nonposix.h.
3879 (File::File): Open the input file in binary mode. Strip CR
3880 characters from each CR-LF pair.
3881 (xbasename): Support file names with several possible slash-type
3882 characters, as given by DIR_SEPS[] in nonposix.h.
3884 * src/include/Makefile.sub (HDRS): Add nonposix.h.
3886 * src/roff/troff/node.cc [HAVE_UNISTD_H]: Include <unistd.h>.
3887 (WIFEXITED, WEXITSTATUS, WTERMSIG, WIFSTOPPED, WSTOPSIG)
3888 [!_POSIX_VERSION]: Define for traditional Unix systems.
3889 (real_output_file::real_output_file): Remove the MSVC-specific
3890 call to popen, use instead POPEN_WT, appropriately defined on
3891 nonposix.h. #include nonposix.h.
3892 (real_output_file::~real_output_file): Remove the MSVC-specific
3893 call to pclose, a suitable macro is now defined on nonposix.h.
3894 Use the portable macros WIFEXITED, WIFSIGNALED, WTERMSIG, WSTOPSIG
3895 and WEXITSTATUS instead of assuming traditional Unix
3896 interpretation of the status returned by pclose.
3898 * src/roff/troff/input.cc (pipe_source): Remove the MSVC-specific
3899 call to popen, use POPEN_RT instead (appropriately defined on
3900 nonposix.h). #include nonposix.h.
3901 (ps_bbox_request): Open the PostScript file in binary mode.
3902 Close the file after processing it.
3903 (getpid) [_MSC_VER]: Remove; a suitable macro is now defined on
3906 * src/roff/groff/pipeline.c (run_pipeline) [__MSDOS__ || _WIN32]:
3907 A version of run_pipeline that doesn't use `fork'.
3908 (signal_catcher) [__MSDOS__ || _WIN32]: New function.
3909 (system_shell_name, system_shell_dash_c)
3910 (is_system_shell) [__MSDOS__ || _WIN32]: New functions, to hide
3911 the ugliness of testing DOS/Windows file names for equality, and
3912 support both stock shells and ports of Unix shells.
3914 * src/roff/groff/groff.cc: #include nonposix.h.
3915 (BSHELL): Definition moved to nonposix.h.
3916 (main): Use PATH_SEP[0] instead of literal ':'. Use BSHELL_DASH_C
3917 instead of a literal "-c".
3918 (xbasename): Support file names with several possible slash-type
3919 characters, as given by DIR_SEPS[] in nonposix.h.
3920 (possible_command::print): Use BSHELL_DASH_C and IS_BSHELL instead
3923 * src/preproc/soelim/soelim.cc: #include nonposix.h.
3924 (do_file): Use IS_ABSOLUTE instead of testing for a literal '/'.
3926 * src/preproc/pic/Makefile.sub (YTABH): Change pic.tab.h to
3929 * src/preproc/pic/lex.cc: Change pic.tab.h to pic_tab.h.
3931 * src/preproc/eqn/Makefile.sub (YTABH): Rename eqn.tab.h to
3934 * src/preproc/eqn/lex.cc: #include eqn_tab.h, not eqn.tab.h.
3936 * src/libs/libgroff/tmpfile.cc (DEFAULT_TMPDIR) [P_tmpdir]: If
3937 P_tmpdir is defined, use it instead of the literal "/tmp".
3938 (remove_tmp_files, add_tmp_file): New functions.
3939 (xtmpfile): Record temporary files and register an atexit function
3940 to delete them explicitly, instead of relying on the OS to do
3941 that, which doesn't work on non-Unix systems.
3943 * src/libs/libgroff/searchpath.cc: #include nonposix.h.
3944 (search_path::search_path): Use PATH_SEP instead of a literal
3946 (search_path::command_line_dir): Ditto.
3947 (search_path::open_file): Use IS_ABSOLUTE, PATH_SEP and DIR_SEPS,
3948 to support non-Posix systems.
3950 * src/libs/libbib/search.cc: #include nonposix.h.
3951 (search_list::add_file): Open the file in binary mode.
3953 * src/libs/libbib/linear.cc: #include nonposix.h.
3954 (file_buffer::load): Remove \r characters preceding \n from the
3957 * src/libs/libbib/index.cc: #include nonposix.h.
3958 (make_index_search_item): Open index_filename in O_BINARY mode.
3959 (index_search_item_iterator::get_tag): Ditto. Remove \r
3960 characters before \n characters.
3961 (index_search_item::check_files): Open files in binary mode.
3962 (index_search_item::munge_filename): Support DOS-style file names
3963 with backslashes and drive letters, use IS_ABSOLUTE.
3965 * src/devices/grops/ps.cc: #include nonposix.h.
3966 (main) [SET_BINARY]: Switch stdout to binary mode.
3968 * src/devices/grolj4/lj4.cc: #include nonposix.h.
3969 (main) [SET_BINARY]: Switch stdout to binary mode.
3971 * src/devices/grolbp/lbp.cc: #include nonposix.h
3972 (fill_pattern) [SET_BINARY]: Switch stdout to binary mode.
3974 * src/devices/grodvi/dvi.cc: #include nonposix.h.
3975 [_MSC_VER]: Remove inclusion of Windows-specific headers (done by
3977 (main) [SET_BINARY]: Switch stdout to binary mode.
3978 [_MSC_VER]: Remove an explicit call to _setmode.
3980 * src/include/nonposix.h: New file.
3982 * Makefile.in (ENVSETUP): New variable, to set up case-sensitive
3983 operation when building with DJGPP.
3984 ($(TARGETS), dot, $(LIBDIRS), $(CPROGDIRS), $(CCPROGDIRS))
3985 ($(DEVDIRS), $(TTYDEVDIRS), $(INCDIRS), $(OTHERDIRS)): Use
3988 * Makefile.comm: mv y.tab.[ch] to y_tab.[ch], to make it work on
3990 (.man.n): Replace `;' with `|', since FONTPATH, MACROPATH,
3991 etc. can include a semi-colon on DOS/Windows.
3992 (depend.temp): Use depend1.temp instead of depend.temp1, to
3993 prevent files from overerwiting each other on 8+3 filesystems.
3995 * gendef.sh (t): Change definition to work with DOS/Windows.
3997 doc/groff.texinfo: Apart of some typo corrections, I also changed
3998 some index entris, to make them more non-ambiguous, and also put
3999 @ignore around some parts that are not yet written, to allow the
4000 Info output be readable.
4002 2000-06-10 Gael Queri <gqueri@mail.dotcom.fr>
4004 Replaced specific checks for function declarations with a generic
4005 routine taken from GNU bfd.
4007 * aclocal.m4 (GROFF_NEED_DECLARATION): New function.
4008 GROFF_PUTENV, GROFF_POPEN, GROFF_PCLOSE, GROFF_HYPOT: Removed.
4009 * configure.in: Use it.
4010 * src/devices/grolbp/lbp.cc, src/include/lib.h,
4011 src/preproc/grn/hgraph.cc, src/preproc/pic/pic.h,
4012 src/roff/groff/groff.cc: Use it.
4013 * Makefile.in, configure: Updated.
4015 2000-06-07 Paco Andres Verdu <pandres@dragonet.es>
4017 * src/devides/grolbp/lbp.h: Removed unused variables.
4019 2000-05-31 Keith Thompson <kst@sdsc.edu>
4021 * src/devices/grolbp/lbp.cc (set_papersizes): Add declaration of
4024 2000-05-31 Werner LEMBERG <wl@gnu.org>
4026 * aclocal.m4 (GROFF_SRAND): New function to test the return value
4027 of srand() -- at least SunOS 4.1.3 uses `int' instead of `void'.
4028 * configure.in: Use it.
4029 * src/preproc/pic/pic.y, src/preproc/pic/pic.cc: Use it.
4030 * configure, Makefile.in: Updated.
4032 * configure.in: Add test for strncasecmp().
4033 * src/include/lib.h: Use it.
4035 2000-05-29 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
4037 * src/preproc/grn/Makefile.sub: Add MLIB.
4039 2000-05-29 Nix <nix@esperi.demon.co.uk>
4041 * Makefile.in: Use @datadir@ and @mandir@ appropriately.
4043 2000-05-29 Werner LEMBERG <wl@gnu.org>
4045 * src/roff/grog/Makefile.sub, src/roff/grog/grog.sh: Add `@g@'.
4047 * PROBLEMS: Small update.
4049 * src/devices/grolbp/lbp.cc: Various small fixes.
4051 2000-05-28 Keith Thompson <kst@sdsc.edu>
4053 * src/roff/nroff/nroff.sh: Fix main loop syntax.
4055 * src/utils/indxbib/indxbib.cc: Add declaration of mkstemp().
4057 2000-05-25 Werner LEMBERG <wl@gnu.org>
4059 * man/roff.man: Removed unused macro.
4061 2000-05-24 Werner LEMBERG <wl@gnu.org>
4063 * Makefile.in (dist): Remove src/xditview/Imakefile explicitly.
4064 This is needed e.g. if you do
4065 `make distclean; ./configure; make dist'.
4067 Version 1.16 released
4068 =====================
4070 2000-05-23 Werner LEMBERG <wl@gnu.org>
4072 Adding font CWI (constant width italic) to devdvi.
4074 * font/devdvi/CWI: New file.
4075 * font/devdvi/generate/Makefile: Add generating rule.
4076 * font/devdvi/DESC.in, font/devdvi/Makefile.sub, win32-diffs,
4077 tmac/tmac.dvi: Use it.
4078 * NEWS: Announce it.
4080 * font/devlj4/*: Regenerated (only adding kernings for `cq' glyph).
4081 * font/devlj4/generate/Makefile: Cosmetic changes only.
4083 * man/groff.man: Removed most of the redundant description of
4084 special characters (which is in groff_char.man). Added font
4085 translation CB->CR for devdvi. Other minor fixes.
4087 * tmac/tmac.dvi: Improved appearance of \(co (copyright) and \(rg
4088 (registered) symbols.
4090 2000-05-22 Werner LEMBERG <wl@gnu.org>
4092 * doc/Makefile: Added rule for creating info files.
4094 * font/devdvi/*: Added kernings for `cq' glyph. Updated to latest
4096 * font/devdvi/generate/Makefile: Fixed dependencies.
4098 * font/devps/*: Regenerated. Heavy changes for Bookman and
4099 NewCentury Schoolbook!
4100 * font/devps/generate/afmname: Will now run with GNU awk.
4101 * font/devps/generate/textmap: Added forgotten `cq' glyph name.
4102 * font/devps/generate/Makefile: Cosmetic changes only.
4104 2000-05-21 Werner LEMBERG <wl@gnu.org>
4106 * tmac/tmac.an: Added a new command line option `-rSxx' (`xx' can be
4107 10, 11, or 12) to support output with 11pt and 12pt base font sizes.
4108 `.SS' now produces a heading with a smaller size than `.SH'.
4109 Completely formatted.
4110 * doc/groff.texinfo, tmac/groff_man.man, NEWS: Document it.
4112 * man/groff.man: Improved table appearance. Use of `eo' request
4113 to reduce number of doubled backslashes in macro definitions.
4114 Replacing `\e' with `\(rs'. Other minor fixes.
4116 * src/preproc/tbl/main.cc: Insert HTML table end tag before `lf'
4117 to have correct line number.
4119 * INSTALL: Small improvement.
4121 2000-05-20 Bernd Warken <bwarken@mayn.de>
4123 * man/roff.man, tmac/groff_tmac.man: Updates (with corrections by
4126 2000-05-19 Bernd Warken <bwarken@mayn.de>
4128 * man/groff.man: Complete update (with a lot of corrections by WL).
4130 2000-05-18 Werner LEMBERG <wl@gnu.org>
4132 Adding `cq' (PS name `quoteright') glyph name as an alias for "'".
4134 * font/*/*: Implement it.
4135 * man/groff_char.man, NEWS: Document it.
4137 * src/include/unix.h: Removed. It isn't used.
4139 * doc/groff.texinfo: Slight improvements.
4141 2000-05-17 Werner LEMBERG <wl@gnu.org>
4143 * README, win32-diffs: Small fixes and improvements.
4145 2000-05-16 Werner LEMBERG <wl@gnu.org>
4147 * FDL: New file (the Free Documentation License version 1.1).
4149 * doc/groff.texinfo: Added many start-up values for gtroff.
4150 Some structural improvements of the source code.
4152 2000-05-15 Werner LEMBERG <wl@gnu.org>
4154 * src/roff/troff/input.cc: Added small comment about troffrc-end.
4155 * src/roff/troff/troff.man: Added info about troffrc-end.
4157 2000-05-14 Werner LEMBERG <wl@gnu.org>
4159 * Makefile.in (EXTRADIRS): Fix typos.
4160 (dist): Handle deletion of old .tar.gz file correctly.
4161 (DISTDIRS): Include all tty output devices.
4163 * doc/groff.texinfo: Adding more cross references; countless other
4166 2000-05-13 Werner LEMBERG <wl@gnu.org>
4168 * MORE.STUFF: Added Robert Marks's utilities.
4170 2000-05-12 Werner LEMBERG <wl@gnu.org>
4172 Added win32 port contributed by Blake McBride
4173 <blake@florida-software.com>.
4175 * README.WIN32, win32-diffs: New files.
4178 * src/preproc/grn/hgraph.cc (HGSetBrush): Replace `%lf' with `%f'.
4179 (tmove, tmove2): Added parentheses to avoid compiler warnings.
4180 (change): Removed unused variables.
4182 * src/preproc/grn/main.cc (main, conv): Removed unused variables.
4183 (savebounds): Changed return value from `int' to `void'.
4184 * src/preproc/grn/hdb.cc: Ditto.
4186 * src/devices/grolbp/lbp.cc (lbp_printer::draw): Removed superfluous
4187 final backslash in comment to avoid compiler warning.
4189 * src/utils/pfbtops/pfbtops.c: Added `getopt.h'.
4191 * doc/groff.texinfo: More fixes.
4193 2000-05-11 OKAZAKI Tetsurou <okazaki@be.to>
4195 * tmac/tmac.doc: Documentation fix.
4197 2000-05-11 Werner LEMBERG <wl@gnu.org>
4199 * doc/groff.texinfo: Reading the source code shows up a lot of
4200 omissions and incorrect data... More conversion to @Deffn macros.
4202 2000-05-10 Werner LEMBERG <wl@gnu.org>
4204 * src/roff/troff/reg.cc (number_value_to_ascii): Remove ASCII
4207 * src/roff/troff/request.h: Removing unused `no_break_flag'.
4209 2000-05-09 Werner LEMBERG <wl@gnu.org>
4211 * man/groff.man, man/roff.man, tmac/groff_tmac.man: Minor
4214 * doc/groff.texinfo: Extended history section. More conversion to
4215 @Deffn macros. More .tr documentation.
4217 2000-05-07 Werner LEMBERG <wl@gnu.org>
4219 * doc/groff.texinfo: Completed tab section. Added info about
4222 2000-05-06 Mike MacIsaac <mikemac@us.ibm.com>
4224 * PROBLEMS: Describe configure script fix for OS/390 Unix.
4226 2000-05-05 Werner LEMBERG <wl@gnu.org>
4228 * font/devdvi/DESC.in: Change size 11pt to 10.95pt (as used in
4230 * NEWS: Document it.
4232 * man/troff.man: Minor optical improvements.
4234 2000-05-03 Werner LEMBERG <wl@gnu.org>
4236 Adding `dq' (PS name `quotedbl') glyph name as an alias for `"'.
4238 * font/*/*: Implement it.
4239 * man/groff_char.man, NEWS: Document it.
4241 2000-05-02 Werner LEMBERG <wl@gnu.org>
4243 * tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @MANxEXT@
4245 * NEWS: Document the three new man pages.
4247 * aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call.
4248 * configure: Updated.
4250 * font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
4252 2000-05-01 Werner LEMBERG <wl@gnu.org>
4254 Added grap support to grog.
4256 * src/roff/grog/grog.sh, src/roff/grog/grog.pl: Implement it.
4257 * src/roff/grog/grog.man: Document it.
4259 * doc/groff.texinfo, NEWS: Add info about grap support.
4261 Add new man pages comptributed by Bernd Warken <bwarken@mayn.de>
4262 (with slight fixes by me).
4264 * tmac/groff_tmac.man: New file documenting tmac mechanism.
4265 * tmac/Makefile.sub: Add groff_tmac.man.
4266 * man/roff.man: New file giving overview of roff system.
4267 * man/troff.man: A short reference of troff.
4268 * man/Makefile.sub: Add roff.man and troff.man.
4270 2000-04-30 Werner LEMBERG <wl@gnu.org>
4272 Added grap support to groff.
4274 * src/roff/groff/groff.cc: Implement it.
4275 * src/roff/groff/groff.man: Document it.
4277 * src/devices/grotty/grotty.man: Add cp1047 device.
4278 * src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc:
4280 * src/roff/groff/groff.man: Ditto.
4281 * src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto.
4282 * doc/groff.texinfo: Ditto.
4284 * tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space)
4287 2000-04-29 Werner LEMBERG <wl@gnu.org>
4289 * man/groff_char.man: Add `pc' glyph.
4290 * tmac/tmac.latin1: Replacing `md' glyph with `pc'.
4291 * tmac/tmac.tty: Add `pc' glyph.
4292 * tmac/tmac.tty-char: Use/add `pc' glyph. Don't call tmac.latin1 if
4293 we use cp1047 output device.
4295 * Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since
4296 there are still hardcoded latin1->unicode values in utf8's font
4298 * configure: Updated.
4299 * NEWS: Minor clarification. Updated.
4301 * PROBLEMS: Formatted. Added info about C++ fix pack for OS/390
4304 2000-04-28 Werner LEMBERG <wl@gnu.org>
4306 Adding EBCDIC code page 1047.
4308 * font/devcp1047/R.proto, font/devcp1047/Makefile.sub,
4309 font/devcp1047/DESC.proto: New files.
4311 * aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be
4312 either ascii/latin1 or cp1047.
4313 * Makefile.in: Use it.
4314 * configure: Updated.
4316 Replacing and/or adding `md' (mathdot) glyph with `pc'
4317 (periodcentered) in all text fonts.
4319 * font/*/*: Change it.
4321 2000-04-27 Werner LEMBERG <wl@gnu.org>
4323 * aclocal.m4 (GROFF_OS390): Fixing compiler flags.
4325 * configure.in: Add check for strings.h.
4326 * src/include/driver.h: Use HAVE_STRINGS_H.
4327 * src/devices/grolbp/lpb.cc: Remove string.h.
4329 * src/include/groff-getopt.h: New file. It will be used instead of
4330 getopt.h (to be included in lib.h) to avoid endless problems with
4331 picky C++ compilers.
4332 * src/include/lib.h: Use groff-getopt.h.
4333 * src/include/Makefile.sub: Updated.
4335 * configure: Updated.
4336 * Makefile.in: Updated.
4338 * NEWS: Mention EBCDIC support.
4340 2000-04-26 Werner LEMBERG <wl@gnu.org>
4342 * TODO: Some additions.
4344 2000-04-25 Werner LEMBERG <wl@gnu.org>
4346 * src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation
4349 2000-04-23 Werner LEMBERG <wl@gnu.org>
4351 * src/roff/troff/troff.man: Minor fixes.
4353 2000-04-22 Werner LEMBERG <wl@gnu.org>
4355 * src/roff/troff/troff.man, doc/groff.texinfo, NEWS: Document the
4356 `.T' string register and the incompatible definition of the `.T'
4357 number register (compared to Unix troff).
4359 * man/groff_char.man: Add some missing characters.
4360 * font/devutf8/NOTES: Update.
4362 2000-04-21 Werner LEMBERG <wl@gnu.org>
4364 * src/include/htmlindicate.h, src/include/lib.h,
4365 src/include/posix.h: Fix copyright.
4367 * src/include/Makefile.sub: Update.
4369 2000-04-20 Werner LEMBERG <wl@gnu.org>
4371 * src/roff/troff/input.cc (input_char_description): Removing
4372 superfluous space char.
4374 * tmac/tmac.X: Fix typo \(bq -> \(Bq.
4376 * doc/groff.texinfo: Document EBCDIC.
4378 2000-04-19 Werner LEMBERG <wl@gnu.org>
4380 Introducing `shc' as the glyph name for the soft hyphen character.
4382 * tmac/tmac.tty, tmac/tmac.latin1, tmac/tmac.html,
4383 font/devlatin1/R.proto: Use it.
4387 2000-04-18 Werner LEMBERG <wl@gnu.org>
4389 * src/devices/grops/ps.cc (ps_printer::flush_sbuf): Removing
4390 dependency on ASCII order.
4392 2000-04-16 Sandor BARANY <S.Barany@infosys.tuwien.ac.at>
4394 * src/libs/libgroff/illegal.c: Added EBCDIC table.
4395 * src/roff/troff/input.cc: Added adaptation to EBCDIC.
4397 * src/preproc/refer/refer.cc, src/roff/troff/env.cc: Minor changes
4398 to increase portability.
4400 2000-04-15 Werner LEMBERG <wl@gnu.org>
4402 * aclocal.m4: Added GROFF_EBCDIC and GROFF_OS390 tests.
4403 Redefined AC_OUTPUT_MAKE_DEFS to replace ASCII character `012' with
4404 the generic `\n' if under OS/390 Unix.
4406 * configure.in: Call GROFF_EBCDIC and GROFF_OS390.
4408 * configure: Regenerated.
4410 2000-04-14 Werner LEMBERG <wl@gnu.org>
4412 * doc/groff.texinfo: More conversions to @Deffn.
4414 2000-04-12 Werner LEMBERG <wl@gnu.org>
4416 * tmac/tmac.psfig: Fix incorrect use of `&' operator by replacing it
4419 * src/roff/nroff/nroff.man: Add note about tmac.tty-char.
4421 2000-04-10 Werner LEMBERG <wl@gnu.org>
4423 * doc/groff.texinfo: More conversions to @Deffn.
4425 2000-04-08 Werner LEMBERG <wl@gnu.org>
4427 * src/libs/libgroff/{getopt.c,getopt1.c}, src/include/getopt.h:
4428 Updated to latest version (glibc 2.1.3).
4430 2000-04-07 Werner LEMBERG <wl@gnu.org>
4432 * doc/Makefile (clean): Include more index files.
4433 Add rule texinfo->dvi.
4435 2000-04-05 Werner LEMBERG <wl@gnu.org>
4437 * doc/groff.texinfo: Added new index `op' for operators. More
4438 info on end of sentence characters. More use of @Deffn.
4440 2000-03-30 Werner LEMBERG <wl@gnu.org>
4442 * */*.man: Adding a note that a whitespace can be inserted between
4443 a command line option and its parameter -- we are using GNU getopt.
4445 * src/roff/groff/groff.man: Add example of `-m mandoc'.
4447 2000-03-28 Werner LEMBERG <wl@gnu.org>
4449 Correct anachronism of calling the man macro file with `-man'
4450 instead of `-m man' etc.
4452 * tmac/tmac.man, tmac/tmac.mandoc, tmac/tmac.markup, tmac/tmac.mdoc,
4453 tmac/tmac.me, tmac/tmac.ms: New files tmac.m<package> which simply
4454 load tmac.<package>.
4456 * tmac/Makefile.sub: Updated. Take care of $(tmac_an_prefix) etc.
4460 * doc/groff.texinfo: Updated.
4462 * tmac/groff_man.man: Copyright added.
4464 2000-03-27 Werner LEMBERG <wl@gnu.org>
4466 * doc/groff.texinfo: Introducing macros `Deffn' and `Defmac' to
4467 typeset the request resp. escape name with a tt font -- due to a
4468 bug in texinfo.tex it is necessary to use the `-e' switch with
4471 Improving info about usage of groff units.
4475 2000-03-20 Werner LEMBERG <wl@gnu.org>
4477 * doc/groff.texinfo: Added section about man macro package
4478 (I've basically taken groff_man.man). Introducing new indices `ma'
4479 for macros/strings and `gl' for glyph names. Other minor fixes.
4481 * tmac/groff_man.man: Fixed some typos.
4483 2000-03-19 Werner LEMBERG <wl@gnu.org>
4485 * doc/groff.texinfo: Removed all occurrences of `you', `we', etc.
4488 * doc/texinfo.tex: New file.
4490 2000-03-18 Werner LEMBERG <wl@gnu.org>
4492 * doc/groff.texinfo: Improved section on number registers. Other
4495 2000-03-16 Werner LEMBERG <wl@gnu.org>
4497 * src/roff/groff/groff.man: Added info about grolbp. Make nicer
4500 * src/devices/grolbp/grolbp.man, src/roff/nroff/nroff.man,
4501 src/devices/grolj4/grlj4.man, src/devices/grops/grops.man,
4502 src/preproc/eqn/eqn.man, src/utils/afmtodit/afmtodit.man,
4503 src/utils/tfmtodit/tfmtodit.man: Make nicer synopsis.
4505 * src/preproc/grn/grn.man: Better synopsis; added copyright.
4507 * src/roff/grog/grog.man: Updated copyright date.
4509 2000-03-14 Francisco Andres Verdu <pandres@dragonet.es>
4511 * configure.in: Added test for strdup.
4513 * src/devices/grolbp/lbp.cc: Added a strdup() version in case none
4516 Replaced dynamic allocation of arrays `[...]' with `new' operator.
4520 2000-03-12 OKAZAKI Tetsurou <okazaki@be.to>
4522 * Makefile.comm: Add $(INCLUDES) to $(ALL_CFLAGS).
4524 2000-03-11 Werner LEMBERG <wl@gnu.org>
4526 * src/preproc/grn/hdb.cc (DBGetType): Added return value to make
4528 * src/preproc/grn/hgraph.cc: Add #ifdef for hypot().
4529 * src/include/lib.h: Remove some spaces.
4531 2000-03-10 Werner LEMBERG <wl@gnu.org>
4533 * src/libs/libgroff/tmpfile.cc (xtmptemplate, xtmpfile): Removing
4534 initializers from arguments (some compilers don't like this).
4536 2000-03-09 Gaius Mulley <gaius@glam.ac.uk>
4538 * src/libs/libgroff/htmlindicate.cc: Added library file which is now
4539 used by pic and eqn to tell grohtml where the graphic regions start
4541 * src/libs/libgroff/Makefile.sub: Use it.
4542 * src/preproc/eqn/main.cc, src/preproc/pic/troff.cc: Altered to use
4543 graphic_start() and graphic_end() from htmlindicate.cc.
4545 2000-03-09 Werner LEMBERG <wl@gnu.org>
4547 * tmac/tmac.safer: Will now work correctly in compatibility mode.
4548 * tmac/groff_man.man: More fixes.
4550 2000-03-08 Werner LEMBERG <wl@gnu.org>
4552 * doc/Makefile: Added texput.log to the `clean' target.
4553 * doc/groff.texinfo: Added info about delimiters for escapes.
4555 2000-03-08 Bernd Warken <bwarken@mayn.de>
4557 * src/preproc/pic/pic.man: Add info on conversion of pic images to
4558 other graphic formats.
4560 2000-03-07 OKAZAKI Tetsurou <okazaki@be.to>
4562 * Makefile.in, Makefile.sub, src/preproc/eqn/Makefile.sub,
4563 src/roff/groff/Makefile.sub, src/roff/nroff/Makefile.sub,
4564 src/utils/afmtodit/Makefile.sub: Use $(INSTALL_SCRIPT) for script
4567 2000-03-07 Werner LEMBERG <wl@gnu.org>
4569 * doc/groff.texinfo: Spelling fixes.
4571 2000-03-06 Werner LEMBERG <wl@gnu.org>
4573 * tmac/groff_man.man: Completely revised to cover everything in
4576 * doc/groff.texinfo, src/roff/troff/troff.man: Document evc request.
4577 Other minor fixings.
4578 * src/roff/troff/env.cc (environment_copy): Improve error message and
4580 * src/roff/troff/TODO: Updated.
4582 * doc/Makefile: Bug fixes -- this is still provisional, though...
4584 * tmac/eqnrc: Small fixes.
4586 2000-03-05 Abramo Bagnara <abramo@alsa-project.org>
4588 Adding a request `evc' to copy environments.
4590 * src/roff/troff/env.cc (environment::copy, environment_copy):
4592 * src/roff/troff/env.h: Add prototype.
4594 2000-03-05 Francisco Andres Verdu <pandres@dragonet.es>
4596 Adding strsep() -- Solaris 8 doesn't have it.
4598 * configure.in: Test it.
4599 * src/devices/grolbp/lbp.cc: Add code.
4601 2000-03-05 Werner LEMBERG <wl@gnu.org>
4603 * src/roff/troff/div.cc (macro_diversion::output,
4604 top_level_diversion::output): Fixing an incompatibility with
4605 original troff: \x'0' updates the .a register also. Thanks to
4606 <Andries.Brouwer@cwi.nl> for pointing this out.
4607 * doc/groff.texinfo: Document it.
4609 * Makefile.in: Create Makefile.dep if necessary before calling the
4610 submake process to avoid warning about nonexistent file.
4612 * NEWS, PROJECTS: Updated.
4614 2000-03-04 Werner LEMBERG <wl@gnu.org>
4616 * tmac/troffrc: Add tmac.lbp.
4618 2000-03-03 Francisco Andres Verdu <pandres@dragonet.es>
4620 * tmac/tmac.lbp: New file.
4621 * src/devices/grolbp/grolbp.man: Add documentation of `lbpname'
4624 2000-03-03 Werner LEMBERG <wl@gnu.org>
4626 * Makefile.in: Fixing $(subdir).
4628 * README, NEWS: Small fixes.
4630 * test-groff: Adding path to grolbp.
4632 * configure.in: The (new) file src/xditview/Imakefile.in will be
4633 also configured -- it is now possible to build gxditview in a
4634 directory different from $srcdir.
4636 2000-03-02 Blake McBride <blake@florida-software.com>
4638 * src/libs/libgroff/searchpath.cc (open_file): Adapting to WinNT.
4640 * MORE.STUFF: Added website of bell labs and info about plot2dev.
4642 2000-03-01 Colin Phipps <crp22@cam.ac.uk>
4644 * src/utils/indxbib/indxbib.cc (main): Use mkstemp() for temporary
4647 2000-02-29 Werner LEMBERG <wl@gnu.org>
4649 Adding GNU getopt to the groff distribution.
4651 * src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
4653 * src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
4654 * aclocal.a4: Remove GROFF_GETOPT function.
4655 * configure.in, Makefile.in, PROBLEMS: Update.
4656 * src/include/lib.h: Replace getopt tests with getopt.h.
4657 * src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.
4659 * doc/groff.texinfo: Further checking/updating. Adding more index
4662 * man/groff_out.man: Fix nroff mode activation (for emacs).
4663 * man/groff_font.man: Add missing ligature.
4665 2000-02-28 Werner LEMBERG <wl@gnu.org>
4667 * doc/groff.texinfo: Further checking/updating. Adding more index
4670 * src/devices/grolbp/grolbp.man: Added a comment line at the
4671 beginning of the file (similar to shell scripts) which indicates
4672 that `tbl' should be used as a preprocessor.
4674 2000-02-27 Blake McBride <blake@florida-software.com>
4676 Adapting groff to MS Visual C++ 6.0 compiler (tested with
4677 Windows NT 4.0). Uses _MSC_VER define where necessary.
4679 * src/devices/grodvi/dvi.cc: Making stdout a binary stream.
4680 * src/devices/grolj4/lj4.cc: Making getopt variables `extern "C"'.
4681 * src/devices/grohtml/html.cc, src/devices/grops/ps.cc,
4682 src/include/lib.h, src/libs/libgroff/errarg.cc,
4683 src/libs/libgroff/itoa.c, src/libs/libgroff/nametoindex.cc,
4684 src/preproc/refer/label.y, src/preproc/refer/label.cc,
4685 src/roff/groff/pipeline.c, src/roff/troff/column.cc,
4686 src/roff/troff/div.cc, src/roff/troff/env.cc,
4687 src/roff/troff/input.cc, src/roff/troff/node.cc,
4688 src/roff/troff/reg.cc: Renaming itoa() to i_to_a() and iftoa() to
4689 if_to_a() to avoid name clashes.
4690 * src/include/posix.h: Don't use unistd.h.
4691 * src/libs/libgroff/tmpfile.cc: Use `#ifndef...#else...#endif'
4692 clause for integrating non-Unix xtmpfile() code.
4693 * src/roff/troff/input.cc: Adding `public' keyword to macro_header
4694 structure; use "rt" for popen() in pipe_source(); add getpid()
4696 * src/roff/troff/node.cc: Use special versions of popen() in
4697 real_output_file() and pclose() in ~real_output_file().
4699 2000-02-27 Werner LEMBERG <wl@gnu.org>
4701 Adding a new driver, grolbp, for Canon CAPSL printers (LBP-4 and
4702 LBP-8 series laser printers). This code has been contributed by
4703 Francisco Andres Verdu <pandres@dragonet.es>.
4705 * src/devices/grolbp/*: The grolbp output device.
4706 * font/devlpb/*: The font description files.
4707 * Makefile.in: Add grolpb and devlbp subdirectories.
4709 * src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
4710 src/devices/grotty/grotty.man,src/roff/troff/troff.man: Minor
4713 * doc/groff.texinfo: Further checking/updating. Adding more index
4718 * src/devices/grolbp/Makefile.sub: Adding $(srcdir).
4720 * man/groff_font.man: Adding info about obsolete DESC keywords.
4721 * src/devices/grolj4/grolj4.man: Documenting additional DESC
4724 2000-02-26 Werner LEMBERG <wl@gnu.org>
4726 * src/preproc/grn/grn.man: Added info about the gremlin file format
4727 (contributed by Daniel Senderowicz <daniel@synchrods.com>).
4729 2000-02-25 Werner LEMBERG <wl@gnu.org>
4731 * src/preproc/grn/main.cc: Allow values of `narrow' parameter and
4732 friends to be non-integer.
4734 * src/preproc/grn/grn.man: Document it.
4736 * doc/groff.texinfo: Further checking/updating. Adding more index
4739 2000-02-24 Werner LEMBERG <wl@gnu.org>
4741 * src/preproc/grn/main.cc: Introduce BASE_THICKNESS, defining
4742 line thicknesses to be integer multiples of this value.
4744 * src/preproc/grn/grn.man: Commenting out the -s option -- the
4745 corresponding code doesn't work (yet).
4747 * doc/groff.texinfo: Further checking/updating. Adding more index
4750 2000-02-23 Werner LEMBERG <wl@gnu.org>
4752 * src/preproc/grn/{main.cc, hgraph.cc}: Using point units to
4753 specify line thickness instead of base units. The new default
4754 values are now 0.15,pt 0.45pt, and 0.75pt for thin, middle, and
4755 thick lines respectively.
4757 Removed unused variable `prevval'.
4759 * src/preproc/grn/grn.man: Updated.
4761 2000-02-22 Werner LEMBERG <wl@gnu.org>
4763 * src/preproc/grn/main.cc: Slight formatting.
4765 * src/roff/groff/groff.man: Formatting fix.
4766 * src/preproc/grn/grn.man: Ditto.
4768 * src/roff/grog/grog.pl: Fixing two embarassing bugs.
4770 * doc/groff.texinfo: Further checking/updating.
4772 2000-02-21 Werner LEMBERG <wl@gnu.org>
4774 * README, INSTALL, PROJECT, PROBLEMS, BUGREPORT: Updated.
4776 * test-groff: Added grn subdir to path.
4778 * doc/groff.texinfo: Some restructing and other small improvements.
4780 * src/roff/groff/groff.cc (help): Fixed info string.
4782 2000-02-20 Werner LEMBERG <wl@gnu.org>
4784 * doc/meref.me: Fix description of .GS request.
4786 * src/roff/troff/troff.man: Fixing typo.
4788 Adding the `grn' preprocessor for gremlin graphic files.
4790 * src/preproc/grn/*: This is the Berkeley distribution written by
4791 David Slattengren and Barry Roitblat, adapted to groff by Daniel
4792 Senderowicz and Werner Lemberg.
4794 * doc/grnexampl.{me,g}: A sample for grn.
4796 * Makefile.in: Added subdirectory entry for grn.
4798 * src/roff/groff/groff.cc: Added support for grn. It can be now
4799 called with the switch `-g'.
4801 * src/roff/groff/groff.man: Updated.
4803 * src/roff/grog/grog.{man,pl,sh}: Updated.
4807 2000-02-11 Gaius Mulley <gaius@glam.ac.uk>
4809 * src/include/lib.h: Added xtmptemplate and made xtmpfile
4810 parametrically polymorphic.
4812 * src/libs/libgroff/tmpfile.cc: Implemented xtmptemplate
4813 and the alterations to xtmpfile.
4814 xtmpfile can be requested to return the filename created
4815 and asked not to unlink the temp file. The default behaviour
4816 if parameters are absent is exactly the same as before.
4818 2000-02-11 Abramo Bagnara <abramo@alsa-project.org>
4820 A new request `length' is available which returns the length of a
4821 string in a number register:
4823 * src/roff/troff/input.cc (length_macro): Implement it.
4824 * src/roff/troff/input.cc (init_input_requests): Register it.
4826 2000-02-11 Werner LEMBERG <wl@gnu.org>
4828 * doc/groff.texinfo, src/roff/troff/troff.man: Add documentation
4829 of the `substring' request.
4831 * src/roff/troff/troff.man, doc/groff.texinfo: Document `length'
4834 * src/roff/troff/TODO, NEWS: Updated.
4836 2000-02-09 Werner LEMBERG <wl@gnu.org>
4838 * src/roff/groff/groff.man: Added an example.
4840 2000-02-06 Werner LEMBERG <wl@gnu.org>
4842 I've considerably modified the directory structure of the
4843 distribution to get a more vertical layout. For example, the number
4844 of top level directories has been reduced from 42 to 6.
4846 As a consequence, many changes, especially to the makefiles, were
4849 * The makefile variables `top_builddir' and `top_srcdir' have been
4850 introduced. Virtually all relative paths have been replaced with
4851 absolute ones using these two variables.
4853 * Dependencies (in the files `Makefile.dep') are no longer part of
4854 the distribution. Instead, they are created during a `make install'
4855 in the build directory.
4857 * aclocal.m4 (GROFF_SRCDIR, GROFF_BUILDDIR): Two new functions to
4858 make `top_srcdir' and `top_builddir' absolute.
4862 * Man pages no depend on the files `VERSION' and `REVISION'.
4864 * The added shell script `mkinstalldirs' will replace `mkdir' in
4867 * VERSION: Version number increased to 1.16.
4869 2000-02-04 Werner LEMBERG <wl@gnu.org>
4871 * grops/psrm.cc (read_one_of): Fixed pointer incrementation.
4873 * Makefile.in: Removed $(tmac_m) since it is no longer needed
4874 (after an update of the mm stuff).
4876 * troff/Makefile.sub (majorminor.cc): Fix dependencies.
4878 2000-02-03 Werner LEMBERG <wl@gnu.org>
4880 The .psbb request will now also accept Mac PS images (i.e. using LF
4881 as the EOL character).
4883 * troff/input.cc (ps_get_line): New function, taken from psrm.cc
4884 (with slight modifications).
4885 * troff/input.cc (do_ps_file): Use it.
4887 * test-groff: Add grohtml and grolj4 output devices to PATH.
4889 2000-01-30 Werner LEMBERG <wl@gnu.org>
4891 * NEWS, MORE.STUFF: Updated.
4893 2000-01-30 Cary D. Renzema <caryr@dollar.mxim.com>
4895 Add the `srand' command to pic.
4897 * pic/lex.cc, pic/pic.y: Implement it.
4898 * pic/pic.man: Document it.
4899 * pic/pic.cc, pic/pic.tab.h: Regenerated (with yacc).
4901 2000-01-30 Werner LEMBERG <wl@gnu.org>
4903 Add a new request `.psbb'. This does exactly what the external
4904 program psbb did. It scans a PostScript image file for a
4905 %%BoundingBox comment and extracts the bounding box values (in
4906 PostScript units) which are then stored in the four new (read-only)
4907 number registers `llx', `lly', `urx', and `ury'.
4909 This will allow the usage of the .PSPIC macro without worrying
4910 about unsafe behaviour of groff, i.e., it will work without the
4911 `-U' switch of groff.
4913 * troff/input.cc: Implement it.
4914 * tmac/tmac.pspic: Use it.
4915 * troff/troff.man, grops/grops.man, NEWS: Document it.
4916 * psbb/*, Makefile.in: Remove it since it is no longer needed.
4918 This is bloody C code simply adapted from psbb.c! Any improvements
4921 2000-01-29 Werner LEMBERG <wl@gnu.org>
4923 * man/groff_font.man: Minor clarifications.
4927 2000-01-28 Werner LEMBERG <wl@gnu.org>
4929 * afmtodit/afmtodit.pl: Use new `--' comment delimiter.
4931 2000-01-28 Gaius Mulley <gaius@glam.ac.uk>
4933 * man/groff_font.man: Brought up to date regarding tcommand
4935 * libgroff/font.cc: Handle everything after `--' as a comment
4937 * devps/*: Added comment delimiter inside devps font files.
4939 2000-01-28 Werner LEMBERG <wl@gnu.org>
4941 * tmac/tmac.arkup, tmac/groff_markup.man: Replace \fC...\fR with
4942 \fC...\fP (which now works as expected).
4944 * troff/troff.man: Fix typo.
4946 2000-01-27 Gaius Mulley <gaius@glam.ac.uk>
4948 Completed the pass_filenames implementation in troff.
4950 * libdriver/input.cc: Will read the new `F' tcommand.
4951 * troff/node.cc, troff/node.h: Will issue the new `F' tcommand.
4952 * troff/input.cc: Use it.
4954 2000-01-26 Werner LEMBERG <wl@gnu.org>
4956 * troff/env.cc (set_font): Fix the behaviour of \fP. The previous
4957 font will now be updated even if an invalid font is selected.
4959 2000-01-24 Werner LEMBERG <wl@gnu.org>
4961 * doc/homepage.ms: Updated for new tmac.arkup.
4963 * tmac/tmac.html: Disable line breaks after hyphen-like characters.
4965 * tmac/tmac.arkup: Cleanup.
4967 Added `\&' to .HTML macro to `leave vertical mode', so to say.
4969 Removed obsolete .LINK macro completely.
4971 The macros .URL, .FTP, and .MAILTO now accept a third argument which
4972 will be immediately appended to the second argument (to be used with
4973 punctuation, for example).
4975 Disabled .CDFTP macro temporarily for security reasons.
4977 * tmac/groff_markup.man: Complete revision for latest changes in
4978 tmac.arkup -- note that it does not yet format correctly with
4981 2000-01-23 Bruno Haible <haible@clisp.cons.org>
4983 * nroff/nroff.sh: Accept -Tutf8 option and pass it through.
4984 * devutf8/R.proto: Add mappings for wp, lh, rh.
4985 * devutf8/NOTES: Updated.
4987 2000-01-23 Werner LEMBERG <wl@gnu.org>
4989 * doc/groff.texinfo: Updated version/copyright info.
4991 2000-01-21 Gaius Mulley <gaius@glam.ac.uk>
4993 Added support for two new directives in device descriptions:
4994 `pass_filenames' (to pass the input file name to the output device)
4995 and `use_charnames_in_special' (to support e.g. accented characters
4996 in the `X' request).
4998 * include/font.h, troff/charinfo.h: Declare it.
5000 * libgroff/font.cc, libgroff/fontfile.cc: Set it.
5002 * devhtml/DESC: Use it.
5004 * troff/input.cc: New function encoded_char.
5006 * troff/token.h: Add test for `specialness'.
5008 2000-01-21 Werner LEMBERG <wl@gnu.org>
5010 * tmac/Makefile.sub: tmac.a4 and tmac.trace have been removed by
5011 mistake from the list of files to be installed.
5013 2000-01-18 Werner LEMBERG <wl@gnu.org>
5015 * README: Added info how to apply patches.
5017 2000-01-15 Jan Echternach <echter@informatik.uni-rostock.de>
5019 * troff/node.cc (ligature_note::operator delete): Fix g++ warning.
5021 2000-01-15 Gaius Mulley <gaius@glam.ac.uk>
5023 * troff/input.cc: Add support for troffrc-end.
5025 * tbl/main.cc: Altered to issue table-start and table-end special
5026 characters if using the html device.
5028 * devhtml/*: Modified font files to incorporate html encoding of
5031 * tmac/groff_markup.man: New file documenting tmac.arkup.
5033 * tmac/troffrc-end: New file. This is invoked after all user
5034 specified macros. Currently used by the html device to include
5035 tmac.html. Thus no need for users to specify -mhtml anymore.
5037 * tmac/Makefile.sub (NORMALFILES): Add troffrc-end.
5038 (MAN7): Add groff_markup.man.
5040 * tmac/tmac.an, tmac/tmac.html: Small html updates.
5042 * tmac/troffrc: tmac.arkup will now be called for the html device.
5044 * libgroff/font.cc, libgroff/font.h: Altered to include reading of
5045 extra device specific information about fonts.
5047 * doc/homepage.ms: New file. It is an example how an HTML home page
5048 could look like with grohtml.
5050 * doc/Makefile: Add homepage.ms. Remove rule for pic.html.
5052 2000-01-12 Bruno Haible <haible@clisp.cons.org>
5054 * devutf8/R.proto: Add mappings for ti, Fn, st, an. Change mappings
5057 * devutf8/NOTES: Updated.
5059 2000-01-08 Bruno Haible <haible@clisp.cons.org>
5061 * eqn/box.cc, eqn/lex.cc, eqn/other.cc, eqn/over.cc, eqn/special.cc,
5062 eqn/text.cc, grodvi/dvi.cc, grops/ps.cc, grops/psrm.cc,
5063 libbib/index.cc, libbib/linear.cc, libbib/search.cc,
5064 libdriver/printer.cc, libgroff/font.cc, libgroff/string.cc,
5065 pic/lex.cc, pic/object.cc, refer/label.y, refer/ref.cc, tbl/main.cc,
5066 tbl/table.cc, tfmtodit/tfmtodit.cc, troff/dictionary.cc,
5067 troff/div.cc, troff/env.cc, troff/input.cc, troff/node.cc,
5068 troff/node.h, troff/reg.cc: Avoid most "g++ -Wall -Wno-sign-compare"
5071 * troff/node.cc (bracket_node::copy): Initialize last to NULL.
5073 2000-01-12 Fabrizio Polacco <fab@prosa.it>
5075 grolj4: Paper size will be searched case-insensitively.
5077 * include/lib.h: Add check for strcasecmp().
5078 * grolj4/li4.cc (lookup_paper_size): Use strcasecmp().
5079 * configure.in: Check for strcasecmp().
5081 2000-01-11 Werner LEMBERG <wl@gnu.org>
5083 * troff/Makefile.sub (majorminor.cc): Fix incorrect path to
5086 2000-01-10 Werner LEMBERG <wl@gnu.org>
5088 * Makefile.comm, Makefile.in, doc/Makefile: More fixes for the
5091 Add a new read-only register, `.Y', which contains the groff
5094 * troff/input.cc (init_input_requests): Define it.
5095 * troff/Makefile.sub (majorminor.cc): Define `revision' string.
5096 * doc/groff.texinfo, troff/troff.man: Document it.
5098 * libgroff/Makefile.sub (version.cc): Add definition of
5099 `Version_string[]', consisting of `<major>.<minor>.<revision>'
5100 * eqn/main.cc, grodvi/dvi.cc, grolj4/lj4.cc, grops/ps.cc,
5101 grotty/tty.cc, hpftodit/hpftodit.cc, indxbib/indxbib.cc, pic/main.cc,
5102 refer/refer.cc, soelim/soelim.cc, tbl/main.cc, tfmtodit/tfmtodit.cc,
5103 troff/input.cc, pfbtops/pfbtops.c: Use it.
5105 2000-01-10 Fabrizio Polacco <fab@prosa.it>
5107 Add a revision scheme to the groff package.
5109 * REVISION: New file.
5110 * libgroff/Makefile.sub (version.cc): Use it to define
5111 `revision_string[]'.
5112 * grops/psrm.cc: Use revision_string (converted to an unsigned
5113 integer) in constructor of resource_manager.
5115 2000-01-10 Bruno Haible <haible@clisp.cons.org>
5117 * devutf8/Makefile.sub, devutf8/DESC.proto, devutf8/R.proto: New
5119 * Makefile.in (DEVDIRS): Add devutf8.
5120 * grotty/tty.cc: Include device.h.
5121 (glyph): Change type of `code' to `unsigned int'.
5122 (tty_printer): New field is_utf8. Constructor takes device argument.
5123 (tty_printer::tty_printer): If device if `utf8', set is_utf8.
5124 (tty_printer::add_char): Change type of first arg to `unsigned int'.
5125 (tty_printer::put_char): New function.
5126 (tty_printer::end_page): Use put_char() instead of ::putchar().
5127 (make_printer): Pass device to tty_printer constructor.
5128 * nroff.sh: Determine default device by calling 'locale'. As a
5129 fallback, look at all of $LC_ALL, $LC_CTYPE, $LANG, $LESSCHARSET.
5130 Recognize UTF-8 locales.
5131 * tmac/eqnrc: Recognize utf8 like latin1.
5132 * tmac/troffrc: Device utf8 needs tmac.tty.
5134 2000-01-07 Werner LEMBERG <wl@gnu.org>
5136 * tmac/Makefile.sub: tmac.a4 and tmac.trace will now be installed.
5138 2000-01-07 Paul Eggert <eggert@twinsun.com>
5140 Add a new predefined writeable number register, `year',
5141 which contains the current year.
5143 * doc/groff.texinfo, PROBLEMS, troff/troff.man: Document it.
5144 * tmac/tmac.s: Use it.
5145 * troff/input.cc (init_registers): Initialize it.
5147 2000-01-06 Werner LEMBERG <wl@gnu.org>
5149 * PROBLEMS: Fixed typo.
5151 2000-01-04 Paul Eggert <eggert@twinsun.com>
5153 * PROBLEMS: Add Y2k advice for the yr number register.
5155 2000-01-03 Paul Eggert <eggert@twinsun.com>
5157 * doc/groff.texinfo: Fix Y2k bug in documentation of \n(yr.
5159 2000-01-02 Werner LEMBERG <wl@gnu.org>
5161 * tmac/tmac.arkup: Slight modification of macros to provide better
5162 appearance for non-HTML formats.
5164 2000-01-01 Charles Levert <charles@comm.polymtl.ca>
5166 * soelim/soelim.cc (include_path_append): realloc(NULL, n)
5167 does not automatically translate to malloc(n) on all OSes
5168 (e.g., SunOS) so do it explicitly. Also, check the returned
5171 2000-01-01 Werner LEMBERG <wl@gnu.org>
5173 * tmac/tmac.arkup: Added .LINE macro. Some formatting.
5175 * Makefile.in: Added $(tmac_m) again since the Makefile in `mm'
5176 expects this variable
5178 2000-01-01 Gaius Mulley <gaius@glam.ac.uk>
5180 * doc/Makefile: Added instructions to create HTML and text
5181 versions of some files.
5183 1999-12-31 Werner LEMBERG <wl@gnu.org>
5185 * Updated INSTALL.gen.
5187 * tmac/tmac.arkup: Added fixes so that .FTP and .MAILTO works
5188 better resp. correctly with non-HTML devices.
5190 Version 1.15 released
5191 =====================
5193 1999-12-28 Werner LEMBERG <wl@gnu.org>
5195 * NEWS, VERSION: Changed to 1.15
5197 1999-12-27 Paul Eggert <eggert@twinsun.com>
5199 * nroff/nroff.man: -S is safer, not safe.
5201 * groff/groff.cc (main): Use `safer', not `safe', in variable
5202 names. This does not change the behavior.
5204 * troff/input.cc (main): Likewise.
5206 * nroff/nroff.sh: Likewise.
5208 * troff/input.cc (prepend_string): New function.
5209 (main): Prepend -msafer, so that we check macro libraries for
5212 * PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.
5214 Version 1.14 released
5215 =====================
5217 1999-12-26 Werner LEMBERG <wl@gnu.org>
5219 * NEWS, VERSION: Changed to 1.14.
5221 1999-12-24 Werner LEMBERG <wl@gnu.org>
5223 * refer/refer.cc: Fixing the last fix.
5225 Version 1.13 released
5226 =====================
5228 1999-12-23 Werner LEMBERG <wl@gnu.org>
5230 * tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
5235 * tmac/tmac.safer: Forgot to remove `so' from the `rm' request.
5237 * VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
5238 document conventions, the version number must be a real.
5240 Version 1.12.1 released
5241 =======================
5243 1999-12-22 Werner LEMBERG <wl@gnu.org>
5245 * VERSION: Changed to 1.12.1.
5247 1999-12-22 Alan Rooks <arooks@istar.ca>
5249 * refer/refer.cc (do_file): Slight modification to satisfy the
5250 `Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
5253 1999-12-20 Werner LEMBERG <wl@gnu.org>
5255 * changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
5258 * tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
5259 list of unsafe requests.
5261 * pic/pic.man: Fixed a typo.
5263 * man/groff_out.man: Fixed a typo.
5265 1999-12-18 Werner LEMBERG <wl@gnu.org>
5267 * Makefile.in: Doc fixes.
5269 1999-12-17 Fabrizio Polacco <fab@prosa.it>
5271 * groff/groff.cc: Missing `U' option added to getopt().
5273 * troff/troff.man: Missing `U' option added to synopsis.
5275 Version 1.12 released
5276 =====================
5278 1999-12-14 Werner LEMBERG <wl@gnu.org>
5280 * troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
5283 * nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
5284 with the more appropriate terms `safer' and `unsafe'.
5286 * libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
5287 sys_nerr and sys_errlist[].
5289 * pic/pic.h, aclocal.m4, configure.in: Added check for hypot().
5291 * pic/pic.y, pic/pic.cc: Added check for fmod().
5293 1999-12-13 Werner LEMBERG <wl@gnu.org>
5295 * VERSION: Changed to 1.12.
5297 Here some patches from various sources; most of them taken from
5298 the Debian distribution.
5300 * tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
5301 tmac/Makefile.sub: New files copied directly from the NetBSD
5302 distribution. Probably, some additional adaptation later on is
5305 * tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
5308 * groff/groff.cc, groff/groff.man, nroff/nroff.sh,
5309 nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
5310 troff/troff.man: Added option `-U' for unsafe mode. Safe mode
5311 (`-S') is now the default.
5313 * README, NEWS: Updated.
5315 1999-12-09 Werner LEMBERG <wl@gnu.org>
5317 * doc/groff.texinfo: Regenerated nodes and menus with emacs.
5319 * doc/Makefile (clean): Added cleaning commands for groff.texinfo.
5321 1999-12-06 Werner LEMBERG <wl@gnu.org>
5323 * configure.in: Removed AC_PREFIX_PROGRAM since it causes more
5324 grief than relief today. Additionally, it is against the GNU
5327 * configure: Recreated.
5329 1999-12-05 Werner LEMBERG <wl@gnu.org>
5331 * configure.in: Added GROFF_LIBM.
5333 * configure: Recreated.
5335 * aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
5338 * Makefile.in: Added definition of $(LIBM).
5340 * Makefile.comm (LIBM): Removed.
5342 * pfbtops/Makefile.sub: On AIX, -lm is needed also.
5344 1999-12-03 Gaius Mulley <gaius@glam.ac.uk>
5346 * doc/Makefile: Added rule for generation pic.html.
5348 (clean): Files produced by grohtml will be removed also.
5350 * doc/pic.ms: Small fix.
5352 * tmac/tmac.html: Fixed suppression of headers.
5354 1999-11-16 Gaius Mulley <gaius@glam.ac.uk>
5356 * tmac/tmac.html: Fixing horizontal arrows.
5358 Turning off hyphenation.
5360 * tmac/tmac.an: Improved support for grohtml; better indentation,
5363 1999-10-31 Gaius Mulley <gaius@glam.ac.uk>
5365 * tmac/tmac.arkup: Added CDFTP macro
5367 * tmac/tmac.html: All headers are turned off for ms, me, and mm
5370 * tmac/troffrc: Some additions for HTML stuff.
5372 1999-10-06 Gaius Mulley <gaius@glam.ac.uk>
5374 * tmac/tmac.html: Small changes.
5376 1999-09-26 Werner LEMBERG <wl@gnu.org>
5378 * doc/groff.texinfo: Minor fixes.
5380 1999-09-26 Gaius Mulley <gaius@glam.ac.uk>
5382 * devhtml/TR: Changed spacewidth to 3.
5384 * tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.
5386 * tmac/tmac.html: Moved markup macros to tmap.arkup.
5388 * tmac/tmac.arkup: New file.
5390 * grohtml/ChangeLog: New file.
5392 1999-09-16 Werner LEMBERG <wl@gnu.org>
5394 * doc/groff.texinfo (Common Features): Added Copying chapter.
5395 Changed format to @smallbook.
5397 1999-09-15 Werner LEMBERG <wl@gnu.org>
5399 * NEWS: Added info about groff.texinfo.
5401 * doc/groff.texinfo: Will now compile (using texi2dvi) without
5404 1999-09-14 Werner LEMBERG <wl@gnu.org>
5406 * groff/groff.man: More updates.
5408 1999-09-13 Werner LEMBERG <wl@gnu.org>
5410 * doc/groff.texinfo: New file. This manual is still very
5411 rudimentary. It has been originally contributed by Trent
5412 A. Fisher <trent@gnurd.portland.or.us> with first corrections and
5415 * INSTALL: Added information about the `doc' subdir
5417 * troff/troff.man: Minor fixes.
5419 * groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
5422 * troff/input.cc (usage): Added missing `-ffam' to usage message.
5424 * Makefile.in (dist): groff-$(version).tar.gz must be removed
5425 also, otherwise it is included itself in another call of `make
5428 * groff/groff.cc (synopsis): Removed superfluous space.
5430 * PROJECTS, PROBLEMS, NEWS: Updated.
5432 * VERSION: Updated to 1.12beta.
5434 * BUG-REPORT: Some cosmetic fixes. Corrected email address.
5436 * README: Updated: Included documentation about CVS repository,
5437 mailing lists, and daily snapshots.
5439 * tmac/Makefile.sub: Fixed $(tmap_wrap) finally.
5441 1999-09-12 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
5443 * tmac/tmac.an: If the tag didn't fit into the space that the
5444 macro `TP' specifies, the rest of the tag went into the space for
5447 1999-09-12 Jeffrey Copeland <jeff@opennt.com>
5449 * grolj4/lj4.cc: Added duplex printing (option `-d').
5451 * grolj4/grolj4.man: Document duplex printing.
5453 1999-09-12 Werner LEMBERG <wl@gnu.org>
5455 * doc/Makefile (pic.ps): Fixed rule which caused problems with
5456 non-GNUish sed programs.
5458 * tmac/doc-syms: Removed extra space from -iso8802-3 macro
5461 * configure.in (LIBS): Added `-lc'
5463 * Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.
5465 * pic/tex.cc (solid_arc): Casting M_PI to double.
5467 * libgroff/putenv.c (putenv): Changed function header to ANSI C.
5469 * groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
5470 (new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
5471 file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.
5473 * groff/groff_man.man: New file. This manual page was originally
5474 written for the Debian GNU/Linux system by Susan G. Kleinmann
5477 * eqn/list.cc (list_box::compute_metrics,
5478 list_box::compute_sublist_width): Removed variable declaration to
5479 avoid shadowing warnings.
5481 * grops/psrm.cc (resource_manager::process_file): Ditto.
5483 * tfmtodit/tfmtodit.cc (main): Ditto.
5485 * libgroff/font.cc (font::load_desc): Renamed auxiliary variable
5486 to avoid shadowing warnings.
5488 * tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
5489 shadowing loop variable.
5491 * groff/groff.man, troff/troff.man: Added doc about grohtml.
5493 1999-09-12 Gaius Mulley <gaius@glam.ac.uk>
5495 New grohtml frontend to convert groff input to html.
5497 * Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.
5499 * tmac/Makefile.sub (NORMALFILES): Added tmac.html.
5501 * tmac/eqnrc: Added html device.
5503 * tmac/tmac.html: New file.
5505 * eqn/main.cc (do_file, inline_equation), pic/troff.cc
5506 (troff_output::start_picture, troff_output::finish_picture),
5507 tbl/main.cc (process_input_file):
5508 Surrounded output with `graphics_start' and `graphics_end' so that
5509 the html driver can identify non-text portions.
5511 * grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
5512 (lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
5513 grotty/tty.ps (tty_printer::set_char): Additional parameter
5516 * include/printer.h: Class printer: New function
5517 set_char_and_width; new variables (is_char_named, is_named_set,
5518 named_command, named_char_s, named_char_n) to hold information
5519 about named characters -- needed by the html driver.
5521 * libdriver/printer.cc (printer::set_ascii_char,
5522 printer::set_special_char): Use set_char_and_width.
5524 * devhtml/*: New device files for html driver.
5526 * grohtml/*: New driver grohtml.
5528 1999-09-11 Wilfredo Sanchez <wsanchez@apple.com>
5530 * tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
5533 1999-09-11 Luke Mewburn <lukem@netbsd.org>
5535 * libgroff/string.cc (search): Small fix to test against NULL
5538 1999-09-11 Jeff Conrad <jeff_conrad@msn.com>
5540 * troff/node.cc (copy): The characters in a bracket escape (e.g.,
5541 \b'abc') were stacked in reverse order when processed in a
5544 * troff/node.h: Added `*last' to struct `node' to make the above
5547 * troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
5548 The default scale for the 'f' and 't' graphics functions were 'm'
5549 rather than 'u' (i.e., no scaling).
5551 1999-09-11 Peter Miller <peterm@jna.com.au>
5553 * groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
5554 do_file), soelim/soelim.man: Added `-I file' option to soelim,
5555 defining include paths.
5557 * soelim/soelim.cc (include_path_append): New function.
5559 1999-09-11 Larry Jones <larry.jones@sdrc.com>
5561 * tbl/main.cc (process_options): Unix (at least Documenter's
5562 Workbench) tbl allows arbitrary non-alpha characters between
5565 1999-09-11 Paul Eggert <eggert@twinsun.com>
5567 Y2k fixes. Don't assume that the current year precedes 2000.
5569 * doc/meref.me: Add \n(y2, \n(y4.
5571 * tmac/doc-common (Yr): New number register.
5572 (Dd): Don't assume current year precedes 2000.
5574 * tmac/tmac.e (td): Likewise.
5575 (y2, y4): New number registers.
5577 * pic/pic.man: Update reference for pic paper to May, 1991
5580 1999-09-11 Werner LEMBERG <wl@gnu.org>
5582 * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
5583 Removed quotation marks which prevented correct expansion of
5586 * devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).
5588 1999-09-10 Werner LEMBERG <wl@gnu.org>
5590 * Makefile.sub (DISTCLEANFILES): Added `config.log' and
5593 * Removed configure.old.
5595 1999-08-31 Werner LEMBERG <wl@gnu.org>
5597 * VERSION: Updated to 1.11.1
5599 1999-05-27 Werner LEMBERG <wl@gnu.org>
5601 * doc/Makefile: changed `.PS' postfix to `.ps' for consistency.
5603 * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
5604 added quotations around $(tmac_wrap) to avoid syntax error if
5607 * configure: Newly generated using autoconf 2.13.
5609 * Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.
5611 Fri Aug 15 08:51:47 1997 Eric S. Raymond <esr@snark.thyrsus.com>
5613 * README, PROJECTS, NEWS, INSTALL, VERSION,
5614 doc/Makefile. doc/pic.ms, groff/groff.man:
5615 Prepare for 1.11 release. No code changes.
5616 Documentation for pic added (doc/pic.ms).
5618 Sun Nov 26 11:45:13 1995 James Clark <jjc@jclark.com>
5620 * Version 1.10 released.
5622 Fri Nov 24 09:56:16 1995 James Clark <jjc@jclark.com>
5624 * afmtodit/afmtodit.pl: Avoid comment on first line.
5626 Mon Nov 20 11:13:49 1995 James Clark <jjc@jclark.com>
5628 * aclocal.m4 (GROFF_INSTALL_SH): New macro.
5629 * configure.in: Call it.
5631 * Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
5632 (distfiles): Doesn't depend on config.log or config.cache.
5634 Sun Oct 1 08:45:36 1995 James Clark <jjc@jclark.com>
5636 * grog/grog.sh: Use print "" rather than print in END rule.
5638 Wed Aug 23 13:30:52 1995 James Clark <jjc@jclark.com>
5640 * tbl/main.cc (process_data): Don't give error for excess data
5641 entries that are comments.
5643 Fri Jul 28 11:00:27 1995 James Clark <jjc@jclark.com>
5645 * tbl/main.cc (process_data): Fix case where new for-scope rules
5646 silently change meaning of code.
5648 Tue Jul 4 23:39:51 1995 James Clark <jjc@jclark.com>
5650 * troff/env.cc (hyphenate): Loop over all consecutive sequences
5651 of non-zero hyphenation codes.
5653 Sat Jul 1 00:42:15 1995 James Clark <jjc@jclark.com>
5655 * aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.
5657 Thu Jun 29 13:58:36 1995 James Clark <jjc@jclark.com>
5659 * tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.
5661 Tue Jun 27 12:30:16 1995 James Clark <jjc@jclark.com>
5663 * tmac/tmac.andoc: Make it work in compatibility mode.
5665 * refer/token.h (token_info::is_range_sep): New function.
5666 * refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
5667 * refer/ref.cc (reference::output): More sophisticated check for
5670 * devps/prologue.ps (MANUAL): New procedure.
5671 * grops/ps.cc (main): New -m option.
5672 (usage): Include -m.
5673 (ps_printer::~ps_printer): Implement -m.
5675 * aclocal.m4 (GROFF_G): New macro.
5676 * configure.in: Call it.
5677 * Makefile.in (g): Provided by configure.
5679 * hpftodit/hpftodit.cc (basename): Rename to xbasename.
5681 * tmac/tmac.tty: Disable warning about bad fonts. Remove font
5684 * Makefile.in (tmacpath): Don't include /usr/lib/tmac.
5685 (tmac_m, tmac_s): Deleted.
5686 (sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
5687 tmac_s_prefix): New variables.
5688 (MDEFINES): Change accordingly.
5689 * Makefile.comm (.man.n): Use new TMAC_* variables.
5690 * configure.in (GROFF_TMAC): Call.
5691 * aclocal.m4 (GROFF_TMAC): Define.
5692 * tmac/Makefile.sub (stamp_wrap): New target.
5693 (install_data, uninstall_sub): Handle macro wrapping.
5695 Mon Jun 26 14:54:39 1995 James Clark <jjc@jclark.com>
5697 * tbl/main.cc (main): Ignore -T option.
5699 Thu Jun 22 09:08:06 1995 James Clark <jjc@jclark.com>
5701 * devlj4/generate/special.map: Add definition of \(nb.
5703 * tmac/tmac.dvi: Add definition of \(nb.
5705 * troff/dictionary.c (dictionary::dictionary): association::v gets
5706 initialized by association::association.
5708 * tmac/Makefile.sub: Avoid using temporary files when installing.
5710 * troff/env.cc (environment::set_font): Make bad font number a
5713 * Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.
5715 * Makefile.in (datadir): Use share rather than lib.
5717 * groff/groff.cc (basename): Rename to xbasename.
5719 Wed Jun 21 16:59:46 1995 James Clark <jjc@jclark.com>
5721 * Makefile (CCLIBS): Don't use.
5722 * Makefile.ccpg: Likewise.
5724 * acgroff.m4: Rename to...
5725 * aclocal.m4: Modify extensively for autoconf 2.
5726 * configure.in: Likewise.
5727 * Makefile.in: Likewise.
5729 * groff/pipeline.c (const): Declare as empty if __STDC__ not
5731 (xstrsignal): Check for definition of NSIG. Conditionalize
5732 on SYS_SIGLIST_DECLARED. Make return type const.
5734 Sat Jun 10 12:28:16 1995 James Clark <jjc@jclark.com>
5736 * troff/input.cc (interpolate_macro): Rephrase missing space
5739 Thu May 11 01:07:16 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5741 * addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
5742 grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
5743 grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
5744 libbib/index.cc, libbib/linear.cc, libbib/search.cc,
5745 libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
5746 libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
5747 libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
5748 pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
5749 refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
5750 tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
5751 troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
5754 Wed Apr 19 21:15:11 1995 James Clark <jjc@jclark.com>
5756 * troff/input.cc (spring_trap): Push a macro_iterator rather than a
5758 (spring_trap, postpone_traps, unpostpone_traps): Move to later in
5760 (macro_iterator::macro_iterator): Add additional argument.
5762 Mon Apr 10 12:06:02 1995 James Clark <jjc@jclark.com>
5764 * troff/div.cc (vertical_size::vertical_size): In place of integer
5765 specifying line spacing use cunits specifying post vertical
5767 (macro_diversion::output, top_level_diversion::output): Likewise.
5768 * troff/div.h: Change declarations accordingly.
5769 * troff/env.cc (pending_output_line): Replace ls field by post_vs
5771 (pending_output_line::pending_output_line,
5772 pending_output_line::output, environment::output,
5773 environment::output_line, environment::output_title,
5774 environment::hyphenate_line): In place of
5775 integer specifying line spacing use cunits specifying post vertical
5777 (environment::environment): Add post_vertical_spacing and
5778 prev_post_vertical_spacing arguments.
5779 (environment::get_post_vertical_spacing): New function.
5780 (environment::total_post_vertical_spacing): New function.
5781 (environment::post_vertical_spacing): New function.
5782 (init_env_requests): Initialize pvs request and .pvs register.
5783 * troff/env.h: Change declarations.
5785 Tue Mar 28 09:52:07 1995 James Clark <jjc@jclark.com>
5787 * tmac/tmac.pspic: Immediately remove the temporary file.
5789 Sat Mar 25 10:43:11 1995 James Clark <jjc@jclark.com>
5791 * tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
5792 height is specified.
5794 Thu Jan 26 16:20:13 1995 James Clark <jjc@jclark.com>
5796 * tbl/table.c (struct vertical rule, class table_entry): Use int
5797 not short for start_row and end_row.
5799 Fri Jan 13 13:53:05 1995 James Clark <jjc@jclark.com>
5801 * troff/input.cc (trapping_blank_line, blank_line_macro): New
5803 (diverted_space_node::reread, process_input_stack): Call
5804 trapping_blank_line() rather than blank_line().
5805 (init_input_requests): Bind "blm" to blank_line_macro().
5807 * tmac/tmac.s (XA): Use .br and par@reset rather than XA.
5809 Tue Jan 10 11:40:35 1995 James Clark <jjc@jclark.com>
5811 * troff/env.cc (environment::possibly_break_line): Require that
5812 width total excluding width of final space node be greater than
5813 the target text length.
5815 Tue Jan 3 09:13:37 1995 James Clark <jjc@jclark.com>
5817 * troff/node.cc (kern_pair_node::vertical_extent): New function.
5819 Sun Dec 4 13:19:07 1994 James Clark <jjc@jclark.com>
5821 * troff/node.cc (charinfo_node): New class.
5822 (glyph_node, composite_node): Derive from charinfo_node. Change
5823 member functions accordingly.
5825 Wed Nov 30 10:29:29 1994 James Clark <jjc@jclark.com>
5827 * nroff/nroff.sh: Use -Tlatin1 not -TLatin1.
5829 Mon Aug 8 10:17:59 1994 James Clark (jjc@jclark.com)
5831 * tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].
5833 * devps/generate/textmap (notsubset): Add.
5835 * tmac/tmac.a4: New file.
5837 Sun Jul 24 20:08:42 1994 James Clark (jjc@jclark.com)
5839 * pic/main.cc (had_parse_error): New variable.
5840 (do_picture, do_whole_file): Set had_parse_error if yyparse()
5842 (main): Return 1 if had_parse_error is true.
5844 Tue Jul 19 13:40:31 1994 James Clark (jjc@jclark.com)
5846 * grolj4/lj4.cc (main): Avoid use of strtoul.
5848 Mon Jul 18 15:03:02 1994 James Clark (jjc@jclark.com)
5850 * nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
5851 iso_8859_1 or $LESSCHARSET is latin1.
5853 Sun Jul 10 13:38:35 1994 James Clark (jjc@jclark.com)
5855 * hpftodit: New directory.
5856 * Makefile.in (CCPROGDIRS): Add hpftodit.
5857 * devlj4/generate: New directory.
5859 Thu Jul 7 23:49:48 1994 James Clark (jjc@jclark.com)
5861 * configure.in: Don't use AC_VFORK.
5862 * groff/pipeline.c (run_pipeline): Use fork() always.
5864 Wed Jul 6 11:13:17 1994 James Clark (jjc@jclark.com)
5866 * grops/ps.cc (main): Use %1 not %s in error message for -w.
5868 * Makefile.in (CCPROGDIRS): Add grolj4.
5869 (DEVDIRS): Add devlj4.
5870 * grolj4, devlj4: New directories.
5871 * tmac/troffrc: Handle lj4.
5872 * tmac/tmac.lj4: New file.
5874 Fri Jun 17 18:02:53 1994 James Clark (jjc@jclark.com)
5876 * tmac/tmac.e (@n): Set indent to 0 before calling |h.
5878 Wed Jun 1 07:33:47 1994 James Clark (jjc@jclark.com)
5880 * troff/input.cc (do_if_request): At end of second string, switch
5881 environments before getting next token.
5883 Fri May 20 07:39:18 1994 James Clark (jjc@jclark.com)
5885 * devps/psstrip.sed: Split rule that strips whitespace on either
5888 Wed May 18 08:13:47 1994 James Clark (jjc@jclark.com)
5890 * troff/node.h (font_family::make_definition): Add return value to
5891 declaration. * troff/symbol.h (symbol::operator==,
5892 symbol::operator!=): Likewise.
5894 Tue May 17 20:46:06 1994 James Clark (jjc@jclark.com)
5896 * groff/groff.cc (main, help, synopsis): Handle -S.
5897 (possible_command::insert_arg): New function.
5899 * tmac/tmac.safer: New file.
5900 * tmac/msafer.man: New file.
5901 * tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.
5903 Thu Mar 10 01:58:30 1994 Paul Eggert (eggert@twinsun.com)
5905 * pic/pic.h, pic/main.cc (safer_flag): New variable.
5906 * pic/pic.y (placeless_element): Avoid unsafe operations if
5907 `safer_flag' is set.
5908 * pic/main.cc (main): Add -S option, which sets `safer_flag'.
5910 Tue May 10 13:02:31 1994 James Clark (jjc@jclark.com)
5912 * eqn/lex.cc (get_token): Put call to add_context() in block to
5913 work around Sun C++ 4.0 bug.
5915 * include/stringclass.h (operator +): Use ?: instead of `if' to
5916 work around Sun C++ 4.0 bug.
5918 Thu May 5 11:18:03 1994 James Clark (jjc@jclark.com)
5920 * tbl/main.cc (process_format): Accept - as a synonym for the _
5923 * libbib/index.cc (minus_one): Don't declare as const.
5925 Fri Apr 29 09:32:48 1994 James Clark (jjc@jclark.com)
5927 * troff/input.cc (get_char_for_escape_name): Push back a newline.
5929 Wed Apr 27 21:14:18 1994 James Clark (jjc@jclark.com)
5931 * troff/input.cc (write_macro_request): New function.
5932 (init_input_requests): Bind write_macro_request to writem.
5934 Sun Apr 17 11:15:38 1994 James Clark (jjc@jclark.com)
5936 * tmac/tmac.s (@EN): Turn filling back on even if there was no
5939 * eqn/lex.cc (do_space): Supply missing argument to lex_error.
5941 * tmac/tmac.s (@TS): Renamed from TS.
5942 (TS): Call LP then TS again.
5943 (cov*ab-init): Alias @TS to TS.
5945 * tmac/tmac.s: Allow QP or RS to initialize.
5947 * tmac/tmac.s (par@load-init): New macro. Call at end of file.
5948 Move initializations of PS and LL here.
5949 (par@init): Don't initialize HY. Avoid changing environment 0.
5950 (par*env-init): Don't all par@reset.
5952 Thu Apr 14 19:15:45 1994 James Clark (jjc@jclark.com)
5954 * include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.
5956 Sun Apr 10 09:54:44 1994 James Clark (jjc@jclark.com)
5958 * Makefile.in (MDEFINES): Add LDFLAGS.
5959 (LDFLAGS): Add definition line.
5961 Thu Apr 7 22:22:22 1994 James Clark (jjc@jclark.com)
5963 * troff/input.cc (get_optional_char): Split off error check into...
5964 (check_missing_character): New function.
5965 * troff/token.h: Declare it.
5966 * troff/env.cc (margin_character): Don't call get_optional_char.
5967 Only call tok.next() after making the node.
5969 * include/lib.h (getopt): Make 2nd argument char *const *.
5971 Fri Mar 11 07:28:03 1994 James Clark (jjc@jclark.com)
5973 * nroff/conftest.sh: Deleted.
5975 Fri Mar 4 10:51:36 1994 James Clark (jjc@jclark.com)
5977 * pic/make-dos-dist: Deleted.
5979 Wed Mar 2 20:59:16 1994 James Clark (jjc@jclark.com)
5981 * devps/psstrip.sed: Strip comments before stripping trailing
5984 Sat Feb 19 13:07:16 1994 James Clark (jjc@jclark.com)
5986 * Version 1.09 released.
5988 Wed Feb 16 16:53:49 1994 James Clark (jjc@jclark.com)
5990 * tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.
5992 Mon Feb 14 08:26:40 1994 James Clark (jjc@jclark.com)
5994 * libgroff/font.cc (font::load_desc): Fix typo in error message.
5996 Sun Feb 13 09:37:38 1994 James Clark (jjc@jclark.com)
5998 * libgroff/new.cc (operator new): Rewrite so as to avoid warning
5999 about returning without a value.
6001 * troff/charinfo.h (charinfo::get_special_translation): Cast
6002 TRANSLATE_NONE to int.
6004 * refer/token.cc (lookup_token, store_token): Remove bogus loop
6005 test. Fix test so that it works with n unsigned.
6007 * pic/pic.y (defaults_table): Fully bracket initializer.
6008 * pic/lex.cc (lookup_keyword): Likewise.
6009 * eqn/lex.cc (token_table, def_table): Likewise.
6010 * eqn/box.cc (param_table): Likewise.
6011 * troff/input.cc (warning_table): Likewise.
6012 * libgroff/font.cc (table): Likewise.
6013 * grops/ps.cc (ps_printer::special): Likewise.
6014 * grops/psrm.cc (resource_manager::process_file): Likewise.
6015 * tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
6016 * refer/command.cc (command_table): Likewise.
6017 * addftinfo/addftinfo.cc (param_table): Likewise.
6019 * troff/symbol.cc (symbol::symbol): Prevent compiler warnings
6020 about temp's being unused.
6021 (unused): New function.
6023 * groff/pipeline.cc: Declare c_fatal.
6025 * libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
6028 * libbib/index.cc (index_search_item::load): Prevent compiler
6029 warnings about fd_closer's being unused.
6030 (unused): New function.
6032 Sat Feb 12 10:31:59 1994 James Clark (jjc@jclark.com)
6034 * troff/input.cc (copy_mode_error): Make `prefix' static.
6037 * include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
6039 * acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
6040 HAVE_CC_OSFCN_H and modify accordingly.
6042 * troff/input.cc (init_charset_table): radicalex overlaps
6045 * groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
6046 udodo!hans@relay.NL.net).
6047 * groff/configure.in: Call it.
6049 * groff/acgroff.m4 (GROFF_PCLOSE): New macro.
6050 * groff/configure.in: Call it.
6051 * include/lib.h: Conditionalize declaration of pclose.
6053 * troff/div.cc (last_page_number): New global variable.
6054 (top_level_diversion::begin_page): Exit if we just printed the
6056 * troff/div.h (last_page_number): Declare it.
6057 * troff/input.cc (parse_output_page_list): Set last_page_number.
6059 * eqn/sqrt.cc: Rename \(rn to \[radicalex].
6060 * devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
6061 tmac/tmac.X: Likewise.
6062 * tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
6063 * tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.
6065 Fri Feb 11 11:45:40 1994 James Clark (jjc@jclark.com)
6067 * tmac/doc-ditroff (hK): Remove groff specific code which
6068 prevented page-breaks between separate manual entries. If this is
6069 the first page, don't set the page number to 1.
6071 * acgroff.m4 (GROFF_POSIX): New macro.
6072 * configure.in: Use it.
6074 * troff/node.cc (class real_output_file,
6075 real_output_file::real_output_file,
6076 real_output_file::~real_output_file): Conditionalize use of
6077 popen/pclose on POPEN_MISSING.
6078 * troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
6079 * troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
6080 (pipe_source): Similarily.
6082 * acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
6084 * acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
6085 presence of declarations by trying to compile example with
6086 conflicting declarations. (gcc only gives a warning for missing
6089 Wed Feb 9 09:12:23 1994 James Clark (jjc@jclark.com)
6091 * tmac/tmac.pspic (PSPIC): Allow options to specify alignment
6092 (from Ulrich Lauther).
6094 Tue Feb 8 03:56:40 1994 James Clark (jjc@jclark.com)
6096 * libbib/linear.cc (file_buffer::load): Use S_ISREG macro.
6098 Thu Feb 3 09:34:35 1994 James Clark (jjc@jclark.com)
6100 * indxbib/indxbib.cc (write_hash_table): Add code for case where
6101 pointers and ints have different sizes.
6103 Sun Jan 9 16:17:51 1994 James Clark (jjc@jclark.com)
6105 * tmac/tmac.s (par*env-init): Call par@reset.
6107 Fri Jan 7 10:24:27 1994 James Clark (jjc@jclark.com)
6109 * tmac/tmac.s (@IP): Switch to a new environment when diverting
6111 (par*push-tag-env, par*pop-tag-env): New macros.
6113 Wed Jan 5 21:18:34 1994 James Clark (jjc@jclark.com)
6115 * grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
6116 initializing `out'. Reduce MAX_LINE_LENGTH from 79 to 72.
6118 * grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
6119 comment. Include <time.h>.
6121 Wed Dec 15 14:14:00 1993 James Clark (jjc@jclark.com)
6123 * grops/ps.cc (is_small_h, is_small_v): Deleted.
6124 (ps_printer::flush_sbuf): Use absolute motion only at beginning of
6127 Tue Dec 14 10:06:34 1993 James Clark (jjc@jclark.com)
6129 * troff/input.cc (read_request): Only print a prompt if reading
6130 from the terminal. Also clearerr on EOF if reading from the
6131 terminal. Declare isatty.
6133 Mon Nov 29 08:38:15 1993 James Clark (jjc@jclark.com)
6135 * refer/label.y: Rename map_t to map_func and extractor_t to
6138 Sat Oct 30 06:38:12 1993 James Clark (jjc@jclark.com)
6140 * include/assert.h: Don't use volatile.
6141 * libgroff/assert.cc: Likewise.
6143 Fri Oct 29 15:00:23 1993 James Clark (jjc@jclark.com)
6145 * troff/input.cc (abort_request): Look at character in tok before
6148 Thu Oct 28 14:09:48 1993 James Clark (jjc@jclark.com)
6150 * troff/troff.h (NO_RETURN): Deleted.
6151 * troff/div.cc (cleanup_and_exit): Don't declare aas NO_RETURN.
6152 * troff/input.cc (exit_troff): Likewise
6154 * Makefile.in: Remove `Making ...' messages since GNU make now
6157 * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
6159 Wed Oct 27 11:12:51 1993 James Clark (jjc@jclark.com)
6161 * tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
6164 Sat Oct 23 10:03:52 1993 James Clark (jjc@jclark.com)
6166 * tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.
6168 Thu Oct 14 12:09:45 1993 James Clark (jjc@jclark.com)
6170 * eqn/delim.cc (delim_box::compute_metrics): Don't increase
6171 MARK_REG if there was no left delimiter.
6173 Sat Oct 2 19:54:47 1993 James Clark (jjc@jclark.com)
6175 * pic/troff.cc (troff_output::text): Set line thickness to
6176 relative before outputting text.
6178 * tmac/tmac.e (@k): Don't zero ?T.
6181 Sat Sep 25 11:08:43 1993 James Clark (jjc@jclark.com)
6183 * tmac/tmac.e ($p): Handle possibility that $3 is empty.
6185 Wed Aug 18 08:51:41 1993 James Clark (jjc@jclark.com)
6187 * troff/input.cc (decode_args): Warn about unquoted tabs (from
6190 Tue Aug 10 08:38:32 1993 James Clark (jjc@jclark.com)
6192 * troff/input.cc (ignoring): New variable.
6193 (ignore): Set ignoring during call to do_define_macro.
6194 (do_define_macro): Clear ignoring before interpolating terminating
6196 (copy_mode_error): New function.
6197 (get_char_for_escape_name, read_long_escape_name,
6198 interpolate_arg): Use copy_mode_error.
6199 (warning_table): Add WARN_IG.
6200 * troff/troff.h (WARN_IG): Declare.
6201 (WARN_TOTAL): Change accordingly.
6203 * groff/pipeline.c (strsignal): Rename to xstrsignal.
6204 * groff/groff.cc (strsignal): Delete declaration.
6206 Fri Jul 16 01:43:12 1993 James Clark (jjc@jclark.com)
6208 * troff/div.cc (page_offset): Use 'm' as default scaling.
6210 Sat Jul 3 09:11:38 1993 James Clark (jjc@jclark.com)
6212 * nroff/nroff.sh: Ignore -u.
6214 Wed Jun 9 12:17:27 1993 James Clark (jjc@jclark.com)
6216 * Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.
6218 Fri Jun 4 17:35:47 1993 James Clark (jjc@jclark.com)
6220 * tmac/tmac.s (par*box-draw): Set adjustment mode to l while
6222 (B2): With -Tascii, leave additional vertical space before
6223 and after. Ensure that the left and right indent is restored to
6224 what it was even if the point size changes. Don't call
6225 par@finish. Change the indent, line length and title length
6226 directly. With -Tascii, make the width of the box 1n less.
6227 (B1): Remember 1n at the current point size. Don't call
6228 par@reset. Change the indent, line length and title length
6229 directly. Ensure that the temporary indent is preserved.
6230 (par*box-mark-top): Turn off no spacing mode.
6232 Thu Jun 3 17:47:14 1993 James Clark (jjc@jclark.com)
6234 * Makefile.in (dist): Use .gz suffix.
6236 Thu May 27 20:04:59 1993 James Clark (jjc@jclark.com)
6238 * troff/input.cc (main): Add return 0.
6239 * pic/main.cc (main): Use return instead of exit.
6240 * tbl/main.cc (main): Likewise.
6241 * eqn/main.cc (main): Likewise.
6242 * grops/ps.cc (main): Likewise.
6243 * grotty/tty.cc (main): Likewise.
6244 * groff/groff.cc (main): Likewise.
6245 * grodvi/dvi.cc (main): Likewise.
6246 * refer/refer.cc (main): Likewise.
6247 * indxbib/indxbib.cc (main): Likewise.
6248 * lkbib/lkbib.cc (main): Likewise.
6249 * soelim/soelim.cc (main): Likewise.
6250 * addftinfo/addftinfo.cc (main): Likewise.
6251 * acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
6252 GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.
6254 * troff/token.h (process_input_stack): Don't declare as static.
6255 * troff/input.cc: Likewise.
6257 * troff/node.c (invalidate_fontno): Make it a static member of
6258 class font_family. Change callers.
6259 * troff/node.c: Change declaration.
6261 * tbl/main.cc (struct input_entry_format): Add explicit public
6263 * tbl/table.cc (struct text_stuff, struct single_hline_stuff,
6264 struct double_hline_stuff): Likewise.
6265 * tbl/table.h (struct entry_format): Likewise.
6266 * pic/object.h (struct saved_state): Likewise.
6268 * include/stringclass.h: Add forward declarations of friend
6269 functions that are later declared as inline. Don't include inline
6270 specifier in friend declaration.
6272 * libgroff/lib.h: Declare popen and pclose.
6273 * acgroff.m4 (GROFF_POPEN): New macro.
6274 * configure.in: Call it.
6276 * include/lib.h (PI): New constant. Undef first if necessary.
6277 * tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
6278 * grops/ps.cc (degrees, radians): Likewise.
6279 * libgroff/font.cc (font::get_skew): Likewise.
6281 * grops/ps.cc (is_ascii): New function.
6282 (ps_output::put_string): Use is_ascii. Use csprint rather than
6284 (ps_printer::define_encoding): Use csspace.
6285 * libgroff/strtol.c (ISASCII): New macro.
6286 (strtol): Cast arguments to is*() and tolower() to unsigned char.
6287 Use ISASCII rather than isascii.
6288 * libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
6289 * libgroff/cset.cc: Likewise.
6290 * libdriver/input.cc: Include cset.h.
6291 (do_file, get_integer, possibly_get_integer): Use csdigit() rather
6294 * refer/refer.cc (main): Use %ld rather than %d for longs.
6296 * libbib/index.cc (index_search_item_iterator::get_tag): Use
6299 * addftinfo/addftinfo.cc (param_t): Add explicit `int'.
6301 Mon May 24 08:51:37 1993 James Clark (jjc@jclark.com)
6303 * troff/input.cc (hyphenation_code): Skip white space between
6306 Sun May 16 08:15:52 1993 James Clark (jjc at jclark.com)
6308 * tbl/table.h (table::entry_list_tailp): New member.
6309 (table::table): Initialize it.
6310 (table::add_entry): Use entry_list_tailp to avoid O(n^2)
6313 Sat May 15 17:26:00 1993 James Clark (jjc at jclark.com)
6315 * grotty/tty.cc (tty_printer::add_char): Don't discard characters
6316 with negative horizontal positions. Remove casts of glyph::hpos to
6318 (USHRT_MAX): Delete definition.
6319 (SHRT_MAX, SHRT_MIN): New definitions.
6320 (glyph::hpos): Change type to short.
6321 (tty_printer::end_page): Output multiple backspaces if necessary.
6322 Remove casts of glyph::hpos to int.
6324 Fri May 7 12:14:37 1993 James Clark (jjc at jclark.com)
6326 * tmac/tmac.s (@RT): New definition.
6328 Thu May 6 21:36:54 1993 James Clark (jjc at jclark.com)
6330 * refer/refer.cc (do_file): Make sure current_filename is set when
6333 * pic/common.cc (common_output::dot_line): Handle zero length
6336 Sun May 2 19:54:16 1993 James Clark (jjc at jclark.com)
6338 * tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
6339 (par@init): Initialize \n[HY].
6341 Mon Apr 26 11:43:16 1993 James Clark (jjc at jclark.com)
6343 * troff/dictionary.cc (dictionary::remove): Continue when
6346 Sun Apr 25 11:03:00 1993 James Clark (jjc at jclark.com)
6348 * Makefile.com (.y.cc): Avoid ending up with two versions of
6351 Thu Apr 22 21:03:45 1993 James Clark (jjc at jclark.com)
6353 * tmac/tmac.dvi (\(,c): Define only if it does not exist.
6354 (\(,C): Likewise. Also fix typo.
6356 Wed Apr 21 08:47:32 1993 James Clark (jjc at jclark.com)
6358 * lib.h: Delete extraneous semi-colon.
6360 * Add pso request: `so' from a pipe.
6361 * troff/input.c (file_iterator::file_iterator): Add 3rd argument.
6362 (file_iterator::close): New function.
6363 (file_iterator::~file_iterator, file_iterator::next_file): Use
6364 file_iterator::close.
6365 (file_iterator::backtrace): Say `process' rather than `file' when
6366 the stream is popened.
6367 (pipe_source): New function.
6368 (init_input_requests): Bind ".pso" to pipe_source.
6370 Tue Apr 20 00:02:26 1993 James Clark (jjc at jclark.com)
6372 * afmtodit/afmtodit.pl: Avoid single quotes in comments.
6374 * pfbtops/pfbtops.c: Output 64 characters per line. Output hex
6375 digits in lower case.
6377 Mon Apr 19 09:55:57 1993 James Clark (jjc at jclark)
6379 * Version 1.08 released.
6381 * Makefile.in (dist): Insert || true after ln -s commands that
6384 * mm: Update to mm 1.16.
6386 * acgroff.m4 (GROFF_CSH_HACK): New macro.
6387 * configure.in: Call GROFF_CSH_HACK. Substitute for
6389 * Makefile.in (SH_SCRIPT_SED_CMD): New variable. Include in
6391 * nroff/Makefile.sub (nroff): New target.
6392 (install_data): Install nroff.
6393 * eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
6394 * grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.
6396 Sat Apr 17 08:24:28 1993 James Clark (jjc at jclark)
6398 * eqn/Makefile.sub (neqn): Add chmod +x.
6400 * grog/Makefile.sub (grog): Remove spurious semi-colon.
6402 Fri Apr 16 22:41:57 1993 James Clark (jjc at jclark)
6404 * troff/input.cc (string_iterator::string_iterator()): Initialize
6407 Tue Apr 13 10:22:28 1993 James Clark (jjc at jclark)
6409 * troff/div.cc (macro_diversion::space,
6410 top_level_diversion::space): Don't set high_water_mark.
6411 (macro_diversion::output, top_level_diversion::output): Don't
6412 include post line space in high water mark.
6414 Wed Apr 7 12:48:18 1993 James Clark (jjc at jclark)
6416 * eqn/eqn.y: Don't define YYDEBUG.
6417 * pic/pic.y: Likewise.
6419 Mon Apr 5 10:15:15 1993 James Clark (jjc at jclark)
6421 * tmac/tmac.e ([3): Add space after comma following editors.
6422 Change double spaces to single spaces.
6423 ([4): Change double spaces to single spaces.
6425 * grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
6426 * grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
6427 bit is set in broken_flags, use 2.0 rather than 3.0 as the version
6428 after %!PS-Adobe- (for Newsprint).
6430 * troff/div.cc (top_level_diversion::begin_page): When
6431 before_first_page is 1, set page_number to 1.
6433 Sun Apr 4 14:28:53 1993 James Clark (jjc at jclark)
6435 * eqn/box.cc (box::top_level): Protect equation with \&.
6437 Sat Apr 3 23:27:25 1993 James Clark (jjc at jclark)
6439 * groff/groff.cc (possible_command::set_name): Delete old name.
6441 * groff/groff.cc (possible_command::~possible_command): Use
6444 * troff/node.cc (troff_output_file::begun_page): New member.
6445 (troff_output_file::troff_output_file): Initialize it.
6446 (troff_output_file::really_begin_page): Only output V command if a
6447 page has been begun.
6449 * pic/pic.y (placeless_element): Delete argument to PRINT after
6452 Fri Apr 2 11:31:02 1993 James Clark (jjc at jclark)
6454 * Make wrapman work.
6455 * troff/div.h (class top_level_diversion): Replace
6456 first_page_begun by before_first_page (with opposite sense).
6457 * Change first_page_begun to before_first_page inverting sense.
6458 * troff/div.cc (class nl_reg): New class.
6459 (init_div_requests): Use class nl_reg for \n(nl.
6460 (top_level_diversion::begin_page): Don't call
6461 output_file::begin_page if before_first_page is 2;
6462 reset before_first_page afterwards. If have_next_page_number is
6463 false, then always increment page_number.
6464 * tmac/tmac.an: Set traps within TH rather than at the top-level.
6465 Restore compatibility mode after loading, and then disable
6466 compatibility mode in TH.
6468 Thu Apr 1 11:09:34 1993 James Clark (jjc at jclark)
6470 * grotty/tty.cc (tty_printer::end_page): Don't discard characters
6472 * troff/node.h (output_file::trailer): Declare.
6473 * troff/div.cc (cleanup_and_exit): Call output_file::trailer().
6474 * troff/node.cc (output_file::trailer): New function.
6475 (troff_output_file::~troff_output_file): Move most code into...
6476 (troff_output_file::trailer): New function.
6477 (class troff_output_file): Delete page_length member. Declare
6479 (troff_output_file::really_begin_page): Use current page length
6480 for final V command.
6482 * tbl/main.cc (struct options): New decimal_point_char member.
6483 (options::options): Initialize this.
6484 (process_options): Implement decimalpoint option.
6485 (process_data): Pass decimal_point_char option to table::table.
6486 * tbl/table.h (class table): New decimal_point_char member.
6487 (table::table): Add additional argument.
6488 * tbl/table.cc (find_dot): Rename to find_decimal_point. Add
6489 second argument specifying decimal point character. Use this
6491 (table::table): Initialize decimal_point_char.
6492 (table::add_entry): Change call to find_dot.
6494 * troff/input.cc (get_copy, token::next): Implement \V.
6495 (interpolate_environment_variable): New function.
6497 Tue Mar 30 14:41:39 1993 James Clark (jjc at jclark)
6499 * pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
6500 * pic/pic.y: Likewise.
6502 * grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
6504 * refer/ref.cc (reference::insert_field, reference::delete_field):
6506 * troff/number.cc (parse_term): Likewise.
6508 * acgroff.m4 (GROFF_PROG_YACC): New macro.
6509 * configure.in: Use GROFF_PROG_YACC.
6511 * acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
6513 * Makefile.in (OPTIMIZE): New define.
6514 (DEBUG): Empty by default.
6515 (CCFLAGS, CFLAGS): Include $(OPTIMIZE).
6517 * acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
6518 (GROFF_ARRAY_DELETE): Likewise.
6519 (GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.
6521 * troff/env.cc (trie::~trie): Make virtual to shut up g++.
6523 * devps/psstrip.sed: Use different delimiter on last line (so that
6524 it works with BSD 4.4 sed.)
6526 Mon Mar 29 17:07:14 1993 James Clark (jjc at jclark)
6528 * devps/psstrip.sed: Delete comments.
6530 * acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
6531 optind, opterr, optarg.
6532 * lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
6535 Sun Mar 28 17:44:25 1993 James Clark (jjc at jclark)
6537 * Makefile.in (check): Dummy target.
6539 Wed Mar 3 04:53:38 1993 James Clark (jjc at jclark)
6541 * Version 1.07 released.
6543 * Integrate mm 1.11.
6545 * tbl/table.cc (alphabetic_block_entry::print): start_row was used
6546 where start_col was meant.
6548 Thu Feb 25 07:55:36 1993 James Clark (jjc at jclark)
6550 * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
6552 Wed Feb 24 10:15:34 1993 James Clark (jjc at jclark)
6554 * troff/input.cc (token::next): Make \z\o'...' and similar things
6557 * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
6559 (environment): Add margin_character_flags member.
6560 * env.cc (environment::environment(symbol),
6561 environment::environment(const environment *): Initialize
6562 margin_character_flags.
6563 (margin_character): Rewrite.
6564 (environment::output_line): Add a margin character if
6565 margin_character_flags is non-zero. Turn off the
6566 MARGIN_CHARACTER_NEXT bit. If that makes margin_character_flags
6567 zero, use margin_character_node without copying and then set
6568 margin_character_node to 0.
6570 * devps/DESC.in: Change minimum size to 1000.
6572 Tue Feb 23 14:57:49 1993 James Clark (jjc at jclark)
6574 * troff/symbol.h (symbol::hash): Change return type to unsigned
6576 * troff/dictionary.cc (dictionary::lookup, dictionary::remove):
6579 * test-groff: Use -r rather than -x.
6581 * grops/psfig.diff: Include in distribution again.
6583 Mon Feb 22 09:10:44 1993 James Clark (jjc at jclark)
6585 * Makefile.in (dist): Use gzip.
6587 Sun Feb 21 11:12:53 1993 James Clark (jjc at jclark)
6589 * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
6590 unistd.h as well as in stdlib.h.
6591 * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
6592 defined; otherwise include <sys/types.h> and <unistd.h> if
6593 UNISTD_H_DECLARES_GETOPT is defined.
6595 * configure.in: use builtin(include, ... rather than include(...
6596 * configure: Regenerate with autoconf 1.3.
6598 * libdriver/print.cc (printer::adjust_arc_center): Use new
6599 algorithm suggested by Andy Fyfe.
6601 * libdriver/printer.cc (printer::adjust_arc_center): New function.
6602 * include/printer.h: Declare this.
6603 * grops/ps.cc (ps_printer::draw): Use it.
6604 * grodvi/dvi.cc (dvi_printer::draw): Use it.
6606 Fri Feb 19 23:13:51 1993 James Clark (jjc at jclark)
6608 * Makefile.comm (.man.n): Replace macrodir by tmacdir.
6610 Thu Feb 11 16:46:59 1993 James Clark (jjc at jclark)
6612 * eqn/main.cc (main): Handle "eqn -".
6614 Mon Jan 4 20:29:56 1993 James Clark (jjc at jclark)
6616 * tmac/tmac.e (++): Install fix from comp.bugs.4sd.
6618 * mm: Integrate version 1.08.
6620 * pic/troff.cc (troff_output::finish_picture): Set
6621 EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
6622 * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
6623 if it's not defined. Check whether the register is non-zero rather
6624 than whether it's not defined.
6625 * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
6627 * indxbib/indxbib.cc: Move all signal handling into...
6628 * indxbib/signal.c: New file.
6629 * configure.in: Call AC_RETSIGTYPE.
6631 * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
6632 * configure.in: Call GROFF_STRUCT_EXCEPTION.
6633 * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
6635 * troff/input.cc (token::token, token::operator=): Work round SGI
6637 * pic/object.cc (position::position): Likewise.
6639 Mon Dec 28 21:50:21 1992 James Clark (jjc at jclark)
6641 * pic/pic.h: Move declaration of hypot().
6643 Wed Dec 16 12:28:29 1992 James Clark (jjc at jclark)
6645 * pic/pic.h: Declare hypot().
6647 * pic/pic.h: Define M_PI if necessary.
6649 Thu Dec 10 12:03:29 1992 James Clark (jjc at jclark)
6651 * tmac/tmac.e (re): Add alternative version that doesn't use groff
6654 * devps/prologue.ps (RE): Handle the possibility that the old font
6655 doesn't have a FontName entry.
6657 Wed Dec 2 10:25:29 1992 James Clark (jjc at jclark)
6659 * tmac/tmac.e (fam): Redefine to set family in environment 2.
6660 (@C): Use @fam not fam.
6662 Thu Nov 26 16:01:25 1992 James Clark (jjc at jclark)
6664 * lookbib/lookbib.cc (main): Change type of start to const char *.
6665 * lkbib/lkbib.cc (main): Likewise.
6667 * eqn/lex.cc (definition::definition): Don't use member
6668 initializer syntax for members of anonymous unions.
6670 * troff/input.cc (input_stack::backtrace): Change type of to const
6673 Wed Nov 25 13:43:09 1992 James Clark (jjc at jclark)
6675 * include/stringclass.h (class string): Declare inline friend
6676 functions as inline in class declaration.
6677 * troff/hvunits.h (class hunits, class vunits): Likewise.
6678 * include/refid.h (class reference_id): Likewise
6679 * troff/troff.h (points_to_units(units), scale(units, double)):
6680 Delete declarations.
6681 * libdriver/input.cc (get_char): Delete declaration.
6682 * include/lib.h: Change 2nd argument of getopt from const char **
6684 * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
6685 char **' before assigning to a `const char **'.
6686 * tbl/table.cc: Delete extra declarations of prints().
6688 Tue Nov 24 14:33:13 1992 James Clark (jjc at jclark)
6690 * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
6691 char **' before assigning to a `const char **'.
6693 * libgroff/errarg.cc (errarg::errarg): Don't use member
6694 initializer syntax for members of anonymous unions.
6696 Sat Nov 21 05:02:23 1992 James Clark (jjc at jclark)
6698 * mm: Integrate version 1.07.
6700 Tue Nov 17 16:44:27 1992 James Clark (jjc at jclark)
6702 * troff/input.c (translate2): Rename to
6703 (translate_no_transparent).
6704 (init_input_requests): Rename tr2 to trnt.
6706 Mon Nov 16 09:49:32 1992 James Clark (jjc at jclark)
6708 * troff/charinfo.h (class charinfo): Add transparent_translate field.
6709 (charinfo::set_translation, charinfo::set_special_translation):
6710 Add second argument that specifies value for
6711 transparent_translate.
6712 (charinfo::get_translation, charinfo::get_special_translation):
6713 Add optional second argument that specifies whether translation is
6714 being used for transparent throughput.
6715 * troff/input.cc (charinfo::set_translation,
6716 charinfo::set_special_translation): Handle second argument.
6717 (charinfo::charinfo): Initialize transparent_translate.
6718 (translate): Split main part off into
6719 (do_translate): New function. Pass argument saying whether
6720 translation applies to transparent throughput.
6721 (translate2): New request.
6722 (init_input_requests): Bind translate2 to `tr2'.
6724 Wed Nov 11 11:43:20 1992 James Clark (jjc at jclark)
6726 * tbl/table.h (class table): Add `nokeep' flag.
6727 * tbl/main.cc (process_options): Handle `nokeep' option.
6728 * tbl/table.cc (table::init_output, table::do_row, table::do_top,
6729 table::do_bottom): Don't output keep/release macro definitions or
6730 calls when `nokeep' option has been specified.
6732 Sat Nov 7 01:28:33 1992 James Clark (jjc at jclark)
6734 * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
6736 Wed Nov 4 16:29:04 1992 James Clark (jjc at jclark)
6738 * tbl/table.cc (table_entry::divert, block_entry::do_divert,
6739 block_entry::divert, alphabetic_block_entry::divert): Add extra
6740 argument giving column separation.
6741 (table::compute_widths): Pass column separation to
6742 table_entry::divert().
6743 (block_entry::do_divert): If an entry spans multiple columns and a
6744 minimumum width has been specified for each column, then set the
6745 line length to the sum of the widths (plus possibly the column
6748 * troff/input.cc (set_escape_char): Don't set the escape_char
6749 until after calling has_arg().
6751 Tue Nov 3 11:23:27 1992 James Clark (jjc at jclark)
6753 * tbl/table.cc (table::do_top): Add missing \s0 for double box
6756 * tbl/table.cc (table::print_double_hline): Avoid extra new line
6757 in case where r > nrows - 1.
6759 * tbl/table.cc (BODY_HEIGHT): Deleted.
6760 (LINE_SEP): New definition.
6761 (table::print_single_hline, table::print_double_hline,
6762 table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
6763 table::do_row, table::do_top): Use LINE_SEP space before a line
6764 instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.
6766 * tbl/table.cc (text_entry::print_contents): New function.
6767 (text_string_name, right_text_string_name): Deleted.
6768 (TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
6769 (simple_text_entry::do_width, numeric_text_entry::do_width,
6770 alphabetic_text_entry::do_width): Don't store the contents of the
6772 (left_text_entry::simple_print, right_text_entry::simple_print,
6773 center_text_entry::simple_print,
6774 alphabetic_text_entry::simple_print,
6775 numeric_text_entry::simple_print): Print the entry directly
6776 instead of using the stored string.
6778 Fri Oct 30 10:39:32 1992 James Clark (jjc at jclark)
6780 * devps/Makefile: Strip PostScript files.
6781 * devps/prologue: Rename to...
6782 * devps/prologue.ps.
6783 * devps/psstrip.sed: New file.
6784 * devps/download: Use .pfa rather than .ps for installed versions
6787 Thu Oct 29 09:14:43 1992 James Clark (jjc at jclark)
6789 * troff/env.cc (input_trap): Give a warning if the argument is out
6792 * troff/env.cc (adjust): Treat negative argument as missing. Round
6793 argument > 5 down to 5.
6795 * troff/env.cc (center, right_justify): Make negative argument zero.
6797 * troff/div.cc (page_offset, vertical_position_traps): Treat
6798 invalid argument as missing.
6799 * troff/env.cc (line_spacing, line_length, title_length, indent,
6800 underline, hyphen_line_max_request, control_char,
6801 no_break_control_char, widow_control_request, adjust, input_trap,
6802 point_size): Likewise.
6803 * troff/node.cc (ligature, kern_request, bold_font, track_kern,
6804 constant_space): Likewise.
6805 * troff/input.cc (compatible, shift, warn_request,
6806 set_escape_char): Likewise.
6808 * tbl/main.cc (format::format): Avoid doing `new int[0]'.
6809 * tbl/table.cc (table::table): Likewise.
6811 * Makefile.dev (install_dev): depends on $(DEVFILES).
6813 Wed Oct 28 08:30:57 1992 James Clark (jjc at jclark)
6815 * devX75, devX75-12, devX100, devX100-12: New directories.
6816 * Makefile.in: Add these to DEVDIRS.
6818 * troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
6819 afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
6820 grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
6821 * Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
6823 * Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
6824 (uninstall): New target.
6825 * Makefile.comm (uninstall, uninstall_sub, uninstall_man,
6826 uninstall_prog, uninstall_dev): New targets.
6828 * troff/div.cc (return_request): Treat an invalid argument as
6831 Mon Oct 26 11:33:47 1992 James Clark (jjc at jclark)
6833 * tmac/tmac.e ((f): Set up the environment even when there's a
6834 current diversion. Transperently throughput a call to @N.
6837 Thu Oct 22 05:05:59 1992 James Clark (jjc at jclark)
6839 * tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
6840 up to vertical resolution.
6842 * tbl/table.cc (table::do_row): Change row number after printing
6845 * pic/lex.cc (get_token_after_dot): Make .left and .right work.
6847 Wed Oct 21 14:46:45 1992 James Clark (jjc at jclark)
6849 * Rename CHANGES to NEWS.
6851 Tue Oct 20 23:25:21 1992 James Clark (jjc at jclark)
6853 * libgroff/new.cc (operator new): Avoid calling malloc(0).
6855 Mon Oct 19 09:10:13 1992 James Clark (jjc at jclark)
6857 * man.ultrix: Removed.
6859 Sun Oct 18 06:35:15 1992 James Clark (jjc at jclark)
6861 * Makefile.comm (extraclean): Delete files whose names begin with
6864 * pic/troff.cc (troff_output::text): Fix typo in implementation of
6867 Sat Oct 10 09:32:29 1992 James Clark (jjc at jclark)
6869 * troff/env.cc (hyphenate_request, vertical_spacing, no_number):
6870 * troff/div.cc (page_length, need_space, space_request): Treat
6871 invalid optional argument as missing.
6872 * troff/env.cc (number_lines): If the first argument is present
6873 but not a number, turn on line numbering, don't change the next
6874 line number and parse the remaining arguments.
6876 * tmac/tmac.e (@q): Do the `ne' before changing to environment 2.
6878 Thu Oct 8 10:24:40 1992 James Clark (jjc at jclark)
6880 * eqn/box.h: Change declaration accordingly.
6881 * eqn/box.cc (set_gsize): Change return type to int. Return 0 if
6882 the specified size was bad but don't give an error. Check for
6884 * eqn/main.cc (main): Change caller. Leave validation to set_gsize.
6885 * eqn/lex (do_size): Likewise.
6887 Wed Oct 7 09:48:59 1992 James Clark (jjc at jclark)
6889 * acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
6892 Sun Oct 4 18:24:02 1992 James Clark (jjc at jclark)
6894 * tbl/table.cc (table::init_output): Improve error message when
6895 table won't fit on one page.
6897 Fri Oct 2 10:41:40 1992 James Clark (jjc at jclark)
6899 * pic/troff.cc (troff_output::start_picture): Generate line
6900 containing a horizontal motion equal to the width of the picture.
6902 * groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
6903 using GROFF_COMMAND_PREFIX environment variable.
6905 Fri Sep 25 11:40:40 1992 James Clark (jjc at jclark)
6907 * mdate.sh: Use $NF rather than $(NF).
6909 Tue Sep 22 09:47:24 1992 James Clark (jjc at jclark)
6911 * pic/main.cc (main): Use %1 not %c in argument to warning.
6913 * eqn/main.cc (main): Output code to check that geqn was given the
6916 Mon Sep 21 10:59:16 1992 James Clark (jjc at jclark)
6918 * Makefile.in (dist): Instead of doing `make -f ../Makefile', do
6919 `ln -s ../Makefile .; make; rm -f Makefile'.
6921 * troff/hyphen: Rename to...
6923 * troff/input.cc (main): Delete -H option. Don't call
6925 * troff/env.cc: Include searchpath.h and macropath.h.
6926 (exception_dictionary): Deleted.
6928 (read_hyphen_file): Deleted.
6929 (hyphenation_language): New struct.
6930 (class trie, class hyphen_trie): Move declarations up.
6931 (trie_node::~trie_node): Deleted.
6932 (trie::delete_trie_node): New function.
6933 (trie::do_delete): New pure virtual function.
6934 (hyphen_trie::do_delete): New function.
6935 (trie::~trie): New function.
6936 (hyphen_trie::~hyphen_trie): New function.
6937 (trie::clear): No need to chcek that tp is not 0.
6938 (current_language, language_dictionary): New variables.
6939 (hyphen_word): Give an error if no current language. Use
6940 exceptions dictionary in current language.
6941 (hyphen_trie::read_patterns_file): Find file using macro_path.
6942 Allow comments (starting with %) in patterns file. Don't make it
6943 a fatal error if the file can't be found.
6944 (hyphenate): Return if no current language. Get the exceptions
6945 dictionary and the hyphenation patterns from the current language.
6946 (set_hyphenation_language): New variable.
6947 (hyphenation_patterns_file): New function.
6948 (hyphenation_language_reg): New class.
6949 (hyphenation_language_reg::get_string): New function.
6950 (init_hyphen_requests): Bind "hla" to set_hyphenation_language and
6951 "hpf" to hyphenation_patterns_file. Initialize `.hla' number
6953 * groff/groff.cc (main, help, synopsis): Delete -H option.
6954 * include/Makefile.sub: Don't define HYPHENFILE.
6955 * Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
6956 * Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
6957 * tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
6958 hyphenation patterns.
6960 Sun Sep 20 09:33:02 1992 James Clark (jjc at jclark)
6962 * eqn/neqn.sh: New file.
6963 * eqn/Makefile.sub: Handle neqn.sh.
6965 * eqn/eqn.h: Declare `nroff' variable.
6966 * eqn/box.cc (param_table): Add `nroff' param.
6968 * eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
6970 * tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.
6972 * troff/troff.h (WARN_FONT): New warning.
6973 (WARN_TOTAL): Change accordingly.
6974 * troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
6975 (warning_table): Add WARN_FONT.
6976 * troff/node.cc (mount_font_no_translate): Pass argument to
6977 font::load_font. If this is non-zero, give a warning.
6978 Don't give an error message when accessing a font that has already
6979 been found to be invalid.
6980 * include/font.h (font::load, font::load_font): Add additional
6981 optional argument which suppresses error message if the font is
6983 * libgroff/font.cc (font::load_font): Handle additional argument.
6984 (font::load): Add additional argument. If this is non-null, set it
6985 to 1 and don't give error message.
6987 * include/printer.h (printer::end_page): Add argument giving
6989 * libdriver/input.cc (do_file): Pass this.
6990 * grops/ps.cc (ps_printer::end_page): Add argument.
6991 * grodvi/dvi.cc (dvi_printer::end_page,
6992 draw_dvi_printer::end_page): Add argument.
6993 * grotty/tty.cc (class tty_printer): Remove lines_per_page and
6994 columns_per_page members. New member nlines.
6995 (DEFAULT_LINES_PER_PAGE): Deleted.
6996 (tty_printer::tty_printer): Don't compute lines_per_page from
6997 font::paperlength. Don't compute columns_per_page from
6999 (tty_printer::add_char): Don't check horizontal position against
7000 columns_per_page. Grow glyphs vector if neccessary.
7001 (tty_printer::end_page): Add argument giving page_length in units.
7002 Discard lines past end of page.
7004 Wed Sep 16 06:29:52 1992 James Clark (jjc at jclark)
7006 * tmac/tmac.tty-char: Fix definition of \(/l.
7008 * tmac/tmac.X: Define \(en.
7010 Tue Sep 15 10:37:13 1992 James Clark (jjc at jclark)
7012 * acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
7013 lpq, then use lp rather than lpr.
7015 * tmac/tmac.s (par@reset): Don't call `ad'.
7016 (par*env-init): Call `ad'.
7018 Sun Sep 13 18:48:20 1992 James Clark (jjc at jclark)
7020 * mdate.sh: Use $(NF) instead of $6 to extract year from output of
7023 * troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
7024 * indxbib/indxbib.cc: Likewise.
7026 Sun Sep 6 09:44:46 1992 James Clark (jjc at jclark)
7028 * libgroff/putenv.c: New file.
7029 * libgroff/Makefile.sub: Add putenv.c to CSRCS.
7030 * Makefile.in: Say that putenv.o can be one of LIBOBJS.
7031 * configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
7032 stdlib.h with AC_HAVE_HEADERS.
7034 Sat Sep 5 18:11:52 1992 James Clark (jjc at jclark)
7036 * indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
7039 Fri Sep 4 09:43:26 1992 James Clark (jjc at jclark)
7041 * eqn/box.cc (gsize): Make it an int.
7042 (set_gsize): Parse argument handling increment or decrement.
7043 (box::top_level): Convert gsize to a string.
7045 * troff/input.cc (exit_troff): Make buf unsigned char [].
7046 Call to make_temp_iterator casts buf to char*.
7048 * Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.
7050 * Makefile.ccpg (depend.temp): Depends on $(YTABC).
7051 * Makefile.cpg (depend.temp): Likewise.
7053 * Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).
7055 * Makefile.comm: Add y.output to MOSTLYCLEANFILES.
7057 Thu Sep 3 08:01:55 1992 James Clark (jjc at jclark)
7059 * tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.
7061 Tue Sep 1 18:24:53 1992 James Clark (jjc at jclark)
7063 * Version 1.06 released.
7065 * Integrate mm 1.04.
7067 Fri Aug 28 11:28:19 1992 James Clark (jjc at jclark)
7069 * Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.
7071 Thu Aug 27 11:03:33 1992 James Clark (jjc at jclark)
7073 * afmtodit/afmtodit.pl: Add -n option that disables generation of
7075 * devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
7076 afmtodit. Regenerate.
7078 * tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
7079 @f back past the current position.
7081 * tmac/tmac.e: Change calls to @R so that comments are not part of
7084 Tue Aug 25 10:42:07 1992 James Clark (jjc at jclark)
7086 * configure.in: Check for mkstemp with AC_HAVE_FUNCS.
7088 * acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
7089 check that we can link a call to a function declared in <stdio.h>.
7090 (GROFF_UNISTD_H): New macro.
7091 * configure.in: Call it.
7092 * Makefile.in: Document it.
7093 * include/posix.h: New file.
7094 * troff/troff.h: Don't include <osfcn.h>
7095 * troff/input.cc: Include posix.h.
7096 * libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
7098 * indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
7099 Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
7101 * indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
7102 * libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
7103 * libbib/search.cc (O_RDONLY): Delete definition.
7104 * refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
7105 Don't include <osfcn.h>.
7107 * acgroff.m4 (GROFF_TIME_T): New macro.
7108 * configure.in: Call it.
7109 * Makefile.in: Document it.
7111 * acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
7112 * configure.in: Call it.
7113 * Makefile.in: Document -DTRADITIONAL_CPP.
7114 * include/ptable.h: Don't include generic.h.
7117 * tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
7118 Afterwards remove [T1 and [T2.
7119 (ref*spec!0, ref*spec!2): Use T1 rather than T.
7120 (ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
7121 (ref*add-T2): Renamed from ref*add-T.
7122 (ref*add-T1): New macro.
7124 Mon Aug 24 11:11:11 1992 James Clark (jjc at jclark)
7126 * acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.
7128 * libbib/index.cc: Include <fcntl.h>.
7129 (O_RDONLY): Define if necessary.
7130 (make_index_search_item, index_search_item_iterator::get_tag,
7131 index_search_item::check_files): Use O_RDONLY.
7132 * libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
7133 (O_RDONLY): Define if necessary.
7134 (search_list::add_file): Use O_RDONLY.
7135 * indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
7137 (S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
7140 * libbib/index.cc (S_ISREG): Define it if necessary.
7141 (index_search_item::load): Use S_ISREG.
7143 * include/driver.h: Include <errno.h>.
7145 Sun Aug 23 11:32:18 1992 James Clark (jjc at jclark)
7147 * eqn/box.cc (body_height): Increase default value to 85.
7148 (body_depth): Increase default value to 35.
7150 Fri Aug 21 05:34:42 1992 James Clark (jjc at jclark)
7152 * eqn/pbox.h (SAVE_FONT_STRING): Define it.
7153 * eqn/box.cc (box::top_level): Hide use of \R in a string that is
7154 protected from expansion with \E.
7156 * acgroff.m4 (GROFF_PAGE): Use `case' to test domain.
7158 * Makefile (Makefile): New target.
7160 * Makefile.sub (configure, distfiles): New targets.
7162 * acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
7165 Thu Aug 20 12:27:26 1992 James Clark (jjc at jclark)
7167 * eqn/box.cc (param_table): Add body_height and body_depth.
7169 * eqn/lex.cc (def_table): Make circumflex in hat_def roman.
7171 Tue Aug 18 16:24:25 1992 James Clark (jjc at jclark)
7173 * psbb/Makefile.sub: Don't link with libgroff.a.
7175 * acgroff.m4 (GROFF_PUTENV): New macro.
7176 * configure.in: Call GROFF_PUTENV.
7177 * Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
7178 * groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
7181 * troff/env.cc (distribute_space): Rename force_forward argument
7182 to force_reverse. Reverse the list if force_reverse is true.
7184 Mon Aug 17 17:49:05 1992 James Clark (jjc at jclark)
7186 * tmac/tmac.an: Don't define a string `T'. Just define Tm.
7188 * eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
7189 height or depth to be negative. Guard against SUP_RAISE quantity
7192 Sat Aug 15 08:18:54 1992 James Clark (jjc at jclark)
7194 * devps/generate/textmap: Add `an' (arrowhorizex).
7195 * tmac/tmac.ps: \(an overlaps horizontally.
7196 * tmac/tmac.dvi, tmac/tmac.tty: Add `an'.
7198 * devps/symbolchars: Add arrowverttp, arrowvertbt.
7199 * devps/textmap: Add arrowvertex.
7200 * eqn/delim.cc (delim_table): Add uparrow, downarrow and
7201 updownarrow delimiters.
7202 * tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.
7204 * tbl/table.cc (simple_entry::position_vertically,
7205 block_entry::position_vertically): For a centered entry, perform
7206 the motion in two stages.
7208 * refer/refer.cc (split_punct): Don't call lookup_token if there
7211 Fri Aug 14 11:14:58 1992 James Clark (jjc at jclark)
7213 * troff/input.cc (token::next): Delete token_node after copying
7216 * grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
7219 * libdriver/printer.cc (printer::load_font): Delete old_font_table.
7221 * grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.
7223 Tue Aug 11 13:50:38 1992 James Clark (jjc at jclark)
7225 * grops/ps.cc (usage): -b option takes an argument.
7227 * devps/prologue (PLG): New procedure.
7228 * grops/ps.cc (main, usage): New -g option.
7229 (ps_printer::~ps_printer): If guess_flag is set, guess the paper
7232 Mon Aug 10 11:17:53 1992 James Clark (jjc at jclark)
7234 * include/cset.h: Include <limits.h> if we have it.
7236 * libgroff/illegal.cc: New file.
7237 * include/lib.h (illegal_input_char): Use table.
7238 * troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
7239 * pic/lex.cc (ARG1): Renumber to 14.
7240 * eqn/lex.cc (ARG1: Likewise.
7242 * troff/Makefile.sub (majorminor.cc): Handle 3 part versions
7243 (eg 1.05.90) correctly.
7245 Sun Aug 9 13:35:43 1992 James Clark (jjc at jclark)
7247 * tmac/tmac.e (sr): Deleted. Set $r and $R directly.
7248 Rename $r and $R registers to $v and $V.
7249 ($r, $R): Initialize to 0.
7250 (@v, @V): New macros.
7254 * troff/input.cc (main, usage): Add -R option that says not to
7256 * eqn/main.cc (main, usage): Rename -n to -R.
7258 Sat Aug 8 00:16:00 1992 James Clark (jjc at jclark)
7260 * devps/DESC.in: Leave font positions 5-9 blank.
7261 * devdvi/DESC.in: Likewise.
7263 * grog/grog.pl: Handle `.PS <file' correctly.
7265 * troff/input.cc (input_stack::push): Improve error message when
7266 input stack limit exceeded.
7268 Fri Aug 7 13:08:16 1992 James Clark (jjc at jclark)
7270 * refer/refer.cc (main): Fix typo in handling of `a' option.
7272 * refer/refer.cc (do_bib): In state START after a newline remain
7275 * groff/groff.sh: Deleted.
7276 * groff/Makefile.sub: Delete handling of groff.sh.
7278 * pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
7279 to determine whether to use \X'ps:...'.
7280 * tmac/troffrc: Set 0p register to 0.
7281 * tmac/tmac.ps: Set 0p register to 1.
7283 * groff/groff.cc: Support -X option. Give warning for -TXps and
7284 transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
7285 * tmac/troffrc: Support -r.X=1.
7287 * pic/troff.cc (troff_output::dot): Don't test
7288 zero_length_line_flag.
7290 Thu Aug 6 13:32:08 1992 James Clark (jjc at jclark)
7292 * include/lib.h: Declare getopt() and friends unless
7293 STDLIB_H_DECLARES_GETOPT is defined.
7295 * doc/chars.tr: Delete.
7296 * man/groff_char.man: New file.
7298 Wed Aug 5 00:38:58 1992 James Clark (jjc at jclark)
7300 * tmac/tmac.e (np, bu): Test \n($p with string expression in case
7301 user has changed register format.
7303 Mon Aug 3 11:22:18 1992 James Clark (jjc at jclark)
7305 * groff/groff.cc: Get rid of device_table. Get postprocessor from
7306 `postpro' command in DESC file. Get spooler command from `print'
7307 command in DESC file. Execute spooler command with /bin/sh.
7309 * groff/groff.cc: Split Unix-specific parts into...
7310 * groff/pipeline.c: New file.
7313 * COPYING: New file.
7314 * all files: Update copyright notices.
7316 * Rearrange files. Redo Makefiles. Use autoconf.
7318 Sat Aug 1 09:36:50 1992 James Clark (jjc at jclark)
7320 * troff/input.c (charinfo_to_node_list): Interpret character
7321 definition with escape_char of `\'.
7323 Tue Jul 28 12:20:12 1992 James Clark (jjc at jclark)
7325 * lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
7326 Define INT_DIGITS as big enough for 64-bit integer.
7327 * lib/strtol.c: Don't include lib.h.
7328 * lib/lib.h: Delete ifdef __cplusplus stuff.
7330 Mon Jul 27 11:08:50 1992 James Clark (jjc at jclark)
7332 * ps/devps/Makefile: Add DESC to DEVICEFILES. Separate out rule
7333 for making DESC. Make $(FONTS) depend on DESC. afmtodit should
7334 get DESC from current directory.
7336 Sun Jul 26 15:38:26 1992 James Clark (jjc at jclark)
7338 * tbl/main.c (main): Always reset the line number when reading
7341 * tbl/table.c (table::print_single_hline, table::print_double_hline,
7342 table::define_bottom_macro, table::do_row, table::do_top): Round
7343 vertical spacing up to vertical resolution.
7345 Fri Jul 24 14:32:07 1992 James Clark (jjc at jclark)
7347 * ps/ps.h (enum resource_type): Avoid comma at end of
7349 * dvi/dvi.c (class dvi_printer): Likewise.
7350 * dvi/tfmtodit.c (gf::load): Likewise.
7351 * refer/label.y (struct expression): Likewise.
7352 * refer/refer.c (class label_processing_state): Likewise.
7353 * refer/indxbib.c (do_file): Likewise.
7354 * troff/troff.c (enum warning_type): Likewise.
7355 * tbl/main.c (process_data): Likewise.
7356 * troff/charinfo.h (class charinfo):
7358 Wed Jul 22 09:17:58 1992 James Clark (jjc at jclark)
7360 * dvi/devdvi/textt.map: Add entry for `-'. Regenerate fonts.
7362 Tue Jul 21 11:39:26 1992 James Clark (jjc at jclark)
7364 * groff.c: Move to new groff subdirectory.
7365 * groff/Makefile: New file.
7366 * Makefile: Remove handling of groff.c. Add groff to SUBDIRS.
7368 * man/mdate.sh: Use ls -L if supported.
7370 * Consolidate all header files produced by gendef into lib/defs.h.
7371 * lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
7372 Don't include path.h.
7373 * lib/Makefile (path.h): Don't generate.
7374 * troff/input.c: Include defs.h. Don't include config.h.
7375 * troff/Makefile (config.h): Don't generate.
7376 * refer/index.h: Don't include suffix.h.
7377 * refer/index.c: Include defs.h.
7378 * refer/indxbib.c: Include defs.h.
7379 * refer/refer.h, refer/lkbib.h: Don't include path.h. Include
7381 * refer/Makefile (suffix.h, path.h): Don't generate.
7382 * groff.c: Don't include config.h. Include defs.h.
7383 * Makefile (config.h): Don't generate.
7384 (lib/defs.h): Generate.
7385 (topclean): Remove lib/defs.h.
7387 Mon Jul 20 10:12:57 1992 James Clark (jjc at jclark)
7389 * lib/malloc.c, lib/getpagesize.h: Deleted.
7390 * Makefile: Add COOKIE_BUG configuration option. Delete malloc
7392 * lib/Makefile: Delete malloc-related stuff.
7393 * lib/new.c: Workaround COOKIE_BUG if necessary.
7395 * refer/lkbib.c, refer/indxbib.c: Don't include refer.h. Include
7396 needed header files directly.
7397 * refer/refer.h: Omit definition of DEFAULT_INDEX.
7398 * Makefile: Include definition of DEFAULT_INDEX in path.h.
7400 Sun Jul 19 10:19:22 1992 James Clark (jjc at jclark)
7402 * lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
7404 * lib/font (font::load_desc, font::load): Don't split argument of
7406 (font::handle_unknown_font_command): Change type.
7407 * ps/ps.c (ps_font::handle_unknown_font_command,
7408 handle_unknown_desc_command): Change type.
7409 * dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.
7411 Fri Jul 17 11:12:49 1992 James Clark (jjc at jclark)
7413 * lib/font.h (font::handle_unknown_font_command): Add file and
7415 * lib/font.c (font::handle_unknown_font_command):
7416 * ps/ps.c (ps_font::handle_unknown_font_command):
7417 * dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
7418 lineno arguments. Use _with_file_and_line functions for error
7421 * lib/fontfile.c (font::unknown_desc_command_handler): New static
7423 * lib/font.c (font::set_unknown_desc_command_handler): New
7425 (font::load_desc): For unknown commands, call
7426 unknown_desc_command_handler if not null.
7427 * lib/font.h (class font): Declare them.
7428 (FONT_COMMAND_HANDLER): New typedef.
7429 * ps/ps.c (handle_unknown_desc_command): New function.
7430 (main): Set bflag if we had a -b option. Call
7431 font::set_unknown_desc_command_handler.
7432 (broken.h): Don't include.
7433 * ps/Makefile: No need for broken.h. Pass BROKEN_SPOOLER_FLAGS to
7435 * ps/devps/Makefile: Add `broken' command to DESC file using
7436 BROKEN_SPOOLER_FLAGS.
7438 * macros/tmac.e ([, ]): Add as synonyms for { and }.
7440 * macros/tmac.e ($p): Only exdent if \$3 > 0.
7442 * macros/tmac.e (@R, @S): New macros.
7443 Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
7444 ?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
7445 Declare $H, $[0-9], .. macros with @S.
7446 Declare |0, |1, |2, |3 strings with @S.
7448 * macros/tmac.e (@S): Rename to @U.
7450 * macros/tmac.e (@z): Define @b and bp as empty instead of
7453 * macros/tmac.e (@m): Deleted.
7454 (@h): Don't call @m.
7455 (@z): Don't set @m trap.
7457 * macros/tmac.e ($h, $f): Define |z as empty string.
7459 * macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
7462 * macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
7464 ()f): Likewise for * register.
7466 * macros/tmac.e (sr): Don't ever scale the arguments. If the third
7467 argument is missing, don't change $R. Call sr with three
7468 arguments when initializing.
7470 Thu Jul 16 12:17:12 1992 James Clark (jjc at jclark)
7472 * macros/tmac.e (sr): New macro.
7473 Initialize $r and $R using sr.
7475 * macros/tmac.e (,): Delete \*(#[.
7477 * troff/env.c (set_tabs): Read the tab type even if the position
7478 is bad. Allow the position of the first tab stop to be negative.
7480 Wed Jul 15 13:14:37 1992 James Clark (jjc at jclark)
7482 * refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
7484 * refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
7485 rather than -DPATHCONF_MISSING.
7486 * Makefile: Get rid of PATHCONF_MISSING.
7488 * refer/map.c: New file.
7489 * refer/index.c: Interface to mmap through map.c. Rename map_size
7491 * refer/Makefile: Handle map.c.
7492 * Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.
7494 Tue Jul 14 14:15:20 1992 James Clark (jjc at jclark)
7496 * Makefile: RANLIB should be `true' if there is no ranlib.
7497 * lib/Makefile (libgroff.a): Simplify.
7498 * driver/Makefile (libdriver.a): Simplify.
7500 * Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
7501 * groff.c (WCOREDUMP): Use WCOREFLAG. Define only if not already
7504 Sat Jul 11 09:19:17 1992 James Clark (jjc at jclark)
7506 * troff/env.c (compare_ranges): Declare as extern "C".
7508 * troff/input.c (init_registers): Use `struct tm' instead of `tm'.
7510 * macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.
7512 Wed Jul 8 11:52:27 1992 James Clark (jjc at jclark)
7514 * pic/troff.c (troff_output::text): Merge in grops_output::text,
7515 but conditionalize use of \X based on \*(.T.
7516 (grops_output::*): Deleted.
7517 * pic/output.h: Delete declaration of make_grops_output.
7518 * pic/main.c (main): Ignore -p and -x. driver_extension_flag is 1
7519 by default. -n sets it to 0.
7520 (usage): Corresponding changes.
7521 * groff.c (main): Don't pass -x or -p to pic.
7522 * groff.sh: Likewise.
7524 * ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
7527 * ps/devps/afmtodit: Change calculation of asc_boundary and
7528 desc_boundary. Make these bounds inclusive.
7529 * ps/devps: Regenerate font files.
7531 Tue Jul 7 13:14:15 1992 James Clark (jjc at jclark)
7533 * macros/tmac.latin1: New file.
7534 * macros/tmac.tty-char: Use tmac.latin1.
7535 (tmac.tty-tr): Deleted.
7536 * macros/Makefile: Install tmac.latin1.
7537 * macros/tmac.dvi: Use tmac.latin1.
7538 * macros/troffrc: Translate \[char160] onto no-break space here.
7539 * macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.
7541 Mon Jul 6 11:06:52 1992 James Clark (jjc at jclark)
7543 * macros/tmac.Xps: Use `do' request.
7545 * macros/tmac.ps: Use `do' request.
7547 * macros/tmac.e (@C): Use `do' request.
7549 * macros/tmac.X, macros/tmac.Xps: Moved from xditview.
7550 * macros/Makefile: Install tmac.X*.
7552 * tty/tmac.tty, tty/tmac.tty-char: Move to macros.
7553 * tty/Makefile: Don't install tmac.tty*.
7554 * macros/Makefile: Install tmac.tty*.
7556 * dvi/tmac.dvi: Move to macros.
7557 * dvi/Makefile: Don't install tmac.dvi.
7558 * macros/Makefile: Install tmac.dvi.
7560 * ps/tmac.ps*: Move to macros.
7561 * ps/Makefile: Don't install tmac.ps*.
7562 * macros/Makefile: Install tmac.ps*.
7564 * eqn/box.c: Provide draw_lines parameter corresponding to -D
7566 * macros/eqnrc: Set draw_lines parameter based on device.
7567 * groff.c: Don't pass -D flag to eqn.
7568 * groff.sh: Likewise.
7569 * eqn/main.c: Warn about use of -D.
7571 * troff/input.c (process_startup_file): New function.
7572 (main): Call process_startup_file().
7573 * macros/troffrc: New file.
7574 * macros/Makefile: Install troffrc.
7575 * groff.c (main): Don't pass extra -m option to troff. For a
7576 pseudo device pass the name of the pseudo device to troff using
7578 * groff.sh: Likewise.
7579 * groff.c (possible_command::prepend_arg): Deleted.
7581 * troff/input.c (do_request): New function.
7582 (init_input_requests): Bind "do" to do_request.
7584 * eqn/main.c (main): Instead of loading eqnchar from device directory,
7585 load eqnrc from macro directory.
7586 * macros/eqnrc: New file.
7587 * macros/Makefile: Install eqnrc.
7588 * ps/devps/eqnchar: Deleted.
7589 * ps/devps/Makefile: Don't install eqnchar.
7590 * dvi/devdvi/eqnchar: Deleted.
7591 * dvi/devdvi/Makefile: Don't install eqnchar.
7592 * groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
7595 * lib/device.[ch]: New files.
7596 * lib/font.h (font::set_device_name, font::get_device_name):
7598 * lib/fontfile.c: Use device.h.
7599 * lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
7600 * troff/input.c: Delete definition of `device'.
7601 (main): Don't initialize device.
7602 * troff/troff.h: Include device.h rather than declaring device.
7603 * troff/Makefile: No need to handle DEVICE.
7604 * driver/input.c: Include device.h. Don't use
7605 font::{set,get}_device_name.
7606 * groff.c, Makefile: Rename device.h to config.h.
7607 * groff.c: Use library device variable.
7608 * eqn/main.c: Use library device variable.
7609 * eqn/Makefile: No need to handle DEVICE.
7611 * lib/searchpath.[ch]: New files.
7612 * lib/Makefile: Handle searchpath.[ch].
7613 * troff/input.c (open_file, init_dirs): Deleted.
7614 (macro_dirs): Deleted.
7615 (open_mac_file, macro_source): Use class search_path.
7616 (add_string, struct string_list): Move definition.
7617 (main): Change -M option to use macro_path. Delete call to
7619 * lib/fontfile.c (font::command_line_font_dir, font::open_file):
7620 Rewrite to use class search_path.
7621 * lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
7622 * lib/Makefile: fontfile.c depends on searchpath.h.
7623 * lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
7625 * lib/macropath.[ch]: New files.
7626 * troff/Makefile: No need to handle MACROPATH.
7628 * troff/input.c: Delete DUMP code.
7629 * lib/fontfile.c, lib/font.h: Delete
7630 font::forget_command_line_font_dirs.
7632 * troff/input.c (push_token): New function.
7633 (handle_first_page_transition): Use push_token().
7634 (process_input_stack): Change handling of a space at the beginning
7637 Sun Jul 5 17:11:09 1992 James Clark (jjc at jclark)
7639 * troff/input.c (font_dirs): Delete unused variable.
7641 * eqn/lex.c (do_set): Correct error messages.
7643 Sat Jul 4 10:20:55 1992 James Clark (jjc at jclark)
7645 * troff/input.c (do_define_string): Allow the string name to be
7646 followed immediately by a tab.
7647 (define_character): Likewise.
7649 Thu Jul 2 10:59:15 1992 James Clark (jjc at jclark)
7651 * ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
7654 * troff/input.c (input_iterator::is_file): New virtual function.
7655 (file_iterator::is_file): New function.
7656 (input_stack::end_file): New function.
7657 (input_stack::next_file): Handle the situation where there is no
7658 file on the input stack correctly. Avoid making two passes over
7660 (next_file): Make the filename optional; in this case call
7661 input_stack::end_file().
7663 Wed Jul 1 10:17:25 1992 James Clark (jjc at jclark)
7665 * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
7666 produce a real _ charater when the current font is CW and _
7669 * lib/errarg.c (errarg::errarg(const char *)): Invert conditional
7670 expression to work around gcc 2.2 bug.
7672 Wed Jun 24 08:12:24 1992 James Clark (jjc at jclark)
7674 * eqn/main.c (main): Don't give an error if we can't find eqnchar.
7676 * troff/env.c (environment::add_padding): New function.
7677 (environment::add_char): Use add_padding().
7678 (environment::space): Likewise.
7679 (environment::wrap_up_field): Add some padding if there is none
7680 and there's no current tab.
7681 * troff/env.h: Declare environment::add_padding.
7683 Mon Jun 22 08:37:45 1992 James Clark (jjc@jclark)
7685 * pic/pic.y: undef fmod and rand before declaring them.
7687 Sun Jun 14 11:40:18 1992 James Clark (jjc@jclark)
7689 * troff/input.c (main): If the DESC file specifies a font name of
7690 0, then leave the corresponding font position empty.
7692 * nroff.sh: New file.
7693 * Makefile (install.nobin): Install nroff.sh.
7695 * tty/devlatin1/R.proto: Add ao as synonym for de.
7696 * tty/tmac.tty-char: Define ao as o.
7698 * tty/dev{ascii,latin1}/R.proto: Add aq.
7699 * tty/tmac.tty-char: Delete definition of aq.
7701 Mon Jun 8 11:43:20 1992 James Clark (jjc@jclark)
7703 * troff/input.c (init_charset_table): Don't translate 0240.
7704 * ps/tmac.ps: Translate char160 to space.
7705 * dvi/tmac.dvi: Likewise.
7706 * tty/tmac.tty: Likewise.
7708 Sun Jun 7 10:52:35 1992 James Clark (jjc@jclark)
7710 * dvi/tmac.dvi: Add support for all Latin-1 characters.
7712 * macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
7713 \(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
7716 * tty/tmac.tty-char: Add \(ah.
7718 * dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
7719 No need to define \(FM and \(!/. Conditionalize all character
7722 * ps/devps/lgreekmap: Add +h, +f, +p.
7724 * ps/tmac.psnew: New file.
7725 * ps/Makefile: Install tmac.psnew.
7727 * troff/input.c (charinfo_to_node_list): Don't ever interpret
7728 character definitions in compatible mode.
7730 * troff/input.c (remove_character): New function.
7731 (init_input_requests): Bind remove_character to "rchar".
7733 * ps/tmac.psold: New file.
7734 * ps/Makefile: Install tmac.psold.
7735 * ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
7736 characters into tmac.psold. Make these definitions unconditional.
7738 * tty/tmac.tty-char: Define \n(_C only if it is not already defined.
7740 * ps/tmac.ps: Don't define \('c and \('C.
7742 * ps/devps/textmap: Move Greek characters to...
7743 * ps/devps/symbolchars:
7745 Sat Jun 6 16:41:17 1992 James Clark (jjc@jclark)
7747 * ps/devps/text.enc: Add quotesingle.
7748 * ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
7749 * tty/tmac.tty-char: Likewise.
7750 * dvi/devdvi/texmi.map: Add +h, +f, +p.
7751 * dvi/devdvi/texi.map: Add Fn.
7752 * dvi/devdvi/msam.map: Add lz.
7753 * dvi/tmac.dvi: Handle Bq, bq, aq.
7755 * pic/lex.c (get_token): Recognize 'th.
7756 * pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.
7758 Fri Jun 5 11:20:46 1992 James Clark (jjc@jclark)
7760 * ps/devps/textmap: Move di, mu, +- to...
7761 * ps/devps/symbolchars:
7763 * macros/tmac.s (@XS): Don't call par@reset or fi.
7764 (XA): Call LP. Turn off adjustment. Reduce line length.
7766 * macros/tmac.s: Initially alias XS to LP.
7767 (XS): Rename to @XS.
7768 (cov*ab-init): Alias XS to @XS.
7770 Thu Jun 4 09:12:05 1992 James Clark (jjc@jclark)
7772 * troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
7773 TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
7774 (token::is_size, token::changes_env): Deleted.
7775 * troff/number.c (parse_term): No need to process \s explicitly.
7776 Call tok.next() only after scale indicator has been processed.
7777 * troff/input.c (do_overstrike, do_bracket): No need to process \s,
7779 (token::next): Handle \s, \f, \S, \H immediately rather than
7780 returning them as tokens.
7781 (token::operator==, token::description, token::add_to_node_list,
7782 token::process): Remove handling of deleted tokens.
7784 * troff/env.c (environment::add_char): When adding padding
7785 indicator character, call start_line() if necessary.
7787 Wed Jun 3 09:55:50 1992 James Clark (jjc@jclark)
7789 * ps/devps/afmtodit: Don't output 0 kerns.
7791 * ps/devps/afmtodit: Remove directory from name of encoding in
7792 font description file.
7794 * ps/devps/afmtodit: Improve error messages.
7796 * ps/devps/afmtodit: Allow DESC file to be specified with -d.
7798 * ps/devps/Makefile: Incorporate FontMakefile. Rework.
7799 * ps/devps/FontMakefile: Deleted.
7800 * ps/devps/afmname: New file.
7802 * ps/devps/symbol.sed: New file.
7803 * ps/devps/symbol.diff: Deleted.
7804 * ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
7805 Generate zapfdr.afm from zapfd.afm.
7807 * tty/tmac.tty (tty-char): Prefix definition with ".
7809 * macros/tmac.an (TP): Don't start a diversion if one has already
7812 * tty/tmac.tty-char: Add Latin-1 characters.
7814 * tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.
7816 Tue Jun 2 00:54:34 1992 James Clark (jjc@jclark)
7818 * tbl/table.c (table::allocate): Delete old_vline, old_entry.
7819 Move declaration of struct horizontal_span.
7821 * tbl/table.c (table::table): Initialize span_list.
7822 (table::~table): Delete span_list.
7824 * lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.
7826 * ps/devps/Makefile: Avoid dependency on GNU make.
7828 * ps/tmac.ps: Check that character does not already exist before
7831 * tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
7832 \(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
7833 \(ru, \(ul, \(br, \(bv, \(sl which are in the font description
7836 * tty/tmac.tty-char: New file.
7837 * tty/Makefile: Install tmac.tty-char.
7838 * tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
7841 * tty/tmac.tty: Fix definition of \(34.
7843 * tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
7844 bracket-drawing characters onto |. Add *o.
7846 * troff/env.c (environment::wrap_up_tab): Increment field_spaces
7847 only if current_field.
7849 * troff/dictionary.c (dictionary::lookup): Free old_table after
7852 Mon Jun 1 10:15:22 1992 James Clark (jjc@jclark)
7854 * tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
7855 whose glyphs are identical to glyphs of some Roman character.
7857 * tty/devlatin1/R.proto (bu): Deleted.
7858 * tty/devascii/R.proto (bu): Deleted.
7859 * tty/tmac.tty: Add definition of \(bu.
7861 * eqn/main.c (do_file): Pass FILE as argument.
7862 (main): Automatically load eqnchar. New options -F and -n.
7863 Pass do_file an opened FILE.
7864 * groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
7865 No need to include font.h.
7866 * groff.sh: Likewise. Don't need to use - for standard input.
7867 Prefix files with -- if first file starts with -.
7869 * macros/tmac.e: Conditionalize use of \$* on \n(.g.
7871 * troff/env.c (environment::possibly_break_line): Don't set line
7872 to 0 across call to output_line(). Don't call output_line() until
7873 after discarding nodes after break.
7875 Sun May 31 10:45:29 1992 James Clark (jjc@jclark)
7877 * request.h (macro::empty): Declare it.
7878 * input.c (macro::empty): New method.
7879 (interpolate_macro): Don't give a WARN_SPACE if the two-character
7882 Sat May 30 10:27:15 1992 James Clark (jjc@jclark)
7884 * troff/env.c (environment::start_field): Decrement space_total
7885 when a space is frozen.
7887 Fri May 22 14:34:38 1992 James Clark (jjc@jclark)
7889 * macros/tmac.an (R): Delete macro.
7891 * troff/input.c (get_copy, token::next): Support \# (like \" but
7892 newline is ignored).
7894 * troff/input.c (token::next): Fix error message in 'Y' case.
7896 Thu May 21 09:26:24 1992 James Clark (jjc@jclark)
7898 * eqn/delim.c (define_extensible_string): Recognize any prefix of
7901 Fri May 15 10:20:41 1992 James Clark (jjc at jclark)
7903 * c++test.c: Include <osfcn.h>.
7905 * lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
7908 Fri May 8 09:37:19 1992 James Clark (jjc at jclark)
7910 * tbl/table.c (table::divide_span): Don't count column separation
7911 if expand was specified.
7913 * tbl/main.c (process_format): Don't ignore width specs in
7914 continued format. Give warning for changing equal widths or
7915 column separation in continued format.
7916 (process_data): Set column separation, minimum width, equal
7917 columns at end of table.
7919 Thu May 7 08:50:40 1992 James Clark (jjc at jclark)
7921 * troff/node.c (kern_pair_node::add_discretionary_hyphen,
7922 node::add_discretionary_hyphen): Use soft_hyphen_char.
7923 (set_soft_hyphen_char): New function.
7924 (init_node_requests): Bind to shc. Initialize soft_hyphen_char.
7926 * Makefile (c++tested): Give more helpful message if test fails.
7928 Tue May 5 10:58:39 1992 James Clark (jjc at jclark)
7930 * troff/input.c (init_charset_table): Translate 0240 to
7931 an unbreakable space.
7933 * troff/token.h (token::hyphen_indicator): New function.
7934 * troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
7936 * troff/input.c (translate): Allow translation to \%.
7937 * troff/node.c (node::add_char): Handle
7938 TRANSLATE_HYPHEN_INDICATOR.
7939 (make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.
7941 * troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
7944 * tty/devlatin1/R.proto: \(hy and - should print as 055.
7946 Tue Apr 21 09:24:42 1992 James Clark (jjc at jclark)
7948 * groff.c (run_commands): If the last command gets a SIGPIPE send
7949 a SIGPIPE to all children than haven't yet terminated. When
7950 command terminates, set pid field to -1.
7952 Fri Apr 17 11:20:48 1992 James Clark (jjc at jclark)
7954 * groff.c (main): Pass an appropriate -filename option to gxditview.
7956 Thu Apr 16 15:11:40 1992 James Clark (jjc at jclark)
7958 * Makefile.bd (install): Remove existing program before copying.
7960 * Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
7961 programs which have Unix counterparts to be installed with
7962 user-specified prefix.
7964 * troff/input.c (exit_troff): Don't check if exit_started.
7965 (exit_request): Don't call exit_troff if exit_started.
7967 * Makefile.bd (install.mm): Rename to install.dwbmm.
7969 Tue Apr 14 10:05:10 1992 James Clark (jjc at jclark)
7971 * driver/input.c (do_file): Add missing break for '#' case.
7973 Mon Apr 13 10:11:02 1992 James Clark (jjc at jclark)
7975 * troff/input.c (input_stack::clear): Clear past any boundaries and
7976 then add the boundaries back.
7978 * troff/input.c (exit_troff): Return immediately if already
7981 * macros/tmac.s (pg@end-text): New macro. Use pg@end-text for the
7983 (pg*end-page): If the text has ended and there are no more
7984 footnotes or keeps, exit.
7986 * macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.
7988 * troff/input.c (init_charset_table): Make \(rq transparent by
7991 * macros/tmac.an: Define lq and rq strings.
7993 * macros/tmac.s (Q, U): Define as \(lq and \(rq.
7995 Sun Apr 12 12:54:37 1992 James Clark (jjc at jclark)
7997 * troff/env.c (environment::final_break): New function.
7998 (environment::newline): Set prev_line_interrupted to 2 if
8000 * troff/env.h: Declare environment::final_break.
8001 * troff/input.c (exit_troff): Call environment::final_break()
8002 instead of environment::do_break().
8004 * macros/Makefile: Install man.local if $(MACRODIR)/man.local
8005 doesn't already exist.
8006 * macros/man.local: New file.
8007 * macros/tmac.an: Load man.local.
8008 * macros/man.ultrix: New file.
8010 Sat Apr 11 17:32:04 1992 James Clark (jjc at jclark)
8012 * troff/input.c (exit_groff): Rename to...
8013 (exit_troff): New function.
8015 * troff/div.c (exit_started, done_end_macro,
8016 seen_last_page_ejector): New global variables.
8017 (began_page_in_end_macro): New static variable.
8018 (exit_flag): Deleted.
8019 (top_level_diversion::top_level_diversion): Initialize
8021 (top_level_diversion): More elaborate test for whether
8022 cleanup_and_exit() should be called.
8023 Set began_page_in_end_macro if the end macro isn't yet finished.
8024 * troff/div.h (top_level_diversion::last_page_count): New data
8026 (top_level_diversion::set_last_page): New function.
8027 (exit_started, done_end_macro, seen_last_page_ejector): Declare.
8028 * troff/env.c (do_break): Zero prev_line_interrupted.
8029 * troff/input.c (exit_flag): Delete declaration.
8030 (LAST_PAGE_EJECTOR): New magic cookie.
8031 (token::next): Handle LAST_PAGE_EJECTOR.
8032 (exit_groff): Set exit_started and done_end_macro instead of
8033 exit_flag. Call top_level_diversion::set_last_page. Push a
8034 LAST_PAGE_EJECTOR instead of calling push_page_ejector(). Do
8035 another ejection after setting seen_last_page_ejector.
8037 Thu Apr 9 04:37:11 1992 James Clark (jjc at jclark)
8039 * etc/grog.sh, etc/grog.sh: Recognize -me sh macro.
8041 * macros/tmac.e (TH): Make sure there's room for the initial
8044 * macros/tmac.s (par@init): Make PD and DD at least \n(.V.
8045 Set FVS in points rather than units.
8047 Mon Apr 6 11:21:32 1992 James Clark (jjc at jclark)
8049 * troff/div.c (top_level_diversion::add_trap): Don't consider the
8050 position of empty slots.
8052 Fri Apr 3 10:46:45 1992 James Clark (jjc at jclark)
8054 * ps/devps/S: Fix height and depth of parenrightex.
8055 * ps/devps/symbol.diff: Regenerate.
8057 Sat Mar 28 21:17:52 1992 James Clark (jjc at jclark)
8059 * tmac.e (u): Do underlining as in -mgs.
8061 Fri Mar 27 09:23:44 1992 James Clark (jjc at jclark)
8063 * tty/tty.c (tty_printer::end_page): If overstriking is
8064 suppressed, still turn overstruck horizontal and vertical lines
8067 * lib/new.c: Back out Feb 24 change; no longer needed with gcc
8070 * refer/label.y (format_expr::evaluate): Avoid use of %0*d.
8072 Wed Mar 18 09:29:10 1992 James Clark (jjc at jclark)
8074 * Version 1.05 released.
8076 Tue Mar 17 16:50:45 1992 James Clark (jjc at jclark)
8078 * tty/tty.c: Instead of keeping an array of glyphs and then
8079 sorting it, keep a ordered linked list of glyphs for each line.
8081 * driver/driver.h: Include stddef.h.
8083 * tty/tty.c (compare_glyph):
8084 * refer/refer.c (rcompare):
8085 * troff/env.c (compare_ranges): Arguments of qsort comparison
8086 function should be const void *.
8088 * troff/number.c (parse_term):
8089 * dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
8092 * refer/label.y (consider_authors): Don't access variables
8093 constructed under a condition outside that condition: put braces
8094 round for statement containing declaration; redeclare use of same
8097 * pic/pic.y (text_expr): Delete production that allows
8098 parenthesised text_expr.
8099 (expr): Allow a conditional_expr to appear in parentheses.
8100 (conditional_expr): Rename to any_expr.
8102 * mm: Install new version 1.01 from jh.
8104 * lib/font.c (font::get_width): Cache scaled widths.
8105 (font::font): Initialize widths_cache.
8106 (font::~font): Destroy widths_cache.
8107 * lib/font.h: Add font::widths_cache. Declare font_widths_cache.
8109 Mon Mar 16 10:16:10 1992 James Clark (jjc at jclark)
8111 * c++test.c, c++test.ref: New files.
8112 * Makefile: Check that the C++ compiler works.
8114 * ps/tmac.pspic (PSPIC): Do a break.
8116 * ps/tmac.ps: Move definition of PSPIC into...
8117 * ps/tmac.pspic: New file.
8118 (PSPIC): Draw box around picture, but make it invisible to grops.
8119 * ps/tmac.ps: Load tmac.pspic.
8120 * ps/Makefile: Install tmac.pspic.
8122 Sun Mar 15 14:18:08 1992 James Clark (jjc at jclark)
8124 * lib/font.c (scale_round): If n is negative,
8125 subtract .5 before truncating floating point result.
8127 * lib/fontfile.c: Include <errno.h>.
8129 Tue Mar 10 14:17:03 1992 James Clark (jjc at jclark)
8131 * driver/input.c (get_char): Inline. Don't update current_lineno.
8132 Change callers to up date current_lineno if necessary.
8133 Use get_char() instead of getc(current_file).
8135 Sun Mar 8 18:05:28 1992 James Clark (jjc at jclark)
8137 * ps/tmac.ps: Fix up spacing of \(mo and \(nm.
8139 Fri Mar 6 19:38:58 1992 James Clark (jjc at jclark)
8141 * tty/tty.c (tmac.tty): Define \(rg as (R).
8143 Tue Mar 3 10:11:25 1992 James Clark (jjc at jclark)
8145 * lib/lib.h: New define a_delete.
8146 * Use a_delete instead of delete when deleting an array of objects
8147 without destructors.
8149 * lib/lib.h: Rename adelete to ad_delete.
8150 * Change uses of adelete.
8152 Mon Mar 2 12:41:05 1992 James Clark (jjc at jclark)
8154 * eqn/eqn.y: Include lib.h.
8156 * troff/node.c (grow_font_table): Delete old_font_table.
8158 * mm: Install new version from jh.
8160 Fri Feb 28 10:42:23 1992 James Clark (jjc at jclark)
8162 * tbl/table.h (format_type): Make global instead of local to class
8163 entry_format. Prefix enumerators with FORMAT_.
8164 * tbl/table.c, tbl/main.c: Corresponding changes.
8165 * refer/token.h (token_type): Make global. Prefix enumerators
8167 * refer/token.[ch]: Corresponding changes.
8168 * Makefile: Get rid of -DNO_NESTED_TYPES configuration option.
8170 * troff/div.c (node::set_vertical_size): Don't name argument.
8172 Thu Feb 27 10:29:19 1992 James Clark (jjc at jclark)
8174 * Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
8175 * lib/lib.h: Define adelete accordingly.
8176 * pic/object.c (graphic_object::graphic_object):
8177 * tbl/main.c (format::~format):
8178 * tbl/table.c (table::~table):
8179 * refer/ref.c (reference::~reference, reference::merge,
8180 reference::insert_field, reference::delete_field): Use adelete.
8182 * Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
8184 * tbl/table.h: Corresponding changes.
8186 * common.c (common_output::dashed_arc, common_output::dotted_arc):
8187 Ensure total_angle is positive.
8189 Wed Feb 26 08:49:26 1992 James Clark (jjc at jclark)
8191 * refer/ref.c (reference::merge, reference::insert_field,
8192 reference::delete_field): Avoid delete[0].
8194 * refer/token.c (init_special_chars): Move calls to cmupper
8195 outside calls to init_two_char_letter to work around bug in gcc
8198 Mon Feb 24 14:20:00 1992 James Clark (jjc at jclark)
8200 * lib/new.c (operator new): Use __builtin_new for g++.
8202 * pic/object.c (graphic_object::~graphic_object): Don't use
8205 * pic/object.c (output::compute_scale): Initialize max_width and
8208 Sat Feb 15 09:55:20 1992 James Clark (jjc at jclark)
8210 * troff/input.c (write_request): Call fflush.
8212 * troff/node.h (class composite_node): Move declaration to node.c
8213 * troff/input.c (charinfo_to_node): Rename to ...
8214 (charinfo_to_node_list): Return node list rather than composite
8216 * troff/node.c (make_composite_node): New function.
8217 (make_node, add_char): Call make_composite_node instead of
8219 (class composite_node): Add a tfont * member. Delete font_size
8221 (composite_node::composite_node, composite_node::copy,
8222 composite_node::size): Corresponding changes.
8223 (composite_node::tprint): Provide constant spacing, emboldening
8224 and track kerning as specified in tfont.
8225 (composite_node::width): Change width calculation accordingly.
8226 * troff/env.h (environment::composite): New member.
8227 (environment::is_composite, environment::set_composite): New
8229 * troff/env.c (environment::environment): Initialize composite.
8230 * troff/input.c (charinfo_to_node): Call
8231 environment::set_composite.
8232 * troff/node.c (make_composite_node, make_glyph_node): Use the
8233 plain version of the tfont if the environment is composite.
8235 * troff/node.c (font_info::get_space_width): Additional argument
8236 giving space_size. Handle constant space correctly. Scale by
8237 space_size unless constant spaced.
8238 (env_sentence_space_width): New function.
8239 * troff/node.h: Declare it.
8240 * troff/env.h (environment::get_space_size,
8241 environment::get_sentence_space_size,
8242 environment::get_narrow_space_width,
8243 environment::get_half_narrow_space_width): Make inline.
8244 (environment::get_space_width): Make inline. Just call
8246 * troff/env.c: Delete definitions for funtions made inline.
8247 (environment::space_newline, environment::space): Use
8248 env_sentence_space_width(). Don't scale by space_size.
8249 * troff/node.h: Move declarations of env*space_width() functions
8252 Sat Feb 8 09:30:22 1992 James Clark (jjc at jclark)
8254 * macros/tmac.s (PS): Don't try to set negative indent.
8256 Thu Feb 6 09:00:35 1992 James Clark (jjc at jclark)
8258 * pic/pic.y: Fix min function.
8260 Tue Jan 28 07:52:29 1992 James Clark (jjc at jclark)
8262 * man/mdate.sh: Clear LANGUAGE.
8264 Sun Jan 19 13:02:41 1992 James Clark (jjc at jclark)
8266 * pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
8267 * pic/lex.c: New COMMAND keyword.
8268 * pic/pic.y (print_args, print_arg): New rules.
8269 (placeless_element): Use print_args for PRINT.
8270 New COMMAND element.
8272 Tue Jan 7 13:14:31 1992 James Clark (jjc at jclark)
8274 * troff/input.c (terminal): Handle missing argument correctly.
8276 * pic/pic.y (text_expr): New rule.
8278 * pic/pic.y: Implement := operator.
8280 Sun Jan 5 10:23:02 1992 James Clark (jjc at jclark)
8282 * etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
8285 Sat Jan 4 14:42:26 1992 James Clark (jjc at jclark)
8287 * ps/devps/dingbatsrmap: Include this in the distribution.
8289 * macros/tmac.doc: Replace with new version from 2nd Networking
8290 Release. Fix loading of doc-* files.
8291 * macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
8292 * macros/tmac.doc.old: New file. Apply fixes that had been
8293 applied to old tmac.doc.
8294 * macros/tmac.andoc: Check that we're running under groff.
8295 * macros/Makefile: Rework.
8297 Fri Jan 3 13:27:51 1992 James Clark (jjc at jclark)
8299 * tbl/table.h (format_type):
8300 * refer/token.h (token_type): If NESTED_TYPES is defined, use
8301 typedef to make these types visible at file scope.
8302 * Makefile: Add NESTED_TYPES configuration option.
8304 * troff/div.c (mark): At the top level use the value of
8305 nl_reg_contents rather than the current vertical position.
8307 Thu Jan 2 10:34:51 1992 James Clark (jjc at jclark)
8309 * tty/tty.c: Implement \D for horizontal or vertical lines.
8310 (tty_printer::set_char): Use vec_used+2 as serial number.
8311 Don't allow size of vector to exceed USHRT_MAX-2.
8312 Split off part into...
8313 (tty_printer::add_char): New function.
8314 (tty_printer::draw): New function.
8315 (compare_glyph): Handle equal serial numbers.
8316 (tty_printer::end_page): Handle overstruck characters from \D.
8317 (main, usage): Implement -d option.
8319 Mon Dec 23 10:37:51 1991 James Clark (jjc at jclark)
8321 * tbl/main.c (process_format):
8322 * eqn/text.c (split_text):
8323 * troff/input.c (token::next): Use inner block for declarations
8324 with initializers in switch statement.
8326 Mon Dec 16 20:52:03 1991 James Clark (jjc at jclark)
8328 * pic/common.c (common_output::dash_line): Cope with zero-length
8331 Sun Nov 17 12:04:08 1991 James Clark (jjc at jclark)
8333 * Version 1.04 released.
8335 Wed Nov 13 05:27:21 1991 James Clark (jjc at jclark)
8337 * macros/tmac.an (TH): Define a macro an-init to define variables
8338 based on command line arguments.
8339 (an-header): Call it.
8341 Sun Nov 3 12:07:34 1991 James Clark (jjc at jclark)
8343 * Makefile (install.mm): Rename to install.dwbmm.
8345 * Makefile: Integrate mm.
8346 * mm: New directory.
8348 Wed Oct 30 10:11:34 1991 James Clark (jjc at jclark)
8350 * refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
8353 * pic/troff.c (troff_output::simple_spline,
8354 troff_output::simple_polygon): Rename variable `v' to `d' to avoid
8355 shadowing parameter.
8357 * lib/tmpfile.c (xtmpfile): Declare dir as const char *.
8359 * lib/ptable.h: Add explicit casts when converting from unsigned
8362 * dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
8363 * dvi/devdvi/Makefile: Install SA, SB.
8365 * refer/indxbib.c: Add declaration of mktemp.
8367 * refer/lookbib.c: Add declaration of isatty.
8369 Fri Oct 25 09:00:17 1991 James Clark (jjc at jclark)
8371 * pic/lex.c (interpolate_macro_with_args): While collecting
8372 arguments, keep track of whether we're in a string.
8374 Wed Oct 23 08:42:48 1991 James Clark (jjc at jclark)
8376 * ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
8377 down with \v, so as to avoid problems with top of page trap
8378 setting no space mode.
8380 Tue Oct 22 17:38:49 1991 James Clark (jjc at jclark)
8382 * eqn/lex.c (get_delimited_text): Allow tab before macro body.
8384 Tue Oct 15 17:24:53 1991 James Clark (jjc at jclark)
8386 * ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
8387 Improve error message.
8389 Fri Oct 11 11:09:38 1991 James Clark (jjc at jclark)
8391 * ps/psrm.c (print_ps_string): Don't pass negative numbers to
8394 Wed Oct 9 17:50:14 1991 James Clark (jjc at jclark)
8396 * groff.c (possible_command::execp): Always use _exit() after a
8399 * Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
8400 NO_SYS_WAIT_H configuration options.
8401 * groff.c: Use these options. Use POSIX-style macros to extract
8402 fields from the status returned by wait().
8404 Fri Oct 4 12:12:27 1991 James Clark (jjc at jclark)
8406 * tbl/table.c (table::compute_separation_factor): Allow the
8407 separation factor to drop to 0.
8409 Tue Oct 1 18:12:38 1991 James Clark (jjc at jclark)
8411 * refer/search.c: Include <errno.h>.
8413 Sun Sep 29 08:40:57 1991 James Clark (jjc at jclark)
8415 * pic/pic.y (YYDEBUG): Don't define for Borland C++.
8417 * lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
8420 * pic/lex.c (input_stack::bol): Move definition out of class body.
8422 * pic/main.c: On MSDOS munge argv[0].
8424 * lib/ptable.h: Define name2 as _Paste2 for Borland C++.
8426 * lib/ptable.c (hash_string): Use unsigned long rather than
8428 (next_ptable_size): Use unsigned rather than int. Give an error
8429 message if we've hit the largest table size.
8430 * lib/ptable.c: Corresponding changes. Also use unsigneds for the
8433 * pic/object.h (object_spec): Make flags unsigned long. Declare
8434 flags as const unisgned long rather than as enums.
8436 * pic/output.c: Deleted.
8438 * pic/troff.c (troff_output::simple_ellipse): Remove spurious %.
8440 * tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
8441 Add additional argument.
8442 (line_entry::note_double_vrule_on_{left,right}): Set value of
8443 douvle_vrule_on_{right,left} flag according to argument.
8444 (simple_line_entry::simple_print,
8445 simple_line_entry::double_line_print): If adjacent to double vrule
8446 on a corner extend rather than shorten the rule by half the double
8449 * troff/number.c (parse_term): In checking for overflow, handle the
8450 case where the current horizontal position is negative.
8452 Thu Sep 12 08:26:09 1991 James Clark (jjc at jclark)
8454 * pic/object.c (draw_arrow): Check for object having zero length.
8456 Wed Sep 11 10:32:38 1991 James Clark (jjc at jclark)
8458 * eqn/main.c (do_file): Split off inline equation handling into...
8459 (inline_equation): New function. Search for starting delimiter
8461 (delim_search): New function. Don't recognize a delimiter that
8462 occurs in the name of an escape sequence, number register, string
8465 Tue Sep 10 04:01:11 1991 James Clark (jjc at jclark)
8467 * eqn/delim.c (delim_box::compute_metrics): Don't call
8468 define_extensible_string if left is 0.
8469 (delim_box::output): Don't print the left delimiter if left is 0.
8470 (delim_box::debug_print): Check for left == 0 before calling printf.
8472 Fri Aug 23 13:02:30 1991 James Clark (jjc at jclark)
8474 * troff/Makefile (majorminor.c): Include only digits in
8477 Thu Aug 22 09:35:37 1991 James Clark (jjc at jclark)
8479 * refer/dirnamemax.c: new file.
8480 * refer/genlimits.c: Deleted.
8481 * refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
8482 Don't check path length.
8483 * refer/Makefile: Add dir_name_max.o; delete genlimits.
8484 * Makefile: Add PATHCONF_MISSING option.
8486 * refer/indxbib.c (get_cwd): New function.
8487 (main): Use get_cwd().
8488 * lib/getcwd.c: New file.
8489 * Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
8491 * lib/Makefile: Compile getcwd.o.
8493 * ps/tmac.psatk (psatk-defs): Define showpage after pushing
8496 * refer/indxbib.c (main): Check success of mktemp.
8498 * lib/tmpfile.c: New file.
8499 * lib/Makefile: Add tmpfile.c.
8500 * lib/lib.h: Declare xtmpfile(); include <stdio.h>.
8501 * ps/ps.h: Delete declaration of mktemp().
8502 * ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
8503 * refer/refer.c (divert_to_temporary_file): Use xtmpfile().
8504 * driver/driver.h: No need now to include errno.h.
8506 * everywhere: Set errno to 0 before calling fopen().
8508 * eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
8509 dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
8510 refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.
8512 Mon Aug 19 10:52:18 1991 James Clark (jjc at jclark)
8514 * troff/env.h (translate_space_to_dummy): Declare it.
8515 * troff/env.c (environment::space_newline, environment::space):
8516 If translate_space_to_dummy is set then make the width of spaces 0.
8517 * troff/input.c (translate): If the second character of a
8518 translation is a space, translate to unbreakable space. If the
8519 first character is a space, set or clear translate_space_to_dummy
8520 according to whether the second character is \&. Weird!
8522 Tue Jul 30 10:03:56 1991 James Clark (jjc at jclark)
8524 * groff.c (run_commands): Don't use non-zero exit code because a
8525 command gets SIGPIPE.
8527 * groff.c, groff.sh: Use -mXps with -TXps.
8529 * ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
8530 (ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
8531 ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
8532 (ps_printer::special): New specials invis and endinvis.
8533 (ps_printer::do_invis, ps_printer::do_endinvis): New functions.
8534 (ps_printer::set_char, ps_printer::draw): Return if invis_count>0.
8535 (ps_printer::end_page): Check that invis_count == 0.
8536 (ps_printer::invis_count): New member.
8537 (ps_printer::ps_printer): Initialize invis_count to 0.
8539 * troff/env.c (environment::hyphenate_line): Hyphenation
8540 indicator at beginning of word inhibits splitting after -, \(em
8543 * pic/pic.y (element): Allow another element to follow } without
8544 any intervening separator.
8546 Mon Jul 22 12:27:37 1991 James Clark (jjc at jclark)
8548 * pic/lex.c (get_delimited): Allow tabs before delimiter.
8550 Wed Jul 17 10:59:08 1991 James Clark (jjc at jclark)
8552 * groff.c: Get rid of HAVE_UNION_WAIT stuff. Instead suppress
8553 declaration of wait() in header files.
8554 * Makefile: Get rid of -DHAVE_UNION_WAIT.
8556 * tbl/table.c (alphabetic_text_entry::add_tab): New function.
8558 * lib/lib.h: Declare return type of strerror as char *.
8560 * man/Makefile: Add g flag to sed substitutions.
8561 * Makefile (shgroff, bindist): Likewise.
8563 Sun Jul 14 11:57:02 1991 James Clark (jjc at jclark)
8565 * ps/ps.c (ps_printer::do_import): Move push of userdict into...
8566 * ps/devps/prologue (PBEGIN): Define showpage after pushing
8569 Sat Jul 13 20:53:04 1991 James Clark (jjc at jclark)
8571 * ps/devps/prologue (PBEGIN): Zap any definition of showpage in
8574 Fri Jul 12 07:10:09 1991 James Clark (jjc at jclark)
8576 * man/mdate.sh: Handle the fact that BSD ls -l does not print the
8579 Sun Jul 7 08:00:23 1991 James Clark (jjc at jclark)
8581 * troff/input.c (define_number_reg): If currently undefined,
8582 don't define it if the argument is an invalid expression.
8584 * Makefile: Ignore return value of `if' commands without `else'
8587 * Makefile: Split up CPPDEFINES into a series of separate
8588 configuration options.
8590 * troff/input.c (init_registers): Use time_t instead of long
8591 unless LONG_FOR_TIME_T is defined. Use returned result rather
8592 than passing pointer.
8593 * Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.
8595 * lib/Makefile (fontpath.h): Use gendef.
8597 Thu Jul 4 09:48:05 1991 James Clark (jjc at jclark)
8599 * troff/input.c (input_iterator::shift): Delete argument name.
8600 * troff/node.c (suppress_output_file::really_begin_page,
8601 suppress_output_file::really_transparent_char, node::ascii_print,
8602 node::tprint): Delete names of unused arguments.
8604 Wed Jul 3 17:34:57 1991 James Clark (jjc at jclark)
8606 * refer/label.y (string): Pass $4 to command_error.
8608 Tue Jul 2 15:06:01 1991 James Clark (jjc at jclark)
8610 * Version 1.03 released.
8612 Sat Jun 29 08:14:01 1991 James Clark (jjc at jclark)
8614 * Makefile: Pass definition of SHELL in SUBFLAGS.
8617 * Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
8618 ps/Makefile: Use gendef to construct header files that are
8619 constructed from the Makefile.
8621 * macros/Makefile: make all should build stripped version of tmac.e.
8623 * refer/Makefile (clean): Remove y.output.
8625 Fri Jun 28 09:44:36 1991 James Clark (jjc at jclark)
8627 * ps/pfbtops.c (main): Add -v option which prints out a version
8629 * ps/Makefile (pfbtops): Link with libgroff.a.
8631 Fri Jun 21 07:43:23 1991 James Clark (jjc at jclark)
8633 * refer/search.h (linear_searcher::get_nkeys): Delete declaration.
8634 * refer/linear.c (linear_searcher::get_nkeys): Delete definition.
8636 * refer/lkbib.c (main): Always terminate reference with blank
8638 * refer/lookbib.c (main): Likewise.
8640 * refer/linear.c (file_buffer::load): Check that the file is not a
8643 * refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
8644 (genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
8645 Delete second inclusion of <sys/param.h>.
8647 Tue Jun 18 01:32:26 1991 James Clark (jjc at jclark)
8649 * troff/token.h (token::special): Deleted.
8651 * tbl/main.c (process_format): Rework so that opt->tab_char is
8652 recognized only when appropriate.
8654 * ps/Makefile (clean): Remove pfbtops.
8656 Sun Jun 16 09:37:19 1991 James Clark (jjc at jclark)
8658 * lib/font.c (text_file::next): Don't return if we have got a
8661 Fri Jun 14 09:52:26 1991 James Clark (jjc at jclark)
8663 * refer/refer.c (store_reference): Get hash code from old_table[i]
8664 when rehashing the table.
8666 Thu Jun 13 01:26:43 1991 James Clark (jjc at jclark)
8668 * eqn/box.c (box::top_level): Save size and prev size using \R and
8669 restore it afterwards. Set the size to the size at the beginning
8671 * eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
8672 SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.
8674 * refer/Makefile (limits.h): Use ./genlimits.
8676 Wed Jun 12 16:05:34 1991 James Clark (jjc at jclark)
8678 * refer/index.c: Delete declarations of stat() and fstat().
8680 Tue Jun 11 14:52:49 1991 James Clark (jjc at jclark)
8682 * tty/tmac.tty: Add character definitions for \(>= and \(<=.
8684 Mon Jun 10 22:49:48 1991 James Clark (jjc at jclark)
8686 * etc/grog.sh, etc/grog.pl: Change regex for .PS.
8688 Fri Jun 7 09:13:06 1991 James Clark (jjc at jclark)
8690 * troff/input.c (token::get_char): Handle \e.
8692 * refer/linear.c: Delete declarations of fstat() and stat().
8694 Wed Jun 5 09:11:59 1991 James Clark (jjc at jclark)
8696 * troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
8697 OP_DELETE_BROKEN stuff, since we now have a fix for g++.
8699 Mon Jun 3 13:41:32 1991 James Clark (jjc at jclark)
8701 * troff/input.c (do_define_macro): Improve error handling for end
8702 of file while defining macro.
8704 Sun Jun 2 10:20:24 1991 James Clark (jjc at jclark)
8706 * eqn/box.h: Fix declaration of set_gsize.
8707 * eqn/box.c (set_gsize): Make argument const char *.
8708 (gsize): Declare as char *.
8709 * eqn/main.c (main): Don't convert gsize to int.
8710 * eqn/lex.c (do_gsize): Pass char * to set_gsize.
8712 * Version 1.02 released.
8714 Sat Jun 1 12:19:46 1991 James Clark (jjc at jclark)
8716 * macros/tmac.andoc: New file.
8717 * macros/Makefile: Install tmac.andoc.
8719 * troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
8720 operator new and delete on OP_DELETE_BROKEN not being defined.
8721 * Makefile: Mention OP_DELETE_BROKEN.
8723 Mon May 27 13:49:07 1991 James Clark (jjc at jclark)
8725 * Makefile (bindist): Pass SUBFLAGS.
8727 Sun May 26 14:13:22 1991 James Clark (jjc at jclark)
8729 * Makefile, groff.c: Pass definitions to groff.c via device.h.
8731 * tty/tty.c (tty_font::load_tty_font): Avoid shadowing
8734 * ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.
8736 * ps/ps.h, ps/psrm.c: Make comment_table and
8737 header_comment_table local to resource_manager::process_file.
8739 * groff.sh: With -TXps pass -printCommand option to gxditview.
8741 * groff.c (possible_command::print): Implement using
8742 append_arg_to_string.
8744 * xditview: Merge in new implementation with own ChangeLog.
8746 Sat May 25 18:33:20 1991 James Clark (jjc at jclark)
8748 * groff.c (main): Implement PRINT_OPTION.
8749 (append_arg_to_string): New command.
8750 (device_table): Set PRINT_OPTION flag for Xps.
8752 Fri May 24 09:48:58 1991 James Clark (jjc at jclark)
8754 * troff/groff.h: Rename to troff.h.
8756 * pic/lex.c (lookup_keyword, docmp): New functions.
8757 (get_token): Use new lookup_keyword.
8758 Don't include key.h.
8759 * pic/key.[ch], pic/pic.gperf: Deleted.
8760 * pic/Makefile: Remove gperf stuff.
8762 * pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
8764 * pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.
8766 * troff/Makefile, troff/node.c: Move definition of
8767 STORE_WIDTH into node.c.
8769 * etc/grog.pl, etc/grog.sh: Support -mdoc.
8771 Thu May 23 12:30:49 1991 James Clark (jjc at jclark)
8773 * dvi/devdvi/texr.map, dvi.devdvi/texi.map,
8774 dvi/devdvi/texb.map: Add lq and rq.
8775 dvi/devdvi: Regenerate fonts.
8776 * ps/devps/textmap: Add lq and rq.
8777 * ps/devps: Regenerate fonts.
8778 * tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
8779 * macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
8781 * pic/object.c (position_rectangle): When checking radius
8782 cope with possiblity that width or height is negative.
8783 (box_object::box_object): Have separate xrad and yrad with
8784 signs matching signs of dim components.
8785 (box_object::{north,south}_{east,west}): Use xrad and yrad.
8786 (box_object::print): With rounded boxes use absolute values
8787 for dim and rad arguments.
8789 * lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
8792 * eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.
8794 * various files: Add explicit destructors to keep Saber CC +d
8797 Wed May 22 11:37:11 1991 James Clark (jjc at jclark)
8799 * eqn/box.c (box::top_level): Restore fonts correctly after
8800 font changes in line containing inline equation. Also
8801 restore previous font as well as current font.
8802 * eqn/pbox.h: Define necessary string and register names.
8804 * troff/input.c (token::next): Case 'R' calls do_register.
8805 (do_register): New function.
8807 Tue May 21 11:28:23 1991 James Clark (jjc at jclark)
8809 * groff.c, groff.sh: Support Xps device. Allow each device
8810 to have a pseudo_name and a real_name.
8812 * groff.c (run_commands): Don't print `Broken pipe' messages.
8814 * ps/pfbtops.c: New file.
8815 * ps/Makefile: Add pfbtops.
8817 * troff/number.c (parse_term): Improved error message.
8819 Mon May 20 11:22:14 1991 James Clark (jjc at jclark)
8821 * groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.
8823 * Makefile: Integrate refer.
8824 * refer: New directory.
8825 * man/grefer.man, man/glookbib.man, man/gindxbib.man,
8826 man/lkbib.man: New files.
8827 * man/Makefile: Support refer man pages.
8829 * lib/lib.h: Declare is_prime.
8830 * lib/prime.c: New file.
8832 * troff/input.c (macro_source): New function.
8833 (init_input_requests): Bind "mso" to macro_source.
8835 * troff/env.c (environment::possibly_break_line): Maintain
8836 pointer to pointer to node to be split in ndp so as to avoid
8837 using address of freed node.
8839 * troff/env.c (environment::hyphenate_line): Maintain pointer to
8840 pointer to first node to be hyphenated in startp so as to
8841 avoid using address of freed node.
8843 * troff/env.c (class trie, class hyphen_trie): Make the
8844 elements of the trie be of type char not unsigned char.
8845 Declare arguments to be const char* instead of unsigned char *.
8847 * troff/env.c (hyphenate): Initialize hbuf[0].
8849 * troff/input.c (set_string): Declare p to be char * and cast
8850 *p to unsigned char when necessary.
8852 * troff/input.c (do_define_macro): Declare s to be const
8853 char*. Cast element to unisgned char when necessary, Declare
8854 d to be an int. Handle EOF better.
8856 * troff/Makefile, troff/input.c: Different scheme for passing
8857 definitions of MACROPATH, HYPHENFILE and DEVICE.
8859 Tue May 14 13:41:36 1991 James Clark (jjc at jclark)
8861 * tty/devascii/R.proto: Delete entry for em.
8862 * tty/devlatin1/R.proto: Likewise.
8864 Sat May 11 11:13:28 1991 James Clark (jjc at jclark)
8866 * troff/input.c (translate): Stop when we get a space. Treat eof
8869 * macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.
8871 Wed Apr 24 19:24:33 1991 James Clark (jjc at jclark)
8873 * tbl/main.c (process_format): A font name following a `f'
8874 modifier that starts with a digit can be only one character long.
8875 Also deal with EOF on the second character of the font name.
8877 Wed Apr 17 11:23:43 1991 James Clark (jjc at jclark)
8879 * troff/input.c (token::next): Turn \~ into an
8880 unbreakable_space_node.
8881 * troff/node.c (unbreakable_space_node): New class.
8882 * troff/node.h: Declare it.
8884 Tue Apr 16 10:47:12 1991 James Clark (jjc at jclark)
8886 * dvi/dvi.c (dvi_printer::set_char): Make code an int. Check that
8887 it's >= 0, before outputting it as a single byte.
8889 Mon Apr 15 11:20:23 1991 James Clark (jjc at jclark)
8891 * lib/font.c: Make font_char_metric::code an int.
8892 (font::get_code): Change return type to int.
8893 (font::load): Allow code to be arbitrary integer.
8894 * lib/font.h (font::get_code): Change return type to int.
8895 (font::number_to_index): Change argument type to int.
8896 * troff/input.c (token::next): In case 'N', allow any value.
8897 Store value in token::val.
8898 (token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
8899 (token::get_char, token::add_to_node_list, token::process): Get
8901 (charinfo::set_number): Change argument to int.
8902 (charinfo::get_number): Require that NUMBERED flag be set.
8903 (get_charinfo_by_number): Store numbered characters not between 0
8904 and 255 in a dictionary.
8905 * troff/charinfo.h (get_charinfo_by_number): Change argument type
8907 (charinfo::number): Change type to int.
8908 (charinfo::set_number): Change type of set_number to int.
8909 * troff/node.c (troff_output_file::put_char_width,
8910 troff_output_file::put_char): Test whether character is numbered
8911 using charinfo::numbered().
8912 * driver/printer.c (printer::set_numbered_char): Allow arbitrary
8914 * lib/nametoindex.c: New implementation to cope with arbitrary
8917 * troff/input.c (token::operator==): Test val for
8918 TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
8921 * man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
8922 (.man.n): sed out @BROKEN_SPOOLER_FLAGS@.
8924 Sun Apr 14 12:57:00 1991 James Clark (jjc at jclark)
8926 * ps/devps/zapfdr.ps: Don't copy UniqueID. Avoid use of newdict
8929 * all Makefiles: rm targets of cp and >.
8931 * xditview/xtotroff.c (MapFont): Unlink troff_name before opening
8934 * eqn/lex.c (def_table): Add dollar.
8936 Sat Apr 13 13:02:44 1991 James Clark (jjc at jclark)
8938 * troff/input.c (do_width): Push back newline before closing delim
8941 Fri Apr 12 15:16:03 1991 James Clark (jjc at jclark)
8943 * groff.c (possible_command::prepend_arg): New function.
8944 (main): Prepend device -m option.
8945 * groff.sh: Put device -m options before command-line options.
8947 Tue Apr 9 10:24:43 1991 James Clark (jjc at jclark)
8949 * macros/tmac.an (IP): Quote argument to TP.
8951 * ps/ps.c (main): New option -b, which sets...
8952 (broken_flags): New variable.
8953 (ps_printer::~ps_printer): Incorporate the setup section in the
8954 prolog if (broken_flags & NO_SETUP_SECTION).
8955 (ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
8956 (ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
8957 ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
8958 ps_printer::print_needed_font_comment,
8959 ps_printer::print_supplied_font_comment,
8960 ps_printer::print_include_font_comments,
8961 ps_printer::lookup_doc_font, ps_printer::download_fonts,
8962 ps_printer::read_download_file, read_document_fonts, add_font,
8963 skip_line, parse_fonts_arg, document_font::document_font,
8964 document_font::~document_font, document_font::download,
8965 ps_output::include_file): Deleted.
8966 (ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
8967 rather than %!PS-Adobe-2.0. Make calls to
8968 resource_manager::need_font for each font that we used. Replace
8969 calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
8970 print_supplied_font_comment, print_needed_font_comment by call to
8971 resource_manager::print_header_comments. Output %%Orientation
8972 comment. Output %%Requirements: numcopies comment if ncopies > 1.
8973 Don't output the prolog directly. Instead call
8974 resource_manager::output_prolog. Only define #copies when ncopies
8975 > 1. Delete calls to print_include_font_comments and
8976 download_fonts. Add call to resource_manager::document_setup.
8977 (ps_printer::do_file): Call resource_manager::import_file instead
8978 of including it ourselves.
8979 (ps_printer::do_import): Likewise. Also don't call
8980 merge_import_fonts. Push userdict on the dictionary stack before
8981 and pop it afterwards.
8982 Move declaration of ps_output into ps.h.
8983 * ps/psrm.c: New file implementing resource_manager class.
8984 * ps/ps.h: New file declaring ps_output and resource_manager
8986 * ps/devps/zapfdr.ps:
8987 * ps/devps/symbolsl.ps:
8988 * ps/devps/prologue: Use 3.0 conventions.
8989 * ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
8990 Add default definition of BROKEN_SPOOLER_FLAGS.
8991 * Makefile: New variable BROKEN_SPOOLER_FLAGS. Add
8992 BROKEN_SPOOLER_FLAGS to SUBFLAGS.
8994 Mon Apr 8 09:26:54 1991 James Clark (jjc at jclark)
8996 * etc/grog.pl: New file.
8997 * Makefile (GROG): New variable.
8998 Add GROG to SUBFLAGS.
8999 * etc/Makefile (GROG): New variable.
9000 (install.nobin): Install $(GROG) rather than grog.sh.
9002 Thu Apr 4 11:36:45 1991 James Clark (jjc at jclark)
9004 * eqn/special.c (special_box::compute_metrics): Make the input and
9005 output strings the same. Get the new height and depth from the
9006 predefined height and depth registers. Also make subscript kern
9008 (special_box::compute_subscript_kern, special_box::compute_skew):
9011 * eqn/box.c (pointer_box::compute_skew,
9012 simple_box::compute_metrics, box::top_level)
9013 * eqn/text.c (prime_box::compute_metrics,
9014 prime_box::comput_subscript_kern)
9015 * eqn/limit.c (limit_box::compute_metrics):
9016 * eqn/delim.c (build_extensible, delim_box::compute_metrics):
9017 * eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
9018 negative numbers in `nr' requests with a leading 0.
9020 Wed Apr 3 15:58:23 1991 James Clark (jjc at jclark)
9022 * eqn/special.c: New file.
9023 * eqn/eqn.y: Declare token SPECIAL. Make it right associative.
9024 Add new rule for simple.
9025 * eqn/lex.c (token_table): Add SPECIAL.
9026 * eqn/box.h: Declare make_special_box.
9027 * eqn/Makefile: Add special.[co].
9029 Sat Mar 30 10:57:53 1991 James Clark (jjc at jclark)
9031 * ps/devps/prologue: Possibly set packing to true while defining.
9032 Create grops dictionary here. Initialize local variables before
9033 defining procedures.
9034 (PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
9035 the dictionary stack. Set strokeadjust and overprint to false if
9036 the relevant operators are defined.
9037 (PEND): New procedure.
9038 * ps/ps.c (ps_printer::~ps_printer): In the prolog just include
9039 prologue. Do everything else in the setup section.
9040 (ps_printer::do_import): Just call PBEGIN and PEND around the
9041 picture. Also push userdict before, and pop it afterwards.
9043 Wed Mar 27 07:59:50 1991 James Clark (jjc at jclark)
9045 * troff/node.c (bracket_node::tprint): Brackets were being printed
9048 * macros/tmac.an (SH, SS): Set fill mode.
9050 Tue Mar 26 07:46:31 1991 James Clark (jjc at jclark)
9052 * troff/div.c (top_level_diversion::begin_page): Set
9053 high_water_mark to 0.
9055 Fri Mar 22 09:19:46 1991 James Clark (jjc at jclark)
9057 * man/mdate.sh: New file.
9058 * man/mdate.c: Deleted.
9059 * man/Makefile: Use mdate.sh instead of mdate.
9062 * eqn/lex.c (do_gsize): Supply missing argument to error message.
9064 Tue Mar 19 11:06:50 1991 James Clark (jjc at jclark)
9066 * man/mdate.c: New file.
9067 * man/*.man: Replace modification date by @MDATE@.
9068 * man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
9069 (mdate): New target.
9071 * lib/font.c (text_file::next): Deal with arbitrarily long lines.
9072 Remove illegal input characters.
9074 Mon Mar 18 08:32:25 1991 James Clark (jjc at jclark)
9076 * macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.
9078 Sat Mar 16 03:52:25 1991 James Clark (jjc at jclark)
9080 * troff/div.c (begin_page): Change behaviour when
9081 !first_page_begun and !break_flag.
9083 * troff/input.c (do_name_test): Return 0 if argument is empty.
9085 * troff/input.c (read_long_escape_name): Require closing ] to be
9086 at same input level as opening [.
9088 * troff/input.c (read_increment_and_escape_name): New function.
9089 (get_copy, process_input_stack): Use this for \n.
9091 Fri Mar 15 00:31:48 1991 James Clark (jjc at jclark)
9093 * troff/div.c (top_level_diversion::begin_page): Ignore the
9094 current value of page_number if !first_page_begun.
9096 * groff.c (main): Fix declaration of buf.
9098 * troff/input.c (do_name_test): New function.
9099 (token::next): Implement \A.
9100 (token::next): Implement \e by turning it into a TOKEN_ESCAPE.
9101 (token::description, token::add_to_node_list, token::process):
9102 Handle TOKEN_ESCAPE.
9103 * troff/token.h: New token TOKEN_ESCAPE.
9105 Thu Mar 14 10:22:26 1991 James Clark (jjc at jclark)
9107 * pic/main.c (do_picture): Allow space before and after filename
9108 following `<'. Check that the filename is not empty.
9110 Wed Mar 13 12:49:40 1991 James Clark (jjc at jclark)
9112 * Version 1.01 released.
9114 * dvi/devdvi/CompileFonts: Add cm*ss10 fonts.
9116 * dvi/tmac.dvi: ftr HR to H.
9118 * macros/tmac.e: Round up computation of $r.
9120 * xditview/tmac.X: Don't give up completely in compatibility mode.
9121 Use \n(.s instead of \n[.s].
9123 * dvi/tmac.dvi: Don't give up completely in compatibility mode.
9124 Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
9125 Add u to factors inside \s[...]. Rename frac to dvi-frac.
9126 Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
9127 short names in the char definitions.
9129 * ps/tmac.ps: Don't give up completely in compatibility mode.
9130 Fix the fraction definitions to use \n(.s and \(f/. Add an extra
9131 quote in front of \n(.s. Add u to factors inside \s[...].
9133 Mon Mar 11 12:01:20 1991 James Clark (jjc at jclark)
9135 * tty/tmac.tty: Call the nroff request.
9137 * macros/tmac.e ((x, )x): Better definitions that work properly
9139 (@0, @1): Helper macros for (x.
9141 * macros/tmac.e ($s, hl): Use \l rather than \D.
9143 * tty/tmac.tty: Make it work better in compatibility mode.
9144 (pchar): Rename to tty-char.
9146 * macros/tmac.e (@E): New macro.
9147 (r, i, b, rb, bi): Use @E.
9149 * macros/tmac.e (@F): Don't use (;...) syntax.
9151 * macros/tmac.e: Remove mention of \*(||/revisions. Mention that
9152 it was modified for groff.
9154 * macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.
9156 * macros/tmac.e (<., .>): Removed.
9157 ([., .]): If \n(.V>=1v, use [] instead of superscripting.
9159 * macros/tmac.e: Remove check that groff is being used.
9161 * macros/tmac.e (@C): Change families only if using groff; turn
9162 compatibility mode off while changing familes. Save compatibility
9163 mode before changing families and restore it afterwards.
9165 * macros/tmac.e (@h): Remove test for offset + line length.
9167 * macros/tmac.e (sorry): Rename to @S. Use \$1 instead of \$0
9168 (lo, th, ac): Define to call @S instead of using als.
9170 * macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
9171 the ratio of the vertical spacing to the point size in units
9172 expressed as a percentage. Use these instead of $10r and $10R,
9173 Delete $10r and $10R.
9175 * lib/font.c (font::load): In default computation of space_width,
9176 divide by sizescale. Use scale_round.
9178 * macros/tmac.an (TP): Don't call `nf'.
9179 (an-do-tag): Don't call `fi'.
9181 Sun Mar 10 09:52:35 1991 James Clark (jjc at jclark)
9183 * troff/input.c (process_input_stack): Handle the case where
9184 spaces at the beginning of an input line are followed by a
9187 Thu Mar 7 20:18:07 1991 James Clark (jjc at jclark)
9189 * groff.c (device_table): Add PIC_X_OPTION for dvi device.
9190 * groff.sh: Use pic -x with the dvi device.
9192 * dvi/devdvi/FontMakefile (H): Don't use -s.
9194 * dvi/devdvi/HI, dvi/devdvi/HB: New files.
9195 * dvi/devdvi/Makefile: Add HI and HB to FONTS.
9196 * dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
9199 Mon Mar 4 13:20:14 1991 James Clark (jjc at jclark)
9201 * ps/psfig.diff: New file.
9202 * ps/tmac.psfig: New file.
9204 Sat Mar 2 00:15:09 1991 James Clark (jjc at jclark)
9206 * macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
9207 (]-): Don't call ref*do-tl.
9209 * macros/tmac.s (ref*end-print): Use XP if [F not defined.
9211 * macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
9212 (fn@do-FS): Rename to fn*do-FS.
9214 * troff/input.c (transparent_translate): New function.
9215 (process_input_stack): Apply transparent_translate before calling
9216 diversion::transparent_output(unsigned char).
9218 Wed Feb 27 00:13:25 1991 James Clark (jjc at jclark)
9220 * troff/input.c (do_define_macro): Define the macro before calling
9223 * xditview/Makefile: Add DEVICES variable. Change install target
9226 Tue Feb 26 10:46:22 1991 James Clark (jjc at jclark)
9228 * groff.c (run_commands): Handle the possibility that there are
9229 child processes other than those forked by us.
9231 Sun Feb 24 21:32:30 1991 James Clark (jjc at jclark)
9233 * lib/string.c (string::append): New function.
9234 * lib/stringclass.h: Declare it.
9236 Thu Feb 21 11:49:26 1991 James Clark (jjc at jclark)
9238 * eqn/main.c (main): New option -N which sets
9239 no_newline_in_delim_flag.
9240 (do_file): If no_newline_in_delim_flag is set don't allow newlines
9242 * groff.c (main): Pass -N on to eqn.
9243 (help, synopsis): Mention -N.
9244 * groff.sh: Implement -N.
9246 Wed Feb 20 15:16:10 1991 James Clark (jjc at jclark)
9248 * macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
9249 (]-): Call ref*do-tl if ref*need-tl is non-zero.
9250 (XP): Allow as initializer.
9252 Tue Feb 19 14:09:06 1991 James Clark (jjc at jclark)
9254 * troff/env.c (environment::wrap_up_field): If field_spaces are
9255 non-zero and we have a current_tab, subtract padding from
9256 tab_distance. If this makes tab_distance <= 0, use the next tab
9257 stop instead. If there isn't any next tab or it's a left tab,
9258 wrap up the current tab.
9259 (environment::start_field): Initialize tab_precedes_field.
9260 (environment::wrap_up_tab): If there's a current field, update
9261 pre_field_width, field_distance and tab_precedes_field.
9262 * troff/env.h (environment::tab_precedes_field): New member.
9264 Fri Feb 15 01:24:00 1991 James Clark (jjc at jclark)
9266 * ps/ps.c (ps_printer::do_file): New function.
9267 (ps_printer::special): Bind to `file' special.
9268 (ps_printer::do_exec): Set ndefined_styles to 0.
9270 Sat Feb 9 03:03:04 1991 James Clark (jjc at jclark)
9272 * eqn/text.c (split_text): Grok \* and similar escapes sequences.
9273 Avoid stripping first character from the start of unrecognized
9274 escapes. Use lex_error instead of error to report errors.
9275 * eqn/lex.c (get_token): Rework handling of escapes.
9276 (lex_error): Move declaration into...
9279 * xditview/xditview.c (main): Make -page option work.
9281 * Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.
9283 Wed Feb 6 12:28:43 1991 James Clark (jjc at jclark)
9285 * macros/tmac.s (B2): Correct size of box.
9287 Tue Feb 5 00:37:35 1991 James Clark (jjc at jclark)
9289 * macros/tmac.s (B2): Postpone drawing the box until in the
9290 top-level diversion.
9292 * tty/tmac.tty: Add font translations for C, CR, CW.
9294 * groff.c (synopsis, help): Document -i.
9295 * groff.sh: Implement -i.
9297 * macros/tmac.s (@NH): Put a `.' after multi-part numbers.
9298 Simplify the construction of SN.
9300 * troff/number.c (parse_term): Give `|' a higher precedence.
9301 * tbl/table.c (numeric_text_entry::simple_print): Parenthesise
9304 * macros/tmac.s (B2): Use par@finish instead of par@reset.
9306 Mon Feb 4 12:36:09 1991 James Clark (jjc at jclark)
9308 * lib/string.c (string::move): New function.
9309 * lib/stringclass.h: Declare it.
9311 Sat Feb 2 16:02:16 1991 James Clark (jjc at jclark)
9313 * troff/env.c (distribute_space): Add optional argument
9315 (environment::wrap_up_field): Call distribute_space with
9316 `force_forward' argument of 1.
9318 Fri Feb 1 19:36:33 1991 James Clark (jjc at jclark)
9320 * lib/string.c, lib/stringclass.h (string::operator+=(char)):
9321 Inline it. Move reallocation into...
9322 (string::grow1): New function.
9323 * pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
9324 dependencies to include library header files.
9325 * lib/Makefile: Make string.c and lf.c depend on stringclass.h.
9327 Thu Jan 31 15:02:27 1991 James Clark (jjc at jclark)
9329 * macros/tmac.s (@NH): Use the same number registers than -ms does
9330 for the heading level counters. Use the same string that -ms does
9331 for the number for this heading.
9333 Wed Jan 30 14:25:40 1991 James Clark (jjc at jclark)
9335 * lib/new.c (operator new): Cast result of malloc to char *.
9337 * troff/input.c (spring_trap, lookup_request): Add assert that nm
9340 Tue Jan 29 18:08:05 1991 James Clark (jjc at jclark)
9342 * groff.c (main): Support -i.
9344 Sun Jan 27 13:23:17 1991 James Clark (jjc at jclark)
9346 * pic/pic.h: Include <osfcn.h>.
9348 * ps/ps.c: Add declaration of mktemp.
9350 * Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
9351 * groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
9352 argument as union wait *.
9353 (run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
9354 argument to union wait *.
9356 Sat Jan 26 12:04:52 1991 James Clark (jjc at jclark)
9358 * tty/tmac.tty: Add definition of \(co.
9360 * pic/object.c (make_arc): Only increase radius when radius
9361 strictly less than d.
9362 (arc_object::update_bounding_box): May need to add 4.0 to end_quad
9365 * troff/env.c (environment::environment(symbol),
9366 environment::environment(const environment *)): Initialize
9369 Sat Jan 19 08:18:35 1991 James Clark (jjc at jclark)
9371 * tbl/main.c (main): Add exit(0).
9373 * ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.
9375 * pic/main.c (main):
9376 * eqn/main.c (main):
9377 * tbl/main.c (main):
9378 * etc/soelim.c (main):
9379 * driver/printer.c (printer::~printer):
9380 * troff/node.c (real_output_file::~real_output_file,
9381 real_output_file::flush): Check for errors on stdout.
9383 * most files: Add 1991 to copyright notice.
9385 * macros/tmac.s: Don't test \n(.x and \n(.y.
9387 * troff/input.c (token::next): Rename `escape_char' label to
9388 `handle_escape_char' and `normal_char' label to
9389 `handle_normal_char'.
9391 Thu Jan 17 15:46:35 1991 James Clark (jjc at jclark)
9393 * groff.c (main, synopsis, help): Support -a option.
9394 * groff.sh: Likewise. Also eliminate Zflag variable by adding -z
9395 to trflags while parsing options.
9397 Tue Jan 15 13:07:27 1991 James Clark (jjc at jclark)
9399 * troff/number.c (parse_term): With `m', `M' and `n' scale
9400 indicators, convert scale factor to hunits before scaling.
9402 Mon Jan 14 12:39:12 1991 James Clark (jjc at jclark)
9404 * lib/font.c (scale_round): Better test for overflow when n is
9407 Thu Jan 10 11:10:56 1991 James Clark (jjc at jclark)
9409 * tbl/main.c (process_format): Add second argument of type
9410 options*. Change callers. Allow opt->tab_char as well as '\t'
9411 between format items.
9413 Mon Jan 7 12:30:18 1991 James Clark (jjc at jclark)
9415 * macros/tmac.an (PD): With no arguments, make sure register PD is
9417 (TH): Call PD with no argument, instead of setting register PD
9420 Sun Jan 6 11:18:39 1991 James Clark (jjc at jclark)
9422 * Version 1.00 released.
9424 Sat Jan 5 08:44:30 1991 James Clark (jjc at jclark)
9426 * ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.
9428 * dvi/devdvi/DESC: Mount CW instead of CR.
9430 * dvi/tmac.dvi: Add definition of \(tm.
9432 * dvi/devdvi/texsy.map: Add lh, and rh.
9433 * dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
9434 * dvi/devdvi/texmi.map: Add *o. Regenerate fonts.
9436 * dvi/devdvi/FontMakefile: Generate H from cmss10.
9437 * dvi/devdvi/Makefile: Install H.
9438 * dvi/devdvi/H: New file.
9440 Fri Jan 4 15:04:57 1991 James Clark (jjc at jclark)
9442 * troff/env.c (vertical_spacing): Don't allow vertical spacing to
9445 Thu Jan 3 13:41:19 1991 James Clark (jjc at jclark)
9447 * macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.
9449 * macros/tmac.pic (PS): Avoid attempting to set negative indent.
9451 * macros/tmac.s (@EN): Handle the case where the equation is empty
9452 but the label is not.
9454 Wed Jan 2 10:31:44 1991 James Clark (jjc at jclark)
9456 * troff/groff.h: New warning category WARN_SPACE.
9457 * troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
9458 WARN_SPACE to warning_table.
9459 (interpolate_macro): Give a warning of type WARN_SPACE if the name
9460 is longer than two characters and is not defined, but the first
9461 two characters do make a defined name.
9463 * PROBLEMS: New file.
9465 * CHANGES: New file.
9466 * README-0.6, README-1.00: Deleted.
9468 * groff.c, groff.sh: Add X75-12 and X100-12 devices.
9469 * xditview/devX75/Makefile: Make devX75-12.
9470 * xditview/devX100/Makefile: Make devX100-12.
9472 * xditview/devX100/eqnchar, xditview/devX75/eqnchar,
9473 dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.
9475 Tue Jan 1 19:24:01 1991 James Clark (jjc at jclark)
9477 * README-0.7: Rename to README-1.00.
9479 * macros/tmac.pic: New file.
9480 * macros/Makefile (install.nobin): Install tmac.pic.
9482 Mon Dec 31 10:40:53 1990 James Clark (jjc at jclark)
9484 * troff/env.c (hyphen_word): Correct the test for whether the
9485 token is a hyphen. Reset npos to 0.
9487 * macros/tmac.s (par@sup-start, par@sup-end): New implementations.
9489 Sun Dec 30 15:53:13 1990 James Clark (jjc at jclark)
9491 * macros/tmac.s (ds*common-end): Call par*reset.
9493 (par@reset-indent): Deleted.
9495 * macros/tmac.s (@IP): Divert the label.
9497 Sat Dec 29 14:33:32 1990 James Clark (jjc at jclark)
9499 * xditview/draw.c (setGC): Use a line width of .1m rather than
9500 .04m by default; round rather than truncate value.
9502 * tbl/table.c (class empty_entry): New class.
9503 (empty_entry::empty_entry, empty_entry::line_type): New functions.
9504 (table::add_entry): Represent empty entries by objects of type
9506 (table_entry::line_type): Return -1.
9507 (table::determine_row_type): Ignore entries with line_type 0.
9508 Treat type -1 as non-lines.
9510 Fri Dec 28 15:04:41 1990 James Clark (jjc at jclark)
9512 * ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
9513 macros/tmac.s: Rename \(-d to \(Sd.
9515 Thu Dec 27 12:35:47 1990 James Clark (jjc at jclark)
9517 * ps/devps/textmap: Add `sd', `/_' and `3d' characters.
9518 * xditview/libXdvi/DviChar.c: Likewise.
9519 * dvi/devdvi/texsy.map: Add `<<', `>>'.
9521 Wed Dec 26 13:33:23 1990 James Clark (jjc at jclark)
9523 * troff/div.c (top_level_diversion::begin_page): Call
9524 init_output() if the_output is 0.
9526 Sat Dec 22 12:35:29 1990 James Clark (jjc at jclark)
9528 * troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
9530 (get_copy): Turn \E into ESCAPE_E.
9531 (token::process, asciify): Handle ESCAPE_E.
9533 * macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
9535 (DS): Implement `.DS R'.
9537 Fri Dec 21 11:41:53 1990 James Clark (jjc at jclark)
9539 * macros/tmac.s (FS): New macro.
9541 * macros/tmac.s (fn@do-FS): Use @LP instead of LP.
9543 * macros/tmac.s (cov*tl-init): Remove after first execution
9544 instead of aliasing to @nop. Call top of page macro explicitly
9545 instead of setting trap; call @init first. Set pg@top as top of
9547 (cov*auto-init): Deleted. Set cov*tl-init instead of
9548 cov*auto-init as top of page trap.
9549 (TL, LP): Do a break instead of calling cov*tl-init.
9550 (cov*print): With RP format but no TL, alias FS and FE to @FS and
9551 @FE; in this case also give a warning and always start another
9552 page. No need to set pg@top here.
9553 (cov*tl-init): Rename to cov*first-page-init.
9555 * macros/tmac.s (RP): Do `.pn 0'.
9556 (cov*tl-init): With RP format don't do `.pn 0'.
9558 * macros/tmac.s (pg@cs-top): Set no space mode.
9560 * macros/tmac.s (par@TL, par@AU, par@AI): New macros.
9561 (cov*ab-init): Alias TL, AU and AI to these.
9563 Thu Dec 20 10:10:50 1990 James Clark (jjc at jclark)
9565 * macros/tmac.s (@EQ): Move the space before the equation into @EN
9566 (@EN): Do nothing unless \n[dl] is > 0.
9568 Tue Dec 18 12:20:47 1990 James Clark (jjc at jclark)
9570 * pic/object.c (ellipse_object::radius): New function.
9572 * VERSION: Change version to 0.7.
9574 * tbl/table.c (block_entry::do_divert): Declare return type as
9576 (block_entry::divert, alphabetic_block_entry::divert): Return 1.
9578 Mon Dec 17 12:30:34 1990 James Clark (jjc at jclark)
9580 * troff/column.c: New file.
9581 * troff/Makefile: Corresponding changes.
9583 * troff/hvunits.c (scale(vunits, vunits, vunits)): New function.
9586 * troff/div.c (top_level_diversion::space): If the space causes
9587 the first-page transition and springs a trap, truncate the space
9590 Fri Dec 14 12:30:02 1990 James Clark (jjc at jclark)
9592 * ps/ps.c (ps_printer::do_import): Add a `clear' after including
9595 * pic/troff.c (troff_output::line_thickness,
9596 troff_output::set_fill): Do a horizontal motion to compensate for
9597 the width of the \D escape sequence.
9599 Thu Dec 13 10:17:14 1990 James Clark (jjc at jclark)
9601 * xditview/tmac.X: Reinstate definition of \(rn, but only for X100
9604 * eqn/sqrt.c (sqrt_box::compute_metrics): Supply missing argument
9607 * tbl/table.c (simple_entry::simply_print): Don't declare as pure.
9608 Supply empty definition.
9609 (text_entry::simple_print, simple_text_entry::simple_print):
9610 Delete declarations.
9611 (table::add_entry): Represent empty entries by objects of type
9614 Wed Dec 12 08:50:48 1990 James Clark (jjc at jclark)
9616 * troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.
9618 * tbl/table.c (left_text_entry::add_tab): New function.
9620 * macros/tmac.s: Make @RT an alias for par@reset. Make RT
9623 Mon Dec 10 11:19:55 1990 James Clark (jjc at jclark)
9625 * troff/env.c (environment::start_field): Give an error message if
9626 there is no next tab.
9628 Sun Dec 9 11:46:40 1990 James Clark (jjc at jclark)
9630 * troff/env.c (hyphenate): Skip initial elements with zero
9633 * macros/tmac.s (par@init): Keep VS in points rather than units.
9635 Sat Dec 8 23:00:27 1990 James Clark (jjc at jclark)
9637 * pic/main.c (main): Implement `-c' option.
9638 * pic/output.h: Declare make_tpic_output().
9639 * pic/tex.c (tex_output::set_pen_size): Make it virtual and
9641 (tpic_output): New class.
9642 (tpic_output::tpic_output, tpic_output::set_pen_size,
9643 tpic_output::command, make_tpic_output): New functions.
9645 Fri Dec 7 11:57:41 1990 James Clark (jjc at jclark)
9647 * tbl/main.c (main): Call `.ab' if \n(.g is false. Define TS/TE
9648 if they're not already defined.
9649 * tbl/table.c (init_output): Don't test \n(.g.
9651 * troff/input.c (do_if_request): Delete `g' condition. Recognize
9652 `d', `r' and `c' conditions even in compatibility mode.
9654 Tue Dec 4 09:13:47 1990 James Clark (jjc at jclark)
9656 * ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
9659 Mon Dec 3 07:18:26 1990 James Clark (jjc at jclark)
9661 * troff/env.h (environment::prev_line_interrupted): New member.
9662 (environment::get_prev_line_interrupted): New function.
9663 * troff/env.c (environment::newline): Set prev_line_interrupted.
9664 (environment::environment(const environment *),
9665 environment::environment(symbol)): Initialize
9666 prev_line_interrupted.
9667 * troff/input.c (process_input_stack): Don't give special
9668 treatment to space and newline at the beginning of the line if the
9669 previous line was interrupted.
9671 Sat Dec 1 15:48:37 1990 James Clark (jjc at jclark)
9673 * eqn/eqn.y: Disallow PRIME by itself.
9674 * eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
9676 (def_table): Remove definition of '. Define prime to be `.
9678 * eqn/eqn.y: Split off part of rule `script' into a new rule
9681 Fri Nov 30 10:23:44 1990 James Clark (jjc at jclark)
9683 * macros/tmac.s ({, }): New string aliases.
9685 Thu Nov 29 11:34:40 1990 James Clark (jjc at jclark)
9687 * README-0.7: New file.
9689 Wed Nov 28 10:09:57 1990 James Clark (jjc at jclark)
9691 * macros/tmac.s: New file.
9692 * man/groff_ms.man: New file.
9693 * Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
9694 * Makefile.bd: Similarily.
9695 * man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
9696 definition of TMAC_S.
9697 * macros/Makefile: Add definition of TMAC_S. Install tmac.s.
9698 * macros/TODO: New file.
9700 Sat Nov 24 20:04:54 1990 James Clark (jjc at jclark)
9702 * troff/env.c (right_justify): New function.
9703 (init_env_requests): Bind this to request "rj".
9704 (center_lines): Set right_justify_lines to 0. If we get a bad
9705 integer, center 1 line.
9706 (environment::environment(symbol), environment::environment(const
9707 environment *)): Initialize right_justify_lines.
9708 (environment::get_right_justify_lines): New function.
9709 (init_env_requests): Bind this to number_register ".rj".
9711 * troff/env.c (environment::choose_breakpoint): Implement
9712 hyphenation_margin and hyphenation_space.
9713 (environment::get_hyphenation_space,
9714 environment::get_hyphenation_margin): New functions.
9715 (init_env_requests): Bind these to .hys and .hym.
9716 (hyphenation_space_request, hyphenation_margin_request): New
9718 (init_env_requests): Bind these to hys and hym.
9719 (environment::environment(symbol), environment::environment(const
9720 environment *)): Initialize hyphenation_margin and
9722 * troff/env.h: Corresponding changes to class environment.
9724 Fri Nov 23 09:08:16 1990 James Clark (jjc at jclark)
9726 * troff/div.c (blank_line): Always do a break.
9728 * eqn/box.c (do_text): Turn off escapes while appending text to
9731 Thu Nov 22 10:58:59 1990 James Clark (jjc at jclark)
9733 * troff/input.c (while_break_request, while_continue_request): New
9735 (init_input_requests): Bind these to "break" and "continue".
9736 (while_depth, while_break_flag): New variables.
9737 (while_request): Update while_depth. Break out of loop if
9738 while_break_flag is set.
9740 Wed Nov 21 10:54:40 1990 James Clark (jjc at jclark)
9742 * tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
9745 Mon Nov 19 00:45:03 1990 James Clark (jjc at jclark)
9747 * Makefile: Include -DBROKEN_SPOOLER by default. Expand comment.
9749 * stringify: New file.
9750 * Makefile (groff.o): Use stringify.
9752 * xditview/tmac.X: Remove definition of \(rn.
9753 * xditview/libXdvi/DviChar.c: Remove radicalex from
9756 Sat Nov 17 10:44:58 1990 James Clark (jjc at jclark)
9758 * tbl/table.c (table::add_entry): Allow alphabetic text blocks.
9759 (alphabetic_block_entry::alphabetic_block_entry,
9760 alphabetic_block_entry::divert, alphabetic_block_entry::print):
9762 (block_entry::divert): Split off body into ...
9763 (block_entry::do_divert): If the block is alphabetic, subtract 2n
9764 from the line length; also update the span width to dl+2n, and the
9765 alphabetic span width to dl.
9767 * driver/input.c (do_file): While reading argument to D command,
9768 when expanding buffer, multiply szp by sizeof(int) rather than 2
9769 in the argument to memcpy.
9771 * tbl/table.c (compute_span_width): Add 2n rather than 1n to the
9772 width of alphabetic columns.
9774 Fri Nov 16 06:34:27 1990 James Clark (jjc at jclark)
9776 * troff/node.c (lookup_family): Supply second argument to lookup.
9778 * troff/dictionary.c (dictionary::lookup): After an unsuccesful
9779 search, return immediately if v is 0.
9781 * pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
9782 (troff_output::start_picture): Set this reg.
9783 (troff_output::end_picture): Remove this reg
9784 * eqn/box.c (box::extra_space): Don't produce `\x's if
9785 EQN_NO_EXTRA_SPACE_REG is defined.
9787 * eqn/eqn.y: Allow just a PRIME to be a `simple'.
9788 * eqn/text.c (split_text): Map ' to \(fm when it's the first
9791 Thu Nov 15 10:35:06 1990 James Clark (jjc at jclark)
9793 * macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
9796 * troff/div.c (top_level_diversion::top_level_diversion):
9797 Initialize page_number to 0.
9799 Wed Nov 14 21:41:58 1990 James Clark (jjc at jclark)
9801 * groff/troff (environment::environment(const environment *)):
9802 Initialize name to e->name, rather than "anonymous".
9804 Sat Nov 10 01:59:37 1990 James Clark (jjc at jclark)
9806 * xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
9807 requested_page. Split middle part into ...
9808 (FindPage): New function.
9809 (SetValues): If we don't yet know the last page, and the requested
9810 page is greater than the current page, call FindPage.
9811 Update the font_map_string before doing this.
9813 * xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
9814 Translate \(lh and \(rh into left and right double arrows.
9816 * troff/node.c (class hyphen_inhibitor_node): New class.
9817 (hyphen_inhibitor_node::hyphen_inhibitor_node,
9818 hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
9819 hyphen_inhibitor_node::type,
9820 hyphen_inhibitor_node::get_hyphenation_type): New functions.
9821 (node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
9822 than dbreak_node(0, 0) to represent a `\%' at the beginning of a
9825 Fri Nov 9 16:05:38 1990 James Clark (jjc at jclark)
9827 * troff/node.h (dummy_node::get_hyphenation_type,
9828 transparent_dummy_node::get_hyphenation_type): Declare them.
9829 * troff/node.c: (dummy_node::get_hyphenation_type,
9830 transparent_dummy_node::get_hyphenation_type): New functions.
9832 Wed Nov 7 10:09:06 1990 James Clark (jjc at jclark)
9834 * xditview/libXdvi/draw.c: If M_PI not defined after including
9835 math.h, then define it.
9837 * xditview/Makefile: Add definition of AR. Pass it to the submake
9839 * xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.
9841 Tue Nov 6 10:14:27 1990 James Clark (jjc at jclark)
9843 * troff/dictionary.h (object_dictionary::alias): Declare return
9845 * troff/dictionary.c (object_dictionary::alias): Return non-zero
9846 if the old name was defined.
9847 * troff/input.c (alias_macro): Give a warning if the old name was
9849 * troff/reg.c (alias_reg): Likewise.
9851 Mon Nov 5 00:31:39 1990 James Clark (jjc at jclark)
9853 * troff/input.c (token::next): Delete implementation of \R.
9855 * macros/Makefile: Strip comments from tmac.e while installing it.
9857 * troff/input.c: New variable `nroff_mode'.
9858 (troff_request, nroff_request): New functions.
9859 (init_input_requests): Bind `troff' and `nroff' to troff_request
9861 (do_if_request): Compute results of t and n conditions from
9864 * text/text.c (split_text): Fix typo in >=.
9866 * eqn/lex.c: Add definition of `==' to def_table.
9868 Fri Nov 2 02:49:09 1990 James Clark (jjc at jclark)
9870 * pic/tex.c (tex_output::start_picture): Change the definitions of
9871 \graph and \graphtemp so that they work properly with Plain TeX.
9873 * pic/tex.c (tex_output::solid_arc): Ensure that the second angle
9874 argument to `ar' is not less than the first.
9876 * pic/pic.y: Allow a comma between elements of the variable list
9877 in the argument to `reset'.
9879 * pic/object.c (arc_object::arc_object): Fix computation of
9882 * eqn/main.c (main): Add exit(0).
9884 Thu Nov 1 02:03:50 1990 James Clark (jjc at jclark)
9886 * troff/div.c (begin_page): Test no_space_mode after doing the
9887 break, but still push the page ejector cookie before doing the
9888 break. Also set the next page number after doing the break.
9890 * xditview/xditview.c (NewFile): Don't set the title and icon name
9891 if this is the first file and its name is `-'.
9892 * groff/groff.c: Define a new device flag XT_OPTION. Set it for
9893 the X75 and X100 devices.
9894 (main): If a device has the XT_OPTION flag set and there's exactly
9895 one file argument, pass the driver -xrm and -title options to set
9896 the icon name and window title to the name of the file.
9898 * troff/env.c (environment_switch): If there was an argument but
9899 it wasn't a valid number or name, then pop an environment but
9900 don't give an error message on underflow.
9902 * troff/number.c (start_number): Correct spelling in error message.
9904 * troff/input.c (token::delimiter): Don't print an error message
9907 * xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
9908 ParseDrawFunction if dw->display_enable is true.
9910 Wed Oct 31 05:49:50 1990 James Clark (jjc at jclark)
9912 * pic/pic.y: Parse text positioning like normal attributes, so as
9913 to allow `"text" at 0,0 ljust'. Don't allow `center' as a
9914 positioning attribute.
9916 Mon Oct 29 22:50:38 1990 James Clark (jjc at jclark)
9918 * tbl/main.c (process_data): When in state START while reading a
9919 text block, don't change to state MIDDLE if c is a newline.
9921 Sun Oct 28 21:59:56 1990 James Clark (jjc at jclark)
9923 * dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
9924 so as to avoid shadowing parameter.
9926 Wed Oct 24 18:35:39 1990 James Clark (jjc at jclark)
9928 * tbl/table.c (trim_space): Deleted.
9929 (table::add_entry): Don't call trim_space.
9931 Mon Oct 22 03:48:39 1990 James Clark (jjc at jclark)
9933 * VERSION: Change version to 0.6.
9935 * troff/number.c (parse_expr): Make == work.
9937 Sat Oct 20 11:28:17 1990 James Clark (jjc at jclark)
9939 * man/grog.man: New file.
9940 * man/Makefile: Add grog.n to MAN1PAGES.
9941 * etc/grog.sh: New file.
9942 * etc/Makefile: Install grog.sh as grog.
9944 Fri Oct 19 11:17:15 1990 James Clark (jjc at jclark)
9946 * troff/input.c (token::next): Implement \E.
9948 Thu Oct 18 11:56:24 1990 James Clark (jjc at jclark)
9950 * xditview/tmac.X: Change font translations to match tmac.ps.
9952 * troff/input.c (non_empty_name_warning): Don't give a warning if
9953 `\{' terminates the name.
9955 Tue Oct 16 10:04:23 1990 James Clark (jjc at jclark)
9957 * ps/devps/symbol.diff: New file.
9958 * ps/devps/FontMakefile: Mention symbol.diff.
9960 Sun Oct 14 11:46:46 1990 James Clark (jjc at jclark)
9962 * troff/node.c (font_position): Use get_long_name to read the
9965 * troff/env.c (environment_switch): If we get a number that's < 0
9966 or >= NENVIRONMENTS, treat it like a name.
9967 Change NENVIRONMENTS to 10.
9969 * troff/groff.h: Remove definition of FONTS_MAX.
9970 * troff/node.h (class font_family): Make map a pointer instead of
9971 an array. Add a map_size member. Make it a class. Make nm const
9972 and public. Make invalidate_fontno a friend.
9973 * troff/node.c: Define font_table_size. Make font_info a pointer
9974 rather than an array.
9975 (class troff_output_file): Allocate font_position dynamically. Add
9976 nfont_positions member.
9977 (troff_output_file::set_font): Grow font_position if necessary.
9978 (troff_output_file::~troff_output_file): Delete font_position.
9979 (troff_output_file::troff_output_file): Allocate font_position.
9980 (grow_font_table): New function.
9981 (troff_output_file::really_begin_page,
9982 troff_output_file:really_copy_page): Use nfont_positions rather
9984 (mount_font_no_translate, mount_style): Call grow_font_table if
9986 (font_family::font_family): Allocate map.
9987 (font_family::make_definite): Grow map if necessary. Use
9988 font_table_size instead of FONTS_MAX.
9989 (font_family::~font_family): New function.
9990 (invalidate_fontno): Use font_family::map_size.
9991 (get_fontno, env_space_width, env_half_narrow_space_width,
9992 env_narrow_space_width, symbol_fotno, is_good_fontno,
9993 get_bold_fontno, make_glyph_node): Use font_table_size rather than
9995 (next_available_font_position): Never return 0.
9997 Fri Oct 12 10:17:52 1990 James Clark (jjc at jclark)
9999 * ps/tmac.ps: Add font translations for compatibility with dpost.
10001 Thu Oct 11 12:09:03 1990 James Clark (jjc at jclark)
10003 * eqn/pile.c: Rename default_baseline_sep to baseline_sep.
10004 Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
10005 Move definitions baseline_sep, shift_down, column_sep,
10006 matrix_side_sep into...
10007 * eqn/box.c: Add them to param_table.
10008 * eqn/pbox.h: Add declarations to pbox.h.
10010 * troff/input.c (set_string): Cast value to unsigned char *.
10012 * troff/token.h (process_input_stack): Declare it static before
10013 declaring it a friend.
10015 Wed Oct 10 09:59:13 1990 James Clark (jjc at jclark)
10017 * dvi/devdvi/texex.map: Fix positions of extensible brace middle
10019 * dvi/devdvi/EX: Regenerate.
10021 * troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
10024 Tue Oct 9 08:34:02 1990 James Clark (jjc at jclark)
10026 * eqn/lex.c: In defaults_table, make definition of `dot' call
10027 `dot_def'. Don't explicitly make it roman. Similarily for other
10030 * pic/lex.c (for_input::for_input): Add by_is_multiplicative
10032 (for_input::get, for_input::peek): Use this.
10033 (do_for): Add by_is_multiplicative argument.
10034 * pic/pic.y: Change optional_by clause to allow '*' after `by'.
10035 Change semantic value of optional_by to be a double plus a flag
10036 saying whethet the by clause is multiplicative.
10038 * eqn/lex.c (get_delimited_text): Remember location of start of
10039 definition. Improve error handling when EOF is encountered.
10041 * lib/font.h: Rename handle_x_command to
10042 handle_unknown_font_command.
10043 * lib/font.c (font::load): Call handle_unknown_font_command for
10044 any unknown command in the font description file. Don't call
10045 handle_x_command. Include the name of the command in the argv.
10046 Improve message for unknown command after kernpairs or charset
10048 * ps/ps.c (ps_font::handle_x_command): Rename to
10049 handle_unknown_font_command. Remove message about `x download'
10050 command. Give error message for wrong number of arguments.
10051 * ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
10052 * dvi/dvi.c (dvi_font::handle_x_command): Rename to
10053 handle_unknown_font_command. Give an error message for wrong
10054 number of arguments. Rename design_size to designsize.
10055 * dvi/tfmtodit.c (main): Generate `checksum' instead of `x
10056 checksum', `designsize' instead of `design_size'.
10058 Mon Oct 8 00:38:55 1990 James Clark (jjc at jclark)
10060 * eqn/*.[chy]: Change underaccent to uaccent.
10062 * eqn/eqn.y: Add rule for underaccent. Declare UNDERACCENT token;
10063 give it the same precedence as ACCENT.
10064 * eqn/other.c (make_underaccent_box): New function.
10065 * eqn/box.h: Declare it.
10066 * eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
10069 Sun Oct 7 11:25:16 1990 James Clark (jjc at jclark)
10071 * pic/pic.y (reset_all): New function. Called in rule for RESET.
10072 (parse_init): Call reset_all.
10073 (define_variable): When defining scale reset only those
10074 pre-defined variables that are scaled.
10075 (defaults_table): Add `scale' as non-scaled value.
10077 * pic/pic.y: Redo parsing of text adjustments: parse adjustments
10078 together with the text; allow any number of positioning words;
10079 allow center as a positioning word.
10081 * pic/object.c (output::compute_scale): Get picture maximum height
10082 and width from variables called maxpswid and maxpsht.
10083 * pic/pic.y: Add maxpswid and maxpsht to defaults_table.
10085 Sat Oct 6 10:16:56 1990 James Clark (jjc at jclark)
10087 * pic/object.c (object_spec::make_text): Multiply textht by number
10090 * pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
10092 (do_sprintf): New function.
10093 (pic.gperf): Add sprintf token.
10094 (text, sprintf): New rules.
10096 * pic/pic.y: `rand()' with no arguments returns a random number
10097 in the range [0,1).
10099 * pic/pic.y: Allow a bare expression to be an attribute: change
10100 precedences to support this. Change optional_ordinal rule to
10101 optional_ordinal_last to avoid reduce/reduce conflict.
10102 * pic/object.c (object_spec::object_spec): Initialize direction.
10104 * pic/pic.y: Implement ^ operator meaning exponentiation.
10106 * troff/node.h: Add default argument to mount_font.
10107 * troff/node.c (font_position): Read an optional third argument
10108 giving the external_name.
10109 (mount_font): Add optional argument giving the external_name.
10110 (mount_font_not_translate): Have additional argument giving
10111 external name. Use this name to load the font. Pass both names
10112 to font_info::font_info.
10113 (font_info::font_info): Have additional argument giving
10115 (class tfont): New member external_name.
10116 (font_info::get_tfont): Use external name to construct tfont_spec.
10118 Fri Oct 5 04:03:13 1990 James Clark (jjc at jclark)
10120 * eqn/lex.c (init_table): Add argument giving device. Define
10121 name of device to be "1".
10122 (do_ifdef): Counts as true if the argument has been defined with
10124 * eqn/main.c (main): Call init_table with device argument. Make
10125 device local to main.
10126 * eqn/eqn.h: Change declaration of init_table. Remove declaration
10129 * pic/lex.c (get_delimited): Allow text to be delimited by
10130 matching {}s. Don't recognize ending delimiter within a string.
10132 * troff/input.c (get_delim_name): New function.
10133 (token::next): Implement \C.
10135 * lib/font.c (font::load): Grok ---. Add an alias for each
10136 character based on its code.
10137 (font::get_code_width): Deleted.
10138 * lib/font.h (class font): Declare font::number_to_index().
10139 Remove declaration of font::get_code_width.
10140 * lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
10141 to indices of named characters.
10142 (font::number_to_index): New function.
10143 * troff/input.c (font::number_to_index): New function.
10144 (get_charinfo_by_number, charinfo::get_number,
10145 charinfo::set_number): New functions.
10146 (token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
10147 (token::process, token::description, token::get_char,
10148 token::add_to_node_list, token::operator==): Handle
10149 TOKEN_NUMBERED_CHAR.
10150 * troff/charinfo.h: Declare get_charinfo_by_number,
10151 charinfo::get_number, charinfo::set_number. Add NUMBERED flag to
10153 (charinfo::numbered): New function.
10154 * troff/token.h: Add TOKEN_NUMBERED_CHAR.
10155 * troff/env.h (class environment): Remove declaration of ...
10156 * troff/env.c (environment::make_numbered_char_node): Deleted.
10157 * troff/node.c (make_numbered_node): Deleted.
10158 (class numbered_glyph_node): Remove.
10159 (troff_output_file::put_char_width, troff_output_file::put_char):
10160 Handle numbered chars.
10161 (troff_output_file::numbered_char): Removed.
10162 (tfont::get_code_width): Removed.
10163 (make_glyph_node): Don't search special fonts for numbered
10165 * troff/node.h: Remove declaration of make_numbered_node.
10166 * driver/input.c (do_file): Handle N command.
10167 * driver/printer.h: Add declaration of ...
10168 * driver/printer.c (printer::set_numbered_char): New function.
10169 * dvi/tfmtodit.c (main): Generate unnamed entries.
10170 * ps/devps/afmtodit: Likewise.
10171 * xditview/xtotroff.c (MapFont): Likewise.
10172 * xditview/libXdvi/parse.c (ParseInput): Grok N command.
10174 * tbl/main.c (process_format): If multiple widths are specified
10175 for a column but all the widths are the same, don't give an error
10178 * tbl/table.c (table::do_row): If the current row is all lines and
10179 the stuff doesn't contains a line, mark the top of the row after
10180 printing stuff before the row. If the current row is not all
10181 lines and the stuff doesn't contain a line, don't unnecessarily
10182 mark the top of the row before printing the stuff.
10184 Mon Oct 1 11:42:00 1990 James Clark (jjc at jclark)
10186 * troff/groff.h: Remove MAX_PATH.
10187 * troff/input.c (open_file): Dynamically allocate space for the
10189 (open_mac_file, process_macro_file): Corresponding changes.
10191 Sun Sep 23 18:56:26 1990 James Clark (jjc at jclark)
10193 * troff/node.h (class output_file): Make copy_file pure. Add
10194 vspace method ifdef COLUMN. Add is_printing method.
10195 * troff/node.c: Add class printing_reg. Add class
10196 real_output_file. Derive other output_file classes from
10197 real_output_file; in these classes rename begin_page to
10198 really_begin_page, print_line to really_print_line, copy_file to
10199 really_copy_file, transparent_char to really_transparent_char.
10200 Move output_file::flush to real_output_file. Add printing member
10201 to class output_file.
10202 * troff/div.h: Remove printing member from top_level_diversion.
10203 Add vspace member function to class diversion ifdef COLUMN. Add
10204 some declarations ifdef COLUMN.
10205 * troff/div.c (top_level_diversion::copy_file,
10206 top_level_diversion::transparent_output,
10207 top_level_diversion::output): Don't test printing member before
10209 * troff/input.c: Handle initial variable_space_request ifdef
10211 * troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
10212 but comment it out.
10214 Sat Sep 22 11:32:22 1990 James Clark (jjc at jclark)
10216 * troff/div.c (diversion::need): Make any space forced. If we
10217 sprung a trap, set truncated_space to minus the distance to the
10218 trap and set needed_space to the amount that was needed.
10219 (top_level_diversion::space): A forced space turns no_space_mode
10221 (class constant_vunits_reg): New class.
10222 (init_div_requests): Implement number registers .trunc and .ne
10223 using constant_vunits_reg.
10224 (class truncated_space_reg): Deleted.
10226 * troff/div.h: Don't have a no_space_mode member in diversion.
10227 Instead have it in top_level_diversion.
10228 * troff/div.c (diversion::diversion): Don't initialize
10230 (top_level_diversion::top_level_diversion): Initialize
10232 (no_space, restore_spacing): Do nothing if curdiv != topdiv.
10233 (macro_diversion::output): Don't clear no_space_mode.
10235 * troff/input.c (diverted_space_node::reread): Don't call
10236 environment::do_break. In fill mode, act like a blank line.
10237 (diverted_copy_file_node::reread): Don't call
10238 environment::do_break.
10240 * troff/div.c (blank_line): New function.
10241 * troff/div.h: Declare it.
10242 * troff/input.c (process_input_stack): Call it.
10244 * troff/div.c (truncated_space_reg::get_string): New function.
10245 (init_div_requests): Bind to .trunc.
10246 (space_request, top_level_diversion::space,
10247 top_level_diversion::output, macro_diversion::space,
10248 macro_diversion::output): Update truncated_space.
10249 (macro_diversion::output): Redo calculations when trap sprung.
10250 (macro_diversion::output, macro_diversion::space): No need for
10253 * troff/div.c (top_level_diversion::output): Set nl_reg_contents
10254 after truncating post line spacing.
10256 Fri Sep 21 11:27:25 1990 James Clark (jjc at jclark)
10258 * ps/devps/prologue (MF, SF): Make them work even if setfont is
10259 defined as a procedure rather than as an operator.
10261 Thu Sep 20 12:55:05 1990 James Clark (jjc at jclark)
10263 * troff/div.c (macro_diversion::space): Ignore no_space_mode.
10265 Wed Sep 19 10:54:37 1990 James Clark (jjc at jclark)
10267 * troff/div.c (top_level_diversion::output): Merge
10268 output_file::print_line and output_file::end_of_line member
10270 * troff/div.h (class output_file):
10271 * troff/node.c (troff_output_file::print_line,
10272 troff_output_file::end_of_line, output_file::end_of_line,
10273 ascii_output_file::print_line, suppress_output_file::print_line):
10274 Corresponding changes.
10276 Tue Sep 18 11:31:47 1990 James Clark (jjc at jclark)
10278 * troff/input.c (token::next): Don't give a warning for `\.'.
10280 * troff/env.c (environment::get_center_lines): New function.
10281 (init_env_requests): Bind number register .ce to it.
10282 * troff/env.h: Declare it.
10283 * tbl/table.c (table::init_output): Define reset macro to restore
10284 .ce. If center option not given, store .ce in SAVED_CENTER_REG.
10286 (table::print): If center option not given, then imply center
10287 option if SAVED_CENTER_REG > 0.
10289 Mon Sep 17 09:19:19 1990 James Clark (jjc at jclark)
10291 * ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
10292 Troff.ps from DOWNLOAD.
10294 * troff/Makefile: Change comment in DEFINES to avoid confusing
10297 * ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
10298 code. Don't try to catch errors with stopped.
10299 (check_line_lengths): New function.
10300 * ps/devps/prologue (EXEC): Deleted.
10301 (EBEGIN, EEND): New procedures.
10303 Sun Sep 16 14:51:15 1990 James Clark (jjc at jclark)
10305 * troff/input.c: Include request.h before node.h.
10306 * troff/node.c: Likewise.
10307 * troff/env.c: Likewise.
10308 * troff/div.c: Likewise.
10309 * troff/node.h (class special_node): Store argument as a macro
10310 rather than a char *.
10311 * troff/node.c (special_node::special_node, special_node::copy):
10313 (special_node::~special_node): Deleted.
10314 (special_node::tprint): Deleted.
10315 (special_node::tprint_start, special_node::tprint_end,
10316 special_node::tprint_char): New functions.
10317 (troff_output_file::special): Deleted.
10318 (troff_output_file::start_special, troff_output_file::end_special,
10319 troff_output_file::special_char): New functions.
10320 * troff/input.c (special_node::tprint): New function.
10321 (do_special): Use macro not char *.
10322 (do_transparent_macro): Deleted.
10323 (token::next): Don't call do_transparent_macro.
10325 * troff/input.c (token::next): Add 'Y' case.
10326 (do_transparent_macro): New function.
10327 * troff/node.c (troff_output_file::special): Handle newlines with
10328 argument using new continuation convention.
10329 * driver/input.c (get_string): Cope with continuation convention.
10330 (do_file): Don't call skip_line after calling get_string(1).
10331 * ps/ps.c (ps_printer::special, ps_printer::do_import,
10332 ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
10334 * xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
10337 Sat Sep 15 19:00:10 1990 James Clark (jjc at jclark)
10339 * troff/input.c (asciify): By default, illegal input characters
10340 should return empty string.
10342 * troff/input.c (copy_file): Handle first page transition like title.
10343 (token::next, process_input_stack): Grok COPY_FILE_REQUEST.
10345 * troff/input.c (token::next): Improve error message for EOF after
10347 (input_char_description): New function.
10348 (get_char_for_escape_name): Use input_char_description.
10349 (token::next): Warn about unrecognized escape sequences.
10350 (warning_table): Add WARN_ESCAPE.
10351 * troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
10354 * troff/token.h: Remove declaration of process_input_stack.
10356 * troff/input.c: Remove declaration of init_hyphen_requests.
10357 * troff/request.h: Correct spelling in declaration of same.
10359 * troff/input.c (token::next): Check whether escape_char is 0.
10361 Fri Sep 14 12:09:25 1990 James Clark (jjc at jclark)
10363 * groff.c (main, usage, help): Implement -P and -L options.
10364 * groff.sh: Likewise.
10366 * troff/input.c (token::next): Use some gotos to avoid code
10369 * troff/input.c (get_long_name, get_name, read_long_ecsape_name):
10370 Avoid calling symbol::symbol if name empty.
10372 Thu Sep 13 06:21:45 1990 James Clark (jjc at jclark)
10374 * troff/input.c (init_input_requests): Make \n(.x return the major
10375 version number and \n(.y return the minor version number.
10376 * troff/Makefile: Construct file majorminor.c defining
10377 major_version and minor_version automatically from ../VERSION.
10379 * troff/node.c (class glyph_node): Make operator new and operator
10381 (class ligature_node): Similarily.
10383 * troff/input.c (operator==(const macro &, const macro &)): New
10385 (non_interpreted_node::same): Use this.
10386 (string_iterator::string_iterator): Make macro& argument const.
10388 * troff/input.c (input_iterator::get): New function. Don't make
10389 asciify_macro or class non_interpreted_node friends of class
10391 (non_interpreted_node::interpret): Use input_iterator::get.
10392 (asciify_macro): Likewise.
10394 * troff/input.c (~token_node, ~string_iterator, ~arg_list,
10395 ~non_interpreted_node): Deleted.
10396 * troff/node.c: (~suppress_output_file, ~ascii_output_file):
10399 * troff/symbol.h: Make all symbol member functions const.
10401 * lib/strtol.c: New file.
10402 * lib/Makefile: Add strtol.c.
10403 * Makefile: Define STRTOL as strtol.o to include strtol in
10406 Wed Sep 12 10:00:49 1990 James Clark (jjc at jclark)
10408 * pic/troff.c (troff_output::simple_circle): Divide by scale.
10410 Tue Sep 11 14:17:16 1990 James Clark (jjc at jclark)
10412 * troff/input.c (do_special): Use input_level.
10414 * troff/token.h (TOKEN_BACKSPACE): New token.
10415 (token::backspace): New function.
10416 * troff/input.c (token::description, token::next, token::process):
10417 Grok TOKEN_BACKSPACE.
10418 (do_special): Turn TOKEN_BACKSPACE back into \b.
10420 * troff/token.h (token::leader): New function.
10421 * troff/input.c (do_special): Turn TOKEN_LEADER back into \001.
10423 * troff/input.c (do_special): Turn TOKEN_TAB back into \t.
10425 * troff/input.c (do_special): Use token::description in error
10428 Mon Sep 10 11:06:27 1990 James Clark (jjc at jclark)
10430 * troff/input.c (decode_args): Combine quoted and
10431 quote_input_level variables. Make it a for (;;) loop.
10433 * troff/input.c (get_char_for_escape_name): Check for \001 and \b.
10435 * troff/input.c (read_long_escape_name): The test for whether to
10436 expand buffer was off by 1.
10437 (read_string): Similarily.
10439 Fri Sep 7 11:45:50 1990 James Clark (jjc at jclark)
10441 * troff/input.c: Use `const int' rather than `static const int'.
10443 * troff/div.h (diversion::copy_file): Declare as pure virtual.
10444 (macro_diversion::copy_file): New function.
10445 * troff/node.h: New class diverted_copy_file_node.
10446 * troff/node.c: Implement it.
10447 * troff/input.c (copy_file): Use diversion::copy_file. Handle
10448 first page transition by pushing a diverted_copy_file_node.
10449 * troff/input.c (token::next, process_input_stack): Don't handle
10452 Thu Sep 6 13:29:10 1990 James Clark (jjc at jclark)
10454 * ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
10455 whether space widths need adjusting.
10457 * troff/charinfo.h: Generalize translated_to_space to
10458 special_translation so as to allow translation to \&.
10459 * troff/input.c (translate): Allow translation to \&.
10460 (charinfo::*): Corresponding changes.
10461 * troff/node.c (make_node, node::add_char): Corresponding changes.
10462 * troff/node.h (dummy_node::dummy_node): Allow optional first
10465 * lib/lib.h: Make codes 0200 to 0237 illegal input characters.
10466 * troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
10468 * troff/input.c (token::next): Turn a TITLE_REQUEST into a
10469 TOKEN_REQUEST with an argument of TITLE_REQUEST.
10470 (token::process): Grok that.
10471 * troff/input.c (copy_file): Handle first page transition like
10472 title by pushing a COPY_FILE_REQUEST cookie.
10473 (token::next, process_input_stack): Grok that.
10474 * troff/node.h (output_file::copy_file): Add x and y arguments.
10476 * troff/div.c (top_level_diversion::copy_file): Supply them.
10477 * troff/node.c (troff_output_file::copy_file): Add x and y
10478 arguments; moveto specified position. Invalidate font_position
10479 array after copying file.
10480 (output_file::copy_file): New function.
10481 (suppressed_output_file::copy_file, ascii_output::copy_file):
10483 * troff/input.c (transparent_file): New function.
10484 (init_input_requests): Bind to "trf".
10485 (token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
10486 (process_input_stack): Likewise.
10488 * troff/Makefile: Add ../lib/lib.h to GROFF_H.
10490 * troff/node.c (init_node_requests): New number registers .kern
10491 pointing to global_kern_mode, and .lg pointing to
10492 global_ligature_mode.
10494 * troff/node.c (ligature): Don't change it if we get a bad
10497 * troff/input.c (do_define_string): Don't strip tabs.
10499 * troff/input.c (asciify_macro): Make the string_iterator auto.
10501 * troff/node.c (init_font_requests): Rename to...
10502 (init_node_requests):
10503 * troff/node.h: Change declaration.
10504 * troff/input.c (main): Change call.
10506 * troff/input.c (node::reread, diverted_space_node::reread): New
10508 (process_input_stack): Call reread rather than
10509 get_diverted_space_node.
10510 * troff/node.c (node::get_diverted_space_node,
10511 diverted_space_node::get_diverted_space_node): Removed.
10512 * troff/node.h: Declare reread methods instead of
10513 get_diverted_space_node methods. Make `n' member private.
10514 * troff/input.c: (token::diverted_space): Removed.
10515 * troff/token.h: Removed declaration.
10518 Tue Sep 4 00:48:04 1990 James Clark (jjc at jclark)
10520 * eqn/script.c (script_box::compute_metrics): Don't let
10521 SUP_RAISE_FORMAT become negative.
10523 * tbl/table.c (table::do_row): Entries that don't end in the
10524 this row shouldn't make the row non-blank.
10526 * tbl/table.c (table::make_columns_equal): Only set the width of
10527 columns which are marked as equal.
10529 * tbl/main.c (process_data): Before issuing excess data error,
10530 if last character was a newline unget it; then get it again after
10531 the error. Also include the contents of the entry in the message.
10533 * groff.c: New file.
10534 * Makefile: Build groff from groff.c. Make it possible to use
10535 either groff.sh or groff.c as groff.
10536 * Makefile.bd: Similarily.
10538 Mon Sep 3 09:39:49 1990 James Clark (jjc at jclark)
10540 * groff.sh: Don't delay expansion of $@ in assignment to files.
10541 Remove occurrences of \".
10543 Sun Sep 2 09:56:59 1990 James Clark (jjc at jclark)
10545 * all Makefiles: Simplify and rearrange.
10547 * Makefile: Handle fmod like malloc.
10548 * lib/Makefile: Similarily.
10549 * lib/fmod.c: Remove #ifdef NEED_FMOD.
10551 * Makefile: Rename OPTIMISE to OPTIMIZE.
10553 * groff.sh: Remove assignment to PATH.
10554 * Makefile: Remove SHPATH variable.
10555 * Makefile.bd: Similarily.
10557 * groff.sh: Add -V option to print the pipeline instead of
10560 Fri Aug 31 00:56:46 1990 James Clark (jjc at jclark)
10562 * lib/font.c: Split off file searching into ...
10563 * lib/fontfile.c: New file.
10565 * lib/strerror.c (strerror): Use `Error %d' for unknown errors.
10567 Thu Aug 30 13:13:55 1990 James Clark (jjc at jclark)
10569 * tbl/table.c (table::do_hspan): Delete assertion that e != 0.
10570 Also change misleading comment.
10571 (table::do_vspan): Change similarily misleading comment.
10572 * tbl/main.c (process_data): A format row with an explicit `s'
10573 uses up a data line, even if all the other columns are `_' or `='.
10575 * troff/input.c (token::description): Fix description of
10576 TOKEN_DUMMY and TOKEN_EMPTY.
10578 Wed Aug 29 04:12:08 1990 James Clark (jjc at jclark)
10580 * groff.sh: Fix description of -Z in help message.
10582 Tue Aug 28 07:28:33 1990 James Clark (jjc at jclark)
10584 * pic/object.c (object_spec::make_object): Allow negative and zero
10586 * pic/pic.y: Give linethick default value of -1.0.
10587 * pic/troff.c (troff_output::troff_output): Initialize
10588 last_line_thickness to BAD_THICKNESS.
10589 (troff_output::finish_picture): Set thickness to BAD_THICKNESS.
10590 (troff_output::line_thickness): Canonicalize negative thicknesses
10591 to RELATIVE_THICKNESS.
10592 * pic/tex.c (tex_output::set_pen_size): Silently map negative line
10593 thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
10595 (tex_output::start_picture): Set pen_size to -2.0.
10597 * ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
10598 0, then use 0 linewidth.
10599 (ps_printer::ps_printer): Initialize line_thickness to -1.
10601 * pic/troff.c (troff_output::simple_ellipse): Divide by scale.
10603 * ps/devps/symbolchars: Remove `or'.
10604 * ps/tmac.ps: Implement \(or with .char.
10606 * ps/devps/symbolchars: Move most characters into textmap.
10607 * ps/devps/textmap: Add names for troff bracket characters. Remove
10610 * ps/devps/TSymbol.ps: Removed.
10611 * ps/devps/FontMakefile: Make S from Symbol not TSymbol.
10612 * ps/tmac.ps: Do with .char what TSymbol did.
10613 * ps/devps/download: Remove TSymbol.
10615 * ps/devps/T: Removed.
10616 * ps/devps/Troff.ps: Removed.
10617 * ps/devps/Troff.afm: Removed.
10618 * ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
10619 * ps/devps/download: Remove Troff.
10620 * ps/devps/FontMakefile: Remove T target.
10621 * ps/devps/DESC-A4: Remove T from font list.
10622 * ps/devps/DESC-letter: Likewise.
10624 * troff/input.c (macro_to_node): Rename to ...
10625 (charinfo_to_node): Don't pass mac argument. Temporarily remove the
10626 character's definition while processing it.
10627 * troff/node.c (node::add_char, make_node): Change calls to
10628 macro_to_node accordingly.
10630 * troff/input.c (token::next): Translate \_ to \(ul.
10632 * tty/devascii/R.proto: Add `|'.
10633 * tty/devlatin1/R.proto: Likewise.
10635 Mon Aug 27 11:25:41 1990 James Clark (jjc at jclark)
10637 * man: Put the version number in all the man pages.
10639 Sun Aug 26 11:40:05 1990 James Clark (jjc at jclark)
10641 * Makefile.bd: New file.
10642 * README.bd: New file.
10644 * VERSION: New file.
10645 * lib/version.c: Removed.
10646 * lib/Makefile: Create version.c from ../VERSION. Remove version.c
10649 * troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
10650 environment variable.
10652 * all Makefiles: Split install target into install.bin for
10653 binaries, and install.nobin for everything else.
10654 * Makefile: Add bindist target.
10656 * man/afmtodit.man: New file.
10657 * man/Makefile: Add afmtodit.n to MAN1PAGES.
10658 * ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
10660 * ps/Makefile: Pass BINDIR to make install in devps.
10662 * ps/ps.c (ps_printer::set_char): Do nothing if the character is
10663 the space character.
10665 * ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.
10667 Sat Aug 25 15:39:03 1990 James Clark (jjc at jclark)
10669 * ps/ps.c: Redo font downloading.
10670 * ps/devps/download: New file.
10671 * ps/devps/Makefile: Add download to DEVICEFILES.
10672 * ps/devps/afmtodit: Remove -d option.
10673 * ps/devps/FontMakefile: Don't use -d option with afmtodit.
10674 * ps/devps/symbosl.ps: Add %%DocumentFonts comment.
10675 * ps/devps/zapfdr.ps: Likewise.
10676 * ps/devps/TSymbol.ps: Likewise.
10678 Fri Aug 24 20:10:30 1990 James Clark (jjc at jclark)
10680 * groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.
10682 Thu Aug 23 10:03:47 1990 James Clark (jjc at yquem)
10684 * ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
10685 then strip the first line if it starts with %.
10686 * Makefile: Add a comment about this.
10688 * man/tfmtodit.man: New file.
10689 * man/Makefile: Add tfmtodit.n to MAN1PAGES.
10690 * dvi/Makefile: Install tfmtodit in BINDIR.
10692 * dvi/tfmtodit.c (usage): Mention -v option.
10694 Wed Aug 22 09:56:36 1990 James Clark (jjc at yquem)
10696 * troff/node.c (troff_output_file::end_of_line): Call do_motion.
10697 * troff/node.c (troff_output_file::transparent_char): Don't call
10700 * eqn: Add check_tabs method to most box classes.
10701 * eqn/box.c (box::top_level): Call check_tabs.
10703 * eqn/script.c (script_box::output): Use \Z.
10704 * eqn/limit.c (limit_box::output): Use \Z.
10706 * eqn/box.c (box::top_level): Use itoa.
10708 Tue Aug 21 09:29:28 1990 James Clark (jjc at yquem)
10710 * dvi/tmac.dvi: Add font translations for CR, C, TT.
10711 * dvi/devdvi/Makefile: Don't make links to CW.
10713 * ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
10715 * xditview/tmac.X: Likewise.
10717 * troff/node.c: Add font translation feature.
10718 (get_font_translation): New function.
10719 (symbol_fontno): Translate the font name.
10720 (mount_font_no_translate): Rename to mount_font to this.
10721 (mount_font): New function.
10722 (font_family::make_definite): Call mount_font_no_translate instead
10724 (mount_style): Translate the font name.
10725 (font_translate): New function.
10726 (init_font_requests): Bind "ftr" to font_translate.
10728 * ps/devps/prologue (SN): New procedure that rounds a position to
10729 the nearest (pixel + (.25,.25)).
10730 (DL): Use SN to round endpoints.
10732 * lib/version.c: Changed version to 0.5.
10734 Sat Aug 18 04:43:21 1990 James Clark (jjc at yquem)
10736 * Makefile: Move definition of PAGE to the very beginning, so that
10737 people are less likely to miss it.
10739 Fri Aug 17 02:15:11 1990 James Clark (jjc at yquem)
10741 * man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.
10743 * troff/env.c (environment::choose_breakpoint): Make `can't find
10744 breakpoint' error a warning of type WARN_BREAK. Change message to
10745 `can't break line'.
10746 * troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
10748 * troff/input.c: Add WARN_BREAK to warning_table. Include
10749 WARN_BREAK in DEFAULT_WARNING_MASK.
10751 * tty/tmac.tty: Add definition of \(+-.
10753 * groff.sh: Remove `--' option to set command.
10755 * dvi/devdvi/texsy.map: Remove duplicate md entry.
10757 * ps/devps/eqnchar: Better definition of cdot using md.
10758 * dvi/devdvi/eqnchar: Likewise.
10759 * xditview/devX100/eqnchar: Likewise.
10760 * xditview/devX75/eqnchar: Likewise.
10761 * eqn/lex.c: Add definition of cdot.
10763 Thu Aug 16 09:33:57 1990 James Clark (jjc at yquem)
10765 * troff/input.c (get_optional_char): New function.
10766 * troff/input.c (set_page_character): Use get_optional_char(),
10767 rather than has_arg() and tok.get_char(1).
10768 * troff/env.c (tab_character, leader_character, hyphen_char,
10769 field_characters): Likewise.
10770 (margin_character): Likewise. Also always delete the
10771 margin_character_node.
10773 * troff/input.c (token::get_char): Use token::description.
10775 * troff/input.c (has_arg): Don't skip over tab and \}.
10776 * troff/number.c (start_number): Give a warning if the number
10777 starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).
10779 Wed Aug 15 10:04:37 1990 James Clark (jjc at yquem)
10781 * troff/input.c (empty_name_warning, non_empty_name_warning): New
10783 (get_name, get_long_name): Use these. Rename `warn' argument to
10786 * troff/node.c (get_fontno): Test that the symbol is not null.
10788 * troff/input.c (token::description): New function.
10789 * troff/number.c (parse_term): Use token::description in `numeric
10790 expression expected' message.
10791 * troff/groff.h: Add WARN_MISSING.
10792 * troff/number.c (start_number): New function.
10793 * troff/number.c (get_vunits, get_hunits, get_number, get_integer,
10794 get_incr_number): Use start_number().
10795 * troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
10797 * troff/input.c (get_name, get_long_name): Use WARN_MISSING.
10798 * troff/reg.c (alter_format): Use WARN_MISSING. Also use
10800 * troff/input.c (token::get_char): Use WARN_MISSING.
10801 * troff/input.c (token::delimiter): Use token::description.
10802 * troff/env.c (environment_switch): Back out Aug 3 change.
10803 * troff/input.c (has_arg): Skip over \}s and tabs but give a
10805 * troff/token.h (token::tab): New function.
10806 * troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
10807 * troff/reg.c (alter_format): Likewise.
10808 * troff/node.c (bold_font): Use has_arg() rather than tok.skip().
10810 Tue Aug 14 10:11:21 1990 James Clark (jjc at yquem)
10812 * troff (most files): Redo warnings. Divide warnings into various
10813 categories; warning() has an additional first argument indicating
10814 the category it falls into.
10815 * troff/input.c (main): -w now takes an argument. New option -W.
10816 (enable_warning, disable_warning): New functions.
10818 * ps/devps/afmtodit: Add -a option to lie about the italic angle.
10819 * ps/devps/FontMakefile: Pretend TI has an angle of 7.
10821 Mon Aug 13 10:11:16 1990 James Clark (jjc at yquem)
10823 * ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
10824 * xditview/devX100/eqnchar: Likewise. Remove definition of dot.
10825 * xditview/devX75/eqnchar: Likewise.
10826 * dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.
10828 * eqn/other.c: When bar or over applies to a single character
10829 don't produce an overline_box or an underline_box. Instead produce
10830 an accent_box or an underaccent_box, with the accent a line
10831 whose width is accent_width. New classes underaccent_box,
10832 overline_char_box and underline_char_box.
10833 * eqn/box.h: Move overline_box, underline_box, accent_box class
10834 declarations into eqn/other.c. Add declarations of
10835 make_underline_box, make_overline_box, make_accent_box.
10836 * eqn/eqn.y: Call make_overline_box, make_underline_box
10837 make_accent_box instead of constructors.
10838 * eqn/pbox.h, eqn/box.c: Add accent_width parameter.
10840 * eqn/other.c: Add accent_box::~accent_box.
10841 * eqn/box.h: Declare it.
10843 * groff.sh: With -Tps, use eqn -D.
10845 * eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
10847 (underline_box::output): Similarily.
10848 (accent_box::output): Use \Z.
10850 * xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
10853 Sun Aug 12 09:41:15 1990 James Clark (jjc at yquem)
10855 * troff/div.c (top_level_diversion::transparent_output(unsigned
10856 char)): Use asciify.
10857 * troff/input.c (asciify): Don't make it static.
10858 * troff/token.h (asciify): Declare it.
10860 * troff/input.c (get_name, get_long_name, token::get_char,
10861 token::delimiter): Add an extra default argument which says
10862 whether a warning should be printed.
10863 * troff: Pass a non-zero argument to one of these rather than
10864 printing a warning directly.
10866 Sat Aug 11 09:02:21 1990 James Clark (jjc at yquem)
10868 * troff: Consistently use symbol::is_null.
10870 * troff/dictionary.h: Move some inline functions into
10873 * troff/request.h: Move inline functions into input.c.
10874 (request_or_macro::invoke): Make it pure.
10876 * troff/input.c, troff/reg.h: New class `constant_int_reg'.
10877 * troff/input.c (init_input_requests): Use class constant_int_reg.
10878 (class compatible_reg): Deleted.
10879 * troff/div.c (init_div_requests): Use class constant_int_reg.
10880 (class last_post_line_extra_space_reg): Deleted.
10882 * troff/env.c (tab_character): Don't change the tab character if
10883 we get an invalid argument.
10884 (hyphen_char): Similarily.
10886 * troff/reg.c (alter_format): Check that nm is not null.
10888 * Makefile, groff.sh: Make it possible to customize the commands
10889 used for printing PostScript and dvi files. Also make it possible
10890 to customize the path used by groff.sh.
10892 * eqn/eqn.y: Make `left' right associative.
10894 Fri Aug 10 18:20:39 1990 James Clark (jjc at yquem)
10896 * pic/pic.h: Added definition of M_SQRT2 for those systems that
10899 * pic/pic.h: Removed definition of INT_MAX.
10901 * troff/node.c (italic_corrected_node::vertical_extent): Omit
10904 * troff/input.c (token::next): Handle \R like \n.
10906 Tue Aug 7 09:46:33 1990 James Clark (jjc at yquem)
10908 * ps/tmac.pc (PSPIC): Simplify.
10910 * troff/env.c (tab_stops::to_string):
10911 * pic/pic.y (object_type_name):
10912 * pic/troff.c (simple_output::line):
10913 * pic/tex.c (tex_output::spline):
10914 * pic/object.c (object_spec::make_object):
10915 * tbl/main.c (process_data): Add cases to switch statements to
10916 avoid cfront warnings. (Some of these are spurious, since the
10917 switch already has a default case.)
10919 * ps/tmac.ps (PSPIC): Reformatted. Prefix all local names with
10920 `ps-'. Don't test systat; instead check number of arguments to
10923 Mon Aug 6 00:13:07 1990 James Clark (jjc at yquem)
10925 * macros/tmac.e: Do not decrease the page offset by 0.5i.
10927 * ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
10928 Unlink the file as soon as we have opened it, so that we don't
10929 have to bother with signal handlers.
10930 (handler): Deleted.
10931 (fatal_error_exit): Deleted.
10932 (main): Don't call signal.
10934 * dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
10936 * dvi/devdvi/Makefile: Use the -k option with S and MI.
10938 * pic/pic.y: If there is a label, or an nth construction before
10939 the first `.' in the argument to `with', ignore it and generate a
10941 * pic/lex.c (lex_warning): New function.
10943 * tbl/table.c (table::init_output): In section keep and release
10944 macro, use 0 indent when diverting and the correct indent when
10947 * troff/input.c (interpolate_number_format): Do not interpolate
10948 anything if the number register is not defined.
10950 * tbl/main.c (process_data): Don't add entry when col >= ncolumns.
10952 Sat Aug 4 08:12:05 1990 James Clark (jjc at yquem)
10954 * ps/devps/prologue (PICTURE): Set components of graphics state to
10955 their default values.
10957 * ps/devps/text.enc: Add trademark
10958 * ps/devps/textmap: Add names for club, spade, heart, diamond,
10959 carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
10960 * ps/devps/symbolchars: Add names for summation and product.
10962 * dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
10963 suchthat. Add pp. Add upper-case letters.
10965 * xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
10966 diamond, carriagereturn, suchthat. Use Upsilon1 rather than
10969 * dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
10970 rA (right angle bracket) to ra. Introduce names for double-headed
10971 arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
10972 * ps/devps/textmap: Likewise for ps device.
10973 * xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
10974 * tty/devascii/R.proto: Rename lA to la and rA to ra.
10975 * tty/devascii/R.proto: Likewise.
10976 * tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
10978 * eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.
10980 * xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.
10982 * eqn/lex.c: Added definitions of `approx', `grad' and `del' to
10985 Fri Aug 3 09:59:27 1990 James Clark (jjc at yquem)
10987 * troff/div.c (when_request): Use symbol::is_null rather than
10988 has_arg to determine whether we have an argument.
10989 (change_trap): Remove the trap if we get an invalid number. Give
10990 an error if we don't get at least the macro name.
10991 (diversion_trap): Remove trap if we get an invalid name or number.
10993 * troff/env.c (environment_switch): Pop if we get an invalid
10994 symbol or numeric expression.
10996 * troff/input.c (do_define_macro): If EOF is encoutered while
10997 defining the macro, do tok.next() before returning.
10999 * troff/token.h (has_arg): Move definition from here, to ...
11000 * troff/input.c (has_arg): ... here
11002 * troff/env.c (space_size): Do nothing if we get an invalid argument.
11003 * troff/input.c (shift): Likewise.
11005 * pic/lex.c (get_token_after_dot): Accept `.center' as a synonym
11008 * pic/troff.c (troff_output::start_picture): Comment out calls to
11011 * eqn/main.c (do_file): Subtract 1 from current_lineno if
11012 interpret_lf_args succeeds.
11014 * eqn/main.c (do_file): Don't recognize delimiter if preceded by
11015 \\. This avoids problems with \$N.
11017 * groff.sh: Pass -C to preprocessors.
11019 * lib/lf.c (interpret_lf_args): Be more flexible.
11021 * tbl/main.c (main): Add -C option.
11022 (table_input::get): Do not recognize TE if followed by character
11023 other than a space or newline unless -C option given.
11024 (process_input_file): Likewise for lf, TS.
11025 (process_data): Likewise for lf in text blocks.
11027 * eqn/main.c (main): Add -C option.
11028 (do_file): Don't recognize EQ, EN or lf if followed by character
11029 other than space or newline unless -C option given.
11030 * eqn/lex.c (file_input::read_line): Similarily.
11031 * eqn/eqn.h: Declare compatible_flag.
11033 * etc/soelim.c (main): Add -C option.
11034 (interpret_lf_args): Use version in libgroff.
11037 * pic/main.c (main): Add -C option, which sets compatible_flag.
11038 (top_input::get), (top_input::peek): If -C option not given,
11039 do not recognize .PS/.PE/.PF/.lf if followed by a character
11040 other than space or newline.
11041 * pic/lex.c (file_input::read_line): Similarily.
11042 * pic/pic.h: Add declaration of compatible_flag.
11044 Thu Aug 2 11:11:27 1990 James Clark (jjc at yquem)
11046 * ps/tmac.ps (PSPIC): Avoid use of `echo -n'.
11048 * troff/node.c, troff/node.h: Add `asciify' methods to classes
11049 derived from node. New class space_char_hmotion_node.
11050 * troff/input.c (asciify_macro): New function.
11051 * troff/input.c (init_input_requests): New request `asciify' bound
11053 * macros/mm.diff: New file.
11054 * Makefile: In install.mm target use `patch' to apply
11057 * troff/input.c (macro::print_size): Just print the size in bytes.
11059 * troff/div.c (return_request): Correct the argument
11062 Wed Aug 1 12:38:36 1990 James Clark (jjc at yquem)
11064 * troff/node.h (class composite_node): Add sz member.
11065 * troff/node.c (composite_node::size): Return sz.
11066 * troff/input.c (macro_to_node): Use the initial size in the
11067 environment as the size of the composite_node.
11069 * troff/node.c (node::zero_width_tprint): Provide a reasonable
11072 Tue Jul 31 10:07:10 1990 James Clark (jjc at yquem)
11074 * troff/div.c (change_trap): If we get a bad number expression,
11077 Mon Jul 30 10:30:49 1990 James Clark (jjc at yquem)
11079 * lib/matherr.c (matherr): Define this only if math.h defines
11082 Sun Jul 29 10:34:27 1990 James Clark (jjc at yquem)
11084 * troff/div.c (macro_diversion::distance_to_next_trap): If there
11085 no diversion trap return vunits(INT_MAX - vresolution).
11087 Sat Jul 28 14:28:14 1990 James Clark (jjc at yquem)
11089 * troff/input.c (do_zero_width): New implementation that doesn't
11090 use a temporary environment. Use instead:
11091 (token::add_to_node_list): New function.
11092 * troff/env.c (environment::get_prev_char_height),
11093 (environment::get_prev_char_height),
11094 (environment::get_prev_char_skew): New functions.
11095 (environment::get_prev_char): New function.
11096 (environment::get_prev_char_width): Change to use get_prev_char.
11097 (init_env_request): Implement new registers .cht, .cdp, .csk.
11098 * eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
11099 \Z being processed in a separate environment.
11101 Fri Jul 27 10:21:25 1990 James Clark (jjc at yquem)
11103 * tbl/table.c: Removed TABLE_BOTTOM_REG.
11105 * tbl/table.c (table::init_output): In the section release macro,
11106 give a warning message if the section won't fit on one page.
11108 * tbl/table.c (table::do_top): Emit table keep only if table is
11110 (table::do_bottom): Likewise for table release.
11111 (table::table), (table::add_vertical_rule): Remove reference to
11113 * tbl/table.h: Remove keep member.
11115 * tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
11116 SECTION_RELEASE_MACRO, if there's not enough space before the next
11117 trap to output the diversion, call T# ourselves, set
11118 SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
11119 SUPPRESS_BOTTOM_REG back to 0. In T#, do nothing if
11120 SUPPRESS_BOTTOM_REG is non-zero. In T#, always mark the current
11121 vertical position and return to it before turning traps on again.
11123 Thu Jul 26 02:54:32 1990 James Clark (jjc at yquem)
11125 * troff/node.c, troff/node.h: In classes derived from node,
11126 replace prev_char_width method by last_char_node method.
11127 * troff/env.c (environment::get_prev_char_width): Use
11128 node::last_char_node rather than node::get_prev_char_width.
11130 * Makefile: Added comment about -fno-inline on 68030-based
11133 * troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
11134 tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
11135 expressions using sizeof to int.
11136 * dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.
11138 * macros/tmac.e (TS): Don't move @f back past the current
11141 Wed Jul 25 09:11:08 1990 James Clark (jjc at yquem)
11143 * ps/ps.c (main): Buffer stderr.
11144 * dvi/dvi.c (main): Likewise.
11145 * tty/tty.c (main): Likewise.
11147 * ps/ps.c (ps_printer::do_import): Improve error handling.
11149 * troff/input.c (abort_request): Use asciify.
11151 * driver/printer.h (printer::draw), driver/printer.c (printer::draw),
11152 ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
11153 type of first argument int rather than char. This works around a
11154 bug on the 68030 based Apollo using g++ 1.37.1.
11156 * tbl/table.h (class table): Add `keep' member.
11157 * tbl/table.c (table::table): Initialize `keep'.
11158 (table::add_vertical_rule): Set `keep' to 1.
11159 (table::do_top): Only emit table keep macro is `keep' is non-zero.
11160 (table::do_bottom): Likewise for table release macro.
11161 (table::do_row): Emit section keep macro even if the row is 0.
11163 Tue Jul 24 08:35:07 1990 James Clark (jjc at yquem)
11165 * macros/tmac.e (@C): Preserve the font family across the change
11168 Mon Jul 23 10:15:23 1990 James Clark (jjc at yquem)
11170 * lib/font.c: Initialize font::hor and font::vert to 1.
11171 (font::load_desc): Check the values of font::hor and font::vert.
11173 * lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
11174 be included in a C compilation.
11175 (iftoa): Use INT_DIGITS. Include lib.h.
11177 (as_string): Likewise.
11178 * tbl/table.c: Removed definition of INT_DIGITS.
11179 * eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
11180 * troff/input.c (input_input_requests): Likewise.
11181 * ps/ps.c (make_encoding_name): Likewise.
11182 (ps_printer::set_style): Likewise.
11183 (ps_output::put_number): Use 1 + INT_DIGITS + 1 instead of 12.
11185 * tty/devascii/R.proto: Map fm onto '.
11186 * tty/devlatin1/R.proto: Likewise.
11188 Sat Jul 21 12:45:07 1990 James Clark (jjc at yquem)
11190 * tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
11191 argument to \w is at a different input level.
11193 * tbl/table.c (table::init_output): Define a new macro
11194 REPEATED_VPT_MACRO, like vpt but if in a diversion also
11195 transparently outputs itself.
11196 (table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
11198 (table::do_row): Likewise.
11200 * tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
11201 TRANSPARENT_STRING_NAME.
11203 * tbl/table.c (table::init_output): In the table release macro
11204 print an error message and don't produce any output if after
11205 issuing the need request the table still will not fit. Also
11206 remove the diversion after bringing it back.
11208 * tbl/table.c (table::init_output): Define a new macro
11209 REPEATED_MARK_MACRO, like mk but if in a diversion also
11210 transparently outputs itself.
11211 (table::do_row): Mark row_top_reg using REPEATED_MARK_MACRO. This
11212 is necessary because .TH might not call .T#.
11213 (table::do_top): Likewise TOP_REG.
11214 (table::define_bottom_macro): If TOP_REG is no longer valid, use
11215 #T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
11216 table header might contain just the two top rules.
11218 Fri Jul 20 10:51:42 1990 James Clark (jjc at yquem)
11220 * troff/div.c: Implement new request `ptr' to print all traps.
11222 * troff/env.c (init_env_requests): Implement `.tabs' reg with
11223 init_string_env_reg.
11224 * troff/env.c (class tab_reg): Deleted.
11226 Thu Jul 19 12:07:16 1990 James Clark (jjc at yquem)
11228 * troff/div.c: New number register .pn returns the number of the
11229 next page as set by the pn request.
11231 * macros/tmac.an: Redid headers and footers. Number each manual
11232 entry starting from 1 unless \nC is > 0, like Sun. Added an
11233 optional 5th argument to .TH which specifies the manual name and
11234 appears in the center of the header. Understand the X, P and D
11235 registers like Sun.
11237 Wed Jul 18 10:23:31 1990 James Clark (jjc at yquem)
11239 * troff/env.c (init_env_requests): New number register `.lt' to
11240 return the title length.
11242 * troff/node.h (class transparent_dummy_node): New class.
11243 * troff/node.c (class transparent_dummy_node): Provide member
11245 * troff/env.c (interrupt): Add a transparent_dummy_node, rather
11248 * troff/input.c (token::next): New escape sequence \).
11249 * troff/input.c (get_copy): Recognize \) in copy mode.
11251 * troff/input.c (input_stack::clear): New function.
11252 * troff/input.c (exit_request): Use input_stack::clear.
11254 * troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
11255 * troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.
11257 * troff/env.c: Move set_page_character to input.c. Move
11258 page_character to input.c also.
11259 * troff/env.c (title): Split off the reading of the parts of the
11260 title into read_title_parts.
11261 * troff/input.c (read_title_parts): New function. Check the
11262 input_level when testing whether a token matches the delimiter.
11264 * troff/input.c (exit_request): New function.
11265 * troff/input.c (init_input_requests): Bind ex request to
11266 exit_request rather than exit_groff.
11268 * troff/input.c (exit_groff): Call tok.next() before
11269 process_input_stack().
11271 Mon Jul 16 09:47:23 1990 James Clark (jjc at yquem)
11273 * troff/env.c: ifdef widow control support on WIDOW_CONTROL.
11274 * troff/env.h: ditto.
11275 * troff/input.c: ditto.
11277 * troff/env.c (environment::is_empty): Test pending_lines.
11279 * troff/env.c (environment::have_pending_lines): Removed.
11281 * troff/input.c: Add request to flush pending lines from the
11284 * troff/env.c, troff/env.h: Add automatic widow control feature.
11286 * troff/input.c (exit_groff): Do process_input_stack() after
11287 do_break() but before setting exit_flag to 2.
11289 * troff/input.c: Remove FLUSH_PENDING_LINES and
11290 TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
11291 environment after END_TRAP token seen, but only if there aren't
11292 any more traps still unfinished.
11293 * troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.
11295 Sun Jul 15 10:50:08 1990 James Clark (jjc at yquem)
11297 * troff/env.c: Rename the `retain_size' member of class
11298 pending_output_line to `no_fill'.
11300 * troff/env.c (title): When the line is output, make the
11301 retain_size argument !fill.
11303 * troff/node.h: Add `hyphenated' member to struct breakpoint.
11304 * troff/node.c (space_node::get_breakpoints),
11305 (dbreak_node::get_breakpoints): Fill this in.
11306 * troff/env.c: Allow specification of maximum number of
11307 consecutive hyphenated lines.
11309 * troff/env.c (environment::is_empty): Add test for !current_tab.
11311 Sat Jul 14 11:23:01 1990 James Clark (jjc at yquem)
11313 * troff/env.c (environment::hyphenate_line): Don't completely give
11314 up if the word is not to be hyphenated; continue so that breaks
11315 can be made at break_char_node's.
11317 * lib/lib.h: Only define INT_MAX if it's not already defined;
11318 undef INT_MIN if it's already defined.
11320 * Makefile: Make it easy to define CFRONT_ANSI_BUG.
11322 * lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
11323 This works around a bug in AT&T C++ 2.0 used with an ANSI C
11326 * macros/tmac.an (an-header): Set no-space mode.
11328 * macros/tmac.an (TH): Start a new page if necessary.
11330 * Started using ChangeLog at version 0.4.
11333 version-control: never