* src/devices/grohtml/grohtml.man: Updated manual page regarding
[s-roff.git] / ChangeLog
bloba3e54a1895031423dd4c7e7da627c1fc3c6163d2
1 2001-04-12  Gaius Mulley <gaius@glam.ac.uk>
3         * src/devices/grohtml/grohtml.man: Updated manual page regarding
4         simple anchor.
5         * src/preproc/html/pre-html.cc (createImage): Fixed right hand
6         cropping of images.
7         (removeTempFiles): New function to tidy up temporary files.
8         * src/preproc/html/pre-html.cc (main): Calls `removeTempFiles()'.
9         Many fixes to do with the new inline suppress node and image regions
10         are much tighter.
11         * src/devices/grohtml/post-html.cc: New method `is_auto_img'.
12         (generate_img_src): New function.
13         (html_printer::do_auto_image): Utilizes it.
14         (do_heading, do_title): Include inline images within their contents.
15         (html_printer::begin_page): Tidied up comments that are issued to
16         the html output file.
17         (html_printer::do_fill): Fixed so that `.nf' works with fonts other
18         than courier.
19         (text_glob::is_br): New method used by do_heading.
20         * tmac/s.tmac: If -Thtml then emit $1 in .IP rather than its
21         equivalent diversion.
22         * src/include/html-strings.h: Altered image tags to reflect the
23         inline image node.
24         * src/include/htmlindicate.h (html_end_suppress): Added `is_inline'
25         parameter.
26         * src/preproc/eqn/main.cc: Will suppress generation of image tags if
27         it is already inside a pic image.  Only emit tags if the argument
28         `-Tps:html' is present.
29         * src/preproc/tbl/main.cc: Changes to reflect additional
30         `html_end_suppress' parameter.
31         * src/roff/troff/env.cc: Only emit eol tag if a node has been
32         emitted since the last eol tag was written.
33         * src/roff/troff/env.h: New boolean `emitted_node'.
34         * src/roff/troff/input.cc (do_suppress): Handles extra suppress
35         nodes \O3, \O4, \O5.  No longer use `output_low_mark_miny'.
36         * src/roff/troff/node.cc (check_charinfo): New method. 
37         (troff_output_file::determine_line_limits): Alterations to limit
38         checking.
39         * tmac/www.tmac: Changes to reflect new suppress nodes.
40           
41 2001-04-08  Bruno Haible  <haible@clisp.cons.org>
43         * src/devices/grohtml/post-html.cc (html_printer::add_to_sbuf):
44         Escape the html_glyph in the buffer.
45         (str_translate_to_html): Output the unescaped escaped_char.
46         * src/devices/grohtml/html-text.cc (issue_table_begin): Set
47         `frame=void', not `frame=none'.  Add `border=0'.
49 2001-04-10  Ruslan Ermilov  <ru@FreeBSD.org>
51         * contrib/mm/groff_mm.man: Fixing some typos.
53 2001-04-12  Werner LEMBERG  <wl@gnu.org>
55         * PROBLEMS: Add some words on how to avoid wrapper macros.
57 2001-04-11  Blake McBride  <blake@florida-software.com>
59         * src/include/nonposix.h (fileno) [_MSC_VER]: Removed.
61 2001-04-11  Werner LEMBERG  <wl@gnu.org>
63         * font/devlbp/Makefile.sub (CLEANADD): Set it.
64         * tmac/Makefile.sub (CLEANADD): Add tmac.local-s.
65         * Makefile.in (dist): Don't remove src/xditview/Imakefile, but ...
66         * Makefile.sub (DISTCLEANFILES): Here.
68         * libs/libgroff/new.cc: Include `nonposix.h'.
69         * win32-diffs: Updated.
71 2001-04-10  Ruslan Ermilov  <ru@FreeBSD.org>
73         Added skeleton macro for defunct macros.
75         Updated documentation.
77         When inside displays, an empty input line warning should be
78         suppressed.  If another macro call is put inside a display,
79         all subsequent empty lines found in that display caused a
80         warning to be emitted.
82         * tmac/doc.tmac (doc-defunct-macro): New macro.
83         (Db, Ds, Ex, Or, Sf): Reimplemented using this macro.
84         (doc-restore-global-vars): Fixed typo.
85         (doc-empty-line): Check the `doc-display-depth' register to
86         determine whether we are inside display or not.
88         * tmac/doc-common: Removed `Or' and `Sf' registers.
89         Moved obsolete `Ds' macro to doc.tmac.
91         * tmac/groff_mdoc.man: Bump document date.
92         Document `.Vt' under ``Variable Types''.
93         Removed documentation for obsolete `.Or' macro.
95 2001-04-10  Werner LEMBERG  <wl@gnu.org>
97         * NEWS: Updated.
98         * doc/groff.texinfo: Many fixes, additions, clarifications, etc.
100 2001-04-10  Bruno Haible  <haible@clisp.cons.org>
102         * src/devices/grodvi/dvi.cc (main): Accept --help and --version.
103         (usage): Add stream argument. Don't exit.
104         * src/devices/grohtml/post-html.cc (main): Accept --help and --version.
105         Write --version output to stdout, not stderr.
106         (usage): Add stream argument. Don't exit.
107         * src/devices/grohtml-old/html.cc (main): Accept --help and --version.
108         (usage): Add stream argument. Don't exit.
109         * src/devices/grolbp/lbp.cc (long_options): Use symbolic getopt.h
110         constants.
111         (usage): Add stream argument. Don't exit.
112         (main): Write --help output to stdout, not stderr.
113         * src/devices/grolj4/lj4.cc (main): Accept --help and --version.
114         (usage): Add stream argument. Don't exit.
115         * src/devices/grops/ps.cc (main): Accept --help and --version.
116         (usage): Add stream argument. Don't exit.
117         * src/devices/grotty/tty.cc (main): Accept --help and --version.
118         (usage): Add stream argument. Don't exit.
119         * src/preproc/eqn/main.cc (usage): Add stream argument. Don't exit.
120         (main): Accept --help and --version.
121         * src/preproc/grn/main.cc (usage): Add stream argument. Don't exit.
122         (main): Accept --help and --version.
123         * src/preproc/html/pre-html.cc (usage): Add stream argument.
124         (scanArguments): Accept --help and --version.
125         * src/preproc/pic/main.cc (usage): Add stream argument. Don't exit.
126         (main): Accept --help and --version.
127         * src/preproc/refer/refer.cc (main): Accept --help and --version.
128         (usage): Add stream argument. Don't exit.
129         * src/preproc/soelim/soelim.cc (usage): Add stream argument. Don't
130         exit.
131         (main): Accept --help and --version.
132         * src/preproc/tbl/main.cc (usage): Add stream argument. Don't exit.
133         (main): Accept --help and --version.
134         * src/roff/groff/groff.cc (main): Accept --help and --version.
135         (synopsis): Add stream argument.
136         (help): Write --help output to stdout, not stderr.
137         (usage): Add stream argument. Don't exit.
138         * src/roff/grog/grog.pl: Accept --help and --version.
139         (help): New sub.
140         * src/roff/grog/grog.sh: Accept --help and --version.
141         * src/roff/nroff/nroff.sh: Accept --help and --version.
142         * src/roff/troff/input.cc (USAGE_EXIT_CODE): Remove macro.
143         (usage): Add stream argument. Don't exit.
144         (main): Accept --help and --version.
145         * src/utils/addftinfo/addftinfo.cc (main): Accept --help and --version.
146         (usage): New function with stream argument, doesn't exit.
147         * src/utils/hpftodit/hpftodit.cc (main): Accept --help and --version.
148         (usage): New function with stream argument, doesn't exit.
149         * src/utils/indxbib/indxbib.cc (main): Accept --help and --version.
150         (usage): Add stream argument. Don't exit.
151         * src/utils/lkbib/lkbib.cc (usage): Add stream argument. Don't exit.
152         (main): Accept --help and --version.
153         * src/utils/lookbib/lookbib.cc (usage): Add stream argument. Don't
154         exit.
155         (main): Accept --help and --version.
156         * src/utils/pfbtops/pfbtops.c (usage): Add stream argument. Don't exit.
157         (main): Accept --help and --version.
158         * src/utils/tfmtodit/tfmtodit.cc (main): Accept --help and --version.
159         (usage): Add stream argument. Don't exit.
161 2001-04-10  Ruslan Ermilov  <ru@freebsd.org>
163         Fix indentation in SYNOPSIS.
165         Updated to include changes of latest BSD mdoc version (basically,
166         the only change is that `.Fn' and `.Fc' put a final semicolon after
167         a function declaration in the SYNOPSIS section).
169         * tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
170         (doc-in-synopsis-section): New variable.  Updated all related
171         functions.
172         (doc-indent-synopsis-active): New register.
173         (Nd, Fn, Fo): Use it.
174         (Cd): It requires manipulation of \n[doc-indent-synopsis] so that
175         `.Cd' with long argument line produces indented wrapped lines. 
176         Also, the misplaced `.nop \*[doc-Nm-font]\c'' caused extra
177         undesirable line break to be output.
178         (doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
179         `.rs'.
180         (Fn, Fc): Add final `;' to output.
181         (doc-save-global-vars, doc-restore-global-vars): Updated.
182         * tmac/doc-common: Remove `Ex' register.
183         Updated.
184         * tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
185         copyright.
187 2001-04-06  Ruslan Ermilov  <ru@freebsd.org>
189         * tmac/doc.tmac (Cd): Simplify code.
190         * tmac/groff_mdoc.man: Document some behaviour of `Cd' request.
192 2001-04-06  Werner Lemberg  <wl@gnu.org>
194         Implement continuous underlining for nroff mode.  To do that, a new
195         request in the ditroff language has been added: `x u N' (N is 0
196         or 1).
198         \X and \Y are now transparent to end-of-sentence recognition.
200         * src/include/printer.h (printer): Add `type' parameter to `special'
201         method.
202         * src/libs/libdriver/printer.cc (printer::special): Updated.
203         * src/libs/libdriver/input.cc (do_file): Handle `x u N'.
205         * src/devices/dvi/dvi.cc (dvi_printer::special): Handle only
206         specials of type `p'.
207         * src/devices/grohtml/post-html.cc (html_printer::special): Ditto.
208         * src/devices/grohtml-old/html.cc (html_printer::special): Ditto.
209         * src/devices/grops/ps.cc (ps_printer::special): Ditto.
210         * src/devices/grotty/tty.cc: Add new enum CU_MODE.
211         (glyph::order): New method.
212         (tty_printer::add_char): Use it.
213         (tty_printer::special): New method.
214         (tty_printer::end_page): Implement it.
216         * src/roff/troff/node.h (special_node): Add `no_init_string' member.
217         * src/roff/troff/node.cc (special_node::special_node): Add parameter
218         to set `no_init_string'.
219         (special_node::tprint_start): Use it.
220         (special_node::same, special_node::copy): Updated.
221         (special_node::ends_sentence): New method.
222         (troff_output_file::start_special): Add parameter to include
223         inititialization of special conditionally.
225         * src/roff/troff/env.h (environment): New member `underline_spaces'.
226         * src/roff/troff/env.cc (do_underline_special): New function.
227         (environment::set_font): Use it.
228         (do_underline): Use it.  This was `underline()'.
229         (underline): Call `do_underline()'.
230         (continuous_underline): New function which calls `do_underline()'.
231         (environment::newline): Use `do_underline_special()'.
232         (init_env_requests): Updated.
234         * NEWS, man/troff_out.man: Updated.
236 2001-04-06  Bruno Haible  <haible@clisp.cons.org>
238         * font/devutf8/R.proto: Fix code of 'shc'.
240 2001-04-06  Ruslan Ermilov  <ru@freebsd.org>
242         Many fixes.  Diag lists can now be nested also; additionally,
243         `-compact' and `-offset' are supported.
245         * tmac/doc.tmac (doc-have-indent): Replaced with ...
246         (doc-list-have-indent-stackXXX): A new register stack.
247         (doc-have-diag-list): Removed.
248         (Bl): Use `doc-list-have-indent-stackXXX'.
249         (El): Updated.
250         (doc-diag-list): Use `doc-compact-list-stackXXX'.
251         (doc-tag-list): Use `doc-list-have-indent-stackXXX'.
252         (doc-set-vertical-and-indent): Ditto.
253         (doc-next-list-depth): Removed.
254         (doc-increment-list-stack): Updated.
255         (doc-decrement-list-stack): Use `doc-list-depth' instead of
256         `doc-next-list-depth'.
257         (doc-end-list, doc-end-column-list): Don't use
258         `doc-increment-list-stack'.
259         (doc-set-column-tab): Don't use `doc-list-offset-stackXXX'.
260         (doc-save-global-vars, doc-restore-global-vars): Updated.
261         * tmac/doc-common: Updated.
262         * tmac/groff_mdoc.man: Updated.
263         * NEWS: Fix typo.
265 2001-04-02  Werner LEMBERG  <wl@gnu.org>
267         * src/devices/grotty/grotty.man: Fix grammatical error.
269 2001-03-30  Ruslan Ermilov  <ru@freebsd.org>
271         Remove .Ld from mdoc package; replace it with special handling of
272         `...'.
274         * tmac/doc-common: Remove `Ld' register.
275         Uncomment `doc-volume-ds-*' strings.
276         Remove `doc-operating-system-default'.
277         (Os): Updated.
278         * tmac/doc-syms (Ld): Removed.
279         * tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
280         `...' specially.
281         * NEWS: Updated.
283         * tmac/groff_mdoc.man: Many fixes and updates.
285 2001-03-29  Werner LEMBERG  <wl@gnu.org>
287         * tmac/troffrc-end: Protect data with `.do'.  Reported by T. Kurt
288         Bond <tkb@tkb.mpl.com>.
289         * tmac/www.tmac: Save compatibility mode.
291 2001-03-28  Ruslan Ermilov  <ru@freebsd.org>
293         * tmac/groff_mdoc.man: Many fixes.
295 2001-03-28  Werner LEMBERG  <wl@gnu.org>
297         * src/preproc/soelim/soelim.man: Document that `.<whitespace>so'
298         isn't recognized.
300 2001-03-27  Werner LEMBERG  <wl@gnu.org>
302         * tmac/an-old.tmac (TP, an-do-tag): Reduce line length while in
303         diversion.  This fixes overlong tags.
305 2001-03-26  Werner LEMBERG  <wl@gnu.org>
307         * doc/groff.texinfo: Fixed and improved documentation of fonts.
308         * tmac/doc-syms: Fix error messages.
309         * tmac/an-old.tmac: Remove incorrect double backslashes.
311 2001-03-24  Ruslan Ermilov  <ru@freebsd.org>
313         * tmac/Makefile.sub: Strip mdoc.local also
314         * tmac/strip.sed: Fixed.
316 2001-03-24  Werner LEMBERG  <wl@gnu.org>
318         * tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
319         selecting the font size.
320         * tmac/groff_mdoc.man, NEWS: Document it.
322 2001-03-23  Werner LEMBERG  <wl@gnu.org>
324         * src/roff/troff/div.cc (save_vertical_space): Add default argument
325         to `sv' request.
326         * src/roff/troff/env.cc (family_change): Make `.fam' accept no
327         argument to restore previous font family.
328         * src/roff/troff/troff.man, man/groff.man, NEWS: Updated.
330         * doc/groff.texinfo: More fixes and additions (mainly for font
331         manipulating commands).
333         * tmac/groff_mdoc.reference.man: Small updates and renamed to ...
334         * tmac/groff_mdoc.man: This.  The quick reference has been removed.
335         * tmac/Makefile.sub, NEWS: Updated.
337 2001-03-23  Werner LEMBERG  <wl@gnu.org>
339         Replaced mdoc implementation.  The new version is `state of the
340         art', using almost all new features of groff 1.17 -- it won't run
341         with older versions.
343         * tmac/doc.tmac: Completely rewritten.
344         * tmac/doc-common: Ditto.
345         * tmac/doc-nroff: Ditto.
346         * tmac/doc-ditroff: Ditto.
347         * tmac/doc-syms: Ditto.
348         * tmac/mdoc.local: New file.
349         * tmac/groff_mdoc.samples.man: Replaced with ...
350         * tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
351         * tmac/strip.sed: Updated.
352         * tmac/Makefile.sub: Updated.
353         * INSTALL: Updated.
355         * tmac/groff_man.man: Add `man.local' to the FILES section.
357 2001-03-22  Werner LEMBERG  <wl@gnu.org>
359         * doc/groff.texinfo: Added many @noindent.
360         Replaced @end_Example -> @endExample.
361         Added info whether registers are r/o.
362         Many other additions and fixes.
364 2001-03-21  Werner LEMBERG  <wl@gnu.org>
366         * doc/groff.texinfo: Added macro @Var (and some hacks due to bugs
367         in makeinfo of texinfo 4.0) to be used in @Def* macros.
368         Improved @Def* macros: Now the exact syntax of request, register,
369         and escapes is shown.
370         Added macros for parentheses and brackets to be used in @Def*.
371         Many fixes and improvements of the documentation.
373 2001-03-20  Werner LEMBERG  <wl@gnu.org>
375         * doc/groff.texinfo: Added new index: `st' (for strings).
376         Added macros @Defstr(x).
377         Added macro @Example (adding @group).
378         Other minor improvements.
380 2001-03-19  Werner LEMBERG  <wl@gnu.org>
382         * doc/groff.texinfo: Added two new indices: `es' (for escapes) and
383         `rq' for requests.  `fn' is no longer used.
384         Added macros @Defreq(x), @Defreg(x), and @Defesc(x).
385         Removed @Deffn(x).
387         * tmac/an-old.tmac (an-p-footer): If `cR' is set, replace page
388         number with name of man page.
390 2001-03-19  Larry Kollar  <kollar@alltel.net>
392         * doc/groff.texinfo: Complete revision.  Added many @Deffn to gain
393         consistency.
395 2001-03-19  Werner LEMBERG  <wl@gnu.org>
397         * man/groff_font.man: Document `prepro', `postpro', and `print'.
398         * src/roff/groff/groff.man: Improve documentation of `-l' and `-L'.
399         * src/devices/grohtml/grohtml.man: Fixing typos.
401 2001-03-19  Gaius Mulley  <gaius@glam.ac.uk>
403         * tmac/s.tmac (@IP): Pass `.ip' html tag.
404         * tmac/groff_mwww.man: Remove .LINE macro
405         * tmac/www.tmac (LINE): Add `.ti'.
407         * src/devices/grohtml/post-html.cc (html_printer): New member
408         `indent'.
409         (html_printer::emit_raw): Use it.
410         (html_printer::do_linelength): Ditto.
411         (html_printer::do_pageoffset): Ditto.
412         (html_printer::do_indentation): Ditto.
413         (html_printer::do_tempindent): Ditto.
414         (html_printer::do_break): Ditto.
415         (html_printer::begin_page): Ditto.
416         (html_printer::do_indentedparagraph): New function.
417         (html_printer::troff_tag): Handle `.ip'.
418         * src/devices/grohtml/html-text.cc (html_text::issue_table_begin):
419         Add `<td width=...>' handling.
420         (html_text::do_table): Add parameter.
421         (html_text::do_indent): Updated.
422         * src/devices/groohtml/html-text.h: Updated.
424 2001-03-16  Gaius Mulley  <gaius@glam.ac.uk>
426         Introduced simple html tables to implement indentation.
428         * src/devices/grohtml/html.h (word, word_list): New structures.
429         (simple_output): Use it.
430         * src/devices/grohtml/post-html.cc: Add `INDENTATION'.
431         (html_printer): Improve indentation handling.
432         (html_printer::emit_raw): Set `in_table' element.  Handle
433         indentation if set.
434         (html_printer::write_header): Move conditional downwards.
435         Don't allow whitespace in tags.
436         (html_printer::do_linelength): Handle line length and indentation
437         conditionally.
438         (html_printer::do_pageoffset): Handle indentation conditionally.
439         (html_printer::do_indentation): Ditto.
440         (html_printer::do_tempindent): New function member.
441         (html_printer::do_fill): Take care of indentation.
442         (html_printer::do_flush): Finish table.
443         (html_printer::do_links): Ditto.
444         (html_printer::do_break): New function for handling `.br' and `.ti'.
445         (html_printer::troff_tag): Use it.
446         Handle `.ti'.
447         (html_printer::flush_globs): Fix.
448         (html_printer::flush_page): Finish table.
449         (html_printer::html_printer): Fix error message.  Set up
450         `linelength'.
451         (html_printer::add_to_sbuf): Remove special handling of character
452         code 255.
453         (to_unicode): Remove `stop()'.
454         (html_printer::write_title): Cleanup.
455         (html_printer::begin_page): Use `put_string()'.  Handle indentation.
456         (html_printer::~html_printer): Flush text and end the line.
457         Use `put_string()'.
458         * src/devices/grohtml/html_text.h: Add more *_TAG enum values.
459         * src/devices/grohtml/html_text.cc (html_text::end_tag): Fix
460         emission of tags.
461         (html_text::start_tag): Disable newlines.
462         (html_text::table_is_void): New function.
463         (html_text::issue_table_begin): Ditto.
464         (html_text::issue_table_end): Ditto.
465         (html_text::push_para): Better table handling.
466         (html_text::do_indent): New function.
467         (html_text::do_table): Ditto.
468         (html_text::done_table): Ditto.
469         (html_text::do_tt): Handle PRE_TAG.
470         (html_text::is_in_table): New function.
471         (html_text::check_emit_text): Handle tables.
472         (html_text::do_emittext): Use `nl()'.
473         (html_text::do_para): Handle table.
474         (html_text::remove_def): New function.
475         * src/devices/grohtml/output.cc (word, word_list): Implement
476         methods.
477         (simple_output::end_line): Flush last word.
478         (simple_output::simple_comment): Ditto.
479         (simple_output::begin_comment): Recoded.
480         (simple_output::end_comment): Ditto.
481         (simple_output::comment_arg): Removed.
482         (simple_output::check_newline): Improve test and flush last word.
483         (simple_output::space_or_newline): Improved.
484         (simple_output::write_newline): Replaced with...
485         (simple_output::nl): This.
486         (simple_output::put_raw_char): Flush last word.
487         (simple_output::check_space): Removed.
488         (simple_output::put_translated_string): Ditto.
489         (simple_output::put_string): Simplified.
490         (simple_output::put_number): Updated.
491         (simple_output::put_float): Ditto.
492         (simple_output::put_symbol): Removed.
493         (simple_output::enable_newlines): Add `check_newline()'.
494         (simple_output::flush_last_word): New function.
496         * src/roff/troff/enc.cc (no_fill): Remove call to add_html_tag().
497         * src/roff/troff/div.cc (page_offset): Add call to add_html_tag().
499         * tmac/s.tmac (@PP, @IP): Add html conditional code.
500         * tmac/an-old.tmac (TP): Ditto.
502 2001-03-09  Ruslan Ermilov  <ru@freebsd.org>
504         * mdate.sh: Make it POSIX compliant.
506 2001-03-09  Werner LEMBERG  <wl@gnu.org>
508         Added the `return' request to end a macro immediately.  It simply
509         pops iterators from the input stack until a macro iterator is found.
511         * src/roff/troff/input.cc (input_iterator::is_macro,
512         macro_iterator::is_macro): New member.
513         (input_return_boundary): New class to signal an immediate return
514         to while_request().
515         (input_stack::add_return_boundary, input_stack::is_return_boundary):
516         New functions.
517         (input_stack::clear): Use it.
518         (input_stack::pop_macro): New function.
519         (while_request): Use `is_return_boundary()'.
520         (return_macro_request): New function.
521         (init_input_requests): Use it.
523         * src/roff/troff/TODO: Updated.
524         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
526 2001-03-08  Werner LEMBERG  <wl@gnu.org>
528         * src/roff/troff/input.cc (input_iterator::is_boundary): Minor
529         cleanup.
531 2001-03-07  Werner LEMBERG  <wl@gnu.org>
533         Make `\B' more rigid.
535         * src/roff/troff/number.cc (parse_expr, parse_term): Add `rigid'
536         parameter.
537         (get_number_rigidly): New function.
538         * src/roff/troff/input.cc (do_expr_test): Use it.
539         * src/roff/troff/token.h: Updated.
541         * src/roff/troff/request.h: Fix typo (init_html_request ->
542         init_markup_request).
544 2001-03-04  Gaius Mulley  <gaius@glam.ac.uk>
546         Fixed grohtml handling of any named glyph for glyph indexes < 0x80. 
547         Cosmetic changes to `.html-begin', `.html-end', `.html-image' which
548         are now `.begin', `.end', `.image'.
550         * src/devices/grohtml/post-html.cc: Adding UNICODE_DESC_START.
551         (html_printer::add_to_sbuf): Changing type of `code' parameter.
552         Use add_char_to_sbuf().
553         (to_unicode): New function.
554         (char_translate_to_html): Changing type of `ch' parameter.
555         Use `to_unicode()'.
556         (html_printer::~html_printer): Comment out doctype string.
557         * src/preproc/html/pre-html.cc (write_end_image): Use `.end'
558         instead of `.html-end'.
559         (write_start_image): Use `.begin' and `.image' instead of
560         `.html-begin' and `.html-image'.
561         * src/roff/troff/input.cc: Rename `html_level' to `begin_level'.
562         (html_begin): Renamed to ...
563         (begin): This.
564         (html_end): Renamed to ...
565         (end): This.
566         (html_image): Renamed to ...
567         (image): This.
568         (init_html_requests): Renamed to ...
569         (init_markup_requests): This.
570         * tmac/www.tmac: Updated.
572 2001-02-28  Bram  <bram@avontuur.org>
574         * src/libs/libgroff/font.cc (font_widths_cache): Fixing syntax of
575         constructor.
577 2001-02-26  David Leonard  <david.leonard@csee.uq.edu.au>
579         * doc/meref.me: Fixing some typos.
581 2001-02-16  Werner LEMBERG  <wl@gnu.org>
583         * src/roff/troff/node.cc (space_node::get_hyphenation_type): New
584         method.  Return `HYPHEN_MIDDLE' if it was `\:'.
585         * src/roff/troff/node.h: Updated.
587 2001-02-17  Ruslan Ermilov  <ru@FreeBSD.org>
589         * tmac/groff_tmac.man: Fix typo.
591 2001-02-16  Werner LEMBERG  <wl@gnu.org>
593         Fixing a bug which prevented proper end-of-sentence recognition
594         between an `unformatted' box and the following text.  As a
595         consequence, vertical line distances are no longer preserved in
596         boxes after a call to `.unformat' -- because boxes aren't
597         line-oriented (contrary to diversions), this doesn't make sense
598         anyway.
600         * src/roff/troff/node.cc (*node::set_unformat_flag): Add return
601         value.
602         (vertical_size_node::set_unformat_flag): New method.
603         * src/roff/troff/node.hh: Updated.
604         * src/roff/troff/input.cc (word_space_node::reread,
605         hmotion_node::reread): Reset `unformat' flag after usage.
606         (unformat_macro): Append only if `set_unformat_flag()' returns
607         non-zero.
608         * src/roff/troff/troff.man: Updated.
610 2001-02-15  Werner LEMBERG  <wl@gnu.org>
612         * src/roff/troff/troff.man, NEWS, man/groff.man: Improved
613         documentation of `asciify' and `unformat' requests.
615 2001-02-13  Werner LEMBERG  <wl@gnu.org>
617         Redesigned the `unformat' request.  It is no longer connected with
618         `asciify' but rather uses new `reread()' methods if the `unformat'
619         flag is set.  Additionally, the handling of space characters after
620         unformatting has been fixed so that they retain their width.
622         * src/roff/troff/node.h (width_list): New structure to store
623         original widths of spaces.
624         (node): Added `unformat' member.
625         Replaced `num_spaces' variable with `orig_width' list.
626         * src/roff/troff/node.cc (*node::asciify,
627         asciify_reverse_node_list): Removed `unformat_only' flag and related
628         code.
629         (word_space_node::asciify, word_space_node::word_space_node): Use
630         `orig_width'.
631         (word_space_node::~word_space_node): New destructor.
632         (word_space_node::copy): Updated to handle `orig_width'.
633         (hmotion_node::copy, unbreakable_space_node::copy): Updated.
634         (*node::merge_space): Update `orig_width' list if necessary.
635         (*node::set_unformat_flag): New methods to set the `unformat' flag.
636         * src/roff/troff/enc.cc (environment::space_newline): Use
637         `width_list'.
638         (environment::space): Added method to handle space width and
639         sentence space width as parameters.  Use `width_list'.
640         (environment::make_tab_node): Updated.
641         * src/roff/troff/env.h: Updated.
642         * src/roff/troff/input.cc (word_space_node::reread,
643         unbreakable_space_node::reread, hmotion_node::reread): New methods
644         to handle nodes specially if `unformat' flag is set.
645         (do_asciify_macro): Renamed back to ...
646         (asciify_macro): This.
647         (unformat_macro): New implementation to simply set the `unformat'
648         flag.
650         * MORE.STUFF: Added more info about deroff.
652 2001-02-08  Werner LEMBERG  <wl@gnu.org>
654         * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
655         space_char_hmotion_node, overstrike_node): Add `get_hyphen_list()'
656         and `add_self()' methods to avoid hyphenation.  For example, the
657         hyphen list for `foo\0\0bar' was `foobar', causing insertion of a
658         soft hyphen after `foo'.  Now the hyphen list is correctly
659         `foo<ignore><ignore>bar'.
661 2001-02-05  Yoshiteru Kageyama  <yt-kage@cb3.so-net.ne.jp>
663         * tmac/groff_tmac.man: Fix `BIR' macro.
665 2001-02-04  Werner LEMBERG  <wl@gnu.org>
667         A new escape sequence `\:', inserting a zero-width break point.
669         * src/roff/troff/input.h: Adding `ESCAPE_COLON'.
670         * src/roff/troff/input.cc (get_copy, token::next, asciify):
671         Implement it.
672         * src/roff/troff/node.h (node): Add `is_escape_colon()' virtual
673         method.
674         (space_node): Add `was_escape_colon' member.  Add `is_escape_colon()'
675         and `asciify()' methods.
676         * src/roff/troff/node.cc (space_node::space_node): Updated.
677         (space_node::asciify): Handle `was_escape_colon'.
678         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
680         Handle `\~' similar to other comparable requests.
682         * src/roff/troff/input.cc (process_input_stack): Remove now obsolete
683         label.
684         (token::next): Move creation of an unbreakable_space_node to...
685         (token::add_to_node_list): Here.
687         Fix a bug which sometimes prevented hyphenation of words connected
688         with `\~' or `\ ' (and other escape sequences handled as
689         TOKEN_NODE).  This also fixes a hyphenation problem with boxes
690         (after a call to the `unformat' request).
692         * src/roff/troff/env.h (environment::possibly_break_line,
693         environment::hyphenate_line): Introducing `start_here' parameter.
694         * src/roff/troff/env.cc (environment::space_newline,
695         environment::space): Use it.
696         (environment::possibly_break_line, environment::hyphenate_line):
697         Implement it.
698         * src/roff/troff/input.cc (process_input_stack): Use it.
699         * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
700         space_char_hmotion_node, overstrike_node): Add
701         `get_hyphenation_type()' method.
702         * src/roff/troff/node.cc (break_char_node::asciify): Don't asciify
703         if `unformat_only' is active.
705 2001-01-30  Werner LEMBERG  <wl@gnu.org>
707         Implemented new read-only number register `.linetabs' which
708         returns 1 if in line-tabs mode, 0 otherwise.
710         * src/roff/troff/env.h (environment): Add get_line_tabs() member.
711         * src/roff/troff/env.cc (get_line_tabs): New function.
712         (init_env_requests): Use it.
713         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
715         * VERSION, REVISION: Changing to 1.17.0.
717 2001-01-28  Werner LEMBERG  <wl@gnu.org>
719         Fixed a bug which prevented hyphenation of words which are finished
720         with `\)'.
722         * src/roff/troff/token.h (token): Add enum type
723         `TOKEN_TRANSPARENT_DUMMY' and method `transparent_dummy()'.
724         * src/roff/troff/input.cc (token::next, token::description,
725         get_line_arg, token::add_to_node_list, token::process): Use it.
727 2001-01-27  Werner LEMBERG  <wl@gnu.org>
729         * src/roff/troff/div.h (diversion): Add `saved_prev_line_interrupted'.
730         * src/roff/troff/div.cc (do_divert): Use it.
732         * src/roff/troff/input.cc (asciify): Add ESCAPE_RIGHT_PARENTHESIS.
734 2001-01-25  Werner LEMBERG  <wl@gnu.org>
736         Adding the `linetabs' request.  If set, tab distances are not
737         computed relative to the input line but relative to the output line.
739         * src/roff/troff/env.h (environment): New member `line_tabs'.
740         * src/roff/troff/env.cc (line_tabs_request): Implement request.
741         (environment::environment, environment::copy): Updated.
742         (environment::distance_to_next_tab): Use `line_tabs'.
743         (init_env_requests): Register request.
744         * src/roff/troff/troff.man, man/groff.man, NEWS: Document it.  Other
745         fixes.
747 2001-01-24  Werner LEMBERG  <wl@gnu.org>
749         Introducing a new read-only register `.int' which is set to a
750         positive value if the last output line is interrupted (i.e., if it
751         contains `\c').
753         * src/roff/troff/env.cc (init_env_requests): Add it.
754         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
756 2001-01-23  Gaius Mulley  <gaius@glam.ac.uk>
758         * tmac/mwww.tmac: Call `www.tmac', not `arkup.tmac'.
759         * src/preproc/html/pre-html.cc (findPrefix): New function which
760         generates the troff executable name via the system prefix.
761         * src/preproc/eqn/main.cc: Modified warning message.
763 2001-01-23  Werner LEMBERG  <wl@gnu.org>
765         troff's `box' and `boxa' requests didn't preserve temporary
766         indentation.
768         * src/roff/troff/div.h (diversion): Add `saved_saved_indent' and
769         `saved_target_text_length' members.
770         * src/roff/troff/div.cc (do_divert): Use them.
772         Tabs (but not yet leaders and fields) are now handled correctly by
773         `asciify' request.
775         * node.h (hmotion_node): Add field `was_tab'.
776         * env.cc (environment::make_tab_node): Set it.
777         * node.cc (hmotion_node::copy, hmotion_node::asciify): Use it.
779         Added new request `unformat' which will, contrary to `asciify',
780         preserve font information after unformatting (i.e., only nodes
781         dealing with horizontal space are converted back to input
782         characters).
784         * input.cc (asciify_macro): Renamed to ...
785         (do_asciify_macro): this, having a new parameter `unformat_only'.
786         (asciify_macro, unformat_macro): New; using do_asciify_macro.
787         (init_input_requests): Added `unformat'.
788         * node.cc (*_node::asciify), asciify_reverse_node_list: Added
789         parameter to control asciification process.
790         * node.h (*_node::asciify): Ditto.
791         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
793 2001-01-20  Werner LEMBERG  <wl@gnu.org>
795         * doc/groff.texinfo: Minor improvement of `.in' documentation.
797 2001-01-18  Werner LEMBERG  <wl@gnu.org>
799         * tmac/ps.tmac: Remove call of psold.tmac.
800         * tmac/psold.tmac: Comment updated.
801         * tmac/psnew.tmac: Removed since no longer needed.
802         * tmac/Makefile.sub, NEWS, src/devices/grops/grops.man: Updated.
804         * font/devutf8/R.proto: Adding `shc' glyph.
805         * font/devutf8/NOTES: Updated.
807         * test-groff: Updated.
809 2001-01-15  Gaius Mulley  <gaius@glam.ac.uk>
811         First cut of the new html device driver.  Changes to pre-html and
812         the new grohtml are too numerous to be documented here.
814         Stuff related to `html' has been renamed to `html-old' and `html2'
815         stuff has been renamed to `html' (including directories).  The new
816         html device driver is therefore invoked as `-Thtml'.
818         Added new `\O' escape to suppress output (needed by html driver).
820         Added functions and code to pass info about input-level commands
821         (`.in', `.fl', etc.) to html driver.
823         Three new functions (.html-begin, .html-end, and .html-image) for
824         better html handling: `html-begin' will execute the remaining line
825         if at the outermost nesting level, increasing an internal counter.
826         `html-end' does the same but decreases the internal counter.
827         `html_image' puts its arguments into a special node (suppress_node)
828         to define an image region.
830         The `output' request has been removed.
832         * tmac/html-tags.tmac: Removed.
833         * tmac/arkup.tmac: Updated and renamed to ...
834         * tmac/www.tmac: New file.
835         * tmac/markup.tmac Updated and renamed to ...
836         * tmac/mwww.tmac: New file.
837         * tmac/Makefile.sub: Updated.
838         * tmac/an-old.tmac: Updated.
839         * tmac/eqnrc: Updated.
840         * tmac/groff_man.man
841         * tmac/groff_markup.man: Updated and renamed to ...
842         * tmac/groff_mwww.man: New file.
843         * tmac/groff_tmac.man: Updated.
844         * tmac/html-old.tmac: Updated and Renamed from html.tmac.
845         * tmac/html.tmac: Updated and renamed from html2.tmac.
846         * tmac/pspic.tmac: Updated html support.
847         * tmac/s.tmac: Added html output support.
848         * tmac/troffrc, tmac/troffrc-end: Updated.
850         * Makefile.in, doc/Makefile: Updated.
851         * doc/groff.texinfo: Added info about new `\O' escape.
852         * doc/homepage.ms: Use `MAILTO' macro.
854         * font/devhtml/DESC.proto: Add `C' font.
855         * font/devhtml/Makefile.sub: Updated.
856         * font/devhtml/R.proto: Minor fixes.
857         * font/devhtml-old/Makefile.sub: Updated.
859         * src/devices/grohtml-old/Makefile.sub: Updated.
861         * src/libs/libdriver/printer.cc (printer::get_font_from_index): New
862         method.
863         * src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
864         graphic_start): Add `inline' parameter.  Update.
865         (html_end_suppress, graphic_end): Update.
867         * src/include/html-strings.h: New file.
868         * src/include/htmlindicate.h: Comments updated.
869         * src/include/printer.h: Updated.
871         * src/preproc/eqn/main.cc (do_file, main): Updated.
872         * src/preproc/pic/troff.cc (troff_output::start_picture,
873         troff_output::finish_picture): Updated.
874         * src/preproc/tbl/main.cc (process_input_file): Updated.
876         * src/roff/groff/groff.cc (main): Updated.
877         Pass device arguments to predrivers also.
878         Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
879         * src/roff/troff/env.h (environment): Updated.
880         New elements `need_eol' and `ignore_next_eol' (for html output).
881         * src/roff/troff/env.cc (environment::environment): Add initializers
882         for `need_eol' and `ignore_next_eol'.
883         (environment::add_html_tag_eol, environment::add_html_tag_tabs): New
884         functions.
885         (point_size, fill, no_fill, center, right_justify, line_length,
886         indent, temporary_indent, break_request, handle_tab): Use
887         `add_html_tag()'.
888         (set_tabs): Use `add_html_tag_tabs()'.
889         (environment::add_html_tag): Updated.
890         (environment::do_break): Updated.
891         * src/roff/troff/div.cc (space_request, flush_output): Use
892         `environment::add_html_tag()'.
893         * src/roff/troff/input.cc: Updated.
894         New variable `html_level' to indicate nested `html-begin' requests.
895         (file_iterator::fill): Use `environment::add_html_tag_eol()'.
896         (non_interpreted_char_node, token_node, non_interpreted_node): Add
897         `force_tprint()' method.
898         (token::next): Handle `\O'.
899         (do_suppress): Implement it.
900         (html_begin, html_end, html_image): New functions.
901         (init_output_requests): Renamed to ...
902         (init_html_requests): this.
903         (main): Use it.
904         (macro::append_str, macro::append_unsigned, macro::append_int): New
905         methods.
906         New variable `output_low_mark_miny' to limit minimal value of y.
907         (reset_output_registers): Use it.
908         (output_request): Removed.
909         (get_output_registers): New function.
910         * src/roff/troff/node.h (node): Make `force_tprint()' virtual.
911         (*_node): Added `force_tprint()' if necessary.
912         (special_node): New elements `tf' and `get_tfont()'.
913         (suppress_node): New class.
914         * src/roff/troff/node.cc:
915         New global variables `image_no' and `suppress_start_page'.
916         (real_output_file): New method `is_on()'.
917         (troff_output_file): New method `start_special(tfont)'.
918         (troff_output_file::really_print_line): Use `tprint' conditionally.
919         (real_output_file::print_line): Updated.
920         (real_output_file::on): Updated.
921         (*_node): Added `force_tprint()'.
922         (special_node::special_node): Initializer updated.
923         (special_node::same, special_node::copy, special_node::tprint_start):
924         Updated.
925         (get_reg_int, get_reg_str): New functions.
926         (suppress_node::*): New methods.
927         New global variables last_position, last_image_filename;
928         (min): New inline function.
929         * src/roff/troff/reg.h, src/roff/troff/request.h,
930         src/roff/troff/troff.h: Updated.
932 2001-01-13  Werner LEMBERG  <wl@gnu.org>
934         * NEWS, src/roff/troff/troff.man, doc/groff.texinfo: Fix
935         documentation of `asciify' request.
937 2001-01-12  Werner LEMBERG  <wl@gnu.org>
939         * src/roff/troff/input.cc: Move definition of special characters
940         like `ESCAPE_TILDE' to ...
941         * src/roff/troff/input.h: New file.
942         * src/roff/troff/Makefile.sub (HDRS): Add it.
944         Extending the .asciify request to `unformat' space characters also.
946         * src/roff/troff/node.h (word_space_node): Add `num_spaces' element
947         to count input space characters.
948         Update constructors to take care of it.
949         * src/roff/troff/node.cc (space_char_hmotion_node::asciify): Use
950         `ESCAPE_SPACE' instead of normal space.
951         (word_space_node::asciify): New method.
952         (unbreakable_space_node::asciify): New method.
953         (word_space_node::merge_space): New method.
954         * src/roff/troff/env.cc (environment::space_newline,
955         environment::space): Add code to initialize `num_spaces' (using the
956         constructor of `word_space_node').
957         * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
958         Document it.
960 2001-01-09  Werner LEMBERG  <wl@gnu.org>
962         * man/groff_char.man: Use table header traps only conditionally.
964 2001-01-09  Bjarni Ingi Gíslason  <bjarniig@hi.is>
966         * man/groff_char.man: Add `ý' and `Ý' to the `acute' group.
968 2001-01-08  Werner LEMBERG  <wl@gnu.org>
970         Introducing the `box' and `boxa' requests which are similar to
971         `di' resp. `da' but omitting a partially filled line (which is
972         restored after ending the diversion).
974         * src/roff/troff/div.h (diversion): Add elements to save partially
975         filled line.
976         * src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save
977         partially filled line.
978         (divert, divert_append): Updated.
979         (box, box_append): New functions.
980         (init_div_requests): Use them.
981         * src/roff/troff/env.h (environment): do_divert() is now a friend.
982         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
984         * doc/groff.texinfo: Fix documentation of `lf' request.
986 2000-12-25  Werner LEMBERG  <wl@gnu.org>
988         * src/roff/troff/troff.man, NEWS: Document `writem' request.
990 2000-12-21  Werner LEMBERG  <wl@gnu.org>
992         Ignore `ss' request if in compatibility mode.
994         * src/roff/troff/input.cc: Make `compatible_flag' non-static.
995         * src/roff/troff/env.h: Added extern `compatible_flag' declaration.
996         * src/roff/troff/env.cc (space_size): Use it.
998         * doc/groff.texinfo, src/roff/troff/troff.man: Fix documentation of
999         `ss' request in nroff mode.
1001         * tmac/an-old.tmac: Fixed some serious bugs introduced with latest
1002         changes.
1004 2000-12-15  Ruslan Ermilov  <ru@FreeBSD.org>
1006         * tmac/troffrc, tmac/troffrc-end: Convert tmac.* to *.tmac.
1008 2000-12-13  Werner LEMBERG  <wl@gnu.org>
1010         * src/preproc/eqn/Makefile.sub (MAN1): Added neqn.man.
1011         * src/preproc/eqn/neqn.man: Small fixes and additions.
1013 2000-12-13  Ruslan Ermilov  <ru@FreeBSD.org>
1015         * src/utils/addftinfo/addftinfo.man, src/devices/grops/grops.man:
1016         Fixing typo.
1018         * src/preproc/eqn/neqn.man: New file.
1020         * src/preproc/tbl/table.cc (table::print): Fix `indent cannot be
1021         negative' warning.
1023         * tmac/e.tmac: Add `T&' macro.
1024         Fix `indent cannot be negative' warning.
1025         * tmac/s.tmac: Fix `indent cannot be negative' warning.
1027 2000-12-07  Werner LEMBERG  <wl@gnu.org>
1029         * src/include/lib.h: Replaced __ALPHA with __alpha symbol.
1031 2000-12-06  Werner LEMBERG  <wl@gnu.org>
1033         * PROBLEMS: Added info about adding -lPW on HP-UX to satisfy the
1034         `alloca' symbol .
1036         * MORE.STUFF: Added info about deroff for djgpp.
1038         * tmac/an-old.tmac, tmac/groff_man.man, doc/groff.texinfo, NEWS: Fix
1039         documentation of -rcR switch.
1041 2000-12-03  Werner LEMBERG  <wl@gnu.org>
1043         * tmac/an-old.tmac: Implementing the -rcR switch (similar to mdoc);
1044         if -rcR=1 (which is now the default in nroff mode), a single, very
1045         long page is created instead of multiple pages: All `ne' and `wh'
1046         requests are put into conditionals; a new macro `an-end' is added to
1047         be called with `em'.
1049         Some other minor cleanups.
1051         * NEWS, tmac/groff_man.man, doc/groff.texinfo: Updated.
1053 2000-12-02  Werner LEMBERG  <wl@gnu.org>
1055         Fixing a bug which prevented hyphenation in words followed
1056         immediately by a TOKEN_NODE (e.g. `\ ', `\~', etc.).
1058         * src/roff/troff/input.cc (process_input_stack <token::TOKEN_NODE>):
1059         Adding possibly_break_line().
1060         * src/roff/troff/env.h (environment): Make possibly_break_line()
1061         public.
1063         Make `\~' usable in .tr request.
1065         * src/roff/troff/token.h (token_type): Add TOKEN_STRETCHABLE_SPACE.
1066         (token): Add stretchable_space().
1067         * src/roff/troff/input.cc (token::next, token::delimiter,
1068         token::description, process_input_stack, do_translate,
1069         add_to_node_list, token::process): Use it.
1070         * src/roff/troff/node.h (node): Add fourth parameter to add_char()
1071         for adjusting the space.
1072         * src/roff/troff/node.cc (node::add_char): Implement it.  Add code
1073         for stretchable space.
1074         * src/roff/troff/input.cc (token::add_to_node_list): Use it.
1075         (make_node): Add code for stretchable space.
1076         * src/roff/troff/env.cc (environment::add_char): Use it.
1077         * src/roff/troff/input.cc: Add ESCAPE_TILDE special character.
1078         (get_copy, token::next, transparent_translate, asciify): Use it.
1080         * NEWS, src/roff/troff/troff.man, src/roff/troff/TODO,
1081         doc/groff.texinfo: Updated.
1082         * man/groff.man: Small reorderings.
1084 2000-11-23  Werner LEMBERG  <wl@gnu.org>
1086         * NEWS: Fixes.
1087         * src/preproc/eqn/main.cc (main): Use `config_macro_path' for -M
1088         option.
1089         * src/roff/troff/input.cc (main): Add `config_macro_path' and
1090         `safer_macro_path' to -M option.
1091         * src/roff/troff/troff.man: Fixes.
1093 2000-11-22  Werner LEMBERG  <wl@gnu.org>
1095         Use safer path (except for config files) if -U isn't specified.  Add
1096         a special macro path (without home and current directory) for config
1097         files.  Add home directory to unsafe path for consistency.  Don't
1098         include the home directory in the font path.
1100         * src/lib/libgroff/macropath.cc: Add `config_macro_path', change
1101         `macro_path'.
1102         * src/include/macropath.h: Add `config_macrp_path'.
1103         * src/lib/libgroff/fontfile.cc: Fix font path.
1104         * src/roff/troff/input.cc (process_startup_file): Use
1105         `config_macro_path'.
1106         (main): Select unsafe path if -U is given.
1108         * src/preproc/eqn/main.cc (main): Fixing search path for
1109         configuration file.
1110         * src/preproc/eqn/eqn.man: Updated.
1112         * src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
1113         Updated.
1115         * src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
1116         src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
1117         src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
1118         src/devices/grotty/grotty.man: Updated.
1120         * Makefile.in: Fix comments.
1122 2000-11-17  Werner LEMBERG  <wl@gnu.org>
1124         * tmac/safer.tmac: Empty file added (again) for compatibility
1125         reasons.
1126         * tmac/Makefile.sub: Updated.
1128 2000-11-16  Werner LEMBERG  <wl@gnu.org>
1130         * src/devices/grodvi/dvi.cc (main),
1131         src/devices/grohtml2/post-html.cc (main),
1132         src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
1133         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
1134         (main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
1135         (main), src/preproc/html2/pre-html.cc (main),
1136         src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
1137         src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
1138         (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
1139         (main), src/utils/hpftodit/hpftodit.cc (main),
1140         src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc
1141         (main), src/utils/lookbib/lookbib.cc (main),
1142         src/utils/pfbtops/pfbtops.c (main), src/utils/tfmtodit/tfmtodit.cc
1143         (main): Use stdout for -v.
1144         * src/roff/groff/groff.cc (run_commands),
1145         src/roff/groff/pipeline.c (run_pipeline): New parameter `no_pipe'
1146         to make direct printing to stdout possible.
1147         * src/roff/groff/pipeline.h: Updated.
1149         * src/utils/afmtodit/afmtodit.pl: Add -v switch.
1150         * src/utils/afmtodit/Makefile.sub (afmtodit): Use @VERSION@.
1151         * src/utils/afmtodit/afmtodit.man: Updated.
1153         * src/utils/addftinfo/addftinfo.cc (main): Add -v switch.
1154         (version): New function.
1155         (usage): Updated.
1156         * src/utils/addftinfo/addftinfo.man: Updated.
1158         * src/devices/*/*, src/preproc/*/*, src/roff/*/*, src/utils/*/*:
1159         Fixing copyright dates.
1161         * src/preproc/eqn/neqn.sh: Adding GROFF_BIN_PATH to path instead of
1162         replacing it.
1164         * src/devices/grolbp/lbp.cc (main): Use Version_string instead of
1165         version_string.
1167         * src/roff/nroff/Makefile.sub (nroff): Fix use of @VERSION@.
1169 2000-11-15  Werner LEMBERG  <wl@gnu.org>
1171         In all programs, make -v return immediately with exit status 0 to
1172         be compliant with the GNU standard.
1174         * src/devices/grodvi/dvi.cc (main),
1175         src/devices/grohtml2/post-html.cc (main),
1176         src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
1177         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
1178         (main) src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
1179         (main), src/preproc/html2/pre-html.cc (main),
1180         src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
1181         src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
1182         (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
1183         (main): Implement it.
1184         * NEWS: Updated.
1186         * src/roff/groff/groff.cc (main): Add copyright notice.  Add refer
1187         and postprocessors to the -v option.
1189         * src/roff/grog/grog.pl: Implement -v.
1190         * src/roff/grog/Makefile.sub (grog): Use @VERSION@.
1191         * src/roff/grog/grog.man, doc/groff.texinfo: Updated.
1193         * src/roff/nroff/nroff.sh: Implement -v.
1194         * src/roff/nroff/Makefile.sub (nroff): Use @VERSION@.
1195         * src/roff/nroff/nroff.man: Updated.
1196         
1197         * src/preproc/eqn/main.cc (main): Fix comment typo.
1199         * MORE.STUFF: Added info about djgpp port of grap.
1201 2000-11-14  Werner LEMBERG  <wl@gnu.org>
1203         * src/roff/grog/grog.{pl,sh}: Implemented -C switch for compatibility
1204         mode (or rather, implemented non-compatibility mode).
1205         * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
1207         * src/roff/groff/groff.cc (main): Add BIN_PATH to PATH instead of
1208         replacing it -- we don't find gxditview otherwise.
1209         * NEWS, src/roff/groff/groff.man, doc/groff.texinfo: Updated.
1211         * src/preproc/pic/depend: Removed.  Unnecessary.
1213         Implemented dummy keyword `solid' in pic for compatibility with
1214         AT&T pic.
1216         * lex.cc (lookup_keyword): Added `solid'.
1217         * pic.y: Added SOLID with dummy rule.
1218         * pic.cc, pic_tab.h: Regenerated.
1219         * doc/pic.ms: Updated.
1221 2000-11-13  Werner LEMBERG  <wl@gnu.org>
1223         For security reasons, don't use the current directory but the home
1224         directory while searching and scanning troffrc and troffrc-end.
1225         Similarly, replace the current directory with the home directory
1226         in the font path.
1228         * Makefile.in (fontpath, tmacpath): Remove current directory.
1230         * src/libs/libgroff/searchpath.cc (search_path::search_path): Add
1231         two parameters `add_home' and `add_current'.
1232         (search_path::~search_path, search_path::command_line_dir,
1233         search_path::open_file): Remove tests for `dirs' being zero.
1234         * src/include/searchpath.h: Adjust.
1235         * src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
1236         `safer_macro_path'.
1237         * src/libs/libgroff/fontfile.cc: Adjust `font_path'.
1239         * src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
1240         * src/roff/troff/input.cc: Use `mac_path', initialized with
1241         `macro_path'.
1242         (process_startup_file): Set `mac_path' to `safer_macro_path'.
1243         * src/roff/troff/env.cc: Use `mac_path'.
1245         * src/preproc/eqn/main.cc (main): Use `safer_macro_path'.
1247         * NEWS, man/roff.man, src/roff/troff/troff.man,
1248         src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
1249         Updated.
1251 2000-11-12  Werner LEMBERG  <wl@gnu.org>
1253         * src/include/lib.h: Don't include groff-getopt.h for OSF/1.
1255         * aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
1256         * configure.in: Fix typo in comment.
1257         * configure: Regenerated.
1259         * src/libgroff/*, src/include/*, src/roff/troff/*: Fixing copyright
1260         dates.
1262 2000-11-08  Werner LEMBERG  <wl@gnu.org>
1264         Add system tmac directory (/usr/local/lib/groff/site-tmac).
1266         * Makefile.in: Add $(libdir), $(libprogramdir), and $(systemtmacdir).
1267         (uninstall_dirs): Add $(libdir), $(libprogramdir), and
1268         $(systemtmacdir).
1269         Use @libdir@.
1270         * Makefile.comm (.man.n): Add @SYSTEMMACRODIR@.
1271         * tmac/Makefile.sub (install_data): Create
1272         $(systemtmacdir) and $(localtmacdir).
1273         (uninstall_sub): Use $(systemtmacdir) for wrapper macros.
1274         * man/roff.man, src/roff/troff/troff.man, src/roff/groff/groff.man,
1275         NEWS, doc/groff.texinfo: Updated and minor fixes.
1277         * Makefile.comm, Makefile.in: Added tmac_{s,an}_prefix stuff again.
1278         * tmac/Makefile.sub: Added `wrap' stuff again, but installing into
1279         $(systemtmacdir) since the wrapper files are platform-dependent.
1281 2000-11-01  Werner LEMBERG  <wl@gnu.org>
1283         * doc/groff.texinfo: Fix typo.
1285 2000-10-26  Werner LEMBERG  <wl@gnu.org>
1287         Convert macros `tmac.XXX' to `XXX.tmac'.  Special cases:
1288           tmac.doc.old -> doc-old.tmac
1289           tmac.an.old  -> an-old.tmac
1291         * tmac/tmac.*: Moved to ...
1292         * tmac/*.tmac: this.
1293         * tmac/man.local: Fix comment.
1294         * tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man,
1295         tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated. 
1296         Added some `FILES' sections.  More use of @...@ directives.  Other
1297         minor updates.
1298         * arch/djgpp/README, font/devutf8/NOTES: Updated.
1299         * doc/homepage.ms, doc/groff.texinfo: Updated.
1300         * man/groff.man, man/roff.man: Updated.
1301         * src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man,
1302         src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
1303         src/devices/grotty/grotty.man: Updated.
1304         * src/preproc/pic/pic.man: Updated.
1305         * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old
1306         instead of -mdoc.old.
1307         * src/roff/grog/grog.man: Document -mdoc and -mdoc-old.
1308         * src/roff/nroff/nroff.man: Updated.
1309         * NEWS: Updated.
1311         * tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment.
1313         * tmac/mm.diff: Removed -- it has no use now since the mm package
1314         is part of groff.
1316         * tmac/*: Removed trailing spaces.
1318         * arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in
1319         the tmac subdirectory also).
1321         * Makefile.comm, Makefile.in: Remove tmac_{s,an}_prefix stuff.
1322         * tmac/Makefile.sub: Adapted to new macro names; removed `wrap'
1323         stuff since it is no longer needed.
1325         * README, PROBLEMS: Updated.
1327 2000-10-25  Werner LEMBERG  <wl@gnu.org>
1329         Invert current behaviour: Search first FOOBAR.tmac, then
1330         tmac.FOOBAR.
1332         * src/roff/troff/input.cc: Introduce MACRO_POSTFIX.
1333         (open_mac_file, macro_source): Implement it.
1334         * src/roff/troff/troff.man, tmac/groff_tmac.man, man/roff.man,
1335         doc/groff.texinfo, NEWS: Document it.
1337         * src/roff/nroff/nroff.man, src/roff/groff/groff.man, man/groff.man:
1338         Small documentation improvements.
1340         * test-groff: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac
1341         subdirectory also).
1343         * font/devps/Makefile.sub: Fix rules for dingbats.*map.
1345 2000-10-24  Werner LEMBERG  <wl@gnu.org>
1347         Add local tmac directory (groff/site-tmac).
1349         * Makefile.in: Add $(localtmacdir).
1350         (uninstall_dirs): Add $(localtmacdir).
1351         * Makefile.comm (.man.n): Add @LOCALMACRODIR@.
1352         * tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local
1353         in $(localtmacdir).  Create $(localtmacdir).
1354         * man/roff.man, src/roff/troff/troff.man, NEWS, doc/groff.texinfo:
1355         Updated and minor fixes.
1357         Rename font/devps/generate/dingbats[r]map to dingbats.[r]map.
1359         * font/devps/generate/Makefile.sub, arch/djgpp/README: Adjust.
1361 2000-10-23  Werner LEMBERG  <wl@gnu.org>
1363         Move hyphen.us to tmac directory.
1365         * src/roff/troff/hyphen.us: Removed.
1366         * src/tmac/hyphen.us: Added.
1367         * src/roff/troff/Makefile.sub, tmac/Makefile.sub: Updated.
1369         Change installation structure for data files from .../groff/... to
1370         .../groff/<version><revision>/... to be conform with other GNU
1371         programs.
1373         * Makefile.in, Makefile.comm, src/utils/indxbib/Makefile.sub,
1374         doc/Makefile: Implement it.
1375         * aclocal.m4 (GROFF_PAGE): Add test for new directory structure.
1376         * configure: Updated.
1377         * arch/djgpp/README, font/devutf8/NOTES: Use it.
1378         * NEWS: Document it.
1379         * man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and
1380         @MACRODIR@ instead of hard-coded directories.
1382 2000-10-22  Werner LEMBERG  <wl@gnu.org>
1384         Implement $GROFF_BIN_PATH environment variable (which defaults to
1385         $bindir) used for child programs of groff and similar wrappers.
1387         * gendefs.sh: Improve documentation.
1388         * Makefile.comm (,man.n), src/include/Makefile.sub (defs.h),
1389         src/preproc/eqn/Makefile.sub (neqn),
1390         src/roff/nroff/Makefile.sub (nroff): Add $(bindir).
1391         * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Implement
1392         $GROFF_BIN_PATH.
1393         * src/roff/groff/groff.cc (main): Implement $GROFF_BIN_PATH and
1394         $GROFF_PATH__ (the latter for communication with troff).
1395         * src/roff/troff/input.cc (main): Use $GROFF_PATH__ for $PATH if
1396         set.
1397         * NEWS, src/roff/nroff/nroff.man, src/roff/groff/groff.man,
1398         doc/groff.texinfo: Document it.
1400         * doc/groff.texinfo: Improve documentation of troff's -a option.
1402 2000-10-17  Gaius Mulley  <gaius@glam.ac.uk>
1404         * src/roff/troff/node.cc: Fixed calculation of opminx and fixed
1405         non-intrusive eol marker.
1406         (troff_output_file::determine_line_limits): New function.
1407         (troff_output_file::draw): Use it.
1408         * src/roff/troff/env.cc (environment::add_html_tag): Use output() +
1409         output_pending_lines() instead of output_line().
1410         * src/preproc/eqn/main.cc (do_file): Fix graphic_end().
1411         * src/preproc/html2/pre-html.cc (char_buffer::write_file_troff,
1412         createImage): Small fixes.
1413         
1414 2000-10-14  Werner LEMBERG  <wl@gnu.org>
1416         Replace tmac.safer with a real secure solution.
1418         * src/roff/troff/input.cc (open_request, opena_request, pipe_source,
1419         system_request, pipe_output): Disable requests if in safer mode.
1420         * src/roff/groff/groff.cc (main): Remove reference to tmac.safer.
1421         * tmac/tmac.safer, tmac/groff_msafer.man: Removed.
1422         * tmac/Makefile.sub, NEWS, man/roff.man, tmac/groff_tmac.man,
1423         doc/groff.texinfo, src/roff/groff/groff.man,
1424         src/roff/troff/troff.man, arch/djgpp/README: Updated.
1426         * src/devices/grops/ps.cc (main), src/devices/grops/psrm.cc
1427         (resource_manager::output_prolog): Replace setenv() with putenv().
1429 2000-10-09  Werner LEMBERG  <wl@gnu.org>
1431         * src/libs/libbib/map.c, src/libs/libgroff/getcwd.c,
1432         src/libs/libgroff/strtol.c, src/preproc/html2/image.cc,
1433         src/preproc/html2/pre-html.cc, src/preproc/html2/pushbackbuffer.cc,
1434         src/roff/groff/pipeline.c: Removing `#ifndef errno' to avoid
1435         compilation errors with some compilers.  It seems that this code
1436         is no longer necessary -- if yes, it is easy to add some #ifdef's
1437         for that particular old-fashioned compiler.
1439         * MORE.STUFF: Added info about Meta-tbl.
1441         * doc/groff.texinfo: Added more info about `.if "..."..."'.
1443 2000-10-07  Werner LEMBERG  <wl@gnu.org>
1445         Adding a new escape sequence \B'...': If the string between
1446         the delimiters is a valid numeric expression, return the character
1447         `1', and `0' otherwise.  This is an analogon to \A.
1449         * src/roff/troff/input.cc (do_expr_test): Implement it.
1450         (token::next): Use it.
1451         * src/roff/troff/troff.man, NEWS, man/groff.man: Document it.
1453         * tmac/tmac.trace: Made independent from escape character.
1455 2000-10-06  Werner LEMBERG  <wl@gnu.org>
1457         Adding a new request .dei: define indirect.  The first and second
1458         parameter of .dei are taken from string registers instead directly;
1459         this very special request is needed to make tmac.trace independent
1460         from the escape character (which might even be disabled).
1462         * src/roff/troff/input.cc (do_define_macro): Implement it.
1463         (define_macro_indirect): New function.
1464         (init_input_requests): Use it.
1466         Adding two requests .ecs and .ecr: Save and restore the escape
1467         character.  These two requests are needed to make tmac.trace
1468         independent from the escape character (which might even be
1469         disabled).
1471         * src/roff/troff/input.cc (save_escape_char, restore_escape_char):
1472         Implement it.
1473         (init_input_requests): Use it.
1475         * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
1477 2000-09-22  Ricardo Soares Guimarães <ricardo@conectiva.com.br>
1479         Adding a new option -P and new environment variable GROPS_PROLOGUE
1480         to grops, selecting a different prologue file (minor modifications
1481         by WL).
1483         * src/devices/grops/psrm.cc (resource_manager::output_prolog),
1484         src/devices/grops/ps.cc (main): Implement it.
1485         * src/devices/grops/grops.man, NEWS: Document it.
1487 2000-09-22  Werner LEMBERG  <wl@gnu.org>
1489         * INSTALL: Add info about selecting paper format.
1491 2000-09-21  Werner LEMBERG  <wl@gnu.org>
1493         * src/roff/troff/input.cc (main): Fixing compiler warning.
1494         * src/include/{driver.h, lib.h}: Move inclusion of string.h and
1495         strings.h from the former to the latter.
1496         * src/devices/grolbp/lpb.cc, src/include/lib.h: Move strncasecmp()
1497         stuff from the former to the latter.
1499 2000-09-11  Werner LEMBERG  <wl@gnu.org>
1501         Implementing two new requests .tm1 and .tmc: The former is similar
1502         to .tm but can output leading spaces; its syntax is similar to
1503         defining a string, i.e., a `"' can be used to mark the beginning of
1504         the string to be written to stderr: `.tm1 " test'.  The latter is
1505         similar to .tm1 but doesn't write out a final newline character.
1507         * src/roff/troff/input.cc (terminal1, terminal_continue,
1508         do_terminal): New functions.
1509         (init_input_requests): Use them.
1510         * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
1512 2000-09-09  Werner LEMBERG  <wl@gnu.org>
1514         * tmac/groff_mdoc.samples.man: Small fixes.
1516 2000-09-08  Werner LEMBERG  <wl@gnu.org>
1518         * tmac/groff_mdoc.man: Fixing typo.
1520 2000-09-02  Werner LEMBERG  <wl@gnu.org>
1522         Implementing a .nop request which does nothing.
1524         * src/roff/troff/input.cc (nop_request): New function.
1525         (init_input_requests): Use it.
1526         * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
1528 2000-09-01  Werner LEMBERG  <wl@gnu.org>
1530         * doc/groff.texinfo: Added some comments.
1532 2000-08-30  Werner LEMBERG  <wl@gnu.org>
1534         * src/roff/troff/TODO: Updated.
1536 2000-08-28  Bruno Haible  <haible@clisp.cons.org>
1538         * contrib/mm/Makefile.sub: New target 'all', makes all prerequisites
1539         of 'install'.
1541 2000-08-25  Werner LEMBERG  <wl@gnu.org>
1543         * doc/groff.texinfo: Fix comment how to compile the DVI file.
1545 2000-08-25  Eli Zaretskii  <eliz@is.elta.co.il>
1547         * font/devps/generate/Makefile (SHELL): Define explicitly to
1548         "/bin/sh", for non-Unix platforms.
1549         (extraclean): Use a more portable "" quoting instead of a
1550         backslash (which doesn't work on DOS/Windows).
1551         
1552         * font/devlj4/generate/Makefile (extraclean): Ditto.
1554         * font/devdvi/generate/Makefile (extraclean): Ditto.
1556 2000-08-25  Werner LEMBERG  <wl@gnu.org>
1558         * NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,
1559         src/roff/troff/troff.man: Document Eli's latest changes.
1561 2000-08-25  Eli Zaretskii  <eliz@is.elta.co.il>
1563         * src/roff/troff/input.cc (open_mac_file, macro_source): Support
1564         macro file names of the form NAME.tmac as well as tmac.NAME.
1566 2000-08-25  Werner LEMBERG  <wl@gnu.org>
1568         * src/include/posix.h: Remove definition of FILENAME_MAX.
1570         * src/preproc/html2/pre-html.h, pre-html.cc: Add return type to
1571         `sys_fatal' and `stop' function().
1573         * test-groff: Updated.
1575 2000-08-24  Gaius Mulley  <gaius@glam.ac.uk>
1577         Added the new troff command .output <arg> to suppress output (while
1578         still obeying motion) and also the opminx, opminy, opmaxx, opmaxy
1579         registers (for passing the output dimensions to the output device).
1581         * src/roff/troff/div.cc (top_level_diversion::output): Use `width'
1582         parameter.
1583         * src/roff/troff/node.h, src/roff/troff/node.cc
1584         (troff_output_file::really_print_line,
1585         ascii_output_file::really_print_line,
1586         supress_output_file::really_print_line): Use `width' parameter.
1587         (troff_output_file::really_on, troff_output_file::really_off,
1588         output_file::on, output_file::off, real_output_file::on,
1589         real_output_file::off, real_output_file::really_on,
1590         real_output_file::really_off): New functions.
1591         (real_output_file:public output_file): New variable `output_on'.
1592         (real_output_file::begin_page, real_output_file::copy_file,
1593         real_output_file::transparent_char, real_output_file::print_line):
1594         Use it.
1595         (real_output_file::print_line): Use check_output_limits.
1596         * src/roff/troff/reg.h, src/roff/troff/request.h,
1597         src/roff/troff/input.cc (assign_registers): New function to remove
1598         two `goto's.
1599         (do_ps_file): Use it.
1600         (check_output_limits, reset_output_registers, output_request,
1601         init_output_requests): New functions.
1602         (init_input_requests): Updated.
1604         Added new grohtml2 device and html2 preprocessor (coding
1605         not yet finished) which will eventually replace grohtml.
1607         * Makefile.in, tmac/Makefile.sub, tmac/eqnrc, tmac/troffrc-end:
1608         Updated.
1609         * src/include/htmlindicate.h, src/include/htmlindicate
1610         (html_begin_suppress, html_end_suppress): New functions.
1611         * src/preproc/tbl/main.cc: Use it.
1612         * src/roff/groff/groff.cc: Add support for html2 device (which will
1613         automatically invoke the html2 preprocessor).
1614         * src/roff/troff/input.cc (is_html2): New variable.
1615         * src/roff/troff/troff.h, src/roff/troff/env.h,
1616         src/roff/troff/env.cc (environment::add_html_tag): New function
1617         (uses `is_html2').
1618         (environment::do_break): Use it.
1619         * font/devhtml2/*: New files.
1620         * src/devices/grohtml2: New device.
1621         * src/preproc/html2: New preprocessor.
1622         * tmac/tmac.html-tags, tmac/tmac.html2: New files.
1624 2000-08-23  Werner LEMBERG  <wl@gnu.org>
1626         * src/devices/grolbp/lbp.cc: Same workaround for sinix as for AIX.
1628 2000-08-22  Werner LEMBERG  <wl@gnu.org>
1630         * src/include/lib.h: Provide a fix for IRIX to not include
1631         groff-getopt.h.
1633 2000-08-18  Werner LEMBERG  <wl@gnu.org>
1635         * configure.in: Don't provide an empty value for SH_SCRIPT_SED_CMD
1636         since some non-GNU sed programs can't handle null regexps.
1637         * configure, src/preproc/eqn/Makefile.sub,
1638         src/roff/grog/Makefile.sub, src/roff/nroff/Makefile.sub: Updated.
1640         * src/devices/grolbp/lbp.cc: Add an AIX workaround for an autoconf
1641         bug (string.h and strings.h are both needed according to latest
1642         POSIX standard).
1644         * MORE.STUFF: Added info about unroff and troffcvt.
1646 2000-08-08  Werner LEMBERG  <wl@gnu.org>
1648         * tmac/tmac.a4: Will now work with ms macros also; -ma4 should be
1649         used before -ms.
1651         * tmac/tmac.man.old: Remove unused number register.
1653         * tmac.doc: Minor documentation fix.
1655 2000-08-07  Paul Eggert  <eggert@twinsun.com>
1657         * src/roff/groff/pipeline.c (is_system_shell):
1658         Fix typo: "monocased_shell" no longer exists.
1660 2000-08-07  Paul Eggert  <eggert@twinsun.com>
1662         Remove FILENAME_MAX limits.
1664         * src/roff/groff/pipeline.c (is_system_shell): Do not assume
1665         that the argument length is less than FILENAME_MAX.
1666         * src/libs/libgroff/tmpfile.cc (add_tmp_file): Likewise.
1667         Use struct hack to allocate and free file name.
1668         (struct xtmpfile_list): fname is now part of the structure,
1669         not a pointer to another string.
1671 2000-08-07  Tom Schmidt  <tschmidt@micron.com>
1673         * src/include/posix.h: Add a default value for FILENAME_MAX.
1675 2000-08-06  Paul Eggert  <eggert@twinsun.com>
1677         Add support for new BSD-style man pages (with ".Dd" instead of
1678         ".TH"), so that "groff -man" understands both styles, even
1679         when running "groff -man" on a host whose system man page
1680         macros don't support ".Dd".
1682         * tmac/Makefile.sub (NORMALFILES): Add tmac.an.old.
1683         (stamp-wrap): Source tmac.andoc first when wrapping man macros,
1684         in case the system man macros don't define Dd or TH.
1686         * tmac/tmac.an.old: Renamed from tmac/tmac.an.
1687         * tmac/tmac.an: New one-line file.
1688         * tmac/tmac.andoc (TH): Adjust to the tmac.an.old file renaming.
1690 2000-08-06  Werner LEMBERG  <wl@gnu.org>
1692         * src/roff/troff/troff.man: Fixing typos.
1694 Version 1.16.1 released
1695 =======================
1697 2000-07-31  Werner LEMBERG  <wl@gnu.org>
1699         Preparing release 1.16.1.
1701         * REVISION: Revision number set to 1.
1702         * MORE.STUFF: Added info about port to DOS.
1703         * NEWS, win32-diffs: Updated.
1705         * src/include/nonposix.h: Remove first line -- this file is used
1706         in C also.
1708         * Makefile.in (dist): Delete Imakefile earlier to avoid a soft
1709         link to it.
1711 2000-07-30  Werner LEMBERG  <wl@gnu.org>
1713         * doc/texinfo.tex: Update to latest version.
1715 2000-06-28  Paul Eggert  <eggert@twinsun.com>
1717         * Makefile.in (ENVSETUP): Don't assume POSIX make semantics for
1718         commands that fail.  Don't assume that "export a=b" is valid shell
1719         syntax.  This is needed for Solaris 2.5.1.
1721         * src/libs/libgroff/tmpfile.cc, src/utils/indxbib/indxbib.cc: Fix
1722         comment about missing Solaris headers.
1724         * PROBLEMS: Add section about problems with Sun Make and VPATH.
1726 2000-06-25  Werner LEMBERG  <wl@gnu.org>
1728         * src/devics/grodvi/dvi.cc: Replace _setmode() (for MSC) with
1729         SET_BINARY().
1731         * src/include/posix.h: Use HAVE_UNISTD instead of _MSC_VER.
1733         * win32-diffs: Updated.
1734         * README.WIN32: Added CRs to make all Windows editors happy.
1736         * src/roff/troff/node.cc: Added WIFSIGNALED() macro (copied from
1737         src/roff/groff/pipeline.c).
1739 2000-06-23  Eli Zaretskii  <eliz@is.elta.co.il>
1741         * src/roff/grog/Makefile.sub (grog): Prepend `-e' to
1742         $(SH_SCRIPT_SED_CMD), for the case where its value is empty.
1744 2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
1746         * src/utils/tfmtodit/tfmtodit.cc: #include nonposix.h.
1747         (tfm::load, gf::load): Open tfm and gf files in binary mode: these
1748         are binary files.
1749         (main): Support non-Posix systems with several different styles of
1750         slash characters in file names.
1752         * src/utils/pfbtops/pfbtops.c: #include nonposix.h.
1753         (main) [SET_BINARY]: Switch stdin into binary mode.
1755         * src/utils/indxbib/indxbib.cc: #include nonposix.h.
1756         (main): Support file names with several possible slash-type
1757         characters, as given by DIR_SEPS[] in nonposix.h.
1758         (main) [__MSDOS__]: If renaming the temporary index file fails
1759         because it has more than one dot in its trunk, replace the dot
1760         with an underscore and try again.
1761         (do_file): Use FOPEN_RB instead of "r".  Skip every CR before a
1762         Newline.
1763         [__MSDOS__ || _MSC_VER]: Stop at the first ^Z character.
1765         * src/utils/hpftodit/hpftodit.cc: #include nonposix.h.
1766         (File::File): Open the input file in binary mode.  Strip CR
1767         characters from each CR-LF pair.
1768         (xbasename): Support file names with several possible slash-type
1769         characters, as given by DIR_SEPS[] in nonposix.h.
1771         * src/include/Makefile.sub (HDRS): Add nonposix.h.
1773         * src/roff/troff/node.cc [HAVE_UNISTD_H]: Include <unistd.h>.
1774         (WIFEXITED, WEXITSTATUS, WTERMSIG, WIFSTOPPED, WSTOPSIG)
1775         [!_POSIX_VERSION]: Define for traditional Unix systems.
1776         (real_output_file::real_output_file): Remove the MSVC-specific
1777         call to popen, use instead POPEN_WT, appropriately defined on
1778         nonposix.h.  #include nonposix.h.
1779         (real_output_file::~real_output_file): Remove the MSVC-specific
1780         call to pclose, a suitable macro is now defined on nonposix.h.
1781         Use the portable macros WIFEXITED, WIFSIGNALED, WTERMSIG, WSTOPSIG
1782         and WEXITSTATUS instead of assuming traditional Unix
1783         interpretation of the status returned by pclose.
1785         * src/roff/troff/input.cc (pipe_source): Remove the MSVC-specific
1786         call to popen, use POPEN_RT instead (appropriately defined on
1787         nonposix.h).  #include nonposix.h.
1788         (ps_bbox_request): Open the PostScript file in binary mode.
1789         Close the file after processing it.
1790         (getpid) [_MSC_VER]: Remove; a suitable macro is now defined on
1791         nonposix.h.
1793         * src/roff/groff/pipeline.c (run_pipeline) [__MSDOS__ || _WIN32]:
1794         A version of run_pipeline that doesn't use `fork'.
1795         (signal_catcher) [__MSDOS__ || _WIN32]: New function.
1796         (system_shell_name, system_shell_dash_c)
1797         (is_system_shell) [__MSDOS__ || _WIN32]: New functions, to hide
1798         the ugliness of testing DOS/Windows file names for equality, and
1799         support both stock shells and ports of Unix shells.
1801         * src/roff/groff/groff.cc: #include nonposix.h.
1802         (BSHELL): Definition moved to nonposix.h.
1803         (main): Use PATH_SEP[0] instead of literal ':'.  Use BSHELL_DASH_C
1804         instead of a literal "-c".
1805         (xbasename): Support file names with several possible slash-type
1806         characters, as given by DIR_SEPS[] in nonposix.h.
1807         (possible_command::print): Use BSHELL_DASH_C and IS_BSHELL instead
1808         of literal strings.
1810         * src/preproc/soelim/soelim.cc: #include nonposix.h.
1811         (do_file): Use IS_ABSOLUTE instead of testing for a literal '/'.
1813         * src/preproc/pic/Makefile.sub (YTABH): Change pic.tab.h to
1814         pic_tab.h.
1816         * src/preproc/pic/lex.cc: Change pic.tab.h to pic_tab.h.
1818         * src/preproc/eqn/Makefile.sub (YTABH): Rename eqn.tab.h to
1819         eqn_tab.h.
1821         * src/preproc/eqn/lex.cc: #include eqn_tab.h, not eqn.tab.h.
1823         * src/libs/libgroff/tmpfile.cc (DEFAULT_TMPDIR) [P_tmpdir]: If
1824         P_tmpdir is defined, use it instead of the literal "/tmp".
1825         (remove_tmp_files, add_tmp_file): New functions.
1826         (xtmpfile): Record temporary files and register an atexit function
1827         to delete them explicitly, instead of relying on the OS to do
1828         that, which doesn't work on non-Unix systems.
1830         * src/libs/libgroff/searchpath.cc: #include nonposix.h.
1831         (search_path::search_path): Use PATH_SEP instead of a literal
1832         colon.
1833         (search_path::command_line_dir): Ditto.
1834         (search_path::open_file): Use IS_ABSOLUTE, PATH_SEP and DIR_SEPS,
1835         to support non-Posix systems.
1837         * src/libc/libbib/search.cc: #include nonposix.h.
1838         (search_list::add_file): Open the file in binary mode.
1840         * src/libs/libbib/linear.cc: #include nonposix.h.
1841         (file_buffer::load): Remove \r characters preceding \n from the
1842         loaded buffer.
1844         * src/libs/libbib/index.cc: #include nonposix.h.
1845         (make_index_search_item): Open index_filename in O_BINARY mode.
1846         (index_search_item_iterator::get_tag): Ditto.  Remove \r
1847         characters before \n characters.
1848         (index_search_item::check_files): Open files in binary mode.
1849         (index_search_item::munge_filename): Support DOS-style file names
1850         with backslashes and drive letters, use IS_ABSOLUTE.
1852         * src/devices/grops/ps.cc: #include nonposix.h.
1853         (main) [SET_BINARY]: Switch stdout to binary mode.
1855         * src/devices/grolj4/lj4.cc: #include nonposix.h.
1856         (main) [SET_BINARY]: Switch stdout to binary mode.
1858         * src/devices/grolbp/lbp.cc: #include nonposix.h
1859         (fill_pattern) [SET_BINARY]: Switch stdout to binary mode.
1861         * src/devices/grodvi/dvi.cc: #include nonposix.h.
1862         [_MSC_VER]: Remove inclusion of Windows-specific headers (done by
1863         nonposix.h).
1864         (main) [SET_BINARY]: Switch stdout to binary mode.
1865         [_MSC_VER]: Remove an explicit call to _setmode.
1867         * src/include/nonposix.h: New file.
1869         * Makefile.in (ENVSETUP): New variable, to set up case-sensitive
1870         operation when building with DJGPP.
1871         ($(TARGETS), dot, $(LIBDIRS), $(CPROGDIRS), $(CCPROGDIRS))
1872         ($(DEVDIRS), $(TTYDEVDIRS), $(INCDIRS), $(OTHERDIRS)): Use
1873         ENVSETUP.
1875         * Makefile.comm: mv y.tab.[ch] to y_tab.[ch], to make it work on
1876         MS-DOS.
1877         (.man.n): Replace `;' with `|', since FONTPATH, MACROPATH,
1878         etc. can include a semi-colon on DOS/Windows.
1879         (depend.temp): Use depend1.temp instead of depend.temp1, to
1880         prevent files from overerwiting each other on 8+3 filesystems.
1882         * gendef.sh (t): Change definition to work with DOS/Windows.
1884         doc/groff.texinfo: Apart of some typo corrections, I also changed
1885         some index entris, to make them more non-ambiguous, and also put
1886         @ignore around some parts that are not yet written, to allow the
1887         Info output be readable.
1889 2000-06-10  Gael Queri  <gqueri@mail.dotcom.fr>
1891         Replaced specific checks for function declarations with a generic
1892         routine taken from GNU bfd.
1894         * aclocal.m4 (GROFF_NEED_DECLARATION): New function.
1895         GROFF_PUTENV, GROFF_POPEN, GROFF_PCLOSE, GROFF_HYPOT: Removed.
1896         * configure.in: Use it.
1897         * src/devices/grolbp/lbp.cc, src/include/lib.h,
1898         src/preproc/grn/hgraph.cc, src/preproc/pic/pic.h,
1899         src/roff/groff/groff.cc: Use it.
1900         * Makefile.in, configure: Updated.
1902 2000-06-07  Paco Andres Verdu  <pandres@dragonet.es>
1904         * src/devides/grolbp/lbp.h: Removed unused variables.
1906 2000-05-31  Keith Thompson  <kst@sdsc.edu>
1908         * src/devices/grolbp/lbp.cc (set_papersizes): Add declaration of
1909         strncasecmp().
1911 2000-05-31  Werner LEMBERG  <wl@gnu.org>
1913         * aclocal.m4 (GROFF_SRAND): New function to test the return value
1914         of srand() -- at least SunOS 4.1.3 uses `int' instead of `void'.
1915         * configure.in: Use it.
1916         * src/preproc/pic/pic.y, src/preproc/pic/pic.cc: Use it.
1917         * configure, Makefile.in: Updated.
1919         * configure.in: Add test for strncasecmp().
1920         * src/include/lib.h: Use it.
1922 2000-05-29  Andrej Borsenkow  <Andrej.Borsenkow@mow.siemens.ru>
1924         * src/preproc/grn/Makefile.sub: Add MLIB.
1926 2000-05-29  Nix  <nix@esperi.demon.co.uk>
1928         * Makefile.in: Use @datadir@ and @mandir@ appropriately.
1930 2000-05-29  Werner LEMBERG  <wl@gnu.org>
1932         * src/roff/grog/Makefile.sub, src/roff/grog/grog.sh: Add `@g@'.
1934         * PROBLEMS: Small update.
1936         * src/devices/grolbp/lbp.cc: Various small fixes.
1938 2000-05-28  Keith Thompson  <kst@sdsc.edu>
1940         * src/roff/nroff/nroff.sh: Fix main loop syntax.
1942         * src/utils/indxbib/indxbib.cc: Add declaration of mkstemp().
1944 2000-05-25  Werner LEMBERG  <wl@gnu.org>
1946         * man/roff.man: Removed unused macro.
1948 2000-05-24  Werner LEMBERG  <wl@gnu.org>
1950         * Makefile.in (dist): Remove src/xditview/Imakefile explicitly. 
1951         This is needed e.g. if you do
1952         `make distclean; ./configure; make dist'.
1954 Version 1.16 released
1955 =====================
1957 2000-05-23  Werner LEMBERG  <wl@gnu.org>
1959         Adding font CWI (constant width italic) to devdvi.
1961         * font/devdvi/CWI: New file.
1962         * font/devdvi/generate/Makefile: Add generating rule.
1963         * font/devdvi/DESC.in, font/devdvi/Makefile.sub, win32-diffs,
1964         tmac/tmac.dvi: Use it.
1965         * NEWS: Announce it.
1967         * font/devlj4/*: Regenerated (only adding kernings for `cq' glyph).
1968         * font/devlj4/generate/Makefile: Cosmetic changes only.
1970         * man/groff.man: Removed most of the redundant description of
1971         special characters (which is in groff_char.man).  Added font
1972         translation CB->CR for devdvi.  Other minor fixes.
1974         * tmac/tmac.dvi: Improved appearance of \(co (copyright) and \(rg
1975         (registered) symbols.
1977 2000-05-22  Werner LEMBERG  <wl@gnu.org>
1979         * doc/Makefile: Added rule for creating info files.
1981         * font/devdvi/*: Added kernings for `cq' glyph.  Updated to latest
1982         AMS font metrics.
1983         * font/devdvi/generate/Makefile: Fixed dependencies.
1985         * font/devps/*: Regenerated.  Heavy changes for Bookman and
1986         NewCentury Schoolbook!
1987         * font/devps/generate/afmname: Will now run with GNU awk.
1988         * font/devps/generate/textmap: Added forgotten `cq' glyph name.
1989         * font/devps/generate/Makefile: Cosmetic changes only.
1991 2000-05-21  Werner LEMBERG  <wl@gnu.org>
1993         * tmac/tmac.an: Added a new command line option `-rSxx' (`xx' can be
1994         10, 11, or 12) to support output with 11pt and 12pt base font sizes. 
1995         `.SS' now produces a heading with a smaller size than `.SH'. 
1996         Completely formatted.
1997         * doc/groff.texinfo, tmac/groff_man.man, NEWS: Document it.
1999         * man/groff.man: Improved table appearance.  Use of `eo' request
2000         to reduce number of doubled backslashes in macro definitions.
2001         Replacing `\e' with `\(rs'.  Other minor fixes.
2003         * src/preproc/tbl/main.cc: Insert HTML table end tag before `lf'
2004         to have correct line number.
2006         * INSTALL: Small improvement.
2008 2000-05-20  Bernd Warken  <bwarken@mayn.de>
2010         * man/roff.man, tmac/groff_tmac.man: Updates (with corrections by
2011         WL).
2013 2000-05-19  Bernd Warken  <bwarken@mayn.de>
2015         * man/groff.man: Complete update (with a lot of corrections by WL).
2017 2000-05-18  Werner LEMBERG  <wl@gnu.org>
2019         Adding `cq' (PS name `quoteright') glyph name as an alias for "'".
2021         * font/*/*: Implement it.
2022         * man/groff_char.man, NEWS: Document it.
2024         * src/include/unix.h: Removed.  It isn't used.
2026         * doc/groff.texinfo: Slight improvements.
2028 2000-05-17  Werner LEMBERG  <wl@gnu.org>
2030         * README, win32-diffs: Small fixes and improvements.
2032 2000-05-16  Werner LEMBERG  <wl@gnu.org>
2034         * FDL: New file (the Free Documentation License version 1.1).
2036         * doc/groff.texinfo: Added many start-up values for gtroff.
2037         Some structural improvements of the source code.
2039 2000-05-15  Werner LEMBERG  <wl@gnu.org>
2041         * src/roff/troff/input.cc: Added small comment about troffrc-end.
2042         * src/roff/troff/troff.man: Added info about troffrc-end.
2044 2000-05-14  Werner LEMBERG  <wl@gnu.org>
2046         * Makefile.in (EXTRADIRS): Fix typos.
2047         (dist): Handle deletion of old .tar.gz file correctly.
2048         (DISTDIRS): Include all tty output devices.
2050         * doc/groff.texinfo: Adding more cross references; countless other
2051         fixes.
2053 2000-05-13  Werner LEMBERG  <wl@gnu.org>
2055         * MORE.STUFF: Added Robert Marks's utilities.
2057 2000-05-12  Werner LEMBERG  <wl@gnu.org>
2059         Added win32 port contributed by Blake McBride
2060         <blake@florida-software.com>.
2062         * README.WIN32, win32-diffs: New files.
2063         * NEWS: Updated.
2065         * src/preproc/grn/hgraph.cc (HGSetBrush): Replace `%lf' with `%f'.
2066         (tmove, tmove2): Added parentheses to avoid compiler warnings.
2067         (change): Removed unused variables.
2069         * src/preproc/grn/main.cc (main, conv): Removed unused variables.
2070         (savebounds): Changed return value from `int' to `void'.
2071         * src/preproc/grn/hdb.cc: Ditto.
2073         * src/devices/grolbp/lbp.cc (lbp_printer::draw): Removed superfluous
2074         final backslash in comment to avoid compiler warning.
2076         * src/utils/pfbtops/pfbtops.c: Added `getopt.h'.
2078         * doc/groff.texinfo: More fixes.
2080 2000-05-11  OKAZAKI Tetsurou  <okazaki@be.to>
2082         * tmac/tmac.doc: Documentation fix.
2084 2000-05-11  Werner LEMBERG  <wl@gnu.org>
2086         * doc/groff.texinfo: Reading the source code shows up a lot of
2087         omissions and incorrect data...  More conversion to @Deffn macros.
2089 2000-05-10  Werner LEMBERG  <wl@gnu.org>
2091         * src/roff/troff/reg.cc (number_value_to_ascii): Remove ASCII
2092         dependency.
2094         * src/roff/troff/request.h: Removing unused `no_break_flag'.
2096 2000-05-09  Werner LEMBERG  <wl@gnu.org>
2098         * man/groff.man, man/roff.man, tmac/groff_tmac.man: Minor
2099         improvements.
2101         * doc/groff.texinfo: Extended history section.  More conversion to
2102         @Deffn macros.  More .tr documentation.
2104 2000-05-07  Werner LEMBERG  <wl@gnu.org>
2106         * doc/groff.texinfo: Completed tab section.  Added info about
2107         fields.
2109 2000-05-06  Mike MacIsaac  <mikemac@us.ibm.com>
2111         * PROBLEMS: Describe configure script fix for OS/390 Unix.
2113 2000-05-05  Werner LEMBERG  <wl@gnu.org>
2115         * font/devdvi/DESC.in: Change size 11pt to 10.95pt (as used in
2116         LaTeX 2e).
2117         * NEWS: Document it.
2119         * man/troff.man: Minor optical improvements.
2121 2000-05-03  Werner LEMBERG  <wl@gnu.org>
2123         Adding `dq' (PS name `quotedbl') glyph name as an alias for `"'.
2125         * font/*/*: Implement it.
2126         * man/groff_char.man, NEWS: Document it.
2128 2000-05-02  Werner LEMBERG  <wl@gnu.org>
2130         * tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @MANxEXT@
2131         expansion.
2132         * NEWS: Document the three new man pages.
2134         * aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call.
2135         * configure: Updated.
2137         * font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
2139 2000-05-01  Werner LEMBERG  <wl@gnu.org>
2141         Added grap support to grog.
2143         * src/roff/grog/grog.sh, src/roff/grog/grog.pl: Implement it.
2144         * src/roff/grog/grog.man: Document it.
2146         * doc/groff.texinfo, NEWS: Add info about grap support.
2148         Add new man pages comptributed by Bernd Warken <bwarken@mayn.de>
2149         (with slight fixes by me).
2151         * tmac/groff_tmac.man: New file documenting tmac mechanism.
2152         * tmac/Makefile.sub: Add groff_tmac.man.
2153         * man/roff.man: New file giving overview of roff system.
2154         * man/troff.man: A short reference of troff.
2155         * man/Makefile.sub: Add roff.man and troff.man.
2157 2000-04-30  Werner LEMBERG  <wl@gnu.org>
2159         Added grap support to groff.
2161         * src/roff/groff/groff.cc: Implement it.
2162         * src/roff/groff/groff.man: Document it.
2164         * src/devices/grotty/grotty.man: Add cp1047 device.
2165         * src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc:
2166         Ditto.
2167         * src/roff/groff/groff.man: Ditto.
2168         * src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto.
2169         * doc/groff.texinfo: Ditto.
2171         * tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space)
2172         for cp1047.
2174 2000-04-29  Werner LEMBERG  <wl@gnu.org>
2176         * man/groff_char.man: Add `pc' glyph.
2177         * tmac/tmac.latin1: Replacing `md' glyph with `pc'.
2178         * tmac/tmac.tty: Add `pc' glyph.
2179         * tmac/tmac.tty-char: Use/add `pc' glyph.  Don't call tmac.latin1 if
2180         we use cp1047 output device.
2182         * Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since
2183         there are still hardcoded latin1->unicode values in utf8's font
2184         definition files.
2185         * configure: Updated.
2186         * NEWS: Minor clarification.  Updated.
2188         * PROBLEMS: Formatted.  Added info about C++ fix pack for OS/390
2189         Unix.
2191 2000-04-28  Werner LEMBERG  <wl@gnu.org>
2193         Adding EBCDIC code page 1047.
2195         * font/devcp1047/R.proto, font/devcp1047/Makefile.sub,
2196         font/devcp1047/DESC.proto: New files.
2198         * aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be
2199         either ascii/latin1 or cp1047.
2200         * Makefile.in: Use it.
2201         * configure: Updated.
2203         Replacing and/or adding `md' (mathdot) glyph with `pc'
2204         (periodcentered) in all text fonts.
2206         * font/*/*: Change it.
2208 2000-04-27  Werner LEMBERG  <wl@gnu.org>
2210         * aclocal.m4 (GROFF_OS390): Fixing compiler flags.
2212         * configure.in: Add check for strings.h.
2213         * src/include/driver.h: Use HAVE_STRINGS_H.
2214         * src/devices/grolbp/lpb.cc: Remove string.h.
2216         * src/include/groff-getopt.h: New file.  It will be used instead of
2217         getopt.h (to be included in lib.h) to avoid endless problems with
2218         picky C++ compilers.
2219         * src/include/lib.h: Use groff-getopt.h.
2220         * src/include/Makefile.sub: Updated.
2222         * configure: Updated.
2223         * Makefile.in: Updated.
2225         * NEWS: Mention EBCDIC support.
2227 2000-04-26  Werner LEMBERG  <wl@gnu.org>
2229         * TODO: Some additions.
2231 2000-04-25  Werner LEMBERG  <wl@gnu.org>
2233         * src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation
2234         of mso request.
2236 2000-04-23  Werner LEMBERG  <wl@gnu.org>
2238         * src/roff/troff/troff.man: Minor fixes.
2240 2000-04-22  Werner LEMBERG  <wl@gnu.org>
2242         * src/roff/troff/troff.man, doc/groff.texinfo, NEWS: Document the
2243         `.T' string register and the incompatible definition of the `.T'
2244         number register (compared to Unix troff).
2246         * man/groff_char.man: Add some missing characters.
2247         * font/devutf8/NOTES: Update.
2249 2000-04-21  Werner LEMBERG  <wl@gnu.org>
2251         * src/include/htmlindicate.h, src/include/lib.h,
2252         src/include/posix.h: Fix copyright.
2254         * src/include/Makefile.sub: Update.
2256 2000-04-20  Werner LEMBERG  <wl@gnu.org>
2258         * src/roff/troff/input.cc (input_char_description): Removing
2259         superfluous space char.
2261         * tmac/tmac.X: Fix typo \(bq -> \(Bq.
2263         * doc/groff.texinfo: Document EBCDIC.
2265 2000-04-19  Werner LEMBERG  <wl@gnu.org>
2267         Introducing `shc' as the glyph name for the soft hyphen character.
2269         * tmac/tmac.tty, tmac/tmac.latin1, tmac/tmac.html,
2270         font/devlatin1/R.proto: Use it.
2272         * NEWS: Updated.
2274 2000-04-18  Werner LEMBERG  <wl@gnu.org>
2276         * src/devices/grops/ps.cc (ps_printer::flush_sbuf): Removing
2277         dependency on ASCII order.
2279 2000-04-16  Sandor BARANY  <S.Barany@infosys.tuwien.ac.at>
2281         * src/libs/libgroff/illegal.c: Added EBCDIC table.
2282         * src/roff/troff/input.cc: Added adaptation to EBCDIC.
2284         * src/preproc/refer/refer.cc, src/roff/troff/env.cc: Minor changes
2285         to increase portability.
2287 2000-04-15  Werner LEMBERG  <wl@gnu.org>
2289         * aclocal.m4: Added GROFF_EBCDIC and GROFF_OS390 tests.
2290         Redefined AC_OUTPUT_MAKE_DEFS to replace ASCII character `012' with
2291         the generic `\n' if under OS/390 Unix.
2293         * configure.in: Call GROFF_EBCDIC and GROFF_OS390.
2295         * configure: Regenerated.
2297 2000-04-14  Werner LEMBERG  <wl@gnu.org>
2299         * doc/groff.texinfo: More conversions to @Deffn.
2301 2000-04-12  Werner LEMBERG  <wl@gnu.org>
2303         * tmac/tmac.psfig: Fix incorrect use of `&' operator by replacing it
2304         with `:'.
2306         * src/roff/nroff/nroff.man: Add note about tmac.tty-char.
2308 2000-04-10  Werner LEMBERG  <wl@gnu.org>
2310         * doc/groff.texinfo: More conversions to @Deffn.
2312 2000-04-08  Werner LEMBERG  <wl@gnu.org>
2314         * src/libs/libgroff/{getopt.c,getopt1.c}, src/include/getopt.h:
2315         Updated to latest version (glibc 2.1.3).
2317 2000-04-07  Werner LEMBERG  <wl@gnu.org>
2319         * doc/Makefile (clean): Include more index files.
2320         Add rule texinfo->dvi.
2322 2000-04-05  Werner LEMBERG  <wl@gnu.org>
2324         * doc/groff.texinfo: Added new index `op' for operators.  More
2325         info on end of sentence characters.  More use of @Deffn.
2327 2000-03-30  Werner LEMBERG  <wl@gnu.org>
2329         * */*.man: Adding a note that a whitespace can be inserted between
2330         a command line option and its parameter -- we are using GNU getopt.
2332         * src/roff/groff/groff.man: Add example of `-m mandoc'.
2334 2000-03-28  Werner LEMBERG  <wl@gnu.org>
2336         Correct anachronism of calling the man macro file with `-man'
2337         instead of `-m man' etc.
2339         * tmac/tmac.man, tmac/tmac.mandoc, tmac/tmac.markup, tmac/tmac.mdoc,
2340         tmac/tmac.me, tmac/tmac.ms: New files tmac.m<package> which simply
2341         load tmac.<package>.
2343         * tmac/Makefile.sub: Updated.  Take care of $(tmac_an_prefix) etc.
2345         * NEWS: Updated.
2347         * doc/groff.texinfo: Updated.
2349         * tmac/groff_man.man: Copyright added.
2351 2000-03-27  Werner LEMBERG  <wl@gnu.org>
2353         * doc/groff.texinfo: Introducing macros `Deffn' and `Defmac' to
2354         typeset the request resp. escape name with a tt font -- due to a
2355         bug in texinfo.tex it is necessary to use the `-e' switch with
2356         texi2dvi.
2358         Improving info about usage of groff units.
2360         Other minor fixes.
2362 2000-03-20  Werner LEMBERG  <wl@gnu.org>
2364         * doc/groff.texinfo: Added section about man macro package
2365         (I've basically taken groff_man.man).  Introducing new indices `ma'
2366         for macros/strings and `gl' for glyph names.  Other minor fixes.
2368         * tmac/groff_man.man: Fixed some typos.
2370 2000-03-19  Werner LEMBERG  <wl@gnu.org>
2372         * doc/groff.texinfo: Removed all occurrences of `you', `we', etc.
2373         Other minor fixes.
2375         * doc/texinfo.tex: New file.
2377 2000-03-18  Werner LEMBERG  <wl@gnu.org>
2379         * doc/groff.texinfo: Improved section on number registers.  Other
2380         minor updates.
2382 2000-03-16  Werner LEMBERG  <wl@gnu.org>
2384         * src/roff/groff/groff.man: Added info about grolbp.  Make nicer
2385         synopsis.
2387         * src/devices/grolbp/grolbp.man, src/roff/nroff/nroff.man,
2388         src/devices/grolj4/grlj4.man, src/devices/grops/grops.man,
2389         src/preproc/eqn/eqn.man, src/utils/afmtodit/afmtodit.man,
2390         src/utils/tfmtodit/tfmtodit.man: Make nicer synopsis.
2392         * src/preproc/grn/grn.man: Better synopsis; added copyright.
2394         * src/roff/grog/grog.man: Updated copyright date.
2396 2000-03-14  Francisco Andres Verdu  <pandres@dragonet.es>
2398         * configure.in: Added test for strdup.
2400         * src/devices/grolbp/lbp.cc: Added a strdup() version in case none
2401         is available.
2403         Replaced dynamic allocation of arrays `[...]' with `new' operator.
2405         Other minor fixes.
2407 2000-03-12  OKAZAKI Tetsurou  <okazaki@be.to>
2409         * Makefile.comm: Add $(INCLUDES) to $(ALL_CFLAGS).
2411 2000-03-11  Werner LEMBERG  <wl@gnu.org>
2413         * src/preproc/grn/hdb.cc (DBGetType): Added return value to make
2414         compilers silent.
2415         * src/preproc/grn/hgraph.cc: Add #ifdef for hypot().
2416         * src/include/lib.h: Remove some spaces.
2418 2000-03-10  Werner LEMBERG  <wl@gnu.org>
2420         * src/libs/libgroff/tmpfile.cc (xtmptemplate, xtmpfile): Removing
2421         initializers from arguments (some compilers don't like this).
2423 2000-03-09  Gaius Mulley  <gaius@glam.ac.uk>
2425         * src/libs/libgroff/htmlindicate.cc: Added library file which is now
2426         used by pic and eqn to tell grohtml where the graphic regions start
2427         and end.
2428         * src/libs/libgroff/Makefile.sub: Use it.
2429         * src/preproc/eqn/main.cc, src/preproc/pic/troff.cc: Altered to use
2430         graphic_start() and graphic_end() from htmlindicate.cc.
2432 2000-03-09  Werner LEMBERG  <wl@gnu.org>
2434         * tmac/tmac.safer: Will now work correctly in compatibility mode.
2435         * tmac/groff_man.man: More fixes.
2437 2000-03-08  Werner LEMBERG  <wl@gnu.org>
2439         * doc/Makefile: Added texput.log to the `clean' target.
2440         * doc/groff.texinfo: Added info about delimiters for escapes.
2442 2000-03-08  Bernd Warken  <bwarken@mayn.de>
2444         * src/preproc/pic/pic.man: Add info on conversion of pic images to
2445         other graphic formats.
2447 2000-03-07  OKAZAKI Tetsurou  <okazaki@be.to>
2449         * Makefile.in, contrib/mm/Makefile.sub, src/preproc/eqn/Makefile.sub,
2450         src/roff/groff/Makefile.sub, src/roff/nroff/Makefile.sub,
2451         src/utils/afmtodit/Makefile.sub: Use $(INSTALL_SCRIPT) for script
2452         files.
2454 2000-03-07  Werner LEMBERG  <wl@gnu.org>
2456         * doc/groff.texinfo: Spelling fixes.
2458 2000-03-06  Werner LEMBERG  <wl@gnu.org>
2460         * tmac/groff_man.man: Completely revised to cover everything in
2461         tmac.an.
2463         * doc/groff.texinfo, src/roff/troff/troff.man: Document evc request.
2464         Other minor fixings.
2465         * src/roff/troff/env.cc (environment_copy): Improve error message and
2466         fix itoa->i_to_a.
2467         * src/roff/troff/TODO: Updated.
2469         * doc/Makefile: Bug fixes -- this is still provisional, though...
2471         * tmac/eqnrc: Small fixes.
2473 2000-03-05  Abramo Bagnara <abramo@alsa-project.org>
2475         Adding a request `evc' to copy environments.
2477         * src/roff/troff/env.cc (environment::copy, environment_copy):
2478         Implement it.
2479         * src/roff/troff/env.h: Add prototype.
2481 2000-03-05  Francisco Andres Verdu  <pandres@dragonet.es>
2483         Adding strsep() -- Solaris 8 doesn't have it.
2485         * configure.in: Test it.
2486         * src/devices/grolbp/lbp.cc: Add code.
2488 2000-03-05  Werner LEMBERG  <wl@gnu.org>
2490         * src/roff/troff/div.cc (macro_diversion::output,
2491         top_level_diversion::output): Fixing an incompatibility with
2492         original troff: \x'0' updates the .a register also.  Thanks to
2493         <Andries.Brouwer@cwi.nl> for pointing this out.
2494         * doc/groff.texinfo: Document it.
2496         * Makefile.in: Create Makefile.dep if necessary before calling the
2497         submake process to avoid warning about nonexistent file.
2499         * NEWS, PROJECTS: Updated.
2501 2000-03-04  Werner LEMBERG  <wl@gnu.org>
2503         * tmac/troffrc: Add tmac.lbp.
2505 2000-03-03  Francisco Andres Verdu  <pandres@dragonet.es>
2507         * tmac/tmac.lbp: New file.
2508         * src/devices/grolbp/grolbp.man: Add documentation of `lbpname'
2509         command.
2511 2000-03-03  Werner LEMBERG  <wl@gnu.org>
2513         * Makefile.in: Fixing $(subdir).
2515         * README, NEWS: Small fixes.
2517         * test-groff: Adding path to grolbp.
2519         * configure.in: The (new) file src/xditview/Imakefile.in will be
2520         also configured -- it is now possible to build gxditview in a
2521         directory different from $srcdir.
2523 2000-03-02  Blake McBride  <blake@florida-software.com>
2525         * src/libs/libgroff/searchpath.cc (open_file): Adapting to WinNT.
2527         * MORE.STUFF: Added website of bell labs and info about plot2dev.
2529 2000-03-01  Colin Phipps  <crp22@cam.ac.uk>
2531         * src/utils/indxbib/indxbib.cc (main): Use mkstemp() for temporary
2532         files.
2534 2000-02-29  Werner LEMBERG  <wl@gnu.org>
2536         Adding GNU getopt to the groff distribution.
2538         * src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
2539         New files.
2540         * src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
2541         * aclocal.a4: Remove GROFF_GETOPT function.
2542         * configure.in, Makefile.in, PROBLEMS: Update.
2543         * src/include/lib.h: Replace getopt tests with getopt.h.
2544         * src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.
2546         * doc/groff.texinfo: Further checking/updating.  Adding more index
2547         entries.
2549         * man/groff_out.man: Fix nroff mode activation (for emacs).
2550         * man/groff_font.man: Add missing ligature.
2552 2000-02-28  Werner LEMBERG  <wl@gnu.org>
2554         * doc/groff.texinfo: Further checking/updating.  Adding more index
2555         entries.
2557         * src/devices/grolbp/grolbp.man: Added a comment line at the
2558         beginning of the file (similar to shell scripts) which indicates
2559         that `tbl' should be used as a preprocessor.
2561 2000-02-27  Blake McBride  <blake@florida-software.com>
2563         Adapting groff to MS Visual C++ 6.0 compiler (tested with
2564         Windows NT 4.0).  Uses _MSC_VER define where necessary.
2566         * src/devices/grodvi/dvi.cc: Making stdout a binary stream.
2567         * src/devices/grolj4/lj4.cc: Making getopt variables `extern "C"'.
2568         * src/devices/grohtml/html.cc, src/devices/grops/ps.cc,
2569         src/include/lib.h, src/libs/libgroff/errarg.cc,
2570         src/libs/libgroff/itoa.c, src/libs/libgroff/nametoindex.cc,
2571         src/preproc/refer/label.y, src/preproc/refer/label.cc,
2572         src/roff/groff/pipeline.c, src/roff/troff/column.cc,
2573         src/roff/troff/div.cc, src/roff/troff/env.cc,
2574         src/roff/troff/input.cc, src/roff/troff/node.cc,
2575         src/roff/troff/reg.cc: Renaming itoa() to i_to_a() and iftoa() to
2576         if_to_a() to avoid name clashes.
2577         * src/include/posix.h: Don't use unistd.h.
2578         * src/libs/libgroff/tmpfile.cc: Use `#ifndef...#else...#endif'
2579         clause for integrating non-Unix xtmpfile() code.
2580         * src/roff/troff/input.cc: Adding `public' keyword to macro_header
2581         structure; use "rt" for popen() in pipe_source(); add getpid()
2582         dummy function.
2583         * src/roff/troff/node.cc: Use special versions of popen() in
2584         real_output_file() and pclose() in ~real_output_file().
2586 2000-02-27  Werner LEMBERG  <wl@gnu.org>
2588         Adding a new driver, grolbp, for Canon CAPSL printers (LBP-4 and
2589         LBP-8 series laser printers).  This code has been contributed by
2590         Francisco Andres Verdu <pandres@dragonet.es>.
2592         * src/devices/grolbp/*: The grolbp output device.
2593         * font/devlpb/*: The font description files.
2594         * Makefile.in: Add grolpb and devlbp subdirectories.
2596         * src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
2597         src/devices/grotty/grotty.man,src/roff/troff/troff.man: Minor
2598         typographic fixes.
2600         * doc/groff.texinfo: Further checking/updating.  Adding more index
2601         entries.
2603         * NEWS: Updated.
2605         * src/devices/grolbp/Makefile.sub: Adding $(srcdir).
2607         * man/groff_font.man: Adding info about obsolete DESC keywords.
2608         * src/devices/grolj4/grolj4.man: Documenting additional DESC
2609         keywords.
2611 2000-02-26  Werner LEMBERG  <wl@gnu.org>
2613         * src/preproc/grn/grn.man: Added info about the gremlin file format
2614         (contributed by Daniel Senderowicz <daniel@synchrods.com>).
2616 2000-02-25  Werner LEMBERG  <wl@gnu.org>
2618         * src/preproc/grn/main.cc: Allow values of `narrow' parameter and
2619         friends to be non-integer.
2621         * src/preproc/grn/grn.man: Document it.
2623         * doc/groff.texinfo: Further checking/updating.  Adding more index
2624         entries.
2626 2000-02-24  Werner LEMBERG  <wl@gnu.org>
2628         * src/preproc/grn/main.cc: Introduce BASE_THICKNESS, defining
2629         line thicknesses to be integer multiples of this value.
2631         * src/preproc/grn/grn.man: Commenting out the -s option -- the
2632         corresponding code doesn't work (yet).
2634         * doc/groff.texinfo: Further checking/updating.  Adding more index
2635         entries.
2637 2000-02-23  Werner LEMBERG  <wl@gnu.org>
2639         * src/preproc/grn/{main.cc, hgraph.cc}: Using point units to
2640         specify line thickness instead of base units.  The new default
2641         values are now 0.15,pt 0.45pt, and 0.75pt for thin, middle, and
2642         thick lines respectively.
2644         Removed unused variable `prevval'.
2646         * src/preproc/grn/grn.man: Updated.
2648 2000-02-22  Werner LEMBERG  <wl@gnu.org>
2650         * src/preproc/grn/main.cc: Slight formatting.
2652         * src/roff/groff/groff.man: Formatting fix.
2653         * src/preproc/grn/grn.man: Ditto.
2655         * src/roff/grog/grog.pl: Fixing two embarassing bugs.
2657         * doc/groff.texinfo: Further checking/updating.
2659 2000-02-21  Werner LEMBERG  <wl@gnu.org>
2661         * README, INSTALL, PROJECT, PROBLEMS, BUGREPORT: Updated.
2663         * test-groff: Added grn subdir to path.
2665         * doc/groff.texinfo: Some restructing and other small improvements.
2667         * src/roff/groff/groff.cc (help): Fixed info string.
2669 2000-02-20  Werner LEMBERG  <wl@gnu.org>
2671         * doc/meref.me: Fix description of .GS request.
2673         * src/roff/troff/troff.man: Fixing typo.
2675         Adding the `grn' preprocessor for gremlin graphic files.
2677         * src/preproc/grn/*: This is the Berkeley distribution written by
2678         David Slattengren and Barry Roitblat, adapted to groff by Daniel
2679         Senderowicz and Werner Lemberg.
2681         * doc/grnexampl.{me,g}: A sample for grn.
2683         * Makefile.in: Added subdirectory entry for grn.
2685         * src/roff/groff/groff.cc: Added support for grn.  It can be now
2686         called with the switch `-g'.
2688         * src/roff/groff/groff.man: Updated.
2690         * src/roff/grog/grog.{man,pl,sh}: Updated.
2692         * NEWS: Updated.
2694 2000-02-11  Gaius Mulley  <gaius@glam.ac.uk>
2696         * src/include/lib.h: Added xtmptemplate and made xtmpfile
2697         parametrically polymorphic.
2699         * src/libs/libgroff/tmpfile.cc: Implemented xtmptemplate
2700         and the alterations to xtmpfile.
2701         xtmpfile can be requested to return the filename created
2702         and asked not to unlink the temp file.  The default behaviour
2703         if parameters are absent is exactly the same as before.
2705 2000-02-11  Abramo Bagnara  <abramo@alsa-project.org>
2707         A new request `length' is available which returns the length of a
2708         string in a number register:
2710         * src/roff/troff/input.cc (length_macro): Implement it.
2711         * src/roff/troff/input.cc (init_input_requests): Register it.
2713 2000-02-11  Werner LEMBERG  <wl@gnu.org>
2715         * doc/groff.texinfo, src/roff/troff/troff.man: Add documentation
2716         of the `substring' request.
2718         * src/roff/troff/troff.man, doc/groff.texinfo: Document `length'
2719         request.
2721         * src/roff/troff/TODO, NEWS: Updated.
2723 2000-02-09  Werner LEMBERG  <wl@gnu.org>
2725         * src/roff/groff/groff.man: Added an example.
2727 2000-02-06  Werner LEMBERG  <wl@gnu.org>
2729         I've considerably modified the directory structure of the
2730         distribution to get a more vertical layout.  For example, the number
2731         of top level directories has been reduced from 42 to 6.
2733         As a consequence, many changes, especially to the makefiles, were
2734         necessary:
2736         * The makefile variables `top_builddir' and `top_srcdir' have been
2737         introduced.  Virtually all relative paths have been replaced with
2738         absolute ones using these two variables.
2740         * Dependencies (in the files `Makefile.dep') are no longer part of
2741         the distribution.  Instead, they are created during a `make install'
2742         in the build directory.
2744         * aclocal.m4 (GROFF_SRCDIR, GROFF_BUILDDIR): Two new functions to
2745         make `top_srcdir' and `top_builddir' absolute.
2747         Some other changes:
2749         * Man pages no depend on the files `VERSION' and `REVISION'.
2751         * The added shell script `mkinstalldirs' will replace `mkdir' in
2752         almost all cases.
2754         * VERSION: Version number increased to 1.16.
2756 2000-02-04  Werner LEMBERG  <wl@gnu.org>
2758         * grops/psrm.cc (read_one_of): Fixed pointer incrementation.
2760         * Makefile.in: Removed $(tmac_m) since it is no longer needed
2761         (after an update of the mm stuff).
2763         * troff/Makefile.sub (majorminor.cc): Fix dependencies.
2765 2000-02-03  Werner LEMBERG  <wl@gnu.org>
2767         The .psbb request will now also accept Mac PS images (i.e. using LF
2768         as the EOL character).
2770         * troff/input.cc (ps_get_line): New function, taken from psrm.cc
2771         (with slight modifications).
2772         * troff/input.cc (do_ps_file): Use it.
2774         * test-groff: Add grohtml and grolj4 output devices to PATH.
2776 2000-01-30  Werner LEMBERG  <wl@gnu.org>
2778         * NEWS, MORE.STUFF: Updated.
2780 2000-01-30  Cary D. Renzema  <caryr@dollar.mxim.com>
2782         Add the `srand' command to pic.
2784         * pic/lex.cc, pic/pic.y: Implement it.
2785         * pic/pic.man: Document it.
2786         * pic/pic.cc, pic/pic.tab.h: Regenerated (with yacc).
2788 2000-01-30  Werner LEMBERG  <wl@gnu.org>
2790         Add a new request `.psbb'.  This does exactly what the external
2791         program psbb did.  It scans a PostScript image file for a
2792         %%BoundingBox comment and extracts the bounding box values (in
2793         PostScript units) which are then stored in the four new (read-only)
2794         number registers `llx', `lly', `urx', and `ury'.
2796         This will allow the usage of the .PSPIC macro without worrying
2797         about unsafe behaviour of groff, i.e., it will work without the
2798         `-U' switch of groff.
2800         * troff/input.cc: Implement it.
2801         * tmac/tmac.pspic: Use it.
2802         * troff/troff.man, grops/grops.man, NEWS: Document it.
2803         * psbb/*, Makefile.in: Remove it since it is no longer needed.
2805         This is bloody C code simply adapted from psbb.c!  Any improvements
2806         welcome.
2808 2000-01-29  Werner LEMBERG  <wl@gnu.org>
2810         * man/groff_font.man: Minor clarifications.
2812         * NEWS: Updated.
2814 2000-01-28  Werner LEMBERG  <wl@gnu.org>
2816         * afmtodit/afmtodit.pl: Use new `--' comment delimiter.
2818 2000-01-28  Gaius Mulley  <gaius@glam.ac.uk>
2820         * man/groff_font.man: Brought up to date regarding tcommand
2821         extensions.
2822         * libgroff/font.cc: Handle everything after `--' as a comment
2823         in the font files.
2824         * devps/*: Added comment delimiter inside devps font files.
2826 2000-01-28  Werner LEMBERG  <wl@gnu.org>
2828         * tmac/tmac.arkup, tmac/groff_markup.man: Replace \fC...\fR with
2829         \fC...\fP (which now works as expected).
2831         * troff/troff.man: Fix typo.
2833 2000-01-27  Gaius Mulley  <gaius@glam.ac.uk>
2835         Completed the pass_filenames implementation in troff.
2837         * libdriver/input.cc: Will read the new `F' tcommand.
2838         * troff/node.cc, troff/node.h: Will issue the new `F' tcommand.
2839         * troff/input.cc: Use it.
2841 2000-01-26  Werner LEMBERG  <wl@gnu.org>
2843         * troff/env.cc (set_font): Fix the behaviour of \fP.  The previous
2844         font will now be updated even if an invalid font is selected.
2846 2000-01-24  Werner LEMBERG  <wl@gnu.org>
2848         * doc/homepage.ms: Updated for new tmac.arkup.
2850         * tmac/tmac.html: Disable line breaks after hyphen-like characters.
2852         * tmac/tmac.arkup: Cleanup.
2854         Added `\&' to .HTML macro to `leave vertical mode', so to say.
2856         Removed obsolete .LINK macro completely.
2858         The macros .URL, .FTP, and .MAILTO now accept a third argument which
2859         will be immediately appended to the second argument (to be used with
2860         punctuation, for example).
2862         Disabled .CDFTP macro temporarily for security reasons.
2864         * tmac/groff_markup.man: Complete revision for latest changes in
2865         tmac.arkup -- note that it does not yet format correctly with
2866         grohtml :-(
2868 2000-01-23  Bruno Haible  <haible@clisp.cons.org>
2870         * nroff/nroff.sh: Accept -Tutf8 option and pass it through.
2871         * devutf8/R.proto: Add mappings for wp, lh, rh.
2872         * devutf8/NOTES: Updated.
2874 2000-01-23  Werner LEMBERG  <wl@gnu.org>
2876         * doc/groff.texinfo: Updated version/copyright info.
2878 2000-01-21  Gaius Mulley  <gaius@glam.ac.uk>
2880         Added support for two new directives in device descriptions:
2881         `pass_filenames' (to pass the input file name to the output device)
2882         and `use_charnames_in_special' (to support e.g. accented characters
2883         in the `X' request).
2885         * include/font.h, troff/charinfo.h: Declare it.
2887         * libgroff/font.cc, libgroff/fontfile.cc: Set it.
2889         * devhtml/DESC: Use it.
2891         * troff/input.cc: New function encoded_char.
2893         * troff/token.h: Add test for `specialness'.
2895 2000-01-21  Werner LEMBERG  <wl@gnu.org>
2897         * tmac/Makefile.sub: tmac.a4 and tmac.trace have been removed by
2898         mistake from the list of files to be installed.
2900 2000-01-18  Werner LEMBERG  <wl@gnu.org>
2902         * README: Added info how to apply patches.
2904 2000-01-15  Jan Echternach  <echter@informatik.uni-rostock.de>
2906         * troff/node.cc (ligature_note::operator delete):  Fix g++ warning.
2908 2000-01-15  Gaius Mulley  <gaius@glam.ac.uk>
2910         * troff/input.cc: Add support for troffrc-end.
2912         * tbl/main.cc: Altered to issue table-start and table-end special
2913         characters if using the html device.
2915         * devhtml/*: Modified font files to incorporate html encoding of
2916         characters.
2918         * tmac/groff_markup.man: New file documenting tmac.arkup.
2920         * tmac/troffrc-end: New file.  This is invoked after all user
2921         specified macros.  Currently used by the html device to include
2922         tmac.html.  Thus no need for users to specify -mhtml anymore.
2924         * tmac/Makefile.sub (NORMALFILES): Add troffrc-end.
2925         (MAN7): Add groff_markup.man.
2927         * tmac/tmac.an, tmac/tmac.html: Small html updates.
2929         * tmac/troffrc: tmac.arkup will now be called for the html device.
2931         * libgroff/font.cc, libgroff/font.h: Altered to include reading of
2932         extra device specific information about fonts.
2934         * doc/homepage.ms: New file.  It is an example how an HTML home page
2935         could look like with grohtml.
2937         * doc/Makefile: Add homepage.ms.  Remove rule for pic.html.
2939 2000-01-12  Bruno Haible  <haible@clisp.cons.org>
2941         * devutf8/R.proto: Add mappings for ti, Fn, st, an.  Change mappings
2942         of Im, Re.
2944         * devutf8/NOTES: Updated.
2946 2000-01-08  Bruno Haible  <haible@clisp.cons.org>
2948         * eqn/box.cc, eqn/lex.cc, eqn/other.cc, eqn/over.cc, eqn/special.cc,
2949         eqn/text.cc, grodvi/dvi.cc, grops/ps.cc, grops/psrm.cc,
2950         libbib/index.cc, libbib/linear.cc, libbib/search.cc,
2951         libdriver/printer.cc, libgroff/font.cc, libgroff/string.cc,
2952         pic/lex.cc, pic/object.cc, refer/label.y, refer/ref.cc, tbl/main.cc,
2953         tbl/table.cc, tfmtodit/tfmtodit.cc, troff/dictionary.cc,
2954         troff/div.cc, troff/env.cc, troff/input.cc, troff/node.cc,
2955         troff/node.h, troff/reg.cc: Avoid most "g++ -Wall -Wno-sign-compare"
2956         warnings.
2958         * troff/node.cc (bracket_node::copy): Initialize last to NULL.
2960 2000-01-12  Fabrizio Polacco  <fab@prosa.it>
2962         grolj4: Paper size will be searched case-insensitively.
2964         * include/lib.h: Add check for strcasecmp().
2965         * grolj4/li4.cc (lookup_paper_size): Use strcasecmp().
2966         * configure.in: Check for strcasecmp().
2968 2000-01-11  Werner LEMBERG  <wl@gnu.org>
2970         * troff/Makefile.sub (majorminor.cc): Fix incorrect path to
2971         `REVISION'.
2973 2000-01-10  Werner LEMBERG  <wl@gnu.org>
2975         * Makefile.comm, Makefile.in, doc/Makefile: More fixes for the
2976         revision scheme.
2978         Add a new read-only register, `.Y', which contains the groff
2979         revision.
2981         * troff/input.cc (init_input_requests): Define it.
2982         * troff/Makefile.sub (majorminor.cc): Define `revision' string.
2983         * doc/groff.texinfo, troff/troff.man: Document it.
2985         * libgroff/Makefile.sub (version.cc): Add definition of
2986         `Version_string[]', consisting of `<major>.<minor>.<revision>'
2987         * eqn/main.cc, grodvi/dvi.cc, grolj4/lj4.cc, grops/ps.cc,
2988         grotty/tty.cc, hpftodit/hpftodit.cc, indxbib/indxbib.cc, pic/main.cc,
2989         refer/refer.cc, soelim/soelim.cc, tbl/main.cc, tfmtodit/tfmtodit.cc,
2990         troff/input.cc, pfbtops/pfbtops.c: Use it.
2992 2000-01-10  Fabrizio Polacco  <fab@prosa.it>
2994         Add a revision scheme to the groff package.
2996         * REVISION: New file.
2997         * libgroff/Makefile.sub (version.cc): Use it to define
2998         `revision_string[]'.
2999         * grops/psrm.cc: Use revision_string (converted to an unsigned
3000         integer) in constructor of resource_manager.
3002 2000-01-10  Bruno Haible  <haible@clisp.cons.org>
3004         * devutf8/Makefile.sub, devutf8/DESC.proto, devutf8/R.proto: New
3005         files.
3006         * Makefile.in (DEVDIRS): Add devutf8.
3007         * grotty/tty.cc: Include device.h.
3008         (glyph): Change type of `code' to `unsigned int'.
3009         (tty_printer): New field is_utf8.  Constructor takes device argument.
3010         (tty_printer::tty_printer): If device if `utf8', set is_utf8.
3011         (tty_printer::add_char): Change type of first arg to `unsigned int'.
3012         (tty_printer::put_char): New function.
3013         (tty_printer::end_page): Use put_char() instead of ::putchar().
3014         (make_printer): Pass device to tty_printer constructor.
3015         * nroff.sh: Determine default device by calling 'locale'.  As a
3016         fallback, look at all of $LC_ALL, $LC_CTYPE, $LANG, $LESSCHARSET.
3017         Recognize UTF-8 locales.
3018         * tmac/eqnrc: Recognize utf8 like latin1.
3019         * tmac/troffrc: Device utf8 needs tmac.tty.
3021 2000-01-07  Werner LEMBERG  <wl@gnu.org>
3023         * tmac/Makefile.sub: tmac.a4 and tmac.trace will now be installed.
3025 2000-01-07  Paul Eggert  <eggert@twinsun.com>
3027         Add a new predefined writeable number register, `year',
3028         which contains the current year.
3030         * doc/groff.texinfo, PROBLEMS, troff/troff.man: Document it.
3031         * tmac/tmac.s: Use it.
3032         * troff/input.cc (init_registers): Initialize it.
3034 2000-01-06  Werner LEMBERG  <wl@gnu.org>
3036         * PROBLEMS: Fixed typo.
3038 2000-01-04  Paul Eggert  <eggert@twinsun.com>
3040         * PROBLEMS: Add Y2k advice for the yr number register.
3042 2000-01-03  Paul Eggert  <eggert@twinsun.com>
3044         * doc/groff.texinfo: Fix Y2k bug in documentation of \n(yr.
3046 2000-01-02  Werner LEMBERG  <wl@gnu.org>
3048         * tmac/tmac.arkup: Slight modification of macros to provide better
3049         appearance for non-HTML formats.
3051 2000-01-01  Charles Levert  <charles@comm.polymtl.ca>
3053         * soelim/soelim.cc (include_path_append): realloc(NULL, n)
3054         does not automatically translate to malloc(n) on all OSes
3055         (e.g., SunOS) so do it explicitly.  Also, check the returned
3056         value.
3058 2000-01-01  Werner LEMBERG  <wl@gnu.org>
3060         * tmac/tmac.arkup: Added .LINE macro.  Some formatting.
3062         * Makefile.in: Added $(tmac_m) again since the Makefile in `mm'
3063         expects this variable
3065 2000-01-01  Gaius Mulley <gaius@glam.ac.uk>
3067         * doc/Makefile: Added instructions to create HTML and text
3068         versions of some files.
3070 1999-12-31  Werner LEMBERG  <wl@gnu.org>
3072         * Updated INSTALL.gen.
3074         * tmac/tmac.arkup: Added fixes so that .FTP and .MAILTO works
3075         better resp. correctly with non-HTML devices.
3077 Version 1.15 released
3078 =====================
3080 1999-12-28  Werner LEMBERG  <wl@gnu.org>
3082         * NEWS, VERSION: Changed to 1.15
3084 1999-12-27  Paul Eggert  <eggert@twinsun.com>
3086         * nroff/nroff.man: -S is safer, not safe.
3088         * groff/groff.cc (main): Use `safer', not `safe', in variable
3089         names.  This does not change the behavior.
3091         * troff/input.cc (main): Likewise.
3093         * nroff/nroff.sh: Likewise.
3095         * troff/input.cc (prepend_string): New function.
3096         (main): Prepend -msafer, so that we check macro libraries for
3097         safety.
3099         * PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.
3101 Version 1.14 released
3102 =====================
3104 1999-12-26  Werner LEMBERG  <wl@gnu.org>
3106         * NEWS, VERSION: Changed to 1.14.
3108 1999-12-24  Werner LEMBERG  <wl@gnu.org>
3110         * refer/refer.cc: Fixing the last fix.
3112 Version 1.13 released
3113 =====================
3115 1999-12-23  Werner LEMBERG  <wl@gnu.org>
3117         * tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
3118         number disappear.
3120         * NEWS: Updated.
3122         * tmac/tmac.safer: Forgot to remove `so' from the `rm' request.
3124         * VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
3125         document conventions, the version number must be a real.
3127 Version 1.12.1 released
3128 =======================
3130 1999-12-22  Werner LEMBERG  <wl@gnu.org>
3132         * VERSION: Changed to 1.12.1.
3134 1999-12-22  Alan Rooks  <arooks@istar.ca>
3136         * refer/refer.cc (do_file): Slight modification to satisfy the
3137         `Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
3138         UnixWare 7.1.
3140 1999-12-20  Werner LEMBERG  <wl@gnu.org>
3142         * changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
3143         notices.
3145         * tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
3146         list of unsafe requests.
3148         * pic/pic.man: Fixed a typo.
3150         * man/groff_out.man: Fixed a typo.
3152 1999-12-18  Werner LEMBERG  <wl@gnu.org>
3154         * Makefile.in: Doc fixes.
3156 1999-12-17  Fabrizio Polacco  <fab@prosa.it>
3158         * groff/groff.cc: Missing `U' option added to getopt().
3160         * troff/troff.man: Missing `U' option added to synopsis.
3162 Version 1.12 released
3163 =====================
3165 1999-12-14  Werner LEMBERG  <wl@gnu.org>
3167         * troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
3168         to the synopsis.
3170         * nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
3171         with the more appropriate terms `safer' and `unsafe'.
3173         * libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
3174         sys_nerr and sys_errlist[].
3176         * pic/pic.h, aclocal.m4, configure.in: Added check for hypot().
3178         * pic/pic.y, pic/pic.cc: Added check for fmod().
3180 1999-12-13  Werner LEMBERG  <wl@gnu.org>
3182         * VERSION: Changed to 1.12.
3184         Here some patches from various sources; most of them taken from
3185         the Debian distribution.
3187         * tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
3188         tmac/Makefile.sub: New files copied directly from the NetBSD
3189         distribution.  Probably, some additional adaptation later on is
3190         necessary...
3192         * tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
3193         of unsafe requests.
3195         * groff/groff.cc, groff/groff.man, nroff/nroff.sh,
3196         nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
3197         troff/troff.man: Added option `-U' for unsafe mode.  Safe mode
3198         (`-S') is now the default.
3200         * README, NEWS: Updated.
3202 1999-12-09  Werner LEMBERG  <wl@gnu.org>
3204         * doc/groff.texinfo: Regenerated nodes and menus with emacs.
3206         * doc/Makefile (clean): Added cleaning commands for groff.texinfo.
3208 1999-12-06  Werner LEMBERG  <wl@gnu.org>
3210         * configure.in: Removed AC_PREFIX_PROGRAM since it causes more
3211         grief than relief today.  Additionally, it is against the GNU
3212         coding standards.
3214         * configure: Recreated.
3216 1999-12-05  Werner LEMBERG  <wl@gnu.org>
3218         * configure.in: Added GROFF_LIBM.
3220         * configure: Recreated.
3222         * aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
3223         necessary.
3225         * Makefile.in: Added definition of $(LIBM).
3227         * Makefile.comm (LIBM): Removed.
3229         * pfbtops/Makefile.sub: On AIX, -lm is needed also.
3231 1999-12-03  Gaius Mulley <gaius@glam.ac.uk>
3233         * doc/Makefile: Added rule for generation pic.html.
3235         (clean): Files produced by grohtml will be removed also.
3237         * doc/pic.ms: Small fix.
3239         * tmac/tmac.html: Fixed suppression of headers.
3241 1999-11-16  Gaius Mulley <gaius@glam.ac.uk>
3243         * tmac/tmac.html: Fixing horizontal arrows.
3245         Turning off hyphenation.
3247         * tmac/tmac.an: Improved support for grohtml; better indentation,
3248         no footers/headers.
3250 1999-10-31  Gaius Mulley <gaius@glam.ac.uk>
3252         * tmac/tmac.arkup: Added CDFTP macro
3254         * tmac/tmac.html: All headers are turned off for ms, me, and mm
3255         macros.
3257         * tmac/troffrc: Some additions for HTML stuff.
3259 1999-10-06  Gaius Mulley <gaius@glam.ac.uk>
3261         * tmac/tmac.html: Small changes.
3263 1999-09-26  Werner LEMBERG  <wl@gnu.org>
3265         * doc/groff.texinfo: Minor fixes.
3267 1999-09-26  Gaius Mulley <gaius@glam.ac.uk>
3269         * devhtml/TR: Changed spacewidth to 3.
3271         * tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.
3273         * tmac/tmac.html: Moved markup macros to tmap.arkup.
3275         * tmac/tmac.arkup: New file.
3277         * grohtml/ChangeLog: New file.
3279 1999-09-16  Werner LEMBERG  <wl@gnu.org>
3281         * doc/groff.texinfo (Common Features): Added Copying chapter.
3282         Changed format to @smallbook.
3284 1999-09-15  Werner LEMBERG  <wl@gnu.org>
3286         * NEWS: Added info about groff.texinfo.
3288         * doc/groff.texinfo: Will now compile (using texi2dvi) without
3289         warning messages.
3291 1999-09-14  Werner LEMBERG  <wl@gnu.org>
3293         * groff/groff.man: More updates.
3295 1999-09-13  Werner LEMBERG  <wl@gnu.org>
3297         * doc/groff.texinfo: New file.  This manual is still very
3298         rudimentary.  It has been originally contributed by Trent
3299         A. Fisher <trent@gnurd.portland.or.us> with first corrections and
3300         additions by me.
3302         * INSTALL: Added information about the `doc' subdir
3304         * troff/troff.man: Minor fixes.
3306         * groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
3307         reordered options.
3309         * troff/input.cc (usage): Added missing `-ffam' to usage message.
3311         * Makefile.in (dist): groff-$(version).tar.gz must be removed
3312         also, otherwise it is included itself in another call of `make
3313         dist'.
3315         * groff/groff.cc (synopsis): Removed superfluous space.
3317         * PROJECTS, PROBLEMS, NEWS: Updated.
3319         * VERSION: Updated to 1.12beta.
3321         * BUG-REPORT: Some cosmetic fixes.  Corrected email address.
3323         * README: Updated: Included documentation about CVS repository,
3324         mailing lists, and daily snapshots.
3326         * tmac/Makefile.sub: Fixed $(tmap_wrap) finally.
3328 1999-09-12  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
3330         * tmac/tmac.an: If the tag didn't fit into the space that the
3331         macro `TP' specifies, the rest of the tag went into the space for
3332         the next line.
3334 1999-09-12  Jeffrey Copeland  <jeff@opennt.com> 
3336         * grolj4/lj4.cc: Added duplex printing (option `-d').
3338         * grolj4/grolj4.man: Document duplex printing.
3340 1999-09-12  Werner LEMBERG  <wl@gnu.org>
3342         * doc/Makefile (pic.ps): Fixed rule which caused problems with
3343         non-GNUish sed programs.
3345         * tmac/doc-syms: Removed extra space from -iso8802-3 macro
3346         definition.
3348         * configure.in (LIBS): Added `-lc'
3350         * Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.
3352         * pic/tex.cc (solid_arc): Casting M_PI to double.
3354         * libgroff/putenv.c (putenv): Changed function header to ANSI C.
3356         * groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
3357         (new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
3358         file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.
3360         * groff/groff_man.man: New file.  This manual page was originally
3361         written for the Debian GNU/Linux system by Susan G. Kleinmann
3362         <sgk@debian.org>.
3364         * eqn/list.cc (list_box::compute_metrics,
3365         list_box::compute_sublist_width): Removed variable declaration to
3366         avoid shadowing warnings.
3368         * grops/psrm.cc (resource_manager::process_file): Ditto.
3370         * tfmtodit/tfmtodit.cc (main): Ditto.
3372         * libgroff/font.cc (font::load_desc): Renamed auxiliary variable
3373         to avoid shadowing warnings.
3375         * tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
3376         shadowing loop variable.
3378         * groff/groff.man, troff/troff.man: Added doc about grohtml.
3380 1999-09-12  Gaius Mulley  <gaius@glam.ac.uk>
3382         New grohtml frontend to convert groff input to html.
3384         * Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.
3386         * tmac/Makefile.sub (NORMALFILES): Added tmac.html.
3388         * tmac/eqnrc: Added html device.
3390         * tmac/tmac.html: New file.
3392         * eqn/main.cc (do_file, inline_equation), pic/troff.cc
3393         (troff_output::start_picture, troff_output::finish_picture),
3394         tbl/main.cc (process_input_file):
3395         Surrounded output with `graphics_start' and `graphics_end' so that
3396         the html driver can identify non-text portions.
3398         * grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
3399         (lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
3400         grotty/tty.ps (tty_printer::set_char): Additional parameter
3401         `name'.
3403         * include/printer.h: Class printer: New function
3404         set_char_and_width; new variables (is_char_named, is_named_set,
3405         named_command, named_char_s, named_char_n) to hold information
3406         about named characters -- needed by the html driver.
3408         * libdriver/printer.cc (printer::set_ascii_char,
3409         printer::set_special_char): Use set_char_and_width.
3411         * devhtml/*: New device files for html driver.
3413         * grohtml/*: New driver grohtml.
3415 1999-09-11  Wilfredo Sanchez  <wsanchez@apple.com>
3417         * tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
3418         default strings.
3420 1999-09-11  Luke Mewburn  <lukem@netbsd.org>
3422         * libgroff/string.cc (search): Small fix to test against NULL
3423         pointer.
3425 1999-09-11  Jeff Conrad  <jeff_conrad@msn.com>
3427         * troff/node.cc (copy): The characters in a bracket escape (e.g.,
3428         \b'abc') were stacked in reverse order when processed in a
3429         diversion.
3431         * troff/node.h: Added `*last' to struct `node' to make the above
3432         fix work.
3434         * troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
3435         The default scale for the 'f' and 't' graphics functions were 'm'
3436         rather than 'u' (i.e., no scaling).
3438 1999-09-11  Peter Miller  <peterm@jna.com.au>
3440         * groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
3441         do_file), soelim/soelim.man: Added `-I file' option to soelim,
3442         defining include paths.
3444         * soelim/soelim.cc (include_path_append): New function.
3446 1999-09-11  Larry Jones  <larry.jones@sdrc.com>
3448         * tbl/main.cc (process_options): Unix (at least Documenter's
3449         Workbench) tbl allows arbitrary non-alpha characters between
3450         options.
3452 1999-09-11  Paul Eggert  <eggert@twinsun.com>
3454         Y2k fixes.  Don't assume that the current year precedes 2000.
3456         * doc/meref.me: Add \n(y2, \n(y4.
3458         * tmac/doc-common (Yr): New number register.
3459         (Dd): Don't assume current year precedes 2000.
3461         * tmac/tmac.e (td): Likewise.
3462         (y2, y4): New number registers.
3464         * pic/pic.man: Update reference for pic paper to May, 1991
3465         version.
3467 1999-09-11  Werner LEMBERG  <wl@gnu.org>
3469         * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
3470         Removed quotation marks which prevented correct expansion of
3471         $(tmac_wrap).
3473         * devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).
3475 1999-09-10  Werner LEMBERG  <wl@gnu.org>
3477         * Makefile.sub (DISTCLEANFILES): Added `config.log' and
3478         `config.cache'.
3480         * Removed configure.old.
3482 1999-08-31  Werner LEMBERG  <wl@gnu.org>
3484         * VERSION: Updated to 1.11.1
3486 1999-05-27  Werner LEMBERG  <wl@gnu.org>
3488         * doc/Makefile: changed `.PS' postfix to `.ps' for consistency.
3490         * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
3491         added quotations around $(tmac_wrap) to avoid syntax error if
3492         variable is empty.
3494         * configure: Newly generated using autoconf 2.13.
3496         * Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.
3498 Fri Aug 15 08:51:47 1997  Eric S. Raymond  <esr@snark.thyrsus.com>
3500         * README, PROJECTS, NEWS, INSTALL, VERSION, 
3501         doc/Makefile. doc/pic.ms, groff/groff.man:
3502         Prepare for 1.11 release.  No code changes.
3503         Documentation for pic added (doc/pic.ms).
3505 Sun Nov 26 11:45:13 1995  James Clark  <jjc@jclark.com>
3507         * Version 1.10 released.
3509 Fri Nov 24 09:56:16 1995  James Clark  <jjc@jclark.com>
3511         * afmtodit/afmtodit.pl: Avoid comment on first line.
3513 Mon Nov 20 11:13:49 1995  James Clark  <jjc@jclark.com>
3515         * aclocal.m4 (GROFF_INSTALL_SH): New macro.
3516         * configure.in: Call it.
3518         * Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
3519         (distfiles): Doesn't depend on config.log or config.cache.
3521 Sun Oct  1 08:45:36 1995  James Clark  <jjc@jclark.com>
3523         * grog/grog.sh: Use print "" rather than print in END rule.
3525 Wed Aug 23 13:30:52 1995  James Clark  <jjc@jclark.com>
3527         * tbl/main.cc (process_data): Don't give error for excess data
3528         entries that are comments.
3530 Fri Jul 28 11:00:27 1995  James Clark  <jjc@jclark.com>
3532         * tbl/main.cc (process_data): Fix case where new for-scope rules
3533         silently change meaning of code.
3535 Tue Jul  4 23:39:51 1995  James Clark  <jjc@jclark.com>
3537         * troff/env.cc (hyphenate): Loop over all consecutive sequences
3538         of non-zero hyphenation codes.
3540 Sat Jul  1 00:42:15 1995  James Clark  <jjc@jclark.com>
3542         * aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.
3544 Thu Jun 29 13:58:36 1995  James Clark  <jjc@jclark.com>
3546         * tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.
3548 Tue Jun 27 12:30:16 1995  James Clark  <jjc@jclark.com>
3550         * tmac/tmac.andoc: Make it work in compatibility mode.
3552         * refer/token.h (token_info::is_range_sep): New function.
3553         * refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
3554         * refer/ref.cc (reference::output): More sophisticated check for
3555         multiple pages.
3557         * devps/prologue.ps (MANUAL): New procedure.
3558         * grops/ps.cc (main): New -m option.
3559         (usage): Include -m.
3560         (ps_printer::~ps_printer): Implement -m.
3562         * aclocal.m4 (GROFF_G): New macro.
3563         * configure.in: Call it.
3564         * Makefile.in (g): Provided by configure.
3566         * hpftodit/hpftodit.cc (basename): Rename to xbasename.
3568         * tmac/tmac.tty: Disable warning about bad fonts.  Remove font
3569         translations.
3571         * Makefile.in (tmacpath): Don't include /usr/lib/tmac.
3572         (tmac_m, tmac_s): Deleted.
3573         (sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
3574         tmac_s_prefix): New variables.
3575         (MDEFINES): Change accordingly.
3576         * Makefile.comm (.man.n): Use new TMAC_* variables.
3577         * configure.in (GROFF_TMAC): Call.
3578         * aclocal.m4 (GROFF_TMAC): Define.
3579         * tmac/Makefile.sub (stamp_wrap): New target.
3580         (install_data, uninstall_sub): Handle macro wrapping.
3582 Mon Jun 26 14:54:39 1995  James Clark  <jjc@jclark.com>
3584         * tbl/main.cc (main): Ignore -T option.
3586 Thu Jun 22 09:08:06 1995  James Clark  <jjc@jclark.com>
3588         * devlj4/generate/special.map: Add definition of \(nb.
3590         * tmac/tmac.dvi: Add definition of \(nb.
3592         * troff/dictionary.c (dictionary::dictionary): association::v gets
3593         initialized by association::association.
3595         * tmac/Makefile.sub: Avoid using temporary files when installing.
3597         * troff/env.cc (environment::set_font): Make bad font number a
3598         warning.
3600         * Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.
3602         * Makefile.in (datadir): Use share rather than lib.
3604         * groff/groff.cc (basename): Rename to xbasename.
3606 Wed Jun 21 16:59:46 1995  James Clark  <jjc@jclark.com>
3608         * Makefile (CCLIBS): Don't use.
3609         * Makefile.ccpg: Likewise.
3611         * acgroff.m4: Rename to...
3612         * aclocal.m4: Modify extensively for autoconf 2.
3613         * configure.in: Likewise.
3614         * Makefile.in: Likewise.
3616         * groff/pipeline.c (const): Declare as empty if __STDC__ not
3617         defined.
3618         (xstrsignal): Check for definition of NSIG. Conditionalize
3619         on SYS_SIGLIST_DECLARED.  Make return type const.
3621 Sat Jun 10 12:28:16 1995  James Clark  <jjc@jclark.com>
3623         * troff/input.cc (interpolate_macro): Rephrase missing space
3624         warning.
3626 Thu May 11 01:07:16 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
3628         * addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
3629         grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
3630         grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
3631         libbib/index.cc, libbib/linear.cc, libbib/search.cc,
3632         libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
3633         libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
3634         libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
3635         pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
3636         refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
3637         tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
3638         troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
3639         Fix 'for' scoping.
3641 Wed Apr 19 21:15:11 1995  James Clark  <jjc@jclark.com>
3643         * troff/input.cc (spring_trap): Push a macro_iterator rather than a
3644         string_iterator.
3645         (spring_trap, postpone_traps, unpostpone_traps): Move to later in
3646         file.
3647         (macro_iterator::macro_iterator): Add additional argument.
3649 Mon Apr 10 12:06:02 1995  James Clark  <jjc@jclark.com>
3651         * troff/div.cc (vertical_size::vertical_size): In place of integer
3652         specifying line spacing use cunits specifying post vertical
3653         space.
3654         (macro_diversion::output, top_level_diversion::output): Likewise.
3655         * troff/div.h: Change declarations accordingly.
3656         * troff/env.cc (pending_output_line): Replace ls field by post_vs
3657         field.
3658         (pending_output_line::pending_output_line,
3659         pending_output_line::output, environment::output,
3660         environment::output_line, environment::output_title,
3661         environment::hyphenate_line):  In place of
3662         integer specifying line spacing use cunits specifying post vertical
3663         space.
3664         (environment::environment): Add post_vertical_spacing and
3665         prev_post_vertical_spacing arguments.
3666         (environment::get_post_vertical_spacing): New function.
3667         (environment::total_post_vertical_spacing): New function.
3668         (environment::post_vertical_spacing): New function.
3669         (init_env_requests): Initialize pvs request and .pvs register.
3670         * troff/env.h: Change declarations.
3672 Tue Mar 28 09:52:07 1995  James Clark  <jjc@jclark.com>
3674         * tmac/tmac.pspic: Immediately remove the temporary file.
3676 Sat Mar 25 10:43:11 1995  James Clark  <jjc@jclark.com>
3678         * tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
3679         height is specified.
3681 Thu Jan 26 16:20:13 1995  James Clark  <jjc@jclark.com>
3683         * tbl/table.c (struct vertical rule, class table_entry): Use int
3684         not short for start_row and end_row.
3686 Fri Jan 13 13:53:05 1995  James Clark  <jjc@jclark.com>
3688         * troff/input.cc (trapping_blank_line, blank_line_macro): New
3689         functions.
3690         (diverted_space_node::reread, process_input_stack): Call
3691         trapping_blank_line() rather than blank_line().
3692         (init_input_requests): Bind "blm" to blank_line_macro().
3694         * tmac/tmac.s (XA): Use .br and par@reset rather than XA.
3696 Tue Jan 10 11:40:35 1995  James Clark  <jjc@jclark.com>
3698         * troff/env.cc (environment::possibly_break_line): Require that
3699         width total excluding width of final space node be greater than
3700         the target text length.
3702 Tue Jan  3 09:13:37 1995  James Clark  <jjc@jclark.com>
3704         * troff/node.cc (kern_pair_node::vertical_extent): New function.
3706 Sun Dec  4 13:19:07 1994  James Clark  <jjc@jclark.com>
3708         * troff/node.cc (charinfo_node): New class.
3709         (glyph_node, composite_node): Derive from charinfo_node.  Change
3710         member functions accordingly.
3712 Wed Nov 30 10:29:29 1994  James Clark  <jjc@jclark.com>
3714         * nroff/nroff.sh: Use -Tlatin1 not -TLatin1.
3716 Mon Aug  8 10:17:59 1994  James Clark  (jjc@jclark.com)
3718         * tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].
3720         * devps/generate/textmap (notsubset): Add.
3722         * tmac/tmac.a4: New file.
3724 Sun Jul 24 20:08:42 1994  James Clark  (jjc@jclark.com)
3726         * pic/main.cc (had_parse_error): New variable.
3727         (do_picture, do_whole_file): Set had_parse_error if yyparse()
3728         returns non-zero.
3729         (main): Return 1 if had_parse_error is true.
3731 Tue Jul 19 13:40:31 1994  James Clark  (jjc@jclark.com)
3733         * grolj4/lj4.cc (main): Avoid use of strtoul.
3735 Mon Jul 18 15:03:02 1994  James Clark  (jjc@jclark.com)
3737         * nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
3738         iso_8859_1 or $LESSCHARSET is latin1.
3740 Sun Jul 10 13:38:35 1994  James Clark  (jjc@jclark.com)
3742         * hpftodit: New directory.
3743         * Makefile.in (CCPROGDIRS): Add hpftodit.
3744         * devlj4/generate: New directory.
3746 Thu Jul  7 23:49:48 1994  James Clark  (jjc@jclark.com)
3748         * configure.in: Don't use AC_VFORK.
3749         * groff/pipeline.c (run_pipeline): Use fork() always.
3751 Wed Jul  6 11:13:17 1994  James Clark  (jjc@jclark.com)
3753         * grops/ps.cc (main): Use %1 not %s in error message for -w.
3755         * Makefile.in (CCPROGDIRS): Add grolj4.
3756         (DEVDIRS): Add devlj4.
3757         * grolj4, devlj4: New directories.
3758         * tmac/troffrc: Handle lj4.
3759         * tmac/tmac.lj4: New file.
3761 Fri Jun 17 18:02:53 1994  James Clark  (jjc@jclark.com)
3763         * tmac/tmac.e (@n): Set indent to 0 before calling |h.
3765 Wed Jun  1 07:33:47 1994  James Clark  (jjc@jclark.com)
3767         * troff/input.cc (do_if_request): At end of second string, switch
3768         environments before getting next token.
3770 Fri May 20 07:39:18 1994  James Clark  (jjc@jclark.com)
3772         * devps/psstrip.sed: Split rule that strips whitespace on either
3773         side of delimiters.
3775 Wed May 18 08:13:47 1994  James Clark  (jjc@jclark.com)
3777         * troff/node.h (font_family::make_definition): Add return value to
3778         declaration.  * troff/symbol.h (symbol::operator==,
3779         symbol::operator!=): Likewise.
3781 Tue May 17 20:46:06 1994  James Clark  (jjc@jclark.com)
3783         * groff/groff.cc (main, help, synopsis): Handle -S.
3784         (possible_command::insert_arg): New function.
3786         * tmac/tmac.safer: New file.
3787         * tmac/msafer.man: New file.
3788         * tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.
3790 Thu Mar 10 01:58:30 1994  Paul Eggert  (eggert@twinsun.com)
3792         * pic/pic.h, pic/main.cc (safer_flag): New variable.
3793         * pic/pic.y (placeless_element): Avoid unsafe operations if
3794         `safer_flag' is set.
3795         * pic/main.cc (main): Add -S option, which sets `safer_flag'.
3797 Tue May 10 13:02:31 1994  James Clark  (jjc@jclark.com)
3799         * eqn/lex.cc (get_token): Put call to add_context() in block to
3800         work around Sun C++ 4.0 bug.
3802         * include/stringclass.h (operator +): Use ?: instead of `if' to
3803         work around Sun C++ 4.0 bug.
3805 Thu May  5 11:18:03 1994  James Clark  (jjc@jclark.com)
3807         * tbl/main.cc (process_format): Accept - as a synonym for the _
3808         key letter.
3810         * libbib/index.cc (minus_one): Don't declare as const.
3812 Fri Apr 29 09:32:48 1994  James Clark  (jjc@jclark.com)
3814         * troff/input.cc (get_char_for_escape_name): Push back a newline.
3816 Wed Apr 27 21:14:18 1994  James Clark  (jjc@jclark.com)
3818         * troff/input.cc (write_macro_request): New function.
3819         (init_input_requests): Bind write_macro_request to writem.
3821 Sun Apr 17 11:15:38 1994  James Clark  (jjc@jclark.com)
3823         * tmac/tmac.s (@EN): Turn filling back on even if there was no
3824         equation.
3826         * eqn/lex.cc (do_space): Supply missing argument to lex_error.
3828         * tmac/tmac.s (@TS): Renamed from TS.
3829         (TS): Call LP then TS again.
3830         (cov*ab-init): Alias @TS to TS.
3832         * tmac/tmac.s: Allow QP or RS to initialize.
3834         * tmac/tmac.s (par@load-init): New macro.  Call at end of file.
3835         Move initializations of PS and LL here.
3836         (par@init): Don't initialize HY.  Avoid changing environment 0.
3837         (par*env-init): Don't all par@reset.
3839 Thu Apr 14 19:15:45 1994  James Clark  (jjc@jclark.com)
3841         * include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.
3843 Sun Apr 10 09:54:44 1994  James Clark  (jjc@jclark.com)
3845         * Makefile.in (MDEFINES): Add LDFLAGS.
3846         (LDFLAGS): Add definition line.
3848 Thu Apr  7 22:22:22 1994  James Clark  (jjc@jclark.com)
3850         * troff/input.cc (get_optional_char): Split off error check into...
3851         (check_missing_character): New function.
3852         * troff/token.h: Declare it.
3853         * troff/env.cc (margin_character): Don't call get_optional_char.
3854         Only call tok.next() after making the node.
3856         * include/lib.h (getopt): Make 2nd argument char *const *.
3858 Fri Mar 11 07:28:03 1994  James Clark  (jjc@jclark.com)
3860         * nroff/conftest.sh: Deleted.
3862 Fri Mar  4 10:51:36 1994  James Clark  (jjc@jclark.com)
3864         * pic/make-dos-dist: Deleted.
3866 Wed Mar  2 20:59:16 1994  James Clark  (jjc@jclark.com)
3868         * devps/psstrip.sed: Strip comments before stripping trailing
3869         white space.
3871 Sat Feb 19 13:07:16 1994  James Clark  (jjc@jclark.com)
3873         * Version 1.09 released.
3875 Wed Feb 16 16:53:49 1994  James Clark  (jjc@jclark.com)
3877         * tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.
3879 Mon Feb 14 08:26:40 1994  James Clark  (jjc@jclark.com)
3881         * libgroff/font.cc (font::load_desc): Fix typo in error message.
3883 Sun Feb 13 09:37:38 1994  James Clark  (jjc@jclark.com)
3885         * libgroff/new.cc (operator new): Rewrite so as to avoid warning
3886         about returning without a value.
3888         * troff/charinfo.h (charinfo::get_special_translation): Cast
3889         TRANSLATE_NONE to int.
3891         * refer/token.cc (lookup_token, store_token): Remove bogus loop
3892         test.  Fix test so that it works with n unsigned.
3894         * pic/pic.y (defaults_table): Fully bracket initializer.
3895         * pic/lex.cc (lookup_keyword): Likewise.
3896         * eqn/lex.cc (token_table, def_table): Likewise.
3897         * eqn/box.cc (param_table): Likewise.
3898         * troff/input.cc (warning_table): Likewise.
3899         * libgroff/font.cc (table): Likewise.
3900         * grops/ps.cc (ps_printer::special): Likewise.
3901         * grops/psrm.cc (resource_manager::process_file): Likewise.
3902         * tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
3903         * refer/command.cc (command_table): Likewise.
3904         * addftinfo/addftinfo.cc (param_table): Likewise.
3906         * troff/symbol.cc (symbol::symbol): Prevent compiler warnings
3907         about temp's being unused.
3908         (unused): New function.
3910         * groff/pipeline.cc: Declare c_fatal.
3912         * libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
3913         uchar.
3915         * libbib/index.cc (index_search_item::load): Prevent compiler
3916         warnings about fd_closer's being unused.
3917         (unused): New function.
3919 Sat Feb 12 10:31:59 1994  James Clark  (jjc@jclark.com)
3921         * troff/input.cc (copy_mode_error): Make `prefix' static.
3922         Fix typo.
3924         * include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
3925         defined.
3926         * acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
3927         HAVE_CC_OSFCN_H and modify accordingly.
3929         * troff/input.cc (init_charset_table): radicalex overlaps
3930         horizontally.
3932         * groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
3933         udodo!hans@relay.NL.net).
3934         * groff/configure.in: Call it.
3936         * groff/acgroff.m4 (GROFF_PCLOSE): New macro.
3937         * groff/configure.in: Call it.
3938         * include/lib.h: Conditionalize declaration of pclose.
3940         * troff/div.cc (last_page_number): New global variable.
3941         (top_level_diversion::begin_page): Exit if we just printed the
3942         last page.
3943         * troff/div.h (last_page_number): Declare it.
3944         * troff/input.cc (parse_output_page_list): Set last_page_number.
3946         * eqn/sqrt.cc: Rename \(rn to \[radicalex].
3947         * devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
3948         tmac/tmac.X: Likewise.
3949         * tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
3950         * tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.
3952 Fri Feb 11 11:45:40 1994  James Clark  (jjc@jclark.com)
3954         * tmac/doc-ditroff (hK): Remove groff specific code which
3955         prevented page-breaks between separate manual entries.  If this is
3956         the first page, don't set the page number to 1.
3958         * acgroff.m4 (GROFF_POSIX): New macro.
3959         * configure.in: Use it.
3961         * troff/node.cc (class real_output_file,
3962         real_output_file::real_output_file,
3963         real_output_file::~real_output_file): Conditionalize use of
3964         popen/pclose on POPEN_MISSING.
3965         * troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
3966         * troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
3967         (pipe_source): Similarily.
3969         * acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
3971         * acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
3972         presence of declarations by trying to compile example with
3973         conflicting declarations.  (gcc only gives a warning for missing
3974         declarations.)
3976 Wed Feb  9 09:12:23 1994  James Clark  (jjc@jclark.com)
3978         * tmac/tmac.pspic (PSPIC): Allow options to specify alignment
3979         (from Ulrich Lauther).
3981 Tue Feb  8 03:56:40 1994  James Clark  (jjc@jclark.com)
3983         * libbib/linear.cc (file_buffer::load): Use S_ISREG macro.
3985 Thu Feb  3 09:34:35 1994  James Clark  (jjc@jclark.com)
3987         * indxbib/indxbib.cc (write_hash_table): Add code for case where
3988         pointers and ints have different sizes.
3990 Sun Jan  9 16:17:51 1994  James Clark  (jjc@jclark.com)
3992         * tmac/tmac.s (par*env-init): Call par@reset.
3994 Fri Jan  7 10:24:27 1994  James Clark  (jjc@jclark.com)
3996         * tmac/tmac.s (@IP): Switch to a new environment when diverting
3997         tag.
3998         (par*push-tag-env, par*pop-tag-env): New macros.
4000 Wed Jan  5 21:18:34 1994  James Clark  (jjc@jclark.com)
4002         * grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
4003         initializing `out'.  Reduce MAX_LINE_LENGTH from 79 to 72.
4005         * grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
4006         comment.  Include <time.h>.
4008 Wed Dec 15 14:14:00 1993  James Clark  (jjc@jclark.com)
4010         * grops/ps.cc (is_small_h, is_small_v): Deleted.
4011         (ps_printer::flush_sbuf): Use absolute motion only at beginning of
4012         lines.
4014 Tue Dec 14 10:06:34 1993  James Clark  (jjc@jclark.com)
4016         * troff/input.cc (read_request): Only print a prompt if reading
4017         from the terminal.  Also clearerr on EOF if reading from the
4018         terminal.  Declare isatty.
4020 Mon Nov 29 08:38:15 1993  James Clark  (jjc@jclark.com)
4022         * refer/label.y: Rename map_t to map_func and extractor_t to
4023         extractor_func.
4025 Sat Oct 30 06:38:12 1993  James Clark  (jjc@jclark.com)
4027         * include/assert.h: Don't use volatile.
4028         * libgroff/assert.cc: Likewise.
4030 Fri Oct 29 15:00:23 1993  James Clark  (jjc@jclark.com)
4032         * troff/input.cc (abort_request): Look at character in tok before
4033         calling get_copy().
4035 Thu Oct 28 14:09:48 1993  James Clark  (jjc@jclark.com)
4037         * troff/troff.h (NO_RETURN): Deleted.
4038         * troff/div.cc (cleanup_and_exit):  Don't declare aas NO_RETURN.
4039         * troff/input.cc (exit_troff): Likewise
4041         * Makefile.in: Remove `Making ...' messages since GNU make now
4042         gives these. 
4044         * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
4046 Wed Oct 27 11:12:51 1993  James Clark  (jjc@jclark.com)
4048         * tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
4049         to constant 1 inch.
4051 Sat Oct 23 10:03:52 1993  James Clark  (jjc@jclark.com)
4053         * tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.
4055 Thu Oct 14 12:09:45 1993  James Clark  (jjc@jclark.com)
4057         * eqn/delim.cc (delim_box::compute_metrics): Don't increase
4058         MARK_REG if there was no left delimiter.
4060 Sat Oct  2 19:54:47 1993  James Clark  (jjc@jclark.com)
4062         * pic/troff.cc (troff_output::text): Set line thickness to
4063         relative before outputting text.
4065         * tmac/tmac.e (@k): Don't zero ?T.
4066         ((z): Likewise.
4068 Sat Sep 25 11:08:43 1993  James Clark  (jjc@jclark.com)
4070         * tmac/tmac.e ($p): Handle possibility that $3 is empty.
4072 Wed Aug 18 08:51:41 1993  James Clark  (jjc@jclark.com)
4074         * troff/input.cc (decode_args): Warn about unquoted tabs (from
4075         Paul Eggert).
4077 Tue Aug 10 08:38:32 1993  James Clark  (jjc@jclark.com)
4079         * troff/input.cc (ignoring): New variable.
4080         (ignore): Set ignoring during call to do_define_macro.
4081         (do_define_macro): Clear ignoring before interpolating terminating
4082         macro.
4083         (copy_mode_error): New function.
4084         (get_char_for_escape_name, read_long_escape_name,
4085         interpolate_arg): Use copy_mode_error.
4086         (warning_table): Add WARN_IG.
4087         * troff/troff.h (WARN_IG): Declare.
4088         (WARN_TOTAL): Change accordingly.
4090         * groff/pipeline.c (strsignal): Rename to xstrsignal.
4091         * groff/groff.cc (strsignal): Delete declaration.
4093 Fri Jul 16 01:43:12 1993  James Clark  (jjc@jclark.com)
4095         * troff/div.cc (page_offset): Use 'm' as default scaling.
4097 Sat Jul  3 09:11:38 1993  James Clark  (jjc@jclark.com)
4099         * nroff/nroff.sh: Ignore -u.
4101 Wed Jun  9 12:17:27 1993  James Clark  (jjc@jclark.com)
4103         * Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.
4105 Fri Jun  4 17:35:47 1993  James Clark  (jjc@jclark.com)
4107         * tmac/tmac.s (par*box-draw): Set adjustment mode to l while
4108         drawing box.
4109         (B2): With -Tascii, leave additional vertical space before
4110         and after. Ensure that the left and right indent is restored to
4111         what it was even if the point size changes.  Don't call
4112         par@finish. Change the indent, line length and title length
4113         directly.  With -Tascii, make the width of the box 1n less.
4114         (B1): Remember 1n at the current point size.  Don't call
4115         par@reset.  Change the indent, line length and title length
4116         directly.  Ensure that the temporary indent is preserved.
4117         (par*box-mark-top): Turn off no spacing mode.
4119 Thu Jun  3 17:47:14 1993  James Clark  (jjc@jclark.com)
4121         * Makefile.in (dist): Use .gz suffix.
4123 Thu May 27 20:04:59 1993  James Clark  (jjc@jclark.com)
4125         * troff/input.cc (main): Add return 0.
4126         * pic/main.cc (main): Use return instead of exit.
4127         * tbl/main.cc (main): Likewise.
4128         * eqn/main.cc (main): Likewise.
4129         * grops/ps.cc (main): Likewise.
4130         * grotty/tty.cc (main): Likewise.
4131         * groff/groff.cc (main): Likewise.
4132         * grodvi/dvi.cc (main): Likewise.
4133         * refer/refer.cc (main): Likewise.
4134         * indxbib/indxbib.cc (main): Likewise.
4135         * lkbib/lkbib.cc (main): Likewise.
4136         * soelim/soelim.cc (main): Likewise.
4137         * addftinfo/addftinfo.cc (main): Likewise.
4138         * acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
4139         GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.
4141         * troff/token.h (process_input_stack): Don't declare as static.
4142         * troff/input.cc: Likewise.
4144         * troff/node.c (invalidate_fontno): Make it a static member of
4145         class font_family.  Change callers.
4146         * troff/node.c: Change declaration.
4148         * tbl/main.cc (struct input_entry_format): Add explicit public
4149         specifier.
4150         * tbl/table.cc (struct text_stuff, struct single_hline_stuff,
4151         struct double_hline_stuff): Likewise.
4152         * tbl/table.h (struct entry_format): Likewise.
4153         * pic/object.h (struct saved_state): Likewise.
4155         * include/stringclass.h: Add forward declarations of friend
4156         functions that are later declared as inline.  Don't include inline
4157         specifier in friend declaration.
4159         * libgroff/lib.h: Declare popen and pclose.
4160         * acgroff.m4 (GROFF_POPEN): New macro.
4161         * configure.in: Call it.
4163         * include/lib.h (PI): New constant. Undef first if necessary.
4164         * tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
4165         * grops/ps.cc (degrees, radians): Likewise.
4166         * libgroff/font.cc (font::get_skew): Likewise.
4168         * grops/ps.cc (is_ascii): New function.
4169         (ps_output::put_string): Use is_ascii.  Use csprint rather than
4170         isprint.
4171         (ps_printer::define_encoding): Use csspace.
4172         * libgroff/strtol.c (ISASCII): New macro.
4173         (strtol): Cast arguments to is*() and tolower() to unsigned char.
4174         Use ISASCII rather than isascii.
4175         * libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
4176         * libgroff/cset.cc: Likewise.
4177         * libdriver/input.cc: Include cset.h.
4178         (do_file, get_integer, possibly_get_integer): Use csdigit() rather
4179         than isdigit().
4181         * refer/refer.cc (main): Use %ld rather than %d for longs.
4183         * libbib/index.cc (index_search_item_iterator::get_tag): Use
4184         S_ISREG macro.
4186         * addftinfo/addftinfo.cc (param_t): Add explicit `int'.
4188 Mon May 24 08:51:37 1993  James Clark  (jjc@jclark.com)
4190         * troff/input.cc (hyphenation_code): Skip white space between
4191         char/code pairs.
4193 Sun May 16 08:15:52 1993  James Clark  (jjc at jclark.com)
4195         * tbl/table.h (table::entry_list_tailp): New member.
4196         (table::table): Initialize it.
4197         (table::add_entry): Use entry_list_tailp to avoid O(n^2)
4198         behaviour.
4200 Sat May 15 17:26:00 1993  James Clark  (jjc at jclark.com)
4202         * grotty/tty.cc (tty_printer::add_char): Don't discard characters
4203         with negative horizontal positions. Remove casts of glyph::hpos to
4204         int.
4205         (USHRT_MAX): Delete definition.
4206         (SHRT_MAX, SHRT_MIN): New definitions.
4207         (glyph::hpos): Change type to short.
4208         (tty_printer::end_page): Output multiple backspaces if necessary.
4209          Remove casts of glyph::hpos to int.
4210         
4211 Fri May  7 12:14:37 1993  James Clark  (jjc at jclark.com)
4213         * tmac/tmac.s (@RT): New definition.
4215 Thu May  6 21:36:54 1993  James Clark  (jjc at jclark.com)
4217         * refer/refer.cc (do_file): Make sure current_filename is set when
4218         filename is "-".
4220         * pic/common.cc (common_output::dot_line): Handle zero length
4221         lines.
4223 Sun May  2 19:54:16 1993  James Clark  (jjc at jclark.com)
4225         * tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
4226         (par@init): Initialize \n[HY].
4228 Mon Apr 26 11:43:16 1993  James Clark  (jjc at jclark.com)
4230         * troff/dictionary.cc (dictionary::remove): Continue when
4231         r < j < i.
4233 Sun Apr 25 11:03:00 1993  James Clark  (jjc at jclark.com)
4235         * Makefile.com (.y.cc): Avoid ending up with two versions of
4236         $(YTABH).
4238 Thu Apr 22 21:03:45 1993  James Clark  (jjc at jclark.com)
4240         * tmac/tmac.dvi (\(,c): Define only if it does not exist.
4241         (\(,C): Likewise.  Also fix typo.
4243 Wed Apr 21 08:47:32 1993  James Clark  (jjc at jclark.com)
4245         * lib.h: Delete extraneous semi-colon.
4247         * Add pso request: `so' from a pipe.
4248         * troff/input.c (file_iterator::file_iterator): Add 3rd argument.
4249         (file_iterator::close): New function.
4250         (file_iterator::~file_iterator, file_iterator::next_file): Use
4251         file_iterator::close.
4252         (file_iterator::backtrace): Say `process' rather than `file' when
4253         the stream is popened.
4254         (pipe_source): New function.
4255         (init_input_requests): Bind ".pso" to pipe_source.
4257 Tue Apr 20 00:02:26 1993  James Clark  (jjc at jclark.com)
4259         * afmtodit/afmtodit.pl: Avoid single quotes in comments.
4261         * pfbtops/pfbtops.c: Output 64 characters per line.  Output hex
4262         digits in lower case.
4264 Mon Apr 19 09:55:57 1993  James Clark  (jjc at jclark)
4266         * Version 1.08 released.
4268         * Makefile.in (dist): Insert || true after ln -s commands that
4269         might fail.
4271         * mm: Update to mm 1.16.
4273         * acgroff.m4 (GROFF_CSH_HACK): New macro.
4274         * configure.in: Call GROFF_CSH_HACK.  Substitute for
4275         SH_SCRIPT_SED_CMD.
4276         * Makefile.in (SH_SCRIPT_SED_CMD): New variable.  Include in
4277         MDEFINES.
4278         * nroff/Makefile.sub (nroff): New target.
4279         (install_data): Install nroff.
4280         * eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
4281         * grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.
4283 Sat Apr 17 08:24:28 1993  James Clark  (jjc at jclark)
4285         * eqn/Makefile.sub (neqn): Add chmod +x.
4287         * grog/Makefile.sub (grog): Remove spurious semi-colon.
4289 Fri Apr 16 22:41:57 1993  James Clark  (jjc at jclark)
4291         * troff/input.cc (string_iterator::string_iterator()): Initialize
4292         lineno and count.
4294 Tue Apr 13 10:22:28 1993  James Clark  (jjc at jclark)
4296         * troff/div.cc (macro_diversion::space,
4297         top_level_diversion::space): Don't set high_water_mark.
4298         (macro_diversion::output, top_level_diversion::output): Don't
4299         include post line space in high water mark.
4301 Wed Apr  7 12:48:18 1993  James Clark  (jjc at jclark)
4303         * eqn/eqn.y: Don't define YYDEBUG.
4304         * pic/pic.y: Likewise.
4306 Mon Apr  5 10:15:15 1993  James Clark  (jjc at jclark)
4308         * tmac/tmac.e ([3): Add space after comma following editors.
4309         Change double spaces to single spaces.
4310         ([4): Change double spaces to single spaces.
4312         * grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
4313         * grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
4314         bit is set in broken_flags, use 2.0 rather than 3.0 as the version
4315         after %!PS-Adobe- (for Newsprint).
4317         * troff/div.cc (top_level_diversion::begin_page): When
4318         before_first_page is 1, set page_number to 1.
4320 Sun Apr  4 14:28:53 1993  James Clark  (jjc at jclark)
4322         * eqn/box.cc (box::top_level): Protect equation with \&.
4324 Sat Apr  3 23:27:25 1993  James Clark  (jjc at jclark)
4326         * groff/groff.cc (possible_command::set_name): Delete old name.
4328         * groff/groff.cc (possible_command::~possible_command): Use
4329         a_delete.
4331         * troff/node.cc (troff_output_file::begun_page): New member.
4332         (troff_output_file::troff_output_file): Initialize it.
4333         (troff_output_file::really_begin_page): Only output V command if a
4334         page has been begun.
4336         * pic/pic.y (placeless_element): Delete argument to PRINT after
4337         use.
4339 Fri Apr  2 11:31:02 1993  James Clark  (jjc at jclark)
4341         * Make wrapman work.
4342         * troff/div.h (class top_level_diversion): Replace
4343         first_page_begun by before_first_page (with opposite sense).
4344         * Change first_page_begun to before_first_page inverting sense.
4345         * troff/div.cc (class nl_reg): New class.
4346         (init_div_requests): Use class nl_reg for \n(nl.
4347         (top_level_diversion::begin_page): Don't call
4348         output_file::begin_page if before_first_page is 2;
4349         reset before_first_page afterwards.  If have_next_page_number is
4350         false, then always increment page_number.
4351         * tmac/tmac.an: Set traps within TH rather than at the top-level.
4352         Restore compatibility mode after loading, and then disable
4353         compatibility mode in TH.
4355 Thu Apr  1 11:09:34 1993  James Clark  (jjc at jclark)
4357         * grotty/tty.cc (tty_printer::end_page): Don't discard characters
4358         past last line.
4359         * troff/node.h (output_file::trailer): Declare.
4360         * troff/div.cc (cleanup_and_exit): Call output_file::trailer().
4361         * troff/node.cc (output_file::trailer): New function.
4362         (troff_output_file::~troff_output_file): Move most code into...
4363         (troff_output_file::trailer): New function.
4364         (class troff_output_file): Delete page_length member. Declare
4365         trailer().
4366         (troff_output_file::really_begin_page): Use current page length
4367         for final V command.
4369         * tbl/main.cc (struct options): New decimal_point_char member.
4370         (options::options): Initialize this.
4371         (process_options): Implement decimalpoint option.
4372         (process_data): Pass decimal_point_char option to table::table.
4373         * tbl/table.h (class table): New decimal_point_char member.
4374         (table::table): Add additional argument.
4375         * tbl/table.cc (find_dot): Rename to find_decimal_point. Add
4376         second argument specifying decimal point character.  Use this
4377         instead of '.'.
4378         (table::table): Initialize decimal_point_char.
4379         (table::add_entry): Change call to find_dot.
4381         * troff/input.cc (get_copy, token::next): Implement \V.
4382         (interpolate_environment_variable): New function.
4384 Tue Mar 30 14:41:39 1993  James Clark  (jjc at jclark)
4386         * pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
4387         * pic/pic.y: Likewise.
4389         * grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
4390         Add casts to int.
4391         * refer/ref.cc (reference::insert_field, reference::delete_field):
4392         Likewise.
4393         * troff/number.cc (parse_term): Likewise.
4395         * acgroff.m4 (GROFF_PROG_YACC): New macro.
4396         * configure.in: Use GROFF_PROG_YACC.
4398         * acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
4399         and g++.
4400         * Makefile.in (OPTIMIZE): New define.
4401         (DEBUG): Empty by default.
4402         (CCFLAGS, CFLAGS): Include $(OPTIMIZE).
4404         * acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
4405         (GROFF_ARRAY_DELETE): Likewise.
4406         (GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.
4408         * troff/env.cc (trie::~trie): Make virtual to shut up g++.
4410         * devps/psstrip.sed: Use different delimiter on last line (so that
4411         it works with BSD 4.4 sed.)
4413 Mon Mar 29 17:07:14 1993  James Clark  (jjc at jclark)
4415         * devps/psstrip.sed: Delete comments.
4417         * acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
4418         optind, opterr, optarg.
4419         * lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
4420         opterr, optarg.
4422 Sun Mar 28 17:44:25 1993  James Clark  (jjc at jclark)
4424         * Makefile.in (check): Dummy target.
4426 Wed Mar  3 04:53:38 1993  James Clark  (jjc at jclark)
4428         * Version 1.07 released.
4430         * Integrate mm 1.11.
4432         * tbl/table.cc (alphabetic_block_entry::print): start_row was used
4433         where start_col was meant.
4435 Thu Feb 25 07:55:36 1993  James Clark  (jjc at jclark)
4437         * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
4439 Wed Feb 24 10:15:34 1993  James Clark  (jjc at jclark)
4441         * troff/input.cc (token::next): Make \z\o'...' and similar things
4442         work.
4444         * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
4445         constants.
4446         (environment): Add margin_character_flags member.
4447         * env.cc (environment::environment(symbol),
4448         environment::environment(const environment *): Initialize
4449         margin_character_flags.
4450         (margin_character): Rewrite.
4451         (environment::output_line): Add a margin character if
4452         margin_character_flags is non-zero.  Turn off the
4453         MARGIN_CHARACTER_NEXT bit.  If that makes margin_character_flags
4454         zero, use margin_character_node without copying and then set
4455         margin_character_node to 0.
4457         * devps/DESC.in: Change minimum size to 1000.
4459 Tue Feb 23 14:57:49 1993  James Clark  (jjc at jclark)
4461         * troff/symbol.h (symbol::hash): Change return type to unsigned
4462         long.
4463         * troff/dictionary.cc (dictionary::lookup, dictionary::remove):
4464         Add casts to int.
4466         * test-groff: Use -r rather than -x.
4468         * grops/psfig.diff: Include in distribution again.
4470 Mon Feb 22 09:10:44 1993  James Clark  (jjc at jclark)
4472         * Makefile.in (dist): Use gzip.
4474 Sun Feb 21 11:12:53 1993  James Clark  (jjc at jclark)
4476         * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
4477         unistd.h as well as in stdlib.h.
4478         * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
4479         defined; otherwise include <sys/types.h> and <unistd.h> if
4480         UNISTD_H_DECLARES_GETOPT is defined.
4482         * configure.in: use builtin(include, ... rather than include(...
4483         * configure: Regenerate with autoconf 1.3.
4485         * libdriver/print.cc (printer::adjust_arc_center): Use new
4486         algorithm suggested by Andy Fyfe.
4488         * libdriver/printer.cc (printer::adjust_arc_center): New function.
4489         * include/printer.h: Declare this.
4490         * grops/ps.cc (ps_printer::draw): Use it.
4491         * grodvi/dvi.cc (dvi_printer::draw): Use it.
4493 Fri Feb 19 23:13:51 1993  James Clark  (jjc at jclark)
4495         * Makefile.comm (.man.n): Replace macrodir by tmacdir.
4497 Thu Feb 11 16:46:59 1993  James Clark  (jjc at jclark)
4499         * eqn/main.cc (main): Handle "eqn -".
4501 Mon Jan  4 20:29:56 1993  James Clark  (jjc at jclark)
4503         * tmac/tmac.e (++): Install fix from comp.bugs.4sd.
4505         * mm: Integrate version 1.08.
4507         * pic/troff.cc (troff_output::finish_picture): Set
4508         EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
4509         * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
4510         if it's not defined. Check whether the register is non-zero rather
4511         than whether it's not defined.
4512         * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
4514         * indxbib/indxbib.cc: Move all signal handling into...
4515         * indxbib/signal.c: New file.
4516         * configure.in: Call AC_RETSIGTYPE.
4518         * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
4519         * configure.in: Call GROFF_STRUCT_EXCEPTION.
4520         * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
4522         * troff/input.cc (token::token, token::operator=): Work round SGI
4523         C++ bug.
4524         * pic/object.cc (position::position): Likewise.
4526 Mon Dec 28 21:50:21 1992  James Clark  (jjc at jclark)
4528         * pic/pic.h: Move declaration of hypot().
4530 Wed Dec 16 12:28:29 1992  James Clark  (jjc at jclark)
4532         * pic/pic.h: Declare hypot().
4534         * pic/pic.h: Define M_PI if necessary.
4536 Thu Dec 10 12:03:29 1992  James Clark  (jjc at jclark)
4538         * tmac/tmac.e (re): Add alternative version that doesn't use groff
4539         `.ta T' feature.
4541         * devps/prologue.ps (RE): Handle the possibility that the old font
4542         doesn't have a FontName entry.
4544 Wed Dec  2 10:25:29 1992  James Clark  (jjc at jclark)
4546         * tmac/tmac.e (fam): Redefine to set family in environment 2.
4547         (@C): Use @fam not fam.
4549 Thu Nov 26 16:01:25 1992  James Clark  (jjc at jclark)
4551         * lookbib/lookbib.cc (main): Change type of start to const char *.
4552         * lkbib/lkbib.cc (main): Likewise.
4554         * eqn/lex.cc (definition::definition): Don't use member
4555         initializer syntax for members of anonymous unions.
4557         * troff/input.cc (input_stack::backtrace): Change type of to const
4558         char *.
4560 Wed Nov 25 13:43:09 1992  James Clark  (jjc at jclark)
4562         * include/stringclass.h (class string): Declare inline friend
4563         functions as inline in class declaration.
4564         * troff/hvunits.h (class hunits, class vunits): Likewise.
4565         * include/refid.h (class reference_id): Likewise
4566         * troff/troff.h (points_to_units(units), scale(units, double)):
4567         Delete declarations.
4568         * libdriver/input.cc (get_char): Delete declaration.
4569         * include/lib.h: Change 2nd argument of getopt from const char **
4570         to char **.
4571         * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
4572         char **' before assigning to a `const char **'.
4573         * tbl/table.cc: Delete extra declarations of prints().
4575 Tue Nov 24 14:33:13 1992  James Clark  (jjc at jclark)
4577         * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
4578         char **' before assigning to a `const char **'.
4580         * libgroff/errarg.cc (errarg::errarg): Don't use member
4581         initializer syntax for members of anonymous unions.
4583 Sat Nov 21 05:02:23 1992  James Clark  (jjc at jclark)
4585         * mm: Integrate version 1.07.
4587 Tue Nov 17 16:44:27 1992  James Clark  (jjc at jclark)
4589         * troff/input.c (translate2): Rename to
4590         (translate_no_transparent).
4591         (init_input_requests): Rename tr2 to trnt.
4593 Mon Nov 16 09:49:32 1992  James Clark  (jjc at jclark)
4595         * troff/charinfo.h (class charinfo): Add transparent_translate field.
4596         (charinfo::set_translation, charinfo::set_special_translation):
4597         Add second argument that specifies value for
4598         transparent_translate.
4599         (charinfo::get_translation, charinfo::get_special_translation):
4600         Add optional second argument that specifies whether translation is
4601         being used for transparent throughput.
4602         * troff/input.cc (charinfo::set_translation,
4603         charinfo::set_special_translation): Handle second argument.
4604         (charinfo::charinfo): Initialize transparent_translate.
4605         (translate): Split main part off into
4606         (do_translate): New function.  Pass argument saying whether
4607         translation applies to transparent throughput.
4608         (translate2): New request.
4609         (init_input_requests): Bind translate2 to `tr2'.
4611 Wed Nov 11 11:43:20 1992  James Clark  (jjc at jclark)
4613         * tbl/table.h (class table): Add `nokeep' flag.
4614         * tbl/main.cc (process_options): Handle `nokeep' option.
4615         * tbl/table.cc (table::init_output, table::do_row, table::do_top,
4616         table::do_bottom): Don't output keep/release macro definitions or
4617         calls when `nokeep' option has been specified.
4619 Sat Nov  7 01:28:33 1992  James Clark  (jjc at jclark)
4621         * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
4623 Wed Nov  4 16:29:04 1992  James Clark  (jjc at jclark)
4625         * tbl/table.cc (table_entry::divert, block_entry::do_divert,
4626         block_entry::divert, alphabetic_block_entry::divert): Add extra
4627         argument giving column separation.
4628         (table::compute_widths): Pass column separation to
4629         table_entry::divert().
4630         (block_entry::do_divert): If an entry spans multiple columns and a
4631         minimumum width has been specified for each column, then set the
4632         line length to the sum of the widths (plus possibly the column
4633         separations).
4635         * troff/input.cc (set_escape_char): Don't set the escape_char
4636         until after calling has_arg().
4638 Tue Nov  3 11:23:27 1992  James Clark  (jjc at jclark)
4640         * tbl/table.cc (table::do_top): Add missing \s0 for double box
4641         case.
4643         * tbl/table.cc (table::print_double_hline): Avoid extra new line
4644         in case where r > nrows - 1.
4646         * tbl/table.cc (BODY_HEIGHT): Deleted.
4647         (LINE_SEP): New definition.
4648         (table::print_single_hline, table::print_double_hline,
4649         table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
4650         table::do_row, table::do_top): Use LINE_SEP space before a line
4651         instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.
4653         * tbl/table.cc (text_entry::print_contents): New function.
4654         (text_string_name, right_text_string_name): Deleted.
4655         (TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
4656         (simple_text_entry::do_width, numeric_text_entry::do_width,
4657         alphabetic_text_entry::do_width): Don't store the contents of the
4658         entry in a string.
4659         (left_text_entry::simple_print, right_text_entry::simple_print,
4660         center_text_entry::simple_print,
4661         alphabetic_text_entry::simple_print,
4662         numeric_text_entry::simple_print): Print the entry directly
4663         instead of using the stored string.
4665 Fri Oct 30 10:39:32 1992  James Clark  (jjc at jclark)
4667         * devps/Makefile: Strip PostScript files.
4668         * devps/prologue: Rename to...
4669         * devps/prologue.ps.
4670         * devps/psstrip.sed: New file.
4671         * devps/download: Use .pfa rather than .ps for installed versions
4672         of fonts.
4674 Thu Oct 29 09:14:43 1992  James Clark  (jjc at jclark)
4676         * troff/env.cc (input_trap): Give a warning if the argument is out
4677         of range.
4679         * troff/env.cc (adjust): Treat negative argument as missing. Round
4680         argument > 5 down to 5.
4682         * troff/env.cc (center, right_justify): Make negative argument zero.
4684         * troff/div.cc (page_offset, vertical_position_traps): Treat
4685         invalid argument as missing.
4686         * troff/env.cc (line_spacing, line_length, title_length, indent,
4687         underline, hyphen_line_max_request, control_char,
4688         no_break_control_char, widow_control_request, adjust, input_trap,
4689         point_size): Likewise.
4690         * troff/node.cc (ligature, kern_request, bold_font, track_kern,
4691         constant_space): Likewise.
4692         * troff/input.cc (compatible, shift, warn_request,
4693         set_escape_char): Likewise.
4695         * tbl/main.cc (format::format): Avoid doing `new int[0]'.
4696         * tbl/table.cc (table::table): Likewise.
4698         * Makefile.dev (install_dev): depends on $(DEVFILES).
4700 Wed Oct 28 08:30:57 1992  James Clark  (jjc at jclark)
4702         * devX75, devX75-12, devX100, devX100-12: New directories.
4703         * Makefile.in: Add these to DEVDIRS.
4705         * troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
4706         afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
4707         grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
4708         * Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
4709         targets.
4710         * Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
4711         (uninstall): New target.
4712         * Makefile.comm (uninstall, uninstall_sub, uninstall_man,
4713         uninstall_prog, uninstall_dev): New targets.
4715         * troff/div.cc (return_request): Treat an invalid argument as
4716         missing.
4718 Mon Oct 26 11:33:47 1992  James Clark  (jjc at jclark)
4720         * tmac/tmac.e ((f): Set up the environment even when there's a
4721         current diversion.  Transperently throughput a call to @N.
4722         (@N): New macro.
4724 Thu Oct 22 05:05:59 1992  James Clark  (jjc at jclark)
4726         * tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
4727         up to vertical resolution.
4729         * tbl/table.cc (table::do_row): Change row number after printing
4730         stuff list.
4732         * pic/lex.cc (get_token_after_dot): Make .left and .right work.
4734 Wed Oct 21 14:46:45 1992  James Clark  (jjc at jclark)
4736         * Rename CHANGES to NEWS.
4738 Tue Oct 20 23:25:21 1992  James Clark  (jjc at jclark)
4740         * libgroff/new.cc (operator new): Avoid calling malloc(0).
4742 Mon Oct 19 09:10:13 1992  James Clark  (jjc at jclark)
4744         * man.ultrix: Removed.
4746 Sun Oct 18 06:35:15 1992  James Clark  (jjc at jclark)
4748         * Makefile.comm (extraclean): Delete files whose names begin with
4749         `='.
4751         * pic/troff.cc (troff_output::text): Fix typo in implementation of
4752         aligned text.
4754 Sat Oct 10 09:32:29 1992  James Clark  (jjc at jclark)
4756         * troff/env.cc (hyphenate_request, vertical_spacing, no_number):
4757         * troff/div.cc (page_length, need_space, space_request): Treat
4758         invalid optional argument as missing.
4759         * troff/env.cc (number_lines): If the first argument is present
4760         but not a number, turn on line numbering, don't change the next
4761         line number and parse the remaining arguments.
4763         * tmac/tmac.e (@q): Do the `ne' before changing to environment 2.
4765 Thu Oct  8 10:24:40 1992  James Clark  (jjc at jclark)
4767         * eqn/box.h: Change declaration accordingly.
4768         * eqn/box.cc (set_gsize): Change return type to int.  Return 0 if
4769         the specified size was bad but don't give an error.  Check for
4770         overflow.
4771         * eqn/main.cc (main): Change caller. Leave validation to set_gsize.
4772         * eqn/lex (do_size): Likewise.
4774 Wed Oct  7 09:48:59 1992  James Clark  (jjc at jclark)
4776         * acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
4777         compatible headers.
4779 Sun Oct  4 18:24:02 1992  James Clark  (jjc at jclark)
4781         * tbl/table.cc (table::init_output): Improve error message when
4782         table won't fit on one page.
4784 Fri Oct  2 10:41:40 1992  James Clark  (jjc at jclark)
4786         * pic/troff.cc (troff_output::start_picture): Generate line
4787         containing a horizontal motion equal to the width of the picture.
4789         * groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
4790         using GROFF_COMMAND_PREFIX environment variable.
4792 Fri Sep 25 11:40:40 1992  James Clark  (jjc at jclark)
4794         * mdate.sh: Use $NF rather than $(NF).
4796 Tue Sep 22 09:47:24 1992  James Clark  (jjc at jclark)
4798         * pic/main.cc (main):  Use %1 not %c in argument to warning.
4800         * eqn/main.cc (main): Output code to check that geqn was given the
4801         correct -T option.
4803 Mon Sep 21 10:59:16 1992  James Clark  (jjc at jclark)
4805         * Makefile.in (dist): Instead of doing `make -f ../Makefile', do
4806         `ln -s ../Makefile .; make; rm -f Makefile'.
4808         * troff/hyphen: Rename to...
4809         * troff/hyphen.us:
4810         * troff/input.cc (main): Delete -H option. Don't call
4811         read_hyphen_file().
4812         * troff/env.cc: Include searchpath.h and macropath.h.
4813         (exception_dictionary): Deleted.
4814         (ht): Deleted.
4815         (read_hyphen_file): Deleted.
4816         (hyphenation_language): New struct.
4817         (class trie, class hyphen_trie): Move declarations up.
4818         (trie_node::~trie_node): Deleted.
4819         (trie::delete_trie_node): New function.
4820         (trie::do_delete): New pure virtual function.
4821         (hyphen_trie::do_delete): New function.
4822         (trie::~trie): New function.
4823         (hyphen_trie::~hyphen_trie): New function.
4824         (trie::clear): No need to chcek that tp is not 0.
4825         (current_language, language_dictionary): New variables.
4826         (hyphen_word): Give an error if no current language.  Use
4827         exceptions dictionary in current language.
4828         (hyphen_trie::read_patterns_file): Find file using macro_path.
4829         Allow comments (starting with %) in patterns file.  Don't make it
4830         a fatal error if the file can't be found.
4831         (hyphenate): Return if no current language.  Get the exceptions
4832         dictionary and the hyphenation patterns from the current language.
4833         (set_hyphenation_language): New variable.
4834         (hyphenation_patterns_file): New function.
4835         (hyphenation_language_reg): New class.
4836         (hyphenation_language_reg::get_string): New function.
4837         (init_hyphen_requests): Bind "hla" to set_hyphenation_language and
4838         "hpf" to hyphenation_patterns_file.  Initialize `.hla' number
4839         register.
4840         * groff/groff.cc (main, help, synopsis): Delete -H option.
4841         * include/Makefile.sub: Don't define HYPHENFILE.
4842         * Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
4843         * Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
4844         * tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
4845         hyphenation patterns.
4847 Sun Sep 20 09:33:02 1992  James Clark  (jjc at jclark)
4849         * eqn/neqn.sh: New file.
4850         * eqn/Makefile.sub: Handle neqn.sh.
4852         * eqn/eqn.h: Declare `nroff' variable.
4853         * eqn/box.cc (param_table): Add `nroff' param.
4854         (nroff): Define it.
4855         * eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
4856         variable.
4857         * tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.
4859         * troff/troff.h (WARN_FONT): New warning.
4860         (WARN_TOTAL): Change accordingly.
4861         * troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
4862         (warning_table): Add WARN_FONT.
4863         * troff/node.cc (mount_font_no_translate): Pass argument to
4864         font::load_font.  If this is non-zero, give a warning.
4865         Don't give an error message when accessing a font that has already
4866         been found to be invalid.
4867         * include/font.h (font::load, font::load_font): Add additional
4868         optional argument which suppresses error message if the font is
4869         not found.
4870         * libgroff/font.cc (font::load_font): Handle additional argument.
4871         (font::load): Add additional argument. If this is non-null, set it
4872         to 1 and don't give error message.
4874         * include/printer.h (printer::end_page): Add argument giving
4875         length of page.
4876         * libdriver/input.cc (do_file): Pass this.
4877         * grops/ps.cc (ps_printer::end_page): Add argument.
4878         * grodvi/dvi.cc (dvi_printer::end_page,
4879         draw_dvi_printer::end_page): Add argument.
4880         * grotty/tty.cc (class tty_printer): Remove lines_per_page and
4881         columns_per_page members. New member nlines.
4882         (DEFAULT_LINES_PER_PAGE): Deleted.
4883         (tty_printer::tty_printer): Don't compute lines_per_page from
4884         font::paperlength. Don't compute columns_per_page from
4885         font::paperwidth.
4886         (tty_printer::add_char): Don't check horizontal position against
4887         columns_per_page. Grow glyphs vector if neccessary.
4888         (tty_printer::end_page): Add argument giving page_length in units.
4889         Discard lines past end of page.
4891 Wed Sep 16 06:29:52 1992  James Clark  (jjc at jclark)
4893         * tmac/tmac.tty-char: Fix definition of \(/l.
4895         * tmac/tmac.X: Define \(en.
4897 Tue Sep 15 10:37:13 1992  James Clark  (jjc at jclark)
4899         * acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
4900         lpq, then use lp rather than lpr.
4902         * tmac/tmac.s (par@reset): Don't call `ad'.
4903         (par*env-init): Call `ad'.
4905 Sun Sep 13 18:48:20 1992  James Clark  (jjc at jclark)
4907         * mdate.sh: Use $(NF) instead of $6 to extract year from output of
4908         date.
4910         * troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
4911         * indxbib/indxbib.cc: Likewise.
4913 Sun Sep  6 09:44:46 1992  James Clark  (jjc at jclark)
4915         * libgroff/putenv.c: New file.
4916         * libgroff/Makefile.sub: Add putenv.c to CSRCS.
4917         * Makefile.in: Say that putenv.o can be one of LIBOBJS.
4918         * configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
4919         stdlib.h with AC_HAVE_HEADERS.
4921 Sat Sep  5 18:11:52 1992  James Clark  (jjc at jclark)
4923         * indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
4924         does not exist.
4926 Fri Sep  4 09:43:26 1992  James Clark  (jjc at jclark)
4928         * eqn/box.cc (gsize): Make it an int.
4929         (set_gsize): Parse argument handling increment or decrement.
4930         (box::top_level): Convert gsize to a string.
4932         * troff/input.cc (exit_troff): Make buf unsigned char [].
4933         Call to make_temp_iterator casts buf to char*.
4935         * Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.
4937         * Makefile.ccpg (depend.temp): Depends on $(YTABC).
4938         * Makefile.cpg (depend.temp): Likewise.
4940         * Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).
4942         * Makefile.comm: Add y.output to MOSTLYCLEANFILES.
4944 Thu Sep  3 08:01:55 1992  James Clark  (jjc at jclark)
4946         * tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.
4948 Tue Sep  1 18:24:53 1992  James Clark  (jjc at jclark)
4950         * Version 1.06 released.
4952         * Integrate mm 1.04.
4954 Fri Aug 28 11:28:19 1992  James Clark  (jjc at jclark)
4956         * Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.
4958 Thu Aug 27 11:03:33 1992  James Clark  (jjc at jclark)
4960         * afmtodit/afmtodit.pl: Add -n option that disables generation of
4961         ligatures command.
4962         * devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
4963         afmtodit. Regenerate.
4965         * tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
4966         @f back past the current position.
4968         * tmac/tmac.e: Change calls to @R so that comments are not part of
4969         arguments.
4971 Tue Aug 25 10:42:07 1992  James Clark  (jjc at jclark)
4973         * configure.in: Check for mkstemp with AC_HAVE_FUNCS.
4975         * acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
4976         check that we can link a call to a function declared in <stdio.h>.
4977         (GROFF_UNISTD_H): New macro.
4978         * configure.in: Call it.
4979         * Makefile.in: Document it.
4980         * include/posix.h: New file.
4981         * troff/troff.h: Don't include <osfcn.h>
4982         * troff/input.cc: Include posix.h.
4983         * libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
4984         osfcn.h.
4985         * indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
4986         Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
4987         <fcntl.h>.
4988         * indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
4989         * libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
4990         * libbib/search.cc (O_RDONLY): Delete definition.
4991         * refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
4992         Don't include <osfcn.h>.
4994         * acgroff.m4 (GROFF_TIME_T): New macro.
4995         * configure.in: Call it.
4996         * Makefile.in: Document it.
4998         * acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
4999         * configure.in: Call it.
5000         * Makefile.in: Document -DTRADITIONAL_CPP.
5001         * include/ptable.h: Don't include generic.h.
5002         (name2): Define it.
5004         * tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
5005         Afterwards remove [T1 and [T2.
5006         (ref*spec!0, ref*spec!2): Use T1 rather than T.
5007         (ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
5008         (ref*add-T2): Renamed from ref*add-T.
5009         (ref*add-T1): New macro.
5011 Mon Aug 24 11:11:11 1992  James Clark  (jjc at jclark)
5013         * acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.
5015         * libbib/index.cc: Include <fcntl.h>.
5016         (O_RDONLY): Define if necessary.
5017         (make_index_search_item, index_search_item_iterator::get_tag,
5018         index_search_item::check_files): Use O_RDONLY.
5019         * libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
5020         (O_RDONLY): Define if necessary.
5021         (search_list::add_file): Use O_RDONLY.
5022         * indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
5023         <sys/stat.h>.
5024         (S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
5025         (main): Use these.
5027         * libbib/index.cc (S_ISREG): Define it if necessary.
5028         (index_search_item::load): Use S_ISREG.
5030         * include/driver.h: Include <errno.h>.
5032 Sun Aug 23 11:32:18 1992  James Clark  (jjc at jclark)
5034         * eqn/box.cc (body_height): Increase default value to 85.
5035         (body_depth): Increase default value to 35.
5037 Fri Aug 21 05:34:42 1992  James Clark  (jjc at jclark)
5039         * eqn/pbox.h (SAVE_FONT_STRING): Define it.
5040         * eqn/box.cc (box::top_level): Hide use of \R in a string that is
5041         protected from expansion with \E.
5043         * acgroff.m4 (GROFF_PAGE): Use `case' to test domain.
5045         * Makefile (Makefile): New target.
5047         * Makefile.sub (configure, distfiles): New targets.
5049         * acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
5050         construct.
5052 Thu Aug 20 12:27:26 1992  James Clark  (jjc at jclark)
5054         * eqn/box.cc (param_table): Add body_height and body_depth.
5056         * eqn/lex.cc (def_table): Make circumflex in hat_def roman.
5058 Tue Aug 18 16:24:25 1992  James Clark  (jjc at jclark)
5060         * psbb/Makefile.sub: Don't link with libgroff.a.
5062         * acgroff.m4 (GROFF_PUTENV): New macro.
5063         * configure.in: Call GROFF_PUTENV.
5064         * Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
5065         * groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
5066         is defined.
5068         * troff/env.cc (distribute_space): Rename force_forward argument
5069         to force_reverse.  Reverse the list if force_reverse is true.
5071 Mon Aug 17 17:49:05 1992  James Clark  (jjc at jclark)
5073         * tmac/tmac.an: Don't define a string `T'. Just define Tm.
5075         * eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
5076         height or depth to be negative.  Guard against SUP_RAISE quantity
5077         being negative.
5079 Sat Aug 15 08:18:54 1992  James Clark  (jjc at jclark)
5081         * devps/generate/textmap: Add `an' (arrowhorizex).
5082         * tmac/tmac.ps: \(an overlaps horizontally.
5083         * tmac/tmac.dvi, tmac/tmac.tty: Add `an'.
5085         * devps/symbolchars: Add arrowverttp, arrowvertbt.
5086         * devps/textmap: Add arrowvertex.
5087         * eqn/delim.cc (delim_table): Add uparrow, downarrow and
5088         updownarrow delimiters.
5089         * tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.
5091         * tbl/table.cc (simple_entry::position_vertically,
5092         block_entry::position_vertically):  For a centered entry, perform
5093         the motion in two stages.
5095         * refer/refer.cc (split_punct): Don't call lookup_token if there
5096         is no token.
5098 Fri Aug 14 11:14:58 1992  James Clark  (jjc at jclark)
5100         * troff/input.cc (token::next): Delete token_node after copying
5101         token.
5103         * grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
5104         cur_point_size.
5106         * libdriver/printer.cc (printer::load_font): Delete old_font_table.
5108         * grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.
5110 Tue Aug 11 13:50:38 1992  James Clark  (jjc at jclark)
5112         * grops/ps.cc (usage): -b option takes an argument.
5114         * devps/prologue (PLG): New procedure.
5115         * grops/ps.cc (main, usage): New -g option.
5116         (ps_printer::~ps_printer):  If guess_flag is set, guess the paper
5117         length using PLG.
5119 Mon Aug 10 11:17:53 1992  James Clark  (jjc at jclark)
5121         * include/cset.h: Include <limits.h> if we have it.
5123         * libgroff/illegal.cc: New file.
5124         * include/lib.h (illegal_input_char): Use table.
5125         * troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
5126         * pic/lex.cc (ARG1): Renumber to 14.
5127         * eqn/lex.cc (ARG1: Likewise.
5129         * troff/Makefile.sub (majorminor.cc): Handle 3 part versions
5130         (eg 1.05.90) correctly.
5132 Sun Aug  9 13:35:43 1992  James Clark  (jjc at jclark)
5134         * tmac/tmac.e (sr): Deleted. Set $r and $R directly.
5135         Rename $r and $R registers to $v and $V.
5136         ($r, $R): Initialize to 0.
5137         (@v, @V): New macros.
5138         (sz): Call @v.
5139         (@M): Call @V.
5141         * troff/input.cc (main, usage): Add -R option that says not to
5142         load troffrc.
5143         * eqn/main.cc (main, usage): Rename -n to -R.
5145 Sat Aug  8 00:16:00 1992  James Clark  (jjc at jclark)
5147         * devps/DESC.in: Leave font positions 5-9 blank.
5148         * devdvi/DESC.in: Likewise.
5150         * grog/grog.pl: Handle `.PS <file' correctly.
5152         * troff/input.cc (input_stack::push): Improve error message when
5153         input stack limit exceeded.
5155 Fri Aug  7 13:08:16 1992  James Clark  (jjc at jclark)
5157         * refer/refer.cc (main): Fix typo in handling of `a' option.
5159         * refer/refer.cc (do_bib): In state START after a newline remain
5160         in state START.
5162         * groff/groff.sh: Deleted.
5163         * groff/Makefile.sub: Delete handling of groff.sh.
5165         * pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
5166         to determine whether to use \X'ps:...'.
5167         * tmac/troffrc: Set 0p register to 0.
5168         * tmac/tmac.ps: Set 0p register to 1.
5170         * groff/groff.cc: Support -X option. Give warning for -TXps and
5171         transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
5172         * tmac/troffrc: Support -r.X=1.
5174         * pic/troff.cc (troff_output::dot): Don't test
5175         zero_length_line_flag.
5177 Thu Aug  6 13:32:08 1992  James Clark  (jjc at jclark)
5179         * include/lib.h: Declare getopt() and friends unless
5180         STDLIB_H_DECLARES_GETOPT is defined.
5182         * doc/chars.tr: Delete.
5183         * man/groff_char.man: New file.
5185 Wed Aug  5 00:38:58 1992  James Clark  (jjc at jclark)
5187         * tmac/tmac.e (np, bu): Test \n($p with string expression in case
5188         user has changed register format.
5190 Mon Aug  3 11:22:18 1992  James Clark  (jjc at jclark)
5192         * groff/groff.cc: Get rid of device_table.  Get postprocessor from
5193         `postpro' command in DESC file.  Get spooler command from `print'
5194         command in DESC file.  Execute spooler command with /bin/sh.
5196         * groff/groff.cc: Split Unix-specific parts into...
5197         * groff/pipeline.c: New file.
5199         * LICENSE: Delete.
5200         * COPYING: New file.
5201         * all files: Update copyright notices.
5203         * Rearrange files.  Redo Makefiles.  Use autoconf.
5205 Sat Aug  1 09:36:50 1992  James Clark  (jjc at jclark)
5207         * troff/input.c (charinfo_to_node_list): Interpret character
5208         definition with escape_char of `\'.
5210 Tue Jul 28 12:20:12 1992  James Clark  (jjc at jclark)
5212         * lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
5213         Define INT_DIGITS as big enough for 64-bit integer.
5214         * lib/strtol.c: Don't include lib.h.
5215         * lib/lib.h: Delete ifdef __cplusplus stuff.
5217 Mon Jul 27 11:08:50 1992  James Clark  (jjc at jclark)
5219         * ps/devps/Makefile: Add DESC to DEVICEFILES.  Separate out rule
5220         for making DESC.  Make $(FONTS) depend on DESC. afmtodit should
5221         get DESC from current directory.
5223 Sun Jul 26 15:38:26 1992  James Clark  (jjc at jclark)
5225         * tbl/main.c (main): Always reset the line number when reading
5226         from stdin.
5228         * tbl/table.c (table::print_single_hline, table::print_double_hline,
5229         table::define_bottom_macro, table::do_row, table::do_top): Round
5230         vertical spacing up to vertical resolution.
5232 Fri Jul 24 14:32:07 1992  James Clark  (jjc at jclark)
5234         * ps/ps.h (enum resource_type): Avoid comma at end of
5235         enumerator-list.
5236         * dvi/dvi.c (class dvi_printer): Likewise.
5237         * dvi/tfmtodit.c (gf::load): Likewise.
5238         * refer/label.y (struct expression): Likewise.
5239         * refer/refer.c (class label_processing_state): Likewise.
5240         * refer/indxbib.c (do_file): Likewise.
5241         * troff/troff.c (enum warning_type): Likewise.
5242         * tbl/main.c (process_data): Likewise.
5243         * troff/charinfo.h (class charinfo):
5245 Wed Jul 22 09:17:58 1992  James Clark  (jjc at jclark)
5247         * dvi/devdvi/textt.map: Add entry for `-'.  Regenerate fonts.
5249 Tue Jul 21 11:39:26 1992  James Clark  (jjc at jclark)
5251         * groff.c: Move to new groff subdirectory.
5252         * groff/Makefile: New file.
5253         * Makefile: Remove handling of groff.c. Add groff to SUBDIRS.
5255         * man/mdate.sh: Use ls -L if supported.
5257         * Consolidate all header files produced by gendef into lib/defs.h.
5258         * lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
5259         Don't include path.h.
5260         * lib/Makefile (path.h): Don't generate.
5261         * troff/input.c: Include defs.h. Don't include config.h.
5262         * troff/Makefile (config.h): Don't generate.
5263         * refer/index.h: Don't include suffix.h.
5264         * refer/index.c: Include defs.h.
5265         * refer/indxbib.c: Include defs.h.
5266         * refer/refer.h, refer/lkbib.h: Don't include path.h. Include
5267         defs.h.
5268         * refer/Makefile (suffix.h, path.h): Don't generate.
5269         * groff.c: Don't include config.h. Include defs.h.
5270         * Makefile (config.h): Don't generate.
5271         (lib/defs.h): Generate.
5272         (topclean): Remove lib/defs.h.
5274 Mon Jul 20 10:12:57 1992  James Clark  (jjc at jclark)
5276         * lib/malloc.c, lib/getpagesize.h: Deleted.
5277         * Makefile: Add COOKIE_BUG configuration option.  Delete malloc
5278         related stuff.
5279         * lib/Makefile: Delete malloc-related stuff.
5280         * lib/new.c: Workaround COOKIE_BUG if necessary.
5282         * refer/lkbib.c, refer/indxbib.c: Don't include refer.h.  Include
5283         needed header files directly.
5284         * refer/refer.h: Omit definition of DEFAULT_INDEX.
5285         * Makefile: Include definition of DEFAULT_INDEX in path.h.
5287 Sun Jul 19 10:19:22 1992  James Clark  (jjc at jclark)
5289         * lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
5290         argument.
5291         * lib/font (font::load_desc, font::load): Don't split argument of
5292         unknown command.
5293         (font::handle_unknown_font_command): Change type.
5294         * ps/ps.c (ps_font::handle_unknown_font_command,
5295         handle_unknown_desc_command): Change type.
5296         * dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.
5298 Fri Jul 17 11:12:49 1992  James Clark  (jjc at jclark)
5300         * lib/font.h (font::handle_unknown_font_command): Add file and
5301         line arguments.
5302         * lib/font.c (font::handle_unknown_font_command):
5303         * ps/ps.c (ps_font::handle_unknown_font_command):
5304         * dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
5305         lineno arguments.  Use _with_file_and_line functions for error
5306         reporting.
5308         * lib/fontfile.c (font::unknown_desc_command_handler): New static
5309         data member.
5310         * lib/font.c (font::set_unknown_desc_command_handler): New
5311         function.
5312         (font::load_desc): For unknown commands, call
5313         unknown_desc_command_handler if not null.
5314         * lib/font.h (class font): Declare them.
5315         (FONT_COMMAND_HANDLER): New typedef.
5316         * ps/ps.c (handle_unknown_desc_command): New function.
5317         (main): Set bflag if we had a -b option. Call
5318         font::set_unknown_desc_command_handler.
5319         (broken.h): Don't include.
5320         * ps/Makefile: No need for broken.h.  Pass BROKEN_SPOOLER_FLAGS to
5321         submake 
5322         * ps/devps/Makefile: Add `broken' command to DESC file using
5323         BROKEN_SPOOLER_FLAGS.
5325         * macros/tmac.e ([, ]): Add as synonyms for { and }.
5327         * macros/tmac.e ($p): Only exdent if \$3 > 0.
5329         * macros/tmac.e (@R, @S): New macros.
5330         Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
5331         ?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
5332         Declare $H, $[0-9], .. macros with @S.
5333         Declare |0, |1, |2, |3 strings with @S.
5335         * macros/tmac.e (@S): Rename to @U.
5337         * macros/tmac.e (@z): Define @b and bp as empty instead of
5338         deleting them,
5340         * macros/tmac.e (@m): Deleted.
5341         (@h): Don't call @m.
5342         (@z): Don't set @m trap.
5344         * macros/tmac.e ($h, $f): Define |z as empty string.
5346         * macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
5347         (@q): Likewise.
5349         * macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
5350         removing them.
5351         ()f): Likewise for * register.
5353         * macros/tmac.e (sr): Don't ever scale the arguments. If the third
5354         argument is missing, don't change $R.  Call sr with three
5355         arguments when initializing.
5357 Thu Jul 16 12:17:12 1992  James Clark  (jjc at jclark)
5359         * macros/tmac.e (sr): New macro.
5360         Initialize $r and $R using sr.
5362         * macros/tmac.e (,): Delete \*(#[.
5364         * troff/env.c (set_tabs): Read the tab type even if the position
5365         is bad.  Allow the position of the first tab stop to be negative.
5367 Wed Jul 15 13:14:37 1992  James Clark  (jjc at jclark)
5369         * refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
5370         _POSIX_VERSION.
5371         * refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
5372         rather than -DPATHCONF_MISSING.
5373         * Makefile: Get rid of PATHCONF_MISSING.
5375         * refer/map.c: New file.
5376         * refer/index.c: Interface to mmap through map.c.  Rename map_size
5377         to map_len.
5378         * refer/Makefile: Handle map.c.
5379         * Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.
5381 Tue Jul 14 14:15:20 1992  James Clark  (jjc at jclark)
5383         * Makefile: RANLIB should be `true' if there is no ranlib.
5384         * lib/Makefile (libgroff.a): Simplify.
5385         * driver/Makefile (libdriver.a): Simplify.
5387         * Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
5388         * groff.c (WCOREDUMP): Use WCOREFLAG.  Define only if not already
5389         defined.
5391 Sat Jul 11 09:19:17 1992  James Clark  (jjc at jclark)
5393         * troff/env.c (compare_ranges): Declare as extern "C".
5395         * troff/input.c (init_registers): Use `struct tm' instead of `tm'.
5397         * macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.
5399 Wed Jul  8 11:52:27 1992  James Clark  (jjc at jclark)
5401         * pic/troff.c (troff_output::text): Merge in grops_output::text,
5402         but conditionalize use of \X based on \*(.T.
5403         (grops_output::*): Deleted.
5404         * pic/output.h: Delete declaration of make_grops_output.
5405         * pic/main.c (main): Ignore -p and -x.  driver_extension_flag is 1
5406         by default. -n sets it to 0.
5407         (usage): Corresponding changes.
5408         * groff.c (main): Don't pass -x or -p to pic.
5409         * groff.sh: Likewise.
5411         * ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
5412         to be non-zero.
5414         * ps/devps/afmtodit: Change calculation of asc_boundary and
5415         desc_boundary.  Make these bounds inclusive.
5416         * ps/devps: Regenerate font files.
5418 Tue Jul  7 13:14:15 1992  James Clark  (jjc at jclark)
5420         * macros/tmac.latin1: New file.
5421         * macros/tmac.tty-char: Use tmac.latin1.
5422         (tmac.tty-tr): Deleted.
5423         * macros/Makefile: Install tmac.latin1.
5424         * macros/tmac.dvi: Use tmac.latin1.
5425         * macros/troffrc: Translate \[char160] onto no-break space here.
5426         * macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.
5428 Mon Jul  6 11:06:52 1992  James Clark  (jjc at jclark)
5430         * macros/tmac.Xps: Use `do' request.
5432         * macros/tmac.ps: Use `do' request.
5434         * macros/tmac.e (@C): Use `do' request.
5436         * macros/tmac.X, macros/tmac.Xps: Moved from xditview.
5437         * macros/Makefile: Install tmac.X*.
5439         * tty/tmac.tty, tty/tmac.tty-char: Move to macros.
5440         * tty/Makefile: Don't install tmac.tty*.
5441         * macros/Makefile: Install tmac.tty*.
5443         * dvi/tmac.dvi: Move to macros.
5444         * dvi/Makefile: Don't install tmac.dvi.
5445         * macros/Makefile: Install tmac.dvi.
5447         * ps/tmac.ps*: Move to macros.
5448         * ps/Makefile: Don't install tmac.ps*.
5449         * macros/Makefile: Install tmac.ps*.
5451         * eqn/box.c: Provide draw_lines parameter corresponding to -D
5452         option.
5453         * macros/eqnrc: Set draw_lines parameter based on device.
5454         * groff.c: Don't pass -D flag to eqn.
5455         * groff.sh: Likewise.
5456         * eqn/main.c: Warn about use of -D.
5458         * troff/input.c (process_startup_file): New function.
5459         (main): Call process_startup_file().
5460         * macros/troffrc: New file.
5461         * macros/Makefile: Install troffrc.
5462         * groff.c (main): Don't pass extra -m option to troff. For a 
5463         pseudo device pass the name of the pseudo device to troff using
5464         -d.
5465         * groff.sh: Likewise.
5466         * groff.c (possible_command::prepend_arg): Deleted.
5468         * troff/input.c (do_request): New function.
5469         (init_input_requests): Bind "do" to do_request.
5471         * eqn/main.c (main): Instead of loading eqnchar from device directory,
5472         load eqnrc from macro directory.
5473         * macros/eqnrc: New file.
5474         * macros/Makefile: Install eqnrc.
5475         * ps/devps/eqnchar: Deleted.
5476         * ps/devps/Makefile: Don't install eqnchar.
5477         * dvi/devdvi/eqnchar: Deleted.
5478         * dvi/devdvi/Makefile: Don't install eqnchar.
5479         * groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
5480         variable optM.
5482         * lib/device.[ch]: New files.
5483         * lib/font.h (font::set_device_name, font::get_device_name):
5484         Deleted.
5485         * lib/fontfile.c: Use device.h.
5486         * lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
5487         * troff/input.c: Delete definition of `device'.
5488         (main): Don't initialize device.
5489         * troff/troff.h: Include device.h rather than declaring device.
5490         * troff/Makefile: No need to handle DEVICE.
5491         * driver/input.c: Include device.h. Don't use
5492         font::{set,get}_device_name.
5493         * groff.c, Makefile: Rename device.h to config.h.
5494         * groff.c: Use library device variable.
5495         * eqn/main.c: Use library device variable.
5496         * eqn/Makefile: No need to handle DEVICE.
5498         * lib/searchpath.[ch]: New files.
5499         * lib/Makefile: Handle searchpath.[ch].
5500         * troff/input.c (open_file, init_dirs): Deleted.
5501         (macro_dirs): Deleted.
5502         (open_mac_file, macro_source): Use class search_path.
5503         (add_string, struct string_list): Move definition.
5504         (main): Change -M option to use macro_path. Delete call to
5505         init_dirs().
5506         * lib/fontfile.c (font::command_line_font_dir, font::open_file):
5507         Rewrite to use class search_path.
5508         * lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
5509         * lib/Makefile: fontfile.c depends on searchpath.h.
5510         * lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
5511         MACROPATH.
5512         * lib/macropath.[ch]: New files.
5513         * troff/Makefile: No need to handle MACROPATH.
5515         * troff/input.c: Delete DUMP code.
5516         * lib/fontfile.c, lib/font.h: Delete
5517         font::forget_command_line_font_dirs.
5519         * troff/input.c (push_token): New function.
5520         (handle_first_page_transition): Use push_token().
5521         (process_input_stack): Change handling of a space at the beginning
5522         of the line.
5524 Sun Jul  5 17:11:09 1992  James Clark  (jjc at jclark)
5526         * troff/input.c (font_dirs): Delete unused variable.
5528         * eqn/lex.c (do_set): Correct error messages.
5530 Sat Jul  4 10:20:55 1992  James Clark  (jjc at jclark)
5532         * troff/input.c (do_define_string): Allow the string name to be
5533         followed immediately by a tab.
5534         (define_character): Likewise.
5536 Thu Jul  2 10:59:15 1992  James Clark  (jjc at jclark)
5538         * ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
5539         be negative.
5541         * troff/input.c (input_iterator::is_file): New virtual function.
5542         (file_iterator::is_file): New function.
5543         (input_stack::end_file): New function.
5544         (input_stack::next_file): Handle the situation where there is no
5545         file on the input stack correctly.  Avoid making two passes over
5546         the input stack.
5547         (next_file): Make the filename optional; in this case call
5548         input_stack::end_file().
5550 Wed Jul  1 10:17:25 1992  James Clark  (jjc at jclark)
5552         * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
5553         produce a real _ charater when the current font is CW and _
5554         otherwise.
5556         * lib/errarg.c (errarg::errarg(const char *)): Invert conditional
5557         expression to work around gcc 2.2 bug.
5559 Wed Jun 24 08:12:24 1992  James Clark  (jjc at jclark)
5561         * eqn/main.c (main): Don't give an error if we can't find eqnchar.
5563         * troff/env.c (environment::add_padding): New function.
5564         (environment::add_char): Use add_padding().
5565         (environment::space): Likewise.
5566         (environment::wrap_up_field): Add some padding if there is none
5567         and there's no current tab.
5568         * troff/env.h: Declare environment::add_padding.
5570 Mon Jun 22 08:37:45 1992  James Clark  (jjc@jclark)
5572         * pic/pic.y: undef fmod and rand before declaring them.
5574 Sun Jun 14 11:40:18 1992  James Clark  (jjc@jclark)
5576         * troff/input.c (main): If the DESC file specifies a font name of
5577         0, then leave the corresponding font position empty.
5579         * nroff.sh: New file.
5580         * Makefile (install.nobin): Install nroff.sh.
5582         * tty/devlatin1/R.proto: Add ao as synonym for de.
5583         * tty/tmac.tty-char: Define ao as o.
5585         * tty/dev{ascii,latin1}/R.proto: Add aq.
5586         * tty/tmac.tty-char: Delete definition of aq.
5588 Mon Jun  8 11:43:20 1992  James Clark  (jjc@jclark)
5590         * troff/input.c (init_charset_table): Don't translate 0240.
5591         * ps/tmac.ps: Translate char160 to space.
5592         * dvi/tmac.dvi: Likewise.
5593         * tty/tmac.tty: Likewise.
5595 Sun Jun  7 10:52:35 1992  James Clark  (jjc@jclark)
5597         * dvi/tmac.dvi: Add support for all Latin-1 characters.
5599         * macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
5600         \(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
5601         \(oe, \(r?, \(r!.
5603         * tty/tmac.tty-char: Add \(ah.
5605         * dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
5606         No need to define \(FM and \(!/. Conditionalize all character
5607         definitions.
5609         * ps/devps/lgreekmap: Add +h, +f, +p.
5611         * ps/tmac.psnew: New file.
5612         * ps/Makefile: Install tmac.psnew.
5614         * troff/input.c (charinfo_to_node_list): Don't ever interpret
5615         character definitions in compatible mode.
5617         * troff/input.c (remove_character): New function.
5618         (init_input_requests): Bind remove_character to "rchar".
5620         * ps/tmac.psold: New file.
5621         * ps/Makefile: Install tmac.psold.
5622         * ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
5623         characters into tmac.psold.  Make these definitions unconditional.
5625         * tty/tmac.tty-char: Define \n(_C only if it is not already defined.
5627         * ps/tmac.ps: Don't define \('c and \('C.
5629         * ps/devps/textmap: Move Greek characters to...
5630         * ps/devps/symbolchars:
5632 Sat Jun  6 16:41:17 1992  James Clark  (jjc@jclark)
5634         * ps/devps/text.enc: Add quotesingle.
5635         * ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
5636         * tty/tmac.tty-char: Likewise.
5637         * dvi/devdvi/texmi.map: Add +h, +f, +p.
5638         * dvi/devdvi/texi.map: Add Fn.
5639         * dvi/devdvi/msam.map: Add lz.
5640         * dvi/tmac.dvi: Handle Bq, bq, aq.
5642         * pic/lex.c (get_token): Recognize 'th.
5643         * pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.
5645 Fri Jun  5 11:20:46 1992  James Clark  (jjc@jclark)
5647         * ps/devps/textmap: Move di, mu, +- to...
5648         * ps/devps/symbolchars:
5650         * macros/tmac.s (@XS): Don't call par@reset or fi.
5651         (XA): Call LP. Turn off adjustment. Reduce line length.
5653         * macros/tmac.s: Initially alias XS to LP.
5654         (XS): Rename to @XS.
5655         (cov*ab-init): Alias XS to @XS.
5657 Thu Jun  4 09:12:05 1992  James Clark  (jjc@jclark)
5659         * troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
5660         TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
5661         (token::is_size, token::changes_env): Deleted.
5662         * troff/number.c (parse_term): No need to process \s explicitly.
5663         Call tok.next() only after scale indicator has been processed.
5664         * troff/input.c (do_overstrike, do_bracket): No need to process \s,
5665         \f etc explicitly.
5666         (token::next): Handle \s, \f, \S, \H immediately rather than
5667         returning them as tokens.
5668         (token::operator==, token::description, token::add_to_node_list,
5669         token::process): Remove handling of deleted tokens.
5671         * troff/env.c (environment::add_char): When adding padding
5672         indicator character, call start_line() if necessary.
5674 Wed Jun  3 09:55:50 1992  James Clark  (jjc@jclark)
5676         * ps/devps/afmtodit: Don't output 0 kerns.
5678         * ps/devps/afmtodit: Remove directory from name of encoding in
5679         font description file.
5681         * ps/devps/afmtodit: Improve error messages.
5683         * ps/devps/afmtodit: Allow DESC file to be specified with -d.
5685         * ps/devps/Makefile: Incorporate FontMakefile. Rework.
5686         * ps/devps/FontMakefile: Deleted.
5687         * ps/devps/afmname: New file.
5689         * ps/devps/symbol.sed: New file.
5690         * ps/devps/symbol.diff: Deleted.
5691         * ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
5692         Generate zapfdr.afm from zapfd.afm.
5694         * tty/tmac.tty (tty-char): Prefix definition with ".
5696         * macros/tmac.an (TP): Don't start a diversion if one has already
5697         been started.
5699         * tty/tmac.tty-char: Add Latin-1 characters.
5701         * tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.
5703 Tue Jun  2 00:54:34 1992  James Clark  (jjc@jclark)
5705         * tbl/table.c (table::allocate): Delete old_vline, old_entry.
5706         Move declaration of struct horizontal_span.
5708         * tbl/table.c (table::table): Initialize span_list.
5709         (table::~table): Delete span_list.
5711         * lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.
5713         * ps/devps/Makefile: Avoid dependency on GNU make.
5715         * ps/tmac.ps: Check that character does not already exist before
5716         defining it.
5718         * tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
5719         \(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
5720         \(ru, \(ul, \(br, \(bv, \(sl which are in the font description
5721         files.
5723         * tty/tmac.tty-char: New file.
5724         * tty/Makefile: Install tmac.tty-char.
5725         * tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
5726         tmac.tty-char.
5728         * tty/tmac.tty: Fix definition of \(34.
5730         * tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
5731         bracket-drawing characters onto |. Add *o.
5733         * troff/env.c (environment::wrap_up_tab): Increment field_spaces
5734         only if current_field.
5736         * troff/dictionary.c (dictionary::lookup): Free old_table after
5737         rehashing. 
5739 Mon Jun  1 10:15:22 1992  James Clark  (jjc@jclark)
5741         * tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
5742         whose glyphs are identical to glyphs of some Roman character.
5744         * tty/devlatin1/R.proto (bu): Deleted.
5745         * tty/devascii/R.proto (bu): Deleted.
5746         * tty/tmac.tty: Add definition of \(bu.
5748         * eqn/main.c (do_file): Pass FILE as argument.
5749         (main): Automatically load eqnchar.  New options -F and -n.
5750         Pass do_file an opened FILE.
5751         * groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
5752         No need to include font.h.
5753         * groff.sh: Likewise.  Don't need to use - for standard input.
5754         Prefix files with -- if first file starts with -.
5756         * macros/tmac.e: Conditionalize use of \$* on \n(.g.
5758         * troff/env.c (environment::possibly_break_line): Don't set line
5759         to 0 across call to output_line().  Don't call output_line() until
5760         after discarding nodes after break.
5762 Sun May 31 10:45:29 1992  James Clark  (jjc@jclark)
5764         * request.h (macro::empty): Declare it.
5765         * input.c (macro::empty): New method.
5766         (interpolate_macro):  Don't give a WARN_SPACE if the two-character
5767         macro is empty.
5769 Sat May 30 10:27:15 1992  James Clark  (jjc@jclark)
5771         * troff/env.c (environment::start_field): Decrement space_total
5772         when a space is frozen.
5774 Fri May 22 14:34:38 1992  James Clark  (jjc@jclark)
5776         * macros/tmac.an (R): Delete macro.
5778         * troff/input.c (get_copy, token::next): Support \# (like \" but
5779         newline is ignored).
5781         * troff/input.c (token::next): Fix error message in 'Y' case.
5783 Thu May 21 09:26:24 1992  James Clark  (jjc@jclark)
5785         * eqn/delim.c (define_extensible_string): Recognize any prefix of
5786         a delimiter name.
5788 Fri May 15 10:20:41 1992  James Clark  (jjc at jclark)
5790         * c++test.c: Include <osfcn.h>.
5792         * lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
5793         <errno.h> doesn't.
5795 Fri May  8 09:37:19 1992  James Clark  (jjc at jclark)
5797         * tbl/table.c (table::divide_span): Don't count column separation
5798         if expand was specified.
5800         * tbl/main.c (process_format): Don't ignore width specs in
5801         continued format.  Give warning for changing equal widths or
5802         column separation in continued format.
5803         (process_data): Set column separation, minimum width, equal
5804         columns at end of table.
5806 Thu May  7 08:50:40 1992  James Clark  (jjc at jclark)
5808         * troff/node.c (kern_pair_node::add_discretionary_hyphen,
5809         node::add_discretionary_hyphen): Use soft_hyphen_char.
5810         (set_soft_hyphen_char): New function.
5811         (init_node_requests): Bind to shc.  Initialize soft_hyphen_char.
5813         * Makefile (c++tested): Give more helpful message if test fails.
5815 Tue May  5 10:58:39 1992  James Clark  (jjc at jclark)
5817         * troff/input.c (init_charset_table): Translate 0240 to
5818         an unbreakable space.
5820         * troff/token.h (token::hyphen_indicator): New function.
5821         * troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
5822         translation.
5823         * troff/input.c (translate): Allow translation to \%.
5824         * troff/node.c (node::add_char): Handle
5825         TRANSLATE_HYPHEN_INDICATOR.     
5826         (make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.
5828         * troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
5829         for \(hy.
5831         * tty/devlatin1/R.proto: \(hy and - should print as 055.
5833 Tue Apr 21 09:24:42 1992  James Clark  (jjc at jclark)
5835         * groff.c (run_commands): If the last command gets a SIGPIPE send
5836         a SIGPIPE to all children than haven't yet terminated.  When
5837         command terminates, set pid field to -1.
5839 Fri Apr 17 11:20:48 1992  James Clark  (jjc at jclark)
5841         * groff.c (main): Pass an appropriate -filename option to gxditview.
5843 Thu Apr 16 15:11:40 1992  James Clark  (jjc at jclark)
5845         * Makefile.bd (install): Remove existing program before copying.
5847         * Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
5848         programs which have Unix counterparts to be installed with
5849         user-specified prefix.
5851         * troff/input.c (exit_troff): Don't check if exit_started.
5852         (exit_request): Don't call exit_troff if exit_started.
5854         * Makefile.bd (install.mm): Rename to install.dwbmm.
5856 Tue Apr 14 10:05:10 1992  James Clark  (jjc at jclark)
5858         * driver/input.c (do_file): Add missing break for '#' case.
5860 Mon Apr 13 10:11:02 1992  James Clark  (jjc at jclark)
5862         * troff/input.c (input_stack::clear):  Clear past any boundaries and
5863         then add the boundaries back.
5865         * troff/input.c (exit_troff): Return immediately if already
5866         exiting.
5868         * macros/tmac.s (pg@end-text): New macro.  Use pg@end-text for the
5869         end macro.
5870         (pg*end-page): If the text has ended and there are no more
5871         footnotes or keeps, exit.
5873         * macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.
5875         * troff/input.c (init_charset_table): Make \(rq transparent by
5876         default.
5878         * macros/tmac.an: Define lq and rq strings.
5880         * macros/tmac.s (Q, U): Define as \(lq and \(rq.
5882 Sun Apr 12 12:54:37 1992  James Clark  (jjc at jclark)
5884         * troff/env.c (environment::final_break): New function.
5885         (environment::newline): Set prev_line_interrupted to 2 if
5886         exit_started.
5887         * troff/env.h: Declare environment::final_break.
5888         * troff/input.c (exit_troff): Call environment::final_break()
5889         instead of environment::do_break().
5891         * macros/Makefile: Install man.local if $(MACRODIR)/man.local
5892         doesn't already exist.
5893         * macros/man.local: New file.
5894         * macros/tmac.an: Load man.local.
5895         * macros/man.ultrix: New file.
5897 Sat Apr 11 17:32:04 1992  James Clark  (jjc at jclark)
5899         * troff/input.c (exit_groff): Rename to...
5900         (exit_troff): New function.
5902         * troff/div.c (exit_started, done_end_macro,
5903         seen_last_page_ejector): New global variables.
5904         (began_page_in_end_macro): New static variable.
5905         (exit_flag): Deleted.
5906         (top_level_diversion::top_level_diversion): Initialize
5907         last_page_count.
5908         (top_level_diversion): More elaborate test for whether
5909         cleanup_and_exit() should be called.
5910         Set began_page_in_end_macro if the end macro isn't yet finished.
5911         * troff/div.h (top_level_diversion::last_page_count): New data
5912         member.
5913         (top_level_diversion::set_last_page): New function.
5914         (exit_started, done_end_macro, seen_last_page_ejector): Declare.
5915         * troff/env.c (do_break): Zero prev_line_interrupted.
5916         * troff/input.c (exit_flag): Delete declaration.
5917         (LAST_PAGE_EJECTOR): New magic cookie.
5918         (token::next): Handle LAST_PAGE_EJECTOR.
5919         (exit_groff): Set exit_started and done_end_macro instead of
5920         exit_flag.  Call top_level_diversion::set_last_page.  Push a
5921         LAST_PAGE_EJECTOR instead of calling push_page_ejector().  Do
5922         another ejection after setting seen_last_page_ejector.
5924 Thu Apr  9 04:37:11 1992  James Clark  (jjc at jclark)
5926         * etc/grog.sh, etc/grog.sh: Recognize -me sh macro.
5928         * macros/tmac.e (TH): Make sure there's room for the initial
5929         header.
5931         * macros/tmac.s (par@init): Make PD and DD at least \n(.V.
5932         Set FVS in points rather than units.
5934 Mon Apr  6 11:21:32 1992  James Clark  (jjc at jclark)
5936         * troff/div.c (top_level_diversion::add_trap): Don't consider the
5937         position of empty slots.
5939 Fri Apr  3 10:46:45 1992  James Clark  (jjc at jclark)
5941         * ps/devps/S: Fix height and depth of parenrightex.
5942         * ps/devps/symbol.diff: Regenerate.
5944 Sat Mar 28 21:17:52 1992  James Clark  (jjc at jclark)
5946         * tmac.e (u): Do underlining as in -mgs.
5948 Fri Mar 27 09:23:44 1992  James Clark  (jjc at jclark)
5950         * tty/tty.c (tty_printer::end_page): If overstriking is
5951         suppressed, still turn overstruck horizontal and vertical lines
5952         into +.
5954         * lib/new.c: Back out Feb 24 change; no longer needed with gcc
5955         2.1.
5957         * refer/label.y (format_expr::evaluate): Avoid use of %0*d.
5959 Wed Mar 18 09:29:10 1992  James Clark  (jjc at jclark)
5961         * Version 1.05 released.
5963 Tue Mar 17 16:50:45 1992  James Clark  (jjc at jclark)
5965         * tty/tty.c: Instead of keeping an array of glyphs and then
5966         sorting it, keep a ordered linked list of glyphs for each line.
5968         * driver/driver.h: Include stddef.h.
5970         * tty/tty.c (compare_glyph):
5971         * refer/refer.c (rcompare):
5972         * troff/env.c (compare_ranges): Arguments of qsort comparison
5973         function should be const void *.
5975         * troff/number.c (parse_term):
5976         * dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
5977         switch statement.
5979         * refer/label.y (consider_authors): Don't access variables
5980         constructed under a condition outside that condition: put braces
5981         round for statement containing declaration; redeclare use of same
5982         variable later.
5984         * pic/pic.y (text_expr): Delete production that allows
5985         parenthesised text_expr.
5986         (expr): Allow a conditional_expr to appear in parentheses.
5987         (conditional_expr): Rename to any_expr.
5989         * mm: Install new version 1.01 from jh.
5991         * lib/font.c (font::get_width): Cache scaled widths.
5992         (font::font): Initialize widths_cache.
5993         (font::~font): Destroy widths_cache.
5994         * lib/font.h: Add font::widths_cache. Declare font_widths_cache.
5996 Mon Mar 16 10:16:10 1992  James Clark  (jjc at jclark)
5998         * c++test.c, c++test.ref: New files.
5999         * Makefile: Check that the C++ compiler works.
6001         * ps/tmac.pspic (PSPIC): Do a break.
6003         * ps/tmac.ps: Move definition of PSPIC into...
6004         * ps/tmac.pspic: New file.
6005         (PSPIC): Draw box around picture, but make it invisible to grops.
6006         * ps/tmac.ps: Load tmac.pspic.
6007         * ps/Makefile: Install tmac.pspic.
6009 Sun Mar 15 14:18:08 1992  James Clark  (jjc at jclark)
6011         * lib/font.c (scale_round): If n is negative,
6012         subtract .5 before truncating floating point result.
6014         * lib/fontfile.c: Include <errno.h>.
6016 Tue Mar 10 14:17:03 1992  James Clark  (jjc at jclark)
6018         * driver/input.c (get_char): Inline. Don't update current_lineno.
6019         Change callers to up date current_lineno if necessary.
6020         Use get_char() instead of getc(current_file).
6022 Sun Mar  8 18:05:28 1992  James Clark  (jjc at jclark)
6024         * ps/tmac.ps: Fix up spacing of \(mo and \(nm.
6026 Fri Mar  6 19:38:58 1992  James Clark  (jjc at jclark)
6028         * tty/tty.c (tmac.tty): Define \(rg as (R).
6030 Tue Mar  3 10:11:25 1992  James Clark  (jjc at jclark)
6032         * lib/lib.h: New define a_delete.
6033         * Use a_delete instead of delete when deleting an array of objects
6034         without destructors.
6036         * lib/lib.h: Rename adelete to ad_delete.
6037         * Change uses of adelete.
6039 Mon Mar  2 12:41:05 1992  James Clark  (jjc at jclark)
6041         * eqn/eqn.y: Include lib.h.
6043         * troff/node.c (grow_font_table): Delete old_font_table.
6045         * mm: Install new version from jh.
6047 Fri Feb 28 10:42:23 1992  James Clark  (jjc at jclark)
6049         * tbl/table.h (format_type): Make global instead of local to class
6050         entry_format.  Prefix enumerators with FORMAT_.
6051         * tbl/table.c, tbl/main.c: Corresponding changes.
6052         * refer/token.h (token_type): Make global.  Prefix enumerators
6053         with TOKEN_.
6054         * refer/token.[ch]: Corresponding changes.
6055         * Makefile: Get rid of -DNO_NESTED_TYPES configuration option.
6057         * troff/div.c (node::set_vertical_size): Don't name argument.
6059 Thu Feb 27 10:29:19 1992  James Clark  (jjc at jclark)
6061         * Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
6062         * lib/lib.h: Define adelete accordingly.
6063         * pic/object.c (graphic_object::graphic_object):
6064         * tbl/main.c (format::~format):
6065         * tbl/table.c (table::~table):
6066         * refer/ref.c (reference::~reference, reference::merge,
6067         reference::insert_field, reference::delete_field): Use adelete.
6069         * Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
6070         * refer/token.h:
6071         * tbl/table.h: Corresponding changes.
6073         * common.c (common_output::dashed_arc, common_output::dotted_arc):
6074         Ensure total_angle is positive.
6076 Wed Feb 26 08:49:26 1992  James Clark  (jjc at jclark)
6078         * refer/ref.c (reference::merge, reference::insert_field,
6079         reference::delete_field): Avoid delete[0].
6081         * refer/token.c (init_special_chars): Move calls to cmupper
6082         outside calls to init_two_char_letter to work around bug in gcc
6083         2.0.
6085 Mon Feb 24 14:20:00 1992  James Clark  (jjc at jclark)
6087         * lib/new.c (operator new): Use __builtin_new for g++.
6089         * pic/object.c (graphic_object::~graphic_object):  Don't use
6090         delete [] on 0.
6092         * pic/object.c (output::compute_scale): Initialize max_width and
6093         max_height.
6095 Sat Feb 15 09:55:20 1992  James Clark  (jjc at jclark)
6097         * troff/input.c (write_request): Call fflush.
6099         * troff/node.h (class composite_node): Move declaration to node.c
6100         * troff/input.c (charinfo_to_node): Rename to ...
6101         (charinfo_to_node_list): Return node list rather than composite
6102         node.
6103         * troff/node.c (make_composite_node): New function.
6104         (make_node, add_char): Call make_composite_node instead of
6105         charinfo_to_node.
6106         (class composite_node): Add a tfont * member.  Delete font_size
6107         member.
6108         (composite_node::composite_node, composite_node::copy,
6109         composite_node::size): Corresponding changes.
6110         (composite_node::tprint): Provide constant spacing, emboldening
6111         and track kerning as specified in tfont.
6112         (composite_node::width): Change width calculation accordingly.
6113         * troff/env.h (environment::composite): New member.
6114         (environment::is_composite, environment::set_composite): New
6115         functions.
6116         * troff/env.c (environment::environment): Initialize composite.
6117         * troff/input.c (charinfo_to_node): Call
6118         environment::set_composite.
6119         * troff/node.c (make_composite_node, make_glyph_node): Use the
6120         plain version of the tfont if the environment is composite.
6122         * troff/node.c (font_info::get_space_width): Additional argument
6123         giving space_size.  Handle constant space correctly. Scale by
6124         space_size unless constant spaced.
6125         (env_sentence_space_width): New function.
6126         * troff/node.h: Declare it.
6127         * troff/env.h (environment::get_space_size,
6128         environment::get_sentence_space_size,
6129         environment::get_narrow_space_width,
6130         environment::get_half_narrow_space_width): Make inline.
6131         (environment::get_space_width): Make inline.  Just call
6132         env_space_width.
6133         * troff/env.c: Delete definitions for funtions made inline.
6134         (environment::space_newline, environment::space): Use
6135         env_sentence_space_width(). Don't scale by space_size.
6136         * troff/node.h: Move declarations of env*space_width() functions
6137         into env.h.
6139 Sat Feb  8 09:30:22 1992  James Clark  (jjc at jclark)
6141         * macros/tmac.s (PS): Don't try to set negative indent.
6143 Thu Feb  6 09:00:35 1992  James Clark  (jjc at jclark)
6145         * pic/pic.y: Fix min function.
6147 Tue Jan 28 07:52:29 1992  James Clark  (jjc at jclark)
6149         * man/mdate.sh: Clear LANGUAGE.
6151 Sun Jan 19 13:02:41 1992  James Clark  (jjc at jclark)
6153         * pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
6154         * pic/lex.c: New COMMAND keyword.
6155         * pic/pic.y (print_args, print_arg): New rules.
6156         (placeless_element): Use print_args for PRINT.
6157         New COMMAND element.
6159 Tue Jan  7 13:14:31 1992  James Clark  (jjc at jclark)
6161         * troff/input.c (terminal): Handle missing argument correctly.
6163         * pic/pic.y (text_expr): New rule.
6165         * pic/pic.y: Implement := operator.
6167 Sun Jan  5 10:23:02 1992  James Clark  (jjc at jclark)
6169         * etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
6170         mdoc.
6172 Sat Jan  4 14:42:26 1992  James Clark  (jjc at jclark)
6174         * ps/devps/dingbatsrmap: Include this in the distribution.
6176         * macros/tmac.doc: Replace with new version from 2nd Networking
6177         Release. Fix loading of doc-* files.
6178         * macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
6179         * macros/tmac.doc.old: New file.  Apply fixes that had been
6180         applied to old tmac.doc.
6181         * macros/tmac.andoc: Check that we're running under groff.
6182         * macros/Makefile: Rework.
6184 Fri Jan  3 13:27:51 1992  James Clark  (jjc at jclark)
6186         * tbl/table.h (format_type): 
6187         * refer/token.h (token_type): If NESTED_TYPES is defined, use
6188         typedef to make these types visible at file scope.
6189         * Makefile: Add NESTED_TYPES configuration option.
6191         * troff/div.c (mark): At the top level use the value of
6192         nl_reg_contents rather than the current vertical position.
6194 Thu Jan  2 10:34:51 1992  James Clark  (jjc at jclark)
6196         * tty/tty.c: Implement \D for horizontal or vertical lines.
6197         (tty_printer::set_char): Use vec_used+2 as serial number.
6198         Don't allow size of vector to exceed USHRT_MAX-2.
6199         Split off part into...
6200         (tty_printer::add_char): New function.
6201         (tty_printer::draw): New function.
6202         (compare_glyph): Handle equal serial numbers.
6203         (tty_printer::end_page): Handle overstruck characters from \D.
6204         (main, usage): Implement -d option.
6206 Mon Dec 23 10:37:51 1991  James Clark  (jjc at jclark)
6208         * tbl/main.c (process_format):
6209         * eqn/text.c (split_text):
6210         * troff/input.c (token::next): Use inner block for declarations
6211         with initializers in switch statement.
6213 Mon Dec 16 20:52:03 1991  James Clark  (jjc at jclark)
6215         * pic/common.c (common_output::dash_line): Cope with zero-length
6216         lines.
6218 Sun Nov 17 12:04:08 1991  James Clark  (jjc at jclark)
6220         * Version 1.04 released.
6222 Wed Nov 13 05:27:21 1991  James Clark  (jjc at jclark)
6224         * macros/tmac.an (TH): Define a macro an-init to define variables
6225         based on command line arguments.
6226         (an-header): Call it.
6228 Sun Nov  3 12:07:34 1991  James Clark  (jjc at jclark)
6230         * Makefile (install.mm): Rename to install.dwbmm.
6232         * Makefile: Integrate mm.
6233         * mm: New directory.
6235 Wed Oct 30 10:11:34 1991  James Clark  (jjc at jclark)
6237         * refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
6238         <sys/types.h>.
6240         * pic/troff.c (troff_output::simple_spline,
6241         troff_output::simple_polygon): Rename variable `v' to `d' to avoid
6242         shadowing parameter.
6244         * lib/tmpfile.c (xtmpfile): Declare dir as const char *.
6246         * lib/ptable.h: Add explicit casts when converting from unsigned
6247         long to unsigned.
6249         * dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
6250         * dvi/devdvi/Makefile: Install SA, SB.
6252         * refer/indxbib.c: Add declaration of mktemp.
6254         * refer/lookbib.c: Add declaration of isatty.
6256 Fri Oct 25 09:00:17 1991  James Clark  (jjc at jclark)
6258         * pic/lex.c (interpolate_macro_with_args):  While collecting
6259         arguments, keep track of whether we're in a string.
6261 Wed Oct 23 08:42:48 1991  James Clark  (jjc at jclark)
6263         * ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
6264         down with \v, so as to avoid problems with top of page trap
6265         setting no space mode.
6267 Tue Oct 22 17:38:49 1991  James Clark  (jjc at jclark)
6269         * eqn/lex.c (get_delimited_text): Allow tab before macro body.
6271 Tue Oct 15 17:24:53 1991  James Clark  (jjc at jclark)
6273         * ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
6274         Improve error message.
6276 Fri Oct 11 11:09:38 1991  James Clark  (jjc at jclark)
6278         * ps/psrm.c (print_ps_string): Don't pass negative numbers to
6279         printf("%03o");
6281 Wed Oct  9 17:50:14 1991  James Clark  (jjc at jclark)
6283         * groff.c (possible_command::execp): Always use _exit() after a
6284         failed exec.
6286         * Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
6287         NO_SYS_WAIT_H   configuration options.
6288         * groff.c: Use these options.  Use POSIX-style macros to extract
6289         fields from the status returned by wait().
6291 Fri Oct  4 12:12:27 1991  James Clark  (jjc at jclark)
6293         * tbl/table.c (table::compute_separation_factor): Allow the
6294         separation factor to drop to 0.
6296 Tue Oct  1 18:12:38 1991  James Clark  (jjc at jclark)
6298         * refer/search.c: Include <errno.h>.
6300 Sun Sep 29 08:40:57 1991  James Clark  (jjc at jclark)
6302         * pic/pic.y (YYDEBUG): Don't define for Borland C++.
6304         * lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
6305         C++. 
6307         * pic/lex.c (input_stack::bol): Move definition out of class body.
6309         * pic/main.c: On MSDOS munge argv[0].
6311         * lib/ptable.h: Define name2 as _Paste2 for Borland C++.
6313         * lib/ptable.c (hash_string): Use unsigned long rather than
6314         unsigned.
6315         (next_ptable_size): Use unsigned rather than int.  Give an error
6316         message if we've hit the largest table size.
6317         * lib/ptable.c: Corresponding changes.  Also use unsigneds for the
6318         table size.
6320         * pic/object.h (object_spec): Make flags unsigned long.  Declare
6321         flags as const unisgned long rather than as enums.
6323         * pic/output.c: Deleted.
6325         * pic/troff.c (troff_output::simple_ellipse): Remove spurious %.
6327         * tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
6328         Add additional argument.
6329         (line_entry::note_double_vrule_on_{left,right}): Set value of
6330         douvle_vrule_on_{right,left} flag according to argument.
6331         (simple_line_entry::simple_print,
6332         simple_line_entry::double_line_print): If adjacent to double vrule
6333         on a corner extend rather than shorten the rule by half the double
6334         vrule sep.
6336         * troff/number.c (parse_term): In checking for overflow, handle the
6337         case where the current horizontal position is negative.
6339 Thu Sep 12 08:26:09 1991  James Clark  (jjc at jclark)
6341         * pic/object.c (draw_arrow): Check for object having zero length.
6343 Wed Sep 11 10:32:38 1991  James Clark  (jjc at jclark)
6345         * eqn/main.c (do_file): Split off inline equation handling into...
6346         (inline_equation): New function.  Search for starting delimiter
6347         using...
6348         (delim_search): New function. Don't recognize a delimiter that
6349         occurs in the name of an escape sequence, number register, string
6350         etc.
6352 Tue Sep 10 04:01:11 1991  James Clark  (jjc at jclark)
6354         * eqn/delim.c (delim_box::compute_metrics): Don't call
6355         define_extensible_string if left is 0.
6356         (delim_box::output):  Don't print the left delimiter if left is 0.
6357         (delim_box::debug_print): Check for left == 0 before calling printf.
6359 Fri Aug 23 13:02:30 1991  James Clark  (jjc at jclark)
6361         * troff/Makefile (majorminor.c): Include only digits in
6362         minor_version.
6364 Thu Aug 22 09:35:37 1991  James Clark  (jjc at jclark)
6366         * refer/dirnamemax.c: new file.
6367         * refer/genlimits.c: Deleted.
6368         * refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
6369         Don't check path length.
6370         * refer/Makefile: Add dir_name_max.o; delete genlimits.
6371         * Makefile: Add PATHCONF_MISSING option.
6373         * refer/indxbib.c (get_cwd): New function.
6374         (main): Use get_cwd().
6375         * lib/getcwd.c: New file.
6376         * Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
6377         GETCWD in SUBFLAGS.
6378         * lib/Makefile: Compile getcwd.o.
6380         * ps/tmac.psatk (psatk-defs): Define showpage after pushing
6381         userdict.
6383         * refer/indxbib.c (main): Check success of mktemp.
6385         * lib/tmpfile.c: New file.
6386         * lib/Makefile: Add tmpfile.c.
6387         * lib/lib.h: Declare xtmpfile(); include <stdio.h>.
6388         * ps/ps.h: Delete declaration of mktemp().
6389         * ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
6390         * refer/refer.c (divert_to_temporary_file): Use xtmpfile().
6391         * driver/driver.h: No need now to include errno.h.
6393         * everywhere: Set errno to 0 before calling fopen().
6395         * eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
6396         dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
6397         refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.
6399 Mon Aug 19 10:52:18 1991  James Clark  (jjc at jclark)
6401         * troff/env.h (translate_space_to_dummy): Declare it.
6402         * troff/env.c (environment::space_newline, environment::space):
6403         If translate_space_to_dummy is set then make the width of spaces 0.
6404         * troff/input.c (translate): If the second character of a
6405         translation is a space, translate to unbreakable space.  If the
6406         first character is a space, set or clear translate_space_to_dummy
6407         according to whether the second character is \&.  Weird!
6409 Tue Jul 30 10:03:56 1991  James Clark  (jjc at jclark)
6411         * groff.c (run_commands): Don't use non-zero exit code because a
6412         command gets SIGPIPE.
6414         * groff.c, groff.sh: Use -mXps with -TXps.
6416         * ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
6417         (ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
6418         ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
6419         (ps_printer::special): New specials invis and endinvis.
6420         (ps_printer::do_invis, ps_printer::do_endinvis): New functions.
6421         (ps_printer::set_char, ps_printer::draw): Return if invis_count>0. 
6422         (ps_printer::end_page): Check that invis_count == 0.
6423         (ps_printer::invis_count): New member.
6424         (ps_printer::ps_printer): Initialize invis_count to 0.
6426         * troff/env.c (environment::hyphenate_line): Hyphenation
6427         indicator at beginning of word inhibits splitting after -, \(em
6428         etc.
6430         * pic/pic.y (element): Allow another element to follow } without
6431         any intervening separator.
6433 Mon Jul 22 12:27:37 1991  James Clark  (jjc at jclark)
6435         * pic/lex.c (get_delimited): Allow tabs before delimiter.
6437 Wed Jul 17 10:59:08 1991  James Clark  (jjc at jclark)
6439         * groff.c: Get rid of HAVE_UNION_WAIT stuff.  Instead suppress
6440         declaration of wait() in header files.
6441         * Makefile: Get rid of -DHAVE_UNION_WAIT.
6443         * tbl/table.c (alphabetic_text_entry::add_tab): New function.
6445         * lib/lib.h: Declare return type of strerror as char *.
6447         * man/Makefile: Add g flag to sed substitutions.
6448         * Makefile (shgroff, bindist): Likewise.
6450 Sun Jul 14 11:57:02 1991  James Clark  (jjc at jclark)
6452         * ps/ps.c (ps_printer::do_import): Move push of userdict into...
6453         * ps/devps/prologue (PBEGIN): Define showpage after pushing
6454         userdict.
6456 Sat Jul 13 20:53:04 1991  James Clark  (jjc at jclark)
6458         * ps/devps/prologue (PBEGIN): Zap any definition of showpage in
6459         userdict.
6461 Fri Jul 12 07:10:09 1991  James Clark  (jjc at jclark)
6463         * man/mdate.sh: Handle the fact that BSD ls -l does not print the
6464         group.
6466 Sun Jul  7 08:00:23 1991  James Clark  (jjc at jclark)
6468         * troff/input.c (define_number_reg):  If currently undefined,
6469         don't define it if the argument is an invalid expression.
6471         * Makefile: Ignore return value of `if' commands without `else'
6472         parts.
6474         * Makefile: Split up CPPDEFINES into a series of separate
6475         configuration options.
6477         * troff/input.c (init_registers): Use time_t instead of long
6478         unless LONG_FOR_TIME_T is defined.  Use returned result rather
6479         than passing pointer.
6480         * Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.
6482         * lib/Makefile (fontpath.h): Use gendef.
6484 Thu Jul  4 09:48:05 1991  James Clark  (jjc at jclark)
6486         * troff/input.c (input_iterator::shift): Delete argument name.
6487         * troff/node.c (suppress_output_file::really_begin_page,
6488         suppress_output_file::really_transparent_char, node::ascii_print,
6489         node::tprint): Delete names of unused arguments.
6491 Wed Jul  3 17:34:57 1991  James Clark  (jjc at jclark)
6493         * refer/label.y (string):  Pass $4 to command_error.
6495 Tue Jul  2 15:06:01 1991  James Clark  (jjc at jclark)
6497         * Version 1.03 released.
6499 Sat Jun 29 08:14:01 1991  James Clark  (jjc at jclark)
6501         * Makefile: Pass definition of SHELL in SUBFLAGS.
6503         * gendef: New file.
6504         * Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
6505         ps/Makefile: Use gendef to construct header files that are
6506         constructed from the Makefile.
6508         * macros/Makefile: make all should build stripped version of tmac.e.
6510         * refer/Makefile (clean): Remove y.output.
6512 Fri Jun 28 09:44:36 1991  James Clark  (jjc at jclark)
6514         * ps/pfbtops.c (main): Add -v option which prints out a version
6515         number.
6516         * ps/Makefile (pfbtops): Link with libgroff.a.
6518 Fri Jun 21 07:43:23 1991  James Clark  (jjc at jclark)
6520         * refer/search.h (linear_searcher::get_nkeys): Delete declaration.
6521         * refer/linear.c (linear_searcher::get_nkeys): Delete definition.
6523         * refer/lkbib.c (main): Always terminate reference with blank
6524         line.
6525         * refer/lookbib.c (main): Likewise.
6527         * refer/linear.c (file_buffer::load): Check that the file is not a
6528         binary file.
6530         * refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
6531         (genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
6532         Delete second inclusion of <sys/param.h>.
6534 Tue Jun 18 01:32:26 1991  James Clark  (jjc at jclark)
6536         * troff/token.h (token::special): Deleted.
6538         * tbl/main.c (process_format): Rework so that opt->tab_char is
6539         recognized only when appropriate.
6541         * ps/Makefile (clean): Remove pfbtops.
6543 Sun Jun 16 09:37:19 1991  James Clark  (jjc at jclark)
6545         * lib/font.c (text_file::next): Don't return if we have got a
6546         blank line.
6548 Fri Jun 14 09:52:26 1991  James Clark  (jjc at jclark)
6550         * refer/refer.c (store_reference): Get hash code from old_table[i]
6551         when rehashing the table.
6553 Thu Jun 13 01:26:43 1991  James Clark  (jjc at jclark)
6555         * eqn/box.c (box::top_level): Save size and prev size using \R and
6556         restore it afterwards. Set the size to the size at the beginning
6557         of the line.
6558         * eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
6559         SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.
6561         * refer/Makefile (limits.h): Use ./genlimits.
6563 Wed Jun 12 16:05:34 1991  James Clark  (jjc at jclark)
6565         * refer/index.c: Delete declarations of stat() and fstat().
6567 Tue Jun 11 14:52:49 1991  James Clark  (jjc at jclark)
6569         * tty/tmac.tty: Add character definitions for \(>= and \(<=.
6571 Mon Jun 10 22:49:48 1991  James Clark  (jjc at jclark)
6573         * etc/grog.sh, etc/grog.pl: Change regex for .PS.
6575 Fri Jun  7 09:13:06 1991  James Clark  (jjc at jclark)
6577         * troff/input.c (token::get_char): Handle \e.
6579         * refer/linear.c: Delete declarations of fstat() and stat().
6581 Wed Jun  5 09:11:59 1991  James Clark  (jjc at jclark)
6583         * troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
6584         OP_DELETE_BROKEN stuff, since we now have a fix for g++.
6586 Mon Jun  3 13:41:32 1991  James Clark  (jjc at jclark)
6588         * troff/input.c (do_define_macro): Improve error handling for end
6589         of file while defining macro.
6591 Sun Jun  2 10:20:24 1991  James Clark  (jjc at jclark)
6593         * eqn/box.h: Fix declaration of set_gsize.
6594         * eqn/box.c (set_gsize): Make argument const char *.
6595         (gsize): Declare as char *.
6596         * eqn/main.c (main): Don't convert gsize to int.
6597         * eqn/lex.c (do_gsize): Pass char * to set_gsize.
6599         * Version 1.02 released.
6601 Sat Jun  1 12:19:46 1991  James Clark  (jjc at jclark)
6603         * macros/tmac.andoc: New file.
6604         * macros/Makefile: Install tmac.andoc.
6606         * troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
6607         operator new and delete on OP_DELETE_BROKEN not being defined.
6608         * Makefile: Mention OP_DELETE_BROKEN.
6610 Mon May 27 13:49:07 1991  James Clark  (jjc at jclark)
6612         * Makefile (bindist): Pass SUBFLAGS.
6614 Sun May 26 14:13:22 1991  James Clark  (jjc at jclark)
6616         * Makefile, groff.c: Pass definitions to groff.c via device.h.
6618         * tty/tty.c (tty_font::load_tty_font): Avoid shadowing
6619         parameter.
6621         * ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.
6623         * ps/ps.h, ps/psrm.c: Make comment_table and
6624         header_comment_table local to resource_manager::process_file.
6626         * groff.sh: With -TXps pass -printCommand option to gxditview.
6628         * groff.c (possible_command::print): Implement using
6629         append_arg_to_string.
6631         * xditview: Merge in new implementation with own ChangeLog.
6633 Sat May 25 18:33:20 1991  James Clark  (jjc at jclark)
6635         * groff.c (main): Implement PRINT_OPTION.
6636         (append_arg_to_string): New command.
6637         (device_table): Set PRINT_OPTION flag for Xps.
6639 Fri May 24 09:48:58 1991  James Clark  (jjc at jclark)
6641         * troff/groff.h: Rename to troff.h.
6643         * pic/lex.c (lookup_keyword, docmp): New functions.
6644         (get_token): Use new lookup_keyword.
6645         Don't include key.h.
6646         * pic/key.[ch], pic/pic.gperf: Deleted.
6647         * pic/Makefile: Remove gperf stuff.
6649         * pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
6650         into output.h.
6651         * pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.
6653         * troff/Makefile, troff/node.c: Move definition of
6654         STORE_WIDTH into node.c.
6656         * etc/grog.pl, etc/grog.sh: Support -mdoc.
6658 Thu May 23 12:30:49 1991  James Clark  (jjc at jclark)
6660         * dvi/devdvi/texr.map, dvi.devdvi/texi.map,
6661         dvi/devdvi/texb.map: Add lq and rq.
6662         dvi/devdvi: Regenerate fonts.
6663         * ps/devps/textmap: Add lq and rq.
6664         * ps/devps: Regenerate fonts.
6665         * tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
6666         * macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
6668         * pic/object.c (position_rectangle): When checking radius
6669         cope with possiblity that width or height is negative.
6670         (box_object::box_object): Have separate xrad and yrad with
6671         signs matching signs of dim components.
6672         (box_object::{north,south}_{east,west}): Use xrad and yrad.
6673         (box_object::print): With rounded boxes use absolute values
6674         for dim and rad arguments.
6676         * lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
6677         in fontpath.h.
6679         * eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.
6681         * various files: Add explicit destructors to keep Saber CC +d
6682         happy.
6684 Wed May 22 11:37:11 1991  James Clark  (jjc at jclark)
6686         * eqn/box.c (box::top_level): Restore fonts correctly after
6687         font changes in line containing inline equation.  Also
6688         restore previous font as well as current font.
6689         * eqn/pbox.h: Define necessary string and register names.
6691         * troff/input.c (token::next): Case 'R' calls do_register.
6692         (do_register): New function.
6694 Tue May 21 11:28:23 1991  James Clark  (jjc at jclark)
6696         * groff.c, groff.sh: Support Xps device.  Allow each device
6697         to have a pseudo_name and a real_name.
6699         * groff.c (run_commands): Don't print `Broken pipe' messages.
6701         * ps/pfbtops.c: New file.
6702         * ps/Makefile: Add pfbtops.
6704         * troff/number.c (parse_term): Improved error message.
6706 Mon May 20 11:22:14 1991  James Clark  (jjc at jclark)
6708         * groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.
6710         * Makefile: Integrate refer.
6711         * refer: New directory.
6712         * man/grefer.man, man/glookbib.man, man/gindxbib.man,
6713         man/lkbib.man: New files.
6714         * man/Makefile: Support refer man pages.
6716         * lib/lib.h: Declare is_prime.
6717         * lib/prime.c: New file.
6719         * troff/input.c (macro_source): New function.
6720         (init_input_requests): Bind "mso" to macro_source.
6722         * troff/env.c (environment::possibly_break_line): Maintain
6723         pointer to pointer to node to be split in ndp so as to avoid
6724         using address of freed node.
6726         * troff/env.c (environment::hyphenate_line): Maintain pointer to
6727         pointer to first node to be hyphenated in startp so as to
6728         avoid using address of freed node.
6730         * troff/env.c (class trie, class hyphen_trie): Make the
6731         elements of the trie be of type char not unsigned char.
6732         Declare arguments to be const char* instead of unsigned char *.
6733         
6734         * troff/env.c (hyphenate): Initialize hbuf[0].
6736         * troff/input.c (set_string): Declare p to be char * and cast
6737         *p to unsigned char when necessary.
6739         * troff/input.c (do_define_macro): Declare s to be const
6740         char*. Cast element to unisgned char when necessary, Declare
6741         d to be an int.  Handle EOF better.
6743         * troff/Makefile, troff/input.c: Different scheme for passing
6744         definitions of MACROPATH, HYPHENFILE and DEVICE.
6746 Tue May 14 13:41:36 1991  James Clark  (jjc at jclark)
6748         * tty/devascii/R.proto: Delete entry for em.
6749         * tty/devlatin1/R.proto: Likewise.
6751 Sat May 11 11:13:28 1991  James Clark  (jjc at jclark)
6753         * troff/input.c (translate): Stop when we get a space. Treat eof
6754         like newline.
6756         * macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.
6758 Wed Apr 24 19:24:33 1991  James Clark  (jjc at jclark)
6760         * tbl/main.c (process_format): A font name following a `f'
6761         modifier that starts with a digit can be only one character long.
6762         Also deal with EOF on the second character of the font name.
6764 Wed Apr 17 11:23:43 1991  James Clark  (jjc at jclark)
6766         * troff/input.c (token::next): Turn \~ into an
6767         unbreakable_space_node.
6768         * troff/node.c (unbreakable_space_node): New class.
6769         * troff/node.h: Declare it.
6771 Tue Apr 16 10:47:12 1991  James Clark  (jjc at jclark)
6773         * dvi/dvi.c (dvi_printer::set_char): Make code an int.  Check that
6774         it's >= 0, before outputting it as a single byte.
6776 Mon Apr 15 11:20:23 1991  James Clark  (jjc at jclark)
6778         * lib/font.c: Make font_char_metric::code an int.
6779         (font::get_code): Change return type to int.
6780         (font::load): Allow code to be arbitrary integer.
6781         * lib/font.h (font::get_code): Change return type to int.
6782         (font::number_to_index): Change argument type to int.
6783         * troff/input.c (token::next):  In case 'N', allow any value.
6784         Store value in token::val.
6785         (token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
6786         (token::get_char, token::add_to_node_list, token::process): Get
6787         number from val.
6788         (charinfo::set_number): Change argument to int.
6789         (charinfo::get_number):  Require that NUMBERED flag be set.
6790         (get_charinfo_by_number): Store numbered characters not between 0
6791         and 255 in a dictionary.
6792         * troff/charinfo.h (get_charinfo_by_number): Change argument type
6793         to int.
6794         (charinfo::number): Change type to int.
6795         (charinfo::set_number): Change type of set_number to int.
6796         * troff/node.c (troff_output_file::put_char_width,
6797         troff_output_file::put_char): Test whether character is numbered
6798         using charinfo::numbered().
6799         * driver/printer.c (printer::set_numbered_char): Allow arbitrary
6800         values of num.
6801         * lib/nametoindex.c: New implementation to cope with arbitrary
6802         number characters.
6804         * troff/input.c (token::operator==): Test val for
6805         TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
6806         TOKEN_SIZE.
6808         * man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
6809         (.man.n):  sed out @BROKEN_SPOOLER_FLAGS@.
6811 Sun Apr 14 12:57:00 1991  James Clark  (jjc at jclark)
6813         * ps/devps/zapfdr.ps: Don't copy UniqueID.  Avoid use of newdict
6814         variable.
6816         * all Makefiles: rm targets of cp and >.
6818         * xditview/xtotroff.c (MapFont): Unlink troff_name before opening
6819         it.
6821         * eqn/lex.c (def_table): Add dollar.
6823 Sat Apr 13 13:02:44 1991  James Clark  (jjc at jclark)
6825         * troff/input.c (do_width): Push back newline before closing delim
6826         like do_bracket.
6828 Fri Apr 12 15:16:03 1991  James Clark  (jjc at jclark)
6830         * groff.c (possible_command::prepend_arg): New function.
6831         (main): Prepend device -m option.
6832         * groff.sh: Put device -m options before command-line options.
6834 Tue Apr  9 10:24:43 1991  James Clark  (jjc at jclark)
6836         * macros/tmac.an (IP): Quote argument to TP.
6838         * ps/ps.c (main): New option -b, which sets...
6839         (broken_flags): New variable.
6840         (ps_printer::~ps_printer): Incorporate the setup section in the
6841         prolog if (broken_flags & NO_SETUP_SECTION).
6842         (ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
6843         (ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
6844         ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
6845         ps_printer::print_needed_font_comment,
6846         ps_printer::print_supplied_font_comment,
6847         ps_printer::print_include_font_comments,
6848         ps_printer::lookup_doc_font, ps_printer::download_fonts,
6849         ps_printer::read_download_file, read_document_fonts, add_font,
6850         skip_line, parse_fonts_arg, document_font::document_font,
6851         document_font::~document_font, document_font::download,
6852         ps_output::include_file):  Deleted.
6853         (ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
6854         rather than %!PS-Adobe-2.0.  Make calls to
6855         resource_manager::need_font for each font that we used. Replace
6856         calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
6857         print_supplied_font_comment, print_needed_font_comment by call to
6858         resource_manager::print_header_comments. Output %%Orientation
6859         comment. Output %%Requirements: numcopies comment if ncopies > 1.
6860         Don't output the prolog directly.  Instead call
6861         resource_manager::output_prolog.  Only define #copies when ncopies
6862         > 1.  Delete calls to print_include_font_comments  and
6863         download_fonts.  Add call to resource_manager::document_setup.
6864         (ps_printer::do_file): Call resource_manager::import_file instead
6865         of including it ourselves.
6866         (ps_printer::do_import): Likewise.  Also don't call
6867         merge_import_fonts. Push userdict on the dictionary stack before
6868         and pop it afterwards.
6869         Move declaration of ps_output into ps.h.
6870         * ps/psrm.c: New file implementing resource_manager class.
6871         * ps/ps.h: New file declaring ps_output and resource_manager
6872         classes.
6873         * ps/devps/zapfdr.ps:
6874         * ps/devps/symbolsl.ps:
6875         * ps/devps/prologue:  Use 3.0 conventions.
6876         * ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
6877         Add default definition of BROKEN_SPOOLER_FLAGS.
6878         * Makefile: New variable BROKEN_SPOOLER_FLAGS.  Add
6879         BROKEN_SPOOLER_FLAGS to SUBFLAGS.
6881 Mon Apr  8 09:26:54 1991  James Clark  (jjc at jclark)
6883         * etc/grog.pl: New file.
6884         * Makefile (GROG): New variable.
6885         Add GROG to SUBFLAGS.
6886         * etc/Makefile (GROG): New variable.
6887         (install.nobin): Install $(GROG) rather than grog.sh.
6889 Thu Apr  4 11:36:45 1991  James Clark  (jjc at jclark)
6891         * eqn/special.c (special_box::compute_metrics): Make the input and
6892         output strings the same.  Get the new height and depth from the
6893         predefined height and depth registers.  Also make subscript kern
6894         and skew available.
6895         (special_box::compute_subscript_kern, special_box::compute_skew):
6896         New functions.
6898         * eqn/box.c (pointer_box::compute_skew,
6899         simple_box::compute_metrics, box::top_level)
6900         * eqn/text.c (prime_box::compute_metrics,
6901         prime_box::comput_subscript_kern)
6902         * eqn/limit.c (limit_box::compute_metrics):
6903         * eqn/delim.c (build_extensible, delim_box::compute_metrics):
6904         * eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
6905         negative numbers in `nr' requests with a leading 0.
6907 Wed Apr  3 15:58:23 1991  James Clark  (jjc at jclark)
6909         * eqn/special.c: New file.
6910         * eqn/eqn.y: Declare token SPECIAL.  Make it right associative.
6911         Add new rule for simple.
6912         * eqn/lex.c (token_table): Add SPECIAL.
6913         * eqn/box.h: Declare make_special_box.
6914         * eqn/Makefile: Add special.[co].
6916 Sat Mar 30 10:57:53 1991  James Clark  (jjc at jclark)
6918         * ps/devps/prologue: Possibly set packing to true while defining.
6919         Create grops dictionary here.  Initialize local variables before
6920         defining procedures.
6921         (PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
6922         the dictionary stack. Set strokeadjust and overprint to false if
6923         the relevant operators are defined.
6924         (PEND): New procedure.
6925         * ps/ps.c (ps_printer::~ps_printer): In the prolog just include
6926         prologue.  Do everything else in the setup section.
6927         (ps_printer::do_import): Just call PBEGIN and PEND around the
6928         picture. Also push userdict before, and pop it afterwards.
6930 Wed Mar 27 07:59:50 1991  James Clark  (jjc at jclark)
6932         * troff/node.c (bracket_node::tprint): Brackets were being printed
6933         1m too low.
6935         * macros/tmac.an (SH, SS): Set fill mode.
6937 Tue Mar 26 07:46:31 1991  James Clark  (jjc at jclark)
6939         * troff/div.c (top_level_diversion::begin_page): Set
6940         high_water_mark to 0.
6942 Fri Mar 22 09:19:46 1991  James Clark  (jjc at jclark)
6944         * man/mdate.sh: New file.
6945         * man/mdate.c: Deleted.
6946         * man/Makefile: Use mdate.sh instead of mdate.
6947         (mdate): Deleted.
6949         * eqn/lex.c (do_gsize): Supply missing argument to error message.
6951 Tue Mar 19 11:06:50 1991  James Clark  (jjc at jclark)
6953         * man/mdate.c: New file.
6954         * man/*.man: Replace modification date by @MDATE@.
6955         * man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
6956         (mdate): New target.
6958         * lib/font.c (text_file::next): Deal with arbitrarily long lines.
6959         Remove illegal input characters.
6961 Mon Mar 18 08:32:25 1991  James Clark  (jjc at jclark)
6963         * macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.
6965 Sat Mar 16 03:52:25 1991  James Clark  (jjc at jclark)
6967         * troff/div.c (begin_page): Change behaviour when
6968         !first_page_begun and !break_flag.
6970         * troff/input.c (do_name_test): Return 0 if argument is empty.
6972         * troff/input.c (read_long_escape_name): Require closing ] to be
6973         at same input level as opening [.
6975         * troff/input.c (read_increment_and_escape_name): New function.
6976         (get_copy, process_input_stack): Use this for \n.
6978 Fri Mar 15 00:31:48 1991  James Clark  (jjc at jclark)
6980         * troff/div.c (top_level_diversion::begin_page): Ignore the
6981         current value of page_number if !first_page_begun.
6983         * groff.c (main): Fix declaration of buf.
6985         * troff/input.c (do_name_test): New function.
6986         (token::next): Implement \A.
6987         (token::next): Implement \e by turning it into a TOKEN_ESCAPE.
6988         (token::description, token::add_to_node_list, token::process):
6989         Handle TOKEN_ESCAPE.
6990         * troff/token.h: New token TOKEN_ESCAPE.
6992 Thu Mar 14 10:22:26 1991  James Clark  (jjc at jclark)
6994         * pic/main.c (do_picture): Allow space before and after filename
6995         following `<'.  Check that the filename is not empty.
6997 Wed Mar 13 12:49:40 1991  James Clark  (jjc at jclark)
6999         * Version 1.01 released. 
7001         * dvi/devdvi/CompileFonts: Add cm*ss10 fonts.
7003         * dvi/tmac.dvi: ftr HR to H.
7005         * macros/tmac.e: Round up computation of $r.
7007         * xditview/tmac.X:  Don't give up completely in compatibility mode.
7008         Use \n(.s instead of \n[.s].
7010         * dvi/tmac.dvi: Don't give up completely in compatibility mode.
7011         Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
7012         Add u to factors inside \s[...]. Rename frac to dvi-frac.
7013         Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
7014         short names in the char definitions.
7016         * ps/tmac.ps: Don't give up completely in compatibility mode.
7017         Fix the fraction definitions to use \n(.s and \(f/. Add an extra
7018         quote in front of \n(.s. Add u to factors inside \s[...].
7020 Mon Mar 11 12:01:20 1991  James Clark  (jjc at jclark)
7022         * tty/tmac.tty: Call the nroff request.
7024         * macros/tmac.e ((x, )x):  Better definitions that work properly
7025         in a diversion.
7026         (@0, @1): Helper macros for (x.
7028         * macros/tmac.e ($s, hl): Use \l rather than \D.
7030         * tty/tmac.tty: Make it work better in compatibility mode.
7031         (pchar): Rename to tty-char.
7033         * macros/tmac.e (@E): New macro.
7034         (r, i, b, rb, bi): Use @E.
7036         * macros/tmac.e (@F): Don't use (;...) syntax.
7038         * macros/tmac.e: Remove mention of \*(||/revisions.  Mention that
7039         it was modified for groff.
7041         * macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.
7043         * macros/tmac.e (<., .>): Removed.
7044         ([., .]): If \n(.V>=1v, use [] instead of superscripting.
7046         * macros/tmac.e: Remove check that groff is being used.
7048         * macros/tmac.e (@C): Change families only if using groff; turn
7049         compatibility mode off while changing familes. Save compatibility
7050         mode before changing families and restore it afterwards.
7052         * macros/tmac.e (@h): Remove test for offset + line length.
7054         * macros/tmac.e (sorry): Rename to @S.  Use \$1 instead of \$0
7055         (lo, th, ac): Define to call @S instead of using als.
7057         * macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
7058         the ratio of the vertical spacing to the point size in units
7059         expressed as a percentage.  Use these instead of $10r and $10R,
7060         Delete $10r and $10R.
7062         * lib/font.c (font::load): In default computation of space_width,
7063         divide by sizescale.  Use scale_round.
7065         * macros/tmac.an (TP): Don't call `nf'.
7066         (an-do-tag): Don't call `fi'.
7068 Sun Mar 10 09:52:35 1991  James Clark  (jjc at jclark)
7070         * troff/input.c (process_input_stack): Handle the case where
7071         spaces at the beginning of an input line are followed by a
7072         newline.
7074 Thu Mar  7 20:18:07 1991  James Clark  (jjc at jclark)
7076         * groff.c (device_table): Add PIC_X_OPTION for dvi device.
7077         * groff.sh: Use pic -x with the dvi device.
7079         * dvi/devdvi/FontMakefile (H): Don't use -s.
7081         * dvi/devdvi/HI, dvi/devdvi/HB: New files.
7082         * dvi/devdvi/Makefile: Add HI and HB to FONTS.
7083         * dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
7084         in FONTS.
7086 Mon Mar  4 13:20:14 1991  James Clark  (jjc at jclark)
7088         * ps/psfig.diff: New file.
7089         * ps/tmac.psfig: New file.
7091 Sat Mar  2 00:15:09 1991  James Clark  (jjc at jclark)
7093         * macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
7094         (]-): Don't call ref*do-tl.
7096         * macros/tmac.s (ref*end-print): Use XP if [F not defined.
7098         * macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
7099         (fn@do-FS): Rename to fn*do-FS.
7101         * troff/input.c (transparent_translate): New function.
7102         (process_input_stack): Apply transparent_translate before calling
7103         diversion::transparent_output(unsigned char).
7105 Wed Feb 27 00:13:25 1991  James Clark  (jjc at jclark)
7107         * troff/input.c (do_define_macro): Define the macro before calling
7108         skip_line.
7110         * xditview/Makefile: Add DEVICES variable.  Change install target
7111         to use this.
7113 Tue Feb 26 10:46:22 1991  James Clark  (jjc at jclark)
7115         * groff.c (run_commands): Handle the possibility that there are
7116         child processes other than those forked by us.
7118 Sun Feb 24 21:32:30 1991  James Clark  (jjc at jclark)
7120         * lib/string.c (string::append): New function.
7121         * lib/stringclass.h: Declare it.
7123 Thu Feb 21 11:49:26 1991  James Clark  (jjc at jclark)
7125         * eqn/main.c (main): New option -N which sets
7126         no_newline_in_delim_flag. 
7127         (do_file): If no_newline_in_delim_flag is set don't allow newlines
7128         in delimiters.
7129         * groff.c (main): Pass -N on to eqn.
7130         (help, synopsis): Mention -N.
7131         * groff.sh: Implement -N.
7133 Wed Feb 20 15:16:10 1991  James Clark  (jjc at jclark)
7135         * macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
7136         (]-): Call ref*do-tl if ref*need-tl is non-zero.
7137         (XP): Allow as initializer.
7139 Tue Feb 19 14:09:06 1991  James Clark  (jjc at jclark)
7141         * troff/env.c (environment::wrap_up_field): If field_spaces are
7142         non-zero and we have a current_tab, subtract padding from
7143         tab_distance.  If this makes tab_distance <= 0, use the next tab
7144         stop instead.  If there isn't any next tab or it's a left tab,
7145         wrap up the current tab.
7146         (environment::start_field): Initialize tab_precedes_field.
7147         (environment::wrap_up_tab): If there's a current field, update
7148         pre_field_width, field_distance and tab_precedes_field.
7149         * troff/env.h (environment::tab_precedes_field): New member.
7151 Fri Feb 15 01:24:00 1991  James Clark  (jjc at jclark)
7153         * ps/ps.c (ps_printer::do_file): New function.
7154         (ps_printer::special): Bind to `file' special.
7155         (ps_printer::do_exec): Set ndefined_styles to 0.
7157 Sat Feb  9 03:03:04 1991  James Clark  (jjc at jclark)
7159         * eqn/text.c (split_text): Grok \* and similar escapes sequences.
7160         Avoid stripping first character from the start of unrecognized
7161         escapes.  Use lex_error instead of error to report errors.
7162         * eqn/lex.c (get_token): Rework handling of escapes.
7163         (lex_error): Move declaration into...
7164         * eqn/eqn.h.
7166         * xditview/xditview.c (main): Make -page option work.
7168         * Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.
7170 Wed Feb  6 12:28:43 1991  James Clark  (jjc at jclark)
7172         * macros/tmac.s (B2): Correct size of box.
7174 Tue Feb  5 00:37:35 1991  James Clark  (jjc at jclark)
7176         * macros/tmac.s (B2): Postpone drawing the box until in the
7177         top-level diversion.
7179         * tty/tmac.tty: Add font translations for C, CR, CW.
7181         * groff.c (synopsis, help): Document -i.
7182         * groff.sh: Implement -i.
7184         * macros/tmac.s (@NH): Put a `.' after multi-part numbers.
7185         Simplify the construction of SN.
7187         * troff/number.c (parse_term): Give `|' a higher precedence.
7188         * tbl/table.c (numeric_text_entry::simple_print): Parenthesise
7189         accordingly.
7191         * macros/tmac.s (B2): Use par@finish instead of par@reset.
7193 Mon Feb  4 12:36:09 1991  James Clark  (jjc at jclark)
7195         * lib/string.c (string::move): New function.
7196         * lib/stringclass.h: Declare it.
7198 Sat Feb  2 16:02:16 1991  James Clark  (jjc at jclark)
7200         * troff/env.c (distribute_space): Add optional argument
7201         `force_forward'.
7202         (environment::wrap_up_field): Call distribute_space with
7203         `force_forward' argument of 1.
7205 Fri Feb  1 19:36:33 1991  James Clark  (jjc at jclark)
7207         * lib/string.c, lib/stringclass.h (string::operator+=(char)):
7208         Inline it.  Move reallocation into...
7209         (string::grow1): New function.
7210         * pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
7211         dependencies to include library header files.
7212         * lib/Makefile: Make string.c and lf.c depend on stringclass.h.
7214 Thu Jan 31 15:02:27 1991  James Clark  (jjc at jclark)
7216         * macros/tmac.s (@NH): Use the same number registers than -ms does
7217         for the heading level counters.  Use the same string that -ms does
7218         for the number for this heading.
7220 Wed Jan 30 14:25:40 1991  James Clark  (jjc at jclark)
7222         * lib/new.c (operator new): Cast result of malloc to char *.
7224         * troff/input.c (spring_trap, lookup_request): Add assert that nm
7225         is not null.
7227 Tue Jan 29 18:08:05 1991  James Clark  (jjc at jclark)
7229         * groff.c (main): Support -i.
7231 Sun Jan 27 13:23:17 1991  James Clark  (jjc at jclark)
7233         * pic/pic.h: Include <osfcn.h>.
7235         * ps/ps.c: Add declaration of mktemp.
7237         * Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
7238         * groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
7239         argument as union wait *.
7240         (run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
7241         argument to union wait *.
7243 Sat Jan 26 12:04:52 1991  James Clark  (jjc at jclark)
7245         * tty/tmac.tty: Add definition of \(co.
7247         * pic/object.c (make_arc): Only increase radius when radius
7248         strictly less than d.
7249         (arc_object::update_bounding_box): May need to add 4.0 to end_quad
7250         more than once.
7252         * troff/env.c (environment::environment(symbol),
7253         environment::environment(const environment *)):  Initialize
7254         input_trap_count.
7256 Sat Jan 19 08:18:35 1991  James Clark  (jjc at jclark)
7258         * tbl/main.c (main): Add exit(0).
7260         * ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.
7262         * pic/main.c (main):
7263         * eqn/main.c (main):
7264         * tbl/main.c (main):
7265         * etc/soelim.c (main):
7266         * driver/printer.c (printer::~printer):
7267         * troff/node.c (real_output_file::~real_output_file,
7268         real_output_file::flush):  Check for errors on stdout.
7270         * most files: Add 1991 to copyright notice.
7272         * macros/tmac.s: Don't test \n(.x and \n(.y.
7274         * troff/input.c (token::next): Rename `escape_char' label to
7275         `handle_escape_char' and `normal_char' label to
7276         `handle_normal_char'.
7278 Thu Jan 17 15:46:35 1991  James Clark  (jjc at jclark)
7280         * groff.c (main, synopsis, help): Support -a option.
7281         * groff.sh: Likewise.  Also eliminate Zflag variable by adding -z
7282         to trflags while parsing options.
7284 Tue Jan 15 13:07:27 1991  James Clark  (jjc at jclark)
7286         * troff/number.c (parse_term): With `m', `M' and `n' scale
7287         indicators, convert scale factor to hunits before scaling.
7289 Mon Jan 14 12:39:12 1991  James Clark  (jjc at jclark)
7291         * lib/font.c (scale_round): Better test for overflow when n is
7292         negative.
7294 Thu Jan 10 11:10:56 1991  James Clark  (jjc at jclark)
7296         * tbl/main.c (process_format): Add second argument of type
7297         options*. Change callers.  Allow opt->tab_char as well as '\t'
7298         between format items.
7300 Mon Jan  7 12:30:18 1991  James Clark  (jjc at jclark)
7302         * macros/tmac.an (PD): With no arguments, make sure register PD is
7303         at least \n[.V].
7304         (TH): Call PD with no argument, instead of setting register PD
7305         directly.
7307 Sun Jan  6 11:18:39 1991  James Clark  (jjc at jclark)
7309         * Version 1.00 released.
7311 Sat Jan  5 08:44:30 1991  James Clark  (jjc at jclark)
7313         * ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.
7315         * dvi/devdvi/DESC: Mount CW instead of CR.
7317         * dvi/tmac.dvi: Add definition of \(tm.
7319         * dvi/devdvi/texsy.map: Add lh, and rh.
7320         * dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
7321         * dvi/devdvi/texmi.map: Add *o. Regenerate fonts.
7323         * dvi/devdvi/FontMakefile: Generate H from cmss10.
7324         * dvi/devdvi/Makefile: Install H.
7325         * dvi/devdvi/H: New file.
7327 Fri Jan  4 15:04:57 1991  James Clark  (jjc at jclark)
7329         * troff/env.c (vertical_spacing): Don't allow vertical spacing to
7330         be 0.
7332 Thu Jan  3 13:41:19 1991  James Clark  (jjc at jclark)
7334         * macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.
7336         * macros/tmac.pic (PS): Avoid attempting to set negative indent.
7338         * macros/tmac.s (@EN): Handle the case where the equation is empty
7339         but the label is not.
7341 Wed Jan  2 10:31:44 1991  James Clark  (jjc at jclark)
7343         * troff/groff.h: New warning category WARN_SPACE.
7344         * troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
7345         WARN_SPACE to warning_table.
7346         (interpolate_macro): Give a warning of type WARN_SPACE if the name
7347         is longer than two characters and is not defined, but the first
7348         two characters do make a defined name.
7350         * PROBLEMS: New file.
7352         * CHANGES: New file.
7353         * README-0.6, README-1.00: Deleted.
7355         * groff.c, groff.sh: Add X75-12 and X100-12 devices.
7356         * xditview/devX75/Makefile: Make devX75-12.
7357         * xditview/devX100/Makefile: Make devX100-12.
7359         * xditview/devX100/eqnchar, xditview/devX75/eqnchar,
7360         dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.
7362 Tue Jan  1 19:24:01 1991  James Clark  (jjc at jclark)
7364         * README-0.7: Rename to README-1.00.
7366         * macros/tmac.pic: New file.
7367         * macros/Makefile (install.nobin): Install tmac.pic.
7369 Mon Dec 31 10:40:53 1990  James Clark  (jjc at jclark)
7371         * troff/env.c (hyphen_word): Correct the test for whether the
7372         token is a hyphen.  Reset npos to 0.
7374         * macros/tmac.s (par@sup-start, par@sup-end): New implementations.
7376 Sun Dec 30 15:53:13 1990  James Clark  (jjc at jclark)
7378         * macros/tmac.s (ds*common-end): Call par*reset.
7379         (PE): Likewise.
7380         (par@reset-indent): Deleted.
7382         * macros/tmac.s (@IP): Divert the label.
7384 Sat Dec 29 14:33:32 1990  James Clark  (jjc at jclark)
7386         * xditview/draw.c (setGC): Use a line width of .1m rather than
7387         .04m by default; round rather than truncate value.
7389         * tbl/table.c (class empty_entry): New class.
7390         (empty_entry::empty_entry, empty_entry::line_type): New functions.
7391         (table::add_entry): Represent empty entries by objects of type
7392         empty_entry.
7393         (table_entry::line_type): Return -1.
7394         (table::determine_row_type): Ignore entries with line_type 0.
7395         Treat type -1 as non-lines.
7397 Fri Dec 28 15:04:41 1990  James Clark  (jjc at jclark)
7399         * ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
7400         macros/tmac.s: Rename \(-d to \(Sd.
7402 Thu Dec 27 12:35:47 1990  James Clark  (jjc at jclark)
7404         * ps/devps/textmap: Add `sd', `/_' and `3d' characters.
7405         * xditview/libXdvi/DviChar.c: Likewise.
7406         * dvi/devdvi/texsy.map: Add `<<', `>>'.
7408 Wed Dec 26 13:33:23 1990  James Clark  (jjc at jclark)
7410         * troff/div.c (top_level_diversion::begin_page): Call
7411         init_output() if the_output is 0.
7413 Sat Dec 22 12:35:29 1990  James Clark  (jjc at jclark)
7415         * troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
7416         ESCAPE_c.
7417         (get_copy): Turn \E into ESCAPE_E.
7418         (token::process, asciify): Handle ESCAPE_E.
7420         * macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
7421         (RD): New macro.
7422         (DS): Implement `.DS R'.
7424 Fri Dec 21 11:41:53 1990  James Clark  (jjc at jclark)
7426         * macros/tmac.s (FS): New macro.
7428         * macros/tmac.s (fn@do-FS): Use @LP instead of LP.
7430         * macros/tmac.s (cov*tl-init): Remove after first execution
7431         instead of aliasing to @nop.  Call top of page macro explicitly
7432         instead of setting trap; call @init first.  Set pg@top as top of
7433         page macro.
7434         (cov*auto-init): Deleted.  Set cov*tl-init instead of
7435         cov*auto-init as top of page trap. 
7436         (TL, LP): Do a break instead of calling cov*tl-init.
7437         (cov*print): With RP format but no TL, alias FS and FE to @FS and
7438         @FE; in this case also give a warning and always start another
7439         page. No need to set pg@top here.
7440         (cov*tl-init): Rename to cov*first-page-init.
7442         * macros/tmac.s (RP): Do `.pn 0'.
7443         (cov*tl-init): With RP format don't do `.pn 0'.
7445         * macros/tmac.s (pg@cs-top): Set no space mode.
7447         * macros/tmac.s (par@TL, par@AU, par@AI): New macros.
7448         (cov*ab-init): Alias TL, AU and AI to these.
7450 Thu Dec 20 10:10:50 1990  James Clark  (jjc at jclark)
7452         * macros/tmac.s (@EQ): Move the space before the equation into @EN
7453         (@EN): Do nothing unless \n[dl] is > 0.
7455 Tue Dec 18 12:20:47 1990  James Clark  (jjc at jclark)
7457         * pic/object.c (ellipse_object::radius): New function.
7459         * VERSION: Change version to 0.7.
7461         * tbl/table.c (block_entry::do_divert): Declare return type as
7462         void.
7463         (block_entry::divert, alphabetic_block_entry::divert): Return 1.
7465 Mon Dec 17 12:30:34 1990  James Clark  (jjc at jclark)
7467         * troff/column.c: New file.
7468         * troff/Makefile: Corresponding changes.
7470         * troff/hvunits.c (scale(vunits, vunits, vunits)):  New function.
7471         Friend of vunits.
7473         * troff/div.c (top_level_diversion::space): If the space causes
7474         the first-page transition and springs a trap, truncate the space
7475         to 0.
7477 Fri Dec 14 12:30:02 1990  James Clark  (jjc at jclark)
7479         * ps/ps.c (ps_printer::do_import): Add a `clear' after including
7480         the document.
7482         * pic/troff.c (troff_output::line_thickness,
7483         troff_output::set_fill): Do a horizontal motion to compensate for
7484         the width of the \D escape sequence.
7486 Thu Dec 13 10:17:14 1990  James Clark  (jjc at jclark)
7488         * xditview/tmac.X: Reinstate definition of \(rn, but only for X100
7489         (not X75).
7491         * eqn/sqrt.c (sqrt_box::compute_metrics):  Supply missing argument
7492         to printf.
7494         * tbl/table.c (simple_entry::simply_print): Don't declare as pure.
7495         Supply empty definition.
7496         (text_entry::simple_print, simple_text_entry::simple_print):
7497         Delete declarations.
7498         (table::add_entry): Represent empty entries by objects of type
7499         `simple_entry'.
7501 Wed Dec 12 08:50:48 1990  James Clark  (jjc at jclark)
7503         * troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.
7505         * tbl/table.c (left_text_entry::add_tab): New function.
7507         * macros/tmac.s: Make @RT an alias for par@reset.  Make RT
7508         initialize like LP.
7510 Mon Dec 10 11:19:55 1990  James Clark  (jjc at jclark)
7512         * troff/env.c (environment::start_field): Give an error message if
7513         there is no next tab.
7515 Sun Dec  9 11:46:40 1990  James Clark  (jjc at jclark)
7517         * troff/env.c (hyphenate): Skip initial elements with zero
7518         hyphenation code.
7520         * macros/tmac.s (par@init): Keep VS in points rather than units.
7522 Sat Dec  8 23:00:27 1990  James Clark  (jjc at jclark)
7524         * pic/main.c (main): Implement `-c' option.
7525         * pic/output.h: Declare make_tpic_output().
7526         * pic/tex.c (tex_output::set_pen_size): Make it virtual and
7527         protected.
7528         (tpic_output): New class.
7529         (tpic_output::tpic_output, tpic_output::set_pen_size,
7530         tpic_output::command, make_tpic_output): New functions.
7532 Fri Dec  7 11:57:41 1990  James Clark  (jjc at jclark)
7534         * tbl/main.c (main): Call `.ab' if \n(.g is false.  Define TS/TE
7535         if they're not already defined.
7536         * tbl/table.c (init_output): Don't test \n(.g.
7538         * troff/input.c (do_if_request): Delete `g' condition. Recognize
7539         `d', `r' and `c' conditions even in compatibility mode.
7541 Tue Dec  4 09:13:47 1990  James Clark  (jjc at jclark)
7543         * ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
7544         box.
7546 Mon Dec  3 07:18:26 1990  James Clark  (jjc at jclark)
7548         * troff/env.h (environment::prev_line_interrupted): New member.
7549         (environment::get_prev_line_interrupted): New function.
7550         * troff/env.c (environment::newline): Set prev_line_interrupted.
7551         (environment::environment(const environment *),
7552         environment::environment(symbol)): Initialize
7553         prev_line_interrupted.
7554         * troff/input.c (process_input_stack): Don't give special
7555         treatment to space and newline at the beginning of the line if the
7556         previous line was interrupted.
7558 Sat Dec  1 15:48:37 1990  James Clark  (jjc at jclark)
7560         * eqn/eqn.y: Disallow PRIME by itself.
7561         * eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
7562         PRIME.
7563         (def_table): Remove definition of '.  Define prime to be `.
7565         * eqn/eqn.y: Split off part of rule `script' into a new rule
7566         `nonsup'.
7568 Fri Nov 30 10:23:44 1990  James Clark  (jjc at jclark)
7570         * macros/tmac.s ({, }): New string aliases.
7572 Thu Nov 29 11:34:40 1990  James Clark  (jjc at jclark)
7574         * README-0.7: New file.
7576 Wed Nov 28 10:09:57 1990  James Clark  (jjc at jclark)
7578         * macros/tmac.s: New file.
7579         * man/groff_ms.man: New file.
7580         * Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
7581         * Makefile.bd: Similarily.
7582         * man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
7583         definition of TMAC_S.
7584         * macros/Makefile: Add definition of TMAC_S. Install tmac.s.
7585         * macros/TODO: New file.
7587 Sat Nov 24 20:04:54 1990  James Clark  (jjc at jclark)
7589         * troff/env.c (right_justify): New function.
7590         (init_env_requests): Bind this to request "rj".
7591         (center_lines): Set right_justify_lines to 0. If we get a bad
7592         integer, center 1 line.
7593         (environment::environment(symbol), environment::environment(const
7594         environment *)): Initialize right_justify_lines.
7595         (environment::get_right_justify_lines): New function.
7596         (init_env_requests): Bind this to number_register ".rj".
7598         * troff/env.c (environment::choose_breakpoint): Implement
7599         hyphenation_margin and hyphenation_space.
7600         (environment::get_hyphenation_space,
7601         environment::get_hyphenation_margin): New functions.
7602         (init_env_requests): Bind these to .hys and .hym.
7603         (hyphenation_space_request, hyphenation_margin_request): New
7604         functions
7605         (init_env_requests): Bind these to hys and hym.
7606         (environment::environment(symbol), environment::environment(const
7607         environment *)): Initialize hyphenation_margin and
7608         hyphenation_space.
7609         * troff/env.h: Corresponding changes to class environment.
7611 Fri Nov 23 09:08:16 1990  James Clark  (jjc at jclark)
7613         * troff/div.c (blank_line): Always do a break.
7615         * eqn/box.c (do_text): Turn off escapes while appending text to
7616         string.
7618 Thu Nov 22 10:58:59 1990  James Clark  (jjc at jclark)
7620         * troff/input.c (while_break_request, while_continue_request): New
7621         functions.
7622         (init_input_requests): Bind these to "break" and "continue".
7623         (while_depth, while_break_flag): New variables.
7624         (while_request): Update while_depth.  Break out of loop if
7625         while_break_flag is set.
7627 Wed Nov 21 10:54:40 1990  James Clark  (jjc at jclark)
7629         * tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
7630         rather than 0.
7632 Mon Nov 19 00:45:03 1990  James Clark  (jjc at jclark)
7634         * Makefile: Include -DBROKEN_SPOOLER by default.  Expand comment.
7636         * stringify: New file.
7637         * Makefile (groff.o): Use stringify.
7639         * xditview/tmac.X: Remove definition of \(rn.
7640         * xditview/libXdvi/DviChar.c: Remove radicalex from
7641         Adobe_symbol_map.
7643 Sat Nov 17 10:44:58 1990  James Clark  (jjc at jclark)
7645         * tbl/table.c (table::add_entry): Allow alphabetic text blocks.
7646         (alphabetic_block_entry::alphabetic_block_entry,
7647         alphabetic_block_entry::divert, alphabetic_block_entry::print):
7648         New functions.
7649         (block_entry::divert): Split off body into ...
7650         (block_entry::do_divert): If the block is alphabetic, subtract 2n
7651         from the line length; also update the span width to dl+2n, and the
7652         alphabetic span width to dl.
7654         * driver/input.c (do_file):  While reading argument to D command,
7655         when expanding buffer, multiply szp by sizeof(int) rather than 2
7656         in the argument to memcpy.
7658         * tbl/table.c (compute_span_width): Add 2n rather than 1n to the
7659         width of alphabetic columns.
7661 Fri Nov 16 06:34:27 1990  James Clark  (jjc at jclark)
7663         * troff/node.c (lookup_family): Supply second argument to lookup.
7665         * troff/dictionary.c (dictionary::lookup): After an unsuccesful
7666         search, return immediately if v is 0.
7668         * pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
7669         (troff_output::start_picture): Set this reg.
7670         (troff_output::end_picture): Remove this reg
7671         * eqn/box.c (box::extra_space): Don't produce `\x's if
7672         EQN_NO_EXTRA_SPACE_REG is defined.
7674         * eqn/eqn.y: Allow just a PRIME to be a `simple'.
7675         * eqn/text.c (split_text): Map ' to \(fm when it's the first
7676         character.
7678 Thu Nov 15 10:35:06 1990  James Clark  (jjc at jclark)
7680         * macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
7681         requests.
7683         * troff/div.c (top_level_diversion::top_level_diversion):
7684         Initialize page_number to 0.
7686 Wed Nov 14 21:41:58 1990  James Clark  (jjc at jclark)
7688         * groff/troff (environment::environment(const environment *)):
7689         Initialize name to e->name, rather than "anonymous".
7691 Sat Nov 10 01:59:37 1990  James Clark  (jjc at jclark)
7693         * xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
7694         requested_page.  Split middle part into ...
7695         (FindPage): New function.
7696         (SetValues): If we don't yet know the last page, and the requested
7697         page is greater than the current page, call FindPage.
7698         Update the font_map_string before doing this.
7700         * xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
7701         Translate \(lh and \(rh into left and right double arrows.
7703         * troff/node.c (class hyphen_inhibitor_node): New class.
7704         (hyphen_inhibitor_node::hyphen_inhibitor_node,
7705         hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
7706         hyphen_inhibitor_node::type,
7707         hyphen_inhibitor_node::get_hyphenation_type): New functions.
7708         (node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
7709         than dbreak_node(0, 0) to represent a `\%' at the beginning of a
7710         word.
7712 Fri Nov  9 16:05:38 1990  James Clark  (jjc at jclark)
7714         * troff/node.h (dummy_node::get_hyphenation_type,
7715         transparent_dummy_node::get_hyphenation_type):  Declare them.
7716         * troff/node.c: (dummy_node::get_hyphenation_type,
7717         transparent_dummy_node::get_hyphenation_type): New functions.
7719 Wed Nov  7 10:09:06 1990  James Clark  (jjc at jclark)
7721         * xditview/libXdvi/draw.c: If M_PI not defined after including
7722         math.h, then define it.
7724         * xditview/Makefile: Add definition of AR. Pass it to the submake
7725         in libXdvi.
7726         * xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.
7728 Tue Nov  6 10:14:27 1990  James Clark  (jjc at jclark)
7730         * troff/dictionary.h (object_dictionary::alias): Declare return
7731         value as int.
7732         * troff/dictionary.c (object_dictionary::alias): Return non-zero
7733         if the old name was defined.
7734         * troff/input.c (alias_macro): Give a warning if the old name was
7735         not defined.
7736         * troff/reg.c (alias_reg): Likewise.
7738 Mon Nov  5 00:31:39 1990  James Clark  (jjc at jclark)
7740         * troff/input.c (token::next): Delete implementation of \R.
7742         * macros/Makefile: Strip comments from tmac.e while installing it.
7744         * troff/input.c: New variable `nroff_mode'.
7745         (troff_request, nroff_request): New functions.
7746         (init_input_requests): Bind `troff' and `nroff' to troff_request
7747         and nroff_request.
7748         (do_if_request): Compute results of t and n conditions from
7749         nroff_mode.
7751         * text/text.c (split_text): Fix typo in >=.
7753         * eqn/lex.c: Add definition of `==' to def_table.
7755 Fri Nov  2 02:49:09 1990  James Clark  (jjc at jclark)
7757         * pic/tex.c (tex_output::start_picture): Change the definitions of
7758         \graph and \graphtemp so that they work properly with Plain TeX.
7760         * pic/tex.c (tex_output::solid_arc): Ensure that the second angle
7761         argument to `ar' is not less than the first.
7763         * pic/pic.y: Allow a comma between elements of the variable list
7764         in the argument to `reset'.
7766         * pic/object.c (arc_object::arc_object): Fix computation of
7767         radius.
7769         * eqn/main.c (main): Add exit(0).
7771 Thu Nov  1 02:03:50 1990  James Clark  (jjc at jclark)
7773         * troff/div.c (begin_page): Test no_space_mode after doing the
7774         break, but still push the page ejector cookie before doing the
7775         break.  Also set the next page number after doing the break.
7776         
7777         * xditview/xditview.c (NewFile): Don't set the title and icon name
7778         if this is the first file and its name is `-'.
7779         * groff/groff.c: Define a new device flag XT_OPTION.  Set it for
7780         the X75 and X100 devices.
7781         (main): If a device has the XT_OPTION flag set and there's exactly
7782         one file argument, pass the driver -xrm and -title options to set
7783         the icon name and window title to the name of the file.
7785         * troff/env.c (environment_switch): If there was an argument but
7786         it wasn't a valid number or name, then pop an environment but
7787         don't give an error message on underflow.
7789         * troff/number.c (start_number): Correct spelling in error message.
7791         * troff/input.c (token::delimiter): Don't print an error message
7792         if err is false.
7794         * xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
7795         ParseDrawFunction if dw->display_enable is true.
7797 Wed Oct 31 05:49:50 1990  James Clark  (jjc at jclark)
7799         * pic/pic.y: Parse text positioning like normal attributes, so as
7800         to allow `"text" at 0,0 ljust'.  Don't allow `center' as a
7801         positioning attribute.
7803 Mon Oct 29 22:50:38 1990  James Clark  (jjc at jclark)
7805         * tbl/main.c (process_data): When in state START while reading a
7806         text block, don't change to state MIDDLE if c is a newline.
7808 Sun Oct 28 21:59:56 1990  James Clark  (jjc at jclark)
7810         * dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
7811         so as to avoid shadowing parameter.
7813 Wed Oct 24 18:35:39 1990  James Clark  (jjc at jclark)
7815         * tbl/table.c (trim_space): Deleted.
7816         (table::add_entry): Don't call trim_space.
7818 Mon Oct 22 03:48:39 1990  James Clark  (jjc at jclark)
7820         * VERSION: Change version to 0.6.
7822         * troff/number.c (parse_expr): Make == work.
7824 Sat Oct 20 11:28:17 1990  James Clark  (jjc at jclark)
7826         * man/grog.man: New file.
7827         * man/Makefile: Add grog.n to MAN1PAGES.
7828         * etc/grog.sh: New file.
7829         * etc/Makefile: Install grog.sh as grog.
7831 Fri Oct 19 11:17:15 1990  James Clark  (jjc at jclark)
7833         * troff/input.c (token::next): Implement \E.
7835 Thu Oct 18 11:56:24 1990  James Clark  (jjc at jclark)
7837         * xditview/tmac.X: Change font translations to match tmac.ps.
7839         * troff/input.c (non_empty_name_warning): Don't give a warning if
7840         `\{' terminates the name.
7842 Tue Oct 16 10:04:23 1990  James Clark  (jjc at jclark)
7844         * ps/devps/symbol.diff: New file.
7845         * ps/devps/FontMakefile: Mention symbol.diff.
7847 Sun Oct 14 11:46:46 1990  James Clark  (jjc at jclark)
7849         * troff/node.c (font_position): Use get_long_name to read the
7850         external_name.
7852         * troff/env.c (environment_switch): If we get a number that's < 0
7853         or >= NENVIRONMENTS, treat it like a name.
7854         Change NENVIRONMENTS to 10.
7856         * troff/groff.h: Remove definition of FONTS_MAX.
7857         * troff/node.h (class font_family): Make map a pointer instead of
7858         an array. Add a map_size member. Make it a class. Make nm const
7859         and public. Make invalidate_fontno a friend.
7860         * troff/node.c: Define font_table_size. Make font_info a pointer
7861         rather than an array.
7862         (class troff_output_file): Allocate font_position dynamically. Add
7863         nfont_positions member.
7864         (troff_output_file::set_font): Grow font_position if necessary.
7865         (troff_output_file::~troff_output_file): Delete font_position.
7866         (troff_output_file::troff_output_file): Allocate font_position.
7867         (grow_font_table): New function.
7868         (troff_output_file::really_begin_page,
7869         troff_output_file:really_copy_page): Use nfont_positions rather
7870         than FONTS_MAX.
7871         (mount_font_no_translate, mount_style): Call grow_font_table if
7872         necessary.
7873         (font_family::font_family): Allocate map.
7874         (font_family::make_definite): Grow map if necessary. Use
7875         font_table_size instead of FONTS_MAX.
7876         (font_family::~font_family): New function.
7877         (invalidate_fontno): Use font_family::map_size.
7878         (get_fontno, env_space_width, env_half_narrow_space_width,
7879         env_narrow_space_width, symbol_fotno, is_good_fontno,
7880         get_bold_fontno, make_glyph_node): Use font_table_size rather than
7881         FONTS_MAX.
7882         (next_available_font_position): Never return 0.
7884 Fri Oct 12 10:17:52 1990  James Clark  (jjc at jclark)
7886         * ps/tmac.ps: Add font translations for compatibility with dpost.
7888 Thu Oct 11 12:09:03 1990  James Clark  (jjc at jclark)
7890         * eqn/pile.c: Rename default_baseline_sep to baseline_sep.
7891         Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
7892         Move definitions baseline_sep, shift_down, column_sep,
7893         matrix_side_sep into...
7894         * eqn/box.c: Add them to param_table.
7895         * eqn/pbox.h: Add declarations to pbox.h.
7897         * troff/input.c (set_string): Cast value to unsigned char *.
7899         * troff/token.h (process_input_stack): Declare it static before
7900         declaring it a friend.
7902 Wed Oct 10 09:59:13 1990  James Clark  (jjc at jclark)
7904         * dvi/devdvi/texex.map: Fix positions of extensible brace middle
7905         and bottom.
7906         * dvi/devdvi/EX: Regenerate.
7908         * troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
7909         transparent.
7911 Tue Oct  9 08:34:02 1990  James Clark  (jjc at jclark)
7913         * eqn/lex.c: In defaults_table, make definition of `dot' call
7914         `dot_def'.  Don't explicitly make it roman.  Similarily for other
7915         accents.
7917         * pic/lex.c (for_input::for_input): Add by_is_multiplicative
7918         argument.
7919         (for_input::get, for_input::peek): Use this.
7920         (do_for): Add by_is_multiplicative argument.
7921         * pic/pic.y: Change optional_by clause to allow '*' after `by'.
7922         Change semantic value of optional_by to be a double plus a flag
7923         saying whethet the by clause is multiplicative.
7925         * eqn/lex.c (get_delimited_text): Remember location of start of
7926         definition.  Improve error handling when EOF is encountered.
7928         * lib/font.h: Rename handle_x_command to
7929         handle_unknown_font_command.
7930         * lib/font.c (font::load): Call handle_unknown_font_command for
7931         any unknown command in the font description file.  Don't call
7932         handle_x_command. Include the name of the command in the argv.
7933         Improve message for unknown command after kernpairs or charset
7934         command.
7935         * ps/ps.c (ps_font::handle_x_command): Rename to
7936         handle_unknown_font_command.  Remove message about `x download'
7937         command.  Give error message for wrong number of arguments.
7938         * ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
7939         * dvi/dvi.c (dvi_font::handle_x_command): Rename to
7940         handle_unknown_font_command. Give an error message for wrong
7941         number of arguments.  Rename design_size to designsize.
7942         * dvi/tfmtodit.c (main): Generate `checksum' instead of `x
7943         checksum', `designsize' instead of `design_size'.
7945 Mon Oct  8 00:38:55 1990  James Clark  (jjc at jclark)
7947         * eqn/*.[chy]: Change underaccent to uaccent.
7949         * eqn/eqn.y: Add rule for underaccent.  Declare UNDERACCENT token;
7950         give it the same precedence as ACCENT.
7951         * eqn/other.c (make_underaccent_box): New function.
7952         * eqn/box.h: Declare it.
7953         * eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
7954         def_table.
7956 Sun Oct  7 11:25:16 1990  James Clark  (jjc at jclark)
7958         * pic/pic.y (reset_all): New function. Called in rule for RESET.
7959         (parse_init): Call reset_all.
7960         (define_variable): When defining scale reset only those
7961         pre-defined variables that are scaled.
7962         (defaults_table): Add `scale' as non-scaled value.
7964         * pic/pic.y: Redo parsing of text adjustments: parse adjustments
7965         together with the text; allow any number of positioning words;
7966         allow center as a positioning word.
7968         * pic/object.c (output::compute_scale): Get picture maximum height
7969         and width from variables called maxpswid and maxpsht.
7970         * pic/pic.y: Add maxpswid and maxpsht to defaults_table.
7972 Sat Oct  6 10:16:56 1990  James Clark  (jjc at jclark)
7974         * pic/object.c (object_spec::make_text): Multiply textht by number
7975         of text items.
7977         * pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
7978         occur.
7979         (do_sprintf): New function.
7980         (pic.gperf): Add sprintf token.
7981         (text, sprintf): New rules.
7983         * pic/pic.y: `rand()' with no arguments returns a random number
7984         in the range [0,1).
7986         * pic/pic.y: Allow a bare expression to be an attribute: change
7987         precedences to support this.  Change optional_ordinal rule to
7988         optional_ordinal_last to avoid reduce/reduce conflict.
7989         * pic/object.c (object_spec::object_spec): Initialize direction.
7991         * pic/pic.y: Implement ^ operator meaning exponentiation.
7993         * troff/node.h: Add default argument to mount_font.
7994         * troff/node.c (font_position): Read an optional third argument
7995         giving the external_name.
7996         (mount_font): Add optional argument giving the external_name.
7997         (mount_font_not_translate): Have additional argument giving
7998         external name.  Use this name to load the font.  Pass both names
7999         to font_info::font_info.
8000         (font_info::font_info): Have additional argument giving
8001         external_name.
8002         (class tfont): New member external_name.
8003         (font_info::get_tfont): Use external name to construct tfont_spec.
8005 Fri Oct  5 04:03:13 1990  James Clark  (jjc at jclark)
8007         * eqn/lex.c (init_table): Add argument giving device.  Define
8008         name of device to be "1".
8009         (do_ifdef): Counts as true if the argument has been defined with
8010         `define'.
8011         * eqn/main.c (main): Call init_table with device argument. Make
8012         device local to main.
8013         * eqn/eqn.h: Change declaration of init_table. Remove declaration
8014         of device.
8016         * pic/lex.c (get_delimited): Allow text to be delimited by
8017         matching {}s.  Don't recognize ending delimiter within a string.
8019         * troff/input.c (get_delim_name): New function.
8020         (token::next): Implement \C.
8022         * lib/font.c (font::load): Grok ---.  Add an alias for each
8023         character based on its code.
8024         (font::get_code_width): Deleted.
8025         * lib/font.h (class font): Declare font::number_to_index().
8026         Remove declaration of font::get_code_width.
8027         * lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
8028         to indices of named characters.
8029         (font::number_to_index): New function.
8030         * troff/input.c (font::number_to_index): New function.
8031         (get_charinfo_by_number, charinfo::get_number,
8032         charinfo::set_number): New functions.
8033         (token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
8034         (token::process, token::description, token::get_char,
8035         token::add_to_node_list, token::operator==): Handle
8036         TOKEN_NUMBERED_CHAR.
8037         * troff/charinfo.h: Declare get_charinfo_by_number,
8038         charinfo::get_number, charinfo::set_number.  Add NUMBERED flag to
8039         charinfo class.
8040         (charinfo::numbered): New function.
8041         * troff/token.h: Add TOKEN_NUMBERED_CHAR.
8042         * troff/env.h (class environment): Remove declaration of ...
8043         * troff/env.c (environment::make_numbered_char_node): Deleted.
8044         * troff/node.c (make_numbered_node): Deleted.
8045         (class numbered_glyph_node): Remove.
8046         (troff_output_file::put_char_width, troff_output_file::put_char):
8047         Handle numbered chars.
8048         (troff_output_file::numbered_char): Removed.
8049         (tfont::get_code_width): Removed.
8050         (make_glyph_node): Don't search special fonts for numbered
8051         characters.
8052         * troff/node.h: Remove declaration of make_numbered_node.
8053         * driver/input.c (do_file): Handle N command.
8054         * driver/printer.h: Add declaration of ...
8055         * driver/printer.c (printer::set_numbered_char): New function.
8056         * dvi/tfmtodit.c (main): Generate unnamed entries.
8057         * ps/devps/afmtodit: Likewise.
8058         * xditview/xtotroff.c (MapFont): Likewise.
8059         * xditview/libXdvi/parse.c (ParseInput): Grok N command.
8061         * tbl/main.c (process_format): If multiple widths are specified
8062         for a column but all the widths are the same, don't give an error
8063         message.
8065         * tbl/table.c (table::do_row): If the current row is all lines and
8066         the stuff doesn't contains a line, mark the top of the row after
8067         printing stuff before the row.  If the current row is not all
8068         lines and the stuff doesn't contain a line, don't unnecessarily
8069         mark the top of the row before printing the stuff.
8070         
8071 Mon Oct  1 11:42:00 1990  James Clark  (jjc at jclark)
8073         * troff/groff.h: Remove MAX_PATH.
8074         * troff/input.c (open_file): Dynamically allocate space for the
8075         path.
8076         (open_mac_file, process_macro_file): Corresponding changes.
8078 Sun Sep 23 18:56:26 1990  James Clark  (jjc at jclark)
8080         * troff/node.h (class output_file): Make copy_file pure.  Add
8081         vspace method ifdef COLUMN. Add is_printing method.
8082         * troff/node.c: Add class printing_reg. Add class
8083         real_output_file. Derive other output_file classes from
8084         real_output_file; in these classes rename begin_page to
8085         really_begin_page, print_line to really_print_line, copy_file to
8086         really_copy_file, transparent_char to really_transparent_char.
8087         Move output_file::flush to real_output_file. Add printing member
8088         to class output_file.
8089         * troff/div.h: Remove printing member from top_level_diversion.
8090         Add vspace member function to class diversion ifdef COLUMN. Add
8091         some declarations ifdef COLUMN.
8092         * troff/div.c (top_level_diversion::copy_file,
8093         top_level_diversion::transparent_output,
8094         top_level_diversion::output): Don't test printing member before
8095         output.
8096         * troff/input.c: Handle initial variable_space_request ifdef
8097         COLUMN.
8098         * troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
8099         but comment it out.
8101 Sat Sep 22 11:32:22 1990  James Clark  (jjc at jclark)
8103         * troff/div.c (diversion::need): Make any space forced.  If we
8104         sprung a trap, set truncated_space to minus the distance to the
8105         trap and set needed_space to the amount that was needed.
8106         (top_level_diversion::space): A forced space turns no_space_mode
8107         off.
8108         (class constant_vunits_reg): New class.
8109         (init_div_requests): Implement number registers .trunc and .ne
8110         using constant_vunits_reg.
8111         (class truncated_space_reg): Deleted.   
8113         * troff/div.h: Don't have a no_space_mode member in diversion.
8114         Instead have it in top_level_diversion.
8115         * troff/div.c (diversion::diversion): Don't initialize
8116         no_space_mode.
8117         (top_level_diversion::top_level_diversion): Initialize
8118         no_space_mode.
8119         (no_space, restore_spacing): Do nothing if curdiv != topdiv.
8120         (macro_diversion::output): Don't clear no_space_mode.
8122         * troff/input.c (diverted_space_node::reread): Don't call
8123         environment::do_break.  In fill mode, act like a blank line.
8124         (diverted_copy_file_node::reread): Don't call
8125         environment::do_break.
8127         * troff/div.c (blank_line): New function.
8128         * troff/div.h: Declare it.
8129         * troff/input.c (process_input_stack): Call it.
8131         * troff/div.c (truncated_space_reg::get_string): New function.
8132         (init_div_requests): Bind to .trunc.
8133         (space_request, top_level_diversion::space,
8134         top_level_diversion::output, macro_diversion::space,
8135         macro_diversion::output): Update truncated_space.
8136         (macro_diversion::output): Redo calculations when trap sprung.
8137         (macro_diversion::output, macro_diversion::space): No need for
8138         trap_flag.
8140         * troff/div.c (top_level_diversion::output): Set nl_reg_contents
8141         after truncating post line spacing.
8143 Fri Sep 21 11:27:25 1990  James Clark  (jjc at jclark)
8145         * ps/devps/prologue (MF, SF): Make them work even if setfont is
8146         defined as a procedure rather than as an operator.
8148 Thu Sep 20 12:55:05 1990  James Clark  (jjc at jclark)
8150         * troff/div.c (macro_diversion::space): Ignore no_space_mode.
8152 Wed Sep 19 10:54:37 1990  James Clark  (jjc at jclark)
8154         * troff/div.c (top_level_diversion::output): Merge
8155         output_file::print_line and output_file::end_of_line member
8156         functions.
8157         * troff/div.h (class output_file):
8158         * troff/node.c (troff_output_file::print_line,
8159         troff_output_file::end_of_line, output_file::end_of_line,
8160         ascii_output_file::print_line, suppress_output_file::print_line):
8161         Corresponding changes.  
8163 Tue Sep 18 11:31:47 1990  James Clark  (jjc at jclark)
8165         * troff/input.c (token::next): Don't give a warning for `\.'.
8167         * troff/env.c (environment::get_center_lines): New function.
8168         (init_env_requests): Bind number register .ce to it.
8169         * troff/env.h: Declare it.
8170         * tbl/table.c (table::init_output): Define reset macro to restore
8171         .ce.  If center option not given, store .ce in SAVED_CENTER_REG.
8172         Then do .ce 0.
8173         (table::print): If center option not given, then imply center
8174         option if SAVED_CENTER_REG > 0.
8176 Mon Sep 17 09:19:19 1990  James Clark  (jjc at jclark)
8178         * ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
8179         Troff.ps from DOWNLOAD.
8180         
8181         * troff/Makefile: Change comment in DEFINES to avoid confusing
8182         System V make.
8184         * ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
8185         code.  Don't try to catch errors with stopped.
8186         (check_line_lengths): New function.
8187         * ps/devps/prologue (EXEC): Deleted.
8188         (EBEGIN, EEND): New procedures.
8190 Sun Sep 16 14:51:15 1990  James Clark  (jjc at jclark)
8192         * troff/input.c: Include request.h before node.h.
8193         * troff/node.c: Likewise.
8194         * troff/env.c: Likewise.
8195         * troff/div.c: Likewise.
8196         * troff/node.h (class special_node): Store argument as a macro
8197         rather than a char *.
8198         * troff/node.c (special_node::special_node, special_node::copy):
8199         Grok this.
8200         (special_node::~special_node): Deleted.
8201         (special_node::tprint): Deleted.
8202         (special_node::tprint_start, special_node::tprint_end,
8203         special_node::tprint_char): New functions.
8204         (troff_output_file::special): Deleted.
8205         (troff_output_file::start_special, troff_output_file::end_special,
8206         troff_output_file::special_char): New functions.
8207         * troff/input.c (special_node::tprint): New function.
8208         (do_special): Use macro not char *.
8209         (do_transparent_macro): Deleted.
8210         (token::next): Don't call do_transparent_macro.
8212         * troff/input.c (token::next): Add 'Y' case.
8213         (do_transparent_macro): New function.
8214         * troff/node.c (troff_output_file::special): Handle newlines with
8215         argument using new continuation convention.
8216         * driver/input.c (get_string): Cope with continuation convention.
8217         (do_file): Don't call skip_line after calling get_string(1).
8218         * ps/ps.c (ps_printer::special, ps_printer::do_import,
8219         ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
8220         arg.
8221         * xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
8222         with +.
8224 Sat Sep 15 19:00:10 1990  James Clark  (jjc at jclark)
8226         * troff/input.c (asciify): By default, illegal input characters
8227         should return empty string.
8229         * troff/input.c (copy_file): Handle first page transition like title.
8230         (token::next, process_input_stack): Grok COPY_FILE_REQUEST.
8232         * troff/input.c (token::next): Improve error message for EOF after
8233         escape character.
8234         (input_char_description): New function.
8235         (get_char_for_escape_name): Use input_char_description.
8236         (token::next): Warn about unrecognized escape sequences.
8237         (warning_table): Add WARN_ESCAPE.
8238         * troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
8239         accordingly.
8241         * troff/token.h: Remove declaration of process_input_stack.
8243         * troff/input.c: Remove declaration of init_hyphen_requests.
8244         * troff/request.h: Correct spelling in declaration of same.
8246         * troff/input.c (token::next): Check whether escape_char is 0.
8248 Fri Sep 14 12:09:25 1990  James Clark  (jjc at jclark)
8250         * groff.c (main, usage, help): Implement -P and -L options.
8251         * groff.sh: Likewise.
8253         * troff/input.c (token::next): Use some gotos to avoid code
8254         duplication.
8256         * troff/input.c (get_long_name, get_name, read_long_ecsape_name):
8257         Avoid calling symbol::symbol if name empty.
8259 Thu Sep 13 06:21:45 1990  James Clark  (jjc at jclark)
8261         * troff/input.c (init_input_requests): Make \n(.x return the major
8262         version number and \n(.y return the minor version number.
8263         * troff/Makefile: Construct file majorminor.c defining
8264         major_version and minor_version automatically from ../VERSION.
8266         * troff/node.c (class glyph_node): Make operator new and operator
8267         delete public.
8268         (class ligature_node): Similarily.
8270         * troff/input.c (operator==(const macro &, const macro &)): New
8271         function.
8272         (non_interpreted_node::same): Use this.
8273         (string_iterator::string_iterator): Make macro& argument const.
8275         * troff/input.c (input_iterator::get): New function. Don't make
8276         asciify_macro or class non_interpreted_node friends of class
8277         input_iterator.
8278         (non_interpreted_node::interpret): Use input_iterator::get.
8279         (asciify_macro): Likewise.
8281         * troff/input.c (~token_node, ~string_iterator, ~arg_list,
8282         ~non_interpreted_node): Deleted.
8283         * troff/node.c: (~suppress_output_file, ~ascii_output_file):
8284         Deleted.
8286         * troff/symbol.h: Make all symbol member functions const.
8288         * lib/strtol.c: New file.
8289         * lib/Makefile: Add strtol.c.
8290         * Makefile: Define STRTOL as strtol.o to include strtol in
8291         libgroff.a.
8293 Wed Sep 12 10:00:49 1990  James Clark  (jjc at jclark)
8295         * pic/troff.c (troff_output::simple_circle): Divide by scale.
8297 Tue Sep 11 14:17:16 1990  James Clark  (jjc at jclark)
8299         * troff/input.c (do_special): Use input_level.
8301         * troff/token.h (TOKEN_BACKSPACE): New token.
8302         (token::backspace): New function.
8303         * troff/input.c (token::description, token::next, token::process):
8304         Grok TOKEN_BACKSPACE.
8305         (do_special): Turn TOKEN_BACKSPACE back into \b.
8307         * troff/token.h (token::leader): New function.
8308         * troff/input.c (do_special): Turn TOKEN_LEADER back into \001.
8310         * troff/input.c (do_special): Turn TOKEN_TAB back into \t.
8312         * troff/input.c (do_special): Use token::description in error
8313         message.
8315 Mon Sep 10 11:06:27 1990  James Clark  (jjc at jclark)
8317         * troff/input.c (decode_args): Combine quoted and
8318         quote_input_level variables. Make it a for (;;) loop.
8320         * troff/input.c (get_char_for_escape_name): Check for \001 and \b.
8322         * troff/input.c (read_long_escape_name): The test for whether to
8323         expand buffer was off by 1.
8324         (read_string): Similarily.
8326 Fri Sep  7 11:45:50 1990  James Clark  (jjc at jclark)
8328         * troff/input.c: Use `const int' rather than `static const int'.
8330         * troff/div.h (diversion::copy_file): Declare as pure virtual.
8331         (macro_diversion::copy_file): New function.
8332         * troff/node.h: New class diverted_copy_file_node.
8333         * troff/node.c: Implement it.
8334         * troff/input.c (copy_file): Use diversion::copy_file. Handle
8335         first page transition by pushing a diverted_copy_file_node.
8336         * troff/input.c (token::next, process_input_stack): Don't handle
8337         COPY_FILE_REQUEST.
8339 Thu Sep  6 13:29:10 1990  James Clark  (jjc at jclark)
8341         * ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
8342         whether space widths need adjusting.
8344         * troff/charinfo.h: Generalize translated_to_space to
8345         special_translation so as to allow translation to \&.
8346         * troff/input.c (translate): Allow translation to \&.
8347         (charinfo::*): Corresponding changes.
8348         * troff/node.c (make_node, node::add_char): Corresponding changes.
8349         * troff/node.h (dummy_node::dummy_node): Allow optional first
8350         argument.
8352         * lib/lib.h: Make codes 0200 to 0237 illegal input characters.
8353         * troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
8354         TOKEN_REQUEST.
8355         * troff/input.c (token::next): Turn a TITLE_REQUEST into a
8356         TOKEN_REQUEST with an argument of TITLE_REQUEST.
8357         (token::process): Grok that.
8358         * troff/input.c (copy_file): Handle first page transition like
8359         title by pushing a COPY_FILE_REQUEST cookie.
8360         (token::next, process_input_stack): Grok that.
8361         * troff/node.h (output_file::copy_file): Add x and y arguments.
8362         Make it non-pure.
8363         * troff/div.c (top_level_diversion::copy_file): Supply them.
8364         * troff/node.c (troff_output_file::copy_file): Add x and y
8365         arguments; moveto specified position.  Invalidate font_position
8366         array after copying file.
8367         (output_file::copy_file): New function.
8368         (suppressed_output_file::copy_file, ascii_output::copy_file):
8369         Removed.
8370         * troff/input.c (transparent_file): New function.
8371         (init_input_requests): Bind to "trf".
8372         (token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
8373         (process_input_stack): Likewise.
8375         * troff/Makefile: Add ../lib/lib.h to GROFF_H.
8377         * troff/node.c (init_node_requests): New number registers .kern
8378         pointing to global_kern_mode, and .lg pointing to
8379         global_ligature_mode.
8381         * troff/node.c (ligature): Don't change it if we get a bad
8382         integer.
8384         * troff/input.c (do_define_string): Don't strip tabs.
8386         * troff/input.c (asciify_macro): Make the string_iterator auto.
8388         * troff/node.c (init_font_requests): Rename to...
8389         (init_node_requests):
8390         * troff/node.h: Change declaration.
8391         * troff/input.c (main): Change call.
8393         * troff/input.c (node::reread, diverted_space_node::reread): New
8394         methods.
8395         (process_input_stack): Call reread rather than
8396         get_diverted_space_node.
8397         * troff/node.c (node::get_diverted_space_node,
8398         diverted_space_node::get_diverted_space_node): Removed.
8399         * troff/node.h: Declare reread methods instead of
8400         get_diverted_space_node methods. Make `n' member private.
8401         * troff/input.c: (token::diverted_space): Removed.
8402         * troff/token.h: Removed declaration.
8403         
8405 Tue Sep  4 00:48:04 1990  James Clark  (jjc at jclark)
8407         * eqn/script.c (script_box::compute_metrics): Don't let
8408         SUP_RAISE_FORMAT become negative.
8410         * tbl/table.c (table::do_row): Entries that don't end in the
8411         this row shouldn't make the row non-blank.
8412         
8413         * tbl/table.c (table::make_columns_equal): Only set the width of
8414         columns which are marked as equal.
8415         
8416         * tbl/main.c (process_data): Before issuing excess data error,
8417         if last character was a newline unget it; then get it again after
8418         the error.  Also include the contents of the entry in the message.
8420         * groff.c: New file.
8421         * Makefile: Build groff from groff.c.  Make it possible to use
8422         either groff.sh or groff.c as groff.
8423         * Makefile.bd: Similarily.
8425 Mon Sep  3 09:39:49 1990  James Clark  (jjc at jclark)
8427         * groff.sh: Don't delay expansion of $@ in assignment to files.
8428         Remove occurrences of \".
8430 Sun Sep  2 09:56:59 1990  James Clark  (jjc at jclark)
8432         * all Makefiles: Simplify and rearrange.
8434         * Makefile: Handle fmod like malloc.
8435         * lib/Makefile: Similarily.
8436         * lib/fmod.c: Remove #ifdef NEED_FMOD.
8438         * Makefile: Rename OPTIMISE to OPTIMIZE.
8440         * groff.sh: Remove assignment to PATH.
8441         * Makefile: Remove SHPATH variable.
8442         * Makefile.bd: Similarily.
8444         * groff.sh: Add -V option to print the pipeline instead of
8445         executing it.
8447 Fri Aug 31 00:56:46 1990  James Clark  (jjc at jclark)
8449         * lib/font.c: Split off file searching into ...
8450         * lib/fontfile.c: New file.
8452         * lib/strerror.c (strerror): Use `Error %d' for unknown errors.
8454 Thu Aug 30 13:13:55 1990  James Clark  (jjc at jclark)
8456         * tbl/table.c (table::do_hspan): Delete assertion that e != 0.
8457         Also change misleading comment.
8458         (table::do_vspan): Change similarily misleading comment.
8459         * tbl/main.c (process_data): A format row with an explicit `s'
8460         uses up a data line, even if all the other columns are `_' or `='.
8462         * troff/input.c (token::description): Fix description of
8463         TOKEN_DUMMY and TOKEN_EMPTY.
8465 Wed Aug 29 04:12:08 1990  James Clark  (jjc at jclark)
8467         * groff.sh: Fix description of -Z in help message.
8469 Tue Aug 28 07:28:33 1990  James Clark  (jjc at jclark)
8471         * pic/object.c (object_spec::make_object): Allow negative and zero
8472         line thicknesses.
8473         * pic/pic.y: Give linethick default value of -1.0.
8474         * pic/troff.c (troff_output::troff_output): Initialize
8475         last_line_thickness to BAD_THICKNESS.
8476         (troff_output::finish_picture): Set thickness to BAD_THICKNESS.
8477         (troff_output::line_thickness): Canonicalize negative thicknesses
8478         to RELATIVE_THICKNESS.
8479         * pic/tex.c (tex_output::set_pen_size): Silently map negative line
8480         thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
8481         to -1.0.
8482         (tex_output::start_picture): Set pen_size to -2.0.
8484         * ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
8485         0, then use 0 linewidth.
8486         (ps_printer::ps_printer): Initialize line_thickness to -1.
8488         * pic/troff.c (troff_output::simple_ellipse): Divide by scale.
8490         * ps/devps/symbolchars: Remove `or'.
8491         * ps/tmac.ps: Implement \(or with .char.
8493         * ps/devps/symbolchars: Move most characters into textmap.
8494         * ps/devps/textmap: Add names for troff bracket characters. Remove
8495         ul, ru, br, bv.
8497         * ps/devps/TSymbol.ps: Removed.
8498         * ps/devps/FontMakefile: Make S from Symbol not TSymbol.
8499         * ps/tmac.ps: Do with .char what TSymbol did.
8500         * ps/devps/download: Remove TSymbol.
8502         * ps/devps/T: Removed.
8503         * ps/devps/Troff.ps: Removed.
8504         * ps/devps/Troff.afm: Removed.
8505         * ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
8506         * ps/devps/download: Remove Troff.
8507         * ps/devps/FontMakefile: Remove T target.
8508         * ps/devps/DESC-A4: Remove T from font list.
8509         * ps/devps/DESC-letter: Likewise.
8511         * troff/input.c (macro_to_node): Rename to ...
8512         (charinfo_to_node): Don't pass mac argument.  Temporarily remove the
8513         character's definition while processing it.
8514         * troff/node.c (node::add_char, make_node): Change calls to
8515         macro_to_node accordingly.
8517         * troff/input.c (token::next): Translate \_ to \(ul.
8519         * tty/devascii/R.proto: Add `|'.
8520         * tty/devlatin1/R.proto: Likewise.
8522 Mon Aug 27 11:25:41 1990  James Clark  (jjc at jclark)
8524         * man: Put the version number in all the man pages.
8526 Sun Aug 26 11:40:05 1990  James Clark  (jjc at jclark)
8528         * Makefile.bd: New file.
8529         * README.bd: New file.
8531         * VERSION: New file.
8532         * lib/version.c: Removed.
8533         * lib/Makefile: Create version.c from ../VERSION. Remove version.c
8534         in clean target.
8536         * troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
8537         environment variable.
8539         * all Makefiles: Split install target into install.bin for
8540         binaries, and install.nobin for everything else.
8541         * Makefile: Add bindist target.
8543         * man/afmtodit.man: New file.
8544         * man/Makefile: Add afmtodit.n to MAN1PAGES.
8545         * ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
8546         in BINDIR.
8547         * ps/Makefile: Pass BINDIR to make install in devps.
8549         * ps/ps.c (ps_printer::set_char): Do nothing if the character is
8550         the space character.
8552         * ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.
8554 Sat Aug 25 15:39:03 1990  James Clark  (jjc at jclark)
8556         * ps/ps.c: Redo font downloading.
8557         * ps/devps/download: New file.
8558         * ps/devps/Makefile: Add download to DEVICEFILES.
8559         * ps/devps/afmtodit: Remove -d option.
8560         * ps/devps/FontMakefile: Don't use -d option with afmtodit.
8561         * ps/devps/symbosl.ps: Add %%DocumentFonts comment.
8562         * ps/devps/zapfdr.ps: Likewise.
8563         * ps/devps/TSymbol.ps: Likewise.
8565 Fri Aug 24 20:10:30 1990  James Clark  (jjc at jclark)
8567         * groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.
8569 Thu Aug 23 10:03:47 1990  James Clark  (jjc at yquem)
8571         * ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
8572         then strip the first line if it starts with %.
8573         * Makefile: Add a comment about this.
8575         * man/tfmtodit.man: New file.
8576         * man/Makefile: Add tfmtodit.n to MAN1PAGES.
8577         * dvi/Makefile: Install tfmtodit in BINDIR.
8579         * dvi/tfmtodit.c (usage): Mention -v option.
8581 Wed Aug 22 09:56:36 1990  James Clark  (jjc at yquem)
8583         * troff/node.c (troff_output_file::end_of_line): Call do_motion.
8584         * troff/node.c (troff_output_file::transparent_char): Don't call
8585         flush_tbuf.
8587         * eqn: Add check_tabs method to most box classes.
8588         * eqn/box.c (box::top_level): Call check_tabs.
8590         * eqn/script.c (script_box::output): Use \Z.
8591         * eqn/limit.c (limit_box::output): Use \Z.
8593         * eqn/box.c (box::top_level): Use itoa.
8595 Tue Aug 21 09:29:28 1990  James Clark  (jjc at yquem)
8597         * dvi/tmac.dvi: Add font translations for CR, C, TT.
8598         * dvi/devdvi/Makefile: Don't make links to CW.
8600         * ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
8601         HX, HD.
8602         * xditview/tmac.X: Likewise.
8604         * troff/node.c: Add font translation feature.
8605         (get_font_translation): New function.
8606         (symbol_fontno): Translate the font name.
8607         (mount_font_no_translate): Rename to mount_font to this.
8608         (mount_font): New function.
8609         (font_family::make_definite): Call mount_font_no_translate instead
8610         of mount_font.
8611         (mount_style): Translate the font name.
8612         (font_translate): New function.
8613         (init_font_requests): Bind "ftr" to font_translate.
8615         * ps/devps/prologue (SN): New procedure that rounds a position to
8616         the nearest (pixel + (.25,.25)).
8617         (DL): Use SN to round endpoints.
8619         * lib/version.c: Changed version to 0.5.
8621 Sat Aug 18 04:43:21 1990  James Clark  (jjc at yquem)
8623         * Makefile: Move definition of PAGE to the very beginning, so that
8624         people are less likely to miss it.
8626 Fri Aug 17 02:15:11 1990  James Clark  (jjc at yquem)
8628         * man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.
8630         * troff/env.c (environment::choose_breakpoint): Make `can't find
8631         breakpoint' error a warning of type WARN_BREAK.  Change message to
8632         `can't break line'.
8633         * troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
8634         code 040000.
8635         * troff/input.c: Add WARN_BREAK to warning_table.  Include
8636         WARN_BREAK in DEFAULT_WARNING_MASK.
8638         * tty/tmac.tty: Add definition of \(+-.
8640         * groff.sh: Remove `--' option to set command.
8642         * dvi/devdvi/texsy.map: Remove duplicate md entry.
8644         * ps/devps/eqnchar: Better definition of cdot using md.
8645         * dvi/devdvi/eqnchar:  Likewise.
8646         * xditview/devX100/eqnchar:  Likewise.
8647         * xditview/devX75/eqnchar: Likewise.
8648         * eqn/lex.c: Add definition of cdot.
8650 Thu Aug 16 09:33:57 1990  James Clark  (jjc at yquem)
8652         * troff/input.c (get_optional_char): New function.
8653         * troff/input.c (set_page_character): Use get_optional_char(),
8654         rather than has_arg() and tok.get_char(1).
8655         * troff/env.c (tab_character, leader_character, hyphen_char,
8656         field_characters): Likewise.
8657         (margin_character): Likewise.  Also always delete the
8658         margin_character_node.
8660         * troff/input.c (token::get_char): Use token::description.
8662         * troff/input.c (has_arg): Don't skip over tab and \}.
8663         * troff/number.c (start_number): Give a warning if the number
8664         starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).
8666 Wed Aug 15 10:04:37 1990  James Clark  (jjc at yquem)
8668         * troff/input.c (empty_name_warning, non_empty_name_warning): New
8669         functions.
8670         (get_name, get_long_name): Use these.  Rename `warn' argument to
8671         `required'.
8673         * troff/node.c (get_fontno): Test that the symbol is not null.
8675         * troff/input.c (token::description): New function.
8676         * troff/number.c (parse_term): Use token::description in `numeric
8677         expression expected' message.
8678         * troff/groff.h: Add WARN_MISSING.
8679         * troff/number.c (start_number): New function.
8680         * troff/number.c (get_vunits, get_hunits, get_number, get_integer,
8681         get_incr_number): Use start_number().
8682         * troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
8683         default.
8684         * troff/input.c (get_name, get_long_name): Use WARN_MISSING.
8685         * troff/reg.c (alter_format): Use WARN_MISSING. Also use
8686         token::descripion.
8687         * troff/input.c (token::get_char): Use WARN_MISSING.
8688         * troff/input.c (token::delimiter): Use token::description.
8689         * troff/env.c (environment_switch): Back out Aug 3 change.
8690         * troff/input.c (has_arg): Skip over \}s and tabs but give a
8691         warning.
8692         * troff/token.h (token::tab): New function.
8693         * troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
8694         * troff/reg.c (alter_format): Likewise.
8695         * troff/node.c (bold_font): Use has_arg() rather than tok.skip().
8697 Tue Aug 14 10:11:21 1990  James Clark  (jjc at yquem)
8699         * troff (most files): Redo warnings. Divide warnings into various
8700         categories; warning() has an additional first argument indicating
8701         the category it falls into.
8702         * troff/input.c (main): -w now takes an argument. New option -W.
8703         (enable_warning, disable_warning): New functions.
8705         * ps/devps/afmtodit: Add -a option to lie about the italic angle.
8706         * ps/devps/FontMakefile: Pretend TI has an angle of 7.
8708 Mon Aug 13 10:11:16 1990  James Clark  (jjc at yquem)
8710         * ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
8711         * xditview/devX100/eqnchar: Likewise. Remove definition of dot.
8712         * xditview/devX75/eqnchar: Likewise.
8713         * dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.
8715         * eqn/other.c: When bar or over applies to a single character
8716         don't produce an overline_box or an underline_box. Instead produce
8717         an accent_box or an underaccent_box, with the accent a line
8718         whose width is accent_width.  New classes underaccent_box,
8719         overline_char_box and underline_char_box.
8720         * eqn/box.h: Move overline_box, underline_box, accent_box class
8721         declarations into eqn/other.c. Add declarations of
8722         make_underline_box, make_overline_box, make_accent_box.
8723         * eqn/eqn.y: Call make_overline_box, make_underline_box
8724         make_accent_box instead of constructors.
8725         * eqn/pbox.h, eqn/box.c: Add accent_width parameter.
8727         * eqn/other.c: Add accent_box::~accent_box.
8728         * eqn/box.h: Declare it.
8730         * groff.sh: With -Tps, use eqn -D.
8732         * eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
8733         rather than \l.
8734         (underline_box::output): Similarily.
8735         (accent_box::output): Use \Z.
8737         * xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
8738         bit smaller.)
8740 Sun Aug 12 09:41:15 1990  James Clark  (jjc at yquem)
8742         * troff/div.c (top_level_diversion::transparent_output(unsigned
8743         char)): Use asciify.
8744         * troff/input.c (asciify): Don't make it static.
8745         * troff/token.h (asciify): Declare it.
8746         
8747         * troff/input.c (get_name, get_long_name, token::get_char,
8748         token::delimiter): Add an extra default argument which says
8749         whether a warning should be printed.
8750         * troff: Pass a non-zero argument to one of these rather than
8751         printing a warning directly.
8753 Sat Aug 11 09:02:21 1990  James Clark  (jjc at yquem)
8755         * troff: Consistently use symbol::is_null.
8757         * troff/dictionary.h: Move some inline functions into
8758         dictionary.c.
8760         * troff/request.h: Move inline functions into input.c.
8761         (request_or_macro::invoke): Make it pure.
8763         * troff/input.c, troff/reg.h: New class `constant_int_reg'.
8764         * troff/input.c (init_input_requests): Use class constant_int_reg.
8765         (class compatible_reg): Deleted.
8766         * troff/div.c (init_div_requests): Use class constant_int_reg.
8767         (class last_post_line_extra_space_reg): Deleted.
8769         * troff/env.c (tab_character): Don't change the tab character if
8770         we get an invalid argument.
8771         (hyphen_char): Similarily.
8773         * troff/reg.c (alter_format): Check that nm is not null.
8775         * Makefile, groff.sh: Make it possible to customize the commands
8776         used for printing PostScript and dvi files. Also make it possible
8777         to customize the path used by groff.sh.
8779         * eqn/eqn.y: Make `left' right associative.
8781 Fri Aug 10 18:20:39 1990  James Clark  (jjc at yquem)
8783         * pic/pic.h: Added definition of M_SQRT2 for those systems that
8784         don't have it.
8786         * pic/pic.h: Removed definition of INT_MAX.
8788         * troff/node.c (italic_corrected_node::vertical_extent): Omit
8789         `return'.
8791         * troff/input.c (token::next):  Handle \R like \n.
8793 Tue Aug  7 09:46:33 1990  James Clark  (jjc at yquem)
8795         * ps/tmac.pc (PSPIC): Simplify.
8797         * troff/env.c (tab_stops::to_string):
8798         * pic/pic.y (object_type_name):
8799         * pic/troff.c (simple_output::line):
8800         * pic/tex.c (tex_output::spline):
8801         * pic/object.c (object_spec::make_object):
8802         * tbl/main.c (process_data):  Add cases to switch statements to
8803         avoid cfront warnings. (Some of these are spurious, since the
8804         switch already has a default case.)
8806         * ps/tmac.ps (PSPIC): Reformatted.  Prefix all local names with
8807         `ps-'.  Don't test systat; instead check number of arguments to
8808         ps-bb.
8810 Mon Aug  6 00:13:07 1990  James Clark  (jjc at yquem)
8812         * macros/tmac.e: Do not decrease the page offset by 0.5i.
8814         * ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
8815         Unlink the file as soon as we have opened it, so that we don't
8816         have to bother with signal handlers.
8817         (handler): Deleted.
8818         (fatal_error_exit): Deleted.
8819         (main): Don't call signal.
8821         * dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
8822         can be ignored.
8823         * dvi/devdvi/Makefile: Use the -k option with S and MI.
8825         * pic/pic.y:  If there is a label, or an nth construction before
8826         the first `.' in the argument to `with', ignore it and generate a
8827         warning.
8828         * pic/lex.c (lex_warning): New function.
8830         * tbl/table.c (table::init_output): In section keep and release
8831         macro, use 0 indent when diverting and the correct indent when
8832         rereading.
8834         * troff/input.c (interpolate_number_format): Do not interpolate
8835         anything if the number register is not defined.
8837         * tbl/main.c (process_data): Don't add entry when col >= ncolumns.
8839 Sat Aug  4 08:12:05 1990  James Clark  (jjc at yquem)
8841         * ps/devps/prologue (PICTURE): Set components of graphics state to
8842         their default values.
8844         * ps/devps/text.enc: Add trademark
8845         * ps/devps/textmap: Add names for club, spade, heart, diamond,
8846         carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
8847         * ps/devps/symbolchars: Add names for summation and product.
8849         * dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
8850         suchthat. Add pp. Add upper-case letters.
8852         * xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
8853         diamond, carriagereturn, suchthat. Use Upsilon1 rather than
8854         Upsilon.
8856         * dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
8857         rA (right angle bracket) to ra.  Introduce names for double-headed
8858         arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
8859         * ps/devps/textmap: Likewise for ps device.
8860         * xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
8861         * tty/devascii/R.proto: Rename lA to la and rA to ra.
8862         * tty/devascii/R.proto: Likewise.
8863         * tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
8864         \(uA, \(dA.
8865         * eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.
8867         * xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.
8869         * eqn/lex.c: Added definitions of `approx', `grad' and `del' to
8870         def_table.
8872 Fri Aug  3 09:59:27 1990  James Clark  (jjc at yquem)
8874         * troff/div.c (when_request): Use symbol::is_null rather than
8875         has_arg to determine whether we have an argument.
8876         (change_trap): Remove the trap if we get an invalid number. Give
8877         an error if we don't get at least the macro name.
8878         (diversion_trap): Remove trap if we get an invalid name or number.
8880         * troff/env.c (environment_switch): Pop if we get an invalid
8881         symbol or numeric expression.
8883         * troff/input.c (do_define_macro):  If EOF is encoutered while
8884         defining the macro, do tok.next() before returning.
8886         * troff/token.h (has_arg): Move definition from here, to ...
8887         * troff/input.c (has_arg): ... here
8889         * troff/env.c (space_size): Do nothing if we get an invalid argument.
8890         * troff/input.c (shift): Likewise.
8892         * pic/lex.c (get_token_after_dot):  Accept `.center' as a synonym
8893         for `.c'.
8895         * pic/troff.c (troff_output::start_picture):  Comment out calls to
8896         `..'.
8898         * eqn/main.c (do_file): Subtract 1 from current_lineno if
8899         interpret_lf_args succeeds.
8901         * eqn/main.c (do_file): Don't recognize delimiter if preceded by
8902         \\.  This avoids problems with \$N.
8904         * groff.sh: Pass -C to preprocessors.
8906         * lib/lf.c (interpret_lf_args):  Be more flexible.
8908         * tbl/main.c (main): Add -C option.
8909         (table_input::get): Do not recognize TE if followed by character
8910         other than a space or newline unless -C option given.
8911         (process_input_file): Likewise for lf, TS.
8912         (process_data): Likewise for lf in text blocks.
8914         * eqn/main.c (main): Add -C option.
8915         (do_file): Don't recognize EQ, EN or lf if followed by character
8916         other than space or newline unless -C option given.
8917         * eqn/lex.c (file_input::read_line): Similarily.
8918         * eqn/eqn.h: Declare compatible_flag.
8920         * etc/soelim.c (main): Add -C option.
8921         (interpret_lf_args): Use version in libgroff.
8922         (do_file):
8924         * pic/main.c (main): Add -C option, which sets compatible_flag.
8925         (top_input::get), (top_input::peek):  If -C option not given,
8926         do not recognize .PS/.PE/.PF/.lf if followed by a character
8927         other than space or newline.
8928         * pic/lex.c (file_input::read_line): Similarily.
8929         * pic/pic.h: Add declaration of compatible_flag.
8931 Thu Aug  2 11:11:27 1990  James Clark  (jjc at yquem)
8933         * ps/tmac.ps (PSPIC): Avoid use of `echo -n'.
8935         * troff/node.c, troff/node.h:  Add `asciify' methods to classes
8936         derived from node.  New class space_char_hmotion_node.
8937         * troff/input.c (asciify_macro): New function.
8938         * troff/input.c (init_input_requests): New request `asciify' bound
8939         to asciify_macro.
8940         * macros/mm.diff: New file.
8941         * Makefile:  In install.mm target use `patch' to apply
8942         macros/mm.diff.
8944         * troff/input.c (macro::print_size): Just print the size in bytes.
8946         * troff/div.c (return_request): Correct the argument
8947         interpretation.
8949 Wed Aug  1 12:38:36 1990  James Clark  (jjc at yquem)
8951         * troff/node.h (class composite_node): Add sz member.
8952         * troff/node.c (composite_node::size): Return sz.
8953         * troff/input.c (macro_to_node):  Use the initial size in the
8954         environment as the size of the composite_node.
8956         * troff/node.c (node::zero_width_tprint):  Provide a reasonable
8957         default.
8959 Tue Jul 31 10:07:10 1990  James Clark  (jjc at yquem)
8961         * troff/div.c (change_trap): If we get a bad number expression,
8962         do nothing.
8964 Mon Jul 30 10:30:49 1990  James Clark  (jjc at yquem)
8966         * lib/matherr.c (matherr): Define this only if math.h defines
8967         TLOSS.
8969 Sun Jul 29 10:34:27 1990  James Clark  (jjc at yquem)
8971         * troff/div.c (macro_diversion::distance_to_next_trap): If there
8972         no diversion trap return vunits(INT_MAX - vresolution).
8974 Sat Jul 28 14:28:14 1990  James Clark  (jjc at yquem)
8976         * troff/input.c (do_zero_width): New implementation that doesn't
8977         use a temporary environment. Use instead:
8978         (token::add_to_node_list): New function.
8979         * troff/env.c (environment::get_prev_char_height),
8980         (environment::get_prev_char_height),
8981         (environment::get_prev_char_skew): New functions.
8982         (environment::get_prev_char): New function.
8983         (environment::get_prev_char_width): Change to use get_prev_char.
8984         (init_env_request): Implement new registers .cht, .cdp, .csk.
8985         * eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
8986         \Z being processed in a separate environment.
8988 Fri Jul 27 10:21:25 1990  James Clark  (jjc at yquem)
8990         * tbl/table.c: Removed TABLE_BOTTOM_REG.
8992         * tbl/table.c (table::init_output): In the section release macro,
8993         give a warning message if the section won't fit on one page.
8995         * tbl/table.c (table::do_top): Emit table keep only if table is
8996         boxed.
8997         (table::do_bottom): Likewise for table release.
8998         (table::table), (table::add_vertical_rule):  Remove reference to
8999         keep member.
9000         * tbl/table.h: Remove keep member.
9002         * tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
9003         SECTION_RELEASE_MACRO, if there's not enough space before the next
9004         trap to output the diversion, call T# ourselves, set
9005         SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
9006         SUPPRESS_BOTTOM_REG back to 0.  In T#, do nothing if
9007         SUPPRESS_BOTTOM_REG is non-zero.  In T#, always mark the current
9008         vertical position and return to it before turning traps on again.
9009         
9010 Thu Jul 26 02:54:32 1990  James Clark  (jjc at yquem)
9012         * troff/node.c, troff/node.h: In classes derived from node,
9013         replace prev_char_width method by last_char_node method.
9014         * troff/env.c (environment::get_prev_char_width): Use
9015         node::last_char_node rather than node::get_prev_char_width.
9017         * Makefile: Added comment about -fno-inline on 68030-based
9018         Apollos.
9020         * troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
9021         tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
9022         expressions using sizeof to int.
9023         * dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.
9025         * macros/tmac.e (TS):  Don't move @f back past the current
9026         position.
9028 Wed Jul 25 09:11:08 1990  James Clark  (jjc at yquem)
9030         * ps/ps.c (main): Buffer stderr.
9031         * dvi/dvi.c (main): Likewise.
9032         * tty/tty.c (main): Likewise.
9034         * ps/ps.c (ps_printer::do_import): Improve error handling.
9036         * troff/input.c (abort_request): Use asciify.
9038         * driver/printer.h (printer::draw), driver/printer.c (printer::draw),
9039         ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
9040         type of first argument int rather than char.  This works around a
9041         bug on the 68030 based Apollo using g++ 1.37.1.
9043         * tbl/table.h (class table): Add `keep' member.
9044         * tbl/table.c (table::table): Initialize `keep'.
9045         (table::add_vertical_rule): Set `keep' to 1.
9046         (table::do_top): Only emit table keep macro is `keep' is non-zero.
9047         (table::do_bottom): Likewise for table release macro.
9048         (table::do_row): Emit section keep macro even if the row is 0.
9050 Tue Jul 24 08:35:07 1990  James Clark  (jjc at yquem)
9052         * macros/tmac.e (@C): Preserve the font family across the change
9053         in environments.
9055 Mon Jul 23 10:15:23 1990  James Clark  (jjc at yquem)
9057         * lib/font.c: Initialize font::hor and font::vert to 1.
9058         (font::load_desc): Check the values of font::hor and font::vert.
9060         * lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
9061         be included in a C compilation.
9062         (iftoa): Use INT_DIGITS. Include lib.h.
9063         (itoa): Likewise.
9064         (as_string): Likewise.
9065         * tbl/table.c: Removed definition of INT_DIGITS.
9066         * eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
9067         * troff/input.c (input_input_requests): Likewise.
9068         * ps/ps.c (make_encoding_name): Likewise.
9069         (ps_printer::set_style): Likewise.
9070         (ps_output::put_number): Use 1 + INT_DIGITS + 1 instead of 12.
9072         * tty/devascii/R.proto: Map fm onto '.
9073         * tty/devlatin1/R.proto: Likewise.
9075 Sat Jul 21 12:45:07 1990  James Clark  (jjc at yquem)
9077         * tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
9078         argument to \w is at a different input level.
9080         * tbl/table.c (table::init_output): Define a new macro
9081         REPEATED_VPT_MACRO, like vpt but if in a diversion also
9082         transparently outputs itself.
9083         (table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
9084         vpt.
9085         (table::do_row): Likewise.
9087         * tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
9088         TRANSPARENT_STRING_NAME.
9090         * tbl/table.c (table::init_output): In the table release macro
9091         print an error message and don't produce any output if after
9092         issuing the need request the table still will not fit.  Also
9093         remove the diversion after bringing it back.
9095         * tbl/table.c (table::init_output): Define a new macro
9096         REPEATED_MARK_MACRO, like mk but if in a diversion also
9097         transparently outputs itself.
9098         (table::do_row): Mark row_top_reg using REPEATED_MARK_MACRO. This
9099         is necessary because .TH might not call .T#.
9100         (table::do_top): Likewise TOP_REG.
9101         (table::define_bottom_macro): If TOP_REG is no longer valid, use
9102         #T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
9103         table header might contain just the two top rules.
9105 Fri Jul 20 10:51:42 1990  James Clark  (jjc at yquem)
9107         * troff/div.c: Implement new request `ptr' to print all traps.
9109         * troff/env.c (init_env_requests): Implement `.tabs' reg with
9110         init_string_env_reg.
9111         * troff/env.c (class tab_reg): Deleted.
9113 Thu Jul 19 12:07:16 1990  James Clark  (jjc at yquem)
9115         * troff/div.c: New number register .pn returns the number of the
9116         next page as set by the pn request.
9118         * macros/tmac.an: Redid headers and footers.  Number each manual
9119         entry starting from 1 unless \nC is > 0, like Sun.  Added an
9120         optional 5th argument to .TH which specifies the manual name and
9121         appears in the center of the header.  Understand the X, P and D
9122         registers like Sun.
9124 Wed Jul 18 10:23:31 1990  James Clark  (jjc at yquem)
9126         * troff/env.c (init_env_requests): New number register `.lt' to
9127         return the title length.
9129         * troff/node.h (class transparent_dummy_node): New class.
9130         * troff/node.c (class transparent_dummy_node): Provide member
9131         functions. 
9132         * troff/env.c (interrupt): Add a transparent_dummy_node, rather
9133         than a dummy_node.
9135         * troff/input.c (token::next): New escape sequence \).
9136         * troff/input.c (get_copy): Recognize \) in copy mode.
9138         * troff/input.c (input_stack::clear): New function.
9139         * troff/input.c (exit_request): Use input_stack::clear.
9141         * troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
9142         * troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.
9144         * troff/env.c: Move set_page_character to input.c.  Move
9145         page_character to input.c also.
9146         * troff/env.c (title): Split off the reading of the parts of the
9147         title into read_title_parts.
9148         * troff/input.c (read_title_parts): New function.  Check the
9149         input_level when testing whether a token matches the delimiter.
9151         * troff/input.c (exit_request): New function.
9152         * troff/input.c (init_input_requests): Bind ex request to
9153         exit_request rather than exit_groff.
9155         * troff/input.c (exit_groff): Call tok.next() before
9156         process_input_stack().
9158 Mon Jul 16 09:47:23 1990  James Clark  (jjc at yquem)
9160         * troff/env.c: ifdef widow control support on WIDOW_CONTROL.
9161         * troff/env.h: ditto.
9162         * troff/input.c: ditto.
9164         * troff/env.c (environment::is_empty): Test pending_lines.
9166         * troff/env.c (environment::have_pending_lines): Removed.
9168         * troff/input.c: Add request to flush pending lines from the
9169         environment.
9171         * troff/env.c, troff/env.h: Add automatic widow control feature.
9173         * troff/input.c (exit_groff):  Do process_input_stack() after
9174         do_break() but before setting exit_flag to 2.
9176         * troff/input.c: Remove FLUSH_PENDING_LINES and
9177         TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
9178         environment after END_TRAP token seen, but only if there aren't
9179         any more traps still unfinished.
9180         * troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.
9182 Sun Jul 15 10:50:08 1990  James Clark  (jjc at yquem)
9184         * troff/env.c: Rename the `retain_size' member of class
9185         pending_output_line to `no_fill'.
9187         * troff/env.c (title): When the line is output, make the
9188         retain_size argument !fill.
9190         * troff/node.h: Add `hyphenated' member to struct breakpoint.
9191         * troff/node.c (space_node::get_breakpoints),
9192         (dbreak_node::get_breakpoints):  Fill this in.
9193         * troff/env.c:  Allow specification of maximum number of
9194         consecutive hyphenated lines.
9196         * troff/env.c (environment::is_empty): Add test for !current_tab.
9198 Sat Jul 14 11:23:01 1990  James Clark  (jjc at yquem)
9200         * troff/env.c (environment::hyphenate_line): Don't completely give
9201         up if the word is not to be hyphenated; continue so that breaks
9202         can be made at break_char_node's.
9204         * lib/lib.h: Only define INT_MAX if it's not already defined;
9205         undef INT_MIN if it's already defined.
9207         * Makefile: Make it easy to define CFRONT_ANSI_BUG.
9209         * lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
9210         This works around a bug in AT&T C++ 2.0 used with an ANSI C
9211         compiler.
9212         
9213         * macros/tmac.an (an-header): Set no-space mode.
9215         * macros/tmac.an (TH): Start a new page if necessary.
9217         * Started using ChangeLog at version 0.4.
9219 Local Variables:
9220 version-control: never
9221 coding: latin-1
9222 End: