These patches modify the indentation implementation to use `<p
[s-roff.git] / ChangeLog
blob336919eeceefebccd6b8b2d0b3ce573760b567f1
1 2004-02-15  Gaius Mulley  <gaius@glam.ac.uk>
3         These patches modify the indentation implementation to use `<p
4         style=margin-left: n%>'.  Many thanks to Peter and Larry for
5         suggesting this solution.  Grohtml only uses tables for `.IP' and
6         related tags when the first operand has a short width.
8         Similarly, they modify all vertical space code.  By default, grohtml
9         sets up a style sheet which uses no vertical space between `table',
10         `pre', and `p' tags.  It forces spaces when it needs them using
11         `style="margin-top: 1em"'.
13         * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
14         (html_table::emit_table_header, html_table::emit_new_row):
15         Rewritten.
16         (html_table::set_space): New function.
17         (html_indent::html_indent): Don't set `is_used'.
18         (html_indent::begin): Rewritten.
19         (html_indent::end): Remove code in function.
21         * src/devices/grohtml/html-table.h: Updated.
22         (html_table): Make `out' public.
24         * src/devices/grohtml/html-text.cpp (html_text::html_text):
25         Initialize `start_space' with FALSE.
26         (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
27         (html_text::issue_tag): Add argument to handle space style.
28         (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
29         (html_text::flush_text): Don't set `start_space'.
30         (html_text::push_para): Don't set `p->really_issued'.
31         (html_text::do_emittext): Updated.
32         (html_text::do_para): Add paremeter to handle space.
33         Update all callers.
34         (html_text::retrieve_para_space): New function.
36         * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
37         (tag_definition): Remove `really_issued'.
38         (html_text): Updated.
40         * src/devices/grohtml/post-html.cpp (html_printer): Add variables
41         `current_column' and `row_space'.
42         Update constructor.
43         (html_printer::emit_raw, html_printer::write_header,
44         html_printer::do_indent, html_printer::do_check_center,
45         html_printer::do_tab_ts): Handle vertical space.
46         (html_printer:do_tab_te, html_printer::do_end_para): Call
47         `remove_para_space'.
48         (html_printer::do_col): Rewritten.
49         (html_printer::flush_globs): Remove debugging code.
50         (html_printer::is_line_start): New function.
51         (html_printer::start_font): Use `is_line_start'.
52         (html_printer::writeHeadMetaStyle): New function.
53         (html_printer::do_file_components, html_printer::~html_printer):
54         Call `writeHeadMetaStyle'.
56         * tmac/www.tmac (www-handle-percent): New macro.
57         (MPIMG): Handle percent values for width and height parameters.
58         (DC): Updated.
60         * tmac/groff_www.man: Updated.
62 2004-02-14  Werner LEMBERG  <wl@gnu.org>
64         * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
65         $psname and $italic_angle.
66         Immediately restart file input loops if `split' returns an empty
67         array.
69 2004-02-13  Michail Vidiassov  <master@iaas.msu.ru>
70             Werner LEMBERG  <wl@gnu.org>
72         Update afmtodit to better support Unicode (Michail).
73         Update afmtodit to use Perl 5 syntax (Werner).
75         * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
76         `Getopts::Std'.
77         Decorate variables with `my' where necessary.
78         Use `defined' where necessary to avoid warnings.
79         Don't use `do' for subroutine calls.
80         Other minor syntax updates.
81         Check for both `uXXXX[X[X]]' and `uniXXXX'.
82         Handle glyph variants properly.
83         (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
84         strings.
86         * src/utils/afmtodit/afmtodit.man: Updated.
88 2004-02-13  Werner LEMBERG  <wl@gnu.org>
90         Make groff.texinfo work with texinfo 4.8.
92         * doc/groff.texinfo (@Var): Use @r and @slanted.
93         (@defdummy, @Def*): Use @c to avoid empty lines.
94         (\angles): Replaced with...
95         (\Langlemacro, \Ranglemacro): New TeX macros.
96         (@Langlemacro, @Ranglemacro): New variables defined with @set.
97         (@angles): Use @Langlemacro and @Ranglemacro.
98         (\LE): Replaced with...
99         (\LEmacro): New TeX macro.
100         (@LEmacro): New variable defined with @set.
101         (@LE): Use @LEmacro.
102         (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
103         variables defined with @set.
104         (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
105         (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
106         Update all callers.
108         Other minor updates.
110         * doc/texinfo.tex: Update to texinfo version 4.8.
112         * README.CVS: Updated.
114 2004-02-09  Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
116         * doc/groff.texinfo (ms Document Control Registers): Document `HY'
117         and `FAM' registers.
119 2004-02-05  Werner LEMBERG  <wl@gnu.org>
121         * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
122         tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
123         Update BSD license.
125 2004-02-01  Werner LEMBERG  <wl@gnu.org>
127         * src/roff/groff/groff.man: Add information about paper size.
129 2005-01-25  Werner LEMBERG  <wl@gnu.org>
131         * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale.  From
132         NetBSD bin/29114.
134 2005-01-22  Ruslan Ermilov  <ru@FreeBSD.org>
136         * tmac/doc.tmac (Sm): Improved.  It didn't work properly in many
137         cases.
138         (Re): Emit a warning if called without `.Rs'.
139         (doc-finish-reference): Use parameter for decreasing
140         `doc-reference-count'.
141         (doc-print-reference): Pass specific count parameters to
142         `doc-finish-reference'.
144 2005-01-21  Werner LEMBERG  <wl@gnu.org>
146         * src/libs/libdriver/input.cpp (delete_current_env, do_file):
147         Reset pointers to zero after deallocation.  This fixes a crash
148         if a driver is called with multiple input files.  Reported by
149         Ken Chilton <ken@chiltonfamily.org>.
151         * src/devices/grops/grops.man: Add more info on DSC.
153 2005-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
155         * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
156         Remove dead code.
158 2004-01-17  Werner LEMBERG  <wl@gnu.org>
160         * src/roff/troff/div.cpp (top_level_diversion::space): Protect
161         against division by zero.
163 2005-01-13  Ruslan Ermilov  <ru@FreeBSD.org>
165         * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
167 2004-12-19  Werner LEMBERG  <wl@gnu.org>
169         * install-sh: New version; taken from texinfo CVS.
171 2004-12-17  Werner LEMBERG  <wl@gnu.org>
173         * tmac/devtag.tmac: Protect against loading twice.
174         Protect agains compatibility mode.
175         * tmac/www.tmac: Protect against loading twice.
176         Load `devtag.tmac' before switching off compatibility mode.
177         * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
179 2004-12-16  Mike Bianchi  <mbianchi@Foveal.com>
181         * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
182         * configure: Updated.
184 2004-12-15  Thomas Klausner  <wiz@netbsd.org>
186         * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
188 2004-12-15  Werner LEMBERG  <wl@gnu.org>
190         Make `test-groff' work again -- previously, wrong paths have been
191         used.  Additionally, it can now be called from anywhere.
193         * test-groff.in: Don't test for groff binary.  This is no longer
194         necessary since the proper paths are determined by `configure'.
195         (EXEEXT): Removed.  No longer used.
196         (srcdir, builddir): Use values provided by the configure script.
197         (XENVIRONMENT): Updated.
199         * INSTALL: Updated.
201 2004-12-14  Gaius Mulley  <gaius@glam.ac.uk>
203         Make .tag and .taga work for all devices (but only grohtml actually
204         handles them).
206         * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
207         (text_glob::is_br, page::add_tag, html_printer::troff_tag,
208         html_printer::handle_assertion): Don't use hard-coded string
209         lengths.
210         (html_printer::lookahead_for_table): Reset `tbl' properly if
211         necessary.
212         (html_printer::devtag): New function, handling `devtag'.
213         (html_printer::special): Don't handle `html-tag'.
215         * src/include/printer.h, src/libs/libdriver/printer.cpp
216         (printer::devtag): New virtual function.
218         * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
219         `devtag'.
221         * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
222         src/roff/troff/node.cpp: s/html-tag/devtag/.
224         * src/roff/troff/input.cpp (tag, taga): Always call
225         curenv->add_node.
227         * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
228         macros instead of HTML-TAG*.
230         * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
232         * tmac/www.tmac: Load devtag.tmac.
233         Replace HTML-TAG* macros with DEVTAG* macros.
234         (HTML, HTML-NS): Changed definitions.
235         (URL): Use HTML-NS.
236         (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
238         * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
240 2004-12-10  Werner LEMBERG  <wl@gnu.org>
242         Import Mike's `gdiffmk' package.
244         * contrib/gdiffmk/*: New files.
245         * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
246         * NEWS: Updated.
248 2004-12-08  Werner LEMBERG  <wl@gnu.org>
250         Import Keith's `pdfmark' package.  Integration is very preliminary.
252         * contrib/pdfmark/*: New files.
253         * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
254         * NEWS: Updated.
256 2004-12-07  Gaius Mulley  <gaius@glam.ac.uk>
258         Fix a bug with title handling in HTML.
260         * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
261         text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
262         length.
263         (html_printer::handle_tag_within_title): New function.
264         (html_printer::do_title): Use it.
266         * tmac/s.tmac (TL): Don't set `need_eo_tl'.
267         (cov*tl-au-print): Emit `.eo.tl' tag.
269 2004-12-05  Alejandro López-Valencia  <dradul@etb.net.co>
271         * man/groff_char.man: Minor imrovements.
273 2004-12-04  Werner LEMBERG  <wl@gnu.org>
275         * src/preproc/eqn/eqn.man: Revised.
277 2004-11-25  Werner LEMBERG  <wl@gnu.org>
279         * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
280         groff source files.
281         Include config.h.
282         Include limits.h.
283         Remove X_NOT_STDC_ENV conditional.
284         (Version_string, program_name): New global variables.
285         (groff_flag): Removed.
286         (MapFont): Updated.
287         (usage): Take a stream as argument.
288         Use `program_name'.
289         Update all callers.
290         (main): Add `long_options' array for `--help' and `--version'.
291         Make `-g' a dummy option.
292         Handle `-v' and unknown options.
293         Remove unused `position' variable.
295         * src/utils/xtotroff/Makefile.sub (MAN1): Define.
296         (XLIBS): Add LIBGROFF.
298         * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
299         New files.
301         * src/devices/xditview/Dvi.c (default_font_map): Split into three
302         parts to avoid compiler warning.
303         (resources): Don't initialize with `default_font_map'.
304         (ClassInitialize): Initialize first element of `resources'.
306         * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
307         Removed.
309         * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
310         src/utils/pfbtops/pfbtops.man: Revised, updated.
312         * configure.ac: Generate src/utils/xtotroff/Makefile.
313         * configure: Regenerated.
315 2004-11-24  Werner LEMBERG  <wl@gnu.org>
317         First fixes to get produce HTML.
319         * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
320         attribute.
322         * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
323         (HR, LI): Use `HTML</p>', not `HTML'.
325         * doc/webpage.ms: Minor updates.
327 2004-11-23  Larry Kollar  <kollar@alltel.net>
329         Add option -S grohtml to determine the file split level.
331         * src/devices/grohtml/post-html.cpp (split_level): New global
332         variable.
333         (html_header::determine_header_level): Use split_level.
334         (main): Handle `-S' command line option.
335         Sort options.
337         * src/preproc/html/pre-html.cpp (scanArguments): Updated.
339         * src/devices/grohtml/grohtml.man: Document it.
340         Sort options.
342         * NEWS: Document it.
344 2004-11-23  Y T  <doarhop@hotmail.com>
346         * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
347         the volume and number refer entries.
349 2004-11-22  Werner LEMBERG  <wl@gnu.org>
351         * src/devices/grohtml/html-table.cpp
352         (html_table::emit_table_header): Don't emit `cols' attribute which
353         doesn't exist in HTML 4.0 and is thus invalid.
355         * NEWS: More minor fixes and updates.
357 2004-11-18  Werner LEMBERG  <wl@gnu.org>
359         * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
360         (HTML</p>): Minor clean-up.
362         * tmac/groff_www.man: Updated.
364         * src/devices/grohtml/grohtml.man: Revised and updated.
366         * NEWS: Updated.
368 2004-11-18  Gaius Mulley  <gaius@glam.ac.uk>
370         * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
371         Fix space insertion.
372         (html_printer::do_links): Fix rules generation around automatic
373         heading links.
375         * tmac/www.tmac (LK): Use HTML-TAG-NS.
376         (HR): Simplify.
377         No longer emit empty line for non-HTML devices.
379 2004-11-17  Werner LEMBERG  <wl@gnu.org>
381         * doc/Makefile.in (prepare_examples, webpage.html): Handle
382         `groff.css'.
384         * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
385         prepare_examples, webpage.html): Handle `groff.css'.
387 2004-11-15  Werner LEMBERG  <wl@gnu.org>
389         * NEWS, README, doc/webpage.ms: Updated.
391         * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
393 2004-10-30  Gaius Mulley  <gaius@glam.ac.uk>
395         * src/include/printer.h (printer): Remove virtual function
396         `round_width'.
397         Update all source files.
399         * src/devices/grohtml/post-html.cpp (html_printer): New member
400         function `round_width'.
402 2004-10-20  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
404         * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
405         column key letter suffix.
407 2004-10-14  Werner LEMBERG  <wl@gnu.org>
409         * Makefile.in (check): Depend on `site.exp' and `docheck'.
410         (docheck): Run dejagnu's `runtest' if it exists.
411         (site.exp): Create dejagnu configuration file.
413         * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
415 2004-10-13  Werner LEMBERG  <wl@gnu.org>
417         * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
418         src/devices/grohtml/post-html.cpp (make_val,
419         html_printer::handle_state_assertion): Fix compiler warnings.
421         * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
422         (diversion::diversion): Fix order of initializers.
424         * src/roff/troff/div.h: Don't include `mtsm.h'.
426         * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
427         (environment::environment): Fix order of initializers.
428         (environment::make_tag, environment::construct_format_state): Fix
429         compiler warnings.
431         * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
432         (input_iterator::input_iterator, macro::macro): Fix order of
433         initializers.
435         * src/roff/troff/mtsm.cpp: Include only necessary header files.
436         (state_set::add, state_set::val): Fix compiler warnings.
438         * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
439         (bool_value_state, int_value_state, units_value_state,
440         string_value_state): Remove comma after last element which causes
441         an error with g++ 3.3.3.
443         * src/roff/troff/node.cpp: Include `stringclass.h'.
444         (hline_node::hline_node, vline_node::vline_node,
445         space_char_hmotion_node, left_italic_corrected_node): Fix compiler
446         warnings.
447         (zero_width_node::zero_width_node): Fix order of initializers.
449         * src/roff/troff/node.h: Don't include `mtsm.h'.
450         (hmotion_node): Fix compiler warnings.
452         * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
454 2004-10-12  Gaius Mulley  <gaius@glam.ac.uk>
456         * doc/groff.css: New file.
458         * doc/webpage.ms: Use `groff.css'.
459         Other small fixes.
461         * tmac/an-old.tmac (need_eo_h): New number register.
462         (TH): Emit `.eo.tl' tag after title.
463         (SH): Set `need_eo_h'.
464         (an-trap): Handle `need_eo_h'.
465         (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
467         * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
468         (TL): Always start diversion.
469         Updated.
470         (@AI): Always call `par@reset'.
471         (@AB): Update code for -Thtml.
472         (cov*tl-au-print): Handle -Thtml.
473         (par@reset): Handle `need_eo_tl', `need_eo_h'.
474         (@IP): Simplified.
475         (@IT-html): Removed.
476         (@SH): Set `need_eo_h' for -Thtml.
477         (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
478         Set `need_eo_tl'.
479         (@NH): s/HTML-TAG/HTMl-TAG-NS/.
480         Set `need_eo_h' for -Thtml.
481         (@EQ, @EN): Don't handle -Thtml specially.
482         (par@load-init): Don't handle -Thtml specially.
484         * tmac/www.tmac (www:paraspace): New macro.
485         (HTML-NS, HTML-TAG-NS): Use new `tag' request.
486         (HTML</p>, HTML-TAG-NEXT): New macros.
487         (HnE): Emit tag `.eo.h' instead of break.
488         (HR): s/HTML-NS/HTML/.
489         (www-end-nowhere): End diversion only if `www-html' not set.
490         Emit `.eo.tl' tag.
491         (ULS, ULE): s|HTML|HTML</p>|.
492         (LI): Call `www:paraspace'.
493         (HEAD): New macro.
495 2004-10-11  Gaius Mulley  <gaius@glam.ac.uk>
497         * src/roff/troff/request.h (macro): Make `p' public.
498         New variable `is_a_diversion'.
499         New member function `is_diversion'.
502         * src/devices/grohtml/html.h (simple_output): New member function
503         `force_nl'.
505         * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
506         computation of `total'.
507         (tabs::check_init): New function.
508         (html_table::emit_table_header): Emit style data.
509         (html_table::insert_column): Improved.
511         * src/devices/grohtml/html-table.h: Updated.
513         * src/devices/grohtml/html-text.cpp (html_text::html_text):
514         Initialize `start_space' with TRUE.
515         (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
516         cases.
517         (html_text::flush_text): Set `start_space' flag.
518         (html_text::uses_indent, html_text::remove_para_space,
519         html_text::get_alignment): New functions.
520         (html_text::push_para): Updated.
521         (html_text::do_para): Check for empty argument.
522         Don't set `space_emitted'.
523         (html_text::do_space, html_text::emit_space): Updated.
525         * src/devices/grohtml/html-text.h (tag_definition): New variable
526         `really_issued'.
527         (html_text): New member function `uses_indent', `remove_para_space',
528         `get_alignment'.
530         * src/devices/grohtml/output.cpp (simple_output::force_nl): New
531         function.
532         (simple_output:nl): Always emit `\n'.
534         * src/devices/grohtml/post-html.cpp: Include `string.h'.
535         (BASE_POINT_SIZE): Removed.
536         (base_point_size, head_info): New global variables.
537         (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
538         `is_eo_h'.
539         (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
540         tags, respectively.
541         (page::add_and_encode): Pass additional parameter for tag flag.
542         (assert_pos): New structure.
543         (assert_state): New class.
544         (html_printer): Remove `indentation', `prev_indent'.
545         Add variables `troff_indent', `device_indent', `temp_indent'.
546         Add variables `seen_indent', `next_indent', `seen_pageoffset',
547         `next_pageoffset', `seen_linelenght', `next_linelength',
548         `seen_center', `next_center', `seen_space', `seen_break', `as'.
549         Add member functions `do_check_center', `do_space', `do_head',
550         `get_troff_indent', `restore_troff_indent', `handle_assertion',
551         `handle_state_assertion', `do_end_para', `set_char_and_width'.
552         Change argument to `do_fill' to `char *'.
553         Update constructor.
554         (html_printer::emit_raw): Call `shutdown_table'.
555         Use new functions.
556         (html_printer::do_center): Simplified.
557         (html_printer::do_title): Improved.
558         (html_printer::write_header): Emit one more newline.
559         Use new functions.
560         (html_printer::do_heading, html_printer::do_indent,
561         html_printer::do_eol, html_printer::do_tab_ts,
562         html_printer::do_tab, html_printer::do_tab0,
563         html_printer::calc_po_in, html_printer::next_horiz_pos,
564         html_printer::remove_courier_tabs,
565         html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
566         Updated.
567         (html_printer::do_linelength, html_printer::do_pageoffset,
568         html_printer::do_indentation, html_printer::do_tempindent,
569         html_printer::do_tab_te): Simplified.
570         (html_printer::do_pointsize): Check whether point size is really
571         associated a `.tl' tag.
572         (html_printer::do_break): Rewritten.
573         (html_printer::troff_tag): Improved.
574         (html_printer::flush_globs): Updated.
575         (html_printer::lookahead_for_tables): Handle `is_br'.
576         Use new functions.
577         (html_printer::set_char): Check `sbuf_style.f'.
578         (html_printer::write_navigation): Use string comparison.
579         (html_printer::~html_printer): Emit `head_info'.
580         (html_printer::special): Rewritten.
581         (get_str, make_val): New functions.
582         (main): New option `s' to set the base point size.
584         * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
586 2004-10-10  Gaius Mulley  <gaius@glam.ac.uk>
588         * src/roff/troff/node.cpp: New extern `debug_state'.
589         Include `stringclass.h' and `mtsm.h'.
590         Implement new classes and class members from `node.h'.
591         (real_output_file): Make `fp' public.
592         (troff_output_file): New variables `cur_div_level' and `tag_list'.
593         Update constructors.
594         (troff_output_file::really_print_line): Check whether we should push
595         the current troff state and use the state at the start of the
596         invocation of this diversion.
597         (troff_output_file::add_to_tag_list): New member function.
598         (node::add_char): Handle `glyph_comp_np'.
600         * src/roff/troff/node.h: Include `mtsm.h'.
601         (node): New variables `state', `push_state', `div_nest_level',
602         `is_special'.  Update constructors, all descendants.
603         Pass additional argument to `add_char' member function.
604         New virtual member functions `is_tag', `debug_node',
605         `debug_node_list'.  Update all descendants.
606         (tag_node): New class for handling tags.
607         (output_file): Add variable `state'.
609 2004-10-09  Gaius Mulley  <gaius@glam.ac.uk>
611         * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
612         providing a minimal troff state machine to emit meta tags for the
613         post-grohtml device driver.
615         * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
616         files.
618 2004-10-09  Werner LEMBERG  <wl@gnu.org>
620         * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
622 2004-10-06  Gaius Mulley  <gaius@glam.ac.uk>
624         * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
626         * src/roff/troff/div.h: Include `mtsm.h'.
627         (diversion): New variables `any_chars_added', `needs_push',
628         `saved_seen_break', `saved_seen_space', `saved_seen_eol',
629         `saved_suppress_next_eol', `modified_tag'.
630         New virtual member function `is_diversion'.  Update all descendants.
632         * src/roff/troff/div.cpp (diversion::diversion,
633         macro_diversion::macro_diversion): Updated.
634         (do_divert): Handle `seen_break', `seen_space', `seen_eol',
635         `suppress_next_eol'.
636         (top_level_diversion::space): Handle `curenv->seen_space'.
637         (page_offset): Update tag handling.
638         (space_request, blank_line, flush_output): Don't call `add_html_tag'.
640         * src/roff/troff/env.h (environment): Make `tabs' public.
641         Remove `ignore_next_eol', `emitted_node'.
642         Update `output_line', `output'.
643         New variables `seen_space', `seen_eol', `suppress_next_eol',
644         `seen_break'.
645         New member functions `construct_state', `make_tag',
646         `construct_format_state, `construct_new_line_state,
647         `dump_troff_state'.
648         Remove `add_html_tag', `make_html_tag'.
650         * src/roff/troff/env.cpp: New externs `suppress_push',
651         `get_diversion_state', `global_diverted_space'.
652         (pending_output_line): New variable `was_centered'.
653         Update constructor and all callers.
654         (pending_output_line::output): Call `curenv->construct_format_state'.
655         (environment::environment, environment::copy): Updated.
656         (environment::output): Handle `was_centered'.
657         (environment::add_char): Handle construct and diversion state.
658         (environment::add_node): Handle construct state.
659         (environment::newline): Handle `was_centered'.
660         (environment::output_line): Updated.
661         (environment::possibly_break_line): Updated.
662         Update tag handling.
663         (environment::add_html_tag): Replaced with...
664         (environment::make_tag): New function.
665         (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
666         (environment::dump_troff_state): New debugging function.
667         (environment::construct_state, environment::construct_format_state,
668         environment::construct_new_line_state): New functions.
669         (environment::do_break): Updated.
670         Handle `global_diverted_space'.
671         (environment::handle_tag): Update tag handling.
672         (point_size, fill, do_break_request): Don't call `add_html_tag'.
673         (no_fill): Don't call `add_html_tag'.
674         Set `suppress_next_eol'.
675         (center, right_justify, line_length, indent, temporary_indent,
676         set_tabs):
677         Update tag handling.
679         * src/roff/troff/input.cpp: Don't include `stringclass.h'.
680         (input_iterator): New variables `is_diversion', `diversion_state'.
681         Update constructors.
682         (input_stack): New member functions `get_div_level',
683         `get_diversion_state', `check_end_diversion'.
684         New variables `div_level', `diversion_state'.  Initialize them.
685         (suppress_push, global_diverted_space): New global variables.
686         (input_stack::finish_get, input_stack::finish_peek,
687         input_stack::remove_boundary, input_stack::end_file,
688         input_stack::clear, input_stack::pop_macro): Call
689         `check_end_diversion'.
690         (input_stack::push): Handle `div_level' and `diversion_state'.
691         (get_diversion_state): New function.
692         (diverted_space_node::reread): Handle `global_diverted_space'.
693         (macro::macro): Update constructors.
694         (macro::is_diversion): New function.
695         (macro::operator=): Set `is_a_diversion'.
696         (string_iterator): New member function `is_diversion'.
697         (string_iterator::string_iterator): Update constructors.
698         (string_iterator::fill): Set `div_nest_level'.
699         (macro_iterator): New member function `is_diversion'.
700         (do_if_request): Handle `suppress_push'.
701         (tag, taga): New functions.
702         (init_input_requests): Add `tag' and `taga' requests.
704 2004-10-05  Gaius Mulley  <gaius@glam.ac.uk>
706         * src/include/font.h (font): New member function
707         `get_image_generator'.
708         New variables `unscaled_charwidths' and `image_generator'.
710         * src/libs/libgroff/font.cpp (font::get_width): Always return the
711         character's unscaled width if `font::unscaled_charwidths' is set.
712         (font::get_image_generator): New function.
713         (font::load_desc): Check the `unscaled_charwidths' and
714         `image_generator' keywords.
716         * src/libs/libgroff/fontfile.cpp: Initialize
717         `font::unscaled_charwidths' and `font::image_generator'.
719         * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
721         * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
723         * man/groff_font.man: Document `unscaled_charwidths' and
724         `image_generator'.
726         * src/preproc/html/pre-html.cpp: Include `device.h'.
727         (image_gen): New global variable.
728         (imageList::createPage): Use `image_gen'.
729         (main): Use `image_generator' keyword.
731 2004-10-04  Gaius Mulley  <gaius@glam.ac.uk>
733         * tmac/html.tmac: Handle \[sqrtex].
735 2004-10-04  Gaius Mulley  <gaius@glam.ac.uk>
737         * src/include/printer.h (printer): New virtual method `round_width'.
739         * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
740         src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
741         src/devices/grotty/tty.cpp (printer::round_width): New function
742         member.
744         * src/devices/grohtml/post-html.cpp (printer::round_width): New
745         function member.
746         (html_printer::set_numbered_char): Use it.
748 2004-10-03  Gaius Mulley  <gaius@glam.ac.uk>
750         * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
752         * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
754         * configure: Regenerated.
756         * Makefile.in (GHOSTSCRIPT): New variable.
757         (MDEFINES): Add GHOSTSCRIPT.
759 2004-10-03  Werner LEMBERG  <wl@gnu.org>
761         * INSTALL.gen: Updated (taken from texinfo CVS).
763 2004-09-28  Werner LEMBERG  <wl@gnu.org>
765         * NEWS: Updated.
767 2004-09-28  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
769         * tmac/groff_www.man: Revised and updated.
771 2004-09-26  Werner LEMBERG  <wl@gnu.org>
773         Fix \$@ and \$* to handle any number of arguments.
775         * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
776         characters.
778         * src/roff/troff/input.cpp (input_iterator::internal_level):
779         Removed.
780         (input_stack): New member functions `increase_level' and
781         `decrease_level'.
782         (input_stack::get_level): Don't use `internal_level'.
783         (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
784         (end_quote_iterator): Completely removed.
785         (interpolate_arg): Build string for \$@ and \$* which is then
786         pushed onto the input stack.
788 2004-09-23  Keith Marshall  <keith.d.marshall@ntlworld.com>
790         * tmac/groff_ms.man, doc/groff.texinfo: Document changes from
791         2004-09-19.
793 2004-09-23  Werner LEMBERG  <wl@gnu.org>
795         * tmac/an-old.tmac (ne): Using default scaling operator.
797 2004-09-19  Keith Marshall  <keith.d.marshall@ntlworld.com>
799         This change implements the following features:
801         PORPHANS
802           New numeric register: Defines number of lines following LP, PP,
803           QP, IP or XP, which must be kept together, before any automatic
804           page break.  If insufficient space remains on the current page, a
805           page break is forced before the new paragraph begins.
807         HORPHANS
808           New numeric register: Sets number of lines of following paragraph
809           which must be kept with a heading, defined by NH or SH, before any
810           automatic page break.  If insufficient space remains on the
811           current page, a page break is forced before the heading.
813         GROWPS
814           (Thanks to Joerg van den Hoff, for this idea).
816           New numeric register: Sets the first level of heading (set with
817           NH), which will keep the same point size as body text; e.g. if
818           GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
819           point size specified by \n[PS], but .NH 2 and .NH 1 will have
820           progressively larger point sizes, determined by \n[PSINCR] (see
821           below).
823         PSINCR
824           New numeric register: Sets the point size increment for each level
825           of heading, (set with NH), below the threshold level set by
826           GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
827           then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
828           and all other levels will remain at 10pt, (because \n[PS] = 10).
830         SH
831           Existing macro now accepts a numeric argument, to make heading
832           size match that of NH with same argument value, when the
833           GROWPS/PSINCR feature is enabled.
835         SN-DOT
836           New string, set by NH macro, replaces the existing (undocumented)
837           use of SN, to represent the assigned section number.
839         SN-NO-DOT
840           New string, set by NH macro, represents the assigned section
841           number, but omits the terminal period (periods at intermediate
842           levels are retained).
844         SN
845           String set by NH macro, originally undocumented, now implemented
846           as an alias for SN-DOT (which reproduces original behaviour).
848         * tmac/s.tmac (PORPHANS): New register.
849         (par*start): Use it.
850         (HORPHANS, GROWPS, PSINCR): New registers.
851         (SH-NO-TAG, @SH): Use them.
852         (@NH): Improved.
854 2004-09-19  Keith Marshall  <keith.d.marshall@ntlworld.com>
856         * NEWS, doc/groff.texinfo, tmac/groff_ms.man: Document the deletion
857         of `Ds' and `De' macros.
859 2004-09-10  Werner LEMBERG  <wl@gnu.org>
861         In tbl, handle \a as an interpreted leader character if in
862         compatibility mode.
864         * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER,
865         LEADER_CHAR): New macros.
866         (compatible_flag): New declaration.
868         * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2,
869         LEADER_3, and LEADER_4 to `state'.
870         (table_input::get): Handle `\a'.
872         * src/preproc/tbl/table.cpp (PREFIX): Removed.
873         (LEADER_REG): New macro.
874         (table::init_output): Define LEADER_REG string register if in
875         compatibility mode.
877         * src/preproc/tbl/tbl.man: Document it.
879 2004-08-18  Werner LEMBERG  <wl@gnu.org>
881         * tmac/doc.tmac (An): Fix error message.
883 2004-08-06  Werner LEMBERG  <wl@gnu.org>
885         * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a
886         file can't be opened.  UNIX tbl has the same behaviour.
888 2004-08-05  Y T  <doarhop@hotmail.com>
890         * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration.
891         (DBRead): If in compatibility mode, take into account the text
892         when computing figure boundaries.
894 2004-08-05  Werner LEMBERG  <wl@gnu.org>
896         * src/preproc/soelim/soelim.man: Improved.  Based on suggestions
897         from Tadziu Hoffmann.
899 2004-08-03  Werner LEMBERG  <wl@gnu.org>
901         * doc/meref.me: Document `_M' register.
903 2004-08-03  Martin Husemann  <martin@duskware.de>
905         Make hpftodit work correctly on big-endian systems.
907         * src/utils/hpftodit/hpftodit.cpp (File): New method
908         `get_uint32(char *)'.
909         (entry): New member `orig_value'.
910         (read_tags): Use new method.
911         (output_font_name, read_and_output_pcltypeface, dump_ascii):
912         Updated.
914 2004-08-01  Werner LEMBERG  <wl@gnu.org>
916         * tmac/s.tmac: Undo change 2003-06-29.  The proper macro definitions
917         are already in X11's `macros.t' file.
919 2004-08-01  Jeff Conrad  <jeff_conrad@msn.com>
921         * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
922         Fix casting bug.
923         (read_and_output_pcltypeface): Handle strings with length <= 4.
925 2004-07-27  Egil Kvaleberg  <egil@kvaleberg.no>
927         * tmac/s.tmac (pg@top): Don't save `PO' register.
928         (pg*end-col, pg*end-page): Directly use `PO' register.
930 2004-07-27  Werner LEMBERG  <wl@gnu.org>
932         * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
934         * src/preproc/refer/refer.cpp (output_references): Check for
935         empty hash table.
936         * src/preproc/refer/refer.man: Improve documentation of
937         `bibliography' command.
939 2004-07-26  Werner LEMBERG  <wl@gnu.org>
941         Add requests `fcolor' and `gcolor'.
943         * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
944         New functions.
945         (init_env_requests): Add `fcolor' and `gcolor'.
947         * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
949         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
950         Document new requests.
952 2004-07-24  Werner LEMBERG  <wl@gnu.org>
954         Add support for fractional point sizes in ms macros.  A value for
955         PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
956         by 1000.  For example, `.nr PS 10250' sets the font size to 10.25p.
958         * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
959         PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
961         * tmac/groff_ms.man, docs/groff.texinfo, NEWS: Document it.
963 2004-07-19  Werner LEMBERG  <wl@gnu.org>
965         * src/preproc/pic/lex.cpp (for_input): Add member `from'.
966         Update constructor.
967         (do_for, for_input::get, for_input::peek): Handle negative `by'.
968         * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
970 2004-07-08  Thomas Klausner  <wiz@netbsd.org>
972         * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
973         * tmac/groff_mdoc.man: Updated.
975 2004-07-05  Werner LEMBERG  <wl@gnu.org>
977         * doc/groff.texinfo: Further improve documentation of `hcode'.
979 2004-07-04  Sang Dae Yu  <sdyu@bh.knu.ac.kr>
981         Improve appearance of arrows in pic.
983         * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
984         arrow head thin.
985         Use two line segments for drawing non-filled arrow head.
986         (line_object::print, spline_object::print): Shorten line length to
987         avoid arrow sticking.
988         (arc_object::print): Take arrow direction into account.
990 2004-07-03  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
992         * tmac/groff_www.man: Update documentation of .MPIMG.
994 2004-07-03  Werner LEMBERG  <wl@gnu.org>
996         * tmac/an-old.tmac (RI): Always start with font `R'.
997         (RI, IR): Properly end with font `R'.
999 2004-07-02  Paul Eggert  <eggert@cs.ucla.edu>
1001         * man/ditroff.man, man/groff_font.man, man/groff_out.man,
1002         src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
1003         src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
1004         Don't pass more than six arguments to .R, .I, .B, etc., for
1005         compatibility with traditional troff macros.
1007 2004-07-02  Werner LEMBERG  <wl@gnu.org>
1009         * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
1010         s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
1011         Update all users.
1012         (PUSH_COMP_MODE): New internal character constant.
1013         Update all users.
1015         * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
1016         PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
1017         (token::next, macro::append): Handle PUSH_COMP_MODE.
1018         (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
1019         POP_GROFFCOMP after each of the decoded arguments to make them
1020         independent from the compatibility mode status.
1021         (comp_mode): Add `COMP_ENABLE'.
1022         (do_define_string, do_define_macro): Handle COMP_ENABLE.
1023         (define_string, append_string, define_macro, define_indirect_macro,
1024         append_macro, append_indirect_macro): Handle `compatible_flag'.
1025         (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
1027         * man/groff_diff.man, doc/groff.texinfo: Updated.
1029 2004-07-01  Werner LEMBERG  <wl@gnu.org>
1031         * doc/groff.texinfo: Improve documentation of `hcode'.
1032         Use @documentencoding and convert document to latin-1; to do that
1033         make latin characters active and assign proper macros (within a
1034         @tex...@end tex environment).
1035         * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
1036         * doc/Makefile.sub (groff): Ditto.
1038 2004-06-29  Werner LEMBERG  <wl@gnu.org>
1040         Implement two new conditional operators `F <name>' and `S <name>'
1041         which check whether <name> is a valid font or style, respectively.
1043         * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
1044         (text_file::text_file): Updated.
1045         (text_file::error): Don't emit message if `silent' is set.
1046         (font::load_font): Add optional third argument (which is directly
1047         passed to `load'.
1048         (font::load): Add optional second argument to check the header of
1049         a font only, without emitting warning or error messages.
1050         * src/include/font.h (font): Updated.
1052         * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
1053         conditionals.
1054         * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
1055         fourth argument to check a font without mounting.
1056         (check_font, check_style): New functions.
1057         * src/roff/troff/node.h: Updated.
1059         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
1060         Updated.
1062 2004-06-27  Werner LEMBERG  <wl@gnu.org>
1064         Implement new string-valued register `.sty' to return the current
1065         style name.
1067         * env.cpp (environment::get_style_name_string): New function.
1068         (init_env_requests): Add `.sty' register.
1069         * env.h (environment): Updated.
1070         * node.cpp (font_info): Make `get_style_name' a friend.
1071         (get_style_name): New function.
1072         * node.h: Updated.
1074         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
1075         Updated.
1077 2004-06-15  Werner LEMBERG  <wl@gnu.org>
1079         * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
1080         `nospaces' option.
1082 2004-06-10  Colin Percival  <colin.percival@wadham.ox.ac.uk>
1084         * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
1085         and \n[mo] to avoid dependency on current date.
1087 2004-06-08  Werner LEMBERG  <wl@gnu.org>
1089         * Makefile.sub (install_data): New target.
1091 2004-06-04  Werner LEMBERG  <wl@gnu.org>
1093         * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
1095 2004-06-03  Werner LEMBERG  <wl@gnu.org>
1097         * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
1098         order of libraries.
1099         (install_data): Add $(srcdir).
1101         * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
1102         libraries.
1104 2004-06-02  Werner LEMBERG  <wl@gnu.org>
1106         * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
1107         Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
1108         Add test for Xmu library.
1109         (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
1110         GROFF_APPRESDIR_DEFAULT): New macros.
1112         * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
1113         and GROFF_APPRESDIR_DEFAULT.
1115         * configure: Regenerated.
1117         * Makefile.in (appresdir): New variable.
1118         (MDEFINES): Add appresdir.
1120         * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
1121         -Xt.
1122         (install_data, uninstall_sub): New targets to handle GXditview.ad.
1124         * src/utils/indxbib/Makefiles.ub (install_data): Depend on
1125         `$(srcdir)/eign', not `eign'.
1127         * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
1129         * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
1130         src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
1131         Protect (g)xditview with `\%' to avoid hyphenation.
1132         Other minor formatting.
1134 2004-06-01  Werner LEMBERG  <wl@gnu.org>
1136         Integrate gxditview into groff's standard directory hierarchy.
1138         * src/xditview/*: Moved to ...
1139         * src/devices/xditview/*: Here.
1140         Moved DviChar.h and XFontName.h to src/include.
1141         Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
1142         Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
1143         Moved xtotroff.c to new directory src/utils/xtotroff.
1144         Provide proper Makefile.sub files (reusing the stuff from
1145         Imakefile.in).
1146         DESC renamed to DESC.in.
1147         Removed GXDitview-ad.h, INSTALL, Imakefile.in.
1148         Converted everything from K&R to ANSI C.
1149         Decorated with const where appropriate.
1150         Cast string constants with `String' and `char *' where appropriate.
1151         Made it compile with C++ (used as a C compiler).
1152         Removed other minor compiler warnings.
1154         * src/devices/xditview/device.c: Include config.h, string.h, and
1155         defs.h.
1156         Don't declare `exit', `strtok', `strchr', and `getenv'.
1157         (FONTPATH): Remove.
1159         * src/devices/xditview/font.c: Don't declare `XParseFontName' and
1160         `XFormatFontName'.
1162         * src/devices/xditview/xditview.c: Include config.h.
1163         Include stdio.h earlier.
1164         Protect declaration of `popen' and `pclose' with
1165         NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
1166         Replace `caddr_t' with `XtPointer'.
1167         (MakePromptFunc): New typedef.
1168         (DoPrint): Use RETSIGTYPE.
1169         (promptfunction): Change type to MakePromptFunc.
1170         (MakePrompt): Use MakePromptFunc for third argument.
1171         (xmalloc): Removed.
1173         * src/devices/xditview/ad2c: Add casts to `String'.
1175         * src/include/XFontName.h (XFontNameString): Don't use array
1176         notation.
1177         Add prototypes for `XParseFontName', `XFormatFontName',
1178         `XCompareFontName', and `XCopyFontName'.
1180         * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
1181         `XFontName.h'.
1183         * src/utils/xtotroff/xtotroff.c: Include getopt.h.
1184         Don't declare `XParseFontName' and `XFormatFontName'.
1185         (xmalloc): Removed.
1186         (main): Remove `optind' and `optarg'.
1188         * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
1189         (to select programs which need X).
1190         Make XDEVIDIRS depend on `FORCE'.
1191         (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
1192         X support).
1193         (MDEFINES): Updated.
1194         (LIBDIRS): Use XLIBDIRS.
1195         (CPROGDIRS): Use XPROGDIRS.
1196         (DEVDIRS): Remove font directories for gxditview.
1197         (ALLDIRS, DISTDIRS): Add XDEVDIRS.
1198         (EXTRADIRS): Remove src/xditview.
1200         * Makefile.sub (DISCLEANFILES): Updated.
1202         * Makefile.comm (LIBXUTIL): New variable.
1203         (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
1204         (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
1206         * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
1208         * aclocal.m4 (GROFF_X11): New function.
1210         * configure.ac: Call GROFF_X11.
1211         Don't create src/xditview/Imakefile.
1212         Don't emit notice how to build gxditview.
1214         * configure: Regenerated.
1216         * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
1218 2004-05-28  Akihiro Sagawa  <sagawa@sohgoh.net>
1220         * Makefile.in (CPPFLAGS): Define.
1221         (MDEFINES): Add CPPFLAGS.
1223 2004-05-27  Werner LEMBERG  <wl@gnu.org>
1225         * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
1227 2004-05-26  Niklas Edmundsson  <nikke@acc.umu.se>
1229         Fix problems with `friend name injections'.
1231         * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
1232         make_script_box), src/roff/troff/div.h (end_diversions),
1233         src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
1234         change 2004-04-08.
1236 2004-05-25  Bernd Warken  <bwarken@mayn.de>
1238         * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
1240 2004-05-25  Werner LEMBERG  <wl@gnu.org>
1242         * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
1243         src/libs/libgroff/color.cpp: Include lib.h.
1245 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
1247         * PROBLEMS: Update documentation for problems with Sun C++ 5.0
1248         through Forte 6u1, and for how to get GNU make on Solaris.
1250 2004-05-24  Werner LEMBERG  <wl@gnu.org>
1252         * PROBLEMS: Document problems with gcc 3.4.0 on Sun.  Reported
1253         by Paul Eggert.
1255 2004-05-15  Keith Marshall  <keith.d.marshall@ntlworld.com>
1257         * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
1258         rule.
1260 2005-05-14  Werner LEMBERG  <wl@gnu.org>
1262         * REVISION: Set to 2.
1264         * aclocal.m4 (GROFF_STDINT_H): Removed.
1265         (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H.
1267         * configure.ac: Updated.
1268         * configure, src/include/config.hin: Regenerated.
1270         * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
1271         inttypes.h conditionally.
1273 2003-05-13  Werner LEMBERG  <wl@gnu.org>
1275 Version 1.19.1 released
1276 =======================
1278 2004-05-10  Stephen Gildea  <http://www.gildea.com/stephen>
1280         * src/preproc/refer/label.y (same_author_last_name,
1281         same_author_name): Handle empty sort keys.
1283 2004-05-10  Werner LEMBERG  <wl@gnu.org>
1285         * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
1286         tmac/TODO: Updated.
1288         * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
1289         doc-str-Lb-librt): Reset font.
1290         (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
1291         Provide `doc-str-Lb' to reset font.
1292         * tmac/groff_mdoc.man: Updated.
1294 2004-05-08  Jan Schaumann  <jschauma@netmeister.org>
1296         * src/preproc/html/pre-html.cpp (make_message): Make it work for
1297         snprintf versions which don't conform to ANSI C 99 (this is,
1298         counting the string's trailing null byte in the return value).
1300 2004-05-07  Keith Marshall  <keith.d.marshall@ntlworld.com>
1302         * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
1303         that all implementations of sprintf handle null pointers correctly.
1305 2004-05-04  Werner LEMBERG  <wl@gnu.org>
1307         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
1308         Document `.U' register.
1310         * src/roff/troff/env.cpp (environment::mark_last_line)
1311         [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
1313 2004-05-04  Larry Kollar  <kollar@alltel.net>
1315         New read-only register `.U'; it returns 1 in safer mode and 0
1316         otherwise.
1318         * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
1319         register.
1321 2004-05-03  Werner LEMBERG  <wl@gnu.org>
1323         * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
1325 2004-04-17  Werner LEMBERG  <wl@gnu.org>
1327         * src/include/font.h (font): Use `int' for ch_index.
1328         * src/libs/libgroff/font.cpp (font::alloc_ch_index,
1329         font::compact): Updated.
1331         * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
1332         warnings.
1334         * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
1335         (hyphen_word): Fix compiler warnings.
1336         * src/roff/troff/input.cpp (get_char_for_escape_name): Return
1337         `char'.
1338         Update all callers.
1339         (get_delim_number, get_line_arg): Change second argument type to
1340         `unsigned char'.
1341         (macro_header::copy, token::next, do_define_string,
1342         do_define_character, substring_request, asciify_macro,
1343         unformat_macro, read_size, non_interpreted_node::interpret,
1344         while_request, main: Fix compiler warnings.
1345         (read_color_draw_node): Initialize `col'.
1347         * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
1348         `start_col' and `end_col' of type `int'.
1349         (vertical_rule): Make `col' of type `int'.
1351         * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
1352         for EOF.
1354         * src/preproc/refer/label.y (uppercase_array, lowercase_array):
1355         New arrays.
1356         (format_serial): Use them to remove dependency on ASCII.
1358         * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
1359         compiler warning.
1360         * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
1361         Ditto.
1363         * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
1364         compiler warnings.
1365         (glyph): Change type of `hpos' to `int'.
1367         * src/devices/lbp/lbp.cpp (strsep): Removed.  Unused.
1368         * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
1370         * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
1372         * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
1374 2004-04-16  Werner LEMBERG  <wl@gnu.org>
1376         * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
1377         src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
1378         src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
1379         `double' instead of `float' everywhere.
1380         * src/preproc/grn/main.cpp: Use `double' instead of `float'
1381         everywhere.
1382         (main): Add return value.
1383         * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
1384         everywhere.
1385         Update all user functions.
1387         * src/include/search.h, src/include/ptable.h, src/include/printer.h,
1388         src/preproc/eqn/box.h, src/preproc/pic/object.h,
1389         src/preproc/refer/refer.h, src/preproc/tbl/table.h,
1390         src/preproc/tbl/table.cpp, src/roff/troff/env.h,
1391         src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
1392         src/roff/troff/input.cpp, src/roff/troff/request.h,
1393         src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
1394         declarations.
1396         * src/utils/indxbib/signal.c: Include stdlib.h.
1398 2004-04-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
1400         * tmac/s.tmac (@init, RP): Allow initialization of the PO register
1401         before the first page.
1403 2004-04-14  Thomas Klausner  <wiz@netbsd.org>
1405         * tmac/doc-common (doc-volume-as-*): Use lowercase names.
1406         (doc-operating-system-*): Updated.
1407         * tmac/doc-syms (doc-str-St-*): Various small fixes.
1408         (doc-str-Lb-*): Add more library names.
1410 2004-04-10  Art Haas  <ahaas@airmail.net>
1412         * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
1413         use anonymous type.
1415 2004-04-09  Art Haas  <ahaas@airmail.net>
1417         * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
1419 2004-04-09  Keith Marshall  <keith.d.marshall@ntlworld.com>
1421         * arch/misc/shdeps.sh: Generate better comment for sed script.
1423 2004-04-08  Art Haas  <ahaas@airmail.net>
1425         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
1426         src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
1427         src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
1428         src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
1429         (polyfill), src/preproc/grn/main.cpp (polyfill),
1430         src/preproc/refer/command.cpp (command_table),
1431         src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
1432         gcc 3.5 doesn't like).
1434 2004-04-08  Werner LEMBERG  <wl@gnu.org>
1436         Removing many compiler warnings.  groff should now compile with
1437         a C++ compiler used for C files also.  [Simple variable renamings
1438         to avoid shadowing aren't logged in detail.]
1440         * src/devices/grodvi/dvi.cpp: Some local variable renamings.
1441         (draw_dvi_printer::draw) ['c']: Enclose in block.
1443         * src/devices/grohtml/post-html.cpp: Some local variable renamings.
1444         (page::add_line): Fix typos.
1445         * src/devices/grohtml/html-text.cpp: Some local variable renamings.
1447         * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
1448         Some local variable renamings.
1449         * src/devices/grolbp/lbp.h: Some local variable renamings.
1451         * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
1452         variable renamings.
1454         * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
1455         Remove redundant local variable declaration.
1456         * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
1457         Don't use `caddr_t' but `void *'.
1458         Enclose functions with `extern "C"' for C++.
1460         * src/libs/libdriver/input.cpp (remember_filename,
1461         remember_source_filename): Use cast for string constant.
1463         * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
1464         src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
1465         src/libs/libgroff/geometry.cpp: Some local variable renamings.
1466         * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
1467         style.
1468         Enclose functions with `extern "C"' for C++.
1469         * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
1470         (needs_quoting): Return `int'.
1471         (quote_arg): Add proper casts to malloc and realloc.
1472         * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
1473         various MS Windows environments.
1474         (spawnvp_wrapper): Add proper cast to malloc.
1476         * src/preproc/eqn/box.h: Remove redundant declarations of
1477         `make_script_box', `make_mark_box' and `make_lineup_box'.
1478         * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
1479         * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
1480         variable renamings.
1482         * src/preproc/grn/hpoint.cpp: Some local variable renamings.
1483         * src/preproc/grn/hgraph.cpp: Some local variable renamings.
1484         (dx, dy): Renamed functions to...
1485         (deltax, deltay): This.
1486         * src/preproc/grn/main.cpp: Some local variable renamings.
1487         (deffont): Add `const'.
1488         (initpic, conv): Use cast for string constant.
1490         * src/preproc/html/pre-html.cpp: Some local variable renamings.
1491         (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
1492         (char_buffer::run_output_filter): Second argument is unused.
1493         * src/preproc/html/pushback.cpp: Some local variable renamings.
1495         * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
1496         * src/preproc/pic/object.cpp: Some local variable renamings.
1498         * src/preproc/refer/label.y (lookup_label): Remove redundant
1499         declaration of local variable.
1501         * src/preproc/soelim.cpp: Remove redundant declaration of
1502         `interpret_lf_args'.
1504         * src/preproc/tbl/main.cpp: Some local variable renamings.
1506         * src/roff/groff/groff.cpp (main): Use cast for string constant.
1507         * src/roff/groff/pipeline.c: Enclose declarations of `error',
1508         `c_fatal', and `i_to_a' with `extern "C"' for C++.
1509         Don't use C++-style comments.
1511         * src/roff/troff/env.h: Remove redundant declaration of `title'.
1512         * src/roff/troff/node.h, src/roff/troff/env.cpp,
1513         src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
1514         renamings.
1515         * src/roff/troff/div.h: Remove redundant declaration of
1516         `end_diversions'.
1517         * src/roff/troff/troff.h: Remove redundant declaration of
1518         `cleanup_and_exit'
1519         * src/roff/troff/input.cpp: Remove redundant declaration of
1520         `handle_first_page_transition' and `process_input_stack'.
1522         * src/utils/hpftodit.cpp: Some local variable renamings.
1524         * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
1525         for C++.
1526         Don't define RETSIGTYPE.
1527         * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
1529         * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
1530         (error): Use `const' in argument.
1531         (main): Remove redundant declaration of `optind'.
1532         Move declaration of `Version_string' to top-level.
1534         * PROBLEMS: Document difficulties compiling signal.c if a C++
1535         compiler is used for C.
1537 2004-04-07  Werner LEMBERG  <wl@gnu.org>
1539         * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
1541 2004-04-06  Keith Marshall  <keith.d.marshall@ntlworld.com>
1543         Make scripts like nroff.sh and neqn.sh portable across various
1544         (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
1545         non-POSIX path separators.  The idea is to extend those scripts to
1546         decide at run-time (of the script) which path separator to use.
1548         * arch/misc/Makefile.sub: New file.
1549         * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
1550         This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
1551         a proper definition of the variable `GROFF_RUNTIME'.
1553         * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
1554         (MDEFINES): Add SH_DEPS_SED_SCRIPT.
1555         (PROGDEPDIRS): New variable.
1556         `FORCE' it.
1557         (PROGDIRS): Add PROGDEPDIRS.
1559         * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
1560         Don't substitute @SEP@ and @BINDIR@.
1561         * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
1562         (PATH): Use GROFF_RUNTIME.
1564         * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
1565         Don't substitute @SEP@ and @BINDIR@.
1566         * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
1567         (PATH): Use GROFF_RUNTIME.
1569 2004-04-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
1571         * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
1572         Cygwin which doesn't handle stderr correctly.
1574 2004-03-08  Werner LEMBERG  <wl@gnu.org>
1576         * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
1577         against empty argument.  Problem reported by <cgd@broadcom.com>.
1579 2004-03-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
1581         * Makefile.in (SEP): Replaced with...
1582         (RT_SEP, SH_SEP): Separators for the target platform's native path
1583         separator and the build environment, respectively.
1584         (fontpath, tmacpath): Use RT_SEP.
1585         (MDEFINES): Updated.
1587         * contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
1588         * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
1589         * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
1590         * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
1592 2004-03-05  Werner LEMBERG  <wl@gnu.org>
1594         * fonts/devlj4/Makefile.sub (LJ4RES): Set to 1200.  This helps to
1595         reduce alignment problems with newer printers which use built-in
1596         TrueType fonts (instead of the older Intellifonts).  The ideal
1597         solution is to provide a second set of groff metric files, but this
1598         is extremely time-consuming to produce, given that HP's metric
1599         files are very rudimentary.
1601 2004-03-01  Werner LEMBERG  <wl@gnu.org>
1603         * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
1604         s/operand/argument/ in error message.
1606 2004-03-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
1608         * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
1609         is in use.
1611 2004-03-01  Antti Kantee  <pooka@netbsd.org>
1613         * tmac/s.tmac (XE): Fix error message.
1615 2004-02-27  Jeff Conrad  <jeff_conrad@msn.com>
1617         * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
1618         New macros.
1620         * src/roff/groff/pipeline.c: Declare strcasecmp.
1621         (run_pipeline) [_WIN32]: Use function name variants which don't
1622         start with `_'.
1623         Fix stream handling.
1625 2004-02-27  Keith Marshall  <keith.d.marshall@ntlworld.com>
1627         * src/include/nonposix.h: Fix declaration of `system_shell_name'.
1628         Declare `spawnvp_wrapper' and macro definitions of spawnvp only
1629         for platforms which use the native Win32 runtime libraries.
1630         (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
1632         * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
1633         QUOTE_ARG_REALLOC_ERROR): Fix string.
1635         * src/preproc/html/pre-html.cpp: Remove declaration of
1636         `spawnvp_wrapper'.
1637         Don't use __MINGW32__.
1638         s/DEBUG_FILE/DEBUG_FILE_DIR/.
1639         (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
1640         (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
1641         (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
1642         calls to `set_redirection' and `WAIT'.
1643         [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
1644         Fix calls to `set_redirection' and `save_and_redirect'.
1645         (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
1646         to `set_redirection' and `save_and_redirect'.
1647         (usage): Fix message.
1648         (makeTempFiles, main): Use `DEBUG_FILE'.
1650 2004-02-21  Werner LEMBERG  <wl@gnu.org>
1652         * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
1654 2004-02-21  Keith Marshall  <keith.d.marshall@ntlworld.com>
1656         * src/libs/libgroff/quotearg.c: New file, providing proper argument
1657         quoting for MSVC's spawn* and exec* functions.
1658         * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
1659         spawnvp with proper quoting for MSVC.
1661         * src/libs/libgroff/assert.cpp (program_name),
1662         src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
1663         * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
1665         * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
1667         * src/include/error.h (program_name): Declare as `extern "C"'.
1668         * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
1670 2004-02-21  Jeff Conrad  <jeff_conrad@msn.com>
1672         * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
1673         spawnvp_wrapper.
1674         [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
1676 2004-02-20  Jeff Conrad  <jeff_conrad@msn.com>
1678         * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
1679         variable.
1680         (sbasename) [__MSDOS__ || ...]: New function.
1681         (system_shell_name) [__MSDOS__ || ...]: Use a different, more
1682         generic algorithm.
1683         (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
1684         (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
1685         of XXX.
1686         Use STDOUT_FILENO instead of hardcoded file handle.
1687         (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
1689 2004-02-19  Werner LEMBERG  <wl@gnu.org>
1691         * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
1692         avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
1694 2004-02-18  Werner LEMBERG  <wl@gnu.org>
1696         * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
1697         new font and mapping files.
1699 2004-02-18  Jeff Conrad  <jeff_conrad@msn.com>
1700             Keith Marshall  <keith.d.marshall@ntlworld.com>
1702         * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
1703         an input pipe.  This is needed for the MSVC compiler to make troff's
1704         `-o' option work.
1706         * src/roff/troff/div.cpp: Include nonposix.h.
1707         (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
1709 2004-02-17  Werner LEMBERG  <wl@gnu.org>
1711         * font/devlj4/generate/special.awk: New script.
1712         * font/devlj4/generate/Makefile (S): Use special.awk.
1713         * font/devlj4/*: Regenerated, including the following new files:
1714         Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
1715         MS Symbol (SYMBOL), Wingdings (WINGDINGS).
1716         * NEWS: Document new lj4 fonts and revised hpftodit.
1718 2004-02-17  Paco Andrés Verdú  <pandres@dragonet.es>
1720         * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
1722 2004-01-25  Werner LEMBERG  <wl@gnu.org>
1724         * src/libs/libgroff/progname.cpp: Replaced with...
1725         * src/libs/libgroff/progname.c: New file.
1726         * src/libs/libgroff/Makefile.sub: Updated accordingly.
1728 2004-01-17  Werner LEMBERG  <wl@gnu.org>
1730         * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
1732 2004-01-16  Jeff Conrad  <jeff_conrad@msn.com>
1734         * font/devlj4/generate/wingdings.map,
1735         font/devlj4/generate/symbol.map: Include unnamed glyphs.
1736         Use groff glyph names where possible.
1737         * src/devices/grolj4/lj4_font.man: Minor updates.
1739 2004-01-13  Werner LEMBERG  <wl@gnu.org>
1741         * tmac/www.tmac (DC): Handle TTY devices.
1743         * doc/webpage.ms: Document viewCVS from ffii.org.
1744         * NEWS, README: Updated.
1746         * src/roff/groff/groff.man: Mention lj4_font man page.
1748         * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
1749         variables.
1750         (FONTS): Add SYMBOL and WINGDINGS.
1751         (SYMBOL, WINGDINGS): New targets.
1753 2004-01-13  Jeff Conrad  <jeff_conrad@msn.com>
1755         * src/devices/grolj4/lj4_font.man: New man page.
1756         * src/devices/grolj4/Makefile.sub (MAN5): New variable.
1757         * src/devices/grolj4.man: Mention lj4_font man page.
1759         * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
1760         * src/utils/hpftodit/hpftodit.man: Document it.
1761         (CW): New macro.
1762         Remove details about fonts (which are now in lj4_font.man).
1764         * font/devlj4/generate/symbol.map,
1765         font/devlj4/generate/wingdings.map: New files.
1767 2004-01-12  Werner LEMBERG  <wl@gnu.org>
1769         * README: Mention ffii's viewcvs access.
1771 2004-01-09  Werner LEMBERG  <wl@gnu.org>
1773         * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
1775 2004-01-09  Jeff Conrad  <jeff_conrad@msn.com>
1777         Revert most of the change from 2004-01-03 to better control used
1778         symbol sets.
1780         * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
1781         (text_symbol_sets, special_symbol_sets): New arrays.
1782         (symbol_set_table): New global variable.
1783         (read_symbol_sets): Use search order given in the text_symbol_sets
1784         and special_symbol_sets arrays.  If command line flag -a is not
1785         given, search both arrays.
1786         (output_charset): Require x_height_tag only for command line flag -i.
1788 2004-01-06  Werner LEMBERG  <wl@gnu.org>
1790         Implement string-valued registers \n[.m] and \n[.M] to return the
1791         name of the current drawing and background color, respectively.
1793         * src/roff/troff/symbol.h: Moved to...
1794         * src/include/symbol.h: Here.
1795         Small fixes to make it work outside of the `troff' directory.
1796         * src/roff/troff/symbol.cpp: Moved to...
1797         * src/libs/libgroff/symbol.cpp: Here.
1798         Small fixes to make it work outside of the `troff' directory.
1800         * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
1801         (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
1802         Updated.
1804         * src/include/color.h: Include symbol.h.
1805         (color): Add new field `nm'.
1806         * src/libs/libgroff/color.cpp (color::color): Updated.
1808         * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
1809         src/roff/troff/node.cpp, src/roff/troff/number.cpp,
1810         src/roff/troff/reg.cpp: Don't include symbol.h.
1812         * src/roff/troff/env.cpp: Don't include symbol.h.
1813         (environment::get_glyph_color_string,
1814         environment_get_fill_color_string): New member functions.
1815         (init_env_requests): Handle `.m' and `.M' registers.
1816         * src/roff/troff/input.cpp: Don't include symbol.h.
1817         (default_symbol): Moved to symbol.cpp/symbol.h.
1818         (do_glyph_color, do_fill_color, define_color): Pass symbol name
1819         to color constructor.
1820         * src/roff/troff/env.h: Updated.
1822         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
1823         Document new registers.
1825 2004-01-05  Werner LEMBERG  <wl@gnu.org>
1827         * src/roff/troff/node.cpp (space_node::get_breakpoints,
1828         space_node::nbreaks): Protect against zero `next' field.
1830 2004-01-03  Jeff Conrad  <jeff_conrad@msn.com>
1832         In hpftodit, use the symbol sets offered in the TFM.
1834         * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
1835         (symbol_set, text_symbol_sets, special_symbol_sets,
1836         symbol_set_table): Removed.
1837         (get_printcode): Removed.
1838         (read_symbol_sets): Initialize `symbol_set' field with
1839         `NO_SYMBOL_SET'.
1840         Simplify code to just use the `kind' value.
1841         (output_charset): Improve output formatting.
1842         (dump_symbols): Simplified.
1844 2004-01-02  Werner LEMBERG  <wl@gnu.org>
1846         * font/devlj4/generate/text.map: Add more MSL numbers.
1848 2004-01-02  Jeff Conrad  <jeff_conrad@msn.com>
1850         * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
1851         (text_symbol_sets): Add more symbol sets.
1852         (debug_flag): New static variable (moved from `main').
1853         (get_printcode, show_symset): New functions.
1854         (main): Remove `debug_flag'.
1855         (output_charset): Use `show_symset'.
1856         (dump_symbols):  Use `show_symset'.
1857         Print symsets for all glyphs.
1858         (read_map): Actually call `unicode_to_ucode_make' but this time
1859         correctly.
1861 2004-01-01  Werner LEMBERG  <wl@gnu.org>
1863         * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
1864         Fix placement of comments.
1866 2004-01-01  Jeff Conrad  <jeff_conrad@msn.com>
1868         * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
1869         option `-d' is given.
1870         (output_charset): Improve warning messages to give more information.
1871         (dump_symbols): Make information more precise.
1872         (usage): Updated.
1873         (read_map): Don't call unicode_to_ucode_name; the glyph names must
1874         appear as-is and shouldn't be decomposed.
1876 2003-12-31  Werner LEMBERG  <wl@gnu.org>
1878         * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
1879         * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
1880         (FONTS): Add TrueType font families Arial and Times New Roman.
1881         (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
1882         * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
1883         `fl'.
1885 2003-12-31  Jeff Conrad  <jeff_conrad@msn.com>
1887         * test-groff.in (SEP): Quote value.
1888         * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
1889         `tem' to `char*' to avoid deallocation of a pointer to a constant
1890         object which some compilers don't like.
1892 2003-12-31  Werner LEMBERG  <wl@gnu.org>
1894         * font/devlj4/generate (text.map, special.map): Rewritten to work
1895         with the new hpftodit version.
1897 2003-12-30  Jeff Conrad  <jeff_conrad@msn.com>
1899         * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
1900         set and 8bit character code for all glyphs also.
1902 2003-12-30  Werner LEMBERG  <wl@gnu.org>
1904         * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
1906 2003-12-29  Werner LEMBERG  <wl@gnu.org>
1908         More fixes for MSVC compiler.
1910         * doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use
1911         $(SEP).
1913         * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
1914         STDERR_FILENO) [_MSC_VER]: Define conditionally.
1915         (getpid) [_MSC_VER]: Remove.
1916         Include direct.h and process.h conditionally.
1918         * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
1919         parentheses for a_delete.
1921         * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
1923         * test-groff: Replaced with...
1924         * test-groff.in: This new template to handle path separator
1925         properly.
1927         * configure.ac: Check for direct.h and process.h.
1928         Generate test-groff script.
1929         * configure, src/include/config.hin: Regenerated.
1931 2003-12-28  Werner LEMBERG  <wl@gnu.org>
1933         Add integral extension glyph.
1934         Add new option `-x' to afmtodit to suppress use of built-in AGL.
1936         * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
1938         * font/devps/generate/textmap: Provide entry for `integralex' to
1939         override (old) PUA value of the AGL.
1940         * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
1941         * font/devps/*: Regenerated.
1943         * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
1944         * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
1946 2003-12-27  Werner LEMBERG  <wl@gnu.org>
1948         Add forgotten `coproduct' symbol (already available for DVI).
1950         * font/devhtml/R.proto, font/devps/generate/textmap,
1951         font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
1952         src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
1953         U+2210 (\[coproduct]).
1955 2003-12-26  Jeff Conrad  <jeff_conrad@msn.com>
1957         hpftodit has been extended to handle TrueType metric files and
1958         more glyphs.  See hpftodit.man for more details.
1960         * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h, 
1961         ctype.h, and unicode.h.
1962         s/msl/charcode/ everywhere since we now handle Unicode values also.
1963         (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
1964         Use it where appropriate.
1965         (MULTIPLIER): Replaced with...
1966         (multiplier): New global static variable.
1967         (scale): Updated.
1968         (tag_type): Add more TFM tags.
1969         (tag_name): New array.
1970         (ENUM_TYPE, FLOAT_TYPE): Removed.
1971         (BYTE_TYPE): New value assigned.
1972         (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
1973         (text_symbol_sets, special_symbol_sets): Extended to cover more
1974         sets.
1975         (check_type): Add return value.
1976         (check_units): Add parameters to get ppi and upem values.
1977         Handle TrueType TFM data.
1978         (output_font_name): New function.
1979         (output_charset): Add parameter to handle TFM type.
1980         Handle TrueType TFMs also.
1981         (em_fract): New macro.
1982         (dump_tags): Be much more verbose and handle more tags.
1983         (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
1984         (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
1985         functions.
1986         (read_map): Add parameter to handle TFM type.
1987         Handle both MSL and Unicode mappings.
1988         (main): Add two new command line options `-a' and `-q'.
1989         Updated to make use of new functions.
1990         (usage): Updated.
1992         * src/utils/hpftodit/hpuni.cpp: New file.
1994         * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
1995         Updated.
1997 2003-12-25  Werner LEMBERG  <wl@gnu.org>
1999         * src/include/nonposix.h (read) [_MSC_VER]: Define.
2001 2003-12-24  Werner LEMBERG  <wl@gnu.org>
2003         * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
2004         by Michail Vidiassov <master@iaas.msu.ru>.
2006 2003-12-20  Werner LEMBERG  <wl@gnu.org>
2008         * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
2009         and u0049_0307.
2010         Add missing latin-2 glyphs.
2011         * font/devutf8/R.proto: Add missing latin-2 glyphs.
2013         * tmac/troffrc: Load `composite.tmac' earlier.
2015         * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
2016         u00{53,73}_0327, and u0049_0307.
2017         * tmac/X.tmac: Add u00{47,67}_0306.
2018         * tmac/tty-char.tmac: Use composite glyph names for readability.
2020         * NEWS: Updated.
2022         * src/include/unicode.h: Remove `extern' keywords.
2024 2003-12-20  Nilgün Belma Bugüner  <nilgun@superonline.com>
2026         * tmac/latin5.tmac: New file.
2028 2003-12-19  Werner LEMBERG  <wl@gnu.org>
2030         Add some glyphs needed for Turkish.
2032         * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
2033         and u0049_0307.
2035         * tmac/composite.tmac: Add `,' as a synonym for `ac' accent. 
2036         * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
2037         u00{53,73}_0327, and u0049_0307.
2039 2003-12-18  Werner LEMBERG  <wl@gnu.org>
2041         * src/devices/grops/ps.cc (ps_output::put_float): Revert change
2042         from 2001-10-04.
2043         Remove trailing zeros.
2045 2003-12-17  Werner LEMBERG  <wl@gnu.org>
2047         Make \? transparent to end-of-sentence recognition.
2049         * src/roff/troff/input.cc (non_interpreted_node): Add
2050         `ends_sentence' member function.
2052 2003-12-16  Werner LEMBERG  <wl@gnu.org>
2054         * doc/groff.texinfo: Document `dt' request correctly.
2055         Other minor typographical improvements.
2057 2003-12-10  Michail Vidiassov  <master@iaas.msu.ru>
2059         * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
2061 2003-12-10  Richard Stallman  <rms@gnu.org>
2063         * LICENSE: Better wording.
2065 2003-12-09  Werner LEMBERG  <wl@gnu.org>
2067         * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
2068         * configure, NEWS: Updated.
2070 2003-12-08  Werner LEMBERG  <wl@gnu.org>
2072         * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
2074 2003-12-07  Bernd Warken  <bwarken@mayn.de>
2076         * LICENSE: Updated.
2078 2003-12-07  Werner LEMBERG  <wl@gnu.org>
2080         * INSTALL: Improved.
2082 2003-12-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
2084         Use path separator character of target platform for compiled-in
2085         default paths.
2087         * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
2088         * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
2089         * configure: Regenerated.
2090         * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
2092 2003-12-05  Werner LEMBERG  <wl@gnu.org>
2094         * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
2095         Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
2097 2003-12-04  Bernd Warken  <bwarken@mayn.de>
2099         * LICENSE: New file.
2101 2003-12-03  Werner LEMBERG  <wl@gnu.org>
2103         * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
2104         ligatures present in AFM files since groff currently only
2105         understands some standard ligatures and nothing else.
2107 2003-12-03  Jeff Conrad  <jeff_conrad@msn.com>
2109         * src/roff/groff/groff.cpp (main): Don't run the spooler if
2110         option -v is given.
2112         * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
2113         messages.
2114         Close stdout copy.
2115         Don't use Unix wait flags.
2117 2003-12-02  Werner LEMBERG  <wl@gnu.org>
2119         * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
2120         src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
2121         src/roff/troff/uniuni.cpp: Moved to...
2122         * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
2123         src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
2124         src/libs/libgroff/uniuni.cpp: Here.
2126         * src/include/Makefile.sub.old (HDRS),
2127         src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
2128         src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
2130 2003-12-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
2132         * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
2133         `DEBUG_FILE'.
2134         Updated all users.
2136 2003-12-01  Werner LEMBERG  <wl@gnu.org>
2138         * groff.texinfo: Document special behaviour of `.vs 0'.
2139         Improve documentation of `cflags' request.
2140         * NEWS: Updated.
2142 2003-11-29  Werner LEMBERG  <wl@gnu.org>
2144         * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
2145         * font/devlj4/CORONET: Regenerated.
2147 2003-11-24  Werner LEMBERG  <wl@gnu.org>
2149         * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
2150         if processing hyphenation patterns in traditional mode.
2151         Improve error messages.
2153 2003-11-20  Werner LEMBERG  <wl@gnu.org>
2155         * src/roff/troff/node.cpp (troff_output_file::put_char_width,
2156         troff_output_file::put_char): Fix type of local variable `c'.
2158 2003-11-19  Werner LEMBERG  <wl@gnu.org>
2160         * src/roff/groff/pipeline.c (P): Removed.  Updated all function
2161         declarations.
2162         (i_to_a): Removed.  libgroff already provides this function.
2163         (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
2165 2003-11-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
2167         * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
2168         HAVE_DECL_SYS_LIST.
2170 2003-11-17  Werner LEMBERG  <wl@gnu.org>
2172         * COPYING: Use correct version.
2174 2003-11-11  Werner LEMBERG  <wl@gnu.org>
2176         LynxOS 4.0.0 doesn't declare vfprintf.
2178         * configure.ac: Check for vfprintf.
2179         * configure: Regenerated.
2180         * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
2181         * src/include/config.hin: Regenerated.
2183 2003-11-10  Werner LEMBERG  <wl@gnu.org>
2185         LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
2187         * configure.ac: Check for vsnprintf.
2188         * configure: Regenerated.
2189         * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
2190         `HAVE_VSNPRINTF'.
2191         * src/include/config.hin: Regenerated.
2193 2003-11-09  Werner LEMBERG  <wl@gnu.org>
2195         * aclocal.m4: Updated syntax to autoconf 2.59.
2196         (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
2197         Don't check for gsos2.
2198         (GROFF_SRCDIR, GROFF_BUILDDIR): Removed.  autoconf 2.59 provides
2199         working abs_top_srcdir and abs_top_builddir.
2201         * configure.ac: Updated syntax to autoconf 2.59.
2202         Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
2203         Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
2204         * configure: Regenerated.
2206         * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
2207         s/@groff_top_builddir@/@abs_top_builddir@/.
2209         * src/roff/groff/pipeline.c (xstrsignal):
2210         s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
2212 2003-11-07  Werner LEMBERG  <wl@gnu.org>
2214         * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
2215         make start angle smaller than end angle to circumvent a bug in tpic
2216         handling of some versions of dvipdfm (and dvipdfmx).
2218 2003-10-30  Werner LEMBERG  <wl@gnu.org>
2220         * src/devices/grops/grops.man: Improve section on creating EPS.
2222 2003-10-29  Werner LEMBERG  <wl@gnu.org>
2224         * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
2225         -P-pletter).
2227 2003-10-28  Werner LEMBERG  <wl@gnu.org>
2229         * doc/groff.texinfo: Fix documentation of `.if'.
2231 2003-10-27  Michail Vidiassov  <master@iaas.msu.ru>
2233         * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
2234         the form `uniXXXX' also.
2236 2003-10-27  Werner LEMBERG  <wl@gnu.org>
2238         * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
2239         contrib/pic2graph/pic2graph.sh: Implement secure management of
2240         temporary files.
2241         Pass `-P-pletter' to groff to avoid data outside of the converted
2242         area -- some versions of `convert' (for example 5.3.8) don't check
2243         the bounding box of the image but always use a fixed image size
2244         (letter paper format).
2245         * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
2246         contrib/pic2graph/pic2graph.man: Updated.
2248         * src/roff/groff/groff.man: Document $TMP and $TEMP.
2250 2003-10-26  Werner LEMBERG  <wl@gnu.org>
2252         * src/preproc/pic/troff.cpp (troff_output::simple_circle,
2253         troff_output::simple_ellipse, troff_output::simple_arc,
2254         troff_output::simple_line, troff_output::simple_spline,
2255         troff_output::simple_polygon): Insert a space before arguments.
2256         (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
2257         latter doesn't produce a node, so the following `.sp -1' would do
2258         the wrong thing.
2259         Don't emit `.sp -1' after \M.  This also doesn't produce a token
2260         (and we don't have to care about compatibility mode).
2261         (troff_output::set_color, troff_output::reset_color): Don't emit
2262         `.sp -1' after \M and \m.
2264         * src/roff/troff/input.cpp (old_have_input): New global variable.
2265         (input_stack::get): Handle `old_have_input'.
2266         (process_input_stack) <token::TOKEN_NEWLINE>: Call
2267         `trapping_blank_line' depending on `old_have_input', not
2268         `have_input'.
2270 2003-10-20  Keith Marshall  <keith.d.marshall@ntlworld.com>
2272         * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
2273         (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
2274         default directory names for temporary files.
2275         [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
2277         * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
2278         [__MSDOS__] (run_pipeline): Honour environment variables.
2279         Don't use `tmpnam' but `tempnam' to work around messy
2280         implementation.
2282         * README.MinGW: New file.
2284 2003-10-16  Werner LEMBERG  <wl@gnu.org>
2286         * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
2287         `(*t)->next' without testing validity of `*t'.
2288         (usage): Make it more readable.
2290 2003-10-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
2292         Make html device run under both MS-DOS and Win32.
2294         * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
2295         MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
2296         spawn or fork+exec has to be used, and whether parent must sleep
2297         until the child process terminates.  Used in
2298         `char_buffer::run_output_filter'.
2299         (copyofstdoutfd): Removed.
2300         (char_buffer): Replace `write_file_html' and `write_file_troff'
2301         member functions with `emit_troff_output' and `run_output_filter'.
2302         (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
2303         macros.
2304         (replaceFd): Replaced with...
2305         (set_redirection): New auxiliary function.
2306         (waitForChild): Replaced with...
2307         (save_and_redirect): New auxiliary function for.
2309         (char_buffer::do_html, char_buffer::do_image): Simplified, using new
2310         functions.
2312 2003-10-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
2314         * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
2315         (GROFF_LIBC): New function.
2316         * configure.ac: Call GROFF_LIBC.
2317         Check for `kill'.
2318         * configure: Regenerated.
2320         * src/include/lib.h: Handle __MINGW32__.
2321         * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
2322         Add macro for `pipe'.
2323         Define P_tmpdir.
2325         * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
2326         correctly.
2328         * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
2329         Implement.
2331 2003-10-13  Werner LEMBERG  <wl@gnu.org>
2333         Finally fix change 2003-08-26, based on ideas from Chuck Silvers
2334         <chuq@chuq.com>.
2336         * contrib/mom/Makefile.sub: Use a stamp file in the `examples'
2337         directory.
2339 2003-10-12  Werner LEMBERG  <wl@gnu.org>
2341         * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
2342         src/roff/troff/input.cc (usage): Updated.
2344         * NEWS, doc/groff.texinfo: Updated.
2346 2003-10-12  Peter Miller  <millerp@canb.auug.org.au>
2348         * src/libs/libgroff/searchpath.cpp
2349         (search_path::open_file_cautious): New function which also handles
2350         `-' as stdin and stdout depending on the access mode.
2351         * src/include/searchpath.h (search_path): Updated.
2353         * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
2354         * src/devices/grops/ps.h: Include `searchpath.h'.
2355         * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
2356         Open resource file with `include_search_path.open_file_cautious'.
2357         * src/devices/grops/grops.man: Document new `-I' switch.
2359         * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
2360         (main), src/devices/grolj4/lj4.cpp (main),
2361         src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
2363         * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
2364         Replaced with...
2365         (include_search_path): New global variable.
2366         (include_path_append): Removed.
2367         (main): Use `include_search_path.command_line_dir' to handle `-I'.
2368         (do_file): Simplify, using new
2369         `include_search_path.open_file_cautious'.
2371         * src/roff/groff/groff.cpp (print_commands): Accept file handle as
2372         parameter.
2373         (main): Pass arguments to `-I' to both troff and devices.
2374         Improve handling of `-V'.
2375         * src/roff/groff/groff.man: Document changes to -I and -V.
2377         * src/roff/troff/input.cpp (include_search_path): New global
2378         variable.
2379         (next_file, source, ps_bbox_request, transparent_file,
2380         process_input_file): Use new
2381         `include_search_path.open_file_cautious'.
2382         (main) Handle `-I' switch.
2383         * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
2384         Use new `include_search_path.open_file_cautious'.
2385         * src/roff/troff/node.h: New extern symbol `include_search_path'.
2386         * src/roff/troff/troff.man: Document new `-I' switch.
2388 2003-09-15  Ruslan Ermilov  <ru@FreeBSD.org>
2390         Support multiple calls of .Lb in LIBRARY section.
2392         * tmac/doc-common (doc-in-library-section): New register.
2393         (doc-section-library): New string.
2394         (Sh): Set `doc-in-library-section'.
2395         (Rd): Updated.
2396         * tmac/doc-syms (Lb): Insert breaks before and after arguments
2397         if in LIBRARY section.
2398         * tmac/doc.tmac (doc-save-global-vars): Updated.
2399         * NEWS, tmac/groff_mdoc.man: Updated.
2401 2003-09-14  Ruslan Ermilov  <ru@FreeBSD.org>
2403         * tmac/doc-common (doc-default-operating-system): New variable.
2404         (Os): Use it.
2406 2003-09-08  Werner LEMBERG  <wl@gnu.org>
2408         * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
2410 2003-08-31  Werner LEMBERG  <wl@gnu.org>
2412         * contrib/mom/Makefile.sub: Fix last change to make it really work.
2413         * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
2414         (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
2415         $(DEVFILES) are not empty.
2416         * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
2418 2003-08-26  Chuck Silvers  <chuq@chuq.com>
2420         * contrib/mom/Makefile.sub (prepare_make_examples): Make it work
2421         with parallel runs of `make'.
2423 2003-08-23  Stephen Gildea  <http://www.gildea.com/stephen>
2425         * src/preproc/ref/ref.cpp (reference::compute_sort_key): Always
2426         insert SORT_SEP.  With certain combinations of sort specifications,
2427         refer sorted entries in the wrong order.  In particular, entries
2428         with a missing field should be be sorted before all entries that
2429         have that field, before refer looks to the next field.
2431 2003-08-23  Werner LEMBERG  <wl@gnu.org>
2433         * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
2434         g++ linker is used.  Reported by Mark J. Reed
2435         <mark.reed@turner.com>.
2437 2003-08-16  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
2439         Add key character `x' to tbl which makes tbl call a user-defined
2440         macro on a table cell.
2442         * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
2443         * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
2444         `set_modifier' after printing the compatibility request.
2445         (set_modifier): Print call to `m->macro' if not empty.
2446         * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
2447         `macro'.
2448         (process_format): Implement cases `x' and `X'.
2449         * src/preproc/tbl/tbl.man, NEWS: Updated.
2451 2003-08-15  Werner LEMBERG  <wl@gnu.org>
2453         * doc/groff.texinfo: Minor fixes.
2455 2003-08-09  Werner LEMBERG  <wl@gnu.org>
2457         * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
2459 2003-08-07  Werner LEMBERG  <wl@gnu.org>
2461         * doc/Makefile.sub: Not all shells expand wildcards in the `for'
2462         argument list to nothing if there is no file to match.  Use `ls' as
2463         a protection, similar to autoconf.
2465         * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
2466         empty argument lists.
2468         * doc/groff.texinfo: Improve documentation how vertical spacing
2469         and line breaks interact.
2470         Other minor fixes.
2472         * tmac/www.tmac: Initialize `www-htmlimage-gap'.
2474 2003-08-03  Werner LEMBERG  <wl@gnu.org>
2476         * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
2477         EPS (using eps2eps or similar programs to compute the bounding box).
2479 2003-07-24  Werner LEMBERG  <wl@gnu.org>
2481         * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
2482         * doc/texinfo.tex: Updated from texinfo 4.6.
2483         * README.CVS: From now on we need texinfo 4.6.
2485 2003-07-23  Werner LEMBERG  <wl@gnu.org>
2487         Add requests `dei1' and `ami1' for completeness.
2489         * src/roff/troff/input.cc (calling_mode): Remove
2490         CALLING_DISABLE_COMP.
2491         (comp_mode): New enumeration.
2492         (do_define_string, define_string, define_nocomp_string,
2493         append_string, append_nocomp_string): Updated.
2494         (do_define_macro): Add third parameter.
2495         (define_macro, define_nocomp_macro, define_indirect_macro,
2496         append_macro, append_nocomp_macro, append_indirect_macro): Updated.
2497         (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
2498         functions.
2499         (ignore): Updated.
2500         (init_input_requests): Add `dei1' and `ami1'.
2502         * tmac/trace.tmac: Handle de1 and am1.
2503         (de): Improve tracing message.
2504         (am): Add missing `do'.
2505         (return): Use de1.
2507         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
2508         Document new requests.
2510 2003-07-22  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
2512         Add option -G to .MPIMG to insert a gap between text and the image.
2514         * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
2515         www-finish-left-ll): Updated.
2516         (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
2517         (MPIMG): Make option -L and -R optional.
2518         Implement option -G.
2520 2003-07-22  Gaius Mulley  <gaius@glam.ac.uk>
2522         * src/devices/grohtml/post-html.cpp
2523         (html_printer::do_file_components): Don't use `stdout' as lvalue
2524         since it can be a macro.
2526 2003-07-22  Werner LEMBERG  <wl@gnu.org>
2528         * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
2529         the corresponding test in aclocal.m4.
2531 2003-07-21  Werner LEMBERG  <wl@gnu.org>
2533         * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
2534         names but RGB values directly.  Otherwise pnmtopng depends on
2535         an external file `rgb.txt' which maps colour names to values.
2537 2003-07-20  Werner LEMBERG  <wl@gnu.org>
2539         * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
2540         * configure, src/include/config.hin: Regenerated.
2542         * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
2544 2003-07-19  Werner LEMBERG  <wl@gnu.org>
2546         * PROBLEMS: Add solution for UTF-8 problem with hyphens.
2548 2003-07-18  Werner LEMBERG  <wl@gnu.org>
2550         * *.man: Switch to non-compatibility mode temporarily if GNU
2551         syntax extensions are used in the particular man page.
2553         * PROBLEMS: Add solutions for SGR problems.
2555 2003-07-17  Werner LEMBERG  <wl@gnu.org>
2557         Don't ignore grotty's command line options if \X'tty: sgr ...' is
2558         used to change the drawing scheme.
2560         * src/devives/grotty/tty.cpp (bold_flag_option,
2561         underline_flag_option, italic_flag_option, reverse_flag_option,
2562         bold_underline_mode_option): New global variables.
2563         (update_options): New function.
2564         (tty_printer::special): Call update_options.
2565         (main): Don't set xxx_flag but xxx_flag_option, then call
2566         update_options.
2568 2003-07-14  Werner LEMBERG  <wl@gnu.org>
2570         Make grotty emit proper Unicode box drawing characters for -Tutf8.
2572         * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
2573         values.
2574         (hline_char, vline_char): New global variables.
2575         (tty_printer::tty_printer): Initialize them.
2576         (tty_printer::draw): Emit START_LINE and END_LINE flags for both
2577         horizontal and vertical lines.
2578         (crossings): New global array.
2579         (tty_printer::end_page): Use it to determine the proper crossing
2580         character for -Tutf8.
2582 2003-07-12  Werner LEMBERG  <wl@gnu.org>
2584         * doc/Makefilesub (HTMLDOCFILESALL): New macro.
2585         (HTMLDOCFILES): Revert to `pic.html'.
2586         (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
2588 2003-07-11  Werner LEMBERG  <wl@gnu.org>
2590         * doc/pic.ms: Improve documentation of absolute coordinates.
2591         Document absolute positioning of pictures.
2593         * NEWS: Add new pic capability.
2595 2003-07-09  Hartmut Henkel  <hartmut_henkel@gmx.de>
2597         * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
2598         Rewritten.
2600 2003-07-07  Werner LEMBERG  <wl@gnu.org>
2602         Implement support for dashed and dotted ellipses in pic.  Based on
2603         a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
2605         * src/preproc/pic/common.cpp (common_output::ellipse_arc,
2606         common_output::dashed_ellipse, common_output::dotted_ellipse): New
2607         functions.  Ellipse arcs are approximated with circle arcs.
2608         * src/preproc/pic/common.h (common_output): Updated.
2609         * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
2610         functions.
2611         * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
2613         * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
2615 2003-07-06  Werner LEMBERG  <wl@gnu.org>
2617         Make grotty work on platforms which have unsigned char as the
2618         default for char.  Based on a patch by Thomas Klausner
2619         <wiz@netbsd.org>.
2621         * src/devices/grotty/tty.cpp (schar): New typedef.
2622         Updated calls to declare_ptable and implement_ptable.
2623         (glyph): Use schar for back_color_idx and fore_color_idx.
2624         (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
2625         (tty_printer::tty_color, tty_printer::tty_printer,
2626         tty_printer::color_to_idx, tty_printer::put_color): Updated.
2628 2003-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
2630         * src/roff/nroff/nroff.sh: Add option -d for completeness.
2631         * src/roff/nroff/nroff.man: Updated.
2633 2003-07-05  Werner LEMBERG  <wl@gnu.org>
2635         * NEWS, tmac/groff_www.man: Updated.
2636         * doc/Makefile.sub: Updated.
2638 2003-07-05  Gaius Mulley  <gaius@glam.ac.uk>
2640         Implement support for multiple HTML output files.
2642         * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
2643         -j command line option.
2645         * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
2646         global variables.
2647         (file): New fields `new_output_file', `require_links',
2648         `output_file_name'.
2649         (file::file): Updated.
2650         (files::set_file_name, files::set_links_required,
2651         files::are_links_required, files::is_new_output_file,
2652         files::file_name, files::next_file_name): New functions.
2653         (header_desc): New fields `no_of_level_one_headings',
2654         `header_filename'.
2655         (header_desc::header_desc): Updated.
2656         (header_desc::write_headings): Handle multiple files.
2657         (html_printer::write_header): Save file name in which header occurs.
2658         (html_printer::determine_header_level): Possibly split files on
2659         level one headings.
2660         (html_printer::do_links, html_printer::troff_tag): Updated.
2661         (html_printer::insert_split_file, html_printer::do_job_name,
2662         html_printer::emit_link, html_printer::write_navigation,
2663         html_printer::do_file_components): New functions.
2664         (html_printer::~html_printer): Handle multiple files.
2665         (main): Handle command line option `-j'.
2667         * src/devices/grohtml/grohtml.man: Updated.
2669         * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
2670         which splits file.
2672         * tmac/www.tmac (JOBNAME): New macro.
2673         * tmac/s.tmac (SH-NO-TAG): New macro.
2674         (@SH): Call SH-NO-TAG.
2675         (@NH): Updated.
2677 2003-07-05  Ruslan Ermilov  <ru@FreeBSD.org>
2679         * tmac/groff_mdoc.man: Improve documentation of punctuation
2680         characters.
2682 2003-07-04  Ruslan Ermilov  <ru@FreeBSD.org>
2684         * tmac/doc.tmac (Bd): Change to doc-Li-font later.
2686 2003-07-03  Werner LEMBERG  <wl@gnu.org>
2688         * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
2690 2003-07-01  Ruslan Ermilov  <ru@FreeBSD.org>
2692         * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
2693         after `/*' and `*/'.
2694         Fix spacing.
2695         (Fn, Fo): Reduce indentation in synopsis.
2697         * tmac/doc-common (doc-check-depth): New macro.
2698         (doc-end-macro, Sh, Ss): Use it.
2699         (Cd): Fix behaviour in synopsis.
2700         (In): Make it parsed and callable.
2701         If not in the synopsis, represent the C header file enclosed in
2702         angle brackets.
2703         (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
2704         Use minus, not hyphen.
2706         * tmc/groff_mdoc.man: Updated.
2708 2003-07-01  Werner LEMBERG  <wl@gnu.org>
2710         Integrated grap2graph, contributed by Eric S. Raymond.
2712         * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
2713         New files.
2714         * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
2715         contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
2717 2003-07-01  Colin Watson  <cjwatson@debian.org>
2719         * src/xditview/*.c: Add prototypes, fix return types, add includes.
2720         Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
2722 2003-06-31  Ruslan Ermilov  <ru@FreeBSD.org>
2724         * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
2726 2003-06-31  Werner LEMBERG  <wl@gnu.org>
2728         * doc/Makefile.sub (CLEANADD): Remove all files created by
2729         running `make groff.{pdf,dvi}'.
2731         * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
2732         src/xditview also.
2734 2003-06-30  Werner LEMBERG  <wl@gnu.org>
2736         * Makefile.in (SHELL): Define as @SHELL@.
2737         (mkinstalldirs): Use $(SHELL).
2738         (MDEFINES): Add $(SHELL).
2739         * Makefile.comm (SHELL): Removed.
2741 2003-06-29  Werner LEMBERG  <wl@gnu.org>
2743         * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
2744         The X11 documentation files use them.
2745         * tmac/groff_ms.man, doc/groff.texinfo: Document them.
2747 2003-06-15  Robert Goulding  <goulding@Princeton.EDU>
2749         * tmac/e.tmac (@C): Handle .ad also.
2751 2003-06-12  Werner LEMBERG  <wl@gnu.org>
2753         * src/preproc/tbl/tbl.man: Document formatting of text blocks.
2755         * src/roff/troff/input.cc (token::next) <handle_escape_char>:
2756         Assign `n' even here.  It is possible to construct a node
2757         immediately following an escape character:
2759           .di xx
2760           \?\\\?a
2761           .br
2762           .di
2763           .xx
2765 2003-06-10  Werner LEMBERG  <wl@gnu.org>
2767         * README.WIN32: Removed.
2768         * MANIFEST: Updated.
2770 2003-06-07  Werner LEMBERG  <wl@gnu.org>
2772         * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
2774 2003-06-05  Werner LEMBERG  <wl@gnu.org>
2776         * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
2777         in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
2779 2003-06-03  Werner LEMBERG  <wl@gnu.org>
2781         * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
2782         is done by the calling function.
2784 2003-05-22  Ruslan Ermilov  <ru@FreeBSD.org>
2786         * tmac/X.tmac: Fix definition of `em'.
2788 2003-05-22  Werner LEMBERG  <wl@gnu.org>
2790         * src/roff/troff/input.cc (return_macro_request): Fix detection of
2791         argument.
2793 2003-05-18  Werner LEMBERG  <wl@gnu.org>
2795         * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
2796         to make items work which consist only of a tag.
2798 2003-05-17  Werner LEMBERG  <wl@gnu.org>
2800         * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
2801         aren't stretched in a tag (this can fail with unformatted boxes).
2802         Instead, insert a break and go back one line.
2804 2003-05-16  Werner LEMBERG  <wl@gnu.org>
2806         * src/roff/troff/input.cc (return_macro_request): If called with
2807         argument pop macro twice.  We need this to trace `return'.
2809         * tmac/trace.tmac: Handle `return'.
2810         Fix typos.
2812         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
2813         Document.
2815 2003-05-15  Larry Kollar  <kollar@alltel.net>
2817         * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
2818         registers `FPS', `FVS', and `FPD'.
2820 2003-05-15  Werner LEMBERG  <wl@gnu.org>
2822         * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
2823         correctly.
2825 2003-05-03  Ruslan Ermilov  <ru@FreeBSD.org>
2827         * tmac/groff_mdoc.man: Slight improvements.
2829 2003-05-03  Werner LEMBERG  <wl@gnu.org>
2831         * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
2832         `doc-header-space' after header line if register `cR' is set.
2834 2003-05-02  Werner LEMBERG  <wl@gnu.org>
2836         * TODO: Updated.
2838 2003-05-01  Ruslan Ermilov  <ru@FreeBSD.org>
2840         * tmac/doc-common (Nd): Use \[em].
2842 2003-05-01  Werner LEMBERG  <wl@gnu.org>
2844         * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
2845         doc-footer-space): Initialize to 0.5i.
2846         (doc-setup-page-layout): Don't set doc-header-space and
2847         doc-footer-space.
2849 2003-04-30  Werner LEMBERG  <wl@gnu.org>
2851         * REVISION: Set to 1.
2853         * doc/pic.ms: Document possible problems with `figname'.
2855 2003-04-29  Werner LEMBERG  <wl@gnu.org>
2857 Version 1.19 released
2858 =====================
2860         * VERSION: Set to 1.19.
2861         * REVISION: Set to 0.
2862         * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
2864         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
2865         Define charset as `US-ASCII' in html output.
2867         * tmac/www.tmac (ULE): Add missing scaling indicator.
2869         * win32-diffs: Removed.
2871 2003-04-28  Werner LEMBERG  <wl@gnu.org>
2873         * doc/groff.texinfo: Document `dn' and `dl' registers if used with
2874         `.da' and `.boxa'.
2875         Document how to insert discardable whitespace with `.ss'.
2877 2003-04-27  Werner LEMBERG  <wl@gnu.org>
2879         * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
2880         work with plain TeX also.
2882         * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
2884 2003-04-25  Gaius Mulley  <gaius@glam.ac.uk>
2886         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
2887         Use a loose DTD.
2889 2003-04-24  Werner LEMBERG  <wl@gnu.org>
2891         * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
2892         vbox with positive height and zero depth if in TeX mode.
2894         * NEWS: Document glyph name changes for grodvi and grolj4.
2896 2003-04-23  Werner LEMBERG  <wl@gnu.org>
2898         * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
2899         * doc/pic.ms: Fixed.
2901 2003-04-21  Werner LEMBERG  <wl@gnu.org>
2903         HP-UX 10.20 has `snprintf' but it isn't declared.
2905         * configure.ac: Add declaration test for snprintf.
2906         * configure: Regenerated.
2907         * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
2908         * src/include/config.hin: Regenerated.
2910 2003-04-19  Werner LEMBERG  <wl@gnu.org>
2912         Add keyword `figname' to pic, specifying the name of the picture
2913         box in TeX mode.  Based on a patch from William J Poser
2914         <wjposer@unagi.cis.upenn.edu>.
2916         * src/preproc/pic/pic.y: New token `FIGNAME'.
2917         (macro_name): New rule of type <str>.
2918         (placeless_element): Handle `FIGNAME'.
2919         * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
2920         * src/preproc/pic/main.cpp (graphname): New global variable.
2921         (do_picture): Initialize `graphname'.
2922         * src/preproc/pic/pic.h: Updated.
2923         * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
2924         `graphname'.
2925         Simplify TeX code.
2926         (tex_output::text): Beautify output.
2927         * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
2928         `shaded' and `outlined' unconditionally.
2929         * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
2930         Minor improvements.
2932         * PROBLEMS, README.CVS: Mention that bison version 1.875b or
2933         greater is necessary.
2935 2003-04-17  Hartmut Henkel  <hartmut_henkel@gmx.de>
2937         Add option -r to soelim to avoid emission of `.lf' lines.
2938         Add option -t to produces TeX comment lines instead of `.lf' lines.
2940         * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
2941         and `tex_flag'.
2942         (usage): Updated.
2943         (main): Handle `-r' and `-t'.
2944         (set_location): Handle `raw_flag' and `tex_flag'.
2945         * src/preproc/soelim/soelim.man, NEWS: Updated.
2947 2003-04-17  Werner LEMBERG  <wl@gnu.org>
2949         * tmac/hyphenex.sh: Replaced with...
2950         * tmac/hyphenex.pl: This perl script to avoid sed compatibility
2951         nightmares.
2953         * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
2954         if --quiet is used for the configure script.
2955         * configure: Regenerated.
2957 2003-04-16  Werner LEMBERG  <wl@gnu.org>
2959         * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
2960         Add `const' to second argument.
2961         (html_printer::add_table_end): Add `const' to argument.
2962         * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
2963         `const' to arguments.
2964         * src/devices/grohtml/html-text.h: Updated.
2966         * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
2967         * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
2968         argument.
2970         * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
2971         cast for integer constant.
2973         * src/preproc/html/pre-html.cpp (image_device): Use `const'.
2974         (writeNbytes): Add `const' to first argument.
2975         (writeString): Add `const' to argument.
2976         (char_buffer::can_see): Add `const' to third argument.
2977         * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
2978         `const' to argument.
2979         * src/preproc/html/pushback.h: Updated.
2981         * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
2982         (include_path_append): Add `const' to argument.
2983         (do_file): Updated.
2985         * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
2986         for `value'.
2987         (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
2988         * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
2989         for `value'.
2990         (unicode_decompose_init::unicode_decompose_init): Updated.
2991         * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
2992         for `value'.
2993         (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
2994         * src/roff/troff/input.cc (process_startup_file): Add `const' to
2995         argument.
2997         * tmac/hyphenex.sh: Make script more portable by using a here
2998         document.
3000 2003-04-15  Werner LEMBERG  <wl@gnu.org>
3002         Renamed all `*.cc' files to `*.cpp'.
3003         Updated all configuration files, makefiles, and documentation.
3005 2003-04-14  Werner LEMBERG  <wl@gnu.org>
3007         * tmac/hyphenex.sh: Slight improvements.
3009 2003-04-13  Werner LEMBERG  <wl@gnu.org>
3011         * font/devascii/R.proto, font/devcp1037/R.proto,
3012         font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
3013         character slots with unnamed glyphs.
3015         * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
3016         (an-first): New global variable.
3017         (an-header): Emit vertical space between multiple man pages.
3019 2003-04-11  Werner LEMBERG  <wl@gnu.org>
3021         * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
3022         values.
3024 2003-04-10  Werner LEMBERG  <wl@gnu.org>
3026         * PROBLEMS: Revised.
3028 2003-04-10  Bernd Warken  <bwarken@mayn.de>
3030         * doc/webpage.ms: Improved.
3032 2003-04-09  Werner LEMBERG  <wl@gnu.org>
3034         Add register \n[.height] which returns the value of \H.
3035         Add register \n[.slant] which returns the value of \S.
3037         * src/roff/troff/env.cc (init_env_requests): Implement.
3038         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
3039         Document.
3041 2003-04-08  Werner LEMBERG  <wl@gnu.org>
3043         * tmac/html.tmac: Move some of the data into html-end.tmac.
3044         Remove most of the character translations for eqn since html fonts
3045         now cover those characters.
3046         Load www.tmac.
3047         * tmac/html-end.tmac: New file.
3048         * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
3049         * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
3050         * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
3052 2003-04-07  Werner LEMBERG  <wl@gnu.org>
3054         * man/groff_out.man: Document negative values of `N' if -Thtml is
3055         used.
3057 2003-04-06  Werner LEMBERG  <wl@gnu.org>
3059         * Makefile.comm (depend.temp): Check location of YTABC.
3061 2003-04-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3063         * contrib/mom/Makefile.sub (GROFFBIN): New variable for groff
3064         binary path.
3065         (groff_bin_path): Rename to GROFF_BIN_PATH.
3066         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
3067         * doc/Makefile.in (TROFFBIN): New variable for troff
3068         binary path.
3069         (GROFFBIN): New variable for groff binary path.
3070         (groff_bin_path): Rename to GROFF_BIN_PATH.
3071         (TROFF): Use TROFFBIN.
3072         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
3073         * doc/Makefile.sub (GROFFBIN): New variable for groff
3074         binary path.
3075         (groff_bin_path): Rename to GROFF_BIN_PATH.
3076         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
3078         * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
3079         with INSTALL_SCRIPT.
3080         (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
3081         * Makefile.dev (all): Depend on DEVSCRIPTS.
3082         (install_dev): Likewise.
3083         * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
3084         scripts.
3085         * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
3086         (DEVGENSCRIPTS): New variable to hold generated scripts.
3088 2003-04-05  Werner LEMBERG  <wl@gnu.org>
3090         * src/libs/libdriver/input.cc (IntArray::operator[],
3091         IntArray::get_data): Remove meaningless `const' in return value.
3093         * README.CVS: New file.
3095 2003-04-04  Werner LEMBERG  <wl@gnu.org>
3097         Check for stdint.h in C++, not in C.
3099         * aclocal.m4 (GROFF_STDINT_H): New function,
3100         * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
3101         AC_CHECK_HEADERS.
3102         * configure, src/include/config.hin: Regenerated.
3103         * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
3106         Fix handling of &nbsp; in grohtml.  To do this, troff emits `N'
3107         with a negative value, representing the width of the unbreakable
3108         space (only for -Thtml).  grohtml then converts this back to
3109         &nbsp; and uses the value of N as its width.
3111         * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
3112         unbreakable_space_node::tprint): Emit `N-<width>'.
3113         * src/include/printer.h (printer::set_numbered_char): Make it
3114         virtual.
3115         Make members `font_table' and `nfonts' protected instead of private.
3116         * src/devices/grohtml/post-html.cc
3117         (html_printer::set_numbered_char): New member function.
3120         * src/libs/libgroff/maxfilename.cc:
3121         s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
3123         * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
3124         emit word marker.
3126 2003-04-03  Sergey A. Osokin  <osa@freebsd.org.ru>
3128         * man/roff.man: Small fixes.
3130 2003-04-03  Werner LEMBERG  <wl@gnu.org>
3132         Make groff independent from locale's numeric settings.
3134         * configure.ac: Check for `setlocale'.
3135         * configure, src/include/config.hin: Regenerated.
3137         * src/include/lib.h: Handle HAVE_SETLOCALE.
3139         * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
3140         (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
3141         (main), src/preproc/pic/main.cc (main): Call `setlocale'.
3144         * doc/groff.texinfo: Change dir category to `Typesetting'.
3145         (Man font macros): Mention that there is no space between arguments
3146         of .BI and friends.
3148         * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
3149         (*printer::change_color, *printer::change_fill_color): Add missing
3150         `const'.
3152 2003-04-02  Werner LEMBERG  <wl@gnu.org>
3154         * src/devices/grohtml/html-table.cc (html_table::emit_col,
3155         html_table::is_gap): Compute table widths after converting border
3156         positions to avoid rounding errors.
3158 2003-04-01  Werner LEMBERG  <wl@gnu.org>
3160         * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
3161         `space_emitted' properly.
3163 2003-03-31  Werner LEMBERG  <wl@gnu.org>
3165         * src/devices/grohtml/html-table.cc: Fix column width calculation.
3166         (html_table::set_linelength): Don't add 1.
3167         (html_table::add_indent): Don't subtract 1.
3169         * tmac/html.tmac: Set default page offset to zero.
3171 2003-03-30  Werner LEMBERG  <wl@gnu.org>
3173         Make groff emit `&nbsp;' for `\ ' and `\~' if `-Thtml' is used.
3175         * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
3176         unbreakable_space_node::tprint): New functions.
3177         (troff_output_file): Make space_char_hmotion_mode::tprint and
3178         unbreakable_space_node::tprint to friends.
3179         * src/roff/troff/node.h: Updated.
3181         * font/devhtml/R.proto: Add `&nbsp' at position 0xA0 (as defined
3182         in the HTML standard).
3184 2003-03-29  Werner LEMBERG  <wl@gnu.org>
3186         * src/roff/troff/env.cc (point_size): Fix emission of html tag.
3187         Otherwise, the following code
3189           .di xxx
3190           .ps 10
3191           a
3192           .br
3193           .di
3194           x\*[xxx]
3196         produces `x a' instead of `xa'.  This is a temporary fix, disabling
3197         font changes in diversions for -Thtml.
3199         * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
3200         `HTML-TAG'.
3201         (an-do-tag-html): Merge with ...
3202         (an-do-tag): This macro.
3203         Change code slightly to circumvent grohtml bug.
3204         * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
3206         * src/devices/grohtml/html-table.cc (html_table::emit_col,
3207         html_table::is_gap): Round `width' properly.
3209         * tmac/html.tmac: Provide some default layout parameters for
3210         grohtml.
3212         * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
3213         command.
3215 2003-03-28  Werner LEMBERG  <wl@gnu.org>
3217         src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
3219 2003-03-27  Werner LEMBERG  <wl@gnu.org>
3221         * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
3222         defined.
3224 2003-03-20  Werner LEMBERG  <wl@gnu.org>
3226         * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
3227         `.vs'.
3228         * doc/groff.texinfo: Updated.
3230 2003-03-19  Werner LEMBERG  <wl@gnu.org>
3232         * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
3233         TOKEN_END_TRAP>: Reset `have_input'.
3235 2003-03-18  Werner LEMBERG  <wl@gnu.org>
3237         * src/roff/groff/groff.man: Mention groff_trace man page.
3239 2003-03-16  Werner LEMBERG  <wl@gnu.org>
3241         * Makefile.in (LIBEXT): New variable to indicate the file extension
3242         of library files.  Computed heuristically from $(OBJEXT).
3243         (MDEFINES): Add $(LIBEXT).
3244         * Makefile.lib, Makefile.comm: Use it.
3246         * src/utils/pfbtops/pfbtops.c (get_text): New function.  Split
3247         overlong lines into smaller chunks.
3248         (get_binary): New function.
3249         (main): Use them.
3250         * src/utils/pfbtops/pfbtops.man: Updated.
3252 2003-03-15  Colin Watson  <cjwatson@debian.org>
3254         * src/roff/groff/groff.man: Minor syntax fix.
3256 2003-03-14  Egil Kvaleberg  <egil@kvaleberg.no>
3258         * src/devices/grops/ps.cc (ps_printer::media_set,
3259         ps_printer::~ps_printer): Handle zero paper width and length.
3261 2003-03-13  Werner LEMBERG  <wl@gnu.org>
3263         Add options -p and -l to grodvi.
3265         * src/devices/grodvi/dvi.cc: Include paper.h.
3266         (landscape_flag, user_paper_length, user_paper_width): New global
3267         variables.
3268         (dvi_printer::begin_page): Emit `papersize' special.
3269         Set color after initialization of `cur_h' and `cur_v'.
3270         (main): Add options `-l' and `-p'.
3271         * font/devdvi/Makefile.sub (DESC): Set `papersize'.
3272         * src/devices/grodvi/grodvi.man, NEWS: Updated.
3274         * src/devices/grops/psrm.cc (valid_input_table): Fixed.
3276 2003-03-12  Werner LEMBERG  <wl@gnu.org>
3278         * src/devices/grops/grops.man: Move documentation of .PSPIC to...
3279         * man/groff_tmac.man: This man page.
3280         * man/groff_font.man: Declare `paperwidth' and `paperlength' as
3281         deprecated.
3283         * tmac/X.tmac: Don't load pspic.tmac.
3285 2003-03-11  Werner LEMBERG  <wl@gnu.org>
3287         Make variable `pr' local to libdriver/input.cc.  Based on a patch
3288         by Bernd Warken <bwarken@mayn.de>.
3290         * src/include/driver.h (pr): Removed.
3292         * src/libs/libdriver/input.cc (pr): New global variable.
3293         (do_file): Deallocate `pr'.
3294         * src/libs/libdriver/printer.cc (pr): Removed.
3296         * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
3297         (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
3298         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
3299         (main): Don't delete `pr'.
3301 2003-03-10  Werner LEMBERG  <wl@gnu.org>
3303         * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
3304         * tmac/papersize.tmac: New file.
3305         * tmac/troffrc: Include `papersize.tmac'.
3306         * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
3307         * tmac/an-old.tmac: Set LT to LL by default.
3309         * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
3310         doc/groff.texinfo: Updated.
3312         * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
3313         bug which caused all odd iso papers to have wrong dimensions.
3315         * src/devices/grops/ps.cc (user_paper_width): New global variable.
3316         (main) <'p'>: Set `user_paper_width' also.
3317         (ps_printer::media_width, ps_printer::media_height): Use values
3318         given with option `-p'.
3320 2003-03-09  Werner LEMBERG  <wl@gnu.org>
3322         * src/include/nonposix.h: Provide default for SET_BINARY.
3324         * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
3325         src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
3326         unconditionally.
3328         * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
3329         (main): Treat \r\n as \n.
3331 2003-03-08  Werner LEMBERG  <wl@gnu.org>
3333         * tmac/an-old.tmac: Use register `HY' to control hyphenation.
3334         * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
3336 2003-03-07  Werner LEMBERG  <wl@gnu.org>
3338         Added support to access more than 256 glyphs in Type 1 fonts.
3340         * src/devices/grops/ps.cc (subencoding): New structure.
3341         (style): Add `sub' field.
3342         Updated all users.
3343         (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
3344         Add `set_subencoding', `get_subfont' and `encode_subfont' member
3345         functions.
3346         Updated all users.
3347         (ps_printer::set_char): Use `set_subencoding'.
3348         (make_subencoding_name): New function.
3349         (ps_printer::set_style): Handle case where `sty.sub' is not zero.
3350         (ps_printer::~ps_printer): Emit subencoding definitions.
3352         * src/devices/grops/psrm.cc (valid_input_table): New array to
3353         properly support EBCDIC.
3354         (white_space): Add `\f'.
3355         (ps_get_line): Change first argument to be of type `string &'.
3356         Updated all callers.
3357         This allows to get lines of arbitrary length.
3358         Use `valid_input_table'.
3359         Remove warning about non-conforming PS line length.  This seems
3360         not to be of great importance -- for example, dvips don't emit
3361         a warning either.
3362         (PS_LINE_MAX): Removed.
3363         (matches_comment): Change first argument to be of type `string &'.
3365         * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
3367         * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
3368         %AGL_to_unicode, %default_ligatures): New hash tables.
3369         Read all map entries.
3370         Add unencoded characters.
3371         Check for default ligatures if there are no `L' entries.
3372         Print all kern entries.
3373         Print all characters in charset.
3374         * src/utils/afmtodit/afmtodit.man: Updated.
3376         * font/devps/*: Regerated all fonts.
3378         * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
3379         of characters, just use `.trin'.  Otherwise the mapping depends
3380         on the font encoding.
3381         * tmac/ps.tmac: Add `fi' and `fl'.
3382         Improve `Fi' and `Fl'.
3383         * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
3384         * tmac/Xps.tmac: Fix `em'.
3386         * NEWS: Updated.
3388 2003-03-04  Werner LEMBERG  <wl@gnu.org>
3390         * src/roff/troff/input.cc (charinfo_to_node_list): Reset
3391         `have_input'.
3393 2003-03-03  Werner LEMBERG  <wl@gnu.org>
3395         * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
3397         * font/devps/generate/textmap: Remove entry `similarequal'.
3398         * font/devps/symbolmap: Updated.
3400 2003-03-02  Werner LEMBERG  <wl@gnu.org>
3402         * src/libs/libgroff/font.cc (font::load): Fix error message for
3403         bad character type.
3405         * src/devices/grops/grops.man: Improve documentation of the -b
3406         flag.
3408         * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
3409         `ascii' and `cp1047'.
3411 2003-03-01  Werner LEMBERG  <wl@gnu.org>
3413         Document composite glyphs and the `composite' request.
3415         * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
3417 2003-02-28  Werner LEMBERG  <wl@gnu.org>
3419         * font/devdvi/generate/ec.map: Add some more Unicode entities.
3420         * font/devdvi/*EC: Updated.
3422         * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
3423         * tmac/latin1 (latin1-tr): Undo any previous mapping.
3424         * tmac/troffrc: Load `composite.tmac'.
3425         * tmac/Makefile.sub (NORMALFILES): Updated.
3427         * doc/groff.texinfo (Input Encodings): New section.
3428         * NEWS: Updated.
3430 2003-02-27  Werner LEMBERG  <wl@gnu.org>
3432         * doc/texinfo.tex: New version 2003-02-11.06.
3434         * tmac/doc-common (Dt): Don't emit warning for unknown section.
3435         * tmac/groff_mdoc.man: Fix description of `Dt'.
3437 2003-02-26  Egil Kvaleberg  <egil@kvaleberg.no>
3439         * font/devps/prologue.ps: Fix for included Postscript that does
3440         a setpagedevice -- which is now safely ignored.
3442         * NEWS: Updated.
3444         * src/devices/grops/ps.cc: Now sets the page size in the generated
3445         document.  This is done in two ways: Via a %%-comment for gv and
3446         the like, and via a PageSize and setpagedevice for programs that
3447         understands Postscript proper, like ps2pdf.
3449         * src/devices/grops/ps.h: New broken-flag to avoid page size
3450         definition, if required.
3452         * src/devices/grops/grops.man: New broken-flag 16 mentioned.
3454         * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
3455         Not really necessary due to the fix in prologue.ps, but cleaner:
3456         Such information does not belong in an .eps file.
3458         * doc/Makefile.sub: See doc/Makefile.in.
3460 2003-02-26  Ralph Corderoy  <ralph@inputplus.co.uk>
3462         * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
3463         instead of P1 since the latter is broken in some versions of netpbm.
3464         * configure: Updated.
3466 2003-02-26  Larry Kollar  <kollar@alltel.net>
3468         Make man pages more customizable.
3470         * tmac/an-old.tmac (FT): New register holding footer distance from
3471         bottom.
3472         (HF): New string holding the default heading font.
3473         (TH): Handle registers `IN' and `SN' set on the command line.
3474         Use `FT'.
3475         (PT, BT): New strings to customize header and footer lines.
3476         (an-header, an-footer): Use them.
3477         (SH, SS): Use `HF'.
3478         * tmac/groff_man.man: Document changes.
3480         * doc/groff.texinfo: Document man changes.
3481         Document Ultrix extensions of man.
3483 2003-02-26  Werner LEMBERG  <wl@gnu.org>
3485         * src/roff/troff/input.cc (do_width, do_if_request): Reset
3486         `have_input' after changing back to old environment.
3488         * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
3489         function up to be defined before first call.  This is necessary to
3490         avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
3492         * src/utils/afmtodit/afmtodit.pl: Make script search for files in
3493         the default font directory also.  Based on a patch from James
3494         J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
3495         * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
3496         * src/utils/afmtodit/afmtodit.man: Document it.
3498         * NEWS: Updated.
3500         * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
3502 2003-02-25  Gaius Mulley  <gaius@glam.ac.uk>
3504         * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
3505         (GROFF_PNMTOPS_NOSETPAGE): New macro.
3506         * configure.ac: Use it.
3507         * configure: Regenerated.
3508         * Makefile.in: Updated.
3510         * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
3511         (CLEANADD): Add www.tmac-sed.
3512         (pnmtops_nosetpage): Define default.
3513         (install_data): Handle www.tmac-sed and substitute
3514         @PNMTOPS_NOSETPAGE@.
3515         (stamp-sed): Add www.tmac.
3516         * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
3517         It now breaks URLs at suitable places.
3518         (www:substring_ok): New register set by...
3519         (www:@test_substring): New macro.
3520         (www:error): New alias to www-error.
3521         (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
3522         New macros.
3523         (URL): Use www:url_breaks.
3524         (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
3525         (CDS, CDE): New macros.
3527 2003-02-25  Werner LEMBERG  <wl@gnu.org>
3529         * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
3530         buffer overflow.
3532 2003-02-24  Werner LEMBERG  <wl@gnu.org>
3534         Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
3535         can be negative also.
3537         * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
3538         `int16'.
3539         (read_char_table): Avoid negative ascenders.
3540         (output_charset): Add cast.
3541         * font/devlj4/*: Regenerated.
3543         Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
3544         possible.
3546         * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
3547         * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
3548         of `<>'.
3549         * font/devdvi/*: Regenerated.
3551         Map `la' and `ra' to U+27E8 and U+27E9.  These two characters have
3552         normal width, while the previously used characters (U+2329 and
3553         U+232A) are classified as wide due to canonical equivalence with the
3554         CJK punctuation characters U+3008 and U+3009.
3556         * font/devutf8/R.proto: Updated.
3557         * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
3559         * man/groff_char.man: Simplify handling of table traps by
3560         introducing `start block' and `end block' macros.
3561         (Ns, Ne, 2s, 2e, Ds, De): New macros.
3562         (DL): Make it work with Unix troff also.
3563         Fix code values of `la' and `ra'.
3565         * tmac/dvi.tmac: Define `<>' for CW and CWI.
3567 2003-02-23  Gaius Mulley  <gaius@glam.ac.uk>
3569         * src/devices/grohtml/post-html.cc (element_list::~element_list):
3570         New destructor, fixing a major memory leak.
3572 2003-02-22  Werner LEMBERG  <wl@gnu.org>
3574         * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
3575         to be in conformance with Unicode 3.0 and newer.
3577         * font/devlj4/generate/text.map: Add `Eu'.
3578         * font/devlj4/generate/special.map: Flip `*e' and `+e'.
3579         * font/devlj4/S: Regenerated.
3581         * man/groff_char.man: Completely rewritten.
3583         * doc/groff.texinfo: Fix description of request and macro arguments.
3585 2003-02-20  Gaius Mulley  <gaius@glam.ac.uk>
3587         Valgrind fixes.
3589         * src/devices/grohtml/html-table.cc (html_table::~html_table):
3590         Deallocate `columns' list.
3591         * src/devices/grohtml/post-html.cc (char_block::~char_block):
3592         New destructor.
3593         (text_glob::text_glob_html, text_glob::text_glob_special,
3594         text_glob::text_glob_line, text_glob::text_glob_auto_image,
3595         text_glob::text_glob_tag): Avoid memory leaks.
3596         (text_glob::remember_table): Free memory before reassigning.
3598 2003-02-19  Werner LEMBERG  <wl@gnu.org>
3600         Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
3601         alias `hbar'), the Planck constant over two pi.
3603         * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
3604         `+e' for position 34.
3605         * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
3606         `u2662' and `u2661'.
3607         * font/devdvi/{MI,S}: Regenerated.
3608         * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
3609         * font/devlbp/*: Add `hbar' alias.
3610         * font/devlj4/generate/special.map: Ditto.
3611         * font/devlj4/S: Regenerated.
3612         * font/devps/generate/symbolchars: Add `+e'.
3613         * font/devps/generate/textmap: Fix PS name for `-h'.
3614         Add `hbar' alias.
3615         * font/devps/symbolmap: Regenerated.
3617         * src/devices/grops/ps.cc (transform_fill): Removed since unused.
3619         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
3620         `-h', `hbar'.
3621         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
3622         `-h'.
3624         * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
3625         `hbar'.
3626         * tmac/tty-char.tmac: Add `+e'.
3628 2003-02-17  Werner LEMBERG  <wl@gnu.org>
3630         Another round trying to really fix problems with `have_input'.
3632         * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
3633         (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
3635         * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
3636         handling if both foreground and background colors are default.
3638         * doc/groff.texinfo (Debugging): Document .lf differences to
3639         AT&T troff.
3641 2003-02-16  Werner LEMBERG  <wl@gnu.org>
3643         * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
3644         null-bytes in created string.
3646         * src/roff/troff/input.cc (lookup_color, interpolate_macro,
3647         alias_macro, lookup_request): Improve warning messages.
3649         * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
3650         not `strdup'.
3651         Free `last_image_filename'.
3653         * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
3654         `buffer'.
3655         (imageList::createPage, imageList::createImage): Use `free', not
3656         `a_delete'.
3657         (imageItem::~imageItem): Free `imageName'.
3658         (addRegDef): Use `strsave', not `strdup'.
3659         (get_resolution): Free `pathp'.
3661 2003-02-15  Werner LEMBERG  <wl@gnu.org>
3663         * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
3664         to `dummy'.
3666 2003-02-14  Werner LEMBERG  <wl@gnu.org>
3668         Add memory management for colors to deallocate unnamed colors
3669         properly.
3671         * src/include/color.h (color): New members `free_list' and `next'.
3672         New member functions `new' and `delete'.
3673         Add destructor.
3674         * src/libs/libgroff/color.cc: Implement it.
3676         * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
3677         for array size of new operator.
3679         * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
3680         redundant comparison.
3682         * src/roff/troff/input.cc (word_space_node::reread,
3683         hmotion_node::reread): Avoid warning about unused parameter.
3684         (reset_output_registers): Remove redundant parameter.
3685         (define_color): Undo change 2003-02-12.
3687         * src/roff/troff/reg.h: Updated.
3689         * src/roff/troff/node.cc (troff_output_file::really_print_line,
3690         output_file::put_filename, real_output_file::really_put_filename,
3691         ascii_output_file::really_print_line,
3692         break_char_node::get_hyphen_list): Avoid warning about unused
3693         parameter.
3694         (suppress_node::tprint): Updated.
3696         * configure.ac: Check declaration for rand() and srand().
3697         * configure: Regenerated.
3699         * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
3700         conditionally.
3701         * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
3702         and srand().
3704         * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
3705         to avoid compiler warnings.
3707         * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
3708         unused.
3710         * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
3711         is unused.
3712         * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
3713         (unused) parameter.
3714         Updated all callers.
3716         * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
3717         is unused.
3718         * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
3719         * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
3721         * src/devices/grohtml/post-html.cc (html_printer::emit_line):
3722         Parameter is unused.
3723         (html_printer::add_table_end): Define parameter conditionally.
3724         * src/devices/grohtml/output.cc (simple_output::special): Parameter
3725         is unused.
3727         * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
3728         (lbp_printer::set_char): Last parameter is unused.
3730         * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
3732 2003-02-13  Werner LEMBERG  <wl@gnu.org>
3734         New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
3735         Make \D'f ...' move horizontally again for backwards compatibility.
3736         Replace it with \D'Fg ...' where appropriate to avoid dependency
3737         on horizontal resolution.
3739         * src/roff/troff/input.cc (do_get_long_name): New function.
3740         (get_long_name): Call it.
3742         (read_draw_node): Handle `\D'Fx ...' by calling ...
3743         (read_color_draw_node): New function.
3745         (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
3746         `end'.
3747         Pass it to `do_get_long_name' which is used instead of
3748         `get_long_name'.
3750         * src/libs/libdriver/input.cc (color_from_Df_command): Remove
3751         unnecessary value guard.
3752         (parse_D_command) <'f'>: Add horizontal shift.
3754         * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
3755         * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
3756         (FILL_MAX): Removed.
3758         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
3759         Updated.
3761 2003-02-12  Werner LEMBERG  <wl@gnu.org>
3763         * src/roff/troff/input.cc (do_name_test, do_expr_test,
3764         do_zero_width): Push `\n' if closing delimiter is missing.
3766         (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
3767         <'F'>: Make \F non-transparent at the beginning of line.
3768         (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
3769         token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
3770         `have_input'.
3772         (define_color): Free color in case of reassignment.
3774         * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
3775         @DefescListEnd): Use @Var, not @var.
3776         Fix all calls.
3778         * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
3780         * src/preproc/pic/object.cc (object_spec::~object_spec): Free
3781         `shaded' and `outlined' arrays.
3782         (object_spec::object_spec): Initialize `shaded' and `outlined'.
3783         (graphic_object::set_fill_color, graphic_object::set_outline_color):
3784         Use strsave.
3785         (closed_object::set_fill_color): Ditto.
3786         * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
3787         instead of strdup.
3788         (troff_output::reset_color): Use a_delete instead of free.
3789         * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
3791 2003-02-11  Werner LEMBERG  <wl@gnu.org>
3793         * doc/groff.texinfo: Improve documentation of `ad'.
3794         Document that \D'f...' is dependent on the horizontal resolution.
3795         * man/groff_diff.man: Improve documentation of \D'f...'.
3797         * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
3798         compensating \h'...' for \D'f ...' since the latter no longer moves
3799         current position.
3800         * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
3802 2003-02-10  Werner LEMBERG  <wl@gnu.org>
3804         Improve error messages for `x F' (and `F') commands.
3806         * src/include/error.h: Add declaration for
3807         `current_source_filename'.
3808         * src/libs/libgroff/filename.cc: Add `current_source_filename'.
3809         * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
3810         parameter for source file string.
3811         Updated all callers.
3813         * src/libs/libdriver/input.cc: Add `current_source_filename'.
3814         (remember_source_filename): New function.
3815         (parse_x_command <'F'>, do_file <'F'>): Use it.
3817 2003-02-09  Werner LEMBERG  <wl@gnu.org>
3819         Make grotty not emit warnings about unknown colors more than
3820         necessary.
3822         * src/devices/grotty/tty.cc: Include `ptable.h'.
3823         (TTY_MAX_COLORS): Removed.
3824         (DEFAULT_COLOR_IDX): Defined to -1.
3825         (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
3826         (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
3827         Change `tty_colors' to be a ptable.
3828         First arg of `put_color' is now `char'.
3829         New functions `make_rgb_string' and `tty_color'.
3830         (tty_printer::tty_printer): Use `tty_color'.
3831         (tty_printer::color_to_idx): Return value is now `char'.
3832         Use `tty_color'.
3834         * src/include/color.h (color): Add `print_color' member function.
3835         * src/libs/libgroff/color.cc (color::print_color): Implement it.
3837 2003-02-08  Werner LEMBERG  <wl@gnu.org>
3839         Valgrind fixes.
3841         * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
3842         encoding file.
3844         * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
3845         assume that value has been allocated with `new[]', thus use
3846         `a_delete' for deallocation.
3848         * src/libs/libdriver/input.cc (get_integer_arg,
3849         get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
3850         where appropriate.
3852         * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
3853         * src/libs/libgroff/nametoindex.cc
3854         (character_indexer::named_char_index): Use `new <type>[1]'.
3856         * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
3857         <type>[1]'.
3858         * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
3859         (split_text): Use `a_delete'.
3861         * src/preproc/pic/pic.y (define_label, define_variable): Use `new
3862         <type>[1]'.
3864         * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
3865         harmless memory leak.
3866         (hyphen_trie::read_patterns_file): Initialize `buf'.
3867         * src/roff/troff/node.cc (troff_output_file::troff_output_file):
3868         Initialize `current_fill_color'and `current_glyph_color'.
3869         * src/roff/troff/glyphuni.cc
3870         (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
3871         * src/roff/troff/uniuni.cc
3872         (unicode_decompose_init::unicode_decompose_init): Ditto.
3873         * src/roff/troff/uniglyph.cc
3874         (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
3876 2003-01-26  Werner LEMBERG  <wl@gnu.org>
3878         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
3879         `access' before calling `unlink'.
3880         (do_file): Handle __EMX__.
3882         * src/include/nonposix.h: Handle __EMX__.
3884         * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
3885         (fontpath,tmacpath): Use it.
3886         (MDEFINES): Add it.
3887         Sorted alphabetically.
3889         * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
3890         @SEP@.
3891         * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
3892         @SEP@.
3894 2003-01-27  Werner LEMBERG  <wl@gnu.org>
3896         * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
3897         New files, copied from gnulib.
3898         * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
3899         * configure.ac: Updated.
3900         * configure: Regenerated.
3902         * src/include/config.hin: Regenerated.
3903         * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
3904         Don't define `strcasecmp' as `strcmp'.
3905         [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
3906         Dont define `strncasecmp' as `strncmp'.
3908         * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
3909         Removed.
3911 2003-01-26  Werner LEMBERG  <wl@gnu.org>
3913         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
3914         s/unline/unlink/.
3916 2003-01-25  Werner LEMBERG  <wl@gnu.org>
3918         * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
3920 2003-01-24  Werner LEMBERG  <wl@gnu.org>
3922         Add US-english hyphenation exceptions (converted from Barbara
3923         Beeton's hyphenation exception log reports which appear irregularly
3924         in TUGBoat).
3926         * tmac/hyphen.us: Updated to latest version.
3927         * tmac/README: Updated.
3928         * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
3929         * tmac/troffrc: Load `hyphenex.us'.
3930         * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
3931         * doc/groff.texinfo: Updated.
3933 2003-01-23  Werner LEMBERG  <wl@gnu.org>
3935         Improve hyphenation slightly.  This is a first step in redesigning
3936         the hyphenation algorithm to make it more flexible (e.g. allowing
3937         kerns and ligatures between the hyphenation character and the
3938         following character -- while not used normally in English, other
3939         languages like German would benefit).
3941         * src/roff/troff/env.cc (environment::hyphenate_line): Use
3942         assertion instead of if-clause.
3943         Let `get_hyphen_list' return the number of involved characters in
3944         the hyphenation pattern instead of computing it directly (which
3945         often yields too small values).
3946         * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
3947         * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
3948         parameter.
3950 2003-01-22  Werner LEMBERG  <wl@gnu.org>
3952         Fixing a bug which caused groff to hang if the hyphenation exception
3953         dictionary tried to grow.
3955         * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
3956         hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
3957         pointer to dictionary.
3959 2003-01-20  Werner LEMBERG  <wl@gnu.org>
3961         * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
3962         negative left italic correction.
3963         * src/utils/afmtodit/afmtodit.man: Document it.
3965         * font/devps/generate/Makefile (RFLAG): Add `-m'.
3966         * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
3967         S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
3969         * NEWS: Updated.
3971 2003-01-16  Werner LEMBERG  <wl@gnu.org>
3973         * NEWS: Updated.
3975 2003-01-16  Jörgen Grahn  <jgrahn@algonet.se>
3977         * src/preproc/refer/refer.man: Mention REFER environment variable.
3979 2003-01-05  Werner LEMBERG  <wl@gnu.org>
3981         Similar to \[is], the square root glyph (\[sr]) and the square root
3982         extension glyph (\[radicalex]) are now text symbols.  The new
3983         mathematical versions are called \[sqrt] and \[sqrtex],
3984         respectively.
3986         * font/devX*/S: Regenerated.
3987         * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
3988         * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
3989         * font/devdvi/EX, font/devdvi/S: Regenerated.
3990         * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
3991         * font/devlj4/generate/special.map: Add `sqrt'.
3992         * font/devlj4/S: Regenerated.
3993         * font/devps/generate/textmap: Add `sqrt'.
3994         * font/devps/S, font/devps/symbolmap: Regenerated.
3996         * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
3997         SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
3998         * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
3999         overlap horizontally.
4001         * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
4002         * tmac/dvi.tmac: Add `sr', and `sqrtex'.
4003         Fix `radicalex'.
4005         * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
4006         and `sqrtex' are overlapping glyphs.
4008 2003-01-04  Werner LEMBERG  <wl@gnu.org>
4010         * font/devdvi/generate/texsy.map: Add `is'.
4011         * font/devps/symbolmap: Regenerated.
4012         * font/devdvi/*TC, MI, S: Regenerated.
4014         * tmac/dvi.tmac: Remove `is'.
4016 2003-01-03  Werner LEMBERG  <wl@gnu.org>
4018         `is' is now a text symbol (only relevant for dvi).  The math variant
4019         can be accessed with `integral'.
4021         * font/devX*/S: Regenerated.
4022         * font/devdvi/generate/texex.map: Remove `is'.
4023         * font/devdvi/EX: Updated.
4024         * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
4025         * font/devlj4/generate/special.map: Ditto.
4026         * font/devlj4/S: Regenerated.
4027         * font/devps/generate/textmap: Add `integral'.
4028         * font/devps/S: Regenerated.
4030         * tmac/dvi.tmac: Define `is'.
4032         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
4034         * src/preproc/tbl/main.cc (process_format): Fix error message.
4036 2003-01-02  Werner LEMBERG  <wl@gnu.org>
4038         * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
4039         * font/devps/textmap: Fix entries for `ne' and `nc'.
4040         * font/devps/symbolmap: Regenerated.
4042         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
4043         src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
4044         `38', `58', `78', `-+', `|=', `nc', `ne'.
4046         * tmac/dvi.tmac: Add `nm', `ne', `nc'.
4047         Use `schar' for `aq'.
4048         * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
4049         * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
4050         * tmac/tty.tmac: Add `ne'.
4052         * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
4053         for fallback glyphs.
4055 2002-12-29  Werner LEMBERG  <wl@gnu.org>
4057         Add glyph `|='.
4059         * font/devX*/*: Regenerated.
4060         * font/devdvi/generate/ec.map: Remove `eq'.
4061         * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
4062         Assign `|=' to position 39.
4063         * font/devdvi/*EC, S: Regenerated.
4064         * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
4065         * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
4066         Assign `|=' to position 549.
4067         * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
4068         `equalmath'.
4069         Add `uni2243' for `|='.
4071         * tmac/ec.tmac: Add `eq'.
4072         * tmac/dvi.tmac: Add `=~'.
4073         * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
4074         `|='.
4076 2002-12-21  Werner LEMBERG  <wl@gnu.org>
4078         * font/devdvi/generate/tc.map: Remove `**'.
4079         * font/devdvi/*TC: Regenerated.
4080         * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
4081         `78', `<<', `>>'.
4082         * font/devutf8/NOTES: Updated.
4084         * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
4085         Don't give default parameter to `set_macro'.
4086         * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
4087         instead of `set_macro'.
4088         (charinfo::setx_macro): Implement it.
4089         (charinfo::set_macro): Don't change `mode'.
4091         * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
4092         * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
4093         * tmac/dvi.tmac: Define `!=' with `.schar'.
4095 2002-12-20  Werner LEMBERG  <wl@gnu.org>
4097         * font/devX*/S: Regenerated.
4098         * font/devdvi/generate/ec.map: Remove `pl'.
4099         * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
4100         * font/devdvi/*{TC,EC}: Regenerated.
4101         * font/devhtml/R.proto: Add `-+'.
4102         Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
4103         * font/devlbp/*: Remove `or'.
4104         * font/devlj4/generate/special.map: Remove `or'.
4105         * font/devlj4/S: Regenerated.
4106         * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
4107         `seveneighths', `threeeighths'.
4108         Remove `plusmath'.
4109         Replace `minusplus' with `uni2213'.
4110         * font/devps/symbolmap: Regenerated.
4111         * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
4112         Add `-+'.
4114         * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
4115         function.
4116         * src/roff/troff/node.cc (troff_output_file::put_char_width):
4117         Call glyph_color and fill_color even if tcommand_flag isn't set.
4118         (make_node, node::add_char): Check not ci->is_fallback but
4119         ci->is_normal.
4121         * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
4122         * tmac/ec.tmac: Add .rchar entry for `f/'.
4123         Don't remove `12', `14', `34'.
4124         Define `pl' to be always roman.
4125         * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
4126         Define `18', `38', `58', `78'.
4127         * tmac/tty.tmac: Add `-+'.
4128         * tmac/dvi.tmac: Define `f/'.
4129         (dvi-frac): Use `f/'.
4130         * tmac/X.tmac (X-frac, X-frac-mono): New macros.
4131         Define `18', `38', `58', `78'.
4133 2002-12-15  Colin Watson  <cjwatson@debian.org>
4135         * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
4137 2002-12-10  Werner LEMBERG  <wl@gnu.org>
4139         Add glyph `tno', a textual variant of `no'.
4141         * font/devX*/*: Regenerated.
4142         * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
4143         * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
4144         * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
4145         * font/devdvi/*: Regenerated.
4146         * font/devlbp/*: Add `tno'.
4147         * font/devlj4/generate/tex.map: Replace `no' with `tno'.
4148         * font/devlj4/*: Regenerated.
4149         * font/devps/generate/textmap: Replace `no' with `tno'.
4150         * font/devps/generate/symbolchars: Add `no'.
4151         * font/devps/*: Regenerated.
4153         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
4155         * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
4156         * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
4158         * NEWS: Updated.
4160         * tmac/dvi.tmac: Replace most `\\' with `\E'.
4161         Add definition for `sd'.
4162         * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
4164         * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
4166 2002-12-08  Werner LEMBERG  <wl@gnu.org>
4168         * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
4169         mode to avoid rounding errors.
4170         (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
4172         * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
4173         src/roff/troff/troff.man: Improve documentation of -T.
4175 2002-12-07  Jeff Conrad  <jeff_conrad@msn.com>
4177         * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
4178         (run_pipeline) [_WIN32]: Provide working function without `fork'.
4180 2002-12-06  Werner LEMBERG  <wl@gnu.org>
4182         * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
4183         glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
4184         Scaling Euro.sansserif glyphs down to have the same height as
4185         digits.
4186         Removed unnecessary points; added some extrema.
4188         * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
4189         Regenerated.
4191 2002-12-04  Werner LEMBERG  <wl@gnu.org>
4193         * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
4194         and `Euro.symbol.bold.slanted'.
4195         Improve some glyph offsets and widths.
4196         * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
4197         Regenerated.
4198         * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
4199         typo.
4200         * font/devps/generate/sfdtopfa.pe: Generate PFA in current
4201         direcory.
4203         * tmac/europs.tmac: Updated to new glyph indices.
4204         Use Euro.symbol for font familiy `A'.
4206         * doc/groff.texinfo: Minor improvements.
4208 2002-12-02  Werner LEMBERG  <wl@gnu.org>
4210         * font/devdvi/generate.tc.map: s/%O/%0/.
4211         * font/devdvi/*TC: Regenerated.
4213         * src/roff/troff/div.cc (init_div_requests): Sorted.
4215         * tmac/dvi.tmac: Remove `Ye'.
4216         * tmac/ec.tmac: Remove `Ye'.
4217         Add .rchar entry for `de'.
4219         * man/groff.man, man/groff_diff.man: Document register `.pe'.
4220         * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
4221         * NEWS: Updated.
4223 2002-11-30  Werner LEMBERG  <wl@gnu.org>
4225         Add PS font for various Euro glyphs.
4227         * font/devps/generate/freeeuro.sfd: New master font file for
4228         pfaedit.
4229         * font/devps/generate/sfdtopfa.pe: New conversion script for
4230         pfaedit.
4231         * font/devps/generate/Makefile (FONTS): Add `EURO'.
4232         (EURO, freeeuro.afm, freeeuro.pfa): New rules.
4233         * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
4234         `freeeuro.sfd'.
4235         * font/devps/EURO: Generated from `freeeuro.afm'.
4236         * font/devps/download: Add `freeuro.pfa'.
4237         * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
4238         `freeeuro.pfa'.
4240         * tmac/europs.tmac: New file.
4241         * tmac/ps.tmac: Include `europs.tmac'.
4242         * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
4244 2002-11-29  Werner LEMBERG  <wl@gnu.org>
4246         * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
4247         * font/devdvi/S: Regenerated.
4248         * font/devhtml/R.proto: Fix `CR' and `ci'.
4249         Add `OK'.
4250         * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
4251         Remove `bs'.
4252         * font/devps/symbolmap: Regenerated.
4253         * font/devutf8/R.proto: Fix `CR' and `ci'.
4254         Add `OK'.
4255         * font/devutf8/NOTES: Updated.
4257         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
4258         `ci'.
4259         Add `OK'.
4260         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
4262         * tmac/dvi.tmac: Add `lh' and `rh'.
4263         * tmac/Xps.tmac: Fix `lh' and `rh'.
4264         * tmac/X.tmac: Add `OK'.
4265         * tmac/lj4.tmac: Ditto.
4267 2002-11-24  Werner LEMBERG  <wl@gnu.org>
4269         * font/devX*/S: Regenerated.
4270         * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
4271         `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
4272         * font/devdvi/generate/texsy.map: Remove `or' glyph.
4273         * font/devdvi/S: Regenerated.
4274         * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
4275         `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
4276         `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
4277         `bracketleftbt', `bracketrighttp', `bracketrightex',
4278         `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
4279         `braceex', `braceleftex', `bracerightex', `bracerighttp',
4280         `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
4281         `rb', and `bv'.
4282         * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
4283         * font/devutf8/NOTES: Updated.
4284         * font/devlj4/generate/special.map: Add glyph `braceex'.
4285         * font/devlj4/S: Regenerated.
4287         * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
4289 2002-11-14  Werner LEMBERG  <wl@gnu.org>
4291         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
4292         and `vA'.
4293         Fix code for `an'.
4294         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
4296         * doc/texinfo.tex: New version from texinfo 4.3.
4297         * doc/groff.texinfo: Updated for texinfo 4.3.
4298         Use @tie{} where appropriate.
4299         * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
4300         * font/devdvi/generate/tc.map: Remove `rn'.
4301         * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
4302         * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
4303         Fix code for `an'.
4304         * font/devX100/*, font/devX100-12/*, font/devX75/*,
4305         font/devX75-12/*: Regenerated.
4307         * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
4308         Use .char (again) for `br', `ul', `rn', `or', and `ru'.
4309         Improve definition of `an'.
4310         * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
4311         `ru'.
4312         * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
4313         * tmac/X.tmac: Add definition for `or'.
4314         * tmac/Xps.tmac: Undo change 2002-11-05.
4315         * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
4317 2002-11-11  Werner LEMBERG  <wl@gnu.org>
4319         * src/roff/troff/node.cc (troff_output_file::put_char): Always
4320         call flush_tbuf.
4322 2002-11-10  Werner LEMBERG  <wl@gnu.org>
4324         Added three new requests `schar', `fschar', and `rfschar'.  `schar'
4325         defines a glyph which is searched after the check for fonts declared
4326         with `.special' (and before the check for all mounted special
4327         fonts).  `fschar' defines a glyph for a particular font which is
4328         searched after the check for fonts declared with `.fspecial' (and
4329         before the check for fonts declared with `.special').  `rfschar'
4330         removes glyphs defined with `fschar'.
4332         * src/roff/troff/token.h (char_mode): New enum.
4333         Declare do_define_character.
4334         * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
4335         `mode'.
4336         (charinfo::is_fallback): Updated.
4337         (charinfo::is_special): New method.
4338         * src/roff/troff/input.cc (do_define_character): Add and use
4339         optional second parameter used as a prefix for font-specific glyph
4340         names.
4341         (define_character, define_fallback_character): Updated.
4342         (define_special_character): New function.
4343         (init_input_requests): Add `schar'.
4344         (charinfo::charinfo, charinfo::set_macro): Updated.
4345         * src/roff/troff/node.cc: Include `stringclass.h'.
4346         (make_glyph_node): Handle special glyphs defined with `.schar' and
4347         `.fschar'.
4348         (define_font_special_character, remove_font_special_character): New
4349         functions.
4350         (init_node_requests): Sorted.
4351         Add `fschar' and `rfschar'.
4352         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4353         Document new requests.
4355         * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
4356         * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
4358 2002-11-08  Werner LEMBERG  <wl@gnu.org>
4360         Added new font `SC' (cmtex10) to devdvi.
4362         * devdvi/generate/Makefile (FONTS): Add `SC'.
4363         (SC): New rule.
4364         * devdvi/generate/textex.map: New map file for cmtex.
4365         * devdvi/SC: New.
4366         * devdvi/Makefile.sub (DEVFILES): Updated.
4367         * tmac/dvi.tmac: Add fspecial entries for SC.
4368         Add `MI', `S' and `CW' to the `special' call.  Otherwise, `SC' is
4369         found before `S' since the font position of `SC' is lower due to the
4370         gaps in DESC's `font' line.
4371         * tmac/ec.tmac: Add a `special' call.
4372         * NEWS: Updated.
4374         * font/devhtml/R.proto: Remove double entry for `ti'.
4375         * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
4376         * tmac/tty-char.tmac: Remove entry for `bq'.
4377         * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
4378         * tmac/ec.tmac: Don't remove `aq' glyph.
4379         * tmac/X.tmac: Fix entry for `em'.
4380         Add entries for `fo' and `fc'.
4381         * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
4383         * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
4384         documentation of `special' and `fspecial' requests.
4386 2002-11-05  Werner LEMBERG  <wl@gnu.org>
4388         * font/devascii/R.proto, font/devcp1047/R.proto,
4389         font/devlatin1/R.proto: Remove entry for `.i'.
4390         * font/devdvi/generate/textt.map: Add entry for `ad'.
4391         * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
4392         font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
4393         We need this for getting kerning values to compose `/l' and `/L'.
4394         * font/devdvi: Regenerated font definition files for CM fonts.
4395         * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
4396         * font/devutf8/R.proto: Ditto.
4397         Remove double entry for `ti'.
4399         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
4400         for (groff) ligatures, `la', and `ra'.
4401         Add "'C", "'c", `IJ', and `ij'.
4402         Remove double entry for `ti'.
4403         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
4404         double entries.
4405         Add "'C", "'c", `IJ', and `ij'.
4406         Fix entries for (groff) ligatures, `la', and `ra'.
4408         * tmac/ps.tmac (ps-achar): New macro.
4409         Define "'c" and "'C".
4410         * tmac/tty.tmac: Add entry for `.i'.
4411         * tmac/X.tmac (X-achar): New macro.
4412         Define "'c", "'C", and `:Y'.
4413         Add entries for `IJ' and `ij'.
4414         * tmac/Xps.tmac (Xps-achar): New macro.
4415         Define "'c" and "'C".
4416         Add entries for `IJ' and `ij'.
4417         * tmac/lbp.tmac (lbp-achar): New macro.
4418         Add fallback characters for all groff ligatures and many other
4419         glyphs.
4420         * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
4421         Add entries for `/l' and `/L'.
4422         Define "'c" and "'C".
4423         Add entries for `IJ' and `ij'.
4425 2002-11-02  Larry Kollar  <kollar@alltel.net>
4427         * PROBLEMS: Document how to solve Mac OS X compilation problems.
4429 2002-11-02  Werner LEMBERG  <wl@gnu.org>
4431         Adding support for composite glyphs: \[xxx yyy ...] and the
4432         `composite' request.
4434         * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
4435         to Unicode-based glyph names.
4436         * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
4437         glyph names to groff glyph names.
4438         * src/roff/troff/uniuni.cc: New file for canonically decomposing
4439         Unicode-based glyph names.
4440         * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
4441         for handling Unicode glyph names.
4442         * src/roff/troff/input.cc: Include unicode.h.
4443         (composite_glyph_name): New function.
4444         (token::next) <'['>: Handle Unicode glyph names and composite
4445         glyphs.
4446         (composite_dictionary): New dictionary for the `composite' request.
4447         (composite_request): Implement `composite' request.
4448         (init_input_requests): Add `composite'.
4449         Alphabetically sorted.
4450         * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
4451         commented out).
4452         (init_env_requests): Alphabetically sorted.
4453         Removed `tas' and `tar' (already commented out).
4454         * src/roff/troff/Makefile.sub: Updated.
4456 2002-10-31  Ruslan Ermilov  <ru@FreeBSD.org>
4458         * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
4459         of options.
4461 2002-10-29  Werner LEMBERG  <wl@gnu.org>
4463         Fix computation of .trunc register.  Additionally, its value (and
4464         the value of the .ne register) is now always set before entering the
4465         trap.
4467         * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
4468         `needed_space' before calling `space'.
4469         (top_level_diversion::space): Remove special code for 'sp before the
4470         first page.
4471         Call `begin_page' with the discarded space as a parameter.
4472         (top_level_diversion::begin_page): Add optional parameter to set
4473         `truncated_space'.
4474         * src/roff/troff/div.h: Updated.
4476         * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
4477         \n[.ne].
4479         * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
4480         (LP): Remove superfluous call to `br'.
4481         * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
4482         * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
4484 2002-10-26  Werner LEMBERG  <wl@gnu.org>
4486         * tmac/doc-ditroff: Remove useless switch/variable -rC.
4487         (doc-setup-header): Don't set page register `%'.
4488         * tmac/doc-nroff: Remove variable `C'.
4489         (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
4490         (doc-setup-header): Don't set page register `%'.
4491         Don't call `bp'.
4492         * tmac/doc-common (doc-header): Call `ns'.
4493         (doc-paragraph): Protect .sp with .br so that it survives traps
4494         possibly set by the user.
4495         * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
4497         * tmac/doc*: Replace ' with . for consistency if no effect.
4499 2002-10-26  Werner LEMBERG  <wl@gnu.org>
4501         * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
4502         so that it survives traps possibly set by the user.
4504         * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
4505         (troff_output_file::set_font): Call flush_tbuf if necessary.
4506         (troff_output_file::fill_color, troff_output_file::glyph_color): Call
4507         flush_tbuf and do_motion only if necessary.
4508         (troff_output_file::start_special,
4509         troff_output_file::put_char_width, troff_output_file::put_char,
4510         troff_output_file::draw): Updated.
4511         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
4512         vmotion_node::tprint): Undo change 2002-10-23.
4514 2002-10-25  Werner LEMBERG  <wl@gnu.org>
4516         * tmac/www.tmac (DC): Fix case of overlapping images.
4518 2002-10-23  Werner LEMBERG  <wl@gnu.org>
4520         * src/roff/troff/node.cc (troff_output_file::fill_color,
4521         troff_output_file::glyph_color): Set current color before testing
4522         color_flag.
4523         (troff_output_file::put_char_width, troff_output_file::put_char,
4524         troff_output_file::draw): Don't call flush_tbuf and/or do_motion
4525         before glyph_color.
4526         (troff_output_file::file_color, troff_output_file::glyph_color):
4527         Call do_motion.
4528         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
4529         vmotion_node::tprint): Move first, then call fill_color.
4531 2002-10-20  Werner LEMBERG  <wl@gnu.org>
4533         * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
4534         possible to use multiple main macro packages.
4536 2002-10-19  Werner LEMBERG  <wl@gnu.org>
4538         * src/devices/grops/ps.cc (cmyk_flag): New global variable.
4539         (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
4540         (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
4541         is set.
4542         * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
4543         `where' construction since `cmyksetcolor' is a PS Level 2 operator.
4545 2002-10-16  Werner LEMBERG  <wl@gnu.org>
4547         * NEWS, doc/webpage.ms: Updated.
4549 2002-10-14  Werner LEMBERG  <wl@gnu.org>
4551         * src/roff/troff/node.cc (troff_output_file::put_char_width,
4552         troff_output_file::put_char, troff_output_file::fill_color,
4553         troff_output_file::glyph_color): Handle case where color pointer
4554         is null.
4556 2002-10-13  Ruslan Ermilov  <ru@FreeBSD.org>
4558         Add the new -r option to grotty.  It is similar to the -i option
4559         except it tells grotty(1) to use the "reverse video" attribute to
4560         render italic fonts.
4562         * src/devices/grotty/tty.cc (reverse_flag): New global variable.
4563         (SGR_REVERSE, SGR_NO_REVERSE): New macros.
4564         (tty_printer::make_underline, tty_printer::put_color,
4565         tty_printer::end_page): Use it.
4566         (main): Add -r switch.
4567         (usage): Updated.
4568         * src/devices/grotty/grotty.man: Document it.
4570 2002-10-11  Ruslan Ermilov  <ru@FreeBSD.org>
4572         * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
4573         cast to `unsigned char' to properly read patterns with 8bit
4574         characters.
4576 2002-10-08  Werner LEMBERG  <wl@gnu.org>
4578         * REVISION: Increased to 2.
4580 Version 1.18.1 released
4581 =======================
4583 2002-10-08  Werner LEMBERG  <wl@gnu.org>
4585         * doc/webpage.ms, NEWS: Updated.
4587 2002-10-07  Werner LEMBERG  <wl@gnu.org>
4589         * tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to
4590         suppress additional whitespace after the header.
4592         * tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
4593         with NetBSD.
4595         * src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.
4597 2002-10-07  Ruslan Ermilov  <ru@FreeBSD.org>
4599         * tmac/doc-common(doc-volume-operating-system-ateol): New flag.
4600         (Dt): Use it to improve language localization (especially Russian
4601         and French).
4603 2002-10-07  Daniel Senderowicz  <daniel@synchrods.com>
4605         * src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
4606         * src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
4607         drawing commands.
4608         * src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
4609         curve type.
4610         Call `picurve' for BSPLINE.
4611         (HGPrintElt): Handle BSPLINE.
4612         * src/preproc/grn/README: Document it.
4614 2002-10-03  Werner LEMBERG  <wl@gnu.org>
4616         * src/roff/troff/node.cc (break_char_node::col): New variable.
4617         Updated constructor.
4618         (space_node::tprint, word_space_node::tprint): Call `fill_color'
4619         unconditionally.
4620         (space_node::space_node): Remove assertion.
4621         (break_char_node::add_self): Pass color argument to space node.
4622         * src/roff/troff/input.cc (token::add_to_node_list, token::process):
4623         Ditto.
4624         * src/roff/troff/env.cc (environment::do_break,
4625         environment::add_padding): Ditto.
4627 2002-10-02  Werner LEMBERG  <wl@gnu.org>
4629         Redesigning color support in troff.  Colors are no longer
4630         represented as separate nodes but are now part of glyph nodes and
4631         friends.  This fixes the current formatting misbehaviour due to the
4632         changes introduced on 2002-09-20.  Some extra code is necessary for
4633         proper grotty support: Without adding color variables to
4634         space-related nodes, the background color would be changed too late.
4636         * src/roff/troff/node.h, src/roff/troff/node.cc:
4637         s/current_pagecolor/current_fill_color/.
4638         s/current_glyphcolor/current_glyph_color/.
4639         (glyph_color_node, fill_color_node): Removed.
4640         (node::get_glyph_color, node::get_fill_color): New virtual member
4641         functions.
4642         (space_node::col): New variable.
4643         Updated constructors of space_node and derived classes accordingly.
4644         (hmotion_node::col): New variable.
4645         Updated constructors of hmotion_node and space_char_hmotion_node
4646         accordingly.
4647         (vmotion_node::col): New variable.
4648         Updated constructor accordingly.
4649         (draw_node::gcol, draw_node::fcol): New variables.
4650         Updated constructor accordingly.
4651         (special_node::gcol, special_node::fcol): New variables.
4652         Updated constructors accordingly.
4653         (troff_output_file::put_char, troff_output_file::put_charwidth,
4654         troff_output_file::draw): Set glyph and fill color.
4655         (troff_output_file::start_special): Set glyph and fill color.
4656         Always set current font.
4657         (troff_output_file::fill_color, troff_output_file::glyph_color):
4658         Don't call `do_motion'.
4659         (glyph_node::gcol, glyph_node::fcol): New variables.
4660         Updated constructors of glyph_node and ligature_node accordingly.
4661         (glyph_node::get_glyph_color, glyph_node::get_fill_color): New
4662         member functions.
4663         (glyph_node::merge_glyph_node,
4664         kern_pair_node::add_discretionary_hyphen,
4665         node::add_discretionary_hyphen): Updated.
4666         (break_char_node::merge_self): Updated.
4667         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
4668         vmotion_node::tprint): Handle color.
4669         (make_glyph_node, make_node, node::add_char): Updated.
4671         * src/roff/troff/env.cc (environment::space_newline,
4672         environment::space, environment::output_line, environment::do_break,
4673         environment::make_tab_node, environment::add_padding, title):
4674         Updated.
4675         (environment_switch, environment_copy): Don't add color nodes.
4677         * src/roff/troff/input.cc (do_glyph_color, do_fill_color): Return
4678         nothing.
4679         (token::next): Updated.
4680         \m and \M now are as transparent as \s.
4681         (process_input_stack, token::add_to_node_list, token::process,
4682         read_draw_node): Updated.
4683         (charinfo_to_node_list): Don't add color nodes.
4685         * doc/groff.texinfo: Updated.
4687 2002-09-27  Ruslan Ermilov  <ru@FreeBSD.org>
4689         * tmac/doc-common (ds-operating-system-FreeBSD-4.*): New version
4690         strings.
4692 2002-09-27  Colin Watson  <cjwatson@debian.org>
4694         * src/roff/troff/node.cc (bracket_node::copy): Check `list' != 0.
4696 2002-09-23  Werner LEMBERG  <wl@gnu.org>
4698         * src/devices/grolbp/lbp.cc: Replace `300' with `font::res' where
4699         appropriate.
4700         (DEFAULT_LINEWIDTH_FACTOR): New macro.
4701         (linewidth_factor): New global variable.
4702         (lbp_printer::set_line_thickness): Fix case for size < 0, using
4703         linewidth_factor.
4704         (long_options): Add -w/--linewidth option.
4705         (usage): Updated.
4706         (main): Handle -w option to set linewidth_factor.
4707         (lbp_printer::lbp_printer): Initialize req_linethickness, not
4708         line_thickness.
4710         * src/devices/grolbp/grolbp.man, NEWS, doc/webpage.ms: Updated.
4712 2002-09-22  Paco Andrés Verdú  <pandres@dragonet.es>
4714         Fixed a bug in the line thickness setting code.
4716         * src/devices/grolbp/lbp.cc (lbp_printer::req_linethickness): New
4717         variable.
4718         (lbp_printer::set_line_thickness): Pass environment as second
4719         parameter.
4720         Implement it actually.
4721         (lpb_printer::set_char, lbp_printer::draw): Use `req_linethickness'
4722         and `set_line_thickness, depending on the current font size.
4724 2002-09-21  Werner LEMBERG  <wl@gnu.org>
4726         Some Debian patches.
4728         * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase to 12.
4729         * src/roff/troff/node.cc (bracket_node::copy): Initialize
4730         `list->last'.
4732 2002-09-20  Werner LEMBERG  <wl@gnu.org>
4734         * configure: Regenerated with autoconf 2.54.
4736 2002-09-20  Werner LEMBERG  <wl@gnu.org>
4738         * src/roff/troff/env.h (environment): Rename cur_glyph_color to
4739         glyph_color.
4740         Rename cur_fill_color to fill_color.
4741         * src/roff/troff/env.cc: Updated.
4743 2002-09-20  Werner LEMBERG  <wl@gnu.org>
4745         * src/roff/troff/env.cc (title): Copy color status after processing
4746         title.
4747         * src/roff/troff/input.cc (charinfo_to_node_list): Emit glyph and
4748         fill color nodes to reset colors properly.
4750         * tmac/www.tmac (DC): Fix color handling.
4752         * src/preproc/pic/pic.man, doc/pic.ms: Document some color issues.
4753         * doc/groff.texinfo: Fixing documentation of `tl' request.
4754         * doc/webpage.ms: Updated.
4756 2002-09-19  Werner LEMBERG  <wl@gnu.org>
4758         * src/roff/troff/env.cc (environent_switch, environment_copy):
4759         Emit glyph and fill color nodes to initialize colors properly.
4761 2002-09-17  Colin Watson  <cjwatson@debian.org>
4763         * src/roff/troff/env.cc (environment::set_glyph_color,
4764         environment::set_fill_color): Fix typo which prevented \m[] work
4765         correctly.
4767 2002-09-17  Werner LEMBERG  <wl@gnu.org>
4769         Add left and right italic correction to non-slanted PS fonts.  This
4770         is an experimental feature to improve image rendering of grohtml.
4772         * font/devps/generate/Makefile (RFLAG): New variable, set to `-i 0'.
4773         ({T,H,C,P,N,BM,A,HN}{R,B}, ZD, S, ZDR): Use it.
4774         * font/devps/*: All non-slanted fonts regenerated.
4775         * NEWS: Updated.
4777 2002-09-16  Werner LEMBERG  <wl@gnu.org>
4779         Add a site-specific font directory.
4781         * Makefile.in (localfontdir, legacyfontdir): New variables.
4782         (fontpath): Use them.
4783         (MDEFINES, uninstall_dirs): Updated.
4784         * Makefile.comm (.man.n): Add `LOCALFONTDIR' and `LEGACYFONTDIR'.
4785         Remove `FONTPATH' and `MACROPATH'.
4787         * src/roff/troff/troff.man, NEWS: Updated.
4788         * doc/groff.texinfo (Font Directories): New section.
4789         Other minor fixes.
4791         * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
4792         src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
4793         src/preproc/grn/grn.man: Minor fixes.
4795         * src/devices/grohtml/post-html.cc (html_printer::do_tab_ts):
4796         Remove unused variable.
4798 2002-09-11  Werner LEMBERG  <wl@gnu.org>
4800         * doc/groff.texinfo, man/groff_font.man: Clarify argument of \N.
4801         * man/groff_out.man: Fix documentation of 'N'.
4803 2002-09-09  Gaius Mulley  <gaius@glam.ac.uk>
4805         * doc/Makefile.in (webpage.html): Depend on gnu.eps also.
4806         * src/roff/troff/env.cc (indent): Emit html tag only if break_flag is
4807         set.
4808         * src/devices/grohtml/post-html.cc (text_glob::is_br_ni): Removed.
4809         (text_glob::is_br, html_printer::lookahead_for_tables): Updated.
4810         (html_printer::do_tab_ts): Call `emit_table_header' with `FALSE'.
4811         * src/devices/grohtml/html-text.cc (html_text::start_tag) <P_TAG,
4812         PRE_TAG>: Call `begin' with `FALSE'.
4814 2002-09-09  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
4816         * src/libs/libgroff/string.cc (string::extract): Fix position of
4817         terminating null byte.
4819 2002-09-08  Werner LEMBERG  <wl@gnu.org>
4821         Add global option `nospaces' to tbl so that leading and trailing
4822         spaces in data items are ignored.
4824         * src/libs/libgroff/string.cc (string::remove_spaces): New member
4825         function to remove leading and trailing spaces.
4826         * src/include/stringclass.h: Updated.
4828         * src/preproc/tbl/table.h (table): Add flag `NOSPACES'.
4830         * src/preproc/tbl/main.cc (process_options): Handle `nospaces'
4831         option.
4832         Fix typo in error messages.
4833         (process_data): Implement `nospaces' option.
4834         * src/preproc/tbl/tbl.man, NEWS, doc/webpage.ms: Updated.
4836 2002-09-07  Werner LEMBERG  <wl@gnu.org>
4838         * src/include/config.hin: Add `HAVE_ISATTY'.
4839         * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Drop `const' for
4840         `fname' member.
4841         * src/libs/libgroff/tmpname.cc: Include `time.h'.
4842         * src/libs/libdriver/input.cc (Char): Add `operator==' and
4843         `operator!=' for `char'.
4844         * doc/groff.texinfo: Replace @ifnottex block for top node with
4845         @ifhtml block.
4847 2002-09-06  Werner LEMBERG  <wl@gnu.org>
4849         * doc/Makefile.in (.texinfo.html): Add -I switch.
4850         * doc/groff.texinfo: Add @ifnottex block for top node to make
4851         translation to HTML work.
4853 2002-09-05  Gaius Mulley  <gaius@glam.ac.uk>
4855         * src/preproc/html/pre-html.cc (LETTER_LENGTH): Removed.
4856         (get_papersize, determine_vertical_offset): Removed.
4857         (char_buffer::do_image): Always specify letter size.
4858         (main): Updated.
4859         (imageList::createPage): Use -dDEVICEHEIGHTPOINTS instead of
4860         -sPAPERSIZE.
4862 2002-09-05  Werner LEMBERG  <wl@gnu.org>
4864         * doc/groff.texinfo, tmac/groff_man.man: Improve documentation of
4865         default indentation.
4867 2002-09-04  Gaius Mulley  <gaius@glam.ac.uk>
4869         * src/preproc/html/pre-html.cc (imageList::createPage): Use
4870         -sPAPERSIZE for gs.
4871         (generateImages): Clean up push-back buffer.
4873 2002-09-04  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
4875         * doc/groff.texinfo: Minor fixes.
4877 2002-08-21  Gaius Mulley  <gaius@glam.ac.uk>
4879         * src/preproc/html/pre-html.cc (DEFAULT_LINE_LENGTH): New macro.
4880         (MAX_WIDTH, A4_LENGTH, A4_OFFSET, LETTER_OFFSET): Removed.
4881         (gsPaper): Removed.
4882         (determine_vertical_offset): Use LETTER_LENGTH.
4883         (createPage): Moved to ...
4884         (imageList::createPage): This.
4885         Call gs with -dDEVICEWIDTHPOINTS to avoid cropping.
4886         (imageList::getMaxX): New function.
4887         (createImage): Moved to ...
4888         (imageList::createImage): This.
4889         (imageList::createImages): New function.
4890         (generateImages): Read `maxx' directly.
4891         Updated.
4892         (scanArguments): Don't specify `gsPaper' for `-o'.
4893         (makeTempFiles): Call `xtmpfile' with the last argument set to
4894         `TRUE'.
4896 2002-08-24  Werner LEMBERG  <wl@gnu.org>
4898         * src/include/nonposix.h (mkdir, WAIT, creat) [_MSC_VER]: Define.
4899         (WAIT, _WAIT_CHILD) [!_MSC_VER]: Define.
4900         * src/preproc/html/pre-html.cc (waitForChild): Use WAIT.
4901         * src/preproc/html/pushback.cc: Include nonposix.h.
4902         * src/roff/groff/pipeline.c: Define strcasecmp and strncasecmp
4903         conditionally.
4905 2002-08-23  Werner LEMBERG  <wl@gnu.org>
4907         Use $(OBJEXT) for the object file extension.
4909         * Makefile.comm (.SUFFIXES): Add .obj.
4910         (.cc.obj, .c.obj): New implicit rules.
4911         * Makefile.in (OBJEXT): New variable, initialized from autoconf.
4912         (MDEFINES): Add EXEEXT and OBJEXT.
4913         * */Makefile.sub: s/.o/.$(OBJEXT)/.
4915 2002-08-22  Werner LEMBERG  <wl@gnu.org>
4917         * INSTALL: Mention texinfo 4.2 as a prerequisite.
4919 2002-08-21  Gaius Mulley  <gaius@glam.ac.uk>
4921         * src/devices/grohtml/post-html.cc (colType): Make enum global to
4922         the file.
4923         (html_printer::update_min_max, html_printer::add_table_end): New
4924         methods.
4925         (html_printer::lookahead_for_tables): Use them.
4926         Reset page offset correctly.
4927         (html_printer::~html_printer): Add creation of creator comment up.
4929 2002-08-20  Werner LEMBERG  <wl@gnu.org>
4931         * tmac/an-old.tmac (T&): New dummy macro to avoid warning.
4932         * man/groff_tmac.man: Fix typos.
4933         * man/groff_font.man: Minor reordering.
4934         * contrib/eqn2graph/eqn2graph.man (Tp): New macro.
4936 2002-08-18  Gaius Mulley  <gaius@glam.ac.uk>
4938         Avoid endless loops while scanning for tables.
4940         * src/devices/grohtml/post-html.cc (list::insert): Set
4941         ptr->right->left.
4942         (html_printer::next_horiz_pos): Add `text_glob' argument; update
4943         all callers.
4944         Return immediately if that argument is NULL.
4945         (html_printer::calc_nf): Don't test if `g' is NULL.
4946         (html_printer::lookahead_for_tables): Use
4947         `glyphs.move_right_get_data'.
4948         Don't test if `g' is NULL.
4950 2002-08-18  Gaius Mulley  <gaius@glam.ac.uk>
4952         A better fix, replacing fix 2002-08-15, for increasing SIZE.
4954         * src/devices/grohtml/post-html.cc (char_block): Make `buffer'
4955         a pointer.
4956         (char_block::char_block): Allocate `buffer'.
4957         (char_buffer::add_string): Use it.
4959 2002-08-15  Werner LEMBERG  <wl@gnu.org>
4961         * src/devices/grops/grops.man, src/devices/grolj4/grolj4.man,
4962         src/devices/grodvi/grodvi.man: Document default line thickness.
4964 2002-08-15  Gaius Mulley  <gaius@glam.ac.uk>
4966         * src/devices/grohtml/post-html.cc (char_block): Increase SIZE to
4967         8192.
4969 2002-08-14  Werner LEMBERG  <wl@gnu.org>
4971         * doc/webpage.ms: Updated.
4973 2002-08-09  Werner LEMBERG  <wl@gnu.org>
4975         * src/roff/troff/node.cc (node::add_char): Call `freeze_space' for
4976         unbreakable space.
4978 2002-08-08  Aaron Campbell  <aaron@monkey.org>
4980         * src/preproc/pic/object.cc (object_spec::make_move): Fix typo
4981         (&& -> &).
4983 2002-08-08  Werner LEMBERG  <wl@gnu.org>
4985         * src/roff/troff/input.cc (read_rgb, read_cmy, read_cmyk): Call
4986         tok.next().
4987         (read_gray): Ditto.
4988         Don't push back a space but a newline onto the stack.
4990 2002-08-07  Gaius Mulley  <gaius@glam.ac.uk>
4992         Add fonts `CI', `CB', and `CBI' to grohtml which have been omitted
4993         inadvertently.
4995         * src/devices/grohtml/post-html.cc (html_printer::end_font,
4996         html_printer::start_font): Handle them.
4997         * src/devices/grohtml/html-text.cc (html_text::do_italic): Don't
4998         reset bold and tt.
4999         (html_text::do_bold): Don't reset italic and tt.
5000         (html_text::do_tt, html_text::do_pre): Don't reset bold and italic.
5001         * font/devhtml/DESC.proto: Add those fonts.
5002         * font/devhtml/Makefile.sub (PROTOFONTS): Updated.
5004 2002-08-07  Werner LEMBERG  <wl@gnu.org>
5006         * MORE.STUFF: Added gpresent.
5008         * tmac/trace.tmac: Show nesting level by a corresponding amount of
5009         whitespace before printing the logging message.
5011 2002-07-31  Colin Watson  <cjwatson@debian.org>
5013         * src/devices/grohtml/html-table.cc (html_table::finish_row):
5014         Initialize `n' to zero.  This fixes a segfault on ARM.
5016 2002-07-30  Werner LEMBERG  <wl@gnu.org>
5018         * doc/grnexmpl.me: Remove calls to .st and .sc which are undefined.
5020 2002-07-29  Werner LEMBERG  <wl@gnu.org>
5022         * src/preproc/pic/pic.y (print_arg, relative_path): Add missing
5023         final semicolon.
5025 2002-07-28  Colin Watson  <cjwatson@debian.org>
5027         * src/devices/grohtml/post-html (html_printer::troff_tag): Handle
5028         `.ps'.
5029         (html_printer::html_printer): Initialize `pointsize'.
5031 2002-07-26  Werner LEMBERG  <wl@gnu.org>
5033         * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Remove gnu.eps and
5034         gnu.png.
5035         (CLEANNOTSRCDIRADD): Add gnu.eps and gnu.png.
5036         (gnu.eps): Add -rle switch to pnmtops.
5037         (distfiles): Add gnu.eps and gnu.png.
5039 2002-07-25  Petter Reinholdtsen  <pere@hungry.com>
5041         * src/libs/libdriver/input.cc (Char): Add const to `operator=='.
5042         Add `operator!='.
5044 2002-07-24  Werner LEMBERG  <wl@gnu.org>
5046         * doc/Makefile.in, doc/Makefile.sub (groff_bin_path): Don't use
5047         ' \+' but '  *' for sed.
5048         (GROFF): Set GROFF_COMMAND_PREFIX to empty value.
5050 2002-07-23  Werner LEMBERG  <wl@gnu.org>
5052         * doc/groff.texinfo: Document `papersize' keyword.
5053         * NEWS, man/groff_font.man: Updated.
5055 2002-07-23  Colin Watson  <cjwatson@debian.org>
5057         Extend papersize keyword to accept more than a single entry.  The
5058         first valid will be used.
5060         * src/libs/libgroff/font.cc (font::load_desc): Implement it.
5061         (font::scan_papersize): Really skip final newline.
5062         * src/preproc/html/pre-html.cc (get_papersize): Ditto.
5064 2002-07-23  Werner LEMBERG  <wl@gnu.org>
5066         * configure.ac: Test for isatty.
5067         * configure: Regenerated.
5068         * src/include/posix.h: Check HAVE_ISATTY.
5069         * src/roff/troff/input.cc [ISATTY_MISSING]: Removed.
5070         * src/utils/lookbib/lookbib.cc: Include posix.h.
5071         Don't declare isatty.
5073 2002-07-21  Werner LEMBERG  <wl@gnu.org>
5075         * NEWS: Add `output' request.
5077         * REVISION: Increased to 1.
5079 Version 1.18.0 released
5080 =======================
5082 2002-07-19  Gaius Mulley  <gaius@glam.ac.uk>
5084         Allow internal glyph indices > 0xFF in grohtml for input characters.
5086         * src/devices/grohtml/post-html.cc (to_unicode): Use `unsigned int'
5087         as parameter.
5088         (html_printer::add_to_sbuf): Use `unsigned int' as first parameter.
5089         Updated all callers.
5090         (html_printer::sbuf_continuation, html_printer::overstrike): Ditto.
5091         (html_printer): Updated.
5093 2002-07-19  Werner LEMBERG  <wl@gnu.org>
5095         * font/devhtml/R.proto: Updated to HTML 4, adding many glyphs.
5096         * font/devutf8/R.proto: Adding some missing glyphs.
5097         * font/devutf8/NOTES: Updated.
5099         * tmac/dvi.tmac: Add more composite glyphs.
5100         * tmac/html.tmac: Updated.
5102         * man/groff_char.man: Add `sum' and `product' entities.
5104         * NEWS: Updated.
5106 2002-07-18  Gaius Mulley  <gaius@glam.ac.uk>
5108         Improved table, tab, and indenting support.
5110         * src/roff/troff/input.cc (file_iterator::suppress_newline_flag,
5111         string_iterator::suppress_newline_flag): Removed.  Updated all
5112         function which have used it.
5114         * src/roff/troff/env.cc: Include `input.h'.
5115         (environment::add_node): Accept 0 as parameter.
5116         (environment::add_html_tag): Add `force' parameter.
5117         Updated all callers.
5118         (environment::add_html_tag_tabs): Ditto.
5119         For the moment, support left-aligned tabs only.
5120         (environment::make_html_tag): New function.
5121         (fill, no_fill): Set .br html tag additionally.
5122         (environment::newline): Emit `eol.ce' or `eol' tag for html.
5123         (environment::add_html_tag_eol): Removed.
5124         (tab_stops::distance_to_next_tab): Add variant for handling 
5125         nextpos'.
5126         (environment::distance_to_next_tab): Ditto.
5127         Updated all callers.
5128         (environment::handle_tab): Handle tabs for html.
5129         
5130         * src/roff/troff/env.h: Updated.
5132         * src/roff/troff/div.cc: Updated all callers of
5133         `environment::add_html_tag'.
5135         * src/devices/grohtml/html-table.cc,
5136         src/devices/grohtml/html-table.h: New files.
5138         * src/devices/grohtml/html-text.cc (html_text): New members
5139         `blank_para' and `start_space'.
5140         (html_text::issue_tag): Don't emit TABLE_TAG.
5141         Handle indentation for PRE_TAG and P_TAG.
5142         (html_text::end_tag): Updated.
5143         (html_text::table_is_void, html_text::issue_table_begin,
5144         html_text::issue_table_end): Removed.
5145         (html_text::do_push): Simplified.
5146         [DEBUGGING]: Small fix.
5147         (html_text::push_para): Add new parameter for indentation; updated
5148         all callers.
5149         Handle PRE_TAG.
5150         (html_text::do_indent, html_text::do_table, html_text::done_table,
5151         html_text::is_in_table): Removed.
5152         (html_text::do_pre): Handle P_TAG also.
5153         (html_text::shutdown): Handle p->indent.
5154         (html_text::check_emit_text): Simplified.
5155         (html_text::do_emittext): Reset `blank_para'.
5156         (html_text::do_para): Add new parameter for indentation; updated
5157         all callers.
5158         (html_text::remove_indent): New function.
5159         (html_text::do_space): Handle verbatim text properly.
5160         (html_text::ever_emitted_text, html_text::starts_with_space,
5161         html_text::remove_para_align): New functions.
5162         (html_text::dump_stack_element, html_text::dump_stack): Updated.
5164         * src/devices/grohtml/html_text.h (HTML_TAG): Remove TABLE_TAG.
5165         Updated.
5167         * src/devices/grohtml/post-html.cc: Include html-table.h.
5168         (INDENTATION): Removed.
5169         (text_glob): Added many `is_<foo>' functions.
5170         Added table description `tab'.
5171         Added `get_arg',`get_tab_args', `remember_table', and `get_table'
5172         member functions.
5173         (list): Add `insert' and `move_to' member functions.
5174         (page): Add `insert_tag' member function.
5175         (page::dump_page) [DEBUG_TABLES]: Improved.
5176         (html_printer): Add `table' and `max_linelength' elements.
5177         Add many `do_<foo>', `insert_<foo>', `next_horiz_pos',
5178         `lookahead_for_tables', `shutdown_table', `calc_nf', `calc_po_in',
5179         `remove_tabs', `remove_courier_tabs'.
5180         (html_printer::emit_raw): Handle indentation.
5181         (html_printer::do_center, html_printer::write_header): Updated.
5182         (html_printer::is_courier_until_eol): Check for tag.
5183         (html_printer::do_linelength): Handle max_linelength.
5184         (html_printer::do_page_offset, html_printer::do_indentation): Handle
5185         fill_on.
5186         (html_printer::do_tempindent): Updated.
5187         (html_printer::do_indentedparagraph): Removed.
5188         (html_printer::do_indent): Simplified.
5189         (html_printer::do_eol): Use `ever_emitted_text'.
5190         (html_printer::do_flush, html_printer::do_links): Don't call
5191         done_table.
5192         (html_printer::do_break): Handle end_tempindent.
5193         (html_printer::troff_tag): Get argument.
5194         Don't handle `.ip'.
5195         Handle `.tab-ts', `.tab-te', `.col', `tab', and `tab0' tags.
5196         (html_printer::flush_page): Call `lookahead_for_tables'.
5197         Don't call `done_table'.
5198         (html_printer::add_to_sbuf): Always call do_indent.
5200         * src/devices/grohtml/Makefile.sub: Updated.
5202         * tmac/an-old.tmac (TP): Don't handle html device specially.
5203         (an-do-tag-html): New function which will be used instead of
5204         `an-do-tag' if html device is used.
5206         * tmac/html.tmac: Call .po to pass default page offset to grohtml.
5208         * tmac/s.tmac (@IP): Don't handle html device specially.
5209         (@IP-html): New function which will be used instead of `@IP' if
5210         html device is used.
5212         * tmac/www.tmac (HTML-NS, HTML-TAG-NS): New auxiliary macros -- this
5213         is a hack which will eventually vanish again.
5214         (PIMG): Handle `-C' option correctly if not html.
5215         (HR): Use HTML-NS.
5217 2002-07-17  Werner LEMBERG  <wl@gnu.org>
5219         * src/utils/afmtodit/afmtodit.pl: Don't use `-P-' for invoking perl.
5221 2002-07-14  Eric S. Raymond  <esr@thyrsus.com>
5223         * contrib/pic2graph/pic2graph.*: Use convert(1).
5224         * contrib/eqn2graph/eqn2graph.*: Minor fixes.
5226 2002-07-14  Bernd Warken  <bwarken@mayn.de>
5228         * tmac/groff_trace.man: New file.
5229         * tmac/Makefile.sub: Updated.
5230         * NEWS: Updated.
5232 2002-07-13  Werner LEMBERG  <wl@gnu.org>
5234         * src/roff/groff/groff.man: Add some cross references.
5236 2002-07-12  Werner LEMBERG  <wl@gnu.org>
5238         * src/roff/troff/input.cc (substring_request): Add warnings for
5239         string indices out of range.
5241 2002-07-11  Werner LEMBERG  <wl@gnu.org>
5243         * font/devdvi/generate/ec.map: Fix typo (`(l' -> `/l').
5244         * font/devdvi/*EC: Regenerated.
5246 2002-07-10  Bernd Warken  <bwarken@mayn.de>
5248         * man/groff_char.man: Updated and extended.
5250 2002-07-10  Werner LEMBERG  <wl@gnu.org>
5252         * src/roff/troff/input.cc (length_macro): Renamed to...
5253         (length_request): This.
5254         Move call of `tok.next()' to the very end, otherwise the register
5255         value hasn't been updated yet.
5256         (init_input_requests): Updated.
5258 2002-07-09  Werner LEMBERG  <wl@gnu.org>
5260         * src/roff/troff/input.cc (substring_macro): Renamed to...
5261         (substring_request): This.
5262         (init_input_requests): Updated.
5263         * src/roff/troff/request.h: Updated.
5265 2002-07-08  Robert D. Goulding  <goulding@Princeton.EDU>
5267         * src/roff/grog/grog.sh: Fix typo.
5269 2002-07-08  Werner LEMBERG  <wl@gnu.org>
5271         * win32-diffs: Updated.
5273         Handle `papersize' keyword properly in DESC.
5275         * src/libs/libgroff/font.cc (font::scan_papersize): Fix argument
5276         type.
5277         Updated all callers.
5278         * src/libs/libgroff/paper.cc: Add four more paper formats used by
5279         grolj4.
5280         * src/include/paper.h: Updated.
5282         * src/devices/grolbp/lbp.cc: Remove unnecessary semicolons.
5283         Other minor C syntax fixes.
5284         (papersize, paperlength, paperwidth): Renamed to `user_*'.
5285         (lbp_printer): Add `papersize', `paperlength', and `paperwidth'
5286         members.
5287         (lbp_printer::lbp_printer): Pass three arguments.
5288         Set paper dimensions properly.
5289         (make_printer, main): Updated.
5290         (handle_unknown_desc_command): Fix error messages.
5291         (main): Handle papersize keyword in DESC properly.
5293         * src/devices/grolj4/lj4.cc (paper_size): Renamed to
5294         `user_paper_size'.
5295         (lbp_printer::lbp_printer): Pass an argument.
5296         Set paper_size properly.
5297         (handle_unknown_desc_command): Removed.
5298         (make_printer, main): Updated.
5299         * src/devices/grolj4/grolj4.man: Minor documentation fix.
5301         * man/groff_font.man, NEWS: Updated.
5303 2002-07-07  Werner LEMBERG  <wl@gnu.org>
5305         Integrated eqn2graph, contributed by Eric S. Raymond.
5307         * contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New
5308         files.
5309         * Makefile.in, NEWS: Updated.
5311 2002-06-04  Werner LEMBERG  <wl@gnu.org>
5313         Changing the substring request to make it fit better with other
5314         string manipulation functions in other programming languages:
5315         Index 0 is now the first character in the string, and index -1
5316         indicates the last character.  Since this request didn't work
5317         properly anyway in the last release, it doesn't harm too much to
5318         change the syntax.
5320         * src/roff/troff/input.cc (substring_macro): Use loops to get
5321         the real string length (ignoring COMPATIBLE_SAVE and
5322         COMPATIBLE_RESTORE) and offsets.
5323         Implement change described above.
5325         * man/groff_char.man, tmac/doc-common (doc-header), tmac/doc.tmac
5326         (doc-do-Bd-args, doc-do-Bl-args): Changed accordingly.
5328         * NEWS, doc/groff.texinfo, man/groff_diff.man: Updated.
5330 2002-06-03  Werner LEMBERG  <wl@gnu.org>
5332         Make .chop work with .de1 and friends.  COMPATIBLE_SAVE and
5333         COMPATIBLE_RESTORE are completely ignored.
5335         * src/roff/troff/input.cc (char_list::set, char_list::get): New
5336         functions.
5337         (macro): `length' field renamed to `len'.
5338         Added new field `empty_macro' (1 if macro is empty), to be used
5339         instead of checking `len'.
5340         Updated all callers.
5341         (macro::empty): Updated.
5342         (macro::length, macro::set, macro::get): New functions.
5343         (macro::append): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
5344         Set `empty_macro'.
5345         (chop_macro): Check and remove trailing COMPATIBLE_SAVE/
5346         COMPATIBLE_RESTORE pairs.
5347         (asciify): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
5348         * src/roff/troff/request.h: Updated.
5350         * doc/groff.texinfo: Document .chop's behaviour better.
5352 2002-06-02  Werner LEMBERG  <wl@gnu.org>
5354         * doc/pic.ms: Fix documentation for the addition of positions.
5356         * tmac/doc.tmac, tmac/an-old.tmac: Need groff version 1.18.
5358 2002-06-29  Werner LEMBERG  <wl@gnu.org>
5360         Implementation of string arguments of the form \*[foo arg1 arg2 ...]
5362         * src/roff/troff/input.cc (have_string_arg): New global variable.
5363         (read_mode): New enumeration.
5364         (read_escape_name): Use it.  Update all calls.
5365         (read_long_escape_name): Use it.  Update all calls.
5366         Set have_string_arg if appropriate.
5367         (get_char_for_escape_name): Add parameter for handling space
5368         character.
5369         (interpolate_string_with_args, decode_string_args): New functions.
5370         (get_copy, token::next): Call it if necessary.
5371         (interpolate_string): Fix error message.
5373         * NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
5374         Document it.
5376 2002-06-24  Bernd Warken  <bwarken@mayn.de>
5378         * man/groff_tmac.man: Updated and extended.
5380 2002-06-24  Werner LEMBERG  <wl@gnu.org>
5382         * doc/pic.ms, src/preproc/pic/pic.man: Fix description of `:='.
5384 2002-06-23  Werner LEMBERG  <wl@gnu.org>
5386         * doc/pic.ms: Improve documentation of composite block objects.
5388 2002-06-22  Werner LEMBERG  <wl@gnu.org>
5390         * src/roff/troff/input.cc (init_registers): Add three registers
5391         `seconds', `minutes', and `hours' to hold the current time.
5393         * NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
5394         Updated.
5396 2002-06-20  Werner LEMBERG  <wl@gnu.org>
5398         Make \X accept both `\ ' and `\~', converting them to single space
5399         characters.
5401         * src/roff/troff/token.h (token): Add TOKEN_UNSTRETCHABLE_SPACE.
5402         (token::unstretchable_space): New inline function.
5403         * src/roff/troff/input.cc (token::next, token::delimiter,
5404         token::description, token::add_to_node_list, token::process): Handle
5405         TOKEN_UNSTRETCHABLE_NODE.
5406         (encode_char): Handle tok.stretchable_space and
5407         tok.unstretchable_space.
5409         * NEWS, doc/groff.texinfo: Document it..
5411 2002-06-19  Werner LEMBERG  <wl@gnu.org>
5413         * src/devices/grops/ps.cc (ps_printer::special): Fix error message.
5415         * src/devices/grotty/tty.cc (tty_printer::special): Add `sgr'
5416         keyword to enable/disable SGR output.
5417         (tty_printer::change_fill_color): New function.
5418         * NEWS, src/devices/grotty/grotty.man: Document `sgr' special.
5420         * src/roff/troff/input.cc (output_request): Add missing `tok.next()'
5421         call.
5423 2002-06-18  Werner LEMBERG  <wl@gnu.org>
5425         Add a `color' request and a `.color' register to control usage of
5426         colours.
5428         * src/roff/troff/input.cc (disable_color_flag): Replaced with...
5429         (color_flag): This (which is the inverse).
5430         (activate_color): New function.
5431         (main, init_input_requests): Updated.
5432         * src/roff/troff/troff.h, src/roff/troff/node.cc
5433         (troff_output_file::fill_color, troff_output_file::glyph_color):
5434         Updated.
5436         * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
5437         Document the changes.
5439 2002-06-17  Colin Watson  <cjwatson@debian.org>
5441         Circumvent bug in autoconf 2.53 regarding top_builddir.
5443         * aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/.
5444         * Makefile.in, doc/Makefile.in:
5445         s/@top_builddir@/@groff_top_builddir@/.
5446         * configure: Regenerated (with autoconf 2.53).
5448 2002-06-17  Werner LEMBERG  <wl@gnu.org>
5450         * src/libs/libgroff/font.cc (font::load_desc): Fix computation of
5451         `paperwidth' and `paperlength' for the `papersize' keyword.
5453 2002-06-16  P. Alejandro Lopez-Valencia  <dradul@007mundo.com>
5455         * src/devices/grops/grops.man: Add info about Type 42 fonts.
5457 2002-06-15  Gaius Mulley  <gaius@glam.ac.uk>
5459         * src/devices/grohtml/post-html.cc (html_printer::emit_raw,
5460         html_printer::do_linelength, html_printer::do_pageoffset,
5461         html_printer::do_indentation, html_printer::do_tempindent,
5462         html_printer::do_break, html_printer::begin_page): Clear indented
5463         text.
5464         * tmac/html.tmac: Disable hyphenation.
5466 2002-06-15  Werner LEMBERG  <wl@gnu.org>
5468         Don't produce HTML files if utility programs are missing.
5470         * Makefile.in (make_html, make_install_html): New variables.
5471         (MDEFINES): Updated.
5473         * aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML
5474         utility programs.
5475         * configure.ac: Use it.
5476         * configure: Regenerated.
5478         * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to...
5479         (HTMLEXAMPLESFILES): This new variable.
5480         (EXAMPLESIMAGEFILES): Renamed to...
5481         (HTMLEXAMPLEIMAGEFILES): This.
5482         (CLEANADD): Add HTMLEXAMPLEFILES.
5483         (all): Use `make_html'.
5484         (html): New target.
5485         (install_data): Use `make_install_html'.
5486         Move html stuff to...
5487         (install_html): This new target.
5488         (uninstall_sub): Updated.
5490 2002-06-14  Bernd Warken  <bwarken@mayn.de>
5492         * src/roff/grog/Makefile.sub (grog): Renamed to...
5493         (grog.old): This.
5494         (grog): New rule to always install grog.sh as grog.
5496 2002-06-08  Bernd Warken  <bwarken@mayn.de>
5498         * src/roff/grog/grog.pl: Fix typo.
5500 2002-06-07  Werner LEMBERG  <wl@gnu.org>
5502         * doc/groff.texinfo: Add more info on .tr arguments.
5504 2002-06-05  Werner LEMBERG  <wl@gnu.org>
5506         * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
5508         * aclocal.m4 (GROFF_MKSTEMP): Include unistd.h.
5509         * configure: Regenerated.
5511 2002-06-05  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
5513         * src/roff/troff/symbol.cc (table_sizes): Add more values.
5515         * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Recognize mom.
5517 2002-06-04  Werner LEMBERG  <wl@gnu.org>
5519         * aclocal.m4 (GROFF_PAGE): Don't use `prefix' directly since it
5520         is not initialized at the time we need it in case `--prefix' hasn't
5521         been set.  Check for `ac_default_prefix' also.
5522         Test for `papersize' keyword also and generalize allowed whitespace.
5523         * configure: Regenerated.
5525         * font/devps/Makefile.sub (DESC): Use `papersize' instead of
5526         `paperlength'.
5528         * src/libs/libgroff/Makefile.sub (version, revision): Replaced
5529         with...
5530         (src_version, src_revision): New variables to avoid overwriting
5531         from parent make process.
5532         (version.cc): Updated.
5534         * src/preproc/html/pre-html.cc: Include paper.h and font.h.
5535         (linebuf, linebufsize): New global variables.
5536         (sys_fatal): Use `fatal' to abort properly.
5537         (get_line): New function.
5538         (get_resolution): Use it.
5539         Improve error messages.
5540         (get_papersize): Check `papersize' also.
5541         Use `get_line'.
5542         Improve error messages.
5544 2002-06-03  Werner LEMBERG  <wl@gnu.org>
5546         * Makefile.comm (CLEANNOTSRCDIRADD): New target for files which
5547         should be removed only if builddir is not srcdir.
5548         (mostlyclean): Handle `CLEANNOTSRCDIRADD'.
5549         (clean): Depend on `mostlyclean'.
5550         (distclean): Depend on `clean'.
5551         (realclean, extraclean): Depend on `distclean'.
5552         (.y.cc, .y.o): Simplified.  The output files are no longer written
5553         to srcdir but to builddir.
5554         * Makefile.in (MDEFINES): Add `version' and `revision'.
5555         (uninstall_dirs): Fix order of directories.
5556         * doc/Makefile.sub (version, revision): Removed.
5557         (CLEANADD): Removed grnexmpl.g, groff, groff-*.
5558         Added `HTMLDOCFILES'.
5559         (CLEANNOTSRCDIRADD): New target for grnexmpl.h, groff, groff-*.
5560         * src/preproc/eqn/Makefile.sub, src/preproc/pic/Makefile.sub,
5561         src/preproc/refer/Makefile.sub (YTABC, YTABH): Don't use `srcdir'
5562         as prefix.
5564         * doc/texinfo.tex (\authortt): New macro.
5565         (\shortcontt): Define.
5566         (\titlepage): Set \tt to \authortt while defining \authorfont.
5567         (\appendixbox): New macro.
5568         (\chapmacro, \appendixentry): Use \appendixbox to get even
5569         indentation for letters.
5570         (\summarycontents): Set \tt.
5571         (\internalpagesize): Add two arguments for real paper width and
5572         height as needed by pdfTeX.
5573         (\letterpaper, \smallbook, \afourpaper, \afivepaper, \afourlatex):
5574         Updated.
5575         (\tempdima, \tempdimb): New temporary dimensions.
5576         (\pagesizesyyy): Updated.
5578 2002-06-02  Werner LEMBERG  <wl@gnu.org>
5580         Adding a new keyword `papersize' to the DESC file format (similar
5581         but not completely identical to grolbp's extension).  grops now has
5582         a -p command line option to override `papersize'.  Finally, grolbp
5583         has been adapted to the new syntax.
5585         * src/libs/libgroff/paper.cc, src/include/paper.h: New files.  It
5586         defines and initializes the `papersizes[]' array with NUM_PAPERSIZES
5587         elements.
5588         * src/libs/libgroff/Makefile.sub (OBJS): Add `paper.o'.
5589         (CCSRCS): Add `paper.cc'.
5591         * src/include/font.h (font): Add `papersize' element.
5592         * src/libs/libgroff/font.cc (font::unit_scale): New helper function.
5593         (font::scan_papersize): New function.
5594         (font::load_desc): Use it for handling `papersize' keyword.
5595         * src/libs/libgroff/fontfile.cc: Initialize `font::papersize'.
5597         * src/devices/grops/ps.cc: Include paper.h.
5598         (user_paper_length): New global variable.
5599         (ps_printer): Use paper length as initializer.
5600         (make_printer): Updated.
5601         (main): Handle new `-p' option.
5602         * src/devices/grops/grops.man: Updated.
5604         * src/devices/grolbp/lbp.cc: Include paper.h.
5605         s/papersizes/lbp_papersizes/.
5606         (set_papersize): Use new `papersizes' array.
5607         (handle_unknown_desc_command): Don't handle `papersize'.
5608         (main): Use `font::scan_papersize' for handling `-p' option.
5609         * src/devices/grolbp/grolbp.man: Updated.
5611         * man/groff_font.man: Document `papersize'.
5612         * NEWS: Updated.
5614 2002-05-30  Werner LEMBERG  <wl@gnu.org>
5616         * src/devices/grops/TODO: Updated.
5617         * src/devices/grops/grops.man: More info on paper formats.
5618         * man/groff_font.man: Document `paperheight' and `paperwidth'.
5620 2002-05-29  Werner LEMBERG  <wl@gnu.org>
5622         * doc/Makefile.sub (CLEANADD): Add grnexmpl.g, groff, and groff-*
5623         to list only if srcdir != currdir.
5624         (distfiles): New target.
5626         * Makefile.in (EXTRADIRS): Add font/devlj4/generate.
5627         (NOMAKEDIRS): New variable.
5628         (DISTDIRS): Use it.
5630 2002-05-26  Werner LEMBERG  <wl@gnu.org>
5632         Add .output request, similar to \! at top-level.
5634         * src/roff/troff/input.cc (transparent): Remove unused declaration.
5635         (output_request): New function.
5636         (init_input_requests): Add it.
5637         Sorted.
5638         * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
5639         Document it.
5641         * Makefile.in (MDEFINES): Add INSTALL_INFO.
5642         (prepare_examples): Fix typo.
5643         * doc/groff.texinfo (@direntry): Fix it.
5645 2002-05-25  Werner LEMBERG  <wl@gnu.org>
5647         Including the doc subdir into groff's Makefile system.
5649         * aclocal.m4 (GROFF_INSTALL_INFO): New function.
5650         * configure.ac: Use it.
5651         Generate `doc/Makefile'.
5652         * configure: Regenerated.
5654         * Makefile.in (infodir, INSTALL_INFO): New variables.
5655         (MDEFINES, uninstall_dirs): Updated.
5656         (OTHERDIRS): Add `doc'.
5657         * Makefile.comm (CLEANDIRADD): New variable.
5658         (mostlyclean): Use it.
5660         * doc/Makefile.sub, doc/Makefile.in: New files.
5661         * doc/Makefile: Removed.
5663         * NEWS, INSTALL: Updated.
5665 2002-05-24  Werner LEMBERG  <wl@gnu.org>
5667         * doc/homepage.ms: Renamed to ...
5668         * doc/webpage.ms: This.
5669         Use `.NHR'.
5671 2002-05-23  Werner LEMBERG  <wl@gnu.org>
5673         Integrating the `mom' macro package, contributed by Peter Schaffter
5674         <df191@ncf.ca>.
5676         * contrib/mom/*: New subdirectory tree.
5677         * Makefile.in (docdir, exampledir, htmldocdir): New variables to
5678         be used for documentation files.
5679         (MDEFINES, uninstall_dirs): Use them.
5680         (OTHERDIRS): Add contrib/mom.
5681         * Makefile.comm (.man.n): Add @DOCDIR@, @EXAMPLEDIR@, and
5682         @HTMLDOCDIR@.
5683         * MANIFEST, NEWS: Updated.
5685 2002-05-22  Gaius Mulley  <gaius@glam.ac.uk>
5687         Change syntax of \O: \O[0] suppresses output, \O[1] enables output
5688         if at outer level; at start-up we are at outer level.
5690         * src/roff/troff/input.cc (do_suppress): Implement it.
5691         Simplify \O[3].
5693         Add option -p to show progress information.
5694         pre-grohtml will now render only one page at a time, reducing the
5695         size of needed disk resources enormously.
5697         * src/preproc/html/pre-html.cc (imagePageStem): Replaced with...
5698         (imagePageName): New global variable.
5699         (psPageName, show_progress, currentPageNo): New global variables.
5700         (html_system): Close saved stderr and stdout handles.
5701         (write_end_image): Accept a parameter to control \O escape.
5702         (write_start_image): Adapted to new \O meaning.
5703         (char_buffer::write_upto_newline): Updated.
5704         (createAllPages): Replaced with...
5705         (createPage): This new function to create a single page for images.
5706         It uses `psselect' from the psutils package.
5707         (removeAllPages): Removed.
5708         (createImage): Updated.
5709         Handle progress display.
5710         (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Removed.
5711         (scanArguments): Add option -p.
5712         (makeTempFiles): Updated to create temp files for psPageName and
5713         imagePageName.
5714         (removeTempFiles): Removed.
5715         (main): Updated.
5717         * src/devices/grohtml/post-html.cc (header_desc::write_headings,
5718         html_printer::write_header): Append `\0' to `buffer'.
5719         (html_printer::do_eol): Depend on `current_paragraph->emitted_text'.
5720         (main): Handle -p.
5721         * src/devices/grohtml/html-text.cc (html_text::dump_stack_element):
5722         Handle `text_emitted'.
5723         (html_text::table_is_void): Slightly rewritten.
5724         (stop): New external symbol.
5725         (html_text::do_push) [DEBUGGING]: Use it and simplify.
5726         (html_text::shutdown): Call `dump_stack'.
5727         (html_text::do_space): Rewritten.
5728         * src/devices/grohtml/grohtml.man: Document -p and the need of
5729         `psselect'.
5731         * tmac/www.tmac (DC, HTML-DO-IMAGE, HTML-IMAGE-END): Updated to
5732         new \O syntax.
5733         Call \O[0] if `ps4html' is active.
5734         * tmac/s.tmac (@EQ, @EN): Handle html better.
5735         (@TS, TE): Ditto.
5736         * tmac/html.tmac: Don't use black for background colour.
5738         * src/roff/troff/node.cc: Include `div.h'.
5739         (troff_output_file::really_print_line): Don't use `is_on'. 
5740         (troff_output_file::word_marker, troff_output_file::flush_tbuf
5741         troff_output_file::check_charinfo,
5742         troff_output_file::put_char_width, troff_output_file::put_char,
5743         troff_output_file::determine_line_limits, troff_output_file::draw,
5744         real_output_file::begin_page, glyph_color_node::tprintf,
5745         fill_color_node::tprint, hline_node::tprint, vline_node::tprint):
5746         Use `is_on'.
5747         (troff_output_file::really_on): Call `do_motion'.
5748         (suppress_node::tprint): Use `get_page_number' instead of `%'
5749         register.
5750         Call `reset_output_registers' conditionally on `is_on'.
5752         * doc/groff.texinfo: Document new syntax of \O.
5753         * NEWS, man/groff_diff.man: Updated.
5755 2002-05-22  Werner LEMBERG  <wl@gnu.org>
5757         * MORE.STUFF: Add info about David Frey's deroff implementation.
5758         Mention troff.org.
5760 2002-05-16  Werner LEMBERG  <wl@gnu.org>
5762         Pic's `with' attribute now accepts positions.
5764         * src/preproc/pic/pic.y: Make `.', BOX, CIRCLE, ELLIPSE, ARC, LINE,
5765         ARROW, SPLINE, and `[' left-associative tokens to fix shift/reduce
5766         conflicts.
5767         (object_spec): Add rule for `WITH' and `position'.
5768         (relative_path): Give `corner' the precedence of `CHOP'.
5769         * src/preproc/pic/object.h (path): New members `pos' and
5770         `is_position'.
5771         * src/preproc/pic/object.cc: Updated initializers of `path'.
5772         (path::follow): Handle `is_position'.
5774         * doc/pic.ms: Completely updated grammar description.
5775         Many typographical improvements.
5777 2002-05-15  Werner LEMBERG  <wl@gnu.org>
5779         * src/roff/troff/env.cc(hyphen_trie::hpf_getc): Accept ^^x (char
5780         code of x in range 0-127) also.
5781         * doc/groff.texinfo, man/groff_diff.man: Updated.
5783         Added keywords `north', `south', `east', and `west' for corners
5784         in pic.
5786         * src/preproc/pic/lex.cc (lookup_keyword): Add NORTH, SOUTH, EAST,
5787         and WEST.
5788         (yylex): Handle them.
5789         * src/preproc/pic/pic.y: Add tokens NORTH, SOUTH, EAST, and WEST.
5790         (corner): Handle them.
5792 2002-05-14  Werner LEMBERG  <wl@gnu.org>
5794         * src/devices/grops/grops.man: Clarify handling of `download' file.
5796 2002-05-11  Werner LEMBERG  <wl@gnu.org>
5798         Adding `warnscale' and `spreadwarn' requests, based on a patch from
5799         Jeffrey Friedl <jfriedl@yahoo.com>.
5801         * src/roff/troff/input.cc (spread_limit, warn_scale,
5802         warn_scaling_indicator): New global variables.
5803         (warnscale_request, spreadwarn_requests): New functions.
5804         (main): Initialize `warn_scale' and `warn_scaling_indicator'.
5805         (init_input_requests): Updated.
5806         (error_type): Add `OUTPUT_WARNING'.
5807         (do_error): Handle it.
5808         (output_warning): New warning function which shows output location.
5809         * src/roff/troff/env.h (spread_limit): New external variable.
5810         * src/roff/troff/env.cc (environment::choose_breakpoint): Use
5811         `output_warning'.
5812         (distribute_space): Emit warning if added space is larger than
5813         `spread_limit'.
5814         (environment::possibly_break_line): Emit warning if a line can't
5815         be adjusted on both sides.
5817         * doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it.
5819 2002-05-08  Werner LEMBERG  <wl@gnu.org>
5821         * src/roff/troff/node.cc (special_node::special_node): Use
5822         env_definite_font(curenv) instead of curenv->get_font().  Otherwise
5823         \X''\% crashes, for example.
5825         * doc/groff.texinfo: Document \! and \? used at top-level.
5827 2002-05-06  Werner LEMBERG  <wl@gnu.org>
5829         * src/preproc/pic/pic.man: Fix some keyword syntax.
5830         Other minor typographical fixes.
5832         * src/roff/groff/groff.man: Fix typos.
5834 2002-05-04  Werner LEMBERG  <wl@gnu.org>
5836         * src/roff/groff/groff.man ([ShortOpt]): Renamed to...
5837         (ShortOpt[]): This to avoid problems with refer.
5839         * doc/pic.ms: Fix typo.
5840         Fix pic grammar description.
5842         * tmac/an-old.tmac (ne): Use de1, not de.
5844 2002-05-03  Werner LEMBERG  <wl@gnu.org>
5846         * doc/groff.texinfo: Finished separation of glyphs and characters.
5847         Don't use the string `Appendix' for appendix headers (both in
5848         the text and the table of contents).
5849         * man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac
5850         directories.
5852         Use registers LL and LT (similar to -ms) for controlling the
5853         length of title and line, respectively, in the -man and -mdoc
5854         macro packages.
5856         * tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff
5857         (doc-setup-page-layout): Use \n[LL] and \n[LT].
5858         * tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined.
5859         (TH): Use \n[LL].
5860         (an-header, an-p-footer): Use \n[LT].
5861         * NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
5862         doc/groff.texinfo: Document it.
5864 2002-05-02  Werner LEMBERG  <wl@gnu.org>
5866         * doc/fdl.texi: New file.
5867         * doc/groff.texinfo: Include it.
5868         Define and use @copying.
5869         Starting with separating glyph, symbol, and character.
5871 2002-04-27  Werner LEMBERG  <wl@gnu.org>
5873         * Makefile.in (EXEEXT): Set it.
5874         * src/*/Makefile.sub (PROG): Add $(EXEEXT) for all non-script
5875         programs.
5877         * src/include/nonposix.h: Define GS_NAME.
5878         * src/preproc/html/pre-html.cc (createAllPages): Use GS_NAME.
5880         Some preliminary changes for EMX support under OS/2.
5882         * src/preproc/pic/main.cc (main), src/roff/groff/pipeline.c: Add
5883         __EMX__ similar to __MSDOS__.
5884         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Use `unlink'.
5886 2002-04-25  Werner LEMBERG  <wl@gnu.org>
5888         * doc/groff.texinfo: Integrated groff_out.man.
5889         Some macro fixes.
5891 2002-04-23  Werner LEMBERG  <wl@gnu.org>
5893         * man/groff_out.man: Minor fixes.
5895 2002-04-23  Werner LEMBERG  <wl@gnu.org>
5897         * doc/groff.texinfo: Moving @cindex entries after @Def* to get
5898         correct page references.
5899         Fixed many index entries.
5901 2002-04-23  Bernd Warken  <bwarken@mayn.de>
5903         * man/roff.man: Enlarged.
5905 2002-04-22  Werner LEMBERG  <wl@gnu.org>
5907         * doc/groff.texinfo: More examples, other fixes.
5909 2002-04-20  Werner LEMBERG  <wl@gnu.org>
5911         * src/roff/troff/input.cc (pipe_output): Multiple calls to `pi'
5912         will now form a chain, e.g.
5914           .pi foo
5915           .pi bar
5917         is now the same as
5919           .pi foo | bar
5921         This is for compatibility with plan 9's troff.
5923         * tmac/tty.tmac: Set default tab values to 0.8i to be compatible
5924         with UNIX troff.
5925         * NEWS: Updated.
5927         * doc/groff.texinfo: Add documentation of remaining requests and
5928         registers.
5930 2002-04-19  Werner LEMBERG  <wl@gnu.org>
5932         * doc/groff.texinfo: Add documentation of remaining escapes.
5934         * font/devdvi/generate/tc.map: Remove entry for `sr'.
5935         * font/devdvi/*TC: Regenerated.
5937 2002-04-18  Werner LEMBERG  <wl@gnu.org>
5939         * src/roff/troff/input.cc (token::next): Make \H behave consistently
5940         if not in compatibility mode, i.e., increment relative to the
5941         previous height.
5942         * doc/groff.texinfo: Updated accordingly.
5944 2002-04-17  Werner LEMBERG  <wl@gnu.org>
5946         * doc/groff.texinfo: Document \\, \e, \E, \., and \c.
5948 2002-04-16  Bernd Warken  <bwarken@mayn.de>
5950         * src/roff/groff/groff.man: Improve documentation of -P option.
5951         Other minor fixes.
5953 2002-04-15  Werner LEMBERG  <wl@gnu.org>
5955         Add new escape \F to switch font family.
5957         * src/roff/troff/input.cc (token::next): Handle \F.
5958         * src/roff/troff/env.cc (environment::set_family): Handle
5959         `interrupted' flag.
5960         * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
5961         Document it.
5963 2002-04-14  Werner LEMBERG  <wl@gnu.org>
5965         * tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of
5966         spaces in tags.
5968 2002-04-13  Werner LEMBERG  <wl@gnu.org>
5970         Implement \f[] as an alternative to \fP.  Change \mP and \MP to
5971         \m[] and \M[], respectively.
5973         * src/roff/troff/symbol.cc (EMPTY_SYMBOL): New global variable.
5974         (symbol::symbol): Handle NULL string and empty string differently.
5975         * src/roff/troff/symbol.h (symbol::is_empty): New inline function.
5976         * src/roff/troff/input.cc (read_escape_name, read_long_escape_name):
5977         Add optional parameter.
5978         Updated calling functions.
5979         (get_copy, do_glyph_color, do_fill_color, token::next): Use
5980         `symbol::is_empty'.
5981         * src/roff/troff/env.cc (environment::set_font): Ditto.
5983         * src/preproc/pic/troff.cc (troff_output::set_fill,
5984         troff_output::reset_color: Updated.
5986         * tmac/www.tmac: Updated.
5988         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo,
5989         doc/homepage.ms, src/devices/grotty/grotty.man, tmac/groff_www.man:
5990         Updated.
5992         * tmac/Xps.tmac: Remove some redundant code.
5994         * tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac,
5995         tmac/dvi.tmac, man/roff.man, man/groff_out.man, man/groff.man,
5996         man/groff_diff.man, src/roff/groff/groff.man: Replace \f[P] with
5997         \f[].
5999 2002-04-13  Bernd Warken  <bwarken@mayn.de>
6001         * src/include/printer.h, src/libs/libdriver/printer.cc
6002         (printer::change_fill_color): New member function.
6003         * src/libs/libdriver/input.cc (parse_D_command): Use it.
6005 2002-04-12  Werner LEMBERG  <wl@gnu.org>
6007         * doc/groff.texinfo: Completed pass on gtroff reference.
6009 2002-04-11  Werner LEMBERG  <wl@gnu.org>
6011         * doc/groff.texinfo: More fixes.
6013 2002-04-11  Bernd Warken  <bwarken@mayn.de>
6015         * src/include/color.h: Decorate with `const'.
6016         Use `size_t'.
6017         Include `stddef.h'.
6018         * src/libs/libgroff.color.cc: Decorate with `const'.
6019         Use `size_t'.
6020         (color::color): Initialize members.
6021         * src/libs/libdriver/input.cc (parse_D_command): Handle `f'
6022         command according to the documentation.
6024         * man/groff_out.man: Updated.
6025         Minor fixes.
6027 2002-04-11  Gaius Mulley  <gaius@glam.ac.uk>
6029         * src/preproc/html/pre-html.cc (write_start_image): Remove
6030         redundant output.
6031         * tmac/www.tmac (DC, HTML-DO-IMAGE): Ditto.
6033         * src/devices/grohtml/post-html.cc (page::add_and_encode): Using
6034         \C'hy' caused an assertion failure.
6036         * src/roff/troff/env.cc (environment::environment): Initialize
6037         `emitted_node'.
6038         (environment::copy): Handle `ignore_next_eol' and `emitted_node'.
6040 2002-04-10  Werner LEMBERG  <wl@gnu.org>
6042         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
6043         Document pvs request and .pvs register.
6045 2002-04-09  Werner LEMBERG  <wl@gnu.org>
6047         * doc/groff.texinfo: Improve and fix documentation of diversions
6048         and environments.
6050 2002-04-08  Werner LEMBERG  <wl@gnu.org>
6052         * doc/groff.texinfo: Fix documentation of drawing functions.
6053         Other minor fixes.
6055 2002-04-07  Werner LEMBERG  <wl@gnu.org>
6057         * doc/groff.texinfo: Better documentation of double quotes as
6058         arguments.
6059         Other minor fixes.
6061 2002-04-06  Werner LEMBERG  <wl@gnu.org>
6063         * man/groff_font.man: Document names of special characters better.
6064         * doc/groff.texinfo: Minor improvements.
6066         * tmac/lbp.tmac: Load latin1.tmac.
6067         * tmac/X.tmac, tmac/Xps.tmac: Load latin1.tmac or cp1047.tmac.
6069         * font/devX*/*: Regenerated (all chars > 0x80 removed).
6071 2002-04-05  Werner LEMBERG  <wl@gnu.org>
6073         * tmac/tty.tmac: Don't use shc request.
6074         * tmac/latin1.tmac, tmac/cp1047.tmac: Translate soft hyphen to `\%'.
6075         * NEWS: Updated.
6077         * man/groff_diff.man: Minor fixes.
6079         * font/devlbp/*: Remove all `charXXX' entities.
6081         * src/libs/libgroff/font.cc (font::~font): Deallocate
6082         `special_device_coding'.
6083         (font::load): Use `new' for allocating `special_device_coding'.
6084         * src/libs/libgroff/nametoindex.cc (character_indexer::lookup_char):
6085         Removed unused member.
6087 2002-04-05  Werner LEMBERG  <wl@gnu.org>
6089         * src/drivers/grops/psrm.cc (skip_possible_newline): New function.
6090         (resource_manager::do_begin_binary,
6091         resource_manager::do_begin_data): Use it.
6093         * doc/texinfo.tex: Updated to version 4.2.
6095         * src/roff/troff/token.h: Add TOKEN_ZERO_WIDTH_BREAK for `\:'.
6096         (token::zero_width_break): New inline function.
6097         * src/roff/troff/input.cc (token::next): Use it.
6098         (token::description): Updated.
6099         (encode_char): Ignore `\%', `\&', `\)', and `\:'.
6100         (token::add_to_node_list, token::process): Use it.
6101         * NEWS, doc/groff.texinfo: Updated.
6103         * src/preproc/eqn/over.cc (over_box::output): Fix typo.
6104         * tmac/tty.tmac: Add missing backslash.
6106 2002-04-04  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
6108         * src/preproc/eqn/box.cc (set_script_size, box::top_level): Use
6109         `.ps' register instead of `.s' to handle fractional point sizes.
6110         * src/preproc/eqn/limit.cc (limit_box::compute_metrics,
6111         limit_box::output): Ditto.
6112         * src/preproc/eqn/other.cc (size_box::compute_metrics,
6113         size_box::output): Ditto.
6114         * src/preproc/eqn/over.cc (over_box::compute_metrics,
6115         over_box::output): Ditto.
6116         * src/preproc/eqn/script.cc (script_box::compute_metrics,
6117         script_box::output): Ditto.
6118         * src/preproc/eqn/sqrt.cc (sqrt_box::compute_metrics,
6119         sqrt_box::output): Ditto.
6121 2002-04-03  Michael Selway  <mas@ssl.co.uk>
6123         * src/drivers/grops/psrm.cc (resource_manager::do_begin_binary):
6124         Fix typo.
6126 2002-04-03  Werner LEMBERG  <wl@gnu.org>
6128         * doc/homepage.ms: Reduce title size.
6129         * doc/groff.texinfo: Fix documentation of .t register.
6130         Fix handling of colon.
6131         Fix `\' vs. `\\'.
6133         * src/roff/troff/input.cc (exit_troff): Emit LAST_PAGE_EJECTOR
6134         only if page length is positive to avoid a loop.
6136         * tmac/an-old.tmac (ne): Increase page length to avoid problems with
6137         tbl.
6139 2002-04-02  P. Alejandro Lopez-Valencia  <dradul@yahoo.com>
6141         * src/include/nonposix.h, src/roff/groff/pipeline.c:
6142         s/__CYGWIN32__/__CYGWIN__/.
6144 2002-03-28  Gaius Mulley  <gaius@glam.ac.uk>
6146         * doc/gnu.xpm: New image contributed by Emily Mulley.
6147         * doc/Makefile (gnu.eps, gnu.png): Use pnmdepth.
6148         (homepage.html): Be dependent on gnu.eps.
6149         * doc/homepage.ms: Updated to new image.
6151         * src/devices/grohtml/post-html.cc (html_printer): New member
6152         `sbuf_prev_hpos'.
6153         (html_printer::flush_sbuf, html_printer::set_char): Set it.
6154         (html_printer::sbuf_continuation): Use it.
6156 2002-03-28  Werner LEMBERG  <wl@gnu.org>
6158         * src/libs/libgroff/getopt.c: Updated to latest version.
6160         * tmac/README: More on hyphen.tex license.
6162 2002-03-26  Larry Kollar  <kollar@alltel.net>
6164         * doc/groff.texinfo: Add documentation of most missing requests.
6166 2002-03-25  Werner LEMBERG  <wl@gnu.org>
6168         Add three glyphs `t+-', `tmu', and `tdi' which are textual variants
6169         of `+-', `mu', and `di', respectively.
6171         * font/devascii/R.proto, font/devutf8/R.proto,
6172         font/devlatin1/R.proto, font/devhtml/R.proto,
6173         font/devcp1047/R.proto, font/devlpb/*: Add them.
6174         * font/devps/generate/textmap: Ditto.
6175         * font/devps/*: Regenerated.
6176         * font/devlj4/generate/text.map: Add them.
6177         * font/devlj4/*: Regenerated.
6178         * font/devdvi/generate/tc.map: Use them.
6179         * font/devdvi/generate/texsy.map: Add them.
6180         * font/devdvi/*: Regenerated.
6181         * font/devX*/*: Regenerated.
6183         * tmac/latin1.tmac, tmac/cp1047.tmac, tmac/tty.tmac,
6184         tmac/tty-char.tmac: Updated.
6186         * NEWS, man/groff_char.man: Updated.
6188 2002-03-24  Werner LEMBERG  <wl@gnu.org>
6190         * tmac/dvi.tmac, tmac/X.tmac, tmac/ps.tmac, tmac/html.tmac,
6191         tmac/lj4.tmac, tmac/tty.tmac: Replace most `.char' with `.fchar'.
6192         * tmac/ec.tmac: Remove `.rchar' calls (no longer necessary since
6193         we use `.fchar' in dvi.tmac.
6194         * tmac/dvi.tmac: Improve definition of \[Fo] and \[Fc].
6195         * tmac/Xps.tmac: Simplify some char definitions.
6196         Add definition for \[f/].
6197         * man/groff_char.man: Updated for new X.tmac.
6199         * tmac/README: New file.
6201 2002-03-23  Phil Lobbes  <phil@perkpartners.com>
6203         * Makefile.comm (.y.o): New rule for make on Solaris 2.5.1 -- the
6204         internal .y.o rule took precendence over the .y.cc rule, compiling
6205         the yacc files with gcc instead of g++.
6207 2002-03-23  Werner LEMBERG  <wl@gnu.org>
6209         * tmac/dvi.tmac: Add replacement font for `CB'.
6211         * tmac/doc.tmac: s/request/macro/ in messages.
6212         (doc-generic-macro): Improve error message.
6213         * tmac/groff_mdoc.man: Minor improvements.
6215 2002-03-22  Werner LEMBERG  <wl@gnu.org>
6217         * doc/groff.texinfo: Document possible conflict between `tr' and
6218         `char' requests.
6220 2002-03-21  Werner LEMBERG  <wl@gnu.org>
6222         Improve handling of hyphenation patterns.  It is now possible to
6223         use most of TeX's pattern files unmodified.  To make the process
6224         more flexible, a new request `hpfcode' has been added which
6225         provides a character code mapping for the `hpf' request.  See
6226         comment before hpf_getc() for more details.
6228         * src/roff/troff/env.cc (insert_hyphenation, hpf_getc): New
6229         functions.
6230         (read_patterns_file): Additional parameter for exception dictionary.
6231         Extended to recognize \pattern, \hyphenation, and \endinput.
6232         (do_hyphenation_patterns_file): Updated.
6233         * src/roff/troff/env.h (hpf_code_table): New extern.
6235         * src/roff/troff/input.cc (hpf_code_table): New array.
6236         (init_hpf_code_table, hyphenation_patterns_file_code): New
6237         functions.
6238         (hyphenation_code): Handle translation from `trin' correctly.
6239         (main, init_input_requests): Updated.
6240         (charinfo::set_translation): Handle hyphenation code also.
6242         * src/roff/troff/charinfo.h (charinfo::get_translation_input): New
6243         inline function.
6245         * src/roff/troff/env.cc (WORD_MAX): Reduced to 256 since `unsigned
6246         char' is used for offsets in hyphenation exceptions.
6248         * tmac/hyphen.us: Replace with contents of unmodified `hyphen.tex'.
6250         * NEWS, man/groff_diff.man, man/groff.man: Document it.
6252 2002-03-20  Larry Kollar  <kollar@alltel.net>
6254         * doc/groff.texinfo: Add documentation for `hpfa' and `trin'
6255         requests.
6257 2002-03-18  Werner LEMBERG  <wl@gnu.org>
6259         * tmac/html.tmac: Fix serious typo.
6261 2002-03-17  Larry Kollar  <kollar@alltel.net>
6263         * doc/groff.texinfo: Add documentation for `writec' request.
6265 2002-03-17  Werner LEMBERG  <wl@gnu.org>
6267         Added request `hpfa' to append hyphenation patterns.
6269         * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
6270         parameter `append'.
6271         (hyphenation_patterns_file): Renamed to...
6272         (do_hyphenation_patterns_file): This.
6273         (hyphenation_patterns_file, hyphenation_patterns_file_append): New
6274         functions.
6275         (init_hyphen_requests): Updated.
6276         * NEWS, man/groff.man, man/groff_diff.man: Document it.
6278 2002-03-16  Werner LEMBERG  <wl@gnu.org>
6280         Added request `writec' in analogy to `tmc'.
6282         * src/roff/troff/input.cc (write_request): Renamed to...
6283         (do_write_request): This.
6284         Added one parameter.
6285         (write_request, write_request_continue): New functions.
6286         (init_input_requests): Updated.
6287         * NEWS, man/groff.man, man/groff_diff.man: Document it.
6289         * font/devdvi/DESC.in (sizes): Allow all sizes in the range
6290         5-10000pt.
6291         * NEWS: Document it.
6293 2002-03-15  Werner LEMBERG  <wl@gnu.org>
6295         * man/groff.man: Add writem request.
6297         Add request `trin' (translate input) to make `.asciify' work
6298         correctly.  This is necessary since `charXXX' entity names are no
6299         longer hardcoded in font definition files.
6301         * src/roff/troff/charinfo.h (charinfo): Add `asciify_code' and
6302         `translate_input' members.
6303         (charinfo::set_asciify_code, charinfo::get_asciify_code,
6304         charinfo::set_translation_input): New methods.
6305         (charinfo::set_translation): Add third argument.
6306         * src/roff/troff/input.cc (charinfo:set_translation): Set
6307         `asciify_code'.
6308         (do_translate): Add second argument.
6309         (translate_input): New function.
6310         (init_input_requests): Updated.
6311         * src/roff/troff/node.cc (glyph_node::asciify,
6312         composite_node::asciify): Use `get_asciify_code'.
6314         * tmac/cp1047.tmac, tmac/latin1.tmac: Use `trin'.
6316         * NEWS, man/groff.man, man/groff_diff.man: Updated.
6318 2002-03-14  Larry Kollar  <kollar@alltel.net>
6320         * doc/groff.texinfo: Improve documentation of .RS and .RE.
6322 2002-03-14  Werner LEMBERG  <wl@gnu.org>
6324         Add a new request `sizes' similar to the `sizes' command in DESC
6325         files.
6327         * src/roff/troff/env.cc (override_sizes): New function.
6328         (init_env_requests): Use it.
6329         * src/roff/troff/token.h: Export `read_string'.
6330         * NEWS, man/groff_diff.man, man/groff.man: Document it.
6332 2002-03-12  Werner LEMBERG  <wl@gnu.org>
6334         * doc/groff.texinfo: More fixes for texinfo 4.1 and higher.
6336 2002-03-10  Werner LEMBERG  <wl@gnu.org>
6338         * tmac/pspic.tmac: Add support for -Tdvi.
6339         * tmac/dvi.tmac: Include pspic.tmac.
6340         * src/devices/grodvi/grodvi.man: Document it.
6341         * NEWS: Updated.
6343         * font/devlj4/generate/Makefile: Fix URL of metric files.
6345 2002-03-09  Werner LEMBERG  <wl@gnu.org>
6347         * PROBLEMS: The static constructor bug has been fixed in z/OS V1R3.
6349 2002-03-09  Larry Kollar  <kollar@alltel.net>
6351         * tmac/groff_ms.man: Add documentation for RS and RE macros.
6353 2002-03-08  Werner LEMBERG  <wl@gnu.org>
6355         * doc/groff.texinfo: Fixes for texinfo 4.1.
6357 2002-03-07  Werner LEMBERG  <wl@gnu.org>
6359         * src/include/lib.h: Include getopt.h if groff-getopt.h can't be
6360         included.
6361         Handle CYGWIN properly.
6363 2002-03-07  Paco Andrés Verdú  <pandres@dragonet.es>
6365         * font/devlbp/Makefile.sub (DEVFILES): Add some missing fonts.
6366         * tmac/lbp.tmac: Add some font translations.
6368 2002-03-02  Werner LEMBERG  <wl@gnu.org>
6370         * font/devcp1047/R.proto, font/devlatin1/R.proto,
6371         font/devhtml/R.proto: Remove `charXXX'  entries.
6372         * tmac/tty.tmac, tmac/html.tmac: Load latin1.tmac or cp1047.tmac
6373         where appropriate.
6375         * font/devlj4/generate/text.map: Remove `charXXX' entries.
6376         * font/devlj4/*: Regenerated all font definition files.
6377         * tmac/lj4.tmac: Load latin1.tmac.
6379         * src/utils/hpftodit/hpftodit.cc (do_file): Partially undo change
6380         from 2000-06-17: LJ4 metric files are *not* text files.
6382         * tmac/troffrc, tmac/dvi.tmac, tmac/ps.tmac: Don't use .T string
6383         register to test for EBCDIC.
6385 2002-03-01  Werner LEMBERG  <wl@gnu.org>
6387         * src/utils/afmtodit/afmtodit.pl: Skip comment lines in encoding
6388         files (as grops already does).
6389         * src/utils/afmtodit/afmtodit.man: Document comment lines in map
6390         files.
6391         * src/devices/grops/grops.man: Document comment lines in encoding
6392         files.
6394         * tmac/cp1047.tmac: New file.
6395         * tmac/dvi.tmac, tmac/tty-char.tmac: Use it.
6396         * tmac/ps.tmac: Load latin1.tmac or cp1047.tmac.
6397         * tmac/Makefile.sub (NORMALFILES): Updated.
6399         * tmac/ec.tmac: Don't load latin1.tmac again.
6401         * font/devps/generate/lgreekmap, font/devps/generate/symbolchars,
6402         font/devps/generate/dingbats.map,
6403         font/devps/generate/dingbats.rmap, font/devps/text.enc,
6404         font/devps/generate/Makefile (symbolmap): Add header comment.
6405         * font/devps/generate/textmap: Ditto.
6406         Remove `charXXX' entries.
6407         * font/devps/symbolmap: Regenerated.
6408         * font/devps/*: Regenerated all font definition files.
6410 2002-02-28  Werner LEMBERG  <wl@gnu.org>
6412         Add color support to grodvi (for drawing colors are currently
6413         translated to gray values).
6415         * src/devices/grodvi/dvi.cc (FILL_MAX): Removed.
6416         (dvi_printer): Add `cur_color' member.
6417         (dvi_printer::set_color): New function.
6418         (draw_dvi_printer): Remove `fill'.
6419         (draw_dvi_printer::fill_next): Pass environment as parameter.
6420         Update code for new color support translated to gray.
6421         (dvi_printer::set_char): Updated.
6422         (dvi_printer::begin_page, dvi_printer::end_page): Handle color
6423         changes crossing the page border.
6424         (dvi_printer::draw): Updated.
6425         Remove cases `f' and `F'.
6426         * tmac/dvi.tmac: Add color definitions.
6427         * NEWS, src/devices/grodvi/grodvi.man: Updated.
6429         * tmac/an-old.tmac (R): Make this a macro to emit a warning if
6430         used incorrectly.
6432         * aclocal.m4 (GROFF_NEED_DECLARATION): Use test similar to recent
6433         versions of autoconf.
6434         * configure: Updated.
6436         * doc/homepage.ms: Use `.blm'.
6437         * tmac/www.tmac (www-depth): New auxiliary variable.
6438         (www-pop-level): Don't issue HTML tag.
6439         (ULS, ULE, LI): Use absolute indentation.
6441         * src/devices/grops/ps.cc (ps_printer::begin_page,
6442         ps_printer::end_page): Switch forth and back to default color while
6443         starting a new page.
6445 2002-02-27  Werner LEMBERG  <wl@gnu.org>
6447         Add EC and TC fonts to devdvi.
6449         * src/utils/tfmtodit/tfmtodit.man: Document patching of exbase.mf.
6450         * font/devdvi/generate/cork.map: Renamed to...
6451         * font/devdvi/generate/ec.map: This.
6452         Remove entry for `aq'.
6453         * font/devdvi/generate/tc.map: New file.
6454         * font/devdvi/generate/Makefile (*EC, *TC): New creation rules for
6455         EC and TC fonts.
6456         (FONTS): Updated.
6457         * font/devdvi/*EC, font/devdvi/*TC: New font definition files.
6458         * font/devdvi/Makefile.sub (DEVFILES): Updated.
6459         * tmac/ec.tmac: New file.
6460         * tmac/Makefile.sub (NORMALFILES): Updated.
6461         * NEWS, src/devices/grodvi/grodvi.man: Updated.
6462         * man/groff_char.man: Check `ECFONTS' register.
6464         * font/devdvi/{TR,TI,TB,TBI,HR}: Fix `name' field.
6466 2002-02-26  Werner LEMBERG  <wl@gnu.org>
6468         * font/devdvi/generate/*.map: Remove all `charXXX' entries.
6469         * font/devdvi/generate/cork.map: Add 'y and 'Y.
6470         * font/devdvi/*: Updated.
6471         * tmac/dvi.tmac: Formatting.
6473         Add font `HBI' for the dvi output.
6474         Add support for font families `T' and `H'.
6476         * font/devdvi/HBI: New file.
6477         * font/devdvi/B: Renamed to ...
6478         * font/devdvi/TB: This.
6479         * font/devdvi/BI: Renamed to ...
6480         * font/devdvi/TBI: This.
6481         * font/devdvi/I: Renamed to ...
6482         * font/devdvi/TI: This.
6483         * font/devdvi/R: Renamed to ...
6484         * font/devdvi/TR: This.
6485         * font/devdvi/H: Renamed to ...
6486         * font/devdvi/HR: This.
6487         * font/devdvi/Makefile.sub (DEVFILES): Updated.
6488         * font/devdvi/generate/Makefile (HBI): New rule.
6489         (FONTS): Updated.
6490         (R, I, B, BI, H): Renamed to ...
6491         (TR, TI, TB, TBI, HR): This, respectively.
6492         (srcdir): Fixed.
6493         * NEWS, src/devices/grodvi/grodvi.man: Updated.
6494         * font/devdvi/DESC.in: Don't mount R, I, B, BI, and CWI.
6495         Add `styles' and `family' keywords.
6496         * tmac/dvi.tmac: Alias `H' to `HR'.
6497         Add some fspecial requests for italic fonts.
6498         Add TR and TI as special.
6499         Add support for `_' with font CWI.
6501         * src/roff/troff/number.cc (parse_expr): Add missing `break' for
6502         operator `:'.  Until now, the expression `0:1' would return 2
6503         instead of 1.
6505 2002-02-25  Werner LEMBERG  <wl@gnu.org>
6507         * man/groff_char.man: Added some missing PS glyph names (from the
6508         Adobe Glyph List).
6509         * font/devps/generate/textmap, font/devps/symbolmap: Add
6510         `arrowupdn'.
6512         * doc/groff.texinfo: Minor additions and fixes.
6513         * man/groff_diff.man: Remove documentation of fp request.  This
6514         is already covered in the original troff manual.
6515         Updated to be consistent with other doc files.
6516         * NEWS: Updated.
6518 2002-02-24  Werner LEMBERG  <wl@gnu.org>
6520         * aclocal.m4 (GROFF_EBCDIC): Don't include `font/devutf8' in
6521         TTYDEVDIRS.
6522         Define new variable OTHERDEVDIRS (containing `font/devlj4
6523         font/devlbp' if not EBCDIC).
6524         * Makefile.in (TTYDEVDIRS): Always include `font/devutf8'.
6525         (OTHERDEVDIRS): New variable.
6526         (MDEFINES, DEVDIRS, ALLDIRS, DISTDIRS): Updated.
6527         * configure: Regenerated.
6529         * NEWS, src/devices/grotty/grotty.man: Updated.
6531 2002-02-23  Werner LEMBERG  <wl@gnu.org>
6533         * src/roff/troff/input.cc (do_overstrike, do_bracket,
6534         get_line_arg): Honour input level.
6536         Add new symbol `mc' corresponding to U+00B5 MICRO SIGN.
6538         * font/*/*: Implement it in all font files.
6539         * font/devps/generate/textmap, font/devps/generate/symbolchars,
6540         * font/devps/symbolmap: Updated.
6541         * font/devlj4/generate/text.map: Updated.
6542         * font/devdvi/generate/CompileFonts (sizes): Add LaTeX sizes.
6543         * font/devdvi/generate/texmi.map: Updated.
6545         * font/devutf8/R.proto: Remove all `charXXX' entries.
6546         * font/devutf8/NOTES: Updated.
6548         * font/devX*/*: Regenerated with xtotroff, using fonts from XFree86
6549         version 4.1.0.
6551         * tmac/latin1.tmac, tmac/psold.tmac, tmac/tty-char.tmac: Updated.
6553         * NEWS, man/groff_char.man: Updated.
6555 2002-02-21  Phil Lobbes  <phil@perkpartners.com>
6557         * src/include/lib.h [HAVE_SNPRINTF]: Include stdarg.h.
6559 2002-02-20  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
6561         * src/roff/grog/grog.pl: Fix computation of $refer.
6563 2002-02-19  Werner LEMBERG  <wl@gnu.org>
6565         * src/include/lib.h [!HAVE_SNPRINTF]: Add declarations for
6566         `snprintf' and `vsnprintf'.
6568         * src/include/htmlindicate.h: Renamed to...
6569         * src/include/htmlhint.h: This.
6570         * src/include/Makefile.sub: Updated.
6571         * src/preproc/eqn/main.cc: Updated.
6573 2002-02-18  Werner LEMBERG  <wl@gnu.org>
6575         * man/roff.man, man/groff_out.man, man/groff.man,
6576         man/groff_diff.man, man/ditroff.man, src/roff/groff/groff.man,
6577         src/roff/troff/troff.man: Updated to latest changes in www.tmac.
6579         * win32-diffs: Updated.
6581 2002-02-17  Werner LEMBERG  <wl@gnu.org>
6583         * doc/Makefile (clean): Add *.eps.
6584         (MEMACROS): Removed.
6585         (TFLAG): New variable.
6586         (TROFF): Use it.
6587         Add -ww.
6588         (GROFF): Use TFLAG, FFLAG, -U, -p, -e, -t, and -ww.
6589         (.me.dit): Fixed.
6590         (.ms.html, .ms.ascii, .ms.ps, homepage.html): Simplify.
6592         * tmac/www.tmac: Use dummy diversion while resetting and disabling
6593         `.tl'.
6594         * tmac/e.tmac: Inserted some more `\"' to remove warnings if used
6595         unstripped.
6596         * src/roff/troff/troff.man: Fix order of parameter description.
6598         * NEWS: Updated.
6600 2002-02-16  Gaius Mulley  <gaius@glam.ac.uk>
6602         Simplify image handling for grohtml.
6603         Fix <p> bug.
6605         * src/devices/grohtml/html-text.cc (DEBUGGING): Don't undefine but
6606         comment out.
6607         (html_text::dump_stack): Don't emit newline while debugging.
6608         (html_text::do_push) [DEBUGGING]: Print more info.
6609         (html_text::check_emit_text): Fix handling of <p>.
6610         * src/devices/grohtml/html.h: Updated.
6611         * src/devices/grohtml/output.cc (FPUTC, FPUTS, PUTC): New macros,
6612         replacing `fputc', `fputs', `putc'.  If DEBUGGING is defined, they
6613         send its data to stderr also.
6614         Update all callers.
6615         (simple_output::space_or_newline) [DEBUGGING]: Removed.
6616         * src/devices/grohtml/post-html.cc (html_printer::do_links,
6617         html_printer::html_printer): Remove `DEBUGGING' conditionals.
6619         * src/include/html-strings.h (HTML_IMAGE_{CENTERED,LEFT,RIGHT,END}):
6620         Removed.
6621         * src/libs/libgroff/htmlhint.cc (is_in_graphic_start,
6622         is_inline_image): Removed.
6623         (html_begin_suppress, html_end_suppress): Don't take a parameter.
6624         (graphic_start, graphic_end): Removed.
6625         * src/include/htmlindicate.h: Updated.
6626         * src/preproc/html/pre-html.cc (DEBUG_HTML): Removed.
6627         (macroset_template): New global variable.
6628         (makeFileName): Use `macroset_template'.
6629         (write_end_image): Don't take a parameter.
6630         Don't emit newline.
6631         (write_start_image: Don't emit newline.
6632         (char_buffer::write_upto_newline): Updated.
6633         (char_buffer::skip_to_newline): Renamed to ...
6634         (char_buffer::skip_until_newline): This.
6635         Fix code.
6636         (char_buffer::write_file_troff, char_buffer::write_file_html):
6637         Simplified.
6638         (createAllPages, createImage) [DEBUGGING]: Handle `debug' flag.
6639         (removeAllPages): Remove `DEBUGGING' conditionals.
6640         (addRegDef, dump_args): New functions.
6641         (char_buffer::do_html, char_buffer::do_image): Handle
6642         `www-image-template' command line variable.
6643         Add more debugging code.
6644         (addps4html): Removed.
6645         (removeTempFiles) [DEBUGGING]: Handle `debug' flag.
6647         * src/preproc/eqn/main.cc: Include `ctype.h'.
6648         (suppress_html): Removed.
6649         (do_file): Updated.
6650         (inline_equation): Use `html_begin_suppress' and
6651         `html_end_suppress'.
6652         * src/preproc/pic/troff.cc: Don't include `htmlindicate.h'.
6653         (troff_output::start_picture, troff_output::finish_picture):
6654         Updated.
6655         * src/preproc/tbl/main.cc: Don't include `htmlindicate.h'.
6656         (process_input_file): Updated.
6658         * src/roff/troff/div.cc (page_number): Set page number only if the
6659         `ps4html' register isn't defined.
6660         * src/roff/troff/input.cc (image_no): New external variable.
6661         (do_suppress): Use it.
6662         * src/roff/troff/node.h (suppress_node::image_id): New member.
6663         * src/roff/troff/node.cc (image_no): Remove `static' keyword.
6664         (suppress_node::suppress_node): Initialize `image_id' member.
6665         (suppress_node::same): Handle `image_id' also.
6666         (suppress_node::copy): Updated.
6667         (last_image_id): New global variable.
6668         (suppress_node::tprint): Use it.
6670         * tmac/an-old.tmac (TS, TE, EQ, EN): Use HTML-IMAGE and
6671         HTML-IMAGE-END.
6672         * tmac/pspic.mac (PSPIC): Fix html support.
6673         * tmac/s.tmac (@EQ, @EN, @TS, TE, PS, PE): Ditto.
6674         * tmac/www.tmac (www-image-template): Set up.
6675         (HTMLINDEX): Renamed to...
6676         (HX): This.
6677         (BODYCOLOR): Renamed to...
6678         (BCL): This.
6679         (BACKGROUND): Renamed to...
6680         (BGIMG): This.
6681         (URL): Change order of parameters for consistency.
6682         (MAILTO): Renamed to...
6683         (MTO): This.
6684         (IMAGE, PNG-IMAGE, MARGIN-PNG-IMAGE): Renamed to...
6685         (IMG, PIMG, MPIMG): This.
6686         (HTML-H-BEGIN, HTML-H-END): Renamed to...
6687         (HnS, HnE): This.
6688         (LINKS): Renamed to...
6689         (LK): This.
6690         (LINE): Renamed to...
6691         (HR): This.
6692         (NO-AUTO-RULE): Renamed to...
6693         (NHR): This.
6694         (HTML-TL): Renamed to...
6695         (HTL): This.
6696         (UL-BEGIN, UL-END): Renamed to...
6697         (ULS, ULE): This.
6698         (DROPCAP): Renamed to...
6699         (DC): This.
6700         (TS, TE, EQ, EN): Provide default definitions.
6701         (www-make-unique-name): Updated.
6702         (HTML-IMAGE-INLINE): Fix typo.
6703         * tmac/groff_www.man: Updated.
6705         * doc/Makefile (homepage.html): Add option -r to grohtml.
6706         Use shortened image name.
6707         * doc/groff.texinfo: Updated info on grohtml strings and macros.
6708         * doc/homepage.ms: Updated and extended.
6710 2002-02-14  Werner LEMBERG  <wl@gnu.org>
6712         Don't use `CSI 39 m' and `CSI 49 m' but `CSI 0 m'.
6714         * src/devices/grotty/tty.cc (SGR_DEFAULT_COLOR,
6715         SGR_BACK_DEFAULT_COLOR): Replaced with ...
6716         (tty_printer::put_color): Use it.
6717         (ttr_printer::end_page): Simplify.
6719 2002-02-13  Werner LEMBERG  <wl@gnu.org>
6721         * tmac/groff_tmac.man: Moved to...
6722         * man/groff_tmac.man: This place.
6723         * tmac/Makefile.sub, man/Makefile.sub: Updated.
6725 2002-02-12  Werner LEMBERG  <wl@gnu.org>
6727         * src/libs/libgroff/Makefile.sub (snprintf.o): Don't use
6728         $(COMPILE.c) to not include groff's assert.h.
6730         * src/drivers/grotty/tty.cc (main): Add GROFF_NO_SGR environment
6731         variable.
6732         * NEWS, src/drivers/grotty/grotty.man: Document it.
6734 2002-02-11  Werner LEMBERG  <wl@gnu.org>
6736         * src/libs/snprintf/snprintf.c: Updated to latest version
6737         (2002-02-11).
6739         * src/roff/grog/grog.pl (process): Fix handling of `.['.  We now
6740         test whether there is `.]' also.
6741         Don't check for spaces after `.['.
6742         * src/roff/grog/grog.sh: Do the same.
6744 2002-02-10  Werner LEMBERG  <wl@gnu.org>
6746         Illegal -> Invalid.
6748         * src/libs/libgroff/illegal.cc: Renamed to ...
6749         * src/libs/libgroff/invalid.cc: This.
6750         (illegal_char_table): Renamed to ...
6751         (invalid_char_table): This.
6752         * src/libs/libgroff/Makefile.sub: Updated.
6753         * win32-diffs: Updated.
6755         * doc/groff.texinfo, src/devices/grops/psrm.cc (ps_get_line),
6756         src/libs/libdriver/input.cc (fatal_command, parse_color_command,
6757         parse_x_command), src/libs/libgroff/font.cc (text_file::next,
6758         font::load), src/preproc/eqn/main.cc (read_line, main),
6759         src/preproc/eqn/lex.cc (file_input::read_line),
6760         src/preproc/pic/lex.cc (file_input::read_line,
6761         simple_file_input::get, simple_file_input::peek),
6762         src/preproc/pic/main.cc (top_input::get, top_input::peek),
6763         src/preproc/pic/pic.man, src/preproc/refer/main.cc
6764         (input_stack::push_file), src/preproc/refer/refer.cc (do_file,
6765         do_bib), src/preproc/tbl/main.cc (table_input::get),
6766         src/preproc/grn/grn.man, src/preproc/grn/main.cc (interpret),
6767         src/roff/troff/input.cc (file_iterator::fill, file_iterator::peek,
6768         do_zero_width, read_request, encode_char, ps_get_line,
6769         transparent_file, get_char_for_escape_name, transparent_translate,
6770         asciify, input_char_description, read_string, set_string),
6771         src/roff/troff/env.cc (environment::add_html_tag),
6772         src/roff/troff/troff.man, tmac/e.tmac (`@(', `(f'): Do it.
6774         * src/include/lib.h: Updated.
6776         * src/preproc/eqn/eqn.cc: Removed.
6778         * NEWS: Updated.
6780         * src/preproc/grn/hdb.cc (DBRead): Fix fscanf() fields.
6782 2002-02-09  Werner LEMBERG  <wl@gnu.org>
6784         * doc/gnu.xpm: New image.
6785         * doc/Makefile (DOCS): Add homepage.ps.
6786         Add rules for converting xpm->png and xpm->eps.
6787         Use `gnu.{xpm,eps}' as image names.
6788         * doc/homepage.ms: Updated.
6790 2002-02-09  Gaius Mulley  <gaius@glam.ac.uk>
6792         * tmac/www.tmac (www-error): New macro, replacing calls to `@error'.
6793         (IMAGE): Change image position parameters to `-L', `-R', and `-C'.
6794         Remove calls to `B1' and `B2'
6795         (PNG-IMAGE): New macro for inclusion of images in PNG format.
6796         (www-left-ll-trap, www-left-po-trap, www-right-ll-trap): New
6797         auxiliary variables for MARGIN-PNG-IMAGE.
6798         (www-finish-left-po, www-finish-right-ll, www-finish-left-ll): New
6799         auxiliary macros for MARGIN-PNG-IMAGE.
6800         (MARGIN-PNG-IMAGE): New macro to put an image in PNG format into
6801         the margin.
6802         (www-heading-no): New auxiliary variable for HTML-H-{BEGIN,END}.
6803         (HTML-H-BEGIN, HTML-H-END): New macros to begin and end a heading.
6804         (DROPCAP): New macro to produce dropcap characters.
6805         (www-do-image): Renamed back to...
6806         (HTML-DO-IMAGE): This.
6807         Updated all callers.
6809         * doc/Makefile (gnubw.eps): Updated.
6810         * doc/homepage.ms: Updated.
6812 2002-02-08  Werner LEMBERG  <wl@gnu.org>
6814         * doc/pic.ms: Fixed typos (\(*tx -> \*(tx).
6815         Added `linethick' to table in section `Style Variables'.
6817 2002-02-08  Gaius Mulley  <gaius@glam.ac.uk>
6819         * src/libs/libdriver/input.cc (get_extended_arg): Fix conditional.
6821 2002-02-07  Werner LEMBERG  <wl@gnu.org>
6823         Adding options -C (compatibility mode) and -c (grotty's old output
6824         scheme) to nroff.
6826         * src/roff/nroff/nroff.sh: Implement it.
6827         Remove `-Wall'.
6828         * NEWS, src/roff/nroff/nroff.man: Updated.
6830         * PROBLEMS: Document bison 1.32 bug.
6832         Some fixes to make groff compile on z/OS 1.2 UNIX (was OS/390).
6834         * src/roff/troff/node.cc (make_tfont): Define it earlier.
6835         * src/roff/troff/div.h: Add prototype for `end_diversions'.
6836         * src/roff/troff/input.cc: Add prototype for `process_input_stack'.
6837         * src/roff/troff/env.h: Add prototype for `title'.
6839         Adding EBCDIC support to grotty.
6841         * src/devices/grotty/tty.cc (CSI): New macro.
6842         (SGR_*, tty_printer::put_color): Use it.
6844 2002-02-06  Werner LEMBERG  <wl@gnu.org>
6846         Implementing color support in grotty.  The new switch -c activates
6847         the old drawing scheme, disabling color at the same time.  The new
6848         switch `-i' selects italic instead of underlining (SGR only).
6850         * src/devices/grotty/tty.cc (putstring): New define instead of
6851         `fputs'.  Updated all callers.
6852         (old_drawing_scheme): New global variable.
6853         (COLOR_CHANGE): New enum value.
6854         (SGR_*): New defines containing color handling escape sequences.
6855         (TTY_MAX_COLORS, DEFAULT_COLOR_IDX): New defines.
6856         (glyph): New members `back_color_idx' and `fore_color_idx'.
6857         (glyph::order): Add COLOR_CHANGE.
6858         (tty_printer): New members `cur_fore_idx', `curr_back_idx',
6859         `is_underline', `is_bold', `cu_flag', `tty_colors'.
6860         New methods `make_underline', `make_bold', `color_to_idx',
6861         `change_color', `put_color'.
6862         (cu_flag): Moved into `tty_printer' class.
6863         (tty_printer::tty_printer): Initialize colors.
6864         (tty_printer::add_char, tty_printer::set_char, tty_printer::special,
6865         tty_printer::draw, tty_printer::end_page): Handle colors also.
6866         (main): Add options `-c' and `-i'.
6867         (usage): Updated.
6868         * NEWS, src/devices/grotty/grotty.man: Updated.
6870         * src/include/errarg.h (errarg): Add support for `unsigned int'.
6871         * src/libs/libgroff/errarg.c: Implement it.
6873         * src/include/printer.h (printer): Add `change_color' method
6874         (currently used by grotty only).
6875         * src/libs/libdriver/printer.cc: Implement it.
6876         * src/libs/libdriver/input.cc (parse_D_command, do_file): Add
6877         call to `pr->change_color'.
6879         * src/roff/troff/node.cc (troff_output_file::fill_color,
6880         troff_output_file::glyph_color): Call `do_motion'.
6882         * tmac/tty.tmac: Add color definitions.
6884         * src/roff/groff/groff.man: Minor fixes.
6886 2002-02-05  Bernd Warken  <bwarken@mayn.de>
6888         * src/libs/libdriver/input.cc: Introduce `EnvInt' typedef and use
6889         it.  This is a preparation for future changes.
6891 2002-02-05  Werner LEMBERG  <wl@gnu.org>
6893         * src/roff/troff/input.cc (process_input_stack): Fix the case
6894         where leading spaces are followed by \f or \s; previously, an
6895         incorrect space width has been used.
6897         * doc/roff.man (quoted_char): Fix argument.
6898         (comment): Define string.
6900 2002-02-04  Larry Kollar  <kollar@alltel.net>
6902         * doc/groff.texinfo: More fixes.
6904 2002-02-04  Werner LEMBERG  <wl@gnu.org>
6906         * src/preproc/eqn/box.cc (output_string): Don't use \\*[...].
6907         * src/preproc/eqn/main.cc (do_file, inline_equation): Call
6908         `restore_compatibility' before `output_string' -- the LINE_STRING
6909         register now already contains proper switches from and to
6910         compatibility mode.
6912         * man/groff_char.man: Add Euro symbol.
6913         * man/groff_diff.man: Improve documentation of `.am1' and `.as1'.
6914         * tmac/tty.tmac: Add `EUR' as replacement for `eu' and `Eu'.
6915         * doc/groff.texinfo (Defstr*): Print strings with full syntax.
6916         Other minor fixes.
6918         * doc/Makefile (.SUFFIXES, .texinfo.pdf, clean): Add support for
6919         texinfo->pdf.
6920         (.texinfo.html): Add support for texinfo->html.
6922 2002-02-03  Werner LEMBERG  <wl@gnu.org>
6924         Added three new requests `ds1', `as1', and `ami'.  The former two
6925         are equivalent to `ds' and `as' with the difference that
6926         compatibility mode is saved on entry, switched off during string
6927         expansion, and restored on exit.  The latter is the pendant to `dei'
6928         for `am'.
6930         (do_define_string): Use `define_mode' and `calling mode'.
6931         Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and
6932         end of string, respectively.
6933         (define_string, append_string): Use `calling_mode'.
6934         (define_nocomp_string, append_nocomp_string,
6935         define_string_indirect): New functions.
6936         (init_input_requests): Updated.
6937         * NEWS, man/groff_diff.man, man/groff.man: Document it.
6939         * src/preproc/eqn/box.cc (box::top_level, box::extra_space): Use
6940         `as1' for assigning LINE_STRING (this is `10' usually).  Sun's
6941         mm macro package accesses this string register directly.
6942         * src/preproc/eqn/main.cc (inline_equation): Use `as1'.
6944         * tmac/trace.tmac: Trace calls to `am' also.  Make it work in
6945         compatibility mode.
6947 2002-02-02  Larry Kollar  <kollar@alltel.net>
6949         * doc/groff.texinfo, tmac/groff_ms.man: More fixes.
6951 2002-01-31  Werner LEMBERG  <wl@gnu.org>
6953         * tmac/an-old.tmac (I): Use \, and \/ to improve spacing.
6955 2002-01-31  Bernd Warken  <bwarken@mayn.de>
6957         * src/devices/grolbp/lbp.cc (main): Delete `pr'.
6958         * man/groff_out.man: Revised and updated.
6960 2002-01-30  Bernd Warken  <bwarken@mayn.de>
6962         * src/libs/libdriver/input.cc [USE_ENV_STACK]: New macro to comment
6963         out the unused `{' and `}' commands.  Undefined by default.
6964         (IntArray): Make `data' private.
6965         (IntArray::operator[], IntArray::get_data, IntArray::len): Use these
6966         new methods instead.
6967         (skip_line_D, skip_to_end_of_line): New functions.
6968         (get_D_fixed_args): Use `skip_line_D'.
6969         Changed to handle dummy odd arguments by ...
6970         (get_D_fixed_args_odd_dummy): This new function.
6971         (get_D_variable_args): Split some code into ...
6972         (get_possibly_integer_args): This new function.
6973         (send_draw): Use more `const'.
6974         (delete_current_env): New function.
6975         (position_to_end_of_args): Use `size_t'.
6976         Updated.
6977         (send_draw): Updated.
6978         (parse_D_command): Handle `c', `C', and `t' better.
6979         Updated.
6980         (do_file): Updated.
6982 2002-01-29  Werner LEMBERG  <wl@gnu.org>
6984         * NEWS: Revised.
6985         * doc/groff.texinfo: Introduce @Def...List, @Def...Item, and
6986         @Def...ListEnd which replaces @Def...x.  This is necessary to get
6987         proper HTML output -- see the comment in the file for more
6988         information.
6989         Updated all calls.
6991 2002-01-29  Gaius Mulley  <gaius@glam.ac.uk>
6993         Fixes to make color changes of 2002-01-21 work with grohtml.
6995         * src/devices/grohtml/post-html.cc (style): Updated.
6996         (html_printer): Remove unused methods.
6997         (html_printer::do_font, html_printer::draw, html_printer::set_char,
6998         html_printer::special): Updated.
6999         * src/devices/grohtml/html-text.cc (debugStack, turnDebug,
7000         html_text::dump_stack_element, html_text::dump_stack) [DEBUGGING]:
7001         Added some debugging code.
7002         (html_text::start_tag): Updated.
7003         (html_text::do_push): New method.
7004         (html_text::push_para): Call it.
7005         Add method for handling color.
7006         (html_text::do_color): Updated.
7007         (html_text::shutdown): Handle color.
7008         * src/devices/grohtml/html-text.h (tag_definition): New member
7009         `col'.
7010         Updated.
7012 2002-01-28  Werner LEMBERG  <wl@gnu.org>
7014         * tmac/ps.tmac, tmac/html.tmac: Fix compatibility mode issues.
7016 2002-01-27  Gaius Mulley  <gaius@glam.ac.uk>
7018         Add two switches -a and -g to control the antialiasing bits for
7019         text and graphics, respectively.
7021         * src/devices/grohtml/post-html.cc (main): Dummy code for `-a' and
7022         `-g'.
7023         * src/devices/grohtml/grohtml.man: Document them.
7024         * src/preproc/html/pre-html.cc (MIN_ALPHA_BITS, MAX_ALPHA_BITS):
7025         New macros.
7026         (textAlphaBits, graphicAlphaBits, antiAlias): New global variables.
7027         (setupAntiAlias): New function.
7028         (createAllPages): Updated.
7029         (scanArguments): Handle `-a' and `-g'.
7030         (main): Call `setupAntiAlias'.
7031         * NEWS: Updated.
7033 2002-01-27  Werner LEMBERG  <wl@gnu.org>
7035         * doc/groff.texinfo (Def*): Call index function after deffn.
7037         * tmac/html.tmac: Call `nroff' request.
7039 2002-01-26  Larry Kollar  <kollar@alltel.net>
7041         * tmac/groff_ms.man: Add some omissions.
7043 2002-01-25  Larry Kollar  <kollar@alltel.net>
7045         * tmac/groff_ms.man: Typographical improvements.
7047 2002-01-25  Werner LEMBERG  <wl@gnu.org>
7049         * doc/groff.texinfo: Updated version and copyright.
7050         * src/devices/grops/grops.man: Updated.
7052         * tmac/groff_tmac.man: Fix `ig' macro.
7054         * tmac/an-old.tmac (ne): Redefine `ne' request to be a no-op in
7055         nroff mode.
7056         Use `.ne' unconditionally everywhere.
7057         (TS): Only insert some vertical space.  Doing a page break is no
7058         longer necessary due to the redefinition of the `ne' request.
7060         * src/libs/libdriver/input.cc (parse_D_command): Don't emit a
7061         warning for unknown subcommands but parse and pass them to the
7062         device driver.
7064 2002-01-24  Werner LEMBERG  <wl@gnu.org>
7066         * tmac/groff_www.man, NEWS: Fix typos.
7068 2002-01-21  Werner LEMBERG  <wl@gnu.org>
7070         Complete revision of color support:
7072           Adapt programs to the new libdriver/input.cc.
7074           Color spaces are no longer converted to RGB but transferred as-is
7075           in the troff intermediate output format.
7077           Handle default color gracefully.  troff now supports a `default'
7078           color (which can't be changed).
7080           grops will now use the proper color space functions if available.
7082           Update pic.
7084         Note that currently grohtml doesn't handle colors properly.  This
7085         has to be fixed.
7087         * src/libs/libgroff/itoa.c (UINT_DIGITS): New macro.
7088         (ui_to_a): New function.
7089         * src/include/lib.h: Updated.
7091         * src/include/color.h (color_scheme): Replace `NONE' with `DEFAULT'.
7092         (color): Simplified; removed all `double' members and methods.
7093         A new array `components' now holds the color parameters.
7094         (color::is_default, color::get_components): New methods.
7095         (color::operator==, color:operator!=): New.
7096         (Red, Green, Blue, Cyan, Magenta, Yellow, Black, Gray): New macros
7097         to make access to the `components' array more comprehensible.
7098         * src/libs/libgroff/color.cc: Implement new color support.
7099         (atoh): Small fixes.
7100         (color::read_encoding): Simplified for new troff intermediate color
7101         output format.
7102         (default_color): New global variable.
7104         * src/roff/troff/input.cc (default_symbol): New global variable.
7105         (lookup_color): Use it.
7106         (default_black): Removed.
7107         (do_glyph_color, do_fill_color): Simplified.
7108         (define_color): Handle default color.
7109         Improve warnings.
7110         (do_if_request): Handle default color.
7111         * src/roff/troff/env.cc (environment::environment): Initialize
7112         colors with `default_color'.
7113         * src/roff/troff/node.cc (troff_output_file::put): Add method
7114         for `unsigned int'.
7115         (troff_output_file::hex): Removed.
7116         (troff_output_file::fill_color, troff_output_file::glyph_color):
7117         Updated to include/color.h and libdriver/input.cc.
7119         * src/preproc/pic/object.cc (draw_arrow): New parameter to set
7120         fill color properly (identically to the outline color).  \D'f...'
7121         doesn't work any more.
7122         All function calls to it updated.
7124         * src/devices/grohtml/post-html.cc (html_printer::do_body, main):
7125         Updated.
7126         * src/devices/grohtml/html-text.cc (html_text::issue_color_begin):
7127         Updated.
7129         * src/devices/grops/ps.cc (ps_output::put_color): New method.
7130         (ps_printer::sbuf_color): Make a real member instead of pointer.
7131         (ps_printer::fill_color, ps_printer::output_color): Removed.
7132         (ps_printer::ps_printer): Updated.
7133         (ps_printer::set_char): Ditto.
7134         (ps_printer::set_color): Use various color schemes.
7135         Use `put_color' method.
7136         (ps_printer::flush_sbuf): Don't set color.
7137         (ps_printer::fill_path): Take `environment' as parameter.
7138         Simplify color handling.
7139         (ps_printer::set_line_thickness): Renamed to ...
7140         (ps_printer::set_line_thickness_and_color): This (and updated).
7141         (ps_printer::set_color): Change second parameter from `complete'
7142         to `fill' which better describes what it does.
7143         (ps_printer::draw): Call `flush_sbuf' to output graphic commands
7144         and text in the right order.
7145         Updated.
7146         Remove branches for `f' and `F'; this is handled by
7147         libdriver/input.cc.
7148         * src/devices/grops/ps.h: Updated.
7149         * font/devps/prologue (FL): Redefined.
7150         ({F,C}r,k,g: New color functions (with and without filling).
7152         * doc/pic.ms, src/preproc/pic/pic.man: Small fixes.
7153         * man/groff_diff.man, man/groff.man, man/groff_out.man,
7154         doc/groff.texinfo, NEWS: Updated.
7156 2002-01-20  Bernd Warken  <bwarken@mayn.de>
7158         * src/libs/libdriver/input.cc: Completely rewritten.  See comments
7159         in this file for what has been changed.
7161 2002-01-19  Werner LEMBERG  <wl@gnu.org>
7163         * test-groff: Fix GROFF_FONT_PATH.
7164         * tmac/andoc.tmac: Add dummy macros for equation support -- eqnrc
7165         is read before .TH or .Dd is parsed.
7167 2002-01-18  Gaius Mulley  <gaius@glam.ac.uk>
7169         * src/libs/libgroff/geometry.cc (check_output_arc_limits): Fix
7170         quadrant boundaries.
7172 2002-01-18  Werner LEMBERG  <wl@gnu.org>
7174         * devices/grops/ps.cc: Aargh!  Fix the fix of the incorrectly
7175         applied last patch.
7177 2002-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
7179         * tmac/doc.common: Initialize %I register for the %I macro to
7180         avoid (harmless) warning.
7181         * tmac/doc.tmac (Bd): There is no reason to enforce -compact
7182         when in the SYNOPSIS section.
7184 2002-01-17  Bruno Haible  <haible@clisp.cons.org>
7186         * src/preproc/pic/lex.cc (get_token): Fix typo.
7188 2002-01-17  Werner LEMBERG  <wl@gnu.org>
7190         * devices/grops/ps.cc: Fix incorrectly applied last patch.
7192 2002-01-17  Larry Kollar  <kollar@alltel.net>
7194         * tmac/groff_ms.man: Completely rewritten.
7196 2002-01-16  Werner LEMBERG  <wl@gnu.org>
7198         * tmac/an-old.tmac (TS): Force break, inserting some vertical space.
7200 2002-01-15  Gaius Mulley  <gaius@glam.ac.uk>
7202         * devices/grops/ps.cc (ps_printer::fill_path): Fix handling of
7203         fill colors.
7204         (ps_printer::draw): Ditto.
7206 2002-01-14  Ruslan Ermilov  <ru@FreeBSD.org>
7208         * tmac/groff_mdoc.man: Minor fixes.
7210 2002-01-13  Werner LEMBERG  <wl@gnu.org>
7212         * man/groff_out.man: Some fixes.
7214 2002-01-13  Gaius Mulley  <gaius@glam.ac.uk>
7216         * doc/pic.ms: Fix typos.
7218 2002-01-12  Werner LEMBERG  <wl@gnu.org>
7220         * doc/groff.texinfo, doc/groff.man: More on a printable backslash.
7222 2002-01-10  Werner LEMBERG  <wl@gnu.org>
7224         * font/devutf8/R.proto, font/devhtml/R.prot: Add `Eu' and `eu'
7225         symbols.
7226         * NEWS: Updated.
7228 2002-01-09  Bernd Warken  <bwarken@mayn.de>
7230         * man/groff_out.man: Revised.
7231         * man/roff.man: Minor fixes.
7232         * src/roff/troff/troff.man: Some reordering.
7234 2002-01-09  Werner LEMBERG  <wl@gnu.org>
7236         * tmac/an-old.tmac: Add dummy macros for equation support.
7238 2002-01-07  Werner LEMBERG  <wl@gnu.org>
7240         doc/groff.texinfo: Fix documentation of glyph searching algorithm.
7242         * tmac/an-old.tmac: Revert change 2001-12-23.  This breaks too many
7243         man pages.
7244         * tmac/groff_man.man: Small improvements.
7246 2002-01-07  Bernd Warken  <bwarken@mayn.de>
7248         * man/groff_diff.man: Revised.
7250 2002-01-06  Werner LEMBERG  <wl@gnu.org>
7252         * tmac/www.tmac: Remove extraneous backslash.
7254 2002-01-06  Bernd Warken  <bwarken@mayn.de>
7256         * man/ditroff.man, src/roff/groff/groff.man, man/groff.man: Revised.
7258 2002-01-05  Werner LEMBERG  <wl@gnu.org>
7260         Integrated groffer, contributed by Bernd Warken.
7262         * contrib/groffer/*: New.       
7263         * Makefile.in, NEWS: Updated.
7265 2002-01-04  Werner LEMBERG  <wl@gnu.org>
7267         * doc/groff.texinfo: Added macros `@Defmpreg' and `@Defmpregx' for
7268         registers defined in macro packages.
7269         Revising the ms part.
7271 2002-01-04  Larry Kollar  <kollar@alltel.net>
7273         * doc/groff.texinfo: Add documentation for ms macros.
7275 2002-01-02  Werner LEMBERG  <wl@gnu.org>
7277         First step in adding PS support for the Euro symbol.  `eu' is the
7278         official Euro logo, `Eu' is a font-specific glyph variant.
7280         * font/devps/text.enc: Add `Euro' at position 9.
7281         * font/devps/generate/textmap: Add `Euro' as symbol `Eu'.
7282         * font/devps/symbolmap: Regenerated.
7284         * NEWS: Updated.
7286 2002-01-02  Bernd Warken  <bwarken@mayn.de>
7288         * man/roff.man: Revised.
7290 2002-01-01  Bernd Warken  <bwarken@mayn.de>
7292         * src/roff/groff/groff.man: Completely rewritten.
7294 2001-12-31  Werner LEMBERG  <wl@gnu.org>
7296         * doc/Makefile: Updated.
7298 2001-12-30  Werner LEMBERG  <wl@gnu.org>
7300         * tmac/www.tmac: Make all names of internal macros/registers/strings
7301         lowercase, and prepend `www-'.
7302         Other minor changes.
7303         * src/roff/troff/troff.man: Add preprocessor string at BOF.
7305 2001-12-30  Gaius Mulley  <gaius@glam.ac.uk>
7307         Implement option `-b' in grohtml to set the HTML background colour.
7309         * src/devices/grohtml/post-html.cc (default_background): New global
7310         variable.
7311         (html_printer::html_printer): Initialize `background' to
7312         `default_background'.
7313         (main): Implement option `-b'.
7314         (usage): Updated.
7315         * src/preproc/html/pre-html.cc (scanArguments): Add dummy handling
7316         of `-b' option.
7317         * src/devices/grohtml/grohtml.man: Updated.
7318         * doc/Makefile (.ms.html): Use `-b'.
7319         * tmac/html.tmac: Don't set background color.
7321         Add new grohtml tag `.html-tl'.
7323         * src/devices/grohtml/post-html.cc (title_desc): Add `with_h1'
7324         member variable.
7325         (title_desc::title_desc): Updated.
7326         (html_printer::troff_tag): Handle `.html-tl'.
7327         (html_printer::write_title): Use `with_h1'.
7328         * tmac/www.tmac (www-end-nowhere): New auxiliary macro.
7329         (HTML-TL): New macro.
7331         Add support for unordered lists in HTML.
7333         * tmac/www.tmac (www-level): New auxiliary register.
7334         (www-level1, www-level2, www-level3): New auxiliary strings.
7335         (www-push-level, www-pop-level): New auxiliary macros
7336         (UL-BEGIN, UL-END, LI): User macros for unordered lists.
7338         Miscellaneous.
7340         * src/preproc/html/pre-html.cc (DEFAULT_IMAGE_RES): Increase to 100.
7341         (DEFAULT_VERTICAL_OFFSET): Removed.
7342         (IMAGE_BOARDER_PIXELS): Set to 0.
7343         (A4_LENGTH, A4_OFFSET, LETTER_LENGTH, LETTER_OFFSET): New macros.
7344         (vertical_offset): Initialize with 0.
7345         (gsPaper): New global variable.
7346         (get_resolution): Scan for and return unsigned int.
7347         (get_papersize): New function to get paper length from devps/DESC.
7348         (determine_vertical_offset): New function.
7349         (createAllPages): Produce gray-level images and use proper page
7350         length.
7351         (createImage): Use `-quiet' option of pnmcrop.
7352         (addZ): Fix passing of `-Z'.
7353         (scanArguments): Fix handling of `-o'.
7354         (main): Call `determine_vertical_offset'.
7355         * src/devices/grohtml/post-html.cc (html_printer::draw): Comment out
7356         code for `l'.
7358         * src/libs/libgroff/tmpfile.cc (add_tmp_file): Fix buffer length.
7359         * src/roff/troff/node.cc (troff_output_file::check_charinfo): Handle
7360         glyph descenders properly.
7362         * doc/homepage.ms: Include `gnubw.eps'.
7363         * doc/Makefile (gnubw.eps): New rule.
7364         (homepage.html): Depend on `gnubw.eps'.
7366 2001-12-25  Werner LEMBERG  <wl@gnu.org>
7368         * src/roff/troff/input.cc (default_black): Fix return value.
7370 2001-12-24  Ruslan Ermilov  <ru@FreeBSD.org>
7372         * tmac/doc-common (Dt): Change output of architecture strings.
7373         Do some syntax cleanup.
7374         * tmac/groff_mdoc.man: Updated.
7376 2001-12-23  Werner LEMBERG  <wl@gnu.org>
7378         Adding an `itc' request (input line trap accepting \c).
7380         * src/roff/troff/env.h (environment): New member
7381         `continued_input_trap'.
7382         Make `do_input_trap' a friend function instead of `input_trap'.
7383         * src/roff/troff/env.cc (environment::environment,
7384         environment::copy): Updated.
7385         (environment::newline): Implement it.
7386         (do_input_trap): New function.
7387         (input_trap): Call `do_input_trap'.
7388         (input_trap_continued): New function.
7389         (init_env_requests): Updated.
7390         * src/roff/troff/TODO: Updated.
7392         * tmac/an-old.tmac (SH, SS, B, I, SM, SB, TP): Use `.itc' instead of
7393         `.it'.
7395         * src/preproc/grn/hdb.cc (DBRead): Really chop after 127 characters.
7397 2001-12-22  Ruslan Ermilov  <ru@FreeBSD.org>
7399         * tmac/doc-common, tmac/doc-syms: Small updates.
7401 2001-12-22  Colin Watson  <cjwatson@debian.org>
7403         * tmac/an-old.tmac (an-p-footer): Set title length in environment 1.
7405 2001-12-22  Bernd Warken  <bwarken@mayn.de>
7407         * MANIFEST: New file.
7409 2001-12-22  Werner LEMBERG  <wl@gnu.org>
7411         * src/preproc/grn/grn.man: Updated.
7413 2001-12-22  Solar Designer  <solar@openwall.com>
7415         * src/preproc/grn/hdb.cc (MAXSTRING_S): New macro.
7416         (DBRead): Use it.
7418 2001-12-19  Werner LEMBERG  <wl@gnu.org>
7420         Implement a fallback character request `.fchar'.
7422         * src/roff/troff/charinfo.h (charinfo): New flag `fallback'.
7423         (is_fallback): New inline function.
7424         * src/roff/troff/input.cc (do_define_character): New function.
7425         (define_character): Call `do_define_character'.
7426         (define_fallback_character): New function.
7427         (init_input_requests): Add `fchar'.
7428         (charinfo::charinfo): Updated.
7429         (charinfo::set_macro): New argument to set `fallback' flag.
7430         * src/roff/troff/node.cc (make_glyph_node, make_node,
7431         node::add_char): Check `fallback' flag.
7432         * NEWS, man/groff_diff.man, man/groff_man: Updated.
7434 2001-12-16  Werner LEMBERG  <wl@gnu.org>
7436         * groff.texinfo: Document exact search algorithm for glyphs.
7438 2001-12-15  Werner LEMBERG  <wl@gnu.org>
7440         * Makefile.cpg, Makefile.ccpg, Makefile.man: Add dummy file to
7441         the left side of $(MANPAGES) rule to make it always non-empty.
7443 2001-12-14  Werner LEMBERG  <wl@gnu.org>
7445         * src/roff/troff/input.cc (default_black): Define default color
7446         `black' if not yet defined.
7448 2001-12-13  Werner LEMBERG  <wl@gnu.org>
7450         Implement new string-valued register `.fn' to return the current
7451         real (internal) font name.
7453         * env.cc (environment::get_font_name_string): New function.
7454         (init_env_requests): Add `.fn' register.
7455         * env.h (environment): Updated.
7456         * node.cc (font_info): Make `get_font_name' a friend.
7457         (get_font_name): New function.
7458         * node.h: Updated.
7460         * man/groff_diff.man, man/groff.man, NEWS: Updated.
7462 2001-12-12  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
7464         * src/preproc/eqn/main.cc (inline_equation): Fix typos.
7466 2001-12-12  Werner LEMBERG  <wl@gnu.org>
7468         * tmac/groff_man.man, doc/groff.texinfo: There is no .R macro.
7470 2001-12-10  Gaius Mulley  <gaius@glam.ac.uk>
7472         * man/groff_diff.man: Adding documentation for \O.
7474 2001-12-10  Werner LEMBERG  <wl@gnu.org>
7476         * src/preproc/html/pre-html.cc (TROFF_COMMAND): Removed.
7477         (scanArguments): Use PROG_PREFIX for the name of the troff binary.
7479 2001-12-09  Werner LEMBERG  <wl@gnu.org>
7481         * man/roff.man: Revised.
7482         * src/roff/groff/groff.man: Replace man page references with a
7483         pointer to roff.man.
7485 2001-12-09  Bernd Warken  <bwarken@mayn.de>
7487         * man/roff.man: Completely rewritten.
7489 2001-12-06  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
7491         * src/preproc/eqn/main.cc (inline_equation): Improve error message.
7493 2001-12-05  Werner LEMBERG  <wl@gnu.org>
7495         * src/roff/troff/input.cc (get_delim_file_name): Removed since no
7496         longer used.
7497         * src/devices/grohtml/post-html.cc (html_printer::html_printer): Fix
7498         order of initializers.
7499         * NEWS: Updated.
7501 2001-12-05  Gaius Mulley  <gaius@glam.ac.uk>
7503         * doc/groff.texinfo: Fix documentation of \O.
7505         * src/devices/grohtml/html-text.cc (html_text::do_indent,
7506         html_text::do_table, html_text::do_emittext, html_text::do_para):
7507         Use `const' for first argument.
7508         (html_text::do_table): Use cast.
7509         * src/devices/grohtml/html-text.h: Updated.
7510         * src/devices/grohtml/output.cc (simple_output::put_string): Add
7511         method for `const string &s'.
7512         * src/devices/grohtml/html.h: Updated.
7513         * src/devices/grohtml/post-html.cc (MAX_STRING_LENGTH): Removed.
7514         (ANCHOR_TEMPLATE): Modified.
7515         (manufacture_headings): New global variable to handle `-h' option.
7516         (is_subsection): Removed.
7517         (char_buffer::add_string): Add `const' to first argument.
7518         Protect against invalid string argument.
7519         Add method for `const string &s'.
7520         (text_glob): Completely redesigned.
7521         (page): Use `const' for strings and remove string length variable.
7522         (page::add_html): Removed.
7523         (page::add_end_encode): New member function.
7524         (to_unicode): Moved upwards.
7525         (title_desc, header_desc): Updated.
7526         (header_desc::write_headings): Updated to new ANCHOR_TEMPLATE
7527         definition.
7528         (html_printer::is_bold, html_printer::make_bold): New member
7529         functions.
7530         (html_printer::end_of_line): Updated.
7531         (generate_img_src, html_printer::do_auto_image,
7532         html_printer::do_title, html_printer::write_header,
7533         html_printer::determine_header_level, html_printer::do_heading,
7534         html_printer::do_linelength, html_printer::do_pageoffset,
7535         html_printer::do_indentation, html_printer::do_tempindent,
7536         html_printer::do_indentedparagraph, html_printer::do_break,
7537         html_printer::flush_sbuf, get_html_translation,
7538         html_printer::begin_page, html_printer::special): Rewritten to get
7539         rid of static string length limit.
7540         (html_printer::troff_tag): Added `.no-auto-rule'.
7541         (html_printer::flush_globs): Small fix.
7542         (html_printer::determine_space): Don't compute `space_width'.
7543         (html_printer::translate_to_html): Renamed to ...
7544         (html_printer::emit_html): This (with updates).
7545         (html_printer::write_header): Implement `-h' option.
7546         (html_printer::draw): Remove commented-out code.  Handle `F'
7547         command.
7548         (html_printer::add_char_to_sbuf): Removed.
7549         (html_printer::add_to_sbuf): Rewritten.
7550         (html_printer::sbuf_continuation): Fixed.
7551         (html_printer::seen_backwards_escape, reverse,
7552         html_printer::remove_last_char_from_sbuf): Removed.
7553         (char_translate_to_html, str_translate_to_html): Removed.
7554         (html_printer::overstrike): New function member.
7555         (html_printer::set_char): Use it.
7556         (html_printer::do_body): New function member.
7557         (html_printer::~html_printer): Use it.
7558         (main): Handle `-h' option.
7559         (usage): Updated.
7560         * src/devices/grohtml/grohtml.man: Document -h switch.
7562         * src/preproc/html/pre-html.cc: Include searchpath.h
7563         Replace `POSTSCRIPTRES' macro with `postscriptRes' variable.
7564         (get_resolution): New function.
7565         (checkImageDir): Use `0777' permissions in mkdir()
7566         (write_start_image): Rewritten to use `\O[5...]'.
7567         (createImage, generateImages): Updated.
7568         (main): Handle `F' and `h' options.
7569         Use `get_resolution'.
7571         * src/roff/troff/input.cc (begin, end, image): Removed.
7572         (do_suppress): Take parameter.
7573         Handle modified syntax of `\O'.
7574         (token::next): Updated.
7575         (init_markup_requests): Removed.
7576         (main): Updated.
7578         * src/roff/troff/div.h: Add declaration for begin_page().
7580         * tmac/color-html.tmac: Removed.  Contents moved to...
7581         * tmac/html.tmac: Here.  Set background color.
7582         * tmac/color.tmac: Removed.  Contents moved to...
7583         * tmac/ps.tmac: Here.
7584         * tmac/www.tmac: Remove the title command when generating images
7585         for html.
7586         (NO_AUTO_RULE): New macro.
7587         (HTML_DO_IMAGE): Use revised `\O' escapes.
7588         * tmac/Makefile.sub, tmac/groff_www.man, tmac/troffrc: Updated.
7590 2001-12-02  Werner LEMBERG  <wl@gnu.org>
7592         * tmac/groff_mdoc.man: Fix typo.
7594 2001-12-01  Colin Watson  <cjwatson@debian.org>
7596         * man/roff.man: Fix typo.
7598 2001-11-29  Werner LEMBERG  <wl@gnu.org>
7600         * src/libs/libbib/map.c, src/utils/pfbtops/pfbtops.c: Include
7601         stdlib.h.
7603         * src/roff/troff/input.cc (read_draw_node): Emit error message if
7604         more than one argument to \D'f ...'.
7606         * tmac/Makefile.sub (NORMALFILES): Add lbp.tmac.
7608 2001-11-28  Werner LEMBERG  <wl@gnu.org>
7610         * tmac/an-old.tmac, tmac/doc.tmac: Assure that the macro package is
7611         loaded only once.
7613         * tmac/groff_man.man: Minor cosmetic fix.
7615 2001-11-27  Werner LEMBERG  <wl@gnu.org>
7617         * src/roff/groff/groff.man, tmac/groff_tmac.man,
7618         tmac/groff_www.man: s/mwww/www/.
7620 2001-11-26  Werner LEMBERG  <wl@gnu.org>
7622         * aclocal.m4 (GROFF_MKSTEMP): Implement test using C++ linkage.
7623         * configure: Regenerated.
7624         * win32-diffs: Updated.
7626         * tmac/groff_mwww.tmac: Renamed to ...
7627         * tmac/groff_www.tmac: This.
7628         * tmac/mwww.tmac: Removed.
7629         * NEWS, tmac/Makefile.sub: Updated.
7631 2001-11-21  Werner LEMBERG  <wl@gnu.org>
7633         * doc/groff.texinfo: Improve documentation of the `\v' escape.
7634         Fix explanation of `\D' and `rt'.
7636 2001-11-20  Werner LEMBERG  <wl@gnu.org>
7638         * tmac/an-old.tmac (an-header): Set header length equal to page
7639         width.
7640         * doc/groff.texinfo: Improve documentation of `ne' request.  Other
7641         minor fixes.
7642         * NEWS: Small fix.
7644 2001-11-19  Werner LEMBERG  <wl@gnu.org>
7646         * NEWS, man/Makefile.sub: Updated.
7648 2001-11-19  Bernd Warken  <bwarken@mayn.de>
7650         * man/ditroff.man: New file.
7652 2001-11-17  Werner LEMBERG  <wl@gnu.org>
7654         * man/groff_differences.man: Renamed to ...
7655         * man/groff_diff.man: This.  Updated.
7656         * man/Makefile.sub, src/roff/troff/troff.man, NEWS: Updated.
7658         * src/preproc/html/pushbackbuffer.cc: Renamed to ...
7659         * src/preproc/html/pushback.cc: This.  Updated.
7660         * src/preproc/html/pushbackbuffer.h: Renamed to ...
7661         * src/preproc/html/pushback.h: This.
7662         * src/preproc/html/Makefile.sub, src/preproc/html/pre-html.cc:
7663         Updated.
7665         * src/libs/libgroff/htmlindicate.cc: Renamed to ...
7666         * src/libs/libgroff/htmlhint.cc: This.
7667         * src/libs/libgroff/Makefile.sub: Updated.
7669         * tmac/an-old.tmac (an-end): Fix page length.
7671 2001-11-16  Werner LEMBERG  <wl@gnu.org>
7673         * NEWS, man/groff_differences.man, doc/groff.texinfo: Updated.
7674         * man/Makefile.sub: Include groff_differences.man.
7675         * VERSION: Set to 1.18.
7676         * REVISION: Set to 0.
7678 2001-11-16  Bernd Warken  <bwarken@mayn.de>
7680         * src/roff/troff/input.cc (do_define_macro): Allow whitespace before
7681         the second dot (or ending macro name) to end a macro.
7682         * doc/groff.texinfo: Doc fix.
7684 2001-11-16  Ruslan Ermilov  <ru@FreeBSD.org>
7686         * tmac/doc-common (doc-header): Handle very long document titles
7687         better.
7689 2001-11-16  Werner LEMBERG  <wl@gnu.org>
7691         * tmac/doc.tmac (doc-do-Bl-args): Fix .substring requests.
7693 2001-11-15  Werner LEMBERG  <wl@gnu.org>
7695         * src/roff/troff/troff.man: Revised and split into troff.man and...
7696         * man/groff_differences.man: New file.
7697         * NEWS: Updated.
7699 2001-11-13  Werner LEMBERG  <wl@gnu.org>
7701         * tmac/an-old.tmac (TS, TE): New macros for table support.
7703 2001-11-12  Werner LEMBERG  <wl@gnu.org>
7705         * src/include/lib.h: Provide a fix for emx to not include
7706         groff-getopt.h.
7708 2001-10-27  Werner LEMBERG  <wl@gnu.org>
7710         * src/roff/troff/input.cc (substring_macro): Fix computation of
7711         boundary values.
7713 2001-10-20  Werner LEMBERG  <wl@gnu.org>
7715         Undo change from 2001-08-28.
7717         * src/roff/troff/input.cc (have_input): New global variable.
7718         (token::next): Set `have_input' for \f, \H, \R, \s, and \S if not
7719         in compatibility mode.
7720         (process_input_stack): Use it.
7722 2001-10-19  Ruslan Ermilov  <ru@FreeBSD.org>
7724         * tmac/doc.tmac (doc-flag-recursion): Protect arguments against
7725         being handled as end-of-sentence characters,
7727 2001-10-10  Gaius Mulley  <gaius@glam.ac.uk>
7729         * src/roff/troff/input.cc (file_iterator): New members
7730         `suppress_newline_flag' and `seen_escape'.
7731         (file_iterator::next_file): Updated.
7732         (file_iterator::fill): Use it.
7733         (string_iterator): New member `suppress_newline_flag'.
7734         (string_iterator::fill): Set it.
7735         (get_color_element): Use MAX_COLOR_VAL.
7736         * src/roff/troff/env.cc (environment): Remove `need_eol'.
7737         (no_fill): Don't set `env->ignore_next_eol'.
7738         (environment::newline): Handle `eol' tag properly.
7739         Emit `eol.ce'.
7740         (environment::add_html_tag): Set `env->ignore_next_eol'.
7741         Don't handle `.ce'.
7742         * src/roff/troff/env.h (environment): Updated.
7744         * src/devices/grohtml/post-html.cc (text_glob::is_eol_ce): New
7745         member function.
7746         (html_printer::outstanding_eol): New member function.
7747         (html_printer::do_title): Use new functions.
7748         (html_printer::troff_tag): Test `id_eol_ce'.
7750 2001-10-10  Werner LEMBERG  <wl@gnu.org>
7752         * tmac/color.tmac, tmac/color-html.tmac: Use `.do' to make those
7753         files work with -C also.
7755 2001-10-05  Werner LEMBERG  <wl@gnu.org>
7757         * doc/pic.ms: Minor fix.
7758         * src/preproc/html/pre-html.cc (scanArguments): Don't handle `-?'
7759         as a valid command line switch.
7760         * src/devices/grohtml/post-html.cc (main): Ditto.
7761         (usage): Updated.
7762         * src/devices/grohtml/grohtml.man: Updated.
7763         * src/roff/groff/groff.cc (main): Pass `-v' to predriver also.
7765 2001-10-04  Werner LEMBERG  <wl@gnu.org>
7767         Implementing color support in troff, pic, grops, and grohtml.  These
7768         changes are based on a major patch provided by Gaius Mulley
7769         <gaius@glam.ac.uk>.
7771         New request: `defcolor', supporting rgb, cmy, cmyk, and gray
7772         definitions with both hex values and fractions.
7774         New escapes: \m and \M for drawing and background color,
7775         respectively.  This corresponds to the troff output commands `m'
7776         and `DF'.
7778         groff and troff accept command line switch `-c' to disable color
7779         output (which is automatically disabled in compatibility mode).
7781         New scaling indicator `f' for fractions (1f = 65536u).
7783         New conditional operator `m' to test for defined colors with `if'
7784         and `ie'.
7786         New keywords `color' (or `colour', `colored', `coloured'), `outline'
7787         (or `outlined'), and `shaded' added to pic.
7789         * src/include/color.h: New file.
7790         * src/include/driver.h: Include it.
7791         * src/include/printer.h: Include color.h.
7792         (environment): New members `col' and `fill'.
7793         (printer): Remove `adjust_arc_center' member function.
7794         * src/include/Makefile.sub: Updated.
7796         * src/libs/libdriver/input.cc (do_file): Initialize `env.col' and
7797         `env.fill'.
7798         Handle `m' and `DF' troff commands.
7799         * src/libs/libgroff/color.cc: New file.
7800         * src/libs/libgroff/Makefile.sub: Updated.
7802         * src/preproc/html/pre-html.cc (IMAGE_BORDER_PIXELS): Set to 2.
7803         (stop): Removed.
7804         (createImage): Fix computation of `y2'.
7805         Use `pnmcrop' also.
7806         (buffer::write_file_html): Remove calls to `stop'.
7808         * src/preproc/pic/common.h (common_output): New abstract function
7809         members `set_color', `reset_color', `get_last_filled', and
7810         `get_outline_color'.
7811         * src/preproc/pic/object.h: Add `IS_SHADED' and `IS_OUTLINED'.
7812         (object_spec): Add members `shaded' and `outlined'.
7813         * src/preproc/pic/output.h (output): `command' is now abstract.
7814         New function members `set_color', `reset_color', `get_last_filled',
7815         and `get_outline_color'.
7816         * src/preproc/pic/lex.cc (lookup_keyword): Recognize `colo[u]r[ed]',
7817         `outline[d]', and `shaded'.
7818         * src/preproc/pic/object.cc (output::command): Removed.
7819         (output::set_location): Moved to output.h.
7820         (graphic_object): Add protected members `outline_color' and
7821         `color_fill'.
7822         Add member functions `set_outline_color', `get_outline_color', and
7823         `set_fill_color'.
7824         (closed_object): Add member function `set_fill_color'.
7825         Add member `color_fill'.
7826         (graphic_object::print_text): Use `out->set_color' and
7827         `out->reset_color'.
7828         (box_object::print, ellipse_object::print, circle_object::print,
7829         line_object::print, spline_object::print, arc_object::print): Ditto.
7830         (object_spec::make_object): Implement `IS_OUTLINED' and `IS_SHADED'.
7831         * src/preproc/pic/pic.y: Add tokens `COLORED', `OUTLINED', and
7832         `SHADED', making them `%left'.
7833         Add rules `object_spec [SHADED|COLORED|OUTLINED] text'.
7834         * src/preproc/pic/tex.cc (tex_output): New dummy function members
7835         `set_color', `reset_color', `get_last_filled', and
7836         `get_outline_color'.
7837         * src/preproc/pic/troff.cc (simple_output): New abstract function
7838         members `set_color', `reset_color', and `get_last_filled'.
7839         (simple_output::polygon, simple_output::circle,
7840         simple_output::ellipse): Use `get_last_filled'.
7841         (troff_output): New members `last_filled' and `last_outlined'.
7842         New function members `set_color', `reset_color', `get_last_filled',
7843         and `get_outline_color'.
7844         (troff_output::finish_picture): Use `reset_color'.
7845         (troff_output::set_fill): Test `last_filled'.
7846         * src/preproc/pic/pic.man: Updated.
7848         * src/roff/groff/groff.cc (main): Implement `-c' option.
7849         (synopsis, help): Updated.
7850         src/roff/groff/groff.man: Updated.
7852         * src/roff/troff/troff.h: Include color.h.
7853         (warning_type): Add WARN_COLOR.
7854         * src/roff/troff/env.h (environment): New members
7855         `{cur,prev}_{glyph,fill}_color'.
7856         New member functions `get_{prev_,}{glyph,fill}_color'.
7857         * src/roff/troff/env.cc: Initialize and implement them.
7858         * src/roff/troff/input.cc: New global variable `disable_color_flag'.
7859         Replace `NULL' with `0' everywhere for consistency.
7860         (lookup_color, default_black, do_glyph_color, do_fill_color,
7861         get_color_element, read_rgb, read_cmy, read_cmyk, read_gray,
7862         define_color): New functions.
7863         (token::next): Implement \M and \m escapes.
7864         (do_if_request): Implement `m' operator.
7865         (usage): Updated.
7866         (main): Implement `-c' option.
7867         (init_markup_requests): Add `defcolor' request.
7868         (warning_table): Add `color' warning.
7869         * src/roff/troff/node.h (glyph_color_node, fill_color_node): New
7870         classes.
7871         * src/roff/troff/node.cc (troff_output_file): New members
7872         `current_{page,glyph}color'.  New member functions `put_hex',
7873         `glyph_color', and `fill_color'.
7874         (glyph_color_node::*, fill_color_node::*): Implement it.
7875         * src/roff/troff/number.cc (SCALE_INDICATOR_CHARS): Add `f'.
7876         (parse_term): Add support for `f'.
7877         * src/roff/troff/troff.man: Updated.
7879         * src/devices/grodvi/dvi.cc (draw_dvi_printer::draw): Add dummy
7880         entry for `F'.
7881         * src/devices/grolbp/lbp.cc (lbp_printer::draw): Ditto.
7882         * src/devices/grolj4/lj4.cc (lj4_printer::draw): Ditto.
7884         * src/devices/grohtml/html-text.h (HTML_TAG): Add COLOR_TAG.
7885         (tag_definition): Use `void *' for arg1.
7886         (html_text): New member functions `do_color' and `done_color'.
7887         Use `void *' for second parameter of `push_para' member function.
7888         New `push_para' member function with a single parameter.
7889         Use `char *' for parameter of `issue_table_begin' member funtion.
7890         New `issue_color_begin' member function.
7891         * src/devices/grohtml/html-text.cc (html_text::end_tag): Handle
7892         COLOR_TAG.
7893         (html_text::issue_color_begin): New function.
7894         (html_text::issue_table_begin): Use `char *' for parameter.
7895         (html_text::start_tag, html_text::shutdown,
7896         html_text::check_emit_text): Updated.
7897         (html_text::push_para): Use `void *' for second parameter.
7898         Add same function with only one parameter.
7899         (html_text::do_*): Updated.
7900         (html_text::do_color, html_text::done_color): New functions.
7901         * src/devices/grohtml/post-html.cc (style): New member `col'.
7902         Mew member `style' with 6 parameters.
7903         (style::style, style::operator==): Updated.
7904         (html_printer::do_font): Use it.
7905         (html_printer::draw): Add dummy entry for `F'.
7906         (html_printer::set_char): Updated.
7907         * src/devices/grohtml/grohtml.man: Updated.
7909         * src/devices/grops/ps.cc (ps_output::put_float): Use `%g' to have
7910         trailing zeroes removed.
7911         (ps_printer): New members `sbuf_color', `fill_color', and
7912         `output_color'.
7913         Removed member `fill'.
7914         New member function `set_color'.
7915         (ps_printer::ps_printer, ps_printer::set_char): Updated.
7916         (ps_printer::flush_sbuf, ps_printer::set_line_thickness,
7917         ps_printer::fill_path, ps_printer::draw): Use `set_color'.
7919         * tmac/color-html.tmac, tmac/color.tmac: New files.
7920         * tmac/troffrc: Include them.
7921         * tmac/www.tmac (URL, FTP, MAILTO): Use blue color.
7922         * tmac/Makefile.sub: Updated.
7924         * NEWS, doc/groff.texinfo, doc/pic.ms, man/groff_out.man,
7925         man/groff.man: Updated.
7926         * font/devps/prologue.ps: Define FC and CO functions.
7928 2001-10-04  Gaius Mulley  <gaius@glam.ac.uk>
7930         Fix incorrect cropping of images and incorrect handling of special
7931         characters.  Fix handling of file names in \O.
7933         * src/include/geometry.h: New file.
7934         * src/libs/libgroff/geometry.cc: New file.
7935         * src/libs/libdriver/printer.cc (printer::adjust_arc_center): Moved
7936         to `geometry.cc'.
7937         * src/roff/troff/input.cc (get_delim_file_name): Fixed problem with
7938         initial spaces.
7939         (do_suppress): Updated.
7940         * src/roff/troff/node.cc: Include geometry.h.
7941         (troff_output_file::flush_tbuf): Fixed parameters to
7942         `check_output_limits'.
7943         (troff_output_file::check_charinfo): Ditto.
7944         (troff_output_file::determine_line_limits): Add support for `Da'
7945         and `Dl' commands.
7947         * src/devices/grohtml/post-html.cc (str_translate_to_html):
7948         Add new parameter `is_special' to decode special characters from
7949         escape sequences.
7950         (html_printer::do_title, html_printer::do_heading,
7951         html_printer::do_indentedparagraph,
7952         html_printer::translate_to_html, html_printer::special): Updated.
7954 2001-10-03  Werner LEMBERG  <wl@gnu.org>
7956         * Makefile.sub (DISTCLEANFILES): Add stamp-h.
7957         Fix entry for config.h.
7958         * test-groff (GROFF_BIN_PATH): Add $builddir/roff/groff.
7959         * tmac/troffrc: Translate nonbreakable space character to `\~'.
7960         * src/preproc/eqn/eqn.man: Document -d command line option.
7962 2001-09-27  Werner LEMBERG  <wl@gnu.org>
7964         * man/groff.man: Use
7966           .ev xxx
7967           .na
7968           .nh
7969           <table>
7970           .ev
7972         instead of the old code (`.ad .hy' after the table) to suppress
7973         incorrect hyphenation for grohtml output.
7975 2001-09-22  Werner LEMBERG  <wl@gnu.org>
7977         * man/groff_font.man, man/groff_out.man: Minor fixes.
7979 2001-09-20  Werner LEMBERG  <wl@gnu.org>
7981         * PROBLEMS: Updated, reordered.  Improved EPS section (thanks to
7982         Arnold Robbins <arnold@skeeve.com>).
7984 2001-09-09  Werner LEMBERG  <wl@gnu.org>
7986         * configure: Regenerated with autoconf 2.52.
7988         * doc/groff.texinfo: Complete revision of indices.
7990 2001-09-07  Werner LEMBERG  <wl@gnu.org>
7992         * doc/Makefile (clean): Updated to delete all indices.
7994 2001-09-05  Werner LEMBERG  <wl@gnu.org>
7996         * src/roff/troff/troff.man: Remove superfluous line.
7998         * tmac/s.tmac: Enable all warnings only if no -W or -w option is
7999         given on the command line (or rather, if only the default warnings
8000         are set).
8002 2001-09-03  Werner LEMBERG  <wl@gnu.org>
8004         * man/groff.man, src/preproc/eqn/eqn.man, tmac/groff_mdoc.man: Don't
8005         use .ne for TTY devices.
8007 2001-08-31  Werner LEMBERG  <wl@gnu.org>
8009         * src/roff/troff/token.h, src/roff/troff/input.cc:
8010         s/TOKEN_TRANSPARENT_ESCAPE/TOKEN_OPAQUE_ESCAPE/.
8012 2001-08-28  Werner LEMBERG  <wl@gnu.org>
8014         * src/roff/troff/token.h (token_type): Add TOKEN_TRANSPARENT_ESCAPE.
8015         * src/roff/troff/input.cc (token::next): Return
8016         TOKEN_TRANSPARENT_ESCAPE for \f, \H, \R, \s, and \S if not in
8017         compatibility mode.
8018         (token::description): Updated.
8019         (process_input_stack): Reset `bol' for TOKEN_TRANSPARENT_ESCAPE.
8020         (token::add_to_node_list, token::process): Ignore
8021         TOKEN_TRANSPARENT_ESCAPE.
8023 2001-08-27  Werner LEMBERG  <wl@gnu.org>
8025         * tmac/an-old.tmac: Fix `S' string.
8027 2001-08-26  Werner LEMBERG  <wl@gnu.org>
8029         * src/roff/troff/troff.man: Don't use .ne for TTY devices.
8031 2001-08-25  Werner LEMBERG  <wl@gnu.org>
8033         * doc/pic.ms: Replace `\\' with `\e' (and fixing some single
8034         backslashes).
8035         Many other minor fixes.
8037         * configure.ac: Add message at end to inform how to compile
8038         xditview.
8039         * configure: Regenerated.
8041 2001-08-24  Werner LEMBERG  <wl@gnu.org>
8043         * src/include/getopt.h, src/libs/libgroff/{getopt.c, getopt1.c}:
8044         Updated to latest version of libc.
8046 2001-08-23  Werner LEMBERG  <wl@gnu.org>
8048         * configure.ac: Don't create subdirectories before AC_CONFIG_FILES.
8049         Autoconf 2.50 and newer can handle this.
8050         * configure: Regenerated.
8052 2001-08-21  Werner LEMBERG  <wl@gnu.org>
8054         * doc/pic.ms: Fix typo.
8055         * src/preproc/tbl/tbl.man: Document case of global options.
8057 2001-08-21  Gaius Mulley  <gaius@glam.ac.uk>
8059         * src/devices/grohtml/post-html.cc (html_printer::end_font): Fix
8060         handling of `CR' font.
8062 2001-08-20  Werner LEMBERG  <wl@gnu.org>
8064         Use a config.h file.
8066         * src/include/lib.h: Include config.h.
8067         * All C files: Ditto (if necessary).
8068         * All C++ source and header files: Include lib.h first (if
8069         necessary).
8071         * src/include/config.hin: New file (autogenerated by autoheader).
8072         * stamp-h.in: New file.
8073         * configure.ac: Updated.
8074         * aclocal.m4: Add third parameters to AC_DEFINE macros.
8075         (GROFF_ARRAY_DELETE): Simplified.
8076         * Makefile.sub (DISTCLEANFILES): Updated.
8077         Added targets for remaking config.status, config.hin, config.h,
8078         stamp-h.in, and stamp-h.
8079         * configure: Regenerated.
8081 2001-08-19  Werner LEMBERG  <wl@gnu.org>
8083         * NEWS: Updated.
8085 2001-08-18  Sebastian Krahmer  <krahmer@suse.de>
8087         * src/preproc/pic/pic.y (format_number): Use do_sprintf().
8088         (do_sprintf): Use snprintf().
8090 2001-08-18  Werner LEMBERG  <wl@gnu.org>
8092         * src/libs/snprintf/*: Added an snprintf module written by Mark
8093         Martinec.
8094         * src/libs/libgroff/Makefile.sub: Updated.
8095         * configure.ac: Add test for snprintf().
8096         * Makefile.in: Updated.
8097         * configure: Regenerated.
8099         * src/preproc/html/pre-html.cc (make_message): Reactivate code which
8100         uses snprintf().
8102 2001-08-14  Ruslan Ermilov  <ru@FreeBSD.org>
8104         * tmac/doc.tmac (Ex): New implementation.
8105         * tmac/doc-common, tmac/groff_tmac.man: Updated.
8107 2001-08-13  Ruslan Ermilov  <ru@FreeBSD.org>
8109         * tmac/doc.tmac (Rv): Implement support for 0 or more than 1
8110         argument.
8111         * tmac/groff_tmac.man: Updated.
8113 2001-08-13  Werner LEMBERG  <wl@gnu.org>
8115         * src/preproc/tbl/tbl.man: Minor documentation update.
8117 2001-08-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8119         * src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday().
8120         * configure.ac: Add declaration test for gettimeofday().
8121         * Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines.
8122         * aclocal.m4: Include sys/time.h for gettimeofday declaration test.
8123         * configure: Regenerated.
8125 2001-08-11  Werner LEMBERG  <wl@gnu.org>
8127         * aclocal.m4 (GROFF_MKSTEMP): Define HAVE_MKSTEMP.
8128         * configure.ac: Add declaration test for strcasecmp().
8129         * Makefile.in: Updated.
8130         * configure: Regenerated.
8131         * src/include/lib.h [!HAVE_MKSTEMP]: Add prototype for mkstemp() --
8132         this is necessary because groff's mkstemp.cc is C++.
8133         Add declaration conditionally for strcasecmp().
8135 2001-08-10  Werner LEMBERG  <wl@gnu.org>
8137         Integrated pic2graph, contributed by Eric S. Raymond.
8139         * contrib/pic2graph/{Makefile.sub, pic2graph.sh, pic2graph.man}: New
8140         files.
8141         * Makefile.in, NEWS: Updated.
8143         * src/preproc/tbl/tbl.man: Revised.
8145 2001-08-09  Eric S. Raymond  <esr@thyrsus.com>
8147         * src/preproc/tbl/tbl.man: Extended to cover all tbl features.
8149 2001-08-09  Werner LEMBERG  <wl@gnu.org>
8151         * src/preproc/tbl/main.cc (process_data): Fix recognition of .lf
8152         requests.
8154 2001-08-08  Paul Eggert  <eggert@twinsun.com>
8156         * Makefile.sub (configure): Depend on configure.ac, not
8157         configure.in.
8158         * INSTALL.gen: Upgrade to autoconf 2.52's INSTALL.
8160 2001-08-07  Werner LEMBERG  <wl@gnu.org>
8162         * src/utils/afmtodit/afmtodit.man, src/roff/groff/groff.man: Minor
8163         fixes.
8165 2001-08-06  Werner LEMBERG  <wl@gnu.org>
8167         * src/roff/troff/troff.man: Improve documentation of -E option.
8169 2001-07-28  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
8171         * src/preproc/html/pushbackbuffer.cc (pushBackBuffer::readNumber):
8172         Simplified.
8174 2001-07-27  Werner LEMBERG  <wl@gnu.org>
8176         * src/preproc/refer/refer.cc: Undo last change.
8177         * src/devices/grohtml/post-html.cc: Ditto.
8179 2001-07-26  Werner LEMBERG  <wl@gnu.org>
8181         * src/preproc/refer/refer.cc: Include `lib.h'.
8182         * src/devices/grohtml/post-html.cc: Ditto.
8184 2001-07-25  Gaius Mulley  <gaius@glam.ac.uk>
8186         * aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'.
8187         * src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET.
8188         * Makefile.in: Comment updated.
8189         * configure: Regenerated.
8191 2001-07-25  Werner LEMBERG  <wl@gnu.org>
8193         * src/preproc/pic/pic.cc: Removed.
8194         * src/preproc/pic/pic_tab.h: Removed.
8195         * src/preproc/refer/label.cc: Removed.
8197         * doc/Makefile (.ms.html): Don't use a file name extension in
8198         argument to grohtml's -I option.
8199         * Makefile.in (dist): Remove CVS directories.
8200         Call `distfiles' target.
8202         * src/devices/grohtml/grohtml.man: Add information about valid
8203         versions of pnmtopng.
8204         * src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour
8205         name instead of number.
8207 2001-07-24  Werner LEMBERG  <wl@gnu.org>
8209         * doc/groff.texinfo: Minor fixes.
8211 2001-07-21  Gaius Mulley  <gaius@glam.ac.uk>
8213         * doc/Makefile (.ms.html): Put image files into a subdirectory.
8214         (clean): Updated.
8216 2001-07-20  Werner LEMBERG  <wl@gnu.org>
8218         * src/libs/libgroff/tmpname.cc: New file, defining get_tempname().
8219         * src/libs/libgroff/mkstemp.cc: New file.
8220         * src/libs/libgroff/mksdir.cc: New file.
8221         * src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed.
8222         (xtmpfile) [!HAVE_MKSTEMP]: Removed.
8223         * src/libs/libgroff/Makefile.sub: Updated.
8224         * src/include/lib.h: Add mksdir() prototype.
8225         * src/include/posix.h: Define S_IXUSR if not yet defined.
8227         * src/preproc/html/pre-html.cc (MAX_RETRIES): Removed.
8228         (createAllPages): Use mksdir() instead of current code.
8229         * src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed.
8230         (main): [!HAVE_MKSTEMP]: Removed.
8232         * aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file.
8233         (GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New
8234         macros.
8235         * configure.ac: Add tests for stdint.h, sys/time.h, and
8236         gettimeofday().
8237         Call new GROFF_xxx macros.
8238         * configure: Regenerated.
8239         * Makefile.in: Comments updated.
8241 2001-07-20  Gaius Mulley  <gaius@glam.ac.uk>
8243         * src/preproc/html/pre-html.cc (scanArguments): Use getopt_long()
8244         instead of current code.
8245         * src/devices/grohtml/post-html.cc (main): Handle `-d' option.
8246         * src/roff/groff/groff.cc (possible_command::insert_args): New
8247         function.
8248         (main): Use it for predriver handling instead of insert_arg().
8250 2001-07-19  Werner LEMBERG  <wl@gnu.org>
8252         * doc/Makefile: Added GROFF_BIN_PATH to make it work with uninstalled
8253         groff also.
8255         * src/include/posix.h: Define S_IWUSR if not yet defined.
8257 2001-07-18  Werner LEMBERG  <wl@gnu.org>
8259         * NEWS: Updated.
8261 2001-07-18  Ruslan Ermilov  <ru@FreeBSD.org>
8263         * tmac/groff_mdoc.man: Document new -width and -column syntax.
8264         Some other minor fixes.
8265         * tmac/an-old.tmac: Add `AT' and `UC' macros.
8267 2001-07-17  Gaius Mulley  <gaius@glam.ac.uk>
8269         Replace call to `troff' with `groff -Z' to make it aware of
8270         GROFF_BIN_PATH.
8272         * src/preproc/html/pre-html.cc (TROFF_COMMAND): New macro.
8273         (troff_command, command_prefix): Removed.
8274         (alterDeviceTo): Use groff.
8275         (addZ): New function.
8276         (char_buffer::do_html): Use it.
8277         (scanArguments): Use TROFF_COMMAND.
8278         (findPrefix): Removed.
8279         (main): Updated.
8280         * src/roff/groff/groff.cc (main): Handle zflag for preprocessors.
8282 2001-07-17  Eric S. Raymond  <esr@snark.thyrsus.com>
8284         * doc/pic.ms: Documentation fixes.
8286 2001-07-17  Werner LEMBERG  <wl@gnu.org>
8288         Replace atexit() with global destructor.
8290         * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Add constructor.
8291         (xtmpfile_list_init): New global structure to deallocate
8292         xtmpfile_list on exit.  Its destructor inherits most code from
8293         remove_tmp_files().
8294         (remove_tmp_files): Deleted.
8295         (add_tmp_file): Simplified.
8297 2001-07-16  Werner LEMBERG  <wl@gnu.org>
8299         Replace strdup() with strsave().
8301         * src/devices/grolbp/lbp.cc [!HAVE_STRDUP]: Removed.
8302         (set_papersize): Use strsave() and a_delete.
8303         (main): Use strsave().
8304         * src/preproc/html/pre-html.cc (make_message, createAllPages,
8305         removeAllPages): Use strsave() and a_delete.
8307         * configure.ac: Remove test for strdup.
8308         * Makefile.in: Comment updated.
8309         * configure: Regenerated.
8311 2001-07-15  Werner LEMBERG  <wl@gnu.org>
8313         * win32-diffs: Updated.
8315 2001-07-14  Werner LEMBERG  <wl@gnu.org>
8317         * src/preproc/html/pre-html.cc (makeTempFiles): Activate new code,
8318         removing the old one.
8319         * src/utils/indxbib/indxbib.cc (main): Remove compiler warning.
8321 2001-07-14  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
8323         * src/libs/libgroff/tmpfile.cc (xtmpfile): Fix guard for `namep'.
8325 2001-07-12  Ruslan Ermilov  <ru@FreeBSD.org>
8327         Merge -xwidth into -width.  Add -xwidth functionality to -column
8328         also.
8330         * tmac/doc.tmac (Bl): Add dummy doc-typeXXX and doc-spaceXXX to
8331         avoid warning.
8332         (doc-do-Bl-args): Merge -xwidth code with -width.  Test whether
8333         string immediately following a leading dot starts with a valid mdoc
8334         argument.
8335         Add similar code to the -column branch.
8336         (doc-Bl-usage): Updated.
8337         * groff_mdoc.man: s/-xwidth/-width/.
8339 2001-07-12  Gaius Mulley  <gaius@glam.ac.uk>
8341         * src/devices/grohtml/post-html.cc (text_glob::is_br): Stop titles
8342         running into centered or non-formatted text.
8344 2001-07-11  Werner LEMBERG  <wl@gnu.org>
8346         Introduce short and long prefixes to have the selection at run-time
8347         whether there is a 8+3 limit for names of temporary files.
8349         * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX): Replaced with...
8350         (TMPFILE_PREFIX_SHORT, TMPFILE_PREFIX_LONG): This.
8351         (tmpfile_prefix, tmpfile_prefix_len, use_short_prefix): New
8352         variables.
8353         (temp_init): New global structure to initialize above three
8354         variables.
8355         (xtmptemplate): Use two parameters for long and short prefix.
8356         Simplify code use above three variables.
8357         (xtmpfile): Use long and short prefixes as parameters.
8358         * src/include/lib.h: Updated.
8360         * src/preproc/html/pre-html.cc ({PAGE,PS,REGION}_TEMPLATE): Replace
8361         with ...
8362         ({PAGE,PS,REGION}_TEMPLATE_{SHORT,LONG}): This.
8363         (createAllPages, makeTempFiles): Updated.
8365 2001-07-09  Werner LEMBERG  <wl@gnu.org>
8367         * REVISION: Increased to 3.
8369 Version 1.17.2 released
8370 =======================
8372 2001-07-07  Werner LEMBERG  <wl@gnu.org>
8374         * src/utils/indxbib/indxbib.cc (main): Change type of `name_max'
8375         to size_t.
8377 2001-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
8379         * tmac/doc.tmac (Rv): Make `Rv' really not parseable.
8380         Fix synopsis.
8381         * tmac/groff_mdoc.man: Fix synopsis.
8383 2001-07-05  Ruslan Ermilov  <ru@FreeBSD.org>
8385         * tmac/doc.tmac (doc-inset-list, doc-hang-list, doc-ohang-list):
8386         Restore `doc-Pa-font'.
8388 2001-07-04  Werner LEMBERG  <wl@gnu.org>
8390         * src/utils/indxbib/dirnamemax.c: Moved to ...
8391         * src/libs/libgroff/maxfilename.cc: Here.
8392         s/dir_name_max/file_name_max/.
8393         Add copyright.
8394         * src/include/lib.h: Add file_name_max.
8395         * src/utils/indxbib/indxbib.cc: Updated.
8396         * src/utils/indxbib/Makefile.sub, src/libs/libgroff/Makefile.sub:
8397         Updated.
8399         * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX) [__MSDOS__]: Define
8400         as empty.
8401         (xtmpfile) [_MSC_VER]: Removed -- MSVC has mktemp().
8403         * src/preproc/html/pre-html.cc (PAGE_TEMPLATE, PS_TEMPLATE,
8404         REGION_TEMPLATE): New macros.
8405         (createAllPages, makeTempFiles): Use them.
8406         Include `nonposix.h'.
8407         (html_system): New function.
8408         (createAllPages, createImage): Use it.
8409         Use EXE_EXT.
8411         * tmac/www.tmac: Fix typos.
8413 2001-07-03  Werner LEMBERG  <wl@gnu.org>
8415         * tmac/www.tmac: Disable hyphenation in normal text only if output
8416         device is html.
8417         (URL, FTP, MAILTO): Disable hyphenation of actual URL with `\%'.
8418         * tmac/groff_mwww.man, NEWS: Updated.
8420 2001-07-03  Gaius Mulley  <gaius@glam.ac.uk>
8422         * tmac/www.tmac (.IMAGE): Add fourth parameter to specify vertical
8423         image location.
8425 2001-07-02  Ruslan Ermilov  <ru@FreeBSD.org>
8427         * tmac/doc-common, tmac/doc.tmac (doc-display-ft-stack,
8428         doc-display-ps-stack): Implement font and font size stack for
8429         displays.
8431 2001-07-02  Werner LEMBERG  <wl@gnu.org>
8433         * REVISION: Increased to 2.
8434         * src/roff/troff/input.cc (read_size): Fix special case `\s[0]'.
8436         * src/groff/grog/grog.pl (process): Handle `Oo' and `Oc' not at the
8437         beginning of a line.
8438         * src/groff/grog/grog.sh: Ditto.
8440 2001-06-29  Peter Marquardt  <wwwutz@molgen.mpg.de>
8442         * src/preproc/eqn/neqn.sh: Put `export' keyword in a new line to
8443         make it portable.
8445 2001-06-27  Werner LEMBERG  <wl@gnu.org>
8447         Fix problems with preprocessor string for `man' program.
8449         * *.man: Don't use `s' in preprocessor string --  it doesn't exist.
8450         Updated/added copyright.
8451         Moved Emacs's local variable to identify nroff mode to the end of
8452         the file; add local variable if missing.
8454 2001-06-26  Andras Salamon  <andras@cs.wits.ac.za>
8456         * aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS with
8457         AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++).
8458         * configure: Regenerated.
8460 2001-06-25  Andras Salamon  <andras@cs.wits.ac.za>
8462         * aclocal.m4 (GROFF_PAGE): Fix page detection code.
8463         * configure: Regenerated.
8465 2001-06-24  Werner LEMBERG  <wl@gnu.org>
8467         * doc/homepage.ms: Don't include arkup.tmac (which no longer exists)
8468         but www.tmac.
8469         * doc/pic.ms: Fix typos.
8471 Version 1.17.1 released
8472 =======================
8474 2001-06-21  Golubev I. N.  <gin@mo.msk.ru>
8476         * aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h.
8477         * configure: Updated.
8479 2001-06-20  Gaius Mulley  <gaius@glam.ac.uk>
8481         * src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect
8482         image names.
8483         * src/roff/troff/dic.cc (blank_line): Add html tag.
8485 2001-06-19  Gaius Mulley  <gaius@glam.ac.uk>
8487         * src/roff/troff/input.cc (do_suppress): Fix typo.
8489 2001-06-18  Gaius Mulley  <gaius@glam.ac.uk>
8491         Added two new options (-D and -I) to specify image names and a
8492         subdirectory to place the images in.
8494         Change syntax from \\Ox to \\O[x].
8496         * src/devices/grohtml/post-html.cc (main): Add options.
8497         (usage): Updated.
8498         * src/preproc/html/pre-html.cc: Include `stdarg.h'.
8499         Use `NULL' instead of `0' for null string pointers.
8500         (MAX_RETRIES): New macro.
8501         (lengthOfintToStr, intToStr, make_message): New functions.
8502         (makeFileName): Make function static.
8503         Implement -D and -I options.
8504         (checkImageDir): New function.
8505         (write_end_image, write_start_image): Use new syntax of \O.
8506         (createAllPages, removeAllPages): Implement -D and -I options.  Use
8507         make_message().
8508         (createImage): Use make_message().
8509         (addps4html): Add guard for malloc().
8510         (usage, scanArguments): Updated.
8511         (makeTempFiles): Use mkstemp().
8512         (removeTempFiles): Use unlink().
8513         (findPrefix): Add guard for malloc().
8514         (main): Updated.
8515         * src/roff/troff/input.cc (get_delim_file_name): New function to
8516         parse \O.
8517         (do_suppress): Updated to parse new syntax.
8518         * src/devices/grohtml/grohtml.man: Updated.
8519         * tmac/www.tmac: Updated to new syntax.
8521         * NEWS: Updated.
8523 2001-06-15  Werner LEMBERG  <wl@gnu.org>
8525         * src/roff/grog/Makefile.sub: Remove NAMEPREFIX.
8527         * src/devices/grohtml/grohtml.man: Minor improvements.
8529 2001-06-14  Werner LEMBERG  <wl@gnu.org>
8531         * src/preproc/html/Makefile.sub: Remove NAMEPREFIX.
8533 2001-06-11  Werner LEMBERG  <wl@gnu.org>
8535         * man/roff.man, mann/groff.man: Use '\" instead of .\" in the first
8536         line to specify preprocessor options -- mandb 2.3.1 only recognizes
8537         the former.
8538         * src/preproc/grn/grn.man: Add proper '\" string.
8540 2001-06-11  OKAZAKI Tetsurou  <okazaki@be.to>
8542         * test-groff: Don't use PATH but GROFF_BIN_PATH.
8544 2001-06-08  Werner LEMBERG  <wl@gnu.org>
8546         Updated to autoconf 2.50.
8548         * configure.in: Renamed to...
8549         * configure.ac: This.
8550         * aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed.
8551         (GROFF_OS390): Updated.
8552         * configure: Regenerated.
8554 2001-05-18  Werner LEMBERG  <wl@gnu.org>
8556         * src/roff/troff/env.c, src/roff/troff/env.h,
8557         src/roff/troff/input.cc, src/roff/troff/troff.man: Undo `ss' change
8558         from 2000-12-21.
8560 2001-05-17  Jeffrey Friedl  <jfriedl@yahoo-inc.com>
8562         * src/roff/troff/input.cc (read_size): Fix special case `\s0'.
8564 2001-05-16  Werner LEMBERG  <wl@gnu.org>
8566         * src/roff/troff/input.cc (read_size): Emit warning if value becomes
8567         less than or equal zero; set it to 1 then.
8568         * src/roff/troff/node.h (node::node): Initialize `last'.
8570 2001-05-08  Werner LEMBERG  <wl@gnu.org>
8572         * tmac/an-old.tmac: Make predefined strings work in compatibility
8573         mode.
8574         Add troff version guard.
8575         * tmac/doc.tmac: Simplify version guard.
8577 2001-05-07  Werner LEMBERG  <wl@gnu.org>
8579         The .ns and .rs requests are now honoured not only in the top-level
8580         but in all diversions (similar to UNIX troff).
8582         This change is based on a patch from Tadziu Hoffmann
8583         <hoffmann@usm.uni-muenchen.de>.
8585         * src/roff/troff/div.h (diversion): Add `no_space_mode' member.
8586         (top_level_diversion): Remove `no_space_mode' member.
8587         * src/roff/troff/div.cc (diversion::diversion,
8588         top_level_diversion::top_level_diversion): Updated.
8589         (macro_diversion::output): Reset `no_space_mode'.
8590         (no_space, restore_spacing): Use `curdiv' unconditionally.
8591         (space_request, blank_line): Check `curdiv->no_space_mode'.
8592         (no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use
8593         `curdiv' unconditionally.
8594         * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
8595         Updated.
8597 2001-05-06  Werner LEMBERG  <wl@gnu.org>
8599         Added two new requests `de1' and `am1' which are similar to `de' and
8600         `am' with the difference that compatibility mode is saved on entry,
8601         switched off during macro execution, and restored on exit.
8603         * src/roff/troff/input.h: Added two new special characters
8604         (COMPATIBLE_SAVE, COMPATIBLE_RESTORE).
8605         * src/roff/troff/input.cc (input_iterator): Added two member
8606         functions `save_compatible_flag' and `get_compatible_flag'.
8607         (input_stack): Ditto.
8608         (string_iterator): Ditto.  Also add private member
8609         `saved_compatible_flag'.
8610         (token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
8611         (calling_mode): New enumeration.
8612         (do_define_macro): Use it.  Insert COMPATIBLE_SAVE and
8613         COMPATIBLE_RESTORE at the beginning and end of macro, respectively.
8614         (define_macro, define_indirect_macro, append_macro, ignore): Use
8615         `calling_mode'.
8616         (define_nocomp_macro, append_nocomp_macro): New functions.
8617         (init_input_requests): Updated.
8618         (do_request): Rename local variable `saved_compatible_flag' to
8619         `old_compatible_flag'.
8620         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
8622         * tmac/an-old.tmac: Use `de1' instead of `de' request for all
8623         public and trap-invoked macros.  As a consequence, the man macros
8624         work in compatibility mode also.
8626 2001-05-06  Solar Designer  <solar@openwall.com>
8628         * Makefile.in: Use $(mandir).
8630 2001-05-06  Alexios Zavras  <zvr@pobox.com>
8632         * src/utils/afmtodit/afmtodit.pl: Fix serious typo.
8634 2001-05-05  Werner LEMBERG  <wl@gnu.org>
8636         Added `.ns' number register: Returns 1 in no-space mode (if in
8637         top-level diversion), 0 otherwise.
8639         * src/roff/troff/div.cc (no_space_mode_reg): New class.
8640         (init_div_requests): Updated.
8641         * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
8642         Document it.
8644 2001-05-04  Werner LEMBERG  <wl@gnu.org>
8646         * src/roff/nroff/nroff.man: Improved documentation (especially
8647         locales).
8649 2001-05-02  Werner LEMBERG  <wl@gnu.org>
8651         Added `brp' request: This is \p as a request.
8653         * src/roff/troff/env.cc (environment::do_break): Add parameter
8654         `spread'.
8655         (do_break_request): New function (was `break_request').
8656         (break_request): Calls `do_break_request'.
8657         (break_spread_request): New; calls `do_break_request'.
8658         (init_env_requests): Updated.
8659         * src/roff/troff/env.h: Updated.
8660         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
8662         * REVISION: Increased to 1.
8663         * win32-diffs: Updated.
8665 2001-05-01  Werner LEMBERG  <wl@gnu.org>
8667         * tmac/an-old.tmac: Fix minor compatibility mode issue.
8668         * tmac/troffrc-end: Make it really work in compatibility mode.
8670 2001-04-27  Werner LEMBERG  <wl@gnu.org>
8672         * src/utils/lkbib/lkbib.cc: Switch inclusion order of stdio.h and
8673         stdlib.h.
8675 2001-04-22  Werner LEMBERG  <wl@gnu.org>
8677         * src/libs/libgroff/getopt.c, src/include/getopt.h: Updating to
8678         latest versions from glibc CVS archive.
8680         * MORE.STUFF: Updated, using a patch from Kees Zeelenberg
8681         <c.zeelenberg@hccnet.nl>.
8683 2001-04-21  Werner LEMBERG  <wl@gnu.org>
8685         * configure.in: Move check for mkstemp() to...
8686         * aclocal.m4 (GROFF_MKSTEMP): This new function.
8687         * configure: Regenerated.
8689         * src/include/groff-getopt.h: Don't use variable names in
8690         declarations.
8692         * src/devices/grohtml/html-chars.h: Removed.  It isn't used.
8693         * src/devices/grohtml/Makefile.sub,
8694         src/devices/grohtml/post-html.cc: Updated.
8696 2001-04-21  Albert Chin-A-Young  <china@thewrittenword.com>
8698         * configure.in: Add special check for mkstemp().
8699         * src/libs/libgroff/tmpfile.cc: Use it.
8700         * src/utils/indxbib/indxbib.cc: Ditto.
8701         * src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style.
8702         * src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use
8703         `const'.
8705 2001-04-20  Bruce Lilly  <blilly@erols.com>
8707         `Version_string' as C++ object was not visible to linker from C
8708         object files.
8709         Add `const' to `Version_string'.
8711         * src/utils/pfbtops/pfbtops.c (main), src/roff/groff/groff.cc
8712         (main), src/roff/troff/input.cc (main), src/preproc/tbl/main.cc
8713         (main), src/preproc/pic/main.cc (main), src/preproc/eqn/main.cc
8714         (main), src/preproc/grn/main.cc (main), src/preproc/html/pre-html.cc
8715         (scanArguments), src/preproc/refer/refer.cc (main),
8716         src/preproc/soelim/soelim.cc (main), src/devices/grotty/tty.cc
8717         (main), src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
8718         (main), src/devices/grohtml/post-html.cc (main),
8719         src/devices/grolbp/lbp.cc (main), src/utils/tfmtodit/tfmtodit.cc
8720         (main), src/utils/hpftodit/hpftodit.cc (main),
8721         src/utils/lookbib/lookbib.cc (main), src/utils/indxbib/indxbib.cc
8722         (main), src/utils/lkbib/lkbib.cc (main),
8723         src/utils/addftinfo/addftinfo.cc (main): Implement it.
8725         * src/roff/groff/pipeline.c: Add _UWIN.
8726         * src/include/nonposix.h: Ditto.
8728 2001-04-20  Werner LEMBERG  <wl@gnu.org>
8730         * src/include/lib.h: Use HAVE_STRERROR.
8731         * src/roff/groff/pipeline.c: Ditto.
8732         * src/preproc/html/pre-html.cc: Remove declaration of `strerror'.
8733         * src/libs/libgroff/Makefile.sub (version.cc): Add `extern "C"'.
8734         * src/utils/pfbtops/pfbtops.c: Add copyright notice.
8735         * win32-diffs: Updated.
8736         * src/utils/hpftodit/hpftodit.cc (read_map): Fix compiler warning.
8738 2001-04-19  Werner LEMBERG  <wl@gnu.org>
8740         * src/preproc/html/pre-html.cc (scanArguments): Use `troff_command'
8741         instead of hardwired `"troff"'.
8742         (char_buffer::read_file): Remove unused variables.
8743         (char_buffer::write_file_troff): Ditto.
8744         (char_buffer::write_file_html): Ditto.
8745         (generateImages): Ditto.
8746         (abs): Removed.
8747         * src/utils/addftinfo/addftinfo.cc (main): Fix compilation problem.
8749         * src/include/lib.h: Don't include `groff-getopt.h' for UWIN.
8751         * src/libs/libgroff/font.cc (font::load_desc): Fix compiler warning.
8752         * src/libs/libbib/index.cc (index_search_item_iterator::get_tag,
8753         index_search_item::search1): Ditto.
8754         * src/roff/troff/node.h (width_list): Reorder members.
8755         * src/roff/troff/input.cc (do_define_macro): Fix compiler warning.
8756         (lookup_warning): Ditto.
8757         (prepend_string): Commented out.
8758         * src/roff/troff/dictionary.cc (is_good_size): Fix compiler warning.
8759         * src/roff/troff/reg.cc (number_value_to_ascii): Ditto.
8760         * src/preproc/tbl/main.cc (process_format): Ditto.
8761         * src/preproc/pic/pic.y (define_variable, reset, reset_all): Fix
8762         compiler warnings.
8763         * src/preproc/pic/pic.cc: Updated.
8764         * src/preproc/eqn/lex.cc (init_table): Fix compiler warnings.
8765         * src/preproc/eqn/over.cc (over_box::compute_metrics): Ditto.
8766         * src/preproc/refer/command.cc (execute_command): Ditto.
8767         * src/preproc/refer/ref.cc (sortify_title, find_month): Ditto.
8768         * src/preproc/refer/token.cc (lookup_token): Ditto.
8769         * src/preproc/soelim/soelim.cc: Ditto.
8770         * src/preproc/html/pushbackbuffer.cc (ERROR): Ditto.
8771         (isHexDigit): Commented out.
8772         (pushBackBuffer::isString): Remove unused variable.
8773         * src/devices/grops/ps.cc (ps_printer::special): Fix compiler
8774         warning.
8775         * src/devices/grops/psrm.cc (resource_manager::lookup_font,
8776         resource_manager::read_resource_arg, read_one_of, parse_extensions):
8777         Ditto.
8778         * src/devices/grodvi/dvi.cc (dvi_printer::draw): Ditto.
8779         * src/devices/grolj4/lj4.cc (lj4_font::handle_unknown_font_command,
8780         lookup_paper_size): Ditto.
8781         * src/devices/grohtml/post-html.cc (is_subsection): Commented out.
8782         (text_glob, element_list): Reorder members.
8783         * src/devices/grohtml/html-text.cc (html_text::do_pre): Remove
8784         compiler warning.
8785         * src/devices/grohtml/html-text.h (html_text::emit_space): Change
8786         return value to `void'.
8787         * src/devices/grohtml/output.cc (word_list::word_list): Fix order
8788         of initializers.
8789         * src/devices/grohtml/html.h (simple_output::check_newline,
8790         simple_output::space_or_newline, simple_output::enable_newlines):
8791         Add return value.
8792         * src/devices/grolbp/lbp.cc (wp54charset, set_papersize): Remove
8793         compiler warnings.
8794         * src/utils/tfmtodit/tfmtodit.cc (tfm::load, gf::load, main): Ditto.
8795         * src/utils/hpftodit/hpftodit.cc (File::seek, read_symbol_sets,
8796         output_ligatures, output_charset, read_map): Ditto.
8797         * src/utils/lookbib/lookbib.cc (main): Ditto.
8798         * src/utils/indxbib/indxbib.cc (main, fwrite_or_die): Ditto.
8799         (do_file): Fix typo (`=' -> `==').
8800         * src/utils/lkbib/lkbib.cc (main): Remove compiler warning.
8801         * src/utils/addftinfo/addftinfo.cc (main): Ditto.
8803 2001-04-18  Ruslan Ermilov  <ru@FreeBSD.org>
8805         * src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.
8806         Fix usage of GROFF_BIN_PATH.
8807         * src/roff/nroff/nroff.man: Updated.
8809 2001-04-18  Werner LEMBERG  <wl@gnu.org>
8811         * NEWS: Fixing typos.
8812         Updated.
8814 Version 1.17 released
8815 =====================
8817 2001-04-17  Werner LEMBERG  <wl@gnu.org>
8819         * tmac/Makefile.sub (install-data): mdoc.local-s is in current
8820         directory, not in $(srcdir).
8822 2001-04-16  Werner LEMBERG  <wl@gnu.org>
8824         * doc/groff.texinfo: More info on conditionals.
8826 2001-04-15  Werner LEMBERG  <wl@gnu.org>
8828         * doc/groff.texinfo: Added some info about groff internals.
8830         * src/roff/troff/node.cc (make_glyph_node): Emit warning message
8831         about missing special character only if the name is non-null.
8833 2001-04-14  Werner LEMBERG  <wl@gnu.org>
8835         Removing the grohtml-old device driver which is now obsolete.
8837         * src/devices/grohtml-old/*: Removed.
8838         * font/devhtml-old/*: Removed.
8839         * src/libs/libgroff/htmlindicate.cc (graphic_start, graphic_end):
8840         Remove comments.
8841         * Makefile.in (CCPROGDIRS, DEVDIRS): Updated.
8842         * test-groff (PATH): Updated.
8843         * tmac/Makefile.sub (NORMALFILES): Updated.
8844         * tmac/an-old.tmac: Remove special code for html-old device.
8845         Replace `html-or-html-old' register with `an-html'.
8846         * tmac/eqnrc: Updated.
8847         * tmac/html-old.tmac: Removed.
8848         * tmac/troffrc, tmac/troffrc-end: Updated.
8849         * tmac/www.tmac: Remove special code for html-old device.
8850         Replace `html-or-html-old' register with `www-html'.
8852         * src/libs/libgroff/tmpfile.cc (remove_tmp_files),
8853         src/libs/libgroff/htmlindicate.cc (graphic_end),
8854         include/htmlindicate.h, src/preproc/grn/*.cc,
8855         src/roff/groff/env.{cc,h}: Remove `void' parameter if used as a
8856         single argument for consistency with rest of source code.
8858         * aclocal.m4, tmac/an-old.tmac: Fix copyright.
8860 2001-04-13  Ruslan Ermilov  <ru@FreeBSD.org>
8862         * src/roff/troff/troff.man: Fixing typos.
8864 2001-04-13  Werner LEMBERG  <wl@gnu.org>
8866         * doc/pic.ms: Fixing many font switches.
8867         * doc/groff.texinfo: Fixes, additions.
8868         * MORE.STUFF: Updated.
8870 2001-04-12  Gaius Mulley  <gaius@glam.ac.uk>
8872         * src/devices/grohtml/grohtml.man: Updated manual page regarding
8873         simple anchor.
8874         * src/preproc/html/pre-html.cc (createImage): Fixed right hand
8875         cropping of images.
8876         (removeTempFiles): New function to tidy up temporary files.
8877         * src/preproc/html/pre-html.cc (main): Calls `removeTempFiles()'.
8878         Many fixes to do with the new inline suppress node and image regions
8879         are much tighter.
8880         * src/devices/grohtml/post-html.cc: New method `is_auto_img'.
8881         (generate_img_src): New function.
8882         (html_printer::do_auto_image): Utilizes it.
8883         (do_heading, do_title): Include inline images within their contents.
8884         (html_printer::begin_page): Tidied up comments that are issued to
8885         the html output file.
8886         (html_printer::do_fill): Fixed so that `.nf' works with fonts other
8887         than courier.
8888         (text_glob::is_br): New method used by do_heading.
8889         * tmac/s.tmac: If -Thtml then emit $1 in .IP rather than its
8890         equivalent diversion.
8891         * src/include/html-strings.h: Altered image tags to reflect the
8892         inline image node.
8893         * src/include/htmlindicate.h (html_end_suppress): Added `is_inline'
8894         parameter.
8895         * src/preproc/eqn/main.cc: Will suppress generation of image tags if
8896         it is already inside a pic image.  Only emit tags if the argument
8897         `-Tps:html' is present.
8898         * src/preproc/tbl/main.cc: Changes to reflect additional
8899         `html_end_suppress' parameter.
8900         * src/roff/troff/env.cc: Only emit eol tag if a node has been
8901         emitted since the last eol tag was written.
8902         * src/roff/troff/env.h: New boolean `emitted_node'.
8903         * src/roff/troff/input.cc (do_suppress): Handles extra suppress
8904         nodes \O3, \O4, \O5.  No longer use `output_low_mark_miny'.
8905         * src/roff/troff/node.cc (check_charinfo): New method. 
8906         (troff_output_file::determine_line_limits): Alterations to limit
8907         checking.
8908         * tmac/www.tmac: Changes to reflect new suppress nodes.
8909           
8910 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
8912         * src/devices/grohtml/post-html.cc (html_printer::add_to_sbuf):
8913         Escape the html_glyph in the buffer.
8914         (str_translate_to_html): Output the unescaped escaped_char.
8915         * src/devices/grohtml/html-text.cc (issue_table_begin): Set
8916         `frame=void', not `frame=none'.  Add `border=0'.
8918 2001-04-12  Werner LEMBERG  <wl@gnu.org>
8920         * PROBLEMS: Add some words on how to avoid wrapper macros.
8922 2001-04-11  Blake McBride  <blake@florida-software.com>
8924         * src/include/nonposix.h (fileno) [_MSC_VER]: Removed.
8926 2001-04-11  Werner LEMBERG  <wl@gnu.org>
8928         * font/devlbp/Makefile.sub (CLEANADD): Set it.
8929         * tmac/Makefile.sub (CLEANADD): Add tmac.local-s.
8930         * Makefile.in (dist): Don't remove src/xditview/Imakefile, but ...
8931         * Makefile.sub (DISTCLEANFILES): Here.
8933         * libs/libgroff/new.cc: Include `nonposix.h'.
8934         * win32-diffs: Updated.
8936 2001-04-10  Ruslan Ermilov  <ru@FreeBSD.org>
8938         Added skeleton macro for defunct macros.
8940         Updated documentation.
8942         When inside displays, an empty input line warning should be
8943         suppressed.  If another macro call is put inside a display,
8944         all subsequent empty lines found in that display caused a
8945         warning to be emitted.
8947         * tmac/doc.tmac (doc-defunct-macro): New macro.
8948         (Db, Ds, Ex, Or, Sf): Reimplemented using this macro.
8949         (doc-restore-global-vars): Fixed typo.
8950         (doc-empty-line): Check the `doc-display-depth' register to
8951         determine whether we are inside display or not.
8953         * tmac/doc-common: Removed `Or' and `Sf' registers.
8954         Moved obsolete `Ds' macro to doc.tmac.
8956         * tmac/groff_mdoc.man: Bump document date.
8957         Document `.Vt' under ``Variable Types''.
8958         Removed documentation for obsolete `.Or' macro.
8960 2001-04-10  Werner LEMBERG  <wl@gnu.org>
8962         * NEWS: Updated.
8963         * doc/groff.texinfo: Many fixes, additions, clarifications, etc.
8965 2001-04-10  Bruno Haible  <haible@clisp.cons.org>
8967         * src/devices/grodvi/dvi.cc (main): Accept --help and --version.
8968         (usage): Add stream argument. Don't exit.
8969         * src/devices/grohtml/post-html.cc (main): Accept --help and --version.
8970         Write --version output to stdout, not stderr.
8971         (usage): Add stream argument. Don't exit.
8972         * src/devices/grohtml-old/html.cc (main): Accept --help and --version.
8973         (usage): Add stream argument. Don't exit.
8974         * src/devices/grolbp/lbp.cc (long_options): Use symbolic getopt.h
8975         constants.
8976         (usage): Add stream argument. Don't exit.
8977         (main): Write --help output to stdout, not stderr.
8978         * src/devices/grolj4/lj4.cc (main): Accept --help and --version.
8979         (usage): Add stream argument. Don't exit.
8980         * src/devices/grops/ps.cc (main): Accept --help and --version.
8981         (usage): Add stream argument. Don't exit.
8982         * src/devices/grotty/tty.cc (main): Accept --help and --version.
8983         (usage): Add stream argument. Don't exit.
8984         * src/preproc/eqn/main.cc (usage): Add stream argument. Don't exit.
8985         (main): Accept --help and --version.
8986         * src/preproc/grn/main.cc (usage): Add stream argument. Don't exit.
8987         (main): Accept --help and --version.
8988         * src/preproc/html/pre-html.cc (usage): Add stream argument.
8989         (scanArguments): Accept --help and --version.
8990         * src/preproc/pic/main.cc (usage): Add stream argument. Don't exit.
8991         (main): Accept --help and --version.
8992         * src/preproc/refer/refer.cc (main): Accept --help and --version.
8993         (usage): Add stream argument. Don't exit.
8994         * src/preproc/soelim/soelim.cc (usage): Add stream argument. Don't
8995         exit.
8996         (main): Accept --help and --version.
8997         * src/preproc/tbl/main.cc (usage): Add stream argument. Don't exit.
8998         (main): Accept --help and --version.
8999         * src/roff/groff/groff.cc (main): Accept --help and --version.
9000         (synopsis): Add stream argument.
9001         (help): Write --help output to stdout, not stderr.
9002         (usage): Add stream argument. Don't exit.
9003         * src/roff/grog/grog.pl: Accept --help and --version.
9004         (help): New sub.
9005         * src/roff/grog/grog.sh: Accept --help and --version.
9006         * src/roff/nroff/nroff.sh: Accept --help and --version.
9007         * src/roff/troff/input.cc (USAGE_EXIT_CODE): Remove macro.
9008         (usage): Add stream argument. Don't exit.
9009         (main): Accept --help and --version.
9010         * src/utils/addftinfo/addftinfo.cc (main): Accept --help and --version.
9011         (usage): New function with stream argument, doesn't exit.
9012         * src/utils/hpftodit/hpftodit.cc (main): Accept --help and --version.
9013         (usage): New function with stream argument, doesn't exit.
9014         * src/utils/indxbib/indxbib.cc (main): Accept --help and --version.
9015         (usage): Add stream argument. Don't exit.
9016         * src/utils/lkbib/lkbib.cc (usage): Add stream argument. Don't exit.
9017         (main): Accept --help and --version.
9018         * src/utils/lookbib/lookbib.cc (usage): Add stream argument. Don't
9019         exit.
9020         (main): Accept --help and --version.
9021         * src/utils/pfbtops/pfbtops.c (usage): Add stream argument. Don't exit.
9022         (main): Accept --help and --version.
9023         * src/utils/tfmtodit/tfmtodit.cc (main): Accept --help and --version.
9024         (usage): Add stream argument. Don't exit.
9026 2001-04-10  Ruslan Ermilov  <ru@freebsd.org>
9028         Fix indentation in SYNOPSIS.
9030         Updated to include changes of latest BSD mdoc version (basically,
9031         the only change is that `.Fn' and `.Fc' put a final semicolon after
9032         a function declaration in the SYNOPSIS section).
9034         * tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
9035         (doc-in-synopsis-section): New variable.  Updated all related
9036         functions.
9037         (doc-indent-synopsis-active): New register.
9038         (Nd, Fn, Fo): Use it.
9039         (Cd): It requires manipulation of \n[doc-indent-synopsis] so that
9040         `.Cd' with long argument line produces indented wrapped lines. 
9041         Also, the misplaced `.nop \*[doc-Nm-font]\c'' caused extra
9042         undesirable line break to be output.
9043         (doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
9044         `.rs'.
9045         (Fn, Fc): Add final `;' to output.
9046         (doc-save-global-vars, doc-restore-global-vars): Updated.
9047         * tmac/doc-common: Remove `Ex' register.
9048         Updated.
9049         * tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
9050         copyright.
9052 2001-04-06  Ruslan Ermilov  <ru@freebsd.org>
9054         * tmac/doc.tmac (Cd): Simplify code.
9055         * tmac/groff_mdoc.man: Document some behaviour of `Cd' request.
9057 2001-04-06  Werner LEMBERG  <wl@gnu.org>
9059         Implement continuous underlining for nroff mode.  To do that, a new
9060         request in the ditroff language has been added: `x u N' (N is 0
9061         or 1).
9063         \X and \Y are now transparent to end-of-sentence recognition.
9065         * src/include/printer.h (printer): Add `type' parameter to `special'
9066         method.
9067         * src/libs/libdriver/printer.cc (printer::special): Updated.
9068         * src/libs/libdriver/input.cc (do_file): Handle `x u N'.
9070         * src/devices/dvi/dvi.cc (dvi_printer::special): Handle only
9071         specials of type `p'.
9072         * src/devices/grohtml/post-html.cc (html_printer::special): Ditto.
9073         * src/devices/grohtml-old/html.cc (html_printer::special): Ditto.
9074         * src/devices/grops/ps.cc (ps_printer::special): Ditto.
9075         * src/devices/grotty/tty.cc: Add new enum CU_MODE.
9076         (glyph::order): New method.
9077         (tty_printer::add_char): Use it.
9078         (tty_printer::special): New method.
9079         (tty_printer::end_page): Implement it.
9081         * src/roff/troff/node.h (special_node): Add `no_init_string' member.
9082         * src/roff/troff/node.cc (special_node::special_node): Add parameter
9083         to set `no_init_string'.
9084         (special_node::tprint_start): Use it.
9085         (special_node::same, special_node::copy): Updated.
9086         (special_node::ends_sentence): New method.
9087         (troff_output_file::start_special): Add parameter to include
9088         inititialization of special conditionally.
9090         * src/roff/troff/env.h (environment): New member `underline_spaces'.
9091         * src/roff/troff/env.cc (do_underline_special): New function.
9092         (environment::set_font): Use it.
9093         (do_underline): Use it.  This was `underline()'.
9094         (underline): Call `do_underline()'.
9095         (continuous_underline): New function which calls `do_underline()'.
9096         (environment::newline): Use `do_underline_special()'.
9097         (init_env_requests): Updated.
9099         * NEWS, man/troff_out.man: Updated.
9101 2001-04-06  Bruno Haible  <haible@clisp.cons.org>
9103         * font/devutf8/R.proto: Fix code of 'shc'.
9105 2001-04-06  Ruslan Ermilov  <ru@freebsd.org>
9107         Many fixes.  Diag lists can now be nested also; additionally,
9108         `-compact' and `-offset' are supported.
9110         * tmac/doc.tmac (doc-have-indent): Replaced with ...
9111         (doc-list-have-indent-stackXXX): A new register stack.
9112         (doc-have-diag-list): Removed.
9113         (Bl): Use `doc-list-have-indent-stackXXX'.
9114         (El): Updated.
9115         (doc-diag-list): Use `doc-compact-list-stackXXX'.
9116         (doc-tag-list): Use `doc-list-have-indent-stackXXX'.
9117         (doc-set-vertical-and-indent): Ditto.
9118         (doc-next-list-depth): Removed.
9119         (doc-increment-list-stack): Updated.
9120         (doc-decrement-list-stack): Use `doc-list-depth' instead of
9121         `doc-next-list-depth'.
9122         (doc-end-list, doc-end-column-list): Don't use
9123         `doc-increment-list-stack'.
9124         (doc-set-column-tab): Don't use `doc-list-offset-stackXXX'.
9125         (doc-save-global-vars, doc-restore-global-vars): Updated.
9126         * tmac/doc-common: Updated.
9127         * tmac/groff_mdoc.man: Updated.
9128         * NEWS: Fix typo.
9130 2001-04-02  Werner LEMBERG  <wl@gnu.org>
9132         * src/devices/grotty/grotty.man: Fix grammatical error.
9134 2001-03-30  Ruslan Ermilov  <ru@freebsd.org>
9136         Remove .Ld from mdoc package; replace it with special handling of
9137         `...'.
9139         * tmac/doc-common: Remove `Ld' register.
9140         Uncomment `doc-volume-ds-*' strings.
9141         Remove `doc-operating-system-default'.
9142         (Os): Updated.
9143         * tmac/doc-syms (Ld): Removed.
9144         * tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
9145         `...' specially.
9146         * NEWS: Updated.
9148         * tmac/groff_mdoc.man: Many fixes and updates.
9150 2001-03-29  Werner LEMBERG  <wl@gnu.org>
9152         * tmac/troffrc-end: Protect data with `.do'.  Reported by T. Kurt
9153         Bond <tkb@tkb.mpl.com>.
9154         * tmac/www.tmac: Save compatibility mode.
9156 2001-03-28  Ruslan Ermilov  <ru@freebsd.org>
9158         * tmac/groff_mdoc.man: Many fixes.
9160 2001-03-28  Werner LEMBERG  <wl@gnu.org>
9162         * src/preproc/soelim/soelim.man: Document that `.<whitespace>so'
9163         isn't recognized.
9165 2001-03-27  Werner LEMBERG  <wl@gnu.org>
9167         * tmac/an-old.tmac (TP, an-do-tag): Reduce line length while in
9168         diversion.  This fixes overlong tags.
9170 2001-03-26  Werner LEMBERG  <wl@gnu.org>
9172         * doc/groff.texinfo: Fixed and improved documentation of fonts.
9173         * tmac/doc-syms: Fix error messages.
9174         * tmac/an-old.tmac: Remove incorrect double backslashes.
9176 2001-03-24  Ruslan Ermilov  <ru@freebsd.org>
9178         * tmac/Makefile.sub: Strip mdoc.local also
9179         * tmac/strip.sed: Fixed.
9181 2001-03-24  Werner LEMBERG  <wl@gnu.org>
9183         * tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
9184         selecting the font size.
9185         * tmac/groff_mdoc.man, NEWS: Document it.
9187 2001-03-23  Werner LEMBERG  <wl@gnu.org>
9189         * src/roff/troff/div.cc (save_vertical_space): Add default argument
9190         to `sv' request.
9191         * src/roff/troff/env.cc (family_change): Make `.fam' accept no
9192         argument to restore previous font family.
9193         * src/roff/troff/troff.man, man/groff.man, NEWS: Updated.
9195         * doc/groff.texinfo: More fixes and additions (mainly for font
9196         manipulating commands).
9198         * tmac/groff_mdoc.reference.man: Small updates and renamed to ...
9199         * tmac/groff_mdoc.man: This.  The quick reference has been removed.
9200         * tmac/Makefile.sub, NEWS: Updated.
9202 2001-03-23  Werner LEMBERG  <wl@gnu.org>
9204         Replaced mdoc implementation.  The new version is `state of the
9205         art', using almost all new features of groff 1.17 -- it won't run
9206         with older versions.
9208         * tmac/doc.tmac: Completely rewritten.
9209         * tmac/doc-common: Ditto.
9210         * tmac/doc-nroff: Ditto.
9211         * tmac/doc-ditroff: Ditto.
9212         * tmac/doc-syms: Ditto.
9213         * tmac/mdoc.local: New file.
9214         * tmac/groff_mdoc.samples.man: Replaced with ...
9215         * tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
9216         * tmac/strip.sed: Updated.
9217         * tmac/Makefile.sub: Updated.
9218         * INSTALL: Updated.
9220         * tmac/groff_man.man: Add `man.local' to the FILES section.
9222 2001-03-22  Werner LEMBERG  <wl@gnu.org>
9224         * doc/groff.texinfo: Added many @noindent.
9225         Replaced @end_Example -> @endExample.
9226         Added info whether registers are r/o.
9227         Many other additions and fixes.
9229 2001-03-21  Werner LEMBERG  <wl@gnu.org>
9231         * doc/groff.texinfo: Added macro @Var (and some hacks due to bugs
9232         in makeinfo of texinfo 4.0) to be used in @Def* macros.
9233         Improved @Def* macros: Now the exact syntax of request, register,
9234         and escapes is shown.
9235         Added macros for parentheses and brackets to be used in @Def*.
9236         Many fixes and improvements of the documentation.
9238 2001-03-20  Werner LEMBERG  <wl@gnu.org>
9240         * doc/groff.texinfo: Added new index: `st' (for strings).
9241         Added macros @Defstr(x).
9242         Added macro @Example (adding @group).
9243         Other minor improvements.
9245 2001-03-19  Werner LEMBERG  <wl@gnu.org>
9247         * doc/groff.texinfo: Added two new indices: `es' (for escapes) and
9248         `rq' for requests.  `fn' is no longer used.
9249         Added macros @Defreq(x), @Defreg(x), and @Defesc(x).
9250         Removed @Deffn(x).
9252         * tmac/an-old.tmac (an-p-footer): If `cR' is set, replace page
9253         number with name of man page.
9255 2001-03-19  Larry Kollar  <kollar@alltel.net>
9257         * doc/groff.texinfo: Complete revision.  Added many @Deffn to gain
9258         consistency.
9260 2001-03-19  Werner LEMBERG  <wl@gnu.org>
9262         * man/groff_font.man: Document `prepro', `postpro', and `print'.
9263         * src/roff/groff/groff.man: Improve documentation of `-l' and `-L'.
9264         * src/devices/grohtml/grohtml.man: Fixing typos.
9266 2001-03-19  Gaius Mulley  <gaius@glam.ac.uk>
9268         * tmac/s.tmac (@IP): Pass `.ip' html tag.
9269         * tmac/groff_mwww.man: Remove .LINE macro
9270         * tmac/www.tmac (LINE): Add `.ti'.
9272         * src/devices/grohtml/post-html.cc (html_printer): New member
9273         `indent'.
9274         (html_printer::emit_raw): Use it.
9275         (html_printer::do_linelength): Ditto.
9276         (html_printer::do_pageoffset): Ditto.
9277         (html_printer::do_indentation): Ditto.
9278         (html_printer::do_tempindent): Ditto.
9279         (html_printer::do_break): Ditto.
9280         (html_printer::begin_page): Ditto.
9281         (html_printer::do_indentedparagraph): New function.
9282         (html_printer::troff_tag): Handle `.ip'.
9283         * src/devices/grohtml/html-text.cc (html_text::issue_table_begin):
9284         Add `<td width=...>' handling.
9285         (html_text::do_table): Add parameter.
9286         (html_text::do_indent): Updated.
9287         * src/devices/groohtml/html-text.h: Updated.
9289 2001-03-16  Gaius Mulley  <gaius@glam.ac.uk>
9291         Introduced simple html tables to implement indentation.
9293         * src/devices/grohtml/html.h (word, word_list): New structures.
9294         (simple_output): Use it.
9295         * src/devices/grohtml/post-html.cc: Add `INDENTATION'.
9296         (html_printer): Improve indentation handling.
9297         (html_printer::emit_raw): Set `in_table' element.  Handle
9298         indentation if set.
9299         (html_printer::write_header): Move conditional downwards.
9300         Don't allow whitespace in tags.
9301         (html_printer::do_linelength): Handle line length and indentation
9302         conditionally.
9303         (html_printer::do_pageoffset): Handle indentation conditionally.
9304         (html_printer::do_indentation): Ditto.
9305         (html_printer::do_tempindent): New function member.
9306         (html_printer::do_fill): Take care of indentation.
9307         (html_printer::do_flush): Finish table.
9308         (html_printer::do_links): Ditto.
9309         (html_printer::do_break): New function for handling `.br' and `.ti'.
9310         (html_printer::troff_tag): Use it.
9311         Handle `.ti'.
9312         (html_printer::flush_globs): Fix.
9313         (html_printer::flush_page): Finish table.
9314         (html_printer::html_printer): Fix error message.  Set up
9315         `linelength'.
9316         (html_printer::add_to_sbuf): Remove special handling of character
9317         code 255.
9318         (to_unicode): Remove `stop()'.
9319         (html_printer::write_title): Cleanup.
9320         (html_printer::begin_page): Use `put_string()'.  Handle indentation.
9321         (html_printer::~html_printer): Flush text and end the line.
9322         Use `put_string()'.
9323         * src/devices/grohtml/html_text.h: Add more *_TAG enum values.
9324         * src/devices/grohtml/html_text.cc (html_text::end_tag): Fix
9325         emission of tags.
9326         (html_text::start_tag): Disable newlines.
9327         (html_text::table_is_void): New function.
9328         (html_text::issue_table_begin): Ditto.
9329         (html_text::issue_table_end): Ditto.
9330         (html_text::push_para): Better table handling.
9331         (html_text::do_indent): New function.
9332         (html_text::do_table): Ditto.
9333         (html_text::done_table): Ditto.
9334         (html_text::do_tt): Handle PRE_TAG.
9335         (html_text::is_in_table): New function.
9336         (html_text::check_emit_text): Handle tables.
9337         (html_text::do_emittext): Use `nl()'.
9338         (html_text::do_para): Handle table.
9339         (html_text::remove_def): New function.
9340         * src/devices/grohtml/output.cc (word, word_list): Implement
9341         methods.
9342         (simple_output::end_line): Flush last word.
9343         (simple_output::simple_comment): Ditto.
9344         (simple_output::begin_comment): Recoded.
9345         (simple_output::end_comment): Ditto.
9346         (simple_output::comment_arg): Removed.
9347         (simple_output::check_newline): Improve test and flush last word.
9348         (simple_output::space_or_newline): Improved.
9349         (simple_output::write_newline): Replaced with...
9350         (simple_output::nl): This.
9351         (simple_output::put_raw_char): Flush last word.
9352         (simple_output::check_space): Removed.
9353         (simple_output::put_translated_string): Ditto.
9354         (simple_output::put_string): Simplified.
9355         (simple_output::put_number): Updated.
9356         (simple_output::put_float): Ditto.
9357         (simple_output::put_symbol): Removed.
9358         (simple_output::enable_newlines): Add `check_newline()'.
9359         (simple_output::flush_last_word): New function.
9361         * src/roff/troff/enc.cc (no_fill): Remove call to add_html_tag().
9362         * src/roff/troff/div.cc (page_offset): Add call to add_html_tag().
9364         * tmac/s.tmac (@PP, @IP): Add html conditional code.
9365         * tmac/an-old.tmac (TP): Ditto.
9367 2001-03-09  Ruslan Ermilov  <ru@freebsd.org>
9369         * mdate.sh: Make it POSIX compliant.
9371 2001-03-09  Werner LEMBERG  <wl@gnu.org>
9373         Added the `return' request to end a macro immediately.  It simply
9374         pops iterators from the input stack until a macro iterator is found.
9376         * src/roff/troff/input.cc (input_iterator::is_macro,
9377         macro_iterator::is_macro): New member.
9378         (input_return_boundary): New class to signal an immediate return
9379         to while_request().
9380         (input_stack::add_return_boundary, input_stack::is_return_boundary):
9381         New functions.
9382         (input_stack::clear): Use it.
9383         (input_stack::pop_macro): New function.
9384         (while_request): Use `is_return_boundary()'.
9385         (return_macro_request): New function.
9386         (init_input_requests): Use it.
9388         * src/roff/troff/TODO: Updated.
9389         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
9391 2001-03-08  Werner LEMBERG  <wl@gnu.org>
9393         * src/roff/troff/input.cc (input_iterator::is_boundary): Minor
9394         cleanup.
9396 2001-03-07  Werner LEMBERG  <wl@gnu.org>
9398         Make `\B' more rigid.
9400         * src/roff/troff/number.cc (parse_expr, parse_term): Add `rigid'
9401         parameter.
9402         (get_number_rigidly): New function.
9403         * src/roff/troff/input.cc (do_expr_test): Use it.
9404         * src/roff/troff/token.h: Updated.
9406         * src/roff/troff/request.h: Fix typo (init_html_request ->
9407         init_markup_request).
9409 2001-03-04  Gaius Mulley  <gaius@glam.ac.uk>
9411         Fixed grohtml handling of any named glyph for glyph indexes < 0x80. 
9412         Cosmetic changes to `.html-begin', `.html-end', `.html-image' which
9413         are now `.begin', `.end', `.image'.
9415         * src/devices/grohtml/post-html.cc: Adding UNICODE_DESC_START.
9416         (html_printer::add_to_sbuf): Changing type of `code' parameter.
9417         Use add_char_to_sbuf().
9418         (to_unicode): New function.
9419         (char_translate_to_html): Changing type of `ch' parameter.
9420         Use `to_unicode()'.
9421         (html_printer::~html_printer): Comment out doctype string.
9422         * src/preproc/html/pre-html.cc (write_end_image): Use `.end'
9423         instead of `.html-end'.
9424         (write_start_image): Use `.begin' and `.image' instead of
9425         `.html-begin' and `.html-image'.
9426         * src/roff/troff/input.cc: Rename `html_level' to `begin_level'.
9427         (html_begin): Renamed to ...
9428         (begin): This.
9429         (html_end): Renamed to ...
9430         (end): This.
9431         (html_image): Renamed to ...
9432         (image): This.
9433         (init_html_requests): Renamed to ...
9434         (init_markup_requests): This.
9435         * tmac/www.tmac: Updated.
9437 2001-02-28  Bram  <bram@avontuur.org>
9439         * src/libs/libgroff/font.cc (font_widths_cache): Fixing syntax of
9440         constructor.
9442 2001-02-26  David Leonard  <david.leonard@csee.uq.edu.au>
9444         * doc/meref.me: Fixing some typos.
9446 2001-02-16  Werner LEMBERG  <wl@gnu.org>
9448         * src/roff/troff/node.cc (space_node::get_hyphenation_type): New
9449         method.  Return `HYPHEN_MIDDLE' if it was `\:'.
9450         * src/roff/troff/node.h: Updated.
9452 2001-02-17  Ruslan Ermilov  <ru@FreeBSD.org>
9454         * tmac/groff_tmac.man: Fix typo.
9456 2001-02-16  Werner LEMBERG  <wl@gnu.org>
9458         Fixing a bug which prevented proper end-of-sentence recognition
9459         between an `unformatted' box and the following text.  As a
9460         consequence, vertical line distances are no longer preserved in
9461         boxes after a call to `.unformat' -- because boxes aren't
9462         line-oriented (contrary to diversions), this doesn't make sense
9463         anyway.
9465         * src/roff/troff/node.cc (*node::set_unformat_flag): Add return
9466         value.
9467         (vertical_size_node::set_unformat_flag): New method.
9468         * src/roff/troff/node.hh: Updated.
9469         * src/roff/troff/input.cc (word_space_node::reread,
9470         hmotion_node::reread): Reset `unformat' flag after usage.
9471         (unformat_macro): Append only if `set_unformat_flag()' returns
9472         non-zero.
9473         * src/roff/troff/troff.man: Updated.
9475 2001-02-15  Werner LEMBERG  <wl@gnu.org>
9477         * src/roff/troff/troff.man, NEWS, man/groff.man: Improved
9478         documentation of `asciify' and `unformat' requests.
9480 2001-02-13  Werner LEMBERG  <wl@gnu.org>
9482         Redesigned the `unformat' request.  It is no longer connected with
9483         `asciify' but rather uses new `reread()' methods if the `unformat'
9484         flag is set.  Additionally, the handling of space characters after
9485         unformatting has been fixed so that they retain their width.
9487         * src/roff/troff/node.h (width_list): New structure to store
9488         original widths of spaces.
9489         (node): Added `unformat' member.
9490         Replaced `num_spaces' variable with `orig_width' list.
9491         * src/roff/troff/node.cc (*node::asciify,
9492         asciify_reverse_node_list): Removed `unformat_only' flag and related
9493         code.
9494         (word_space_node::asciify, word_space_node::word_space_node): Use
9495         `orig_width'.
9496         (word_space_node::~word_space_node): New destructor.
9497         (word_space_node::copy): Updated to handle `orig_width'.
9498         (hmotion_node::copy, unbreakable_space_node::copy): Updated.
9499         (*node::merge_space): Update `orig_width' list if necessary.
9500         (*node::set_unformat_flag): New methods to set the `unformat' flag.
9501         * src/roff/troff/enc.cc (environment::space_newline): Use
9502         `width_list'.
9503         (environment::space): Added method to handle space width and
9504         sentence space width as parameters.  Use `width_list'.
9505         (environment::make_tab_node): Updated.
9506         * src/roff/troff/env.h: Updated.
9507         * src/roff/troff/input.cc (word_space_node::reread,
9508         unbreakable_space_node::reread, hmotion_node::reread): New methods
9509         to handle nodes specially if `unformat' flag is set.
9510         (do_asciify_macro): Renamed back to ...
9511         (asciify_macro): This.
9512         (unformat_macro): New implementation to simply set the `unformat'
9513         flag.
9515         * MORE.STUFF: Added more info about deroff.
9517 2001-02-08  Werner LEMBERG  <wl@gnu.org>
9519         * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
9520         space_char_hmotion_node, overstrike_node): Add `get_hyphen_list()'
9521         and `add_self()' methods to avoid hyphenation.  For example, the
9522         hyphen list for `foo\0\0bar' was `foobar', causing insertion of a
9523         soft hyphen after `foo'.  Now the hyphen list is correctly
9524         `foo<ignore><ignore>bar'.
9526 2001-02-05  Yoshiteru Kageyama  <yt-kage@cb3.so-net.ne.jp>
9528         * tmac/groff_tmac.man: Fix `BIR' macro.
9530 2001-02-04  Werner LEMBERG  <wl@gnu.org>
9532         A new escape sequence `\:', inserting a zero-width break point.
9534         * src/roff/troff/input.h: Adding `ESCAPE_COLON'.
9535         * src/roff/troff/input.cc (get_copy, token::next, asciify):
9536         Implement it.
9537         * src/roff/troff/node.h (node): Add `is_escape_colon()' virtual
9538         method.
9539         (space_node): Add `was_escape_colon' member.  Add `is_escape_colon()'
9540         and `asciify()' methods.
9541         * src/roff/troff/node.cc (space_node::space_node): Updated.
9542         (space_node::asciify): Handle `was_escape_colon'.
9543         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
9545         Handle `\~' similar to other comparable requests.
9547         * src/roff/troff/input.cc (process_input_stack): Remove now obsolete
9548         label.
9549         (token::next): Move creation of an unbreakable_space_node to...
9550         (token::add_to_node_list): Here.
9552         Fix a bug which sometimes prevented hyphenation of words connected
9553         with `\~' or `\ ' (and other escape sequences handled as
9554         TOKEN_NODE).  This also fixes a hyphenation problem with boxes
9555         (after a call to the `unformat' request).
9557         * src/roff/troff/env.h (environment::possibly_break_line,
9558         environment::hyphenate_line): Introducing `start_here' parameter.
9559         * src/roff/troff/env.cc (environment::space_newline,
9560         environment::space): Use it.
9561         (environment::possibly_break_line, environment::hyphenate_line):
9562         Implement it.
9563         * src/roff/troff/input.cc (process_input_stack): Use it.
9564         * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
9565         space_char_hmotion_node, overstrike_node): Add
9566         `get_hyphenation_type()' method.
9567         * src/roff/troff/node.cc (break_char_node::asciify): Don't asciify
9568         if `unformat_only' is active.
9570 2001-01-30  Werner LEMBERG  <wl@gnu.org>
9572         Implemented new read-only number register `.linetabs' which
9573         returns 1 if in line-tabs mode, 0 otherwise.
9575         * src/roff/troff/env.h (environment): Add get_line_tabs() member.
9576         * src/roff/troff/env.cc (get_line_tabs): New function.
9577         (init_env_requests): Use it.
9578         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
9580         * VERSION, REVISION: Changing to 1.17.0.
9582 2001-01-28  Werner LEMBERG  <wl@gnu.org>
9584         Fixed a bug which prevented hyphenation of words which are finished
9585         with `\)'.
9587         * src/roff/troff/token.h (token): Add enum type
9588         `TOKEN_TRANSPARENT_DUMMY' and method `transparent_dummy()'.
9589         * src/roff/troff/input.cc (token::next, token::description,
9590         get_line_arg, token::add_to_node_list, token::process): Use it.
9592 2001-01-27  Werner LEMBERG  <wl@gnu.org>
9594         * src/roff/troff/div.h (diversion): Add `saved_prev_line_interrupted'.
9595         * src/roff/troff/div.cc (do_divert): Use it.
9597         * src/roff/troff/input.cc (asciify): Add ESCAPE_RIGHT_PARENTHESIS.
9599 2001-01-25  Werner LEMBERG  <wl@gnu.org>
9601         Adding the `linetabs' request.  If set, tab distances are not
9602         computed relative to the input line but relative to the output line.
9604         * src/roff/troff/env.h (environment): New member `line_tabs'.
9605         * src/roff/troff/env.cc (line_tabs_request): Implement request.
9606         (environment::environment, environment::copy): Updated.
9607         (environment::distance_to_next_tab): Use `line_tabs'.
9608         (init_env_requests): Register request.
9609         * src/roff/troff/troff.man, man/groff.man, NEWS: Document it.  Other
9610         fixes.
9612 2001-01-24  Werner LEMBERG  <wl@gnu.org>
9614         Introducing a new read-only register `.int' which is set to a
9615         positive value if the last output line is interrupted (i.e., if it
9616         contains `\c').
9618         * src/roff/troff/env.cc (init_env_requests): Add it.
9619         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
9621 2001-01-23  Gaius Mulley  <gaius@glam.ac.uk>
9623         * tmac/mwww.tmac: Call `www.tmac', not `arkup.tmac'.
9624         * src/preproc/html/pre-html.cc (findPrefix): New function which
9625         generates the troff executable name via the system prefix.
9626         * src/preproc/eqn/main.cc: Modified warning message.
9628 2001-01-23  Werner LEMBERG  <wl@gnu.org>
9630         troff's `box' and `boxa' requests didn't preserve temporary
9631         indentation.
9633         * src/roff/troff/div.h (diversion): Add `saved_saved_indent' and
9634         `saved_target_text_length' members.
9635         * src/roff/troff/div.cc (do_divert): Use them.
9637         Tabs (but not yet leaders and fields) are now handled correctly by
9638         `asciify' request.
9640         * node.h (hmotion_node): Add field `was_tab'.
9641         * env.cc (environment::make_tab_node): Set it.
9642         * node.cc (hmotion_node::copy, hmotion_node::asciify): Use it.
9644         Added new request `unformat' which will, contrary to `asciify',
9645         preserve font information after unformatting (i.e., only nodes
9646         dealing with horizontal space are converted back to input
9647         characters).
9649         * input.cc (asciify_macro): Renamed to ...
9650         (do_asciify_macro): this, having a new parameter `unformat_only'.
9651         (asciify_macro, unformat_macro): New; using do_asciify_macro.
9652         (init_input_requests): Added `unformat'.
9653         * node.cc (*_node::asciify), asciify_reverse_node_list: Added
9654         parameter to control asciification process.
9655         * node.h (*_node::asciify): Ditto.
9656         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
9658 2001-01-20  Werner LEMBERG  <wl@gnu.org>
9660         * doc/groff.texinfo: Minor improvement of `.in' documentation.
9662 2001-01-18  Werner LEMBERG  <wl@gnu.org>
9664         * tmac/ps.tmac: Remove call of psold.tmac.
9665         * tmac/psold.tmac: Comment updated.
9666         * tmac/psnew.tmac: Removed since no longer needed.
9667         * tmac/Makefile.sub, NEWS, src/devices/grops/grops.man: Updated.
9669         * font/devutf8/R.proto: Adding `shc' glyph.
9670         * font/devutf8/NOTES: Updated.
9672         * test-groff: Updated.
9674 2001-01-15  Gaius Mulley  <gaius@glam.ac.uk>
9676         First cut of the new html device driver.  Changes to pre-html and
9677         the new grohtml are too numerous to be documented here.
9679         Stuff related to `html' has been renamed to `html-old' and `html2'
9680         stuff has been renamed to `html' (including directories).  The new
9681         html device driver is therefore invoked as `-Thtml'.
9683         Added new `\O' escape to suppress output (needed by html driver).
9685         Added functions and code to pass info about input-level commands
9686         (`.in', `.fl', etc.) to html driver.
9688         Three new functions (.html-begin, .html-end, and .html-image) for
9689         better html handling: `html-begin' will execute the remaining line
9690         if at the outermost nesting level, increasing an internal counter.
9691         `html-end' does the same but decreases the internal counter.
9692         `html_image' puts its arguments into a special node (suppress_node)
9693         to define an image region.
9695         The `output' request has been removed.
9697         * tmac/html-tags.tmac: Removed.
9698         * tmac/arkup.tmac: Updated and renamed to ...
9699         * tmac/www.tmac: New file.
9700         * tmac/markup.tmac Updated and renamed to ...
9701         * tmac/mwww.tmac: New file.
9702         * tmac/Makefile.sub: Updated.
9703         * tmac/an-old.tmac: Updated.
9704         * tmac/eqnrc: Updated.
9705         * tmac/groff_man.man
9706         * tmac/groff_markup.man: Updated and renamed to ...
9707         * tmac/groff_mwww.man: New file.
9708         * tmac/groff_tmac.man: Updated.
9709         * tmac/html-old.tmac: Updated and Renamed from html.tmac.
9710         * tmac/html.tmac: Updated and renamed from html2.tmac.
9711         * tmac/pspic.tmac: Updated html support.
9712         * tmac/s.tmac: Added html output support.
9713         * tmac/troffrc, tmac/troffrc-end: Updated.
9715         * Makefile.in, doc/Makefile: Updated.
9716         * doc/groff.texinfo: Added info about new `\O' escape.
9717         * doc/homepage.ms: Use `MAILTO' macro.
9719         * font/devhtml/DESC.proto: Add `C' font.
9720         * font/devhtml/Makefile.sub: Updated.
9721         * font/devhtml/R.proto: Minor fixes.
9722         * font/devhtml-old/Makefile.sub: Updated.
9724         * src/devices/grohtml-old/Makefile.sub: Updated.
9726         * src/libs/libdriver/printer.cc (printer::get_font_from_index): New
9727         method.
9728         * src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
9729         graphic_start): Add `inline' parameter.  Update.
9730         (html_end_suppress, graphic_end): Update.
9732         * src/include/html-strings.h: New file.
9733         * src/include/htmlindicate.h: Comments updated.
9734         * src/include/printer.h: Updated.
9736         * src/preproc/eqn/main.cc (do_file, main): Updated.
9737         * src/preproc/pic/troff.cc (troff_output::start_picture,
9738         troff_output::finish_picture): Updated.
9739         * src/preproc/tbl/main.cc (process_input_file): Updated.
9741         * src/roff/groff/groff.cc (main): Updated.
9742         Pass device arguments to predrivers also.
9743         Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
9744         * src/roff/troff/env.h (environment): Updated.
9745         New elements `need_eol' and `ignore_next_eol' (for html output).
9746         * src/roff/troff/env.cc (environment::environment): Add initializers
9747         for `need_eol' and `ignore_next_eol'.
9748         (environment::add_html_tag_eol, environment::add_html_tag_tabs): New
9749         functions.
9750         (point_size, fill, no_fill, center, right_justify, line_length,
9751         indent, temporary_indent, break_request, handle_tab): Use
9752         `add_html_tag()'.
9753         (set_tabs): Use `add_html_tag_tabs()'.
9754         (environment::add_html_tag): Updated.
9755         (environment::do_break): Updated.
9756         * src/roff/troff/div.cc (space_request, flush_output): Use
9757         `environment::add_html_tag()'.
9758         * src/roff/troff/input.cc: Updated.
9759         New variable `html_level' to indicate nested `html-begin' requests.
9760         (file_iterator::fill): Use `environment::add_html_tag_eol()'.
9761         (non_interpreted_char_node, token_node, non_interpreted_node): Add
9762         `force_tprint()' method.
9763         (token::next): Handle `\O'.
9764         (do_suppress): Implement it.
9765         (html_begin, html_end, html_image): New functions.
9766         (init_output_requests): Renamed to ...
9767         (init_html_requests): this.
9768         (main): Use it.
9769         (macro::append_str, macro::append_unsigned, macro::append_int): New
9770         methods.
9771         New variable `output_low_mark_miny' to limit minimal value of y.
9772         (reset_output_registers): Use it.
9773         (output_request): Removed.
9774         (get_output_registers): New function.
9775         * src/roff/troff/node.h (node): Make `force_tprint()' virtual.
9776         (*_node): Added `force_tprint()' if necessary.
9777         (special_node): New elements `tf' and `get_tfont()'.
9778         (suppress_node): New class.
9779         * src/roff/troff/node.cc:
9780         New global variables `image_no' and `suppress_start_page'.
9781         (real_output_file): New method `is_on()'.
9782         (troff_output_file): New method `start_special(tfont)'.
9783         (troff_output_file::really_print_line): Use `tprint' conditionally.
9784         (real_output_file::print_line): Updated.
9785         (real_output_file::on): Updated.
9786         (*_node): Added `force_tprint()'.
9787         (special_node::special_node): Initializer updated.
9788         (special_node::same, special_node::copy, special_node::tprint_start):
9789         Updated.
9790         (get_reg_int, get_reg_str): New functions.
9791         (suppress_node::*): New methods.
9792         New global variables last_position, last_image_filename;
9793         (min): New inline function.
9794         * src/roff/troff/reg.h, src/roff/troff/request.h,
9795         src/roff/troff/troff.h: Updated.
9797 2001-01-13  Werner LEMBERG  <wl@gnu.org>
9799         * NEWS, src/roff/troff/troff.man, doc/groff.texinfo: Fix
9800         documentation of `asciify' request.
9802 2001-01-12  Werner LEMBERG  <wl@gnu.org>
9804         * src/roff/troff/input.cc: Move definition of special characters
9805         like `ESCAPE_TILDE' to ...
9806         * src/roff/troff/input.h: New file.
9807         * src/roff/troff/Makefile.sub (HDRS): Add it.
9809         Extending the .asciify request to `unformat' space characters also.
9811         * src/roff/troff/node.h (word_space_node): Add `num_spaces' element
9812         to count input space characters.
9813         Update constructors to take care of it.
9814         * src/roff/troff/node.cc (space_char_hmotion_node::asciify): Use
9815         `ESCAPE_SPACE' instead of normal space.
9816         (word_space_node::asciify): New method.
9817         (unbreakable_space_node::asciify): New method.
9818         (word_space_node::merge_space): New method.
9819         * src/roff/troff/env.cc (environment::space_newline,
9820         environment::space): Add code to initialize `num_spaces' (using the
9821         constructor of `word_space_node').
9822         * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
9823         Document it.
9825 2001-01-09  Werner LEMBERG  <wl@gnu.org>
9827         * man/groff_char.man: Use table header traps only conditionally.
9829 2001-01-09  Bjarni Ingi Gíslason  <bjarniig@hi.is>
9831         * man/groff_char.man: Add `ý' and `Ý' to the `acute' group.
9833 2001-01-08  Werner LEMBERG  <wl@gnu.org>
9835         Introducing the `box' and `boxa' requests which are similar to
9836         `di' resp. `da' but omitting a partially filled line (which is
9837         restored after ending the diversion).
9839         * src/roff/troff/div.h (diversion): Add elements to save partially
9840         filled line.
9841         * src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save
9842         partially filled line.
9843         (divert, divert_append): Updated.
9844         (box, box_append): New functions.
9845         (init_div_requests): Use them.
9846         * src/roff/troff/env.h (environment): do_divert() is now a friend.
9847         * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
9849         * doc/groff.texinfo: Fix documentation of `lf' request.
9851 2000-12-25  Werner LEMBERG  <wl@gnu.org>
9853         * src/roff/troff/troff.man, NEWS: Document `writem' request.
9855 2000-12-21  Werner LEMBERG  <wl@gnu.org>
9857         Ignore `ss' request if in compatibility mode.
9859         * src/roff/troff/input.cc: Make `compatible_flag' non-static.
9860         * src/roff/troff/env.h: Added extern `compatible_flag' declaration.
9861         * src/roff/troff/env.cc (space_size): Use it.
9863         * doc/groff.texinfo, src/roff/troff/troff.man: Fix documentation of
9864         `ss' request in nroff mode.
9866         * tmac/an-old.tmac: Fixed some serious bugs introduced with latest
9867         changes.
9869 2000-12-15  Ruslan Ermilov  <ru@FreeBSD.org>
9871         * tmac/troffrc, tmac/troffrc-end: Convert tmac.* to *.tmac.
9873 2000-12-13  Werner LEMBERG  <wl@gnu.org>
9875         * src/preproc/eqn/Makefile.sub (MAN1): Added neqn.man.
9876         * src/preproc/eqn/neqn.man: Small fixes and additions.
9878 2000-12-13  Ruslan Ermilov  <ru@FreeBSD.org>
9880         * src/utils/addftinfo/addftinfo.man, src/devices/grops/grops.man:
9881         Fixing typo.
9883         * src/preproc/eqn/neqn.man: New file.
9885         * src/preproc/tbl/table.cc (table::print): Fix `indent cannot be
9886         negative' warning.
9888         * tmac/e.tmac: Add `T&' macro.
9889         Fix `indent cannot be negative' warning.
9890         * tmac/s.tmac: Fix `indent cannot be negative' warning.
9892 2000-12-07  Werner LEMBERG  <wl@gnu.org>
9894         * src/include/lib.h: Replaced __ALPHA with __alpha symbol.
9896 2000-12-06  Werner LEMBERG  <wl@gnu.org>
9898         * PROBLEMS: Added info about adding -lPW on HP-UX to satisfy the
9899         `alloca' symbol .
9901         * MORE.STUFF: Added info about deroff for djgpp.
9903         * tmac/an-old.tmac, tmac/groff_man.man, doc/groff.texinfo, NEWS: Fix
9904         documentation of -rcR switch.
9906 2000-12-03  Werner LEMBERG  <wl@gnu.org>
9908         * tmac/an-old.tmac: Implementing the -rcR switch (similar to mdoc);
9909         if -rcR=1 (which is now the default in nroff mode), a single, very
9910         long page is created instead of multiple pages: All `ne' and `wh'
9911         requests are put into conditionals; a new macro `an-end' is added to
9912         be called with `em'.
9914         Some other minor cleanups.
9916         * NEWS, tmac/groff_man.man, doc/groff.texinfo: Updated.
9918 2000-12-02  Werner LEMBERG  <wl@gnu.org>
9920         Fixing a bug which prevented hyphenation in words followed
9921         immediately by a TOKEN_NODE (e.g. `\ ', `\~', etc.).
9923         * src/roff/troff/input.cc (process_input_stack <token::TOKEN_NODE>):
9924         Adding possibly_break_line().
9925         * src/roff/troff/env.h (environment): Make possibly_break_line()
9926         public.
9928         Make `\~' usable in .tr request.
9930         * src/roff/troff/token.h (token_type): Add TOKEN_STRETCHABLE_SPACE.
9931         (token): Add stretchable_space().
9932         * src/roff/troff/input.cc (token::next, token::delimiter,
9933         token::description, process_input_stack, do_translate,
9934         add_to_node_list, token::process): Use it.
9935         * src/roff/troff/node.h (node): Add fourth parameter to add_char()
9936         for adjusting the space.
9937         * src/roff/troff/node.cc (node::add_char): Implement it.  Add code
9938         for stretchable space.
9939         * src/roff/troff/input.cc (token::add_to_node_list): Use it.
9940         (make_node): Add code for stretchable space.
9941         * src/roff/troff/env.cc (environment::add_char): Use it.
9942         * src/roff/troff/input.cc: Add ESCAPE_TILDE special character.
9943         (get_copy, token::next, transparent_translate, asciify): Use it.
9945         * NEWS, src/roff/troff/troff.man, src/roff/troff/TODO,
9946         doc/groff.texinfo: Updated.
9947         * man/groff.man: Small reorderings.
9949 2000-11-23  Werner LEMBERG  <wl@gnu.org>
9951         * NEWS: Fixes.
9952         * src/preproc/eqn/main.cc (main): Use `config_macro_path' for -M
9953         option.
9954         * src/roff/troff/input.cc (main): Add `config_macro_path' and
9955         `safer_macro_path' to -M option.
9956         * src/roff/troff/troff.man: Fixes.
9958 2000-11-22  Werner LEMBERG  <wl@gnu.org>
9960         Use safer path (except for config files) if -U isn't specified.  Add
9961         a special macro path (without home and current directory) for config
9962         files.  Add home directory to unsafe path for consistency.  Don't
9963         include the home directory in the font path.
9965         * src/libs/libgroff/macropath.cc: Add `config_macro_path', change
9966         `macro_path'.
9967         * src/include/macropath.h: Add `config_macrp_path'.
9968         * src/libs/libgroff/fontfile.cc: Fix font path.
9969         * src/roff/troff/input.cc (process_startup_file): Use
9970         `config_macro_path'.
9971         (main): Select unsafe path if -U is given.
9973         * src/preproc/eqn/main.cc (main): Fixing search path for
9974         configuration file.
9975         * src/preproc/eqn/eqn.man: Updated.
9977         * src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
9978         Updated.
9980         * src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
9981         src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
9982         src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
9983         src/devices/grotty/grotty.man: Updated.
9985         * Makefile.in: Fix comments.
9987 2000-11-17  Werner LEMBERG  <wl@gnu.org>
9989         * tmac/safer.tmac: Empty file added (again) for compatibility
9990         reasons.
9991         * tmac/Makefile.sub: Updated.
9993 2000-11-16  Werner LEMBERG  <wl@gnu.org>
9995         * src/devices/grodvi/dvi.cc (main),
9996         src/devices/grohtml2/post-html.cc (main),
9997         src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
9998         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
9999         (main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
10000         (main), src/preproc/html2/pre-html.cc (main),
10001         src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
10002         src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
10003         (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
10004         (main), src/utils/hpftodit/hpftodit.cc (main),
10005         src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc
10006         (main), src/utils/lookbib/lookbib.cc (main),
10007         src/utils/pfbtops/pfbtops.c (main), src/utils/tfmtodit/tfmtodit.cc
10008         (main): Use stdout for -v.
10009         * src/roff/groff/groff.cc (run_commands),
10010         src/roff/groff/pipeline.c (run_pipeline): New parameter `no_pipe'
10011         to make direct printing to stdout possible.
10012         * src/roff/groff/pipeline.h: Updated.
10014         * src/utils/afmtodit/afmtodit.pl: Add -v switch.
10015         * src/utils/afmtodit/Makefile.sub (afmtodit): Use @VERSION@.
10016         * src/utils/afmtodit/afmtodit.man: Updated.
10018         * src/utils/addftinfo/addftinfo.cc (main): Add -v switch.
10019         (version): New function.
10020         (usage): Updated.
10021         * src/utils/addftinfo/addftinfo.man: Updated.
10023         * src/devices/*/*, src/preproc/*/*, src/roff/*/*, src/utils/*/*:
10024         Fixing copyright dates.
10026         * src/preproc/eqn/neqn.sh: Adding GROFF_BIN_PATH to path instead of
10027         replacing it.
10029         * src/devices/grolbp/lbp.cc (main): Use Version_string instead of
10030         version_string.
10032         * src/roff/nroff/Makefile.sub (nroff): Fix use of @VERSION@.
10034 2000-11-15  Werner LEMBERG  <wl@gnu.org>
10036         In all programs, make -v return immediately with exit status 0 to
10037         be compliant with the GNU standard.
10039         * src/devices/grodvi/dvi.cc (main),
10040         src/devices/grohtml2/post-html.cc (main),
10041         src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
10042         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
10043         (main) src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
10044         (main), src/preproc/html2/pre-html.cc (main),
10045         src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
10046         src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
10047         (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
10048         (main): Implement it.
10049         * NEWS: Updated.
10051         * src/roff/groff/groff.cc (main): Add copyright notice.  Add refer
10052         and postprocessors to the -v option.
10054         * src/roff/grog/grog.pl: Implement -v.
10055         * src/roff/grog/Makefile.sub (grog): Use @VERSION@.
10056         * src/roff/grog/grog.man, doc/groff.texinfo: Updated.
10058         * src/roff/nroff/nroff.sh: Implement -v.
10059         * src/roff/nroff/Makefile.sub (nroff): Use @VERSION@.
10060         * src/roff/nroff/nroff.man: Updated.
10061         
10062         * src/preproc/eqn/main.cc (main): Fix comment typo.
10064         * MORE.STUFF: Added info about djgpp port of grap.
10066 2000-11-14  Werner LEMBERG  <wl@gnu.org>
10068         * src/roff/grog/grog.{pl,sh}: Implemented -C switch for compatibility
10069         mode (or rather, implemented non-compatibility mode).
10070         * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
10072         * src/roff/groff/groff.cc (main): Add BIN_PATH to PATH instead of
10073         replacing it -- we don't find gxditview otherwise.
10074         * NEWS, src/roff/groff/groff.man, doc/groff.texinfo: Updated.
10076         * src/preproc/pic/depend: Removed.  Unnecessary.
10078         Implemented dummy keyword `solid' in pic for compatibility with
10079         AT&T pic.
10081         * lex.cc (lookup_keyword): Added `solid'.
10082         * pic.y: Added SOLID with dummy rule.
10083         * pic.cc, pic_tab.h: Regenerated.
10084         * doc/pic.ms: Updated.
10086 2000-11-13  Werner LEMBERG  <wl@gnu.org>
10088         For security reasons, don't use the current directory but the home
10089         directory while searching and scanning troffrc and troffrc-end.
10090         Similarly, replace the current directory with the home directory
10091         in the font path.
10093         * Makefile.in (fontpath, tmacpath): Remove current directory.
10095         * src/libs/libgroff/searchpath.cc (search_path::search_path): Add
10096         two parameters `add_home' and `add_current'.
10097         (search_path::~search_path, search_path::command_line_dir,
10098         search_path::open_file): Remove tests for `dirs' being zero.
10099         * src/include/searchpath.h: Adjust.
10100         * src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
10101         `safer_macro_path'.
10102         * src/libs/libgroff/fontfile.cc: Adjust `font_path'.
10104         * src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
10105         * src/roff/troff/input.cc: Use `mac_path', initialized with
10106         `macro_path'.
10107         (process_startup_file): Set `mac_path' to `safer_macro_path'.
10108         * src/roff/troff/env.cc: Use `mac_path'.
10110         * src/preproc/eqn/main.cc (main): Use `safer_macro_path'.
10112         * NEWS, man/roff.man, src/roff/troff/troff.man,
10113         src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
10114         Updated.
10116 2000-11-12  Werner LEMBERG  <wl@gnu.org>
10118         * src/include/lib.h: Don't include groff-getopt.h for OSF/1.
10120         * aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
10121         * configure.in: Fix typo in comment.
10122         * configure: Regenerated.
10124         * src/libs/libgroff/*, src/include/*, src/roff/troff/*: Fixing
10125         copyright dates.
10127 2000-11-08  Werner LEMBERG  <wl@gnu.org>
10129         Add system tmac directory (/usr/local/lib/groff/site-tmac).
10131         * Makefile.in: Add $(libdir), $(libprogramdir), and $(systemtmacdir).
10132         (uninstall_dirs): Add $(libdir), $(libprogramdir), and
10133         $(systemtmacdir).
10134         Use @libdir@.
10135         * Makefile.comm (.man.n): Add @SYSTEMMACRODIR@.
10136         * tmac/Makefile.sub (install_data): Create
10137         $(systemtmacdir) and $(localtmacdir).
10138         (uninstall_sub): Use $(systemtmacdir) for wrapper macros.
10139         * man/roff.man, src/roff/troff/troff.man, src/roff/groff/groff.man,
10140         NEWS, doc/groff.texinfo: Updated and minor fixes.
10142         * Makefile.comm, Makefile.in: Added tmac_{s,an}_prefix stuff again.
10143         * tmac/Makefile.sub: Added `wrap' stuff again, but installing into
10144         $(systemtmacdir) since the wrapper files are platform-dependent.
10146 2000-11-01  Werner LEMBERG  <wl@gnu.org>
10148         * doc/groff.texinfo: Fix typo.
10150 2000-10-26  Werner LEMBERG  <wl@gnu.org>
10152         Convert macros `tmac.XXX' to `XXX.tmac'.  Special cases:
10153           tmac.doc.old -> doc-old.tmac
10154           tmac.an.old  -> an-old.tmac
10156         * tmac/tmac.*: Moved to ...
10157         * tmac/*.tmac: this.
10158         * tmac/man.local: Fix comment.
10159         * tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man,
10160         tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated. 
10161         Added some `FILES' sections.  More use of @...@ directives.  Other
10162         minor updates.
10163         * arch/djgpp/README, font/devutf8/NOTES: Updated.
10164         * doc/homepage.ms, doc/groff.texinfo: Updated.
10165         * man/groff.man, man/roff.man: Updated.
10166         * src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man,
10167         src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
10168         src/devices/grotty/grotty.man: Updated.
10169         * src/preproc/pic/pic.man: Updated.
10170         * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old
10171         instead of -mdoc.old.
10172         * src/roff/grog/grog.man: Document -mdoc and -mdoc-old.
10173         * src/roff/nroff/nroff.man: Updated.
10174         * NEWS: Updated.
10176         * tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment.
10178         * tmac/mm.diff: Removed -- it has no use now since the mm package
10179         is part of groff.
10181         * tmac/*: Removed trailing spaces.
10183         * arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in
10184         the tmac subdirectory also).
10186         * Makefile.comm, Makefile.in: Remove tmac_{s,an}_prefix stuff.
10187         * tmac/Makefile.sub: Adapted to new macro names; removed `wrap'
10188         stuff since it is no longer needed.
10190         * README, PROBLEMS: Updated.
10192 2000-10-25  Werner LEMBERG  <wl@gnu.org>
10194         Invert current behaviour: Search first FOOBAR.tmac, then
10195         tmac.FOOBAR.
10197         * src/roff/troff/input.cc: Introduce MACRO_POSTFIX.
10198         (open_mac_file, macro_source): Implement it.
10199         * src/roff/troff/troff.man, tmac/groff_tmac.man, man/roff.man,
10200         doc/groff.texinfo, NEWS: Document it.
10202         * src/roff/nroff/nroff.man, src/roff/groff/groff.man, man/groff.man:
10203         Small documentation improvements.
10205         * test-groff: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac
10206         subdirectory also).
10208         * font/devps/Makefile.sub: Fix rules for dingbats.*map.
10210 2000-10-24  Werner LEMBERG  <wl@gnu.org>
10212         Add local tmac directory (groff/site-tmac).
10214         * Makefile.in: Add $(localtmacdir).
10215         (uninstall_dirs): Add $(localtmacdir).
10216         * Makefile.comm (.man.n): Add @LOCALMACRODIR@.
10217         * tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local
10218         in $(localtmacdir).  Create $(localtmacdir).
10219         * man/roff.man, src/roff/troff/troff.man, NEWS, doc/groff.texinfo:
10220         Updated and minor fixes.
10222         Rename font/devps/generate/dingbats[r]map to dingbats.[r]map.
10224         * font/devps/generate/Makefile.sub, arch/djgpp/README: Adjust.
10226 2000-10-23  Werner LEMBERG  <wl@gnu.org>
10228         Move hyphen.us to tmac directory.
10230         * src/roff/troff/hyphen.us: Removed.
10231         * src/tmac/hyphen.us: Added.
10232         * src/roff/troff/Makefile.sub, tmac/Makefile.sub: Updated.
10234         Change installation structure for data files from .../groff/... to
10235         .../groff/<version><revision>/... to be conform with other GNU
10236         programs.
10238         * Makefile.in, Makefile.comm, src/utils/indxbib/Makefile.sub,
10239         doc/Makefile: Implement it.
10240         * aclocal.m4 (GROFF_PAGE): Add test for new directory structure.
10241         * configure: Updated.
10242         * arch/djgpp/README, font/devutf8/NOTES: Use it.
10243         * NEWS: Document it.
10244         * man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and
10245         @MACRODIR@ instead of hard-coded directories.
10247 2000-10-22  Werner LEMBERG  <wl@gnu.org>
10249         Implement $GROFF_BIN_PATH environment variable (which defaults to
10250         $bindir) used for child programs of groff and similar wrappers.
10252         * gendefs.sh: Improve documentation.
10253         * Makefile.comm (,man.n), src/include/Makefile.sub (defs.h),
10254         src/preproc/eqn/Makefile.sub (neqn),
10255         src/roff/nroff/Makefile.sub (nroff): Add $(bindir).
10256         * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Implement
10257         $GROFF_BIN_PATH.
10258         * src/roff/groff/groff.cc (main): Implement $GROFF_BIN_PATH and
10259         $GROFF_PATH__ (the latter for communication with troff).
10260         * src/roff/troff/input.cc (main): Use $GROFF_PATH__ for $PATH if
10261         set.
10262         * NEWS, src/roff/nroff/nroff.man, src/roff/groff/groff.man,
10263         doc/groff.texinfo: Document it.
10265         * doc/groff.texinfo: Improve documentation of troff's -a option.
10267 2000-10-17  Gaius Mulley  <gaius@glam.ac.uk>
10269         * src/roff/troff/node.cc: Fixed calculation of opminx and fixed
10270         non-intrusive eol marker.
10271         (troff_output_file::determine_line_limits): New function.
10272         (troff_output_file::draw): Use it.
10273         * src/roff/troff/env.cc (environment::add_html_tag): Use output() +
10274         output_pending_lines() instead of output_line().
10275         * src/preproc/eqn/main.cc (do_file): Fix graphic_end().
10276         * src/preproc/html2/pre-html.cc (char_buffer::write_file_troff,
10277         createImage): Small fixes.
10278         
10279 2000-10-14  Werner LEMBERG  <wl@gnu.org>
10281         Replace tmac.safer with a real secure solution.
10283         * src/roff/troff/input.cc (open_request, opena_request, pipe_source,
10284         system_request, pipe_output): Disable requests if in safer mode.
10285         * src/roff/groff/groff.cc (main): Remove reference to tmac.safer.
10286         * tmac/tmac.safer, tmac/groff_msafer.man: Removed.
10287         * tmac/Makefile.sub, NEWS, man/roff.man, tmac/groff_tmac.man,
10288         doc/groff.texinfo, src/roff/groff/groff.man,
10289         src/roff/troff/troff.man, arch/djgpp/README: Updated.
10291         * src/devices/grops/ps.cc (main), src/devices/grops/psrm.cc
10292         (resource_manager::output_prolog): Replace setenv() with putenv().
10294 2000-10-09  Werner LEMBERG  <wl@gnu.org>
10296         * src/libs/libbib/map.c, src/libs/libgroff/getcwd.c,
10297         src/libs/libgroff/strtol.c, src/preproc/html2/image.cc,
10298         src/preproc/html2/pre-html.cc, src/preproc/html2/pushbackbuffer.cc,
10299         src/roff/groff/pipeline.c: Removing `#ifndef errno' to avoid
10300         compilation errors with some compilers.  It seems that this code
10301         is no longer necessary -- if yes, it is easy to add some #ifdef's
10302         for that particular old-fashioned compiler.
10304         * MORE.STUFF: Added info about Meta-tbl.
10306         * doc/groff.texinfo: Added more info about `.if "..."..."'.
10308 2000-10-07  Werner LEMBERG  <wl@gnu.org>
10310         Adding a new escape sequence \B'...': If the string between
10311         the delimiters is a valid numeric expression, return the character
10312         `1', and `0' otherwise.  This is an analogon to \A.
10314         * src/roff/troff/input.cc (do_expr_test): Implement it.
10315         (token::next): Use it.
10316         * src/roff/troff/troff.man, NEWS, man/groff.man: Document it.
10318         * tmac/tmac.trace: Made independent from escape character.
10320 2000-10-06  Werner LEMBERG  <wl@gnu.org>
10322         Adding a new request .dei: define indirect.  The first and second
10323         parameter of .dei are taken from string registers instead directly;
10324         this very special request is needed to make tmac.trace independent
10325         from the escape character (which might even be disabled).
10327         * src/roff/troff/input.cc (do_define_macro): Implement it.
10328         (define_macro_indirect): New function.
10329         (init_input_requests): Use it.
10331         Adding two requests .ecs and .ecr: Save and restore the escape
10332         character.  These two requests are needed to make tmac.trace
10333         independent from the escape character (which might even be
10334         disabled).
10336         * src/roff/troff/input.cc (save_escape_char, restore_escape_char):
10337         Implement it.
10338         (init_input_requests): Use it.
10340         * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
10342 2000-09-22  Ricardo Soares Guimarães  <ricardo@conectiva.com.br>
10344         Adding a new option -P and new environment variable GROPS_PROLOGUE
10345         to grops, selecting a different prologue file (minor modifications
10346         by WL).
10348         * src/devices/grops/psrm.cc (resource_manager::output_prolog),
10349         src/devices/grops/ps.cc (main): Implement it.
10350         * src/devices/grops/grops.man, NEWS: Document it.
10352 2000-09-22  Werner LEMBERG  <wl@gnu.org>
10354         * INSTALL: Add info about selecting paper format.
10356 2000-09-21  Werner LEMBERG  <wl@gnu.org>
10358         * src/roff/troff/input.cc (main): Fixing compiler warning.
10359         * src/include/{driver.h, lib.h}: Move inclusion of string.h and
10360         strings.h from the former to the latter.
10361         * src/devices/grolbp/lpb.cc, src/include/lib.h: Move strncasecmp()
10362         stuff from the former to the latter.
10364 2000-09-11  Werner LEMBERG  <wl@gnu.org>
10366         Implementing two new requests .tm1 and .tmc: The former is similar
10367         to .tm but can output leading spaces; its syntax is similar to
10368         defining a string, i.e., a `"' can be used to mark the beginning of
10369         the string to be written to stderr: `.tm1 " test'.  The latter is
10370         similar to .tm1 but doesn't write out a final newline character.
10372         * src/roff/troff/input.cc (terminal1, terminal_continue,
10373         do_terminal): New functions.
10374         (init_input_requests): Use them.
10375         * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
10377 2000-09-09  Werner LEMBERG  <wl@gnu.org>
10379         * tmac/groff_mdoc.samples.man: Small fixes.
10381 2000-09-08  Werner LEMBERG  <wl@gnu.org>
10383         * tmac/groff_mdoc.man: Fixing typo.
10385 2000-09-02  Werner LEMBERG  <wl@gnu.org>
10387         Implementing a .nop request which does nothing.
10389         * src/roff/troff/input.cc (nop_request): New function.
10390         (init_input_requests): Use it.
10391         * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
10393 2000-09-01  Werner LEMBERG  <wl@gnu.org>
10395         * doc/groff.texinfo: Added some comments.
10397 2000-08-30  Werner LEMBERG  <wl@gnu.org>
10399         * src/roff/troff/TODO: Updated.
10401 2000-08-25  Werner LEMBERG  <wl@gnu.org>
10403         * doc/groff.texinfo: Fix comment how to compile the DVI file.
10405 2000-08-25  Eli Zaretskii  <eliz@is.elta.co.il>
10407         * font/devps/generate/Makefile (SHELL): Define explicitly to
10408         "/bin/sh", for non-Unix platforms.
10409         (extraclean): Use a more portable "" quoting instead of a
10410         backslash (which doesn't work on DOS/Windows).
10411         
10412         * font/devlj4/generate/Makefile (extraclean): Ditto.
10414         * font/devdvi/generate/Makefile (extraclean): Ditto.
10416 2000-08-25  Werner LEMBERG  <wl@gnu.org>
10418         * NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,
10419         src/roff/troff/troff.man: Document Eli's latest changes.
10421 2000-08-25  Eli Zaretskii  <eliz@is.elta.co.il>
10423         * src/roff/troff/input.cc (open_mac_file, macro_source): Support
10424         macro file names of the form NAME.tmac as well as tmac.NAME.
10426 2000-08-25  Werner LEMBERG  <wl@gnu.org>
10428         * src/include/posix.h: Remove definition of FILENAME_MAX.
10430         * src/preproc/html2/pre-html.h, pre-html.cc: Add return type to
10431         `sys_fatal' and `stop' function().
10433         * test-groff: Updated.
10435 2000-08-24  Gaius Mulley  <gaius@glam.ac.uk>
10437         Added the new troff command .output <arg> to suppress output (while
10438         still obeying motion) and also the opminx, opminy, opmaxx, opmaxy
10439         registers (for passing the output dimensions to the output device).
10441         * src/roff/troff/div.cc (top_level_diversion::output): Use `width'
10442         parameter.
10443         * src/roff/troff/node.h, src/roff/troff/node.cc
10444         (troff_output_file::really_print_line,
10445         ascii_output_file::really_print_line,
10446         supress_output_file::really_print_line): Use `width' parameter.
10447         (troff_output_file::really_on, troff_output_file::really_off,
10448         output_file::on, output_file::off, real_output_file::on,
10449         real_output_file::off, real_output_file::really_on,
10450         real_output_file::really_off): New functions.
10451         (real_output_file:public output_file): New variable `output_on'.
10452         (real_output_file::begin_page, real_output_file::copy_file,
10453         real_output_file::transparent_char, real_output_file::print_line):
10454         Use it.
10455         (real_output_file::print_line): Use check_output_limits.
10456         * src/roff/troff/reg.h, src/roff/troff/request.h,
10457         src/roff/troff/input.cc (assign_registers): New function to remove
10458         two `goto's.
10459         (do_ps_file): Use it.
10460         (check_output_limits, reset_output_registers, output_request,
10461         init_output_requests): New functions.
10462         (init_input_requests): Updated.
10464         Added new grohtml2 device and html2 preprocessor (coding
10465         not yet finished) which will eventually replace grohtml.
10467         * Makefile.in, tmac/Makefile.sub, tmac/eqnrc, tmac/troffrc-end:
10468         Updated.
10469         * src/include/htmlindicate.h, src/include/htmlindicate
10470         (html_begin_suppress, html_end_suppress): New functions.
10471         * src/preproc/tbl/main.cc: Use it.
10472         * src/roff/groff/groff.cc: Add support for html2 device (which will
10473         automatically invoke the html2 preprocessor).
10474         * src/roff/troff/input.cc (is_html2): New variable.
10475         * src/roff/troff/troff.h, src/roff/troff/env.h,
10476         src/roff/troff/env.cc (environment::add_html_tag): New function
10477         (uses `is_html2').
10478         (environment::do_break): Use it.
10479         * font/devhtml2/*: New files.
10480         * src/devices/grohtml2: New device.
10481         * src/preproc/html2: New preprocessor.
10482         * tmac/tmac.html-tags, tmac/tmac.html2: New files.
10484 2000-08-23  Werner LEMBERG  <wl@gnu.org>
10486         * src/devices/grolbp/lbp.cc: Same workaround for sinix as for AIX.
10488 2000-08-22  Werner LEMBERG  <wl@gnu.org>
10490         * src/include/lib.h: Provide a fix for IRIX to not include
10491         groff-getopt.h.
10493 2000-08-18  Werner LEMBERG  <wl@gnu.org>
10495         * configure.in: Don't provide an empty value for SH_SCRIPT_SED_CMD
10496         since some non-GNU sed programs can't handle null regexps.
10497         * configure, src/preproc/eqn/Makefile.sub,
10498         src/roff/grog/Makefile.sub, src/roff/nroff/Makefile.sub: Updated.
10500         * src/devices/grolbp/lbp.cc: Add an AIX workaround for an autoconf
10501         bug (string.h and strings.h are both needed according to latest
10502         POSIX standard).
10504         * MORE.STUFF: Added info about unroff and troffcvt.
10506 2000-08-08  Werner LEMBERG  <wl@gnu.org>
10508         * tmac/tmac.a4: Will now work with ms macros also; -ma4 should be
10509         used before -ms.
10511         * tmac/tmac.man.old: Remove unused number register.
10513         * tmac.doc: Minor documentation fix.
10515 2000-08-07  Paul Eggert  <eggert@twinsun.com>
10517         * src/roff/groff/pipeline.c (is_system_shell):
10518         Fix typo: "monocased_shell" no longer exists.
10520 2000-08-07  Paul Eggert  <eggert@twinsun.com>
10522         Remove FILENAME_MAX limits.
10524         * src/roff/groff/pipeline.c (is_system_shell): Do not assume
10525         that the argument length is less than FILENAME_MAX.
10526         * src/libs/libgroff/tmpfile.cc (add_tmp_file): Likewise.
10527         Use struct hack to allocate and free file name.
10528         (struct xtmpfile_list): fname is now part of the structure,
10529         not a pointer to another string.
10531 2000-08-07  Tom Schmidt  <tschmidt@micron.com>
10533         * src/include/posix.h: Add a default value for FILENAME_MAX.
10535 2000-08-06  Paul Eggert  <eggert@twinsun.com>
10537         Add support for new BSD-style man pages (with ".Dd" instead of
10538         ".TH"), so that "groff -man" understands both styles, even
10539         when running "groff -man" on a host whose system man page
10540         macros don't support ".Dd".
10542         * tmac/Makefile.sub (NORMALFILES): Add tmac.an.old.
10543         (stamp-wrap): Source tmac.andoc first when wrapping man macros,
10544         in case the system man macros don't define Dd or TH.
10546         * tmac/tmac.an.old: Renamed from tmac/tmac.an.
10547         * tmac/tmac.an: New one-line file.
10548         * tmac/tmac.andoc (TH): Adjust to the tmac.an.old file renaming.
10550 2000-08-06  Werner LEMBERG  <wl@gnu.org>
10552         * src/roff/troff/troff.man: Fixing typos.
10554 Version 1.16.1 released
10555 =======================
10557 2000-07-31  Werner LEMBERG  <wl@gnu.org>
10559         Preparing release 1.16.1.
10561         * REVISION: Revision number set to 1.
10562         * MORE.STUFF: Added info about port to DOS.
10563         * NEWS, win32-diffs: Updated.
10565         * src/include/nonposix.h: Remove first line -- this file is used
10566         in C also.
10568         * Makefile.in (dist): Delete Imakefile earlier to avoid a soft
10569         link to it.
10571 2000-07-30  Werner LEMBERG  <wl@gnu.org>
10573         * doc/texinfo.tex: Update to latest version.
10575 2000-06-28  Paul Eggert  <eggert@twinsun.com>
10577         * Makefile.in (ENVSETUP): Don't assume POSIX make semantics for
10578         commands that fail.  Don't assume that "export a=b" is valid shell
10579         syntax.  This is needed for Solaris 2.5.1.
10581         * src/libs/libgroff/tmpfile.cc, src/utils/indxbib/indxbib.cc: Fix
10582         comment about missing Solaris headers.
10584         * PROBLEMS: Add section about problems with Sun Make and VPATH.
10586 2000-06-25  Werner LEMBERG  <wl@gnu.org>
10588         * src/devics/grodvi/dvi.cc: Replace _setmode() (for MSC) with
10589         SET_BINARY().
10591         * src/include/posix.h: Use HAVE_UNISTD instead of _MSC_VER.
10593         * win32-diffs: Updated.
10594         * README.WIN32: Added CRs to make all Windows editors happy.
10596         * src/roff/troff/node.cc: Added WIFSIGNALED() macro (copied from
10597         src/roff/groff/pipeline.c).
10599 2000-06-23  Eli Zaretskii  <eliz@is.elta.co.il>
10601         * src/roff/grog/Makefile.sub (grog): Prepend `-e' to
10602         $(SH_SCRIPT_SED_CMD), for the case where its value is empty.
10604 2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
10606         * src/utils/tfmtodit/tfmtodit.cc: #include nonposix.h.
10607         (tfm::load, gf::load): Open tfm and gf files in binary mode: these
10608         are binary files.
10609         (main): Support non-Posix systems with several different styles of
10610         slash characters in file names.
10612         * src/utils/pfbtops/pfbtops.c: #include nonposix.h.
10613         (main) [SET_BINARY]: Switch stdin into binary mode.
10615         * src/utils/indxbib/indxbib.cc: #include nonposix.h.
10616         (main): Support file names with several possible slash-type
10617         characters, as given by DIR_SEPS[] in nonposix.h.
10618         (main) [__MSDOS__]: If renaming the temporary index file fails
10619         because it has more than one dot in its trunk, replace the dot
10620         with an underscore and try again.
10621         (do_file): Use FOPEN_RB instead of "r".  Skip every CR before a
10622         Newline.
10623         [__MSDOS__ || _MSC_VER]: Stop at the first ^Z character.
10625         * src/utils/hpftodit/hpftodit.cc: #include nonposix.h.
10626         (File::File): Open the input file in binary mode.  Strip CR
10627         characters from each CR-LF pair.
10628         (xbasename): Support file names with several possible slash-type
10629         characters, as given by DIR_SEPS[] in nonposix.h.
10631         * src/include/Makefile.sub (HDRS): Add nonposix.h.
10633         * src/roff/troff/node.cc [HAVE_UNISTD_H]: Include <unistd.h>.
10634         (WIFEXITED, WEXITSTATUS, WTERMSIG, WIFSTOPPED, WSTOPSIG)
10635         [!_POSIX_VERSION]: Define for traditional Unix systems.
10636         (real_output_file::real_output_file): Remove the MSVC-specific
10637         call to popen, use instead POPEN_WT, appropriately defined on
10638         nonposix.h.  #include nonposix.h.
10639         (real_output_file::~real_output_file): Remove the MSVC-specific
10640         call to pclose, a suitable macro is now defined on nonposix.h.
10641         Use the portable macros WIFEXITED, WIFSIGNALED, WTERMSIG, WSTOPSIG
10642         and WEXITSTATUS instead of assuming traditional Unix
10643         interpretation of the status returned by pclose.
10645         * src/roff/troff/input.cc (pipe_source): Remove the MSVC-specific
10646         call to popen, use POPEN_RT instead (appropriately defined on
10647         nonposix.h).  #include nonposix.h.
10648         (ps_bbox_request): Open the PostScript file in binary mode.
10649         Close the file after processing it.
10650         (getpid) [_MSC_VER]: Remove; a suitable macro is now defined on
10651         nonposix.h.
10653         * src/roff/groff/pipeline.c (run_pipeline) [__MSDOS__ || _WIN32]:
10654         A version of run_pipeline that doesn't use `fork'.
10655         (signal_catcher) [__MSDOS__ || _WIN32]: New function.
10656         (system_shell_name, system_shell_dash_c)
10657         (is_system_shell) [__MSDOS__ || _WIN32]: New functions, to hide
10658         the ugliness of testing DOS/Windows file names for equality, and
10659         support both stock shells and ports of Unix shells.
10661         * src/roff/groff/groff.cc: #include nonposix.h.
10662         (BSHELL): Definition moved to nonposix.h.
10663         (main): Use PATH_SEP[0] instead of literal ':'.  Use BSHELL_DASH_C
10664         instead of a literal "-c".
10665         (xbasename): Support file names with several possible slash-type
10666         characters, as given by DIR_SEPS[] in nonposix.h.
10667         (possible_command::print): Use BSHELL_DASH_C and IS_BSHELL instead
10668         of literal strings.
10670         * src/preproc/soelim/soelim.cc: #include nonposix.h.
10671         (do_file): Use IS_ABSOLUTE instead of testing for a literal '/'.
10673         * src/preproc/pic/Makefile.sub (YTABH): Change pic.tab.h to
10674         pic_tab.h.
10676         * src/preproc/pic/lex.cc: Change pic.tab.h to pic_tab.h.
10678         * src/preproc/eqn/Makefile.sub (YTABH): Rename eqn.tab.h to
10679         eqn_tab.h.
10681         * src/preproc/eqn/lex.cc: #include eqn_tab.h, not eqn.tab.h.
10683         * src/libs/libgroff/tmpfile.cc (DEFAULT_TMPDIR) [P_tmpdir]: If
10684         P_tmpdir is defined, use it instead of the literal "/tmp".
10685         (remove_tmp_files, add_tmp_file): New functions.
10686         (xtmpfile): Record temporary files and register an atexit function
10687         to delete them explicitly, instead of relying on the OS to do
10688         that, which doesn't work on non-Unix systems.
10690         * src/libs/libgroff/searchpath.cc: #include nonposix.h.
10691         (search_path::search_path): Use PATH_SEP instead of a literal
10692         colon.
10693         (search_path::command_line_dir): Ditto.
10694         (search_path::open_file): Use IS_ABSOLUTE, PATH_SEP and DIR_SEPS,
10695         to support non-Posix systems.
10697         * src/libs/libbib/search.cc: #include nonposix.h.
10698         (search_list::add_file): Open the file in binary mode.
10700         * src/libs/libbib/linear.cc: #include nonposix.h.
10701         (file_buffer::load): Remove \r characters preceding \n from the
10702         loaded buffer.
10704         * src/libs/libbib/index.cc: #include nonposix.h.
10705         (make_index_search_item): Open index_filename in O_BINARY mode.
10706         (index_search_item_iterator::get_tag): Ditto.  Remove \r
10707         characters before \n characters.
10708         (index_search_item::check_files): Open files in binary mode.
10709         (index_search_item::munge_filename): Support DOS-style file names
10710         with backslashes and drive letters, use IS_ABSOLUTE.
10712         * src/devices/grops/ps.cc: #include nonposix.h.
10713         (main) [SET_BINARY]: Switch stdout to binary mode.
10715         * src/devices/grolj4/lj4.cc: #include nonposix.h.
10716         (main) [SET_BINARY]: Switch stdout to binary mode.
10718         * src/devices/grolbp/lbp.cc: #include nonposix.h
10719         (fill_pattern) [SET_BINARY]: Switch stdout to binary mode.
10721         * src/devices/grodvi/dvi.cc: #include nonposix.h.
10722         [_MSC_VER]: Remove inclusion of Windows-specific headers (done by
10723         nonposix.h).
10724         (main) [SET_BINARY]: Switch stdout to binary mode.
10725         [_MSC_VER]: Remove an explicit call to _setmode.
10727         * src/include/nonposix.h: New file.
10729         * Makefile.in (ENVSETUP): New variable, to set up case-sensitive
10730         operation when building with DJGPP.
10731         ($(TARGETS), dot, $(LIBDIRS), $(CPROGDIRS), $(CCPROGDIRS))
10732         ($(DEVDIRS), $(TTYDEVDIRS), $(INCDIRS), $(OTHERDIRS)): Use
10733         ENVSETUP.
10735         * Makefile.comm: mv y.tab.[ch] to y_tab.[ch], to make it work on
10736         MS-DOS.
10737         (.man.n): Replace `;' with `|', since FONTPATH, MACROPATH,
10738         etc. can include a semi-colon on DOS/Windows.
10739         (depend.temp): Use depend1.temp instead of depend.temp1, to
10740         prevent files from overerwiting each other on 8+3 filesystems.
10742         * gendef.sh (t): Change definition to work with DOS/Windows.
10744         doc/groff.texinfo: Apart of some typo corrections, I also changed
10745         some index entris, to make them more non-ambiguous, and also put
10746         @ignore around some parts that are not yet written, to allow the
10747         Info output be readable.
10749 2000-06-10  Gael Queri  <gqueri@mail.dotcom.fr>
10751         Replaced specific checks for function declarations with a generic
10752         routine taken from GNU bfd.
10754         * aclocal.m4 (GROFF_NEED_DECLARATION): New function.
10755         GROFF_PUTENV, GROFF_POPEN, GROFF_PCLOSE, GROFF_HYPOT: Removed.
10756         * configure.in: Use it.
10757         * src/devices/grolbp/lbp.cc, src/include/lib.h,
10758         src/preproc/grn/hgraph.cc, src/preproc/pic/pic.h,
10759         src/roff/groff/groff.cc: Use it.
10760         * Makefile.in, configure: Updated.
10762 2000-06-07  Paco Andrés Verdú  <pandres@dragonet.es>
10764         * src/devides/grolbp/lbp.h: Removed unused variables.
10766 2000-05-31  Keith Thompson  <kst@sdsc.edu>
10768         * src/devices/grolbp/lbp.cc (set_papersizes): Add declaration of
10769         strncasecmp().
10771 2000-05-31  Werner LEMBERG  <wl@gnu.org>
10773         * aclocal.m4 (GROFF_SRAND): New function to test the return value
10774         of srand() -- at least SunOS 4.1.3 uses `int' instead of `void'.
10775         * configure.in: Use it.
10776         * src/preproc/pic/pic.y, src/preproc/pic/pic.cc: Use it.
10777         * configure, Makefile.in: Updated.
10779         * configure.in: Add test for strncasecmp().
10780         * src/include/lib.h: Use it.
10782 2000-05-29  Andrej Borsenkow  <Andrej.Borsenkow@mow.siemens.ru>
10784         * src/preproc/grn/Makefile.sub: Add MLIB.
10786 2000-05-29  Nix  <nix@esperi.demon.co.uk>
10788         * Makefile.in: Use @datadir@ and @mandir@ appropriately.
10790 2000-05-29  Werner LEMBERG  <wl@gnu.org>
10792         * src/roff/grog/Makefile.sub, src/roff/grog/grog.sh: Add `@g@'.
10794         * PROBLEMS: Small update.
10796         * src/devices/grolbp/lbp.cc: Various small fixes.
10798 2000-05-28  Keith Thompson  <kst@sdsc.edu>
10800         * src/roff/nroff/nroff.sh: Fix main loop syntax.
10802         * src/utils/indxbib/indxbib.cc: Add declaration of mkstemp().
10804 2000-05-25  Werner LEMBERG  <wl@gnu.org>
10806         * man/roff.man: Removed unused macro.
10808 2000-05-24  Werner LEMBERG  <wl@gnu.org>
10810         * Makefile.in (dist): Remove src/xditview/Imakefile explicitly. 
10811         This is needed e.g. if you do
10812         `make distclean; ./configure; make dist'.
10814 Version 1.16 released
10815 =====================
10817 2000-05-23  Werner LEMBERG  <wl@gnu.org>
10819         Adding font CWI (constant width italic) to devdvi.
10821         * font/devdvi/CWI: New file.
10822         * font/devdvi/generate/Makefile: Add generating rule.
10823         * font/devdvi/DESC.in, font/devdvi/Makefile.sub, win32-diffs,
10824         tmac/tmac.dvi: Use it.
10825         * NEWS: Announce it.
10827         * font/devlj4/*: Regenerated (only adding kernings for `cq' glyph).
10828         * font/devlj4/generate/Makefile: Cosmetic changes only.
10830         * man/groff.man: Removed most of the redundant description of
10831         special characters (which is in groff_char.man).  Added font
10832         translation CB->CR for devdvi.  Other minor fixes.
10834         * tmac/tmac.dvi: Improved appearance of \(co (copyright) and \(rg
10835         (registered) symbols.
10837 2000-05-22  Werner LEMBERG  <wl@gnu.org>
10839         * doc/Makefile: Added rule for creating info files.
10841         * font/devdvi/*: Added kernings for `cq' glyph.  Updated to latest
10842         AMS font metrics.
10843         * font/devdvi/generate/Makefile: Fixed dependencies.
10845         * font/devps/*: Regenerated.  Heavy changes for Bookman and
10846         NewCentury Schoolbook!
10847         * font/devps/generate/afmname: Will now run with GNU awk.
10848         * font/devps/generate/textmap: Added forgotten `cq' glyph name.
10849         * font/devps/generate/Makefile: Cosmetic changes only.
10851 2000-05-21  Werner LEMBERG  <wl@gnu.org>
10853         * tmac/tmac.an: Added a new command line option `-rSxx' (`xx' can be
10854         10, 11, or 12) to support output with 11pt and 12pt base font sizes. 
10855         `.SS' now produces a heading with a smaller size than `.SH'. 
10856         Completely formatted.
10857         * doc/groff.texinfo, tmac/groff_man.man, NEWS: Document it.
10859         * man/groff.man: Improved table appearance.  Use of `eo' request
10860         to reduce number of doubled backslashes in macro definitions.
10861         Replacing `\e' with `\(rs'.  Other minor fixes.
10863         * src/preproc/tbl/main.cc: Insert HTML table end tag before `lf'
10864         to have correct line number.
10866         * INSTALL: Small improvement.
10868 2000-05-20  Bernd Warken  <bwarken@mayn.de>
10870         * man/roff.man, tmac/groff_tmac.man: Updates (with corrections by
10871         WL).
10873 2000-05-19  Bernd Warken  <bwarken@mayn.de>
10875         * man/groff.man: Complete update (with a lot of corrections by WL).
10877 2000-05-18  Werner LEMBERG  <wl@gnu.org>
10879         Adding `cq' (PS name `quoteright') glyph name as an alias for "'".
10881         * font/*/*: Implement it.
10882         * man/groff_char.man, NEWS: Document it.
10884         * src/include/unix.h: Removed.  It isn't used.
10886         * doc/groff.texinfo: Slight improvements.
10888 2000-05-17  Werner LEMBERG  <wl@gnu.org>
10890         * README, win32-diffs: Small fixes and improvements.
10892 2000-05-16  Werner LEMBERG  <wl@gnu.org>
10894         * FDL: New file (the Free Documentation License version 1.1).
10896         * doc/groff.texinfo: Added many start-up values for gtroff.
10897         Some structural improvements of the source code.
10899 2000-05-15  Werner LEMBERG  <wl@gnu.org>
10901         * src/roff/troff/input.cc: Added small comment about troffrc-end.
10902         * src/roff/troff/troff.man: Added info about troffrc-end.
10904 2000-05-14  Werner LEMBERG  <wl@gnu.org>
10906         * Makefile.in (EXTRADIRS): Fix typos.
10907         (dist): Handle deletion of old .tar.gz file correctly.
10908         (DISTDIRS): Include all tty output devices.
10910         * doc/groff.texinfo: Adding more cross references; countless other
10911         fixes.
10913 2000-05-13  Werner LEMBERG  <wl@gnu.org>
10915         * MORE.STUFF: Added Robert Marks's utilities.
10917 2000-05-12  Werner LEMBERG  <wl@gnu.org>
10919         Added win32 port contributed by Blake McBride
10920         <blake@florida-software.com>.
10922         * README.WIN32, win32-diffs: New files.
10923         * NEWS: Updated.
10925         * src/preproc/grn/hgraph.cc (HGSetBrush): Replace `%lf' with `%f'.
10926         (tmove, tmove2): Added parentheses to avoid compiler warnings.
10927         (change): Removed unused variables.
10929         * src/preproc/grn/main.cc (main, conv): Removed unused variables.
10930         (savebounds): Changed return value from `int' to `void'.
10931         * src/preproc/grn/hdb.cc: Ditto.
10933         * src/devices/grolbp/lbp.cc (lbp_printer::draw): Removed superfluous
10934         final backslash in comment to avoid compiler warning.
10936         * src/utils/pfbtops/pfbtops.c: Added `getopt.h'.
10938         * doc/groff.texinfo: More fixes.
10940 2000-05-11  OKAZAKI Tetsurou  <okazaki@be.to>
10942         * tmac/tmac.doc: Documentation fix.
10944 2000-05-11  Werner LEMBERG  <wl@gnu.org>
10946         * doc/groff.texinfo: Reading the source code shows up a lot of
10947         omissions and incorrect data...  More conversion to @Deffn macros.
10949 2000-05-10  Werner LEMBERG  <wl@gnu.org>
10951         * src/roff/troff/reg.cc (number_value_to_ascii): Remove ASCII
10952         dependency.
10954         * src/roff/troff/request.h: Removing unused `no_break_flag'.
10956 2000-05-09  Werner LEMBERG  <wl@gnu.org>
10958         * man/groff.man, man/roff.man, tmac/groff_tmac.man: Minor
10959         improvements.
10961         * doc/groff.texinfo: Extended history section.  More conversion to
10962         @Deffn macros.  More .tr documentation.
10964 2000-05-07  Werner LEMBERG  <wl@gnu.org>
10966         * doc/groff.texinfo: Completed tab section.  Added info about
10967         fields.
10969 2000-05-06  Mike MacIsaac  <mikemac@us.ibm.com>
10971         * PROBLEMS: Describe configure script fix for OS/390 Unix.
10973 2000-05-05  Werner LEMBERG  <wl@gnu.org>
10975         * font/devdvi/DESC.in: Change size 11pt to 10.95pt (as used in
10976         LaTeX 2e).
10977         * NEWS: Document it.
10979         * man/troff.man: Minor optical improvements.
10981 2000-05-03  Werner LEMBERG  <wl@gnu.org>
10983         Adding `dq' (PS name `quotedbl') glyph name as an alias for `"'.
10985         * font/*/*: Implement it.
10986         * man/groff_char.man, NEWS: Document it.
10988 2000-05-02  Werner LEMBERG  <wl@gnu.org>
10990         * tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @MANxEXT@
10991         expansion.
10992         * NEWS: Document the three new man pages.
10994         * aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call.
10995         * configure: Updated.
10997         * font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
10999 2000-05-01  Werner LEMBERG  <wl@gnu.org>
11001         Added grap support to grog.
11003         * src/roff/grog/grog.sh, src/roff/grog/grog.pl: Implement it.
11004         * src/roff/grog/grog.man: Document it.
11006         * doc/groff.texinfo, NEWS: Add info about grap support.
11008         Add new man pages comptributed by Bernd Warken <bwarken@mayn.de>
11009         (with slight fixes by me).
11011         * tmac/groff_tmac.man: New file documenting tmac mechanism.
11012         * tmac/Makefile.sub: Add groff_tmac.man.
11013         * man/roff.man: New file giving overview of roff system.
11014         * man/troff.man: A short reference of troff.
11015         * man/Makefile.sub: Add roff.man and troff.man.
11017 2000-04-30  Werner LEMBERG  <wl@gnu.org>
11019         Added grap support to groff.
11021         * src/roff/groff/groff.cc: Implement it.
11022         * src/roff/groff/groff.man: Document it.
11024         * src/devices/grotty/grotty.man: Add cp1047 device.
11025         * src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc:
11026         Ditto.
11027         * src/roff/groff/groff.man: Ditto.
11028         * src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto.
11029         * doc/groff.texinfo: Ditto.
11031         * tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space)
11032         for cp1047.
11034 2000-04-29  Werner LEMBERG  <wl@gnu.org>
11036         * man/groff_char.man: Add `pc' glyph.
11037         * tmac/tmac.latin1: Replacing `md' glyph with `pc'.
11038         * tmac/tmac.tty: Add `pc' glyph.
11039         * tmac/tmac.tty-char: Use/add `pc' glyph.  Don't call tmac.latin1 if
11040         we use cp1047 output device.
11042         * Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since
11043         there are still hardcoded latin1->unicode values in utf8's font
11044         definition files.
11045         * configure: Updated.
11046         * NEWS: Minor clarification.  Updated.
11048         * PROBLEMS: Formatted.  Added info about C++ fix pack for OS/390
11049         Unix.
11051 2000-04-28  Werner LEMBERG  <wl@gnu.org>
11053         Adding EBCDIC code page 1047.
11055         * font/devcp1047/R.proto, font/devcp1047/Makefile.sub,
11056         font/devcp1047/DESC.proto: New files.
11058         * aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be
11059         either ascii/latin1 or cp1047.
11060         * Makefile.in: Use it.
11061         * configure: Updated.
11063         Replacing and/or adding `md' (mathdot) glyph with `pc'
11064         (periodcentered) in all text fonts.
11066         * font/*/*: Change it.
11068 2000-04-27  Werner LEMBERG  <wl@gnu.org>
11070         * aclocal.m4 (GROFF_OS390): Fixing compiler flags.
11072         * configure.in: Add check for strings.h.
11073         * src/include/driver.h: Use HAVE_STRINGS_H.
11074         * src/devices/grolbp/lpb.cc: Remove string.h.
11076         * src/include/groff-getopt.h: New file.  It will be used instead of
11077         getopt.h (to be included in lib.h) to avoid endless problems with
11078         picky C++ compilers.
11079         * src/include/lib.h: Use groff-getopt.h.
11080         * src/include/Makefile.sub: Updated.
11082         * configure: Updated.
11083         * Makefile.in: Updated.
11085         * NEWS: Mention EBCDIC support.
11087 2000-04-26  Werner LEMBERG  <wl@gnu.org>
11089         * TODO: Some additions.
11091 2000-04-25  Werner LEMBERG  <wl@gnu.org>
11093         * src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation
11094         of mso request.
11096 2000-04-23  Werner LEMBERG  <wl@gnu.org>
11098         * src/roff/troff/troff.man: Minor fixes.
11100 2000-04-22  Werner LEMBERG  <wl@gnu.org>
11102         * src/roff/troff/troff.man, doc/groff.texinfo, NEWS: Document the
11103         `.T' string register and the incompatible definition of the `.T'
11104         number register (compared to Unix troff).
11106         * man/groff_char.man: Add some missing characters.
11107         * font/devutf8/NOTES: Update.
11109 2000-04-21  Werner LEMBERG  <wl@gnu.org>
11111         * src/include/htmlindicate.h, src/include/lib.h,
11112         src/include/posix.h: Fix copyright.
11114         * src/include/Makefile.sub: Update.
11116 2000-04-20  Werner LEMBERG  <wl@gnu.org>
11118         * src/roff/troff/input.cc (input_char_description): Removing
11119         superfluous space char.
11121         * tmac/tmac.X: Fix typo \(bq -> \(Bq.
11123         * doc/groff.texinfo: Document EBCDIC.
11125 2000-04-19  Werner LEMBERG  <wl@gnu.org>
11127         Introducing `shc' as the glyph name for the soft hyphen character.
11129         * tmac/tmac.tty, tmac/tmac.latin1, tmac/tmac.html,
11130         font/devlatin1/R.proto: Use it.
11132         * NEWS: Updated.
11134 2000-04-18  Werner LEMBERG  <wl@gnu.org>
11136         * src/devices/grops/ps.cc (ps_printer::flush_sbuf): Removing
11137         dependency on ASCII order.
11139 2000-04-16  Sandor BARANY  <S.Barany@infosys.tuwien.ac.at>
11141         * src/libs/libgroff/illegal.c: Added EBCDIC table.
11142         * src/roff/troff/input.cc: Added adaptation to EBCDIC.
11144         * src/preproc/refer/refer.cc, src/roff/troff/env.cc: Minor changes
11145         to increase portability.
11147 2000-04-15  Werner LEMBERG  <wl@gnu.org>
11149         * aclocal.m4: Added GROFF_EBCDIC and GROFF_OS390 tests.
11150         Redefined AC_OUTPUT_MAKE_DEFS to replace ASCII character `012' with
11151         the generic `\n' if under OS/390 Unix.
11153         * configure.in: Call GROFF_EBCDIC and GROFF_OS390.
11155         * configure: Regenerated.
11157 2000-04-14  Werner LEMBERG  <wl@gnu.org>
11159         * doc/groff.texinfo: More conversions to @Deffn.
11161 2000-04-12  Werner LEMBERG  <wl@gnu.org>
11163         * tmac/tmac.psfig: Fix incorrect use of `&' operator by replacing it
11164         with `:'.
11166         * src/roff/nroff/nroff.man: Add note about tmac.tty-char.
11168 2000-04-10  Werner LEMBERG  <wl@gnu.org>
11170         * doc/groff.texinfo: More conversions to @Deffn.
11172 2000-04-08  Werner LEMBERG  <wl@gnu.org>
11174         * src/libs/libgroff/{getopt.c,getopt1.c}, src/include/getopt.h:
11175         Updated to latest version (glibc 2.1.3).
11177 2000-04-07  Werner LEMBERG  <wl@gnu.org>
11179         * doc/Makefile (clean): Include more index files.
11180         Add rule texinfo->dvi.
11182 2000-04-05  Werner LEMBERG  <wl@gnu.org>
11184         * doc/groff.texinfo: Added new index `op' for operators.  More
11185         info on end of sentence characters.  More use of @Deffn.
11187 2000-03-30  Werner LEMBERG  <wl@gnu.org>
11189         * */*.man: Adding a note that a whitespace can be inserted between
11190         a command line option and its parameter -- we are using GNU getopt.
11192         * src/roff/groff/groff.man: Add example of `-m mandoc'.
11194 2000-03-28  Werner LEMBERG  <wl@gnu.org>
11196         Correct anachronism of calling the man macro file with `-man'
11197         instead of `-m man' etc.
11199         * tmac/tmac.man, tmac/tmac.mandoc, tmac/tmac.markup, tmac/tmac.mdoc,
11200         tmac/tmac.me, tmac/tmac.ms: New files tmac.m<package> which simply
11201         load tmac.<package>.
11203         * tmac/Makefile.sub: Updated.  Take care of $(tmac_an_prefix) etc.
11205         * NEWS: Updated.
11207         * doc/groff.texinfo: Updated.
11209         * tmac/groff_man.man: Copyright added.
11211 2000-03-27  Werner LEMBERG  <wl@gnu.org>
11213         * doc/groff.texinfo: Introducing macros `Deffn' and `Defmac' to
11214         typeset the request resp. escape name with a tt font -- due to a
11215         bug in texinfo.tex it is necessary to use the `-e' switch with
11216         texi2dvi.
11218         Improving info about usage of groff units.
11220         Other minor fixes.
11222 2000-03-20  Werner LEMBERG  <wl@gnu.org>
11224         * doc/groff.texinfo: Added section about man macro package
11225         (I've basically taken groff_man.man).  Introducing new indices `ma'
11226         for macros/strings and `gl' for glyph names.  Other minor fixes.
11228         * tmac/groff_man.man: Fixed some typos.
11230 2000-03-19  Werner LEMBERG  <wl@gnu.org>
11232         * doc/groff.texinfo: Removed all occurrences of `you', `we', etc.
11233         Other minor fixes.
11235         * doc/texinfo.tex: New file.
11237 2000-03-18  Werner LEMBERG  <wl@gnu.org>
11239         * doc/groff.texinfo: Improved section on number registers.  Other
11240         minor updates.
11242 2000-03-16  Werner LEMBERG  <wl@gnu.org>
11244         * src/roff/groff/groff.man: Added info about grolbp.  Make nicer
11245         synopsis.
11247         * src/devices/grolbp/grolbp.man, src/roff/nroff/nroff.man,
11248         src/devices/grolj4/grlj4.man, src/devices/grops/grops.man,
11249         src/preproc/eqn/eqn.man, src/utils/afmtodit/afmtodit.man,
11250         src/utils/tfmtodit/tfmtodit.man: Make nicer synopsis.
11252         * src/preproc/grn/grn.man: Better synopsis; added copyright.
11254         * src/roff/grog/grog.man: Updated copyright date.
11256 2000-03-14  Francisco Andrés Verdú  <pandres@dragonet.es>
11258         * configure.in: Added test for strdup.
11260         * src/devices/grolbp/lbp.cc: Added a strdup() version in case none
11261         is available.
11263         Replaced dynamic allocation of arrays `[...]' with `new' operator.
11265         Other minor fixes.
11267 2000-03-12  OKAZAKI Tetsurou  <okazaki@be.to>
11269         * Makefile.comm: Add $(INCLUDES) to $(ALL_CFLAGS).
11271 2000-03-11  Werner LEMBERG  <wl@gnu.org>
11273         * src/preproc/grn/hdb.cc (DBGetType): Added return value to make
11274         compilers silent.
11275         * src/preproc/grn/hgraph.cc: Add #ifdef for hypot().
11276         * src/include/lib.h: Remove some spaces.
11278 2000-03-10  Werner LEMBERG  <wl@gnu.org>
11280         * src/libs/libgroff/tmpfile.cc (xtmptemplate, xtmpfile): Removing
11281         initializers from arguments (some compilers don't like this).
11283 2000-03-09  Gaius Mulley  <gaius@glam.ac.uk>
11285         * src/libs/libgroff/htmlindicate.cc: Added library file which is now
11286         used by pic and eqn to tell grohtml where the graphic regions start
11287         and end.
11288         * src/libs/libgroff/Makefile.sub: Use it.
11289         * src/preproc/eqn/main.cc, src/preproc/pic/troff.cc: Altered to use
11290         graphic_start() and graphic_end() from htmlindicate.cc.
11292 2000-03-09  Werner LEMBERG  <wl@gnu.org>
11294         * tmac/tmac.safer: Will now work correctly in compatibility mode.
11295         * tmac/groff_man.man: More fixes.
11297 2000-03-08  Werner LEMBERG  <wl@gnu.org>
11299         * doc/Makefile: Added texput.log to the `clean' target.
11300         * doc/groff.texinfo: Added info about delimiters for escapes.
11302 2000-03-08  Bernd Warken  <bwarken@mayn.de>
11304         * src/preproc/pic/pic.man: Add info on conversion of pic images to
11305         other graphic formats.
11307 2000-03-07  OKAZAKI Tetsurou  <okazaki@be.to>
11309         * Makefile.in, Makefile.sub, src/preproc/eqn/Makefile.sub,
11310         src/roff/groff/Makefile.sub, src/roff/nroff/Makefile.sub,
11311         src/utils/afmtodit/Makefile.sub: Use $(INSTALL_SCRIPT) for script
11312         files.
11314 2000-03-07  Werner LEMBERG  <wl@gnu.org>
11316         * doc/groff.texinfo: Spelling fixes.
11318 2000-03-06  Werner LEMBERG  <wl@gnu.org>
11320         * tmac/groff_man.man: Completely revised to cover everything in
11321         tmac.an.
11323         * doc/groff.texinfo, src/roff/troff/troff.man: Document evc request.
11324         Other minor fixings.
11325         * src/roff/troff/env.cc (environment_copy): Improve error message and
11326         fix itoa->i_to_a.
11327         * src/roff/troff/TODO: Updated.
11329         * doc/Makefile: Bug fixes -- this is still provisional, though...
11331         * tmac/eqnrc: Small fixes.
11333 2000-03-05  Abramo Bagnara  <abramo@alsa-project.org>
11335         Adding a request `evc' to copy environments.
11337         * src/roff/troff/env.cc (environment::copy, environment_copy):
11338         Implement it.
11339         * src/roff/troff/env.h: Add prototype.
11341 2000-03-05  Francisco Andrés Verdú  <pandres@dragonet.es>
11343         Adding strsep() -- Solaris 8 doesn't have it.
11345         * configure.in: Test it.
11346         * src/devices/grolbp/lbp.cc: Add code.
11348 2000-03-05  Werner LEMBERG  <wl@gnu.org>
11350         * src/roff/troff/div.cc (macro_diversion::output,
11351         top_level_diversion::output): Fixing an incompatibility with
11352         original troff: \x'0' updates the .a register also.  Thanks to
11353         <Andries.Brouwer@cwi.nl> for pointing this out.
11354         * doc/groff.texinfo: Document it.
11356         * Makefile.in: Create Makefile.dep if necessary before calling the
11357         submake process to avoid warning about nonexistent file.
11359         * NEWS, PROJECTS: Updated.
11361 2000-03-04  Werner LEMBERG  <wl@gnu.org>
11363         * tmac/troffrc: Add tmac.lbp.
11365 2000-03-03  Francisco Andrés Verdú  <pandres@dragonet.es>
11367         * tmac/tmac.lbp: New file.
11368         * src/devices/grolbp/grolbp.man: Add documentation of `lbpname'
11369         command.
11371 2000-03-03  Werner LEMBERG  <wl@gnu.org>
11373         * Makefile.in: Fixing $(subdir).
11375         * README, NEWS: Small fixes.
11377         * test-groff: Adding path to grolbp.
11379         * configure.in: The (new) file src/xditview/Imakefile.in will be
11380         also configured -- it is now possible to build gxditview in a
11381         directory different from $srcdir.
11383 2000-03-02  Blake McBride  <blake@florida-software.com>
11385         * src/libs/libgroff/searchpath.cc (open_file): Adapting to WinNT.
11387         * MORE.STUFF: Added website of bell labs and info about plot2dev.
11389 2000-03-01  Colin Phipps  <crp22@cam.ac.uk>
11391         * src/utils/indxbib/indxbib.cc (main): Use mkstemp() for temporary
11392         files.
11394 2000-02-29  Werner LEMBERG  <wl@gnu.org>
11396         Adding GNU getopt to the groff distribution.
11398         * src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
11399         New files.
11400         * src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
11401         * aclocal.a4: Remove GROFF_GETOPT function.
11402         * configure.in, Makefile.in, PROBLEMS: Update.
11403         * src/include/lib.h: Replace getopt tests with getopt.h.
11404         * src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.
11406         * doc/groff.texinfo: Further checking/updating.  Adding more index
11407         entries.
11409         * man/groff_out.man: Fix nroff mode activation (for emacs).
11410         * man/groff_font.man: Add missing ligature.
11412 2000-02-28  Werner LEMBERG  <wl@gnu.org>
11414         * doc/groff.texinfo: Further checking/updating.  Adding more index
11415         entries.
11417         * src/devices/grolbp/grolbp.man: Added a comment line at the
11418         beginning of the file (similar to shell scripts) which indicates
11419         that `tbl' should be used as a preprocessor.
11421 2000-02-27  Blake McBride  <blake@florida-software.com>
11423         Adapting groff to MS Visual C++ 6.0 compiler (tested with
11424         Windows NT 4.0).  Uses _MSC_VER define where necessary.
11426         * src/devices/grodvi/dvi.cc: Making stdout a binary stream.
11427         * src/devices/grolj4/lj4.cc: Making getopt variables `extern "C"'.
11428         * src/devices/grohtml/html.cc, src/devices/grops/ps.cc,
11429         src/include/lib.h, src/libs/libgroff/errarg.cc,
11430         src/libs/libgroff/itoa.c, src/libs/libgroff/nametoindex.cc,
11431         src/preproc/refer/label.y, src/preproc/refer/label.cc,
11432         src/roff/groff/pipeline.c, src/roff/troff/column.cc,
11433         src/roff/troff/div.cc, src/roff/troff/env.cc,
11434         src/roff/troff/input.cc, src/roff/troff/node.cc,
11435         src/roff/troff/reg.cc: Renaming itoa() to i_to_a() and iftoa() to
11436         if_to_a() to avoid name clashes.
11437         * src/include/posix.h: Don't use unistd.h.
11438         * src/libs/libgroff/tmpfile.cc: Use `#ifndef...#else...#endif'
11439         clause for integrating non-Unix xtmpfile() code.
11440         * src/roff/troff/input.cc: Adding `public' keyword to macro_header
11441         structure; use "rt" for popen() in pipe_source(); add getpid()
11442         dummy function.
11443         * src/roff/troff/node.cc: Use special versions of popen() in
11444         real_output_file() and pclose() in ~real_output_file().
11446 2000-02-27  Werner LEMBERG  <wl@gnu.org>
11448         Adding a new driver, grolbp, for Canon CAPSL printers (LBP-4 and
11449         LBP-8 series laser printers).  This code has been contributed by
11450         Francisco Andrés Verdú <pandres@dragonet.es>.
11452         * src/devices/grolbp/*: The grolbp output device.
11453         * font/devlpb/*: The font description files.
11454         * Makefile.in: Add grolpb and devlbp subdirectories.
11456         * src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
11457         src/devices/grotty/grotty.man,src/roff/troff/troff.man: Minor
11458         typographic fixes.
11460         * doc/groff.texinfo: Further checking/updating.  Adding more index
11461         entries.
11463         * NEWS: Updated.
11465         * src/devices/grolbp/Makefile.sub: Adding $(srcdir).
11467         * man/groff_font.man: Adding info about obsolete DESC keywords.
11468         * src/devices/grolj4/grolj4.man: Documenting additional DESC
11469         keywords.
11471 2000-02-26  Werner LEMBERG  <wl@gnu.org>
11473         * src/preproc/grn/grn.man: Added info about the gremlin file format
11474         (contributed by Daniel Senderowicz <daniel@synchrods.com>).
11476 2000-02-25  Werner LEMBERG  <wl@gnu.org>
11478         * src/preproc/grn/main.cc: Allow values of `narrow' parameter and
11479         friends to be non-integer.
11481         * src/preproc/grn/grn.man: Document it.
11483         * doc/groff.texinfo: Further checking/updating.  Adding more index
11484         entries.
11486 2000-02-24  Werner LEMBERG  <wl@gnu.org>
11488         * src/preproc/grn/main.cc: Introduce BASE_THICKNESS, defining
11489         line thicknesses to be integer multiples of this value.
11491         * src/preproc/grn/grn.man: Commenting out the -s option -- the
11492         corresponding code doesn't work (yet).
11494         * doc/groff.texinfo: Further checking/updating.  Adding more index
11495         entries.
11497 2000-02-23  Werner LEMBERG  <wl@gnu.org>
11499         * src/preproc/grn/{main.cc, hgraph.cc}: Using point units to
11500         specify line thickness instead of base units.  The new default
11501         values are now 0.15,pt 0.45pt, and 0.75pt for thin, middle, and
11502         thick lines respectively.
11504         Removed unused variable `prevval'.
11506         * src/preproc/grn/grn.man: Updated.
11508 2000-02-22  Werner LEMBERG  <wl@gnu.org>
11510         * src/preproc/grn/main.cc: Slight formatting.
11512         * src/roff/groff/groff.man: Formatting fix.
11513         * src/preproc/grn/grn.man: Ditto.
11515         * src/roff/grog/grog.pl: Fixing two embarassing bugs.
11517         * doc/groff.texinfo: Further checking/updating.
11519 2000-02-21  Werner LEMBERG  <wl@gnu.org>
11521         * README, INSTALL, PROJECT, PROBLEMS, BUGREPORT: Updated.
11523         * test-groff: Added grn subdir to path.
11525         * doc/groff.texinfo: Some restructing and other small improvements.
11527         * src/roff/groff/groff.cc (help): Fixed info string.
11529 2000-02-20  Werner LEMBERG  <wl@gnu.org>
11531         * doc/meref.me: Fix description of .GS request.
11533         * src/roff/troff/troff.man: Fixing typo.
11535         Adding the `grn' preprocessor for gremlin graphic files.
11537         * src/preproc/grn/*: This is the Berkeley distribution written by
11538         David Slattengren and Barry Roitblat, adapted to groff by Daniel
11539         Senderowicz and Werner Lemberg.
11541         * doc/grnexampl.{me,g}: A sample for grn.
11543         * Makefile.in: Added subdirectory entry for grn.
11545         * src/roff/groff/groff.cc: Added support for grn.  It can be now
11546         called with the switch `-g'.
11548         * src/roff/groff/groff.man: Updated.
11550         * src/roff/grog/grog.{man,pl,sh}: Updated.
11552         * NEWS: Updated.
11554 2000-02-11  Gaius Mulley  <gaius@glam.ac.uk>
11556         * src/include/lib.h: Added xtmptemplate and made xtmpfile
11557         parametrically polymorphic.
11559         * src/libs/libgroff/tmpfile.cc: Implemented xtmptemplate
11560         and the alterations to xtmpfile.
11561         xtmpfile can be requested to return the filename created
11562         and asked not to unlink the temp file.  The default behaviour
11563         if parameters are absent is exactly the same as before.
11565 2000-02-11  Abramo Bagnara  <abramo@alsa-project.org>
11567         A new request `length' is available which returns the length of a
11568         string in a number register:
11570         * src/roff/troff/input.cc (length_macro): Implement it.
11571         * src/roff/troff/input.cc (init_input_requests): Register it.
11573 2000-02-11  Werner LEMBERG  <wl@gnu.org>
11575         * doc/groff.texinfo, src/roff/troff/troff.man: Add documentation
11576         of the `substring' request.
11578         * src/roff/troff/troff.man, doc/groff.texinfo: Document `length'
11579         request.
11581         * src/roff/troff/TODO, NEWS: Updated.
11583 2000-02-09  Werner LEMBERG  <wl@gnu.org>
11585         * src/roff/groff/groff.man: Added an example.
11587 2000-02-06  Werner LEMBERG  <wl@gnu.org>
11589         I've considerably modified the directory structure of the
11590         distribution to get a more vertical layout.  For example, the number
11591         of top level directories has been reduced from 42 to 6.
11593         As a consequence, many changes, especially to the makefiles, were
11594         necessary:
11596         * The makefile variables `top_builddir' and `top_srcdir' have been
11597         introduced.  Virtually all relative paths have been replaced with
11598         absolute ones using these two variables.
11600         * Dependencies (in the files `Makefile.dep') are no longer part of
11601         the distribution.  Instead, they are created during a `make install'
11602         in the build directory.
11604         * aclocal.m4 (GROFF_SRCDIR, GROFF_BUILDDIR): Two new functions to
11605         make `top_srcdir' and `top_builddir' absolute.
11607         Some other changes:
11609         * Man pages now depend on the files `VERSION' and `REVISION'.
11611         * The added shell script `mkinstalldirs' will replace `mkdir' in
11612         almost all cases.
11614         * VERSION: Version number increased to 1.16.
11616 2000-02-04  Werner LEMBERG  <wl@gnu.org>
11618         * grops/psrm.cc (read_one_of): Fixed pointer incrementation.
11620         * Makefile.in: Removed $(tmac_m) since it is no longer needed
11621         (after an update of the mm stuff).
11623         * troff/Makefile.sub (majorminor.cc): Fix dependencies.
11625 2000-02-03  Werner LEMBERG  <wl@gnu.org>
11627         The .psbb request will now also accept Mac PS images (i.e. using LF
11628         as the EOL character).
11630         * troff/input.cc (ps_get_line): New function, taken from psrm.cc
11631         (with slight modifications).
11632         * troff/input.cc (do_ps_file): Use it.
11634         * test-groff: Add grohtml and grolj4 output devices to PATH.
11636 2000-01-30  Werner LEMBERG  <wl@gnu.org>
11638         * NEWS, MORE.STUFF: Updated.
11640 2000-01-30  Cary D. Renzema  <caryr@dollar.mxim.com>
11642         Add the `srand' command to pic.
11644         * pic/lex.cc, pic/pic.y: Implement it.
11645         * pic/pic.man: Document it.
11646         * pic/pic.cc, pic/pic.tab.h: Regenerated (with yacc).
11648 2000-01-30  Werner LEMBERG  <wl@gnu.org>
11650         Add a new request `.psbb'.  This does exactly what the external
11651         program psbb did.  It scans a PostScript image file for a
11652         %%BoundingBox comment and extracts the bounding box values (in
11653         PostScript units) which are then stored in the four new (read-only)
11654         number registers `llx', `lly', `urx', and `ury'.
11656         This will allow the usage of the .PSPIC macro without worrying
11657         about unsafe behaviour of groff, i.e., it will work without the
11658         `-U' switch of groff.
11660         * troff/input.cc: Implement it.
11661         * tmac/tmac.pspic: Use it.
11662         * troff/troff.man, grops/grops.man, NEWS: Document it.
11663         * psbb/*, Makefile.in: Remove it since it is no longer needed.
11665         This is bloody C code simply adapted from psbb.c!  Any improvements
11666         welcome.
11668 2000-01-29  Werner LEMBERG  <wl@gnu.org>
11670         * man/groff_font.man: Minor clarifications.
11672         * NEWS: Updated.
11674 2000-01-28  Werner LEMBERG  <wl@gnu.org>
11676         * afmtodit/afmtodit.pl: Use new `--' comment delimiter.
11678 2000-01-28  Gaius Mulley  <gaius@glam.ac.uk>
11680         * man/groff_font.man: Brought up to date regarding tcommand
11681         extensions.
11682         * libgroff/font.cc: Handle everything after `--' as a comment
11683         in the font files.
11684         * devps/*: Added comment delimiter inside devps font files.
11686 2000-01-28  Werner LEMBERG  <wl@gnu.org>
11688         * tmac/tmac.arkup, tmac/groff_markup.man: Replace \fC...\fR with
11689         \fC...\fP (which now works as expected).
11691         * troff/troff.man: Fix typo.
11693 2000-01-27  Gaius Mulley  <gaius@glam.ac.uk>
11695         Completed the pass_filenames implementation in troff.
11697         * libdriver/input.cc: Will read the new `F' tcommand.
11698         * troff/node.cc, troff/node.h: Will issue the new `F' tcommand.
11699         * troff/input.cc: Use it.
11701 2000-01-26  Werner LEMBERG  <wl@gnu.org>
11703         * troff/env.cc (set_font): Fix the behaviour of \fP.  The previous
11704         font will now be updated even if an invalid font is selected.
11706 2000-01-24  Werner LEMBERG  <wl@gnu.org>
11708         * doc/homepage.ms: Updated for new tmac.arkup.
11710         * tmac/tmac.html: Disable line breaks after hyphen-like characters.
11712         * tmac/tmac.arkup: Cleanup.
11714         Added `\&' to .HTML macro to `leave vertical mode', so to say.
11716         Removed obsolete .LINK macro completely.
11718         The macros .URL, .FTP, and .MAILTO now accept a third argument which
11719         will be immediately appended to the second argument (to be used with
11720         punctuation, for example).
11722         Disabled .CDFTP macro temporarily for security reasons.
11724         * tmac/groff_markup.man: Complete revision for latest changes in
11725         tmac.arkup -- note that it does not yet format correctly with
11726         grohtml :-(
11728 2000-01-23  Bruno Haible  <haible@clisp.cons.org>
11730         * nroff/nroff.sh: Accept -Tutf8 option and pass it through.
11731         * devutf8/R.proto: Add mappings for wp, lh, rh.
11732         * devutf8/NOTES: Updated.
11734 2000-01-23  Werner LEMBERG  <wl@gnu.org>
11736         * doc/groff.texinfo: Updated version/copyright info.
11738 2000-01-21  Gaius Mulley  <gaius@glam.ac.uk>
11740         Added support for two new directives in device descriptions:
11741         `pass_filenames' (to pass the input file name to the output device)
11742         and `use_charnames_in_special' (to support e.g. accented characters
11743         in the `X' request).
11745         * include/font.h, troff/charinfo.h: Declare it.
11747         * libgroff/font.cc, libgroff/fontfile.cc: Set it.
11749         * devhtml/DESC: Use it.
11751         * troff/input.cc: New function encoded_char.
11753         * troff/token.h: Add test for `specialness'.
11755 2000-01-21  Werner LEMBERG  <wl@gnu.org>
11757         * tmac/Makefile.sub: tmac.a4 and tmac.trace have been removed by
11758         mistake from the list of files to be installed.
11760 2000-01-18  Werner LEMBERG  <wl@gnu.org>
11762         * README: Added info how to apply patches.
11764 2000-01-15  Jan Echternach  <echter@informatik.uni-rostock.de>
11766         * troff/node.cc (ligature_note::operator delete):  Fix g++ warning.
11768 2000-01-15  Gaius Mulley  <gaius@glam.ac.uk>
11770         * troff/input.cc: Add support for troffrc-end.
11772         * tbl/main.cc: Altered to issue table-start and table-end special
11773         characters if using the html device.
11775         * devhtml/*: Modified font files to incorporate html encoding of
11776         characters.
11778         * tmac/groff_markup.man: New file documenting tmac.arkup.
11780         * tmac/troffrc-end: New file.  This is invoked after all user
11781         specified macros.  Currently used by the html device to include
11782         tmac.html.  Thus no need for users to specify -mhtml anymore.
11784         * tmac/Makefile.sub (NORMALFILES): Add troffrc-end.
11785         (MAN7): Add groff_markup.man.
11787         * tmac/tmac.an, tmac/tmac.html: Small html updates.
11789         * tmac/troffrc: tmac.arkup will now be called for the html device.
11791         * libgroff/font.cc, libgroff/font.h: Altered to include reading of
11792         extra device specific information about fonts.
11794         * doc/homepage.ms: New file.  It is an example how an HTML home page
11795         could look like with grohtml.
11797         * doc/Makefile: Add homepage.ms.  Remove rule for pic.html.
11799 2000-01-12  Bruno Haible  <haible@clisp.cons.org>
11801         * devutf8/R.proto: Add mappings for ti, Fn, st, an.  Change mappings
11802         of Im, Re.
11804         * devutf8/NOTES: Updated.
11806 2000-01-08  Bruno Haible  <haible@clisp.cons.org>
11808         * eqn/box.cc, eqn/lex.cc, eqn/other.cc, eqn/over.cc, eqn/special.cc,
11809         eqn/text.cc, grodvi/dvi.cc, grops/ps.cc, grops/psrm.cc,
11810         libbib/index.cc, libbib/linear.cc, libbib/search.cc,
11811         libdriver/printer.cc, libgroff/font.cc, libgroff/string.cc,
11812         pic/lex.cc, pic/object.cc, refer/label.y, refer/ref.cc, tbl/main.cc,
11813         tbl/table.cc, tfmtodit/tfmtodit.cc, troff/dictionary.cc,
11814         troff/div.cc, troff/env.cc, troff/input.cc, troff/node.cc,
11815         troff/node.h, troff/reg.cc: Avoid most "g++ -Wall -Wno-sign-compare"
11816         warnings.
11818         * troff/node.cc (bracket_node::copy): Initialize last to NULL.
11820 2000-01-12  Fabrizio Polacco  <fab@prosa.it>
11822         grolj4: Paper size will be searched case-insensitively.
11824         * include/lib.h: Add check for strcasecmp().
11825         * grolj4/li4.cc (lookup_paper_size): Use strcasecmp().
11826         * configure.in: Check for strcasecmp().
11828 2000-01-11  Werner LEMBERG  <wl@gnu.org>
11830         * troff/Makefile.sub (majorminor.cc): Fix incorrect path to
11831         `REVISION'.
11833 2000-01-10  Werner LEMBERG  <wl@gnu.org>
11835         * Makefile.comm, Makefile.in, doc/Makefile: More fixes for the
11836         revision scheme.
11838         Add a new read-only register, `.Y', which contains the groff
11839         revision.
11841         * troff/input.cc (init_input_requests): Define it.
11842         * troff/Makefile.sub (majorminor.cc): Define `revision' string.
11843         * doc/groff.texinfo, troff/troff.man: Document it.
11845         * libgroff/Makefile.sub (version.cc): Add definition of
11846         `Version_string[]', consisting of `<major>.<minor>.<revision>'
11847         * eqn/main.cc, grodvi/dvi.cc, grolj4/lj4.cc, grops/ps.cc,
11848         grotty/tty.cc, hpftodit/hpftodit.cc, indxbib/indxbib.cc, pic/main.cc,
11849         refer/refer.cc, soelim/soelim.cc, tbl/main.cc, tfmtodit/tfmtodit.cc,
11850         troff/input.cc, pfbtops/pfbtops.c: Use it.
11852 2000-01-10  Fabrizio Polacco  <fab@prosa.it>
11854         Add a revision scheme to the groff package.
11856         * REVISION: New file.
11857         * libgroff/Makefile.sub (version.cc): Use it to define
11858         `revision_string[]'.
11859         * grops/psrm.cc: Use revision_string (converted to an unsigned
11860         integer) in constructor of resource_manager.
11862 2000-01-10  Bruno Haible  <haible@clisp.cons.org>
11864         * devutf8/Makefile.sub, devutf8/DESC.proto, devutf8/R.proto: New
11865         files.
11866         * Makefile.in (DEVDIRS): Add devutf8.
11867         * grotty/tty.cc: Include device.h.
11868         (glyph): Change type of `code' to `unsigned int'.
11869         (tty_printer): New field is_utf8.  Constructor takes device argument.
11870         (tty_printer::tty_printer): If device if `utf8', set is_utf8.
11871         (tty_printer::add_char): Change type of first arg to `unsigned int'.
11872         (tty_printer::put_char): New function.
11873         (tty_printer::end_page): Use put_char() instead of ::putchar().
11874         (make_printer): Pass device to tty_printer constructor.
11875         * nroff.sh: Determine default device by calling 'locale'.  As a
11876         fallback, look at all of $LC_ALL, $LC_CTYPE, $LANG, $LESSCHARSET.
11877         Recognize UTF-8 locales.
11878         * tmac/eqnrc: Recognize utf8 like latin1.
11879         * tmac/troffrc: Device utf8 needs tmac.tty.
11881 2000-01-07  Werner LEMBERG  <wl@gnu.org>
11883         * tmac/Makefile.sub: tmac.a4 and tmac.trace will now be installed.
11885 2000-01-07  Paul Eggert  <eggert@twinsun.com>
11887         Add a new predefined writeable number register, `year',
11888         which contains the current year.
11890         * doc/groff.texinfo, PROBLEMS, troff/troff.man: Document it.
11891         * tmac/tmac.s: Use it.
11892         * troff/input.cc (init_registers): Initialize it.
11894 2000-01-06  Werner LEMBERG  <wl@gnu.org>
11896         * PROBLEMS: Fixed typo.
11898 2000-01-04  Paul Eggert  <eggert@twinsun.com>
11900         * PROBLEMS: Add Y2k advice for the yr number register.
11902 2000-01-03  Paul Eggert  <eggert@twinsun.com>
11904         * doc/groff.texinfo: Fix Y2k bug in documentation of \n(yr.
11906 2000-01-02  Werner LEMBERG  <wl@gnu.org>
11908         * tmac/tmac.arkup: Slight modification of macros to provide better
11909         appearance for non-HTML formats.
11911 2000-01-01  Charles Levert  <charles@comm.polymtl.ca>
11913         * soelim/soelim.cc (include_path_append): realloc(NULL, n)
11914         does not automatically translate to malloc(n) on all OSes
11915         (e.g., SunOS) so do it explicitly.  Also, check the returned
11916         value.
11918 2000-01-01  Werner LEMBERG  <wl@gnu.org>
11920         * tmac/tmac.arkup: Added .LINE macro.  Some formatting.
11922         * Makefile.in: Added $(tmac_m) again since the Makefile in `mm'
11923         expects this variable
11925 2000-01-01  Gaius Mulley  <gaius@glam.ac.uk>
11927         * doc/Makefile: Added instructions to create HTML and text
11928         versions of some files.
11930 1999-12-31  Werner LEMBERG  <wl@gnu.org>
11932         * Updated INSTALL.gen.
11934         * tmac/tmac.arkup: Added fixes so that .FTP and .MAILTO works
11935         better resp. correctly with non-HTML devices.
11937 Version 1.15 released
11938 =====================
11940 1999-12-28  Werner LEMBERG  <wl@gnu.org>
11942         * NEWS, VERSION: Changed to 1.15
11944 1999-12-27  Paul Eggert  <eggert@twinsun.com>
11946         * nroff/nroff.man: -S is safer, not safe.
11948         * groff/groff.cc (main): Use `safer', not `safe', in variable
11949         names.  This does not change the behavior.
11951         * troff/input.cc (main): Likewise.
11953         * nroff/nroff.sh: Likewise.
11955         * troff/input.cc (prepend_string): New function.
11956         (main): Prepend -msafer, so that we check macro libraries for
11957         safety.
11959         * PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.
11961 Version 1.14 released
11962 =====================
11964 1999-12-26  Werner LEMBERG  <wl@gnu.org>
11966         * NEWS, VERSION: Changed to 1.14.
11968 1999-12-24  Werner LEMBERG  <wl@gnu.org>
11970         * refer/refer.cc: Fixing the last fix.
11972 Version 1.13 released
11973 =====================
11975 1999-12-23  Werner LEMBERG  <wl@gnu.org>
11977         * tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
11978         number disappear.
11980         * NEWS: Updated.
11982         * tmac/tmac.safer: Forgot to remove `so' from the `rm' request.
11984         * VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
11985         document conventions, the version number must be a real.
11987 Version 1.12.1 released
11988 =======================
11990 1999-12-22  Werner LEMBERG  <wl@gnu.org>
11992         * VERSION: Changed to 1.12.1.
11994 1999-12-22  Alan Rooks  <arooks@istar.ca>
11996         * refer/refer.cc (do_file): Slight modification to satisfy the
11997         `Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
11998         UnixWare 7.1.
12000 1999-12-20  Werner LEMBERG  <wl@gnu.org>
12002         * changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
12003         notices.
12005         * tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
12006         list of unsafe requests.
12008         * pic/pic.man: Fixed a typo.
12010         * man/groff_out.man: Fixed a typo.
12012 1999-12-18  Werner LEMBERG  <wl@gnu.org>
12014         * Makefile.in: Doc fixes.
12016 1999-12-17  Fabrizio Polacco  <fab@prosa.it>
12018         * groff/groff.cc: Missing `U' option added to getopt().
12020         * troff/troff.man: Missing `U' option added to synopsis.
12022 Version 1.12 released
12023 =====================
12025 1999-12-14  Werner LEMBERG  <wl@gnu.org>
12027         * troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
12028         to the synopsis.
12030         * nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
12031         with the more appropriate terms `safer' and `unsafe'.
12033         * libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
12034         sys_nerr and sys_errlist[].
12036         * pic/pic.h, aclocal.m4, configure.in: Added check for hypot().
12038         * pic/pic.y, pic/pic.cc: Added check for fmod().
12040 1999-12-13  Werner LEMBERG  <wl@gnu.org>
12042         * VERSION: Changed to 1.12.
12044         Here some patches from various sources; most of them taken from
12045         the Debian distribution.
12047         * tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
12048         tmac/Makefile.sub: New files copied directly from the NetBSD
12049         distribution.  Probably, some additional adaptation later on is
12050         necessary...
12052         * tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
12053         of unsafe requests.
12055         * groff/groff.cc, groff/groff.man, nroff/nroff.sh,
12056         nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
12057         troff/troff.man: Added option `-U' for unsafe mode.  Safe mode
12058         (`-S') is now the default.
12060         * README, NEWS: Updated.
12062 1999-12-09  Werner LEMBERG  <wl@gnu.org>
12064         * doc/groff.texinfo: Regenerated nodes and menus with emacs.
12066         * doc/Makefile (clean): Added cleaning commands for groff.texinfo.
12068 1999-12-06  Werner LEMBERG  <wl@gnu.org>
12070         * configure.in: Removed AC_PREFIX_PROGRAM since it causes more
12071         grief than relief today.  Additionally, it is against the GNU
12072         coding standards.
12074         * configure: Recreated.
12076 1999-12-05  Werner LEMBERG  <wl@gnu.org>
12078         * configure.in: Added GROFF_LIBM.
12080         * configure: Recreated.
12082         * aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
12083         necessary.
12085         * Makefile.in: Added definition of $(LIBM).
12087         * Makefile.comm (LIBM): Removed.
12089         * pfbtops/Makefile.sub: On AIX, -lm is needed also.
12091 1999-12-03  Gaius Mulley  <gaius@glam.ac.uk>
12093         * doc/Makefile: Added rule for generation pic.html.
12095         (clean): Files produced by grohtml will be removed also.
12097         * doc/pic.ms: Small fix.
12099         * tmac/tmac.html: Fixed suppression of headers.
12101 1999-11-16  Gaius Mulley  <gaius@glam.ac.uk>
12103         * tmac/tmac.html: Fixing horizontal arrows.
12105         Turning off hyphenation.
12107         * tmac/tmac.an: Improved support for grohtml; better indentation,
12108         no footers/headers.
12110 1999-10-31  Gaius Mulley  <gaius@glam.ac.uk>
12112         * tmac/tmac.arkup: Added CDFTP macro
12114         * tmac/tmac.html: All headers are turned off for ms, me, and mm
12115         macros.
12117         * tmac/troffrc: Some additions for HTML stuff.
12119 1999-10-06  Gaius Mulley  <gaius@glam.ac.uk>
12121         * tmac/tmac.html: Small changes.
12123 1999-09-26  Werner LEMBERG  <wl@gnu.org>
12125         * doc/groff.texinfo: Minor fixes.
12127 1999-09-26  Gaius Mulley  <gaius@glam.ac.uk>
12129         * devhtml/TR: Changed spacewidth to 3.
12131         * tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.
12133         * tmac/tmac.html: Moved markup macros to tmap.arkup.
12135         * tmac/tmac.arkup: New file.
12137         * grohtml/ChangeLog: New file.
12139 1999-09-16  Werner LEMBERG  <wl@gnu.org>
12141         * doc/groff.texinfo (Common Features): Added Copying chapter.
12142         Changed format to @smallbook.
12144 1999-09-15  Werner LEMBERG  <wl@gnu.org>
12146         * NEWS: Added info about groff.texinfo.
12148         * doc/groff.texinfo: Will now compile (using texi2dvi) without
12149         warning messages.
12151 1999-09-14  Werner LEMBERG  <wl@gnu.org>
12153         * groff/groff.man: More updates.
12155 1999-09-13  Werner LEMBERG  <wl@gnu.org>
12157         * doc/groff.texinfo: New file.  This manual is still very
12158         rudimentary.  It has been originally contributed by Trent
12159         A. Fisher <trent@gnurd.portland.or.us> with first corrections and
12160         additions by me.
12162         * INSTALL: Added information about the `doc' subdir
12164         * troff/troff.man: Minor fixes.
12166         * groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
12167         reordered options.
12169         * troff/input.cc (usage): Added missing `-ffam' to usage message.
12171         * Makefile.in (dist): groff-$(version).tar.gz must be removed
12172         also, otherwise it is included itself in another call of `make
12173         dist'.
12175         * groff/groff.cc (synopsis): Removed superfluous space.
12177         * PROJECTS, PROBLEMS, NEWS: Updated.
12179         * VERSION: Updated to 1.12beta.
12181         * BUG-REPORT: Some cosmetic fixes.  Corrected email address.
12183         * README: Updated: Included documentation about CVS repository,
12184         mailing lists, and daily snapshots.
12186         * tmac/Makefile.sub: Fixed $(tmap_wrap) finally.
12188 1999-09-12  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
12190         * tmac/tmac.an: If the tag didn't fit into the space that the
12191         macro `TP' specifies, the rest of the tag went into the space for
12192         the next line.
12194 1999-09-12  Jeffrey Copeland  <jeff@opennt.com> 
12196         * grolj4/lj4.cc: Added duplex printing (option `-d').
12198         * grolj4/grolj4.man: Document duplex printing.
12200 1999-09-12  Werner LEMBERG  <wl@gnu.org>
12202         * doc/Makefile (pic.ps): Fixed rule which caused problems with
12203         non-GNUish sed programs.
12205         * tmac/doc-syms: Removed extra space from -iso8802-3 macro
12206         definition.
12208         * configure.in (LIBS): Added `-lc'
12210         * Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.
12212         * pic/tex.cc (solid_arc): Casting M_PI to double.
12214         * libgroff/putenv.c (putenv): Changed function header to ANSI C.
12216         * groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
12217         (new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
12218         file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.
12220         * groff/groff_man.man: New file.  This manual page was originally
12221         written for the Debian GNU/Linux system by Susan G. Kleinmann
12222         <sgk@debian.org>.
12224         * eqn/list.cc (list_box::compute_metrics,
12225         list_box::compute_sublist_width): Removed variable declaration to
12226         avoid shadowing warnings.
12228         * grops/psrm.cc (resource_manager::process_file): Ditto.
12230         * tfmtodit/tfmtodit.cc (main): Ditto.
12232         * libgroff/font.cc (font::load_desc): Renamed auxiliary variable
12233         to avoid shadowing warnings.
12235         * tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
12236         shadowing loop variable.
12238         * groff/groff.man, troff/troff.man: Added doc about grohtml.
12240 1999-09-12  Gaius Mulley  <gaius@glam.ac.uk>
12242         New grohtml frontend to convert groff input to html.
12244         * Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.
12246         * tmac/Makefile.sub (NORMALFILES): Added tmac.html.
12248         * tmac/eqnrc: Added html device.
12250         * tmac/tmac.html: New file.
12252         * eqn/main.cc (do_file, inline_equation), pic/troff.cc
12253         (troff_output::start_picture, troff_output::finish_picture),
12254         tbl/main.cc (process_input_file):
12255         Surrounded output with `graphics_start' and `graphics_end' so that
12256         the html driver can identify non-text portions.
12258         * grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
12259         (lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
12260         grotty/tty.ps (tty_printer::set_char): Additional parameter
12261         `name'.
12263         * include/printer.h: Class printer: New function
12264         set_char_and_width; new variables (is_char_named, is_named_set,
12265         named_command, named_char_s, named_char_n) to hold information
12266         about named characters -- needed by the html driver.
12268         * libdriver/printer.cc (printer::set_ascii_char,
12269         printer::set_special_char): Use set_char_and_width.
12271         * devhtml/*: New device files for html driver.
12273         * grohtml/*: New driver grohtml.
12275 1999-09-11  Wilfredo Sanchez  <wsanchez@apple.com>
12277         * tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
12278         default strings.
12280 1999-09-11  Luke Mewburn  <lukem@netbsd.org>
12282         * libgroff/string.cc (search): Small fix to test against NULL
12283         pointer.
12285 1999-09-11  Jeff Conrad  <jeff_conrad@msn.com>
12287         * troff/node.cc (copy): The characters in a bracket escape (e.g.,
12288         \b'abc') were stacked in reverse order when processed in a
12289         diversion.
12291         * troff/node.h: Added `*last' to struct `node' to make the above
12292         fix work.
12294         * troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
12295         The default scale for the 'f' and 't' graphics functions were 'm'
12296         rather than 'u' (i.e., no scaling).
12298 1999-09-11  Peter Miller  <peterm@jna.com.au>
12300         * groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
12301         do_file), soelim/soelim.man: Added `-I file' option to soelim,
12302         defining include paths.
12304         * soelim/soelim.cc (include_path_append): New function.
12306 1999-09-11  Larry Jones  <larry.jones@sdrc.com>
12308         * tbl/main.cc (process_options): Unix (at least Documenter's
12309         Workbench) tbl allows arbitrary non-alpha characters between
12310         options.
12312 1999-09-11  Paul Eggert  <eggert@twinsun.com>
12314         Y2k fixes.  Don't assume that the current year precedes 2000.
12316         * doc/meref.me: Add \n(y2, \n(y4.
12318         * tmac/doc-common (Yr): New number register.
12319         (Dd): Don't assume current year precedes 2000.
12321         * tmac/tmac.e (td): Likewise.
12322         (y2, y4): New number registers.
12324         * pic/pic.man: Update reference for pic paper to May, 1991
12325         version.
12327 1999-09-11  Werner LEMBERG  <wl@gnu.org>
12329         * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
12330         Removed quotation marks which prevented correct expansion of
12331         $(tmac_wrap).
12333         * devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).
12335 1999-09-10  Werner LEMBERG  <wl@gnu.org>
12337         * Makefile.sub (DISTCLEANFILES): Added `config.log' and
12338         `config.cache'.
12340         * Removed configure.old.
12342 1999-08-31  Werner LEMBERG  <wl@gnu.org>
12344         * VERSION: Updated to 1.11.1
12346 1999-05-27  Werner LEMBERG  <wl@gnu.org>
12348         * doc/Makefile: changed `.PS' postfix to `.ps' for consistency.
12350         * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
12351         added quotations around $(tmac_wrap) to avoid syntax error if
12352         variable is empty.
12354         * configure: Newly generated using autoconf 2.13.
12356         * Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.
12358 Fri Aug 15 08:51:47 1997  Eric S. Raymond  <esr@snark.thyrsus.com>
12360         * README, PROJECTS, NEWS, INSTALL, VERSION, 
12361         doc/Makefile. doc/pic.ms, groff/groff.man:
12362         Prepare for 1.11 release.  No code changes.
12363         Documentation for pic added (doc/pic.ms).
12365 Sun Nov 26 11:45:13 1995  James Clark  <jjc@jclark.com>
12367         * Version 1.10 released.
12369 Fri Nov 24 09:56:16 1995  James Clark  <jjc@jclark.com>
12371         * afmtodit/afmtodit.pl: Avoid comment on first line.
12373 Mon Nov 20 11:13:49 1995  James Clark  <jjc@jclark.com>
12375         * aclocal.m4 (GROFF_INSTALL_SH): New macro.
12376         * configure.in: Call it.
12378         * Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
12379         (distfiles): Doesn't depend on config.log or config.cache.
12381 Sun Oct  1 08:45:36 1995  James Clark  <jjc@jclark.com>
12383         * grog/grog.sh: Use print "" rather than print in END rule.
12385 Wed Aug 23 13:30:52 1995  James Clark  <jjc@jclark.com>
12387         * tbl/main.cc (process_data): Don't give error for excess data
12388         entries that are comments.
12390 Fri Jul 28 11:00:27 1995  James Clark  <jjc@jclark.com>
12392         * tbl/main.cc (process_data): Fix case where new for-scope rules
12393         silently change meaning of code.
12395 Tue Jul  4 23:39:51 1995  James Clark  <jjc@jclark.com>
12397         * troff/env.cc (hyphenate): Loop over all consecutive sequences
12398         of non-zero hyphenation codes.
12400 Sat Jul  1 00:42:15 1995  James Clark  <jjc@jclark.com>
12402         * aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.
12404 Thu Jun 29 13:58:36 1995  James Clark  <jjc@jclark.com>
12406         * tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.
12408 Tue Jun 27 12:30:16 1995  James Clark  <jjc@jclark.com>
12410         * tmac/tmac.andoc: Make it work in compatibility mode.
12412         * refer/token.h (token_info::is_range_sep): New function.
12413         * refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
12414         * refer/ref.cc (reference::output): More sophisticated check for
12415         multiple pages.
12417         * devps/prologue.ps (MANUAL): New procedure.
12418         * grops/ps.cc (main): New -m option.
12419         (usage): Include -m.
12420         (ps_printer::~ps_printer): Implement -m.
12422         * aclocal.m4 (GROFF_G): New macro.
12423         * configure.in: Call it.
12424         * Makefile.in (g): Provided by configure.
12426         * hpftodit/hpftodit.cc (basename): Rename to xbasename.
12428         * tmac/tmac.tty: Disable warning about bad fonts.  Remove font
12429         translations.
12431         * Makefile.in (tmacpath): Don't include /usr/lib/tmac.
12432         (tmac_m, tmac_s): Deleted.
12433         (sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
12434         tmac_s_prefix): New variables.
12435         (MDEFINES): Change accordingly.
12436         * Makefile.comm (.man.n): Use new TMAC_* variables.
12437         * configure.in (GROFF_TMAC): Call.
12438         * aclocal.m4 (GROFF_TMAC): Define.
12439         * tmac/Makefile.sub (stamp_wrap): New target.
12440         (install_data, uninstall_sub): Handle macro wrapping.
12442 Mon Jun 26 14:54:39 1995  James Clark  <jjc@jclark.com>
12444         * tbl/main.cc (main): Ignore -T option.
12446 Thu Jun 22 09:08:06 1995  James Clark  <jjc@jclark.com>
12448         * devlj4/generate/special.map: Add definition of \(nb.
12450         * tmac/tmac.dvi: Add definition of \(nb.
12452         * troff/dictionary.c (dictionary::dictionary): association::v gets
12453         initialized by association::association.
12455         * tmac/Makefile.sub: Avoid using temporary files when installing.
12457         * troff/env.cc (environment::set_font): Make bad font number a
12458         warning.
12460         * Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.
12462         * Makefile.in (datadir): Use share rather than lib.
12464         * groff/groff.cc (basename): Rename to xbasename.
12466 Wed Jun 21 16:59:46 1995  James Clark  <jjc@jclark.com>
12468         * Makefile (CCLIBS): Don't use.
12469         * Makefile.ccpg: Likewise.
12471         * acgroff.m4: Rename to...
12472         * aclocal.m4: Modify extensively for autoconf 2.
12473         * configure.in: Likewise.
12474         * Makefile.in: Likewise.
12476         * groff/pipeline.c (const): Declare as empty if __STDC__ not
12477         defined.
12478         (xstrsignal): Check for definition of NSIG. Conditionalize
12479         on SYS_SIGLIST_DECLARED.  Make return type const.
12481 Sat Jun 10 12:28:16 1995  James Clark  <jjc@jclark.com>
12483         * troff/input.cc (interpolate_macro): Rephrase missing space
12484         warning.
12486 Thu May 11 01:07:16 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
12488         * addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
12489         grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
12490         grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
12491         libbib/index.cc, libbib/linear.cc, libbib/search.cc,
12492         libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
12493         libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
12494         libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
12495         pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
12496         refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
12497         tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
12498         troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
12499         Fix 'for' scoping.
12501 Wed Apr 19 21:15:11 1995  James Clark  <jjc@jclark.com>
12503         * troff/input.cc (spring_trap): Push a macro_iterator rather than a
12504         string_iterator.
12505         (spring_trap, postpone_traps, unpostpone_traps): Move to later in
12506         file.
12507         (macro_iterator::macro_iterator): Add additional argument.
12509 Mon Apr 10 12:06:02 1995  James Clark  <jjc@jclark.com>
12511         * troff/div.cc (vertical_size::vertical_size): In place of integer
12512         specifying line spacing use cunits specifying post vertical
12513         space.
12514         (macro_diversion::output, top_level_diversion::output): Likewise.
12515         * troff/div.h: Change declarations accordingly.
12516         * troff/env.cc (pending_output_line): Replace ls field by post_vs
12517         field.
12518         (pending_output_line::pending_output_line,
12519         pending_output_line::output, environment::output,
12520         environment::output_line, environment::output_title,
12521         environment::hyphenate_line):  In place of
12522         integer specifying line spacing use cunits specifying post vertical
12523         space.
12524         (environment::environment): Add post_vertical_spacing and
12525         prev_post_vertical_spacing arguments.
12526         (environment::get_post_vertical_spacing): New function.
12527         (environment::total_post_vertical_spacing): New function.
12528         (environment::post_vertical_spacing): New function.
12529         (init_env_requests): Initialize pvs request and .pvs register.
12530         * troff/env.h: Change declarations.
12532 Tue Mar 28 09:52:07 1995  James Clark  <jjc@jclark.com>
12534         * tmac/tmac.pspic: Immediately remove the temporary file.
12536 Sat Mar 25 10:43:11 1995  James Clark  <jjc@jclark.com>
12538         * tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
12539         height is specified.
12541 Thu Jan 26 16:20:13 1995  James Clark  <jjc@jclark.com>
12543         * tbl/table.c (struct vertical rule, class table_entry): Use int
12544         not short for start_row and end_row.
12546 Fri Jan 13 13:53:05 1995  James Clark  <jjc@jclark.com>
12548         * troff/input.cc (trapping_blank_line, blank_line_macro): New
12549         functions.
12550         (diverted_space_node::reread, process_input_stack): Call
12551         trapping_blank_line() rather than blank_line().
12552         (init_input_requests): Bind "blm" to blank_line_macro().
12554         * tmac/tmac.s (XA): Use .br and par@reset rather than XA.
12556 Tue Jan 10 11:40:35 1995  James Clark  <jjc@jclark.com>
12558         * troff/env.cc (environment::possibly_break_line): Require that
12559         width total excluding width of final space node be greater than
12560         the target text length.
12562 Tue Jan  3 09:13:37 1995  James Clark  <jjc@jclark.com>
12564         * troff/node.cc (kern_pair_node::vertical_extent): New function.
12566 Sun Dec  4 13:19:07 1994  James Clark  <jjc@jclark.com>
12568         * troff/node.cc (charinfo_node): New class.
12569         (glyph_node, composite_node): Derive from charinfo_node.  Change
12570         member functions accordingly.
12572 Wed Nov 30 10:29:29 1994  James Clark  <jjc@jclark.com>
12574         * nroff/nroff.sh: Use -Tlatin1 not -TLatin1.
12576 Mon Aug  8 10:17:59 1994  James Clark  (jjc@jclark.com)
12578         * tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].
12580         * devps/generate/textmap (notsubset): Add.
12582         * tmac/tmac.a4: New file.
12584 Sun Jul 24 20:08:42 1994  James Clark  (jjc@jclark.com)
12586         * pic/main.cc (had_parse_error): New variable.
12587         (do_picture, do_whole_file): Set had_parse_error if yyparse()
12588         returns non-zero.
12589         (main): Return 1 if had_parse_error is true.
12591 Tue Jul 19 13:40:31 1994  James Clark  (jjc@jclark.com)
12593         * grolj4/lj4.cc (main): Avoid use of strtoul.
12595 Mon Jul 18 15:03:02 1994  James Clark  (jjc@jclark.com)
12597         * nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
12598         iso_8859_1 or $LESSCHARSET is latin1.
12600 Sun Jul 10 13:38:35 1994  James Clark  (jjc@jclark.com)
12602         * hpftodit: New directory.
12603         * Makefile.in (CCPROGDIRS): Add hpftodit.
12604         * devlj4/generate: New directory.
12606 Thu Jul  7 23:49:48 1994  James Clark  (jjc@jclark.com)
12608         * configure.in: Don't use AC_VFORK.
12609         * groff/pipeline.c (run_pipeline): Use fork() always.
12611 Wed Jul  6 11:13:17 1994  James Clark  (jjc@jclark.com)
12613         * grops/ps.cc (main): Use %1 not %s in error message for -w.
12615         * Makefile.in (CCPROGDIRS): Add grolj4.
12616         (DEVDIRS): Add devlj4.
12617         * grolj4, devlj4: New directories.
12618         * tmac/troffrc: Handle lj4.
12619         * tmac/tmac.lj4: New file.
12621 Fri Jun 17 18:02:53 1994  James Clark  (jjc@jclark.com)
12623         * tmac/tmac.e (@n): Set indent to 0 before calling |h.
12625 Wed Jun  1 07:33:47 1994  James Clark  (jjc@jclark.com)
12627         * troff/input.cc (do_if_request): At end of second string, switch
12628         environments before getting next token.
12630 Fri May 20 07:39:18 1994  James Clark  (jjc@jclark.com)
12632         * devps/psstrip.sed: Split rule that strips whitespace on either
12633         side of delimiters.
12635 Wed May 18 08:13:47 1994  James Clark  (jjc@jclark.com)
12637         * troff/node.h (font_family::make_definition): Add return value to
12638         declaration.  * troff/symbol.h (symbol::operator==,
12639         symbol::operator!=): Likewise.
12641 Tue May 17 20:46:06 1994  James Clark  (jjc@jclark.com)
12643         * groff/groff.cc (main, help, synopsis): Handle -S.
12644         (possible_command::insert_arg): New function.
12646         * tmac/tmac.safer: New file.
12647         * tmac/msafer.man: New file.
12648         * tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.
12650 Thu Mar 10 01:58:30 1994  Paul Eggert  (eggert@twinsun.com)
12652         * pic/pic.h, pic/main.cc (safer_flag): New variable.
12653         * pic/pic.y (placeless_element): Avoid unsafe operations if
12654         `safer_flag' is set.
12655         * pic/main.cc (main): Add -S option, which sets `safer_flag'.
12657 Tue May 10 13:02:31 1994  James Clark  (jjc@jclark.com)
12659         * eqn/lex.cc (get_token): Put call to add_context() in block to
12660         work around Sun C++ 4.0 bug.
12662         * include/stringclass.h (operator +): Use ?: instead of `if' to
12663         work around Sun C++ 4.0 bug.
12665 Thu May  5 11:18:03 1994  James Clark  (jjc@jclark.com)
12667         * tbl/main.cc (process_format): Accept - as a synonym for the _
12668         key letter.
12670         * libbib/index.cc (minus_one): Don't declare as const.
12672 Fri Apr 29 09:32:48 1994  James Clark  (jjc@jclark.com)
12674         * troff/input.cc (get_char_for_escape_name): Push back a newline.
12676 Wed Apr 27 21:14:18 1994  James Clark  (jjc@jclark.com)
12678         * troff/input.cc (write_macro_request): New function.
12679         (init_input_requests): Bind write_macro_request to writem.
12681 Sun Apr 17 11:15:38 1994  James Clark  (jjc@jclark.com)
12683         * tmac/tmac.s (@EN): Turn filling back on even if there was no
12684         equation.
12686         * eqn/lex.cc (do_space): Supply missing argument to lex_error.
12688         * tmac/tmac.s (@TS): Renamed from TS.
12689         (TS): Call LP then TS again.
12690         (cov*ab-init): Alias @TS to TS.
12692         * tmac/tmac.s: Allow QP or RS to initialize.
12694         * tmac/tmac.s (par@load-init): New macro.  Call at end of file.
12695         Move initializations of PS and LL here.
12696         (par@init): Don't initialize HY.  Avoid changing environment 0.
12697         (par*env-init): Don't all par@reset.
12699 Thu Apr 14 19:15:45 1994  James Clark  (jjc@jclark.com)
12701         * include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.
12703 Sun Apr 10 09:54:44 1994  James Clark  (jjc@jclark.com)
12705         * Makefile.in (MDEFINES): Add LDFLAGS.
12706         (LDFLAGS): Add definition line.
12708 Thu Apr  7 22:22:22 1994  James Clark  (jjc@jclark.com)
12710         * troff/input.cc (get_optional_char): Split off error check into...
12711         (check_missing_character): New function.
12712         * troff/token.h: Declare it.
12713         * troff/env.cc (margin_character): Don't call get_optional_char.
12714         Only call tok.next() after making the node.
12716         * include/lib.h (getopt): Make 2nd argument char *const *.
12718 Fri Mar 11 07:28:03 1994  James Clark  (jjc@jclark.com)
12720         * nroff/conftest.sh: Deleted.
12722 Fri Mar  4 10:51:36 1994  James Clark  (jjc@jclark.com)
12724         * pic/make-dos-dist: Deleted.
12726 Wed Mar  2 20:59:16 1994  James Clark  (jjc@jclark.com)
12728         * devps/psstrip.sed: Strip comments before stripping trailing
12729         white space.
12731 Sat Feb 19 13:07:16 1994  James Clark  (jjc@jclark.com)
12733         * Version 1.09 released.
12735 Wed Feb 16 16:53:49 1994  James Clark  (jjc@jclark.com)
12737         * tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.
12739 Mon Feb 14 08:26:40 1994  James Clark  (jjc@jclark.com)
12741         * libgroff/font.cc (font::load_desc): Fix typo in error message.
12743 Sun Feb 13 09:37:38 1994  James Clark  (jjc@jclark.com)
12745         * libgroff/new.cc (operator new): Rewrite so as to avoid warning
12746         about returning without a value.
12748         * troff/charinfo.h (charinfo::get_special_translation): Cast
12749         TRANSLATE_NONE to int.
12751         * refer/token.cc (lookup_token, store_token): Remove bogus loop
12752         test.  Fix test so that it works with n unsigned.
12754         * pic/pic.y (defaults_table): Fully bracket initializer.
12755         * pic/lex.cc (lookup_keyword): Likewise.
12756         * eqn/lex.cc (token_table, def_table): Likewise.
12757         * eqn/box.cc (param_table): Likewise.
12758         * troff/input.cc (warning_table): Likewise.
12759         * libgroff/font.cc (table): Likewise.
12760         * grops/ps.cc (ps_printer::special): Likewise.
12761         * grops/psrm.cc (resource_manager::process_file): Likewise.
12762         * tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
12763         * refer/command.cc (command_table): Likewise.
12764         * addftinfo/addftinfo.cc (param_table): Likewise.
12766         * troff/symbol.cc (symbol::symbol): Prevent compiler warnings
12767         about temp's being unused.
12768         (unused): New function.
12770         * groff/pipeline.cc: Declare c_fatal.
12772         * libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
12773         uchar.
12775         * libbib/index.cc (index_search_item::load): Prevent compiler
12776         warnings about fd_closer's being unused.
12777         (unused): New function.
12779 Sat Feb 12 10:31:59 1994  James Clark  (jjc@jclark.com)
12781         * troff/input.cc (copy_mode_error): Make `prefix' static.
12782         Fix typo.
12784         * include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
12785         defined.
12786         * acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
12787         HAVE_CC_OSFCN_H and modify accordingly.
12789         * troff/input.cc (init_charset_table): radicalex overlaps
12790         horizontally.
12792         * groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
12793         udodo!hans@relay.NL.net).
12794         * groff/configure.in: Call it.
12796         * groff/acgroff.m4 (GROFF_PCLOSE): New macro.
12797         * groff/configure.in: Call it.
12798         * include/lib.h: Conditionalize declaration of pclose.
12800         * troff/div.cc (last_page_number): New global variable.
12801         (top_level_diversion::begin_page): Exit if we just printed the
12802         last page.
12803         * troff/div.h (last_page_number): Declare it.
12804         * troff/input.cc (parse_output_page_list): Set last_page_number.
12806         * eqn/sqrt.cc: Rename \(rn to \[radicalex].
12807         * devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
12808         tmac/tmac.X: Likewise.
12809         * tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
12810         * tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.
12812 Fri Feb 11 11:45:40 1994  James Clark  (jjc@jclark.com)
12814         * tmac/doc-ditroff (hK): Remove groff specific code which
12815         prevented page-breaks between separate manual entries.  If this is
12816         the first page, don't set the page number to 1.
12818         * acgroff.m4 (GROFF_POSIX): New macro.
12819         * configure.in: Use it.
12821         * troff/node.cc (class real_output_file,
12822         real_output_file::real_output_file,
12823         real_output_file::~real_output_file): Conditionalize use of
12824         popen/pclose on POPEN_MISSING.
12825         * troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
12826         * troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
12827         (pipe_source): Similarily.
12829         * acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
12831         * acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
12832         presence of declarations by trying to compile example with
12833         conflicting declarations.  (gcc only gives a warning for missing
12834         declarations.)
12836 Wed Feb  9 09:12:23 1994  James Clark  (jjc@jclark.com)
12838         * tmac/tmac.pspic (PSPIC): Allow options to specify alignment
12839         (from Ulrich Lauther).
12841 Tue Feb  8 03:56:40 1994  James Clark  (jjc@jclark.com)
12843         * libbib/linear.cc (file_buffer::load): Use S_ISREG macro.
12845 Thu Feb  3 09:34:35 1994  James Clark  (jjc@jclark.com)
12847         * indxbib/indxbib.cc (write_hash_table): Add code for case where
12848         pointers and ints have different sizes.
12850 Sun Jan  9 16:17:51 1994  James Clark  (jjc@jclark.com)
12852         * tmac/tmac.s (par*env-init): Call par@reset.
12854 Fri Jan  7 10:24:27 1994  James Clark  (jjc@jclark.com)
12856         * tmac/tmac.s (@IP): Switch to a new environment when diverting
12857         tag.
12858         (par*push-tag-env, par*pop-tag-env): New macros.
12860 Wed Jan  5 21:18:34 1994  James Clark  (jjc@jclark.com)
12862         * grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
12863         initializing `out'.  Reduce MAX_LINE_LENGTH from 79 to 72.
12865         * grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
12866         comment.  Include <time.h>.
12868 Wed Dec 15 14:14:00 1993  James Clark  (jjc@jclark.com)
12870         * grops/ps.cc (is_small_h, is_small_v): Deleted.
12871         (ps_printer::flush_sbuf): Use absolute motion only at beginning of
12872         lines.
12874 Tue Dec 14 10:06:34 1993  James Clark  (jjc@jclark.com)
12876         * troff/input.cc (read_request): Only print a prompt if reading
12877         from the terminal.  Also clearerr on EOF if reading from the
12878         terminal.  Declare isatty.
12880 Mon Nov 29 08:38:15 1993  James Clark  (jjc@jclark.com)
12882         * refer/label.y: Rename map_t to map_func and extractor_t to
12883         extractor_func.
12885 Sat Oct 30 06:38:12 1993  James Clark  (jjc@jclark.com)
12887         * include/assert.h: Don't use volatile.
12888         * libgroff/assert.cc: Likewise.
12890 Fri Oct 29 15:00:23 1993  James Clark  (jjc@jclark.com)
12892         * troff/input.cc (abort_request): Look at character in tok before
12893         calling get_copy().
12895 Thu Oct 28 14:09:48 1993  James Clark  (jjc@jclark.com)
12897         * troff/troff.h (NO_RETURN): Deleted.
12898         * troff/div.cc (cleanup_and_exit):  Don't declare aas NO_RETURN.
12899         * troff/input.cc (exit_troff): Likewise
12901         * Makefile.in: Remove `Making ...' messages since GNU make now
12902         gives these. 
12904         * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
12906 Wed Oct 27 11:12:51 1993  James Clark  (jjc@jclark.com)
12908         * tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
12909         to constant 1 inch.
12911 Sat Oct 23 10:03:52 1993  James Clark  (jjc@jclark.com)
12913         * tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.
12915 Thu Oct 14 12:09:45 1993  James Clark  (jjc@jclark.com)
12917         * eqn/delim.cc (delim_box::compute_metrics): Don't increase
12918         MARK_REG if there was no left delimiter.
12920 Sat Oct  2 19:54:47 1993  James Clark  (jjc@jclark.com)
12922         * pic/troff.cc (troff_output::text): Set line thickness to
12923         relative before outputting text.
12925         * tmac/tmac.e (@k): Don't zero ?T.
12926         ((z): Likewise.
12928 Sat Sep 25 11:08:43 1993  James Clark  (jjc@jclark.com)
12930         * tmac/tmac.e ($p): Handle possibility that $3 is empty.
12932 Wed Aug 18 08:51:41 1993  James Clark  (jjc@jclark.com)
12934         * troff/input.cc (decode_args): Warn about unquoted tabs (from
12935         Paul Eggert).
12937 Tue Aug 10 08:38:32 1993  James Clark  (jjc@jclark.com)
12939         * troff/input.cc (ignoring): New variable.
12940         (ignore): Set ignoring during call to do_define_macro.
12941         (do_define_macro): Clear ignoring before interpolating terminating
12942         macro.
12943         (copy_mode_error): New function.
12944         (get_char_for_escape_name, read_long_escape_name,
12945         interpolate_arg): Use copy_mode_error.
12946         (warning_table): Add WARN_IG.
12947         * troff/troff.h (WARN_IG): Declare.
12948         (WARN_TOTAL): Change accordingly.
12950         * groff/pipeline.c (strsignal): Rename to xstrsignal.
12951         * groff/groff.cc (strsignal): Delete declaration.
12953 Fri Jul 16 01:43:12 1993  James Clark  (jjc@jclark.com)
12955         * troff/div.cc (page_offset): Use 'm' as default scaling.
12957 Sat Jul  3 09:11:38 1993  James Clark  (jjc@jclark.com)
12959         * nroff/nroff.sh: Ignore -u.
12961 Wed Jun  9 12:17:27 1993  James Clark  (jjc@jclark.com)
12963         * Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.
12965 Fri Jun  4 17:35:47 1993  James Clark  (jjc@jclark.com)
12967         * tmac/tmac.s (par*box-draw): Set adjustment mode to l while
12968         drawing box.
12969         (B2): With -Tascii, leave additional vertical space before
12970         and after. Ensure that the left and right indent is restored to
12971         what it was even if the point size changes.  Don't call
12972         par@finish. Change the indent, line length and title length
12973         directly.  With -Tascii, make the width of the box 1n less.
12974         (B1): Remember 1n at the current point size.  Don't call
12975         par@reset.  Change the indent, line length and title length
12976         directly.  Ensure that the temporary indent is preserved.
12977         (par*box-mark-top): Turn off no spacing mode.
12979 Thu Jun  3 17:47:14 1993  James Clark  (jjc@jclark.com)
12981         * Makefile.in (dist): Use .gz suffix.
12983 Thu May 27 20:04:59 1993  James Clark  (jjc@jclark.com)
12985         * troff/input.cc (main): Add return 0.
12986         * pic/main.cc (main): Use return instead of exit.
12987         * tbl/main.cc (main): Likewise.
12988         * eqn/main.cc (main): Likewise.
12989         * grops/ps.cc (main): Likewise.
12990         * grotty/tty.cc (main): Likewise.
12991         * groff/groff.cc (main): Likewise.
12992         * grodvi/dvi.cc (main): Likewise.
12993         * refer/refer.cc (main): Likewise.
12994         * indxbib/indxbib.cc (main): Likewise.
12995         * lkbib/lkbib.cc (main): Likewise.
12996         * soelim/soelim.cc (main): Likewise.
12997         * addftinfo/addftinfo.cc (main): Likewise.
12998         * acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
12999         GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.
13001         * troff/token.h (process_input_stack): Don't declare as static.
13002         * troff/input.cc: Likewise.
13004         * troff/node.c (invalidate_fontno): Make it a static member of
13005         class font_family.  Change callers.
13006         * troff/node.c: Change declaration.
13008         * tbl/main.cc (struct input_entry_format): Add explicit public
13009         specifier.
13010         * tbl/table.cc (struct text_stuff, struct single_hline_stuff,
13011         struct double_hline_stuff): Likewise.
13012         * tbl/table.h (struct entry_format): Likewise.
13013         * pic/object.h (struct saved_state): Likewise.
13015         * include/stringclass.h: Add forward declarations of friend
13016         functions that are later declared as inline.  Don't include inline
13017         specifier in friend declaration.
13019         * libgroff/lib.h: Declare popen and pclose.
13020         * acgroff.m4 (GROFF_POPEN): New macro.
13021         * configure.in: Call it.
13023         * include/lib.h (PI): New constant. Undef first if necessary.
13024         * tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
13025         * grops/ps.cc (degrees, radians): Likewise.
13026         * libgroff/font.cc (font::get_skew): Likewise.
13028         * grops/ps.cc (is_ascii): New function.
13029         (ps_output::put_string): Use is_ascii.  Use csprint rather than
13030         isprint.
13031         (ps_printer::define_encoding): Use csspace.
13032         * libgroff/strtol.c (ISASCII): New macro.
13033         (strtol): Cast arguments to is*() and tolower() to unsigned char.
13034         Use ISASCII rather than isascii.
13035         * libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
13036         * libgroff/cset.cc: Likewise.
13037         * libdriver/input.cc: Include cset.h.
13038         (do_file, get_integer, possibly_get_integer): Use csdigit() rather
13039         than isdigit().
13041         * refer/refer.cc (main): Use %ld rather than %d for longs.
13043         * libbib/index.cc (index_search_item_iterator::get_tag): Use
13044         S_ISREG macro.
13046         * addftinfo/addftinfo.cc (param_t): Add explicit `int'.
13048 Mon May 24 08:51:37 1993  James Clark  (jjc@jclark.com)
13050         * troff/input.cc (hyphenation_code): Skip white space between
13051         char/code pairs.
13053 Sun May 16 08:15:52 1993  James Clark  (jjc at jclark.com)
13055         * tbl/table.h (table::entry_list_tailp): New member.
13056         (table::table): Initialize it.
13057         (table::add_entry): Use entry_list_tailp to avoid O(n^2)
13058         behaviour.
13060 Sat May 15 17:26:00 1993  James Clark  (jjc at jclark.com)
13062         * grotty/tty.cc (tty_printer::add_char): Don't discard characters
13063         with negative horizontal positions. Remove casts of glyph::hpos to
13064         int.
13065         (USHRT_MAX): Delete definition.
13066         (SHRT_MAX, SHRT_MIN): New definitions.
13067         (glyph::hpos): Change type to short.
13068         (tty_printer::end_page): Output multiple backspaces if necessary.
13069          Remove casts of glyph::hpos to int.
13070         
13071 Fri May  7 12:14:37 1993  James Clark  (jjc at jclark.com)
13073         * tmac/tmac.s (@RT): New definition.
13075 Thu May  6 21:36:54 1993  James Clark  (jjc at jclark.com)
13077         * refer/refer.cc (do_file): Make sure current_filename is set when
13078         filename is "-".
13080         * pic/common.cc (common_output::dot_line): Handle zero length
13081         lines.
13083 Sun May  2 19:54:16 1993  James Clark  (jjc at jclark.com)
13085         * tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
13086         (par@init): Initialize \n[HY].
13088 Mon Apr 26 11:43:16 1993  James Clark  (jjc at jclark.com)
13090         * troff/dictionary.cc (dictionary::remove): Continue when
13091         r < j < i.
13093 Sun Apr 25 11:03:00 1993  James Clark  (jjc at jclark.com)
13095         * Makefile.com (.y.cc): Avoid ending up with two versions of
13096         $(YTABH).
13098 Thu Apr 22 21:03:45 1993  James Clark  (jjc at jclark.com)
13100         * tmac/tmac.dvi (\(,c): Define only if it does not exist.
13101         (\(,C): Likewise.  Also fix typo.
13103 Wed Apr 21 08:47:32 1993  James Clark  (jjc at jclark.com)
13105         * lib.h: Delete extraneous semi-colon.
13107         * Add pso request: `so' from a pipe.
13108         * troff/input.c (file_iterator::file_iterator): Add 3rd argument.
13109         (file_iterator::close): New function.
13110         (file_iterator::~file_iterator, file_iterator::next_file): Use
13111         file_iterator::close.
13112         (file_iterator::backtrace): Say `process' rather than `file' when
13113         the stream is popened.
13114         (pipe_source): New function.
13115         (init_input_requests): Bind ".pso" to pipe_source.
13117 Tue Apr 20 00:02:26 1993  James Clark  (jjc at jclark.com)
13119         * afmtodit/afmtodit.pl: Avoid single quotes in comments.
13121         * pfbtops/pfbtops.c: Output 64 characters per line.  Output hex
13122         digits in lower case.
13124 Mon Apr 19 09:55:57 1993  James Clark  (jjc at jclark)
13126         * Version 1.08 released.
13128         * Makefile.in (dist): Insert || true after ln -s commands that
13129         might fail.
13131         * mm: Update to mm 1.16.
13133         * acgroff.m4 (GROFF_CSH_HACK): New macro.
13134         * configure.in: Call GROFF_CSH_HACK.  Substitute for
13135         SH_SCRIPT_SED_CMD.
13136         * Makefile.in (SH_SCRIPT_SED_CMD): New variable.  Include in
13137         MDEFINES.
13138         * nroff/Makefile.sub (nroff): New target.
13139         (install_data): Install nroff.
13140         * eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
13141         * grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.
13143 Sat Apr 17 08:24:28 1993  James Clark  (jjc at jclark)
13145         * eqn/Makefile.sub (neqn): Add chmod +x.
13147         * grog/Makefile.sub (grog): Remove spurious semi-colon.
13149 Fri Apr 16 22:41:57 1993  James Clark  (jjc at jclark)
13151         * troff/input.cc (string_iterator::string_iterator()): Initialize
13152         lineno and count.
13154 Tue Apr 13 10:22:28 1993  James Clark  (jjc at jclark)
13156         * troff/div.cc (macro_diversion::space,
13157         top_level_diversion::space): Don't set high_water_mark.
13158         (macro_diversion::output, top_level_diversion::output): Don't
13159         include post line space in high water mark.
13161 Wed Apr  7 12:48:18 1993  James Clark  (jjc at jclark)
13163         * eqn/eqn.y: Don't define YYDEBUG.
13164         * pic/pic.y: Likewise.
13166 Mon Apr  5 10:15:15 1993  James Clark  (jjc at jclark)
13168         * tmac/tmac.e ([3): Add space after comma following editors.
13169         Change double spaces to single spaces.
13170         ([4): Change double spaces to single spaces.
13172         * grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
13173         * grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
13174         bit is set in broken_flags, use 2.0 rather than 3.0 as the version
13175         after %!PS-Adobe- (for Newsprint).
13177         * troff/div.cc (top_level_diversion::begin_page): When
13178         before_first_page is 1, set page_number to 1.
13180 Sun Apr  4 14:28:53 1993  James Clark  (jjc at jclark)
13182         * eqn/box.cc (box::top_level): Protect equation with \&.
13184 Sat Apr  3 23:27:25 1993  James Clark  (jjc at jclark)
13186         * groff/groff.cc (possible_command::set_name): Delete old name.
13188         * groff/groff.cc (possible_command::~possible_command): Use
13189         a_delete.
13191         * troff/node.cc (troff_output_file::begun_page): New member.
13192         (troff_output_file::troff_output_file): Initialize it.
13193         (troff_output_file::really_begin_page): Only output V command if a
13194         page has been begun.
13196         * pic/pic.y (placeless_element): Delete argument to PRINT after
13197         use.
13199 Fri Apr  2 11:31:02 1993  James Clark  (jjc at jclark)
13201         * Make wrapman work.
13202         * troff/div.h (class top_level_diversion): Replace
13203         first_page_begun by before_first_page (with opposite sense).
13204         * Change first_page_begun to before_first_page inverting sense.
13205         * troff/div.cc (class nl_reg): New class.
13206         (init_div_requests): Use class nl_reg for \n(nl.
13207         (top_level_diversion::begin_page): Don't call
13208         output_file::begin_page if before_first_page is 2;
13209         reset before_first_page afterwards.  If have_next_page_number is
13210         false, then always increment page_number.
13211         * tmac/tmac.an: Set traps within TH rather than at the top-level.
13212         Restore compatibility mode after loading, and then disable
13213         compatibility mode in TH.
13215 Thu Apr  1 11:09:34 1993  James Clark  (jjc at jclark)
13217         * grotty/tty.cc (tty_printer::end_page): Don't discard characters
13218         past last line.
13219         * troff/node.h (output_file::trailer): Declare.
13220         * troff/div.cc (cleanup_and_exit): Call output_file::trailer().
13221         * troff/node.cc (output_file::trailer): New function.
13222         (troff_output_file::~troff_output_file): Move most code into...
13223         (troff_output_file::trailer): New function.
13224         (class troff_output_file): Delete page_length member. Declare
13225         trailer().
13226         (troff_output_file::really_begin_page): Use current page length
13227         for final V command.
13229         * tbl/main.cc (struct options): New decimal_point_char member.
13230         (options::options): Initialize this.
13231         (process_options): Implement decimalpoint option.
13232         (process_data): Pass decimal_point_char option to table::table.
13233         * tbl/table.h (class table): New decimal_point_char member.
13234         (table::table): Add additional argument.
13235         * tbl/table.cc (find_dot): Rename to find_decimal_point. Add
13236         second argument specifying decimal point character.  Use this
13237         instead of '.'.
13238         (table::table): Initialize decimal_point_char.
13239         (table::add_entry): Change call to find_dot.
13241         * troff/input.cc (get_copy, token::next): Implement \V.
13242         (interpolate_environment_variable): New function.
13244 Tue Mar 30 14:41:39 1993  James Clark  (jjc at jclark)
13246         * pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
13247         * pic/pic.y: Likewise.
13249         * grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
13250         Add casts to int.
13251         * refer/ref.cc (reference::insert_field, reference::delete_field):
13252         Likewise.
13253         * troff/number.cc (parse_term): Likewise.
13255         * acgroff.m4 (GROFF_PROG_YACC): New macro.
13256         * configure.in: Use GROFF_PROG_YACC.
13258         * acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
13259         and g++.
13260         * Makefile.in (OPTIMIZE): New define.
13261         (DEBUG): Empty by default.
13262         (CCFLAGS, CFLAGS): Include $(OPTIMIZE).
13264         * acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
13265         (GROFF_ARRAY_DELETE): Likewise.
13266         (GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.
13268         * troff/env.cc (trie::~trie): Make virtual to shut up g++.
13270         * devps/psstrip.sed: Use different delimiter on last line (so that
13271         it works with BSD 4.4 sed.)
13273 Mon Mar 29 17:07:14 1993  James Clark  (jjc at jclark)
13275         * devps/psstrip.sed: Delete comments.
13277         * acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
13278         optind, opterr, optarg.
13279         * lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
13280         opterr, optarg.
13282 Sun Mar 28 17:44:25 1993  James Clark  (jjc at jclark)
13284         * Makefile.in (check): Dummy target.
13286 Wed Mar  3 04:53:38 1993  James Clark  (jjc at jclark)
13288         * Version 1.07 released.
13290         * Integrate mm 1.11.
13292         * tbl/table.cc (alphabetic_block_entry::print): start_row was used
13293         where start_col was meant.
13295 Thu Feb 25 07:55:36 1993  James Clark  (jjc at jclark)
13297         * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
13299 Wed Feb 24 10:15:34 1993  James Clark  (jjc at jclark)
13301         * troff/input.cc (token::next): Make \z\o'...' and similar things
13302         work.
13304         * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
13305         constants.
13306         (environment): Add margin_character_flags member.
13307         * env.cc (environment::environment(symbol),
13308         environment::environment(const environment *): Initialize
13309         margin_character_flags.
13310         (margin_character): Rewrite.
13311         (environment::output_line): Add a margin character if
13312         margin_character_flags is non-zero.  Turn off the
13313         MARGIN_CHARACTER_NEXT bit.  If that makes margin_character_flags
13314         zero, use margin_character_node without copying and then set
13315         margin_character_node to 0.
13317         * devps/DESC.in: Change minimum size to 1000.
13319 Tue Feb 23 14:57:49 1993  James Clark  (jjc at jclark)
13321         * troff/symbol.h (symbol::hash): Change return type to unsigned
13322         long.
13323         * troff/dictionary.cc (dictionary::lookup, dictionary::remove):
13324         Add casts to int.
13326         * test-groff: Use -r rather than -x.
13328         * grops/psfig.diff: Include in distribution again.
13330 Mon Feb 22 09:10:44 1993  James Clark  (jjc at jclark)
13332         * Makefile.in (dist): Use gzip.
13334 Sun Feb 21 11:12:53 1993  James Clark  (jjc at jclark)
13336         * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
13337         unistd.h as well as in stdlib.h.
13338         * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
13339         defined; otherwise include <sys/types.h> and <unistd.h> if
13340         UNISTD_H_DECLARES_GETOPT is defined.
13342         * configure.in: use builtin(include, ... rather than include(...
13343         * configure: Regenerate with autoconf 1.3.
13345         * libdriver/print.cc (printer::adjust_arc_center): Use new
13346         algorithm suggested by Andy Fyfe.
13348         * libdriver/printer.cc (printer::adjust_arc_center): New function.
13349         * include/printer.h: Declare this.
13350         * grops/ps.cc (ps_printer::draw): Use it.
13351         * grodvi/dvi.cc (dvi_printer::draw): Use it.
13353 Fri Feb 19 23:13:51 1993  James Clark  (jjc at jclark)
13355         * Makefile.comm (.man.n): Replace macrodir by tmacdir.
13357 Thu Feb 11 16:46:59 1993  James Clark  (jjc at jclark)
13359         * eqn/main.cc (main): Handle "eqn -".
13361 Mon Jan  4 20:29:56 1993  James Clark  (jjc at jclark)
13363         * tmac/tmac.e (++): Install fix from comp.bugs.4sd.
13365         * mm: Integrate version 1.08.
13367         * pic/troff.cc (troff_output::finish_picture): Set
13368         EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
13369         * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
13370         if it's not defined. Check whether the register is non-zero rather
13371         than whether it's not defined.
13372         * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
13374         * indxbib/indxbib.cc: Move all signal handling into...
13375         * indxbib/signal.c: New file.
13376         * configure.in: Call AC_RETSIGTYPE.
13378         * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
13379         * configure.in: Call GROFF_STRUCT_EXCEPTION.
13380         * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
13382         * troff/input.cc (token::token, token::operator=): Work round SGI
13383         C++ bug.
13384         * pic/object.cc (position::position): Likewise.
13386 Mon Dec 28 21:50:21 1992  James Clark  (jjc at jclark)
13388         * pic/pic.h: Move declaration of hypot().
13390 Wed Dec 16 12:28:29 1992  James Clark  (jjc at jclark)
13392         * pic/pic.h: Declare hypot().
13394         * pic/pic.h: Define M_PI if necessary.
13396 Thu Dec 10 12:03:29 1992  James Clark  (jjc at jclark)
13398         * tmac/tmac.e (re): Add alternative version that doesn't use groff
13399         `.ta T' feature.
13401         * devps/prologue.ps (RE): Handle the possibility that the old font
13402         doesn't have a FontName entry.
13404 Wed Dec  2 10:25:29 1992  James Clark  (jjc at jclark)
13406         * tmac/tmac.e (fam): Redefine to set family in environment 2.
13407         (@C): Use @fam not fam.
13409 Thu Nov 26 16:01:25 1992  James Clark  (jjc at jclark)
13411         * lookbib/lookbib.cc (main): Change type of start to const char *.
13412         * lkbib/lkbib.cc (main): Likewise.
13414         * eqn/lex.cc (definition::definition): Don't use member
13415         initializer syntax for members of anonymous unions.
13417         * troff/input.cc (input_stack::backtrace): Change type of to const
13418         char *.
13420 Wed Nov 25 13:43:09 1992  James Clark  (jjc at jclark)
13422         * include/stringclass.h (class string): Declare inline friend
13423         functions as inline in class declaration.
13424         * troff/hvunits.h (class hunits, class vunits): Likewise.
13425         * include/refid.h (class reference_id): Likewise
13426         * troff/troff.h (points_to_units(units), scale(units, double)):
13427         Delete declarations.
13428         * libdriver/input.cc (get_char): Delete declaration.
13429         * include/lib.h: Change 2nd argument of getopt from const char **
13430         to char **.
13431         * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
13432         char **' before assigning to a `const char **'.
13433         * tbl/table.cc: Delete extra declarations of prints().
13435 Tue Nov 24 14:33:13 1992  James Clark  (jjc at jclark)
13437         * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
13438         char **' before assigning to a `const char **'.
13440         * libgroff/errarg.cc (errarg::errarg): Don't use member
13441         initializer syntax for members of anonymous unions.
13443 Sat Nov 21 05:02:23 1992  James Clark  (jjc at jclark)
13445         * mm: Integrate version 1.07.
13447 Tue Nov 17 16:44:27 1992  James Clark  (jjc at jclark)
13449         * troff/input.c (translate2): Rename to
13450         (translate_no_transparent).
13451         (init_input_requests): Rename tr2 to trnt.
13453 Mon Nov 16 09:49:32 1992  James Clark  (jjc at jclark)
13455         * troff/charinfo.h (class charinfo): Add transparent_translate field.
13456         (charinfo::set_translation, charinfo::set_special_translation):
13457         Add second argument that specifies value for
13458         transparent_translate.
13459         (charinfo::get_translation, charinfo::get_special_translation):
13460         Add optional second argument that specifies whether translation is
13461         being used for transparent throughput.
13462         * troff/input.cc (charinfo::set_translation,
13463         charinfo::set_special_translation): Handle second argument.
13464         (charinfo::charinfo): Initialize transparent_translate.
13465         (translate): Split main part off into
13466         (do_translate): New function.  Pass argument saying whether
13467         translation applies to transparent throughput.
13468         (translate2): New request.
13469         (init_input_requests): Bind translate2 to `tr2'.
13471 Wed Nov 11 11:43:20 1992  James Clark  (jjc at jclark)
13473         * tbl/table.h (class table): Add `nokeep' flag.
13474         * tbl/main.cc (process_options): Handle `nokeep' option.
13475         * tbl/table.cc (table::init_output, table::do_row, table::do_top,
13476         table::do_bottom): Don't output keep/release macro definitions or
13477         calls when `nokeep' option has been specified.
13479 Sat Nov  7 01:28:33 1992  James Clark  (jjc at jclark)
13481         * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
13483 Wed Nov  4 16:29:04 1992  James Clark  (jjc at jclark)
13485         * tbl/table.cc (table_entry::divert, block_entry::do_divert,
13486         block_entry::divert, alphabetic_block_entry::divert): Add extra
13487         argument giving column separation.
13488         (table::compute_widths): Pass column separation to
13489         table_entry::divert().
13490         (block_entry::do_divert): If an entry spans multiple columns and a
13491         minimumum width has been specified for each column, then set the
13492         line length to the sum of the widths (plus possibly the column
13493         separations).
13495         * troff/input.cc (set_escape_char): Don't set the escape_char
13496         until after calling has_arg().
13498 Tue Nov  3 11:23:27 1992  James Clark  (jjc at jclark)
13500         * tbl/table.cc (table::do_top): Add missing \s0 for double box
13501         case.
13503         * tbl/table.cc (table::print_double_hline): Avoid extra new line
13504         in case where r > nrows - 1.
13506         * tbl/table.cc (BODY_HEIGHT): Deleted.
13507         (LINE_SEP): New definition.
13508         (table::print_single_hline, table::print_double_hline,
13509         table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
13510         table::do_row, table::do_top): Use LINE_SEP space before a line
13511         instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.
13513         * tbl/table.cc (text_entry::print_contents): New function.
13514         (text_string_name, right_text_string_name): Deleted.
13515         (TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
13516         (simple_text_entry::do_width, numeric_text_entry::do_width,
13517         alphabetic_text_entry::do_width): Don't store the contents of the
13518         entry in a string.
13519         (left_text_entry::simple_print, right_text_entry::simple_print,
13520         center_text_entry::simple_print,
13521         alphabetic_text_entry::simple_print,
13522         numeric_text_entry::simple_print): Print the entry directly
13523         instead of using the stored string.
13525 Fri Oct 30 10:39:32 1992  James Clark  (jjc at jclark)
13527         * devps/Makefile: Strip PostScript files.
13528         * devps/prologue: Rename to...
13529         * devps/prologue.ps.
13530         * devps/psstrip.sed: New file.
13531         * devps/download: Use .pfa rather than .ps for installed versions
13532         of fonts.
13534 Thu Oct 29 09:14:43 1992  James Clark  (jjc at jclark)
13536         * troff/env.cc (input_trap): Give a warning if the argument is out
13537         of range.
13539         * troff/env.cc (adjust): Treat negative argument as missing. Round
13540         argument > 5 down to 5.
13542         * troff/env.cc (center, right_justify): Make negative argument zero.
13544         * troff/div.cc (page_offset, vertical_position_traps): Treat
13545         invalid argument as missing.
13546         * troff/env.cc (line_spacing, line_length, title_length, indent,
13547         underline, hyphen_line_max_request, control_char,
13548         no_break_control_char, widow_control_request, adjust, input_trap,
13549         point_size): Likewise.
13550         * troff/node.cc (ligature, kern_request, bold_font, track_kern,
13551         constant_space): Likewise.
13552         * troff/input.cc (compatible, shift, warn_request,
13553         set_escape_char): Likewise.
13555         * tbl/main.cc (format::format): Avoid doing `new int[0]'.
13556         * tbl/table.cc (table::table): Likewise.
13558         * Makefile.dev (install_dev): depends on $(DEVFILES).
13560 Wed Oct 28 08:30:57 1992  James Clark  (jjc at jclark)
13562         * devX75, devX75-12, devX100, devX100-12: New directories.
13563         * Makefile.in: Add these to DEVDIRS.
13565         * troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
13566         afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
13567         grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
13568         * Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
13569         targets.
13570         * Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
13571         (uninstall): New target.
13572         * Makefile.comm (uninstall, uninstall_sub, uninstall_man,
13573         uninstall_prog, uninstall_dev): New targets.
13575         * troff/div.cc (return_request): Treat an invalid argument as
13576         missing.
13578 Mon Oct 26 11:33:47 1992  James Clark  (jjc at jclark)
13580         * tmac/tmac.e ((f): Set up the environment even when there's a
13581         current diversion.  Transperently throughput a call to @N.
13582         (@N): New macro.
13584 Thu Oct 22 05:05:59 1992  James Clark  (jjc at jclark)
13586         * tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
13587         up to vertical resolution.
13589         * tbl/table.cc (table::do_row): Change row number after printing
13590         stuff list.
13592         * pic/lex.cc (get_token_after_dot): Make .left and .right work.
13594 Wed Oct 21 14:46:45 1992  James Clark  (jjc at jclark)
13596         * Rename CHANGES to NEWS.
13598 Tue Oct 20 23:25:21 1992  James Clark  (jjc at jclark)
13600         * libgroff/new.cc (operator new): Avoid calling malloc(0).
13602 Mon Oct 19 09:10:13 1992  James Clark  (jjc at jclark)
13604         * man.ultrix: Removed.
13606 Sun Oct 18 06:35:15 1992  James Clark  (jjc at jclark)
13608         * Makefile.comm (extraclean): Delete files whose names begin with
13609         `='.
13611         * pic/troff.cc (troff_output::text): Fix typo in implementation of
13612         aligned text.
13614 Sat Oct 10 09:32:29 1992  James Clark  (jjc at jclark)
13616         * troff/env.cc (hyphenate_request, vertical_spacing, no_number):
13617         * troff/div.cc (page_length, need_space, space_request): Treat
13618         invalid optional argument as missing.
13619         * troff/env.cc (number_lines): If the first argument is present
13620         but not a number, turn on line numbering, don't change the next
13621         line number and parse the remaining arguments.
13623         * tmac/tmac.e (@q): Do the `ne' before changing to environment 2.
13625 Thu Oct  8 10:24:40 1992  James Clark  (jjc at jclark)
13627         * eqn/box.h: Change declaration accordingly.
13628         * eqn/box.cc (set_gsize): Change return type to int.  Return 0 if
13629         the specified size was bad but don't give an error.  Check for
13630         overflow.
13631         * eqn/main.cc (main): Change caller. Leave validation to set_gsize.
13632         * eqn/lex (do_size): Likewise.
13634 Wed Oct  7 09:48:59 1992  James Clark  (jjc at jclark)
13636         * acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
13637         compatible headers.
13639 Sun Oct  4 18:24:02 1992  James Clark  (jjc at jclark)
13641         * tbl/table.cc (table::init_output): Improve error message when
13642         table won't fit on one page.
13644 Fri Oct  2 10:41:40 1992  James Clark  (jjc at jclark)
13646         * pic/troff.cc (troff_output::start_picture): Generate line
13647         containing a horizontal motion equal to the width of the picture.
13649         * groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
13650         using GROFF_COMMAND_PREFIX environment variable.
13652 Fri Sep 25 11:40:40 1992  James Clark  (jjc at jclark)
13654         * mdate.sh: Use $NF rather than $(NF).
13656 Tue Sep 22 09:47:24 1992  James Clark  (jjc at jclark)
13658         * pic/main.cc (main):  Use %1 not %c in argument to warning.
13660         * eqn/main.cc (main): Output code to check that geqn was given the
13661         correct -T option.
13663 Mon Sep 21 10:59:16 1992  James Clark  (jjc at jclark)
13665         * Makefile.in (dist): Instead of doing `make -f ../Makefile', do
13666         `ln -s ../Makefile .; make; rm -f Makefile'.
13668         * troff/hyphen: Rename to...
13669         * troff/hyphen.us:
13670         * troff/input.cc (main): Delete -H option. Don't call
13671         read_hyphen_file().
13672         * troff/env.cc: Include searchpath.h and macropath.h.
13673         (exception_dictionary): Deleted.
13674         (ht): Deleted.
13675         (read_hyphen_file): Deleted.
13676         (hyphenation_language): New struct.
13677         (class trie, class hyphen_trie): Move declarations up.
13678         (trie_node::~trie_node): Deleted.
13679         (trie::delete_trie_node): New function.
13680         (trie::do_delete): New pure virtual function.
13681         (hyphen_trie::do_delete): New function.
13682         (trie::~trie): New function.
13683         (hyphen_trie::~hyphen_trie): New function.
13684         (trie::clear): No need to chcek that tp is not 0.
13685         (current_language, language_dictionary): New variables.
13686         (hyphen_word): Give an error if no current language.  Use
13687         exceptions dictionary in current language.
13688         (hyphen_trie::read_patterns_file): Find file using macro_path.
13689         Allow comments (starting with %) in patterns file.  Don't make it
13690         a fatal error if the file can't be found.
13691         (hyphenate): Return if no current language.  Get the exceptions
13692         dictionary and the hyphenation patterns from the current language.
13693         (set_hyphenation_language): New variable.
13694         (hyphenation_patterns_file): New function.
13695         (hyphenation_language_reg): New class.
13696         (hyphenation_language_reg::get_string): New function.
13697         (init_hyphen_requests): Bind "hla" to set_hyphenation_language and
13698         "hpf" to hyphenation_patterns_file.  Initialize `.hla' number
13699         register.
13700         * groff/groff.cc (main, help, synopsis): Delete -H option.
13701         * include/Makefile.sub: Don't define HYPHENFILE.
13702         * Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
13703         * Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
13704         * tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
13705         hyphenation patterns.
13707 Sun Sep 20 09:33:02 1992  James Clark  (jjc at jclark)
13709         * eqn/neqn.sh: New file.
13710         * eqn/Makefile.sub: Handle neqn.sh.
13712         * eqn/eqn.h: Declare `nroff' variable.
13713         * eqn/box.cc (param_table): Add `nroff' param.
13714         (nroff): Define it.
13715         * eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
13716         variable.
13717         * tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.
13719         * troff/troff.h (WARN_FONT): New warning.
13720         (WARN_TOTAL): Change accordingly.
13721         * troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
13722         (warning_table): Add WARN_FONT.
13723         * troff/node.cc (mount_font_no_translate): Pass argument to
13724         font::load_font.  If this is non-zero, give a warning.
13725         Don't give an error message when accessing a font that has already
13726         been found to be invalid.
13727         * include/font.h (font::load, font::load_font): Add additional
13728         optional argument which suppresses error message if the font is
13729         not found.
13730         * libgroff/font.cc (font::load_font): Handle additional argument.
13731         (font::load): Add additional argument. If this is non-null, set it
13732         to 1 and don't give error message.
13734         * include/printer.h (printer::end_page): Add argument giving
13735         length of page.
13736         * libdriver/input.cc (do_file): Pass this.
13737         * grops/ps.cc (ps_printer::end_page): Add argument.
13738         * grodvi/dvi.cc (dvi_printer::end_page,
13739         draw_dvi_printer::end_page): Add argument.
13740         * grotty/tty.cc (class tty_printer): Remove lines_per_page and
13741         columns_per_page members. New member nlines.
13742         (DEFAULT_LINES_PER_PAGE): Deleted.
13743         (tty_printer::tty_printer): Don't compute lines_per_page from
13744         font::paperlength. Don't compute columns_per_page from
13745         font::paperwidth.
13746         (tty_printer::add_char): Don't check horizontal position against
13747         columns_per_page. Grow glyphs vector if neccessary.
13748         (tty_printer::end_page): Add argument giving page_length in units.
13749         Discard lines past end of page.
13751 Wed Sep 16 06:29:52 1992  James Clark  (jjc at jclark)
13753         * tmac/tmac.tty-char: Fix definition of \(/l.
13755         * tmac/tmac.X: Define \(en.
13757 Tue Sep 15 10:37:13 1992  James Clark  (jjc at jclark)
13759         * acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
13760         lpq, then use lp rather than lpr.
13762         * tmac/tmac.s (par@reset): Don't call `ad'.
13763         (par*env-init): Call `ad'.
13765 Sun Sep 13 18:48:20 1992  James Clark  (jjc at jclark)
13767         * mdate.sh: Use $(NF) instead of $6 to extract year from output of
13768         date.
13770         * troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
13771         * indxbib/indxbib.cc: Likewise.
13773 Sun Sep  6 09:44:46 1992  James Clark  (jjc at jclark)
13775         * libgroff/putenv.c: New file.
13776         * libgroff/Makefile.sub: Add putenv.c to CSRCS.
13777         * Makefile.in: Say that putenv.o can be one of LIBOBJS.
13778         * configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
13779         stdlib.h with AC_HAVE_HEADERS.
13781 Sat Sep  5 18:11:52 1992  James Clark  (jjc at jclark)
13783         * indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
13784         does not exist.
13786 Fri Sep  4 09:43:26 1992  James Clark  (jjc at jclark)
13788         * eqn/box.cc (gsize): Make it an int.
13789         (set_gsize): Parse argument handling increment or decrement.
13790         (box::top_level): Convert gsize to a string.
13792         * troff/input.cc (exit_troff): Make buf unsigned char [].
13793         Call to make_temp_iterator casts buf to char*.
13795         * Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.
13797         * Makefile.ccpg (depend.temp): Depends on $(YTABC).
13798         * Makefile.cpg (depend.temp): Likewise.
13800         * Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).
13802         * Makefile.comm: Add y.output to MOSTLYCLEANFILES.
13804 Thu Sep  3 08:01:55 1992  James Clark  (jjc at jclark)
13806         * tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.
13808 Tue Sep  1 18:24:53 1992  James Clark  (jjc at jclark)
13810         * Version 1.06 released.
13812         * Integrate mm 1.04.
13814 Fri Aug 28 11:28:19 1992  James Clark  (jjc at jclark)
13816         * Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.
13818 Thu Aug 27 11:03:33 1992  James Clark  (jjc at jclark)
13820         * afmtodit/afmtodit.pl: Add -n option that disables generation of
13821         ligatures command.
13822         * devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
13823         afmtodit. Regenerate.
13825         * tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
13826         @f back past the current position.
13828         * tmac/tmac.e: Change calls to @R so that comments are not part of
13829         arguments.
13831 Tue Aug 25 10:42:07 1992  James Clark  (jjc at jclark)
13833         * configure.in: Check for mkstemp with AC_HAVE_FUNCS.
13835         * acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
13836         check that we can link a call to a function declared in <stdio.h>.
13837         (GROFF_UNISTD_H): New macro.
13838         * configure.in: Call it.
13839         * Makefile.in: Document it.
13840         * include/posix.h: New file.
13841         * troff/troff.h: Don't include <osfcn.h>
13842         * troff/input.cc: Include posix.h.
13843         * libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
13844         osfcn.h.
13845         * indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
13846         Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
13847         <fcntl.h>.
13848         * indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
13849         * libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
13850         * libbib/search.cc (O_RDONLY): Delete definition.
13851         * refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
13852         Don't include <osfcn.h>.
13854         * acgroff.m4 (GROFF_TIME_T): New macro.
13855         * configure.in: Call it.
13856         * Makefile.in: Document it.
13858         * acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
13859         * configure.in: Call it.
13860         * Makefile.in: Document -DTRADITIONAL_CPP.
13861         * include/ptable.h: Don't include generic.h.
13862         (name2): Define it.
13864         * tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
13865         Afterwards remove [T1 and [T2.
13866         (ref*spec!0, ref*spec!2): Use T1 rather than T.
13867         (ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
13868         (ref*add-T2): Renamed from ref*add-T.
13869         (ref*add-T1): New macro.
13871 Mon Aug 24 11:11:11 1992  James Clark  (jjc at jclark)
13873         * acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.
13875         * libbib/index.cc: Include <fcntl.h>.
13876         (O_RDONLY): Define if necessary.
13877         (make_index_search_item, index_search_item_iterator::get_tag,
13878         index_search_item::check_files): Use O_RDONLY.
13879         * libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
13880         (O_RDONLY): Define if necessary.
13881         (search_list::add_file): Use O_RDONLY.
13882         * indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
13883         <sys/stat.h>.
13884         (S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
13885         (main): Use these.
13887         * libbib/index.cc (S_ISREG): Define it if necessary.
13888         (index_search_item::load): Use S_ISREG.
13890         * include/driver.h: Include <errno.h>.
13892 Sun Aug 23 11:32:18 1992  James Clark  (jjc at jclark)
13894         * eqn/box.cc (body_height): Increase default value to 85.
13895         (body_depth): Increase default value to 35.
13897 Fri Aug 21 05:34:42 1992  James Clark  (jjc at jclark)
13899         * eqn/pbox.h (SAVE_FONT_STRING): Define it.
13900         * eqn/box.cc (box::top_level): Hide use of \R in a string that is
13901         protected from expansion with \E.
13903         * acgroff.m4 (GROFF_PAGE): Use `case' to test domain.
13905         * Makefile (Makefile): New target.
13907         * Makefile.sub (configure, distfiles): New targets.
13909         * acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
13910         construct.
13912 Thu Aug 20 12:27:26 1992  James Clark  (jjc at jclark)
13914         * eqn/box.cc (param_table): Add body_height and body_depth.
13916         * eqn/lex.cc (def_table): Make circumflex in hat_def roman.
13918 Tue Aug 18 16:24:25 1992  James Clark  (jjc at jclark)
13920         * psbb/Makefile.sub: Don't link with libgroff.a.
13922         * acgroff.m4 (GROFF_PUTENV): New macro.
13923         * configure.in: Call GROFF_PUTENV.
13924         * Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
13925         * groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
13926         is defined.
13928         * troff/env.cc (distribute_space): Rename force_forward argument
13929         to force_reverse.  Reverse the list if force_reverse is true.
13931 Mon Aug 17 17:49:05 1992  James Clark  (jjc at jclark)
13933         * tmac/tmac.an: Don't define a string `T'. Just define Tm.
13935         * eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
13936         height or depth to be negative.  Guard against SUP_RAISE quantity
13937         being negative.
13939 Sat Aug 15 08:18:54 1992  James Clark  (jjc at jclark)
13941         * devps/generate/textmap: Add `an' (arrowhorizex).
13942         * tmac/tmac.ps: \(an overlaps horizontally.
13943         * tmac/tmac.dvi, tmac/tmac.tty: Add `an'.
13945         * devps/symbolchars: Add arrowverttp, arrowvertbt.
13946         * devps/textmap: Add arrowvertex.
13947         * eqn/delim.cc (delim_table): Add uparrow, downarrow and
13948         updownarrow delimiters.
13949         * tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.
13951         * tbl/table.cc (simple_entry::position_vertically,
13952         block_entry::position_vertically):  For a centered entry, perform
13953         the motion in two stages.
13955         * refer/refer.cc (split_punct): Don't call lookup_token if there
13956         is no token.
13958 Fri Aug 14 11:14:58 1992  James Clark  (jjc at jclark)
13960         * troff/input.cc (token::next): Delete token_node after copying
13961         token.
13963         * grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
13964         cur_point_size.
13966         * libdriver/printer.cc (printer::load_font): Delete old_font_table.
13968         * grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.
13970 Tue Aug 11 13:50:38 1992  James Clark  (jjc at jclark)
13972         * grops/ps.cc (usage): -b option takes an argument.
13974         * devps/prologue (PLG): New procedure.
13975         * grops/ps.cc (main, usage): New -g option.
13976         (ps_printer::~ps_printer):  If guess_flag is set, guess the paper
13977         length using PLG.
13979 Mon Aug 10 11:17:53 1992  James Clark  (jjc at jclark)
13981         * include/cset.h: Include <limits.h> if we have it.
13983         * libgroff/illegal.cc: New file.
13984         * include/lib.h (illegal_input_char): Use table.
13985         * troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
13986         * pic/lex.cc (ARG1): Renumber to 14.
13987         * eqn/lex.cc (ARG1): Likewise.
13989         * troff/Makefile.sub (majorminor.cc): Handle 3 part versions
13990         (eg 1.05.90) correctly.
13992 Sun Aug  9 13:35:43 1992  James Clark  (jjc at jclark)
13994         * tmac/tmac.e (sr): Deleted. Set $r and $R directly.
13995         Rename $r and $R registers to $v and $V.
13996         ($r, $R): Initialize to 0.
13997         (@v, @V): New macros.
13998         (sz): Call @v.
13999         (@M): Call @V.
14001         * troff/input.cc (main, usage): Add -R option that says not to
14002         load troffrc.
14003         * eqn/main.cc (main, usage): Rename -n to -R.
14005 Sat Aug  8 00:16:00 1992  James Clark  (jjc at jclark)
14007         * devps/DESC.in: Leave font positions 5-9 blank.
14008         * devdvi/DESC.in: Likewise.
14010         * grog/grog.pl: Handle `.PS <file' correctly.
14012         * troff/input.cc (input_stack::push): Improve error message when
14013         input stack limit exceeded.
14015 Fri Aug  7 13:08:16 1992  James Clark  (jjc at jclark)
14017         * refer/refer.cc (main): Fix typo in handling of `a' option.
14019         * refer/refer.cc (do_bib): In state START after a newline remain
14020         in state START.
14022         * groff/groff.sh: Deleted.
14023         * groff/Makefile.sub: Delete handling of groff.sh.
14025         * pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
14026         to determine whether to use \X'ps:...'.
14027         * tmac/troffrc: Set 0p register to 0.
14028         * tmac/tmac.ps: Set 0p register to 1.
14030         * groff/groff.cc: Support -X option. Give warning for -TXps and
14031         transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
14032         * tmac/troffrc: Support -r.X=1.
14034         * pic/troff.cc (troff_output::dot): Don't test
14035         zero_length_line_flag.
14037 Thu Aug  6 13:32:08 1992  James Clark  (jjc at jclark)
14039         * include/lib.h: Declare getopt() and friends unless
14040         STDLIB_H_DECLARES_GETOPT is defined.
14042         * doc/chars.tr: Delete.
14043         * man/groff_char.man: New file.
14045 Wed Aug  5 00:38:58 1992  James Clark  (jjc at jclark)
14047         * tmac/tmac.e (np, bu): Test \n($p with string expression in case
14048         user has changed register format.
14050 Mon Aug  3 11:22:18 1992  James Clark  (jjc at jclark)
14052         * groff/groff.cc: Get rid of device_table.  Get postprocessor from
14053         `postpro' command in DESC file.  Get spooler command from `print'
14054         command in DESC file.  Execute spooler command with /bin/sh.
14056         * groff/groff.cc: Split Unix-specific parts into...
14057         * groff/pipeline.c: New file.
14059         * LICENSE: Delete.
14060         * COPYING: New file.
14061         * all files: Update copyright notices.
14063         * Rearrange files.  Redo Makefiles.  Use autoconf.
14065 Sat Aug  1 09:36:50 1992  James Clark  (jjc at jclark)
14067         * troff/input.c (charinfo_to_node_list): Interpret character
14068         definition with escape_char of `\'.
14070 Tue Jul 28 12:20:12 1992  James Clark  (jjc at jclark)
14072         * lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
14073         Define INT_DIGITS as big enough for 64-bit integer.
14074         * lib/strtol.c: Don't include lib.h.
14075         * lib/lib.h: Delete ifdef __cplusplus stuff.
14077 Mon Jul 27 11:08:50 1992  James Clark  (jjc at jclark)
14079         * ps/devps/Makefile: Add DESC to DEVICEFILES.  Separate out rule
14080         for making DESC.  Make $(FONTS) depend on DESC. afmtodit should
14081         get DESC from current directory.
14083 Sun Jul 26 15:38:26 1992  James Clark  (jjc at jclark)
14085         * tbl/main.c (main): Always reset the line number when reading
14086         from stdin.
14088         * tbl/table.c (table::print_single_hline, table::print_double_hline,
14089         table::define_bottom_macro, table::do_row, table::do_top): Round
14090         vertical spacing up to vertical resolution.
14092 Fri Jul 24 14:32:07 1992  James Clark  (jjc at jclark)
14094         * ps/ps.h (enum resource_type): Avoid comma at end of
14095         enumerator-list.
14096         * dvi/dvi.c (class dvi_printer): Likewise.
14097         * dvi/tfmtodit.c (gf::load): Likewise.
14098         * refer/label.y (struct expression): Likewise.
14099         * refer/refer.c (class label_processing_state): Likewise.
14100         * refer/indxbib.c (do_file): Likewise.
14101         * troff/troff.c (enum warning_type): Likewise.
14102         * tbl/main.c (process_data): Likewise.
14103         * troff/charinfo.h (class charinfo):
14105 Wed Jul 22 09:17:58 1992  James Clark  (jjc at jclark)
14107         * dvi/devdvi/textt.map: Add entry for `-'.  Regenerate fonts.
14109 Tue Jul 21 11:39:26 1992  James Clark  (jjc at jclark)
14111         * groff.c: Move to new groff subdirectory.
14112         * groff/Makefile: New file.
14113         * Makefile: Remove handling of groff.c. Add groff to SUBDIRS.
14115         * man/mdate.sh: Use ls -L if supported.
14117         * Consolidate all header files produced by gendef into lib/defs.h.
14118         * lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
14119         Don't include path.h.
14120         * lib/Makefile (path.h): Don't generate.
14121         * troff/input.c: Include defs.h. Don't include config.h.
14122         * troff/Makefile (config.h): Don't generate.
14123         * refer/index.h: Don't include suffix.h.
14124         * refer/index.c: Include defs.h.
14125         * refer/indxbib.c: Include defs.h.
14126         * refer/refer.h, refer/lkbib.h: Don't include path.h. Include
14127         defs.h.
14128         * refer/Makefile (suffix.h, path.h): Don't generate.
14129         * groff.c: Don't include config.h. Include defs.h.
14130         * Makefile (config.h): Don't generate.
14131         (lib/defs.h): Generate.
14132         (topclean): Remove lib/defs.h.
14134 Mon Jul 20 10:12:57 1992  James Clark  (jjc at jclark)
14136         * lib/malloc.c, lib/getpagesize.h: Deleted.
14137         * Makefile: Add COOKIE_BUG configuration option.  Delete malloc
14138         related stuff.
14139         * lib/Makefile: Delete malloc-related stuff.
14140         * lib/new.c: Workaround COOKIE_BUG if necessary.
14142         * refer/lkbib.c, refer/indxbib.c: Don't include refer.h.  Include
14143         needed header files directly.
14144         * refer/refer.h: Omit definition of DEFAULT_INDEX.
14145         * Makefile: Include definition of DEFAULT_INDEX in path.h.
14147 Sun Jul 19 10:19:22 1992  James Clark  (jjc at jclark)
14149         * lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
14150         argument.
14151         * lib/font (font::load_desc, font::load): Don't split argument of
14152         unknown command.
14153         (font::handle_unknown_font_command): Change type.
14154         * ps/ps.c (ps_font::handle_unknown_font_command,
14155         handle_unknown_desc_command): Change type.
14156         * dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.
14158 Fri Jul 17 11:12:49 1992  James Clark  (jjc at jclark)
14160         * lib/font.h (font::handle_unknown_font_command): Add file and
14161         line arguments.
14162         * lib/font.c (font::handle_unknown_font_command):
14163         * ps/ps.c (ps_font::handle_unknown_font_command):
14164         * dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
14165         lineno arguments.  Use _with_file_and_line functions for error
14166         reporting.
14168         * lib/fontfile.c (font::unknown_desc_command_handler): New static
14169         data member.
14170         * lib/font.c (font::set_unknown_desc_command_handler): New
14171         function.
14172         (font::load_desc): For unknown commands, call
14173         unknown_desc_command_handler if not null.
14174         * lib/font.h (class font): Declare them.
14175         (FONT_COMMAND_HANDLER): New typedef.
14176         * ps/ps.c (handle_unknown_desc_command): New function.
14177         (main): Set bflag if we had a -b option. Call
14178         font::set_unknown_desc_command_handler.
14179         (broken.h): Don't include.
14180         * ps/Makefile: No need for broken.h.  Pass BROKEN_SPOOLER_FLAGS to
14181         submake 
14182         * ps/devps/Makefile: Add `broken' command to DESC file using
14183         BROKEN_SPOOLER_FLAGS.
14185         * macros/tmac.e ([, ]): Add as synonyms for { and }.
14187         * macros/tmac.e ($p): Only exdent if \$3 > 0.
14189         * macros/tmac.e (@R, @S): New macros.
14190         Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
14191         ?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
14192         Declare $H, $[0-9], .. macros with @S.
14193         Declare |0, |1, |2, |3 strings with @S.
14195         * macros/tmac.e (@S): Rename to @U.
14197         * macros/tmac.e (@z): Define @b and bp as empty instead of
14198         deleting them,
14200         * macros/tmac.e (@m): Deleted.
14201         (@h): Don't call @m.
14202         (@z): Don't set @m trap.
14204         * macros/tmac.e ($h, $f): Define |z as empty string.
14206         * macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
14207         (@q): Likewise.
14209         * macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
14210         removing them.
14211         ()f): Likewise for * register.
14213         * macros/tmac.e (sr): Don't ever scale the arguments. If the third
14214         argument is missing, don't change $R.  Call sr with three
14215         arguments when initializing.
14217 Thu Jul 16 12:17:12 1992  James Clark  (jjc at jclark)
14219         * macros/tmac.e (sr): New macro.
14220         Initialize $r and $R using sr.
14222         * macros/tmac.e (,): Delete \*(#[.
14224         * troff/env.c (set_tabs): Read the tab type even if the position
14225         is bad.  Allow the position of the first tab stop to be negative.
14227 Wed Jul 15 13:14:37 1992  James Clark  (jjc at jclark)
14229         * refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
14230         _POSIX_VERSION.
14231         * refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
14232         rather than -DPATHCONF_MISSING.
14233         * Makefile: Get rid of PATHCONF_MISSING.
14235         * refer/map.c: New file.
14236         * refer/index.c: Interface to mmap through map.c.  Rename map_size
14237         to map_len.
14238         * refer/Makefile: Handle map.c.
14239         * Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.
14241 Tue Jul 14 14:15:20 1992  James Clark  (jjc at jclark)
14243         * Makefile: RANLIB should be `true' if there is no ranlib.
14244         * lib/Makefile (libgroff.a): Simplify.
14245         * driver/Makefile (libdriver.a): Simplify.
14247         * Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
14248         * groff.c (WCOREDUMP): Use WCOREFLAG.  Define only if not already
14249         defined.
14251 Sat Jul 11 09:19:17 1992  James Clark  (jjc at jclark)
14253         * troff/env.c (compare_ranges): Declare as extern "C".
14255         * troff/input.c (init_registers): Use `struct tm' instead of `tm'.
14257         * macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.
14259 Wed Jul  8 11:52:27 1992  James Clark  (jjc at jclark)
14261         * pic/troff.c (troff_output::text): Merge in grops_output::text,
14262         but conditionalize use of \X based on \*(.T.
14263         (grops_output::*): Deleted.
14264         * pic/output.h: Delete declaration of make_grops_output.
14265         * pic/main.c (main): Ignore -p and -x.  driver_extension_flag is 1
14266         by default. -n sets it to 0.
14267         (usage): Corresponding changes.
14268         * groff.c (main): Don't pass -x or -p to pic.
14269         * groff.sh: Likewise.
14271         * ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
14272         to be non-zero.
14274         * ps/devps/afmtodit: Change calculation of asc_boundary and
14275         desc_boundary.  Make these bounds inclusive.
14276         * ps/devps: Regenerate font files.
14278 Tue Jul  7 13:14:15 1992  James Clark  (jjc at jclark)
14280         * macros/tmac.latin1: New file.
14281         * macros/tmac.tty-char: Use tmac.latin1.
14282         (tmac.tty-tr): Deleted.
14283         * macros/Makefile: Install tmac.latin1.
14284         * macros/tmac.dvi: Use tmac.latin1.
14285         * macros/troffrc: Translate \[char160] onto no-break space here.
14286         * macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.
14288 Mon Jul  6 11:06:52 1992  James Clark  (jjc at jclark)
14290         * macros/tmac.Xps: Use `do' request.
14292         * macros/tmac.ps: Use `do' request.
14294         * macros/tmac.e (@C): Use `do' request.
14296         * macros/tmac.X, macros/tmac.Xps: Moved from xditview.
14297         * macros/Makefile: Install tmac.X*.
14299         * tty/tmac.tty, tty/tmac.tty-char: Move to macros.
14300         * tty/Makefile: Don't install tmac.tty*.
14301         * macros/Makefile: Install tmac.tty*.
14303         * dvi/tmac.dvi: Move to macros.
14304         * dvi/Makefile: Don't install tmac.dvi.
14305         * macros/Makefile: Install tmac.dvi.
14307         * ps/tmac.ps*: Move to macros.
14308         * ps/Makefile: Don't install tmac.ps*.
14309         * macros/Makefile: Install tmac.ps*.
14311         * eqn/box.c: Provide draw_lines parameter corresponding to -D
14312         option.
14313         * macros/eqnrc: Set draw_lines parameter based on device.
14314         * groff.c: Don't pass -D flag to eqn.
14315         * groff.sh: Likewise.
14316         * eqn/main.c: Warn about use of -D.
14318         * troff/input.c (process_startup_file): New function.
14319         (main): Call process_startup_file().
14320         * macros/troffrc: New file.
14321         * macros/Makefile: Install troffrc.
14322         * groff.c (main): Don't pass extra -m option to troff. For a 
14323         pseudo device pass the name of the pseudo device to troff using
14324         -d.
14325         * groff.sh: Likewise.
14326         * groff.c (possible_command::prepend_arg): Deleted.
14328         * troff/input.c (do_request): New function.
14329         (init_input_requests): Bind "do" to do_request.
14331         * eqn/main.c (main): Instead of loading eqnchar from device directory,
14332         load eqnrc from macro directory.
14333         * macros/eqnrc: New file.
14334         * macros/Makefile: Install eqnrc.
14335         * ps/devps/eqnchar: Deleted.
14336         * ps/devps/Makefile: Don't install eqnchar.
14337         * dvi/devdvi/eqnchar: Deleted.
14338         * dvi/devdvi/Makefile: Don't install eqnchar.
14339         * groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
14340         variable optM.
14342         * lib/device.[ch]: New files.
14343         * lib/font.h (font::set_device_name, font::get_device_name):
14344         Deleted.
14345         * lib/fontfile.c: Use device.h.
14346         * lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
14347         * troff/input.c: Delete definition of `device'.
14348         (main): Don't initialize device.
14349         * troff/troff.h: Include device.h rather than declaring device.
14350         * troff/Makefile: No need to handle DEVICE.
14351         * driver/input.c: Include device.h. Don't use
14352         font::{set,get}_device_name.
14353         * groff.c, Makefile: Rename device.h to config.h.
14354         * groff.c: Use library device variable.
14355         * eqn/main.c: Use library device variable.
14356         * eqn/Makefile: No need to handle DEVICE.
14358         * lib/searchpath.[ch]: New files.
14359         * lib/Makefile: Handle searchpath.[ch].
14360         * troff/input.c (open_file, init_dirs): Deleted.
14361         (macro_dirs): Deleted.
14362         (open_mac_file, macro_source): Use class search_path.
14363         (add_string, struct string_list): Move definition.
14364         (main): Change -M option to use macro_path. Delete call to
14365         init_dirs().
14366         * lib/fontfile.c (font::command_line_font_dir, font::open_file):
14367         Rewrite to use class search_path.
14368         * lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
14369         * lib/Makefile: fontfile.c depends on searchpath.h.
14370         * lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
14371         MACROPATH.
14372         * lib/macropath.[ch]: New files.
14373         * troff/Makefile: No need to handle MACROPATH.
14375         * troff/input.c: Delete DUMP code.
14376         * lib/fontfile.c, lib/font.h: Delete
14377         font::forget_command_line_font_dirs.
14379         * troff/input.c (push_token): New function.
14380         (handle_first_page_transition): Use push_token().
14381         (process_input_stack): Change handling of a space at the beginning
14382         of the line.
14384 Sun Jul  5 17:11:09 1992  James Clark  (jjc at jclark)
14386         * troff/input.c (font_dirs): Delete unused variable.
14388         * eqn/lex.c (do_set): Correct error messages.
14390 Sat Jul  4 10:20:55 1992  James Clark  (jjc at jclark)
14392         * troff/input.c (do_define_string): Allow the string name to be
14393         followed immediately by a tab.
14394         (define_character): Likewise.
14396 Thu Jul  2 10:59:15 1992  James Clark  (jjc at jclark)
14398         * ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
14399         be negative.
14401         * troff/input.c (input_iterator::is_file): New virtual function.
14402         (file_iterator::is_file): New function.
14403         (input_stack::end_file): New function.
14404         (input_stack::next_file): Handle the situation where there is no
14405         file on the input stack correctly.  Avoid making two passes over
14406         the input stack.
14407         (next_file): Make the filename optional; in this case call
14408         input_stack::end_file().
14410 Wed Jul  1 10:17:25 1992  James Clark  (jjc at jclark)
14412         * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
14413         produce a real _ charater when the current font is CW and _
14414         otherwise.
14416         * lib/errarg.c (errarg::errarg(const char *)): Invert conditional
14417         expression to work around gcc 2.2 bug.
14419 Wed Jun 24 08:12:24 1992  James Clark  (jjc at jclark)
14421         * eqn/main.c (main): Don't give an error if we can't find eqnchar.
14423         * troff/env.c (environment::add_padding): New function.
14424         (environment::add_char): Use add_padding().
14425         (environment::space): Likewise.
14426         (environment::wrap_up_field): Add some padding if there is none
14427         and there's no current tab.
14428         * troff/env.h: Declare environment::add_padding.
14430 Mon Jun 22 08:37:45 1992  James Clark  (jjc@jclark)
14432         * pic/pic.y: undef fmod and rand before declaring them.
14434 Sun Jun 14 11:40:18 1992  James Clark  (jjc@jclark)
14436         * troff/input.c (main): If the DESC file specifies a font name of
14437         0, then leave the corresponding font position empty.
14439         * nroff.sh: New file.
14440         * Makefile (install.nobin): Install nroff.sh.
14442         * tty/devlatin1/R.proto: Add ao as synonym for de.
14443         * tty/tmac.tty-char: Define ao as o.
14445         * tty/dev{ascii,latin1}/R.proto: Add aq.
14446         * tty/tmac.tty-char: Delete definition of aq.
14448 Mon Jun  8 11:43:20 1992  James Clark  (jjc@jclark)
14450         * troff/input.c (init_charset_table): Don't translate 0240.
14451         * ps/tmac.ps: Translate char160 to space.
14452         * dvi/tmac.dvi: Likewise.
14453         * tty/tmac.tty: Likewise.
14455 Sun Jun  7 10:52:35 1992  James Clark  (jjc@jclark)
14457         * dvi/tmac.dvi: Add support for all Latin-1 characters.
14459         * macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
14460         \(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
14461         \(oe, \(r?, \(r!.
14463         * tty/tmac.tty-char: Add \(ah.
14465         * dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
14466         No need to define \(FM and \(!/. Conditionalize all character
14467         definitions.
14469         * ps/devps/lgreekmap: Add +h, +f, +p.
14471         * ps/tmac.psnew: New file.
14472         * ps/Makefile: Install tmac.psnew.
14474         * troff/input.c (charinfo_to_node_list): Don't ever interpret
14475         character definitions in compatible mode.
14477         * troff/input.c (remove_character): New function.
14478         (init_input_requests): Bind remove_character to "rchar".
14480         * ps/tmac.psold: New file.
14481         * ps/Makefile: Install tmac.psold.
14482         * ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
14483         characters into tmac.psold.  Make these definitions unconditional.
14485         * tty/tmac.tty-char: Define \n(_C only if it is not already defined.
14487         * ps/tmac.ps: Don't define \('c and \('C.
14489         * ps/devps/textmap: Move Greek characters to...
14490         * ps/devps/symbolchars:
14492 Sat Jun  6 16:41:17 1992  James Clark  (jjc@jclark)
14494         * ps/devps/text.enc: Add quotesingle.
14495         * ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
14496         * tty/tmac.tty-char: Likewise.
14497         * dvi/devdvi/texmi.map: Add +h, +f, +p.
14498         * dvi/devdvi/texi.map: Add Fn.
14499         * dvi/devdvi/msam.map: Add lz.
14500         * dvi/tmac.dvi: Handle Bq, bq, aq.
14502         * pic/lex.c (get_token): Recognize 'th.
14503         * pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.
14505 Fri Jun  5 11:20:46 1992  James Clark  (jjc@jclark)
14507         * ps/devps/textmap: Move di, mu, +- to...
14508         * ps/devps/symbolchars:
14510         * macros/tmac.s (@XS): Don't call par@reset or fi.
14511         (XA): Call LP. Turn off adjustment. Reduce line length.
14513         * macros/tmac.s: Initially alias XS to LP.
14514         (XS): Rename to @XS.
14515         (cov*ab-init): Alias XS to @XS.
14517 Thu Jun  4 09:12:05 1992  James Clark  (jjc@jclark)
14519         * troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
14520         TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
14521         (token::is_size, token::changes_env): Deleted.
14522         * troff/number.c (parse_term): No need to process \s explicitly.
14523         Call tok.next() only after scale indicator has been processed.
14524         * troff/input.c (do_overstrike, do_bracket): No need to process \s,
14525         \f etc explicitly.
14526         (token::next): Handle \s, \f, \S, \H immediately rather than
14527         returning them as tokens.
14528         (token::operator==, token::description, token::add_to_node_list,
14529         token::process): Remove handling of deleted tokens.
14531         * troff/env.c (environment::add_char): When adding padding
14532         indicator character, call start_line() if necessary.
14534 Wed Jun  3 09:55:50 1992  James Clark  (jjc@jclark)
14536         * ps/devps/afmtodit: Don't output 0 kerns.
14538         * ps/devps/afmtodit: Remove directory from name of encoding in
14539         font description file.
14541         * ps/devps/afmtodit: Improve error messages.
14543         * ps/devps/afmtodit: Allow DESC file to be specified with -d.
14545         * ps/devps/Makefile: Incorporate FontMakefile. Rework.
14546         * ps/devps/FontMakefile: Deleted.
14547         * ps/devps/afmname: New file.
14549         * ps/devps/symbol.sed: New file.
14550         * ps/devps/symbol.diff: Deleted.
14551         * ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
14552         Generate zapfdr.afm from zapfd.afm.
14554         * tty/tmac.tty (tty-char): Prefix definition with ".
14556         * macros/tmac.an (TP): Don't start a diversion if one has already
14557         been started.
14559         * tty/tmac.tty-char: Add Latin-1 characters.
14561         * tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.
14563 Tue Jun  2 00:54:34 1992  James Clark  (jjc@jclark)
14565         * tbl/table.c (table::allocate): Delete old_vline, old_entry.
14566         Move declaration of struct horizontal_span.
14568         * tbl/table.c (table::table): Initialize span_list.
14569         (table::~table): Delete span_list.
14571         * lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.
14573         * ps/devps/Makefile: Avoid dependency on GNU make.
14575         * ps/tmac.ps: Check that character does not already exist before
14576         defining it.
14578         * tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
14579         \(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
14580         \(ru, \(ul, \(br, \(bv, \(sl which are in the font description
14581         files.
14583         * tty/tmac.tty-char: New file.
14584         * tty/Makefile: Install tmac.tty-char.
14585         * tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
14586         tmac.tty-char.
14588         * tty/tmac.tty: Fix definition of \(34.
14590         * tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
14591         bracket-drawing characters onto |. Add *o.
14593         * troff/env.c (environment::wrap_up_tab): Increment field_spaces
14594         only if current_field.
14596         * troff/dictionary.c (dictionary::lookup): Free old_table after
14597         rehashing. 
14599 Mon Jun  1 10:15:22 1992  James Clark  (jjc@jclark)
14601         * tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
14602         whose glyphs are identical to glyphs of some Roman character.
14604         * tty/devlatin1/R.proto (bu): Deleted.
14605         * tty/devascii/R.proto (bu): Deleted.
14606         * tty/tmac.tty: Add definition of \(bu.
14608         * eqn/main.c (do_file): Pass FILE as argument.
14609         (main): Automatically load eqnchar.  New options -F and -n.
14610         Pass do_file an opened FILE.
14611         * groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
14612         No need to include font.h.
14613         * groff.sh: Likewise.  Don't need to use - for standard input.
14614         Prefix files with -- if first file starts with -.
14616         * macros/tmac.e: Conditionalize use of \$* on \n(.g.
14618         * troff/env.c (environment::possibly_break_line): Don't set line
14619         to 0 across call to output_line().  Don't call output_line() until
14620         after discarding nodes after break.
14622 Sun May 31 10:45:29 1992  James Clark  (jjc@jclark)
14624         * request.h (macro::empty): Declare it.
14625         * input.c (macro::empty): New method.
14626         (interpolate_macro):  Don't give a WARN_SPACE if the two-character
14627         macro is empty.
14629 Sat May 30 10:27:15 1992  James Clark  (jjc@jclark)
14631         * troff/env.c (environment::start_field): Decrement space_total
14632         when a space is frozen.
14634 Fri May 22 14:34:38 1992  James Clark  (jjc@jclark)
14636         * macros/tmac.an (R): Delete macro.
14638         * troff/input.c (get_copy, token::next): Support \# (like \" but
14639         newline is ignored).
14641         * troff/input.c (token::next): Fix error message in 'Y' case.
14643 Thu May 21 09:26:24 1992  James Clark  (jjc@jclark)
14645         * eqn/delim.c (define_extensible_string): Recognize any prefix of
14646         a delimiter name.
14648 Fri May 15 10:20:41 1992  James Clark  (jjc at jclark)
14650         * c++test.c: Include <osfcn.h>.
14652         * lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
14653         <errno.h> doesn't.
14655 Fri May  8 09:37:19 1992  James Clark  (jjc at jclark)
14657         * tbl/table.c (table::divide_span): Don't count column separation
14658         if expand was specified.
14660         * tbl/main.c (process_format): Don't ignore width specs in
14661         continued format.  Give warning for changing equal widths or
14662         column separation in continued format.
14663         (process_data): Set column separation, minimum width, equal
14664         columns at end of table.
14666 Thu May  7 08:50:40 1992  James Clark  (jjc at jclark)
14668         * troff/node.c (kern_pair_node::add_discretionary_hyphen,
14669         node::add_discretionary_hyphen): Use soft_hyphen_char.
14670         (set_soft_hyphen_char): New function.
14671         (init_node_requests): Bind to shc.  Initialize soft_hyphen_char.
14673         * Makefile (c++tested): Give more helpful message if test fails.
14675 Tue May  5 10:58:39 1992  James Clark  (jjc at jclark)
14677         * troff/input.c (init_charset_table): Translate 0240 to
14678         an unbreakable space.
14680         * troff/token.h (token::hyphen_indicator): New function.
14681         * troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
14682         translation.
14683         * troff/input.c (translate): Allow translation to \%.
14684         * troff/node.c (node::add_char): Handle
14685         TRANSLATE_HYPHEN_INDICATOR.     
14686         (make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.
14688         * troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
14689         for \(hy.
14691         * tty/devlatin1/R.proto: \(hy and - should print as 055.
14693 Tue Apr 21 09:24:42 1992  James Clark  (jjc at jclark)
14695         * groff.c (run_commands): If the last command gets a SIGPIPE send
14696         a SIGPIPE to all children than haven't yet terminated.  When
14697         command terminates, set pid field to -1.
14699 Fri Apr 17 11:20:48 1992  James Clark  (jjc at jclark)
14701         * groff.c (main): Pass an appropriate -filename option to gxditview.
14703 Thu Apr 16 15:11:40 1992  James Clark  (jjc at jclark)
14705         * Makefile.bd (install): Remove existing program before copying.
14707         * Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
14708         programs which have Unix counterparts to be installed with
14709         user-specified prefix.
14711         * troff/input.c (exit_troff): Don't check if exit_started.
14712         (exit_request): Don't call exit_troff if exit_started.
14714         * Makefile.bd (install.mm): Rename to install.dwbmm.
14716 Tue Apr 14 10:05:10 1992  James Clark  (jjc at jclark)
14718         * driver/input.c (do_file): Add missing break for '#' case.
14720 Mon Apr 13 10:11:02 1992  James Clark  (jjc at jclark)
14722         * troff/input.c (input_stack::clear):  Clear past any boundaries and
14723         then add the boundaries back.
14725         * troff/input.c (exit_troff): Return immediately if already
14726         exiting.
14728         * macros/tmac.s (pg@end-text): New macro.  Use pg@end-text for the
14729         end macro.
14730         (pg*end-page): If the text has ended and there are no more
14731         footnotes or keeps, exit.
14733         * macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.
14735         * troff/input.c (init_charset_table): Make \(rq transparent by
14736         default.
14738         * macros/tmac.an: Define lq and rq strings.
14740         * macros/tmac.s (Q, U): Define as \(lq and \(rq.
14742 Sun Apr 12 12:54:37 1992  James Clark  (jjc at jclark)
14744         * troff/env.c (environment::final_break): New function.
14745         (environment::newline): Set prev_line_interrupted to 2 if
14746         exit_started.
14747         * troff/env.h: Declare environment::final_break.
14748         * troff/input.c (exit_troff): Call environment::final_break()
14749         instead of environment::do_break().
14751         * macros/Makefile: Install man.local if $(MACRODIR)/man.local
14752         doesn't already exist.
14753         * macros/man.local: New file.
14754         * macros/tmac.an: Load man.local.
14755         * macros/man.ultrix: New file.
14757 Sat Apr 11 17:32:04 1992  James Clark  (jjc at jclark)
14759         * troff/input.c (exit_groff): Rename to...
14760         (exit_troff): New function.
14762         * troff/div.c (exit_started, done_end_macro,
14763         seen_last_page_ejector): New global variables.
14764         (began_page_in_end_macro): New static variable.
14765         (exit_flag): Deleted.
14766         (top_level_diversion::top_level_diversion): Initialize
14767         last_page_count.
14768         (top_level_diversion): More elaborate test for whether
14769         cleanup_and_exit() should be called.
14770         Set began_page_in_end_macro if the end macro isn't yet finished.
14771         * troff/div.h (top_level_diversion::last_page_count): New data
14772         member.
14773         (top_level_diversion::set_last_page): New function.
14774         (exit_started, done_end_macro, seen_last_page_ejector): Declare.
14775         * troff/env.c (do_break): Zero prev_line_interrupted.
14776         * troff/input.c (exit_flag): Delete declaration.
14777         (LAST_PAGE_EJECTOR): New magic cookie.
14778         (token::next): Handle LAST_PAGE_EJECTOR.
14779         (exit_groff): Set exit_started and done_end_macro instead of
14780         exit_flag.  Call top_level_diversion::set_last_page.  Push a
14781         LAST_PAGE_EJECTOR instead of calling push_page_ejector().  Do
14782         another ejection after setting seen_last_page_ejector.
14784 Thu Apr  9 04:37:11 1992  James Clark  (jjc at jclark)
14786         * etc/grog.sh, etc/grog.sh: Recognize -me sh macro.
14788         * macros/tmac.e (TH): Make sure there's room for the initial
14789         header.
14791         * macros/tmac.s (par@init): Make PD and DD at least \n(.V.
14792         Set FVS in points rather than units.
14794 Mon Apr  6 11:21:32 1992  James Clark  (jjc at jclark)
14796         * troff/div.c (top_level_diversion::add_trap): Don't consider the
14797         position of empty slots.
14799 Fri Apr  3 10:46:45 1992  James Clark  (jjc at jclark)
14801         * ps/devps/S: Fix height and depth of parenrightex.
14802         * ps/devps/symbol.diff: Regenerate.
14804 Sat Mar 28 21:17:52 1992  James Clark  (jjc at jclark)
14806         * tmac.e (u): Do underlining as in -mgs.
14808 Fri Mar 27 09:23:44 1992  James Clark  (jjc at jclark)
14810         * tty/tty.c (tty_printer::end_page): If overstriking is
14811         suppressed, still turn overstruck horizontal and vertical lines
14812         into +.
14814         * lib/new.c: Back out Feb 24 change; no longer needed with gcc
14815         2.1.
14817         * refer/label.y (format_expr::evaluate): Avoid use of %0*d.
14819 Wed Mar 18 09:29:10 1992  James Clark  (jjc at jclark)
14821         * Version 1.05 released.
14823 Tue Mar 17 16:50:45 1992  James Clark  (jjc at jclark)
14825         * tty/tty.c: Instead of keeping an array of glyphs and then
14826         sorting it, keep a ordered linked list of glyphs for each line.
14828         * driver/driver.h: Include stddef.h.
14830         * tty/tty.c (compare_glyph):
14831         * refer/refer.c (rcompare):
14832         * troff/env.c (compare_ranges): Arguments of qsort comparison
14833         function should be const void *.
14835         * troff/number.c (parse_term):
14836         * dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
14837         switch statement.
14839         * refer/label.y (consider_authors): Don't access variables
14840         constructed under a condition outside that condition: put braces
14841         round for statement containing declaration; redeclare use of same
14842         variable later.
14844         * pic/pic.y (text_expr): Delete production that allows
14845         parenthesised text_expr.
14846         (expr): Allow a conditional_expr to appear in parentheses.
14847         (conditional_expr): Rename to any_expr.
14849         * mm: Install new version 1.01 from jh.
14851         * lib/font.c (font::get_width): Cache scaled widths.
14852         (font::font): Initialize widths_cache.
14853         (font::~font): Destroy widths_cache.
14854         * lib/font.h: Add font::widths_cache. Declare font_widths_cache.
14856 Mon Mar 16 10:16:10 1992  James Clark  (jjc at jclark)
14858         * c++test.c, c++test.ref: New files.
14859         * Makefile: Check that the C++ compiler works.
14861         * ps/tmac.pspic (PSPIC): Do a break.
14863         * ps/tmac.ps: Move definition of PSPIC into...
14864         * ps/tmac.pspic: New file.
14865         (PSPIC): Draw box around picture, but make it invisible to grops.
14866         * ps/tmac.ps: Load tmac.pspic.
14867         * ps/Makefile: Install tmac.pspic.
14869 Sun Mar 15 14:18:08 1992  James Clark  (jjc at jclark)
14871         * lib/font.c (scale_round): If n is negative,
14872         subtract .5 before truncating floating point result.
14874         * lib/fontfile.c: Include <errno.h>.
14876 Tue Mar 10 14:17:03 1992  James Clark  (jjc at jclark)
14878         * driver/input.c (get_char): Inline. Don't update current_lineno.
14879         Change callers to up date current_lineno if necessary.
14880         Use get_char() instead of getc(current_file).
14882 Sun Mar  8 18:05:28 1992  James Clark  (jjc at jclark)
14884         * ps/tmac.ps: Fix up spacing of \(mo and \(nm.
14886 Fri Mar  6 19:38:58 1992  James Clark  (jjc at jclark)
14888         * tty/tty.c (tmac.tty): Define \(rg as (R).
14890 Tue Mar  3 10:11:25 1992  James Clark  (jjc at jclark)
14892         * lib/lib.h: New define a_delete.
14893         * Use a_delete instead of delete when deleting an array of objects
14894         without destructors.
14896         * lib/lib.h: Rename adelete to ad_delete.
14897         * Change uses of adelete.
14899 Mon Mar  2 12:41:05 1992  James Clark  (jjc at jclark)
14901         * eqn/eqn.y: Include lib.h.
14903         * troff/node.c (grow_font_table): Delete old_font_table.
14905         * mm: Install new version from jh.
14907 Fri Feb 28 10:42:23 1992  James Clark  (jjc at jclark)
14909         * tbl/table.h (format_type): Make global instead of local to class
14910         entry_format.  Prefix enumerators with FORMAT_.
14911         * tbl/table.c, tbl/main.c: Corresponding changes.
14912         * refer/token.h (token_type): Make global.  Prefix enumerators
14913         with TOKEN_.
14914         * refer/token.[ch]: Corresponding changes.
14915         * Makefile: Get rid of -DNO_NESTED_TYPES configuration option.
14917         * troff/div.c (node::set_vertical_size): Don't name argument.
14919 Thu Feb 27 10:29:19 1992  James Clark  (jjc at jclark)
14921         * Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
14922         * lib/lib.h: Define adelete accordingly.
14923         * pic/object.c (graphic_object::graphic_object):
14924         * tbl/main.c (format::~format):
14925         * tbl/table.c (table::~table):
14926         * refer/ref.c (reference::~reference, reference::merge,
14927         reference::insert_field, reference::delete_field): Use adelete.
14929         * Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
14930         * refer/token.h:
14931         * tbl/table.h: Corresponding changes.
14933         * common.c (common_output::dashed_arc, common_output::dotted_arc):
14934         Ensure total_angle is positive.
14936 Wed Feb 26 08:49:26 1992  James Clark  (jjc at jclark)
14938         * refer/ref.c (reference::merge, reference::insert_field,
14939         reference::delete_field): Avoid delete[0].
14941         * refer/token.c (init_special_chars): Move calls to cmupper
14942         outside calls to init_two_char_letter to work around bug in gcc
14943         2.0.
14945 Mon Feb 24 14:20:00 1992  James Clark  (jjc at jclark)
14947         * lib/new.c (operator new): Use __builtin_new for g++.
14949         * pic/object.c (graphic_object::~graphic_object):  Don't use
14950         delete [] on 0.
14952         * pic/object.c (output::compute_scale): Initialize max_width and
14953         max_height.
14955 Sat Feb 15 09:55:20 1992  James Clark  (jjc at jclark)
14957         * troff/input.c (write_request): Call fflush.
14959         * troff/node.h (class composite_node): Move declaration to node.c
14960         * troff/input.c (charinfo_to_node): Rename to ...
14961         (charinfo_to_node_list): Return node list rather than composite
14962         node.
14963         * troff/node.c (make_composite_node): New function.
14964         (make_node, add_char): Call make_composite_node instead of
14965         charinfo_to_node.
14966         (class composite_node): Add a tfont * member.  Delete font_size
14967         member.
14968         (composite_node::composite_node, composite_node::copy,
14969         composite_node::size): Corresponding changes.
14970         (composite_node::tprint): Provide constant spacing, emboldening
14971         and track kerning as specified in tfont.
14972         (composite_node::width): Change width calculation accordingly.
14973         * troff/env.h (environment::composite): New member.
14974         (environment::is_composite, environment::set_composite): New
14975         functions.
14976         * troff/env.c (environment::environment): Initialize composite.
14977         * troff/input.c (charinfo_to_node): Call
14978         environment::set_composite.
14979         * troff/node.c (make_composite_node, make_glyph_node): Use the
14980         plain version of the tfont if the environment is composite.
14982         * troff/node.c (font_info::get_space_width): Additional argument
14983         giving space_size.  Handle constant space correctly. Scale by
14984         space_size unless constant spaced.
14985         (env_sentence_space_width): New function.
14986         * troff/node.h: Declare it.
14987         * troff/env.h (environment::get_space_size,
14988         environment::get_sentence_space_size,
14989         environment::get_narrow_space_width,
14990         environment::get_half_narrow_space_width): Make inline.
14991         (environment::get_space_width): Make inline.  Just call
14992         env_space_width.
14993         * troff/env.c: Delete definitions for funtions made inline.
14994         (environment::space_newline, environment::space): Use
14995         env_sentence_space_width(). Don't scale by space_size.
14996         * troff/node.h: Move declarations of env*space_width() functions
14997         into env.h.
14999 Sat Feb  8 09:30:22 1992  James Clark  (jjc at jclark)
15001         * macros/tmac.s (PS): Don't try to set negative indent.
15003 Thu Feb  6 09:00:35 1992  James Clark  (jjc at jclark)
15005         * pic/pic.y: Fix min function.
15007 Tue Jan 28 07:52:29 1992  James Clark  (jjc at jclark)
15009         * man/mdate.sh: Clear LANGUAGE.
15011 Sun Jan 19 13:02:41 1992  James Clark  (jjc at jclark)
15013         * pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
15014         * pic/lex.c: New COMMAND keyword.
15015         * pic/pic.y (print_args, print_arg): New rules.
15016         (placeless_element): Use print_args for PRINT.
15017         New COMMAND element.
15019 Tue Jan  7 13:14:31 1992  James Clark  (jjc at jclark)
15021         * troff/input.c (terminal): Handle missing argument correctly.
15023         * pic/pic.y (text_expr): New rule.
15025         * pic/pic.y: Implement := operator.
15027 Sun Jan  5 10:23:02 1992  James Clark  (jjc at jclark)
15029         * etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
15030         mdoc.
15032 Sat Jan  4 14:42:26 1992  James Clark  (jjc at jclark)
15034         * ps/devps/dingbatsrmap: Include this in the distribution.
15036         * macros/tmac.doc: Replace with new version from 2nd Networking
15037         Release. Fix loading of doc-* files.
15038         * macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
15039         * macros/tmac.doc.old: New file.  Apply fixes that had been
15040         applied to old tmac.doc.
15041         * macros/tmac.andoc: Check that we're running under groff.
15042         * macros/Makefile: Rework.
15044 Fri Jan  3 13:27:51 1992  James Clark  (jjc at jclark)
15046         * tbl/table.h (format_type): 
15047         * refer/token.h (token_type): If NESTED_TYPES is defined, use
15048         typedef to make these types visible at file scope.
15049         * Makefile: Add NESTED_TYPES configuration option.
15051         * troff/div.c (mark): At the top level use the value of
15052         nl_reg_contents rather than the current vertical position.
15054 Thu Jan  2 10:34:51 1992  James Clark  (jjc at jclark)
15056         * tty/tty.c: Implement \D for horizontal or vertical lines.
15057         (tty_printer::set_char): Use vec_used+2 as serial number.
15058         Don't allow size of vector to exceed USHRT_MAX-2.
15059         Split off part into...
15060         (tty_printer::add_char): New function.
15061         (tty_printer::draw): New function.
15062         (compare_glyph): Handle equal serial numbers.
15063         (tty_printer::end_page): Handle overstruck characters from \D.
15064         (main, usage): Implement -d option.
15066 Mon Dec 23 10:37:51 1991  James Clark  (jjc at jclark)
15068         * tbl/main.c (process_format):
15069         * eqn/text.c (split_text):
15070         * troff/input.c (token::next): Use inner block for declarations
15071         with initializers in switch statement.
15073 Mon Dec 16 20:52:03 1991  James Clark  (jjc at jclark)
15075         * pic/common.c (common_output::dash_line): Cope with zero-length
15076         lines.
15078 Sun Nov 17 12:04:08 1991  James Clark  (jjc at jclark)
15080         * Version 1.04 released.
15082 Wed Nov 13 05:27:21 1991  James Clark  (jjc at jclark)
15084         * macros/tmac.an (TH): Define a macro an-init to define variables
15085         based on command line arguments.
15086         (an-header): Call it.
15088 Sun Nov  3 12:07:34 1991  James Clark  (jjc at jclark)
15090         * Makefile (install.mm): Rename to install.dwbmm.
15092         * Makefile: Integrate mm.
15093         * mm: New directory.
15095 Wed Oct 30 10:11:34 1991  James Clark  (jjc at jclark)
15097         * refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
15098         <sys/types.h>.
15100         * pic/troff.c (troff_output::simple_spline,
15101         troff_output::simple_polygon): Rename variable `v' to `d' to avoid
15102         shadowing parameter.
15104         * lib/tmpfile.c (xtmpfile): Declare dir as const char *.
15106         * lib/ptable.h: Add explicit casts when converting from unsigned
15107         long to unsigned.
15109         * dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
15110         * dvi/devdvi/Makefile: Install SA, SB.
15112         * refer/indxbib.c: Add declaration of mktemp.
15114         * refer/lookbib.c: Add declaration of isatty.
15116 Fri Oct 25 09:00:17 1991  James Clark  (jjc at jclark)
15118         * pic/lex.c (interpolate_macro_with_args):  While collecting
15119         arguments, keep track of whether we're in a string.
15121 Wed Oct 23 08:42:48 1991  James Clark  (jjc at jclark)
15123         * ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
15124         down with \v, so as to avoid problems with top of page trap
15125         setting no space mode.
15127 Tue Oct 22 17:38:49 1991  James Clark  (jjc at jclark)
15129         * eqn/lex.c (get_delimited_text): Allow tab before macro body.
15131 Tue Oct 15 17:24:53 1991  James Clark  (jjc at jclark)
15133         * ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
15134         Improve error message.
15136 Fri Oct 11 11:09:38 1991  James Clark  (jjc at jclark)
15138         * ps/psrm.c (print_ps_string): Don't pass negative numbers to
15139         printf("%03o");
15141 Wed Oct  9 17:50:14 1991  James Clark  (jjc at jclark)
15143         * groff.c (possible_command::execp): Always use _exit() after a
15144         failed exec.
15146         * Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
15147         NO_SYS_WAIT_H   configuration options.
15148         * groff.c: Use these options.  Use POSIX-style macros to extract
15149         fields from the status returned by wait().
15151 Fri Oct  4 12:12:27 1991  James Clark  (jjc at jclark)
15153         * tbl/table.c (table::compute_separation_factor): Allow the
15154         separation factor to drop to 0.
15156 Tue Oct  1 18:12:38 1991  James Clark  (jjc at jclark)
15158         * refer/search.c: Include <errno.h>.
15160 Sun Sep 29 08:40:57 1991  James Clark  (jjc at jclark)
15162         * pic/pic.y (YYDEBUG): Don't define for Borland C++.
15164         * lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
15165         C++. 
15167         * pic/lex.c (input_stack::bol): Move definition out of class body.
15169         * pic/main.c: On MSDOS munge argv[0].
15171         * lib/ptable.h: Define name2 as _Paste2 for Borland C++.
15173         * lib/ptable.c (hash_string): Use unsigned long rather than
15174         unsigned.
15175         (next_ptable_size): Use unsigned rather than int.  Give an error
15176         message if we've hit the largest table size.
15177         * lib/ptable.c: Corresponding changes.  Also use unsigneds for the
15178         table size.
15180         * pic/object.h (object_spec): Make flags unsigned long.  Declare
15181         flags as const unisgned long rather than as enums.
15183         * pic/output.c: Deleted.
15185         * pic/troff.c (troff_output::simple_ellipse): Remove spurious %.
15187         * tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
15188         Add additional argument.
15189         (line_entry::note_double_vrule_on_{left,right}): Set value of
15190         douvle_vrule_on_{right,left} flag according to argument.
15191         (simple_line_entry::simple_print,
15192         simple_line_entry::double_line_print): If adjacent to double vrule
15193         on a corner extend rather than shorten the rule by half the double
15194         vrule sep.
15196         * troff/number.c (parse_term): In checking for overflow, handle the
15197         case where the current horizontal position is negative.
15199 Thu Sep 12 08:26:09 1991  James Clark  (jjc at jclark)
15201         * pic/object.c (draw_arrow): Check for object having zero length.
15203 Wed Sep 11 10:32:38 1991  James Clark  (jjc at jclark)
15205         * eqn/main.c (do_file): Split off inline equation handling into...
15206         (inline_equation): New function.  Search for starting delimiter
15207         using...
15208         (delim_search): New function. Don't recognize a delimiter that
15209         occurs in the name of an escape sequence, number register, string
15210         etc.
15212 Tue Sep 10 04:01:11 1991  James Clark  (jjc at jclark)
15214         * eqn/delim.c (delim_box::compute_metrics): Don't call
15215         define_extensible_string if left is 0.
15216         (delim_box::output):  Don't print the left delimiter if left is 0.
15217         (delim_box::debug_print): Check for left == 0 before calling printf.
15219 Fri Aug 23 13:02:30 1991  James Clark  (jjc at jclark)
15221         * troff/Makefile (majorminor.c): Include only digits in
15222         minor_version.
15224 Thu Aug 22 09:35:37 1991  James Clark  (jjc at jclark)
15226         * refer/dirnamemax.c: new file.
15227         * refer/genlimits.c: Deleted.
15228         * refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
15229         Don't check path length.
15230         * refer/Makefile: Add dir_name_max.o; delete genlimits.
15231         * Makefile: Add PATHCONF_MISSING option.
15233         * refer/indxbib.c (get_cwd): New function.
15234         (main): Use get_cwd().
15235         * lib/getcwd.c: New file.
15236         * Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
15237         GETCWD in SUBFLAGS.
15238         * lib/Makefile: Compile getcwd.o.
15240         * ps/tmac.psatk (psatk-defs): Define showpage after pushing
15241         userdict.
15243         * refer/indxbib.c (main): Check success of mktemp.
15245         * lib/tmpfile.c: New file.
15246         * lib/Makefile: Add tmpfile.c.
15247         * lib/lib.h: Declare xtmpfile(); include <stdio.h>.
15248         * ps/ps.h: Delete declaration of mktemp().
15249         * ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
15250         * refer/refer.c (divert_to_temporary_file): Use xtmpfile().
15251         * driver/driver.h: No need now to include errno.h.
15253         * everywhere: Set errno to 0 before calling fopen().
15255         * eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
15256         dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
15257         refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.
15259 Mon Aug 19 10:52:18 1991  James Clark  (jjc at jclark)
15261         * troff/env.h (translate_space_to_dummy): Declare it.
15262         * troff/env.c (environment::space_newline, environment::space):
15263         If translate_space_to_dummy is set then make the width of spaces 0.
15264         * troff/input.c (translate): If the second character of a
15265         translation is a space, translate to unbreakable space.  If the
15266         first character is a space, set or clear translate_space_to_dummy
15267         according to whether the second character is \&.  Weird!
15269 Tue Jul 30 10:03:56 1991  James Clark  (jjc at jclark)
15271         * groff.c (run_commands): Don't use non-zero exit code because a
15272         command gets SIGPIPE.
15274         * groff.c, groff.sh: Use -mXps with -TXps.
15276         * ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
15277         (ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
15278         ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
15279         (ps_printer::special): New specials invis and endinvis.
15280         (ps_printer::do_invis, ps_printer::do_endinvis): New functions.
15281         (ps_printer::set_char, ps_printer::draw): Return if invis_count>0. 
15282         (ps_printer::end_page): Check that invis_count == 0.
15283         (ps_printer::invis_count): New member.
15284         (ps_printer::ps_printer): Initialize invis_count to 0.
15286         * troff/env.c (environment::hyphenate_line): Hyphenation
15287         indicator at beginning of word inhibits splitting after -, \(em
15288         etc.
15290         * pic/pic.y (element): Allow another element to follow } without
15291         any intervening separator.
15293 Mon Jul 22 12:27:37 1991  James Clark  (jjc at jclark)
15295         * pic/lex.c (get_delimited): Allow tabs before delimiter.
15297 Wed Jul 17 10:59:08 1991  James Clark  (jjc at jclark)
15299         * groff.c: Get rid of HAVE_UNION_WAIT stuff.  Instead suppress
15300         declaration of wait() in header files.
15301         * Makefile: Get rid of -DHAVE_UNION_WAIT.
15303         * tbl/table.c (alphabetic_text_entry::add_tab): New function.
15305         * lib/lib.h: Declare return type of strerror as char *.
15307         * man/Makefile: Add g flag to sed substitutions.
15308         * Makefile (shgroff, bindist): Likewise.
15310 Sun Jul 14 11:57:02 1991  James Clark  (jjc at jclark)
15312         * ps/ps.c (ps_printer::do_import): Move push of userdict into...
15313         * ps/devps/prologue (PBEGIN): Define showpage after pushing
15314         userdict.
15316 Sat Jul 13 20:53:04 1991  James Clark  (jjc at jclark)
15318         * ps/devps/prologue (PBEGIN): Zap any definition of showpage in
15319         userdict.
15321 Fri Jul 12 07:10:09 1991  James Clark  (jjc at jclark)
15323         * man/mdate.sh: Handle the fact that BSD ls -l does not print the
15324         group.
15326 Sun Jul  7 08:00:23 1991  James Clark  (jjc at jclark)
15328         * troff/input.c (define_number_reg):  If currently undefined,
15329         don't define it if the argument is an invalid expression.
15331         * Makefile: Ignore return value of `if' commands without `else'
15332         parts.
15334         * Makefile: Split up CPPDEFINES into a series of separate
15335         configuration options.
15337         * troff/input.c (init_registers): Use time_t instead of long
15338         unless LONG_FOR_TIME_T is defined.  Use returned result rather
15339         than passing pointer.
15340         * Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.
15342         * lib/Makefile (fontpath.h): Use gendef.
15344 Thu Jul  4 09:48:05 1991  James Clark  (jjc at jclark)
15346         * troff/input.c (input_iterator::shift): Delete argument name.
15347         * troff/node.c (suppress_output_file::really_begin_page,
15348         suppress_output_file::really_transparent_char, node::ascii_print,
15349         node::tprint): Delete names of unused arguments.
15351 Wed Jul  3 17:34:57 1991  James Clark  (jjc at jclark)
15353         * refer/label.y (string):  Pass $4 to command_error.
15355 Tue Jul  2 15:06:01 1991  James Clark  (jjc at jclark)
15357         * Version 1.03 released.
15359 Sat Jun 29 08:14:01 1991  James Clark  (jjc at jclark)
15361         * Makefile: Pass definition of SHELL in SUBFLAGS.
15363         * gendef: New file.
15364         * Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
15365         ps/Makefile: Use gendef to construct header files that are
15366         constructed from the Makefile.
15368         * macros/Makefile: make all should build stripped version of tmac.e.
15370         * refer/Makefile (clean): Remove y.output.
15372 Fri Jun 28 09:44:36 1991  James Clark  (jjc at jclark)
15374         * ps/pfbtops.c (main): Add -v option which prints out a version
15375         number.
15376         * ps/Makefile (pfbtops): Link with libgroff.a.
15378 Fri Jun 21 07:43:23 1991  James Clark  (jjc at jclark)
15380         * refer/search.h (linear_searcher::get_nkeys): Delete declaration.
15381         * refer/linear.c (linear_searcher::get_nkeys): Delete definition.
15383         * refer/lkbib.c (main): Always terminate reference with blank
15384         line.
15385         * refer/lookbib.c (main): Likewise.
15387         * refer/linear.c (file_buffer::load): Check that the file is not a
15388         binary file.
15390         * refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
15391         (genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
15392         Delete second inclusion of <sys/param.h>.
15394 Tue Jun 18 01:32:26 1991  James Clark  (jjc at jclark)
15396         * troff/token.h (token::special): Deleted.
15398         * tbl/main.c (process_format): Rework so that opt->tab_char is
15399         recognized only when appropriate.
15401         * ps/Makefile (clean): Remove pfbtops.
15403 Sun Jun 16 09:37:19 1991  James Clark  (jjc at jclark)
15405         * lib/font.c (text_file::next): Don't return if we have got a
15406         blank line.
15408 Fri Jun 14 09:52:26 1991  James Clark  (jjc at jclark)
15410         * refer/refer.c (store_reference): Get hash code from old_table[i]
15411         when rehashing the table.
15413 Thu Jun 13 01:26:43 1991  James Clark  (jjc at jclark)
15415         * eqn/box.c (box::top_level): Save size and prev size using \R and
15416         restore it afterwards. Set the size to the size at the beginning
15417         of the line.
15418         * eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
15419         SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.
15421         * refer/Makefile (limits.h): Use ./genlimits.
15423 Wed Jun 12 16:05:34 1991  James Clark  (jjc at jclark)
15425         * refer/index.c: Delete declarations of stat() and fstat().
15427 Tue Jun 11 14:52:49 1991  James Clark  (jjc at jclark)
15429         * tty/tmac.tty: Add character definitions for \(>= and \(<=.
15431 Mon Jun 10 22:49:48 1991  James Clark  (jjc at jclark)
15433         * etc/grog.sh, etc/grog.pl: Change regex for .PS.
15435 Fri Jun  7 09:13:06 1991  James Clark  (jjc at jclark)
15437         * troff/input.c (token::get_char): Handle \e.
15439         * refer/linear.c: Delete declarations of fstat() and stat().
15441 Wed Jun  5 09:11:59 1991  James Clark  (jjc at jclark)
15443         * troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
15444         OP_DELETE_BROKEN stuff, since we now have a fix for g++.
15446 Mon Jun  3 13:41:32 1991  James Clark  (jjc at jclark)
15448         * troff/input.c (do_define_macro): Improve error handling for end
15449         of file while defining macro.
15451 Sun Jun  2 10:20:24 1991  James Clark  (jjc at jclark)
15453         * eqn/box.h: Fix declaration of set_gsize.
15454         * eqn/box.c (set_gsize): Make argument const char *.
15455         (gsize): Declare as char *.
15456         * eqn/main.c (main): Don't convert gsize to int.
15457         * eqn/lex.c (do_gsize): Pass char * to set_gsize.
15459         * Version 1.02 released.
15461 Sat Jun  1 12:19:46 1991  James Clark  (jjc at jclark)
15463         * macros/tmac.andoc: New file.
15464         * macros/Makefile: Install tmac.andoc.
15466         * troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
15467         operator new and delete on OP_DELETE_BROKEN not being defined.
15468         * Makefile: Mention OP_DELETE_BROKEN.
15470 Mon May 27 13:49:07 1991  James Clark  (jjc at jclark)
15472         * Makefile (bindist): Pass SUBFLAGS.
15474 Sun May 26 14:13:22 1991  James Clark  (jjc at jclark)
15476         * Makefile, groff.c: Pass definitions to groff.c via device.h.
15478         * tty/tty.c (tty_font::load_tty_font): Avoid shadowing
15479         parameter.
15481         * ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.
15483         * ps/ps.h, ps/psrm.c: Make comment_table and
15484         header_comment_table local to resource_manager::process_file.
15486         * groff.sh: With -TXps pass -printCommand option to gxditview.
15488         * groff.c (possible_command::print): Implement using
15489         append_arg_to_string.
15491         * xditview: Merge in new implementation with own ChangeLog.
15493 Sat May 25 18:33:20 1991  James Clark  (jjc at jclark)
15495         * groff.c (main): Implement PRINT_OPTION.
15496         (append_arg_to_string): New command.
15497         (device_table): Set PRINT_OPTION flag for Xps.
15499 Fri May 24 09:48:58 1991  James Clark  (jjc at jclark)
15501         * troff/groff.h: Rename to troff.h.
15503         * pic/lex.c (lookup_keyword, docmp): New functions.
15504         (get_token): Use new lookup_keyword.
15505         Don't include key.h.
15506         * pic/key.[ch], pic/pic.gperf: Deleted.
15507         * pic/Makefile: Remove gperf stuff.
15509         * pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
15510         into output.h.
15511         * pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.
15513         * troff/Makefile, troff/node.c: Move definition of
15514         STORE_WIDTH into node.c.
15516         * etc/grog.pl, etc/grog.sh: Support -mdoc.
15518 Thu May 23 12:30:49 1991  James Clark  (jjc at jclark)
15520         * dvi/devdvi/texr.map, dvi.devdvi/texi.map,
15521         dvi/devdvi/texb.map: Add lq and rq.
15522         dvi/devdvi: Regenerate fonts.
15523         * ps/devps/textmap: Add lq and rq.
15524         * ps/devps: Regenerate fonts.
15525         * tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
15526         * macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
15528         * pic/object.c (position_rectangle): When checking radius
15529         cope with possiblity that width or height is negative.
15530         (box_object::box_object): Have separate xrad and yrad with
15531         signs matching signs of dim components.
15532         (box_object::{north,south}_{east,west}): Use xrad and yrad.
15533         (box_object::print): With rounded boxes use absolute values
15534         for dim and rad arguments.
15536         * lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
15537         in fontpath.h.
15539         * eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.
15541         * various files: Add explicit destructors to keep Saber CC +d
15542         happy.
15544 Wed May 22 11:37:11 1991  James Clark  (jjc at jclark)
15546         * eqn/box.c (box::top_level): Restore fonts correctly after
15547         font changes in line containing inline equation.  Also
15548         restore previous font as well as current font.
15549         * eqn/pbox.h: Define necessary string and register names.
15551         * troff/input.c (token::next): Case 'R' calls do_register.
15552         (do_register): New function.
15554 Tue May 21 11:28:23 1991  James Clark  (jjc at jclark)
15556         * groff.c, groff.sh: Support Xps device.  Allow each device
15557         to have a pseudo_name and a real_name.
15559         * groff.c (run_commands): Don't print `Broken pipe' messages.
15561         * ps/pfbtops.c: New file.
15562         * ps/Makefile: Add pfbtops.
15564         * troff/number.c (parse_term): Improved error message.
15566 Mon May 20 11:22:14 1991  James Clark  (jjc at jclark)
15568         * groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.
15570         * Makefile: Integrate refer.
15571         * refer: New directory.
15572         * man/grefer.man, man/glookbib.man, man/gindxbib.man,
15573         man/lkbib.man: New files.
15574         * man/Makefile: Support refer man pages.
15576         * lib/lib.h: Declare is_prime.
15577         * lib/prime.c: New file.
15579         * troff/input.c (macro_source): New function.
15580         (init_input_requests): Bind "mso" to macro_source.
15582         * troff/env.c (environment::possibly_break_line): Maintain
15583         pointer to pointer to node to be split in ndp so as to avoid
15584         using address of freed node.
15586         * troff/env.c (environment::hyphenate_line): Maintain pointer to
15587         pointer to first node to be hyphenated in startp so as to
15588         avoid using address of freed node.
15590         * troff/env.c (class trie, class hyphen_trie): Make the
15591         elements of the trie be of type char not unsigned char.
15592         Declare arguments to be const char* instead of unsigned char *.
15593         
15594         * troff/env.c (hyphenate): Initialize hbuf[0].
15596         * troff/input.c (set_string): Declare p to be char * and cast
15597         *p to unsigned char when necessary.
15599         * troff/input.c (do_define_macro): Declare s to be const
15600         char*. Cast element to unisgned char when necessary, Declare
15601         d to be an int.  Handle EOF better.
15603         * troff/Makefile, troff/input.c: Different scheme for passing
15604         definitions of MACROPATH, HYPHENFILE and DEVICE.
15606 Tue May 14 13:41:36 1991  James Clark  (jjc at jclark)
15608         * tty/devascii/R.proto: Delete entry for em.
15609         * tty/devlatin1/R.proto: Likewise.
15611 Sat May 11 11:13:28 1991  James Clark  (jjc at jclark)
15613         * troff/input.c (translate): Stop when we get a space. Treat eof
15614         like newline.
15616         * macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.
15618 Wed Apr 24 19:24:33 1991  James Clark  (jjc at jclark)
15620         * tbl/main.c (process_format): A font name following a `f'
15621         modifier that starts with a digit can be only one character long.
15622         Also deal with EOF on the second character of the font name.
15624 Wed Apr 17 11:23:43 1991  James Clark  (jjc at jclark)
15626         * troff/input.c (token::next): Turn \~ into an
15627         unbreakable_space_node.
15628         * troff/node.c (unbreakable_space_node): New class.
15629         * troff/node.h: Declare it.
15631 Tue Apr 16 10:47:12 1991  James Clark  (jjc at jclark)
15633         * dvi/dvi.c (dvi_printer::set_char): Make code an int.  Check that
15634         it's >= 0, before outputting it as a single byte.
15636 Mon Apr 15 11:20:23 1991  James Clark  (jjc at jclark)
15638         * lib/font.c: Make font_char_metric::code an int.
15639         (font::get_code): Change return type to int.
15640         (font::load): Allow code to be arbitrary integer.
15641         * lib/font.h (font::get_code): Change return type to int.
15642         (font::number_to_index): Change argument type to int.
15643         * troff/input.c (token::next):  In case 'N', allow any value.
15644         Store value in token::val.
15645         (token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
15646         (token::get_char, token::add_to_node_list, token::process): Get
15647         number from val.
15648         (charinfo::set_number): Change argument to int.
15649         (charinfo::get_number):  Require that NUMBERED flag be set.
15650         (get_charinfo_by_number): Store numbered characters not between 0
15651         and 255 in a dictionary.
15652         * troff/charinfo.h (get_charinfo_by_number): Change argument type
15653         to int.
15654         (charinfo::number): Change type to int.
15655         (charinfo::set_number): Change type of set_number to int.
15656         * troff/node.c (troff_output_file::put_char_width,
15657         troff_output_file::put_char): Test whether character is numbered
15658         using charinfo::numbered().
15659         * driver/printer.c (printer::set_numbered_char): Allow arbitrary
15660         values of num.
15661         * lib/nametoindex.c: New implementation to cope with arbitrary
15662         number characters.
15664         * troff/input.c (token::operator==): Test val for
15665         TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
15666         TOKEN_SIZE.
15668         * man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
15669         (.man.n):  sed out @BROKEN_SPOOLER_FLAGS@.
15671 Sun Apr 14 12:57:00 1991  James Clark  (jjc at jclark)
15673         * ps/devps/zapfdr.ps: Don't copy UniqueID.  Avoid use of newdict
15674         variable.
15676         * all Makefiles: rm targets of cp and >.
15678         * xditview/xtotroff.c (MapFont): Unlink troff_name before opening
15679         it.
15681         * eqn/lex.c (def_table): Add dollar.
15683 Sat Apr 13 13:02:44 1991  James Clark  (jjc at jclark)
15685         * troff/input.c (do_width): Push back newline before closing delim
15686         like do_bracket.
15688 Fri Apr 12 15:16:03 1991  James Clark  (jjc at jclark)
15690         * groff.c (possible_command::prepend_arg): New function.
15691         (main): Prepend device -m option.
15692         * groff.sh: Put device -m options before command-line options.
15694 Tue Apr  9 10:24:43 1991  James Clark  (jjc at jclark)
15696         * macros/tmac.an (IP): Quote argument to TP.
15698         * ps/ps.c (main): New option -b, which sets...
15699         (broken_flags): New variable.
15700         (ps_printer::~ps_printer): Incorporate the setup section in the
15701         prolog if (broken_flags & NO_SETUP_SECTION).
15702         (ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
15703         (ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
15704         ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
15705         ps_printer::print_needed_font_comment,
15706         ps_printer::print_supplied_font_comment,
15707         ps_printer::print_include_font_comments,
15708         ps_printer::lookup_doc_font, ps_printer::download_fonts,
15709         ps_printer::read_download_file, read_document_fonts, add_font,
15710         skip_line, parse_fonts_arg, document_font::document_font,
15711         document_font::~document_font, document_font::download,
15712         ps_output::include_file):  Deleted.
15713         (ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
15714         rather than %!PS-Adobe-2.0.  Make calls to
15715         resource_manager::need_font for each font that we used. Replace
15716         calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
15717         print_supplied_font_comment, print_needed_font_comment by call to
15718         resource_manager::print_header_comments. Output %%Orientation
15719         comment. Output %%Requirements: numcopies comment if ncopies > 1.
15720         Don't output the prolog directly.  Instead call
15721         resource_manager::output_prolog.  Only define #copies when ncopies
15722         > 1.  Delete calls to print_include_font_comments  and
15723         download_fonts.  Add call to resource_manager::document_setup.
15724         (ps_printer::do_file): Call resource_manager::import_file instead
15725         of including it ourselves.
15726         (ps_printer::do_import): Likewise.  Also don't call
15727         merge_import_fonts. Push userdict on the dictionary stack before
15728         and pop it afterwards.
15729         Move declaration of ps_output into ps.h.
15730         * ps/psrm.c: New file implementing resource_manager class.
15731         * ps/ps.h: New file declaring ps_output and resource_manager
15732         classes.
15733         * ps/devps/zapfdr.ps:
15734         * ps/devps/symbolsl.ps:
15735         * ps/devps/prologue:  Use 3.0 conventions.
15736         * ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
15737         Add default definition of BROKEN_SPOOLER_FLAGS.
15738         * Makefile: New variable BROKEN_SPOOLER_FLAGS.  Add
15739         BROKEN_SPOOLER_FLAGS to SUBFLAGS.
15741 Mon Apr  8 09:26:54 1991  James Clark  (jjc at jclark)
15743         * etc/grog.pl: New file.
15744         * Makefile (GROG): New variable.
15745         Add GROG to SUBFLAGS.
15746         * etc/Makefile (GROG): New variable.
15747         (install.nobin): Install $(GROG) rather than grog.sh.
15749 Thu Apr  4 11:36:45 1991  James Clark  (jjc at jclark)
15751         * eqn/special.c (special_box::compute_metrics): Make the input and
15752         output strings the same.  Get the new height and depth from the
15753         predefined height and depth registers.  Also make subscript kern
15754         and skew available.
15755         (special_box::compute_subscript_kern, special_box::compute_skew):
15756         New functions.
15758         * eqn/box.c (pointer_box::compute_skew,
15759         simple_box::compute_metrics, box::top_level)
15760         * eqn/text.c (prime_box::compute_metrics,
15761         prime_box::comput_subscript_kern)
15762         * eqn/limit.c (limit_box::compute_metrics):
15763         * eqn/delim.c (build_extensible, delim_box::compute_metrics):
15764         * eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
15765         negative numbers in `nr' requests with a leading 0.
15767 Wed Apr  3 15:58:23 1991  James Clark  (jjc at jclark)
15769         * eqn/special.c: New file.
15770         * eqn/eqn.y: Declare token SPECIAL.  Make it right associative.
15771         Add new rule for simple.
15772         * eqn/lex.c (token_table): Add SPECIAL.
15773         * eqn/box.h: Declare make_special_box.
15774         * eqn/Makefile: Add special.[co].
15776 Sat Mar 30 10:57:53 1991  James Clark  (jjc at jclark)
15778         * ps/devps/prologue: Possibly set packing to true while defining.
15779         Create grops dictionary here.  Initialize local variables before
15780         defining procedures.
15781         (PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
15782         the dictionary stack. Set strokeadjust and overprint to false if
15783         the relevant operators are defined.
15784         (PEND): New procedure.
15785         * ps/ps.c (ps_printer::~ps_printer): In the prolog just include
15786         prologue.  Do everything else in the setup section.
15787         (ps_printer::do_import): Just call PBEGIN and PEND around the
15788         picture. Also push userdict before, and pop it afterwards.
15790 Wed Mar 27 07:59:50 1991  James Clark  (jjc at jclark)
15792         * troff/node.c (bracket_node::tprint): Brackets were being printed
15793         1m too low.
15795         * macros/tmac.an (SH, SS): Set fill mode.
15797 Tue Mar 26 07:46:31 1991  James Clark  (jjc at jclark)
15799         * troff/div.c (top_level_diversion::begin_page): Set
15800         high_water_mark to 0.
15802 Fri Mar 22 09:19:46 1991  James Clark  (jjc at jclark)
15804         * man/mdate.sh: New file.
15805         * man/mdate.c: Deleted.
15806         * man/Makefile: Use mdate.sh instead of mdate.
15807         (mdate): Deleted.
15809         * eqn/lex.c (do_gsize): Supply missing argument to error message.
15811 Tue Mar 19 11:06:50 1991  James Clark  (jjc at jclark)
15813         * man/mdate.c: New file.
15814         * man/*.man: Replace modification date by @MDATE@.
15815         * man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
15816         (mdate): New target.
15818         * lib/font.c (text_file::next): Deal with arbitrarily long lines.
15819         Remove illegal input characters.
15821 Mon Mar 18 08:32:25 1991  James Clark  (jjc at jclark)
15823         * macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.
15825 Sat Mar 16 03:52:25 1991  James Clark  (jjc at jclark)
15827         * troff/div.c (begin_page): Change behaviour when
15828         !first_page_begun and !break_flag.
15830         * troff/input.c (do_name_test): Return 0 if argument is empty.
15832         * troff/input.c (read_long_escape_name): Require closing ] to be
15833         at same input level as opening [.
15835         * troff/input.c (read_increment_and_escape_name): New function.
15836         (get_copy, process_input_stack): Use this for \n.
15838 Fri Mar 15 00:31:48 1991  James Clark  (jjc at jclark)
15840         * troff/div.c (top_level_diversion::begin_page): Ignore the
15841         current value of page_number if !first_page_begun.
15843         * groff.c (main): Fix declaration of buf.
15845         * troff/input.c (do_name_test): New function.
15846         (token::next): Implement \A.
15847         (token::next): Implement \e by turning it into a TOKEN_ESCAPE.
15848         (token::description, token::add_to_node_list, token::process):
15849         Handle TOKEN_ESCAPE.
15850         * troff/token.h: New token TOKEN_ESCAPE.
15852 Thu Mar 14 10:22:26 1991  James Clark  (jjc at jclark)
15854         * pic/main.c (do_picture): Allow space before and after filename
15855         following `<'.  Check that the filename is not empty.
15857 Wed Mar 13 12:49:40 1991  James Clark  (jjc at jclark)
15859         * Version 1.01 released. 
15861         * dvi/devdvi/CompileFonts: Add cm*ss10 fonts.
15863         * dvi/tmac.dvi: ftr HR to H.
15865         * macros/tmac.e: Round up computation of $r.
15867         * xditview/tmac.X:  Don't give up completely in compatibility mode.
15868         Use \n(.s instead of \n[.s].
15870         * dvi/tmac.dvi: Don't give up completely in compatibility mode.
15871         Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
15872         Add u to factors inside \s[...]. Rename frac to dvi-frac.
15873         Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
15874         short names in the char definitions.
15876         * ps/tmac.ps: Don't give up completely in compatibility mode.
15877         Fix the fraction definitions to use \n(.s and \(f/. Add an extra
15878         quote in front of \n(.s. Add u to factors inside \s[...].
15880 Mon Mar 11 12:01:20 1991  James Clark  (jjc at jclark)
15882         * tty/tmac.tty: Call the nroff request.
15884         * macros/tmac.e ((x, )x):  Better definitions that work properly
15885         in a diversion.
15886         (@0, @1): Helper macros for (x.
15888         * macros/tmac.e ($s, hl): Use \l rather than \D.
15890         * tty/tmac.tty: Make it work better in compatibility mode.
15891         (pchar): Rename to tty-char.
15893         * macros/tmac.e (@E): New macro.
15894         (r, i, b, rb, bi): Use @E.
15896         * macros/tmac.e (@F): Don't use (;...) syntax.
15898         * macros/tmac.e: Remove mention of \*(||/revisions.  Mention that
15899         it was modified for groff.
15901         * macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.
15903         * macros/tmac.e (<., .>): Removed.
15904         ([., .]): If \n(.V>=1v, use [] instead of superscripting.
15906         * macros/tmac.e: Remove check that groff is being used.
15908         * macros/tmac.e (@C): Change families only if using groff; turn
15909         compatibility mode off while changing familes. Save compatibility
15910         mode before changing families and restore it afterwards.
15912         * macros/tmac.e (@h): Remove test for offset + line length.
15914         * macros/tmac.e (sorry): Rename to @S.  Use \$1 instead of \$0
15915         (lo, th, ac): Define to call @S instead of using als.
15917         * macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
15918         the ratio of the vertical spacing to the point size in units
15919         expressed as a percentage.  Use these instead of $10r and $10R,
15920         Delete $10r and $10R.
15922         * lib/font.c (font::load): In default computation of space_width,
15923         divide by sizescale.  Use scale_round.
15925         * macros/tmac.an (TP): Don't call `nf'.
15926         (an-do-tag): Don't call `fi'.
15928 Sun Mar 10 09:52:35 1991  James Clark  (jjc at jclark)
15930         * troff/input.c (process_input_stack): Handle the case where
15931         spaces at the beginning of an input line are followed by a
15932         newline.
15934 Thu Mar  7 20:18:07 1991  James Clark  (jjc at jclark)
15936         * groff.c (device_table): Add PIC_X_OPTION for dvi device.
15937         * groff.sh: Use pic -x with the dvi device.
15939         * dvi/devdvi/FontMakefile (H): Don't use -s.
15941         * dvi/devdvi/HI, dvi/devdvi/HB: New files.
15942         * dvi/devdvi/Makefile: Add HI and HB to FONTS.
15943         * dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
15944         in FONTS.
15946 Mon Mar  4 13:20:14 1991  James Clark  (jjc at jclark)
15948         * ps/psfig.diff: New file.
15949         * ps/tmac.psfig: New file.
15951 Sat Mar  2 00:15:09 1991  James Clark  (jjc at jclark)
15953         * macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
15954         (]-): Don't call ref*do-tl.
15956         * macros/tmac.s (ref*end-print): Use XP if [F not defined.
15958         * macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
15959         (fn@do-FS): Rename to fn*do-FS.
15961         * troff/input.c (transparent_translate): New function.
15962         (process_input_stack): Apply transparent_translate before calling
15963         diversion::transparent_output(unsigned char).
15965 Wed Feb 27 00:13:25 1991  James Clark  (jjc at jclark)
15967         * troff/input.c (do_define_macro): Define the macro before calling
15968         skip_line.
15970         * xditview/Makefile: Add DEVICES variable.  Change install target
15971         to use this.
15973 Tue Feb 26 10:46:22 1991  James Clark  (jjc at jclark)
15975         * groff.c (run_commands): Handle the possibility that there are
15976         child processes other than those forked by us.
15978 Sun Feb 24 21:32:30 1991  James Clark  (jjc at jclark)
15980         * lib/string.c (string::append): New function.
15981         * lib/stringclass.h: Declare it.
15983 Thu Feb 21 11:49:26 1991  James Clark  (jjc at jclark)
15985         * eqn/main.c (main): New option -N which sets
15986         no_newline_in_delim_flag. 
15987         (do_file): If no_newline_in_delim_flag is set don't allow newlines
15988         in delimiters.
15989         * groff.c (main): Pass -N on to eqn.
15990         (help, synopsis): Mention -N.
15991         * groff.sh: Implement -N.
15993 Wed Feb 20 15:16:10 1991  James Clark  (jjc at jclark)
15995         * macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
15996         (]-): Call ref*do-tl if ref*need-tl is non-zero.
15997         (XP): Allow as initializer.
15999 Tue Feb 19 14:09:06 1991  James Clark  (jjc at jclark)
16001         * troff/env.c (environment::wrap_up_field): If field_spaces are
16002         non-zero and we have a current_tab, subtract padding from
16003         tab_distance.  If this makes tab_distance <= 0, use the next tab
16004         stop instead.  If there isn't any next tab or it's a left tab,
16005         wrap up the current tab.
16006         (environment::start_field): Initialize tab_precedes_field.
16007         (environment::wrap_up_tab): If there's a current field, update
16008         pre_field_width, field_distance and tab_precedes_field.
16009         * troff/env.h (environment::tab_precedes_field): New member.
16011 Fri Feb 15 01:24:00 1991  James Clark  (jjc at jclark)
16013         * ps/ps.c (ps_printer::do_file): New function.
16014         (ps_printer::special): Bind to `file' special.
16015         (ps_printer::do_exec): Set ndefined_styles to 0.
16017 Sat Feb  9 03:03:04 1991  James Clark  (jjc at jclark)
16019         * eqn/text.c (split_text): Grok \* and similar escapes sequences.
16020         Avoid stripping first character from the start of unrecognized
16021         escapes.  Use lex_error instead of error to report errors.
16022         * eqn/lex.c (get_token): Rework handling of escapes.
16023         (lex_error): Move declaration into...
16024         * eqn/eqn.h.
16026         * xditview/xditview.c (main): Make -page option work.
16028         * Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.
16030 Wed Feb  6 12:28:43 1991  James Clark  (jjc at jclark)
16032         * macros/tmac.s (B2): Correct size of box.
16034 Tue Feb  5 00:37:35 1991  James Clark  (jjc at jclark)
16036         * macros/tmac.s (B2): Postpone drawing the box until in the
16037         top-level diversion.
16039         * tty/tmac.tty: Add font translations for C, CR, CW.
16041         * groff.c (synopsis, help): Document -i.
16042         * groff.sh: Implement -i.
16044         * macros/tmac.s (@NH): Put a `.' after multi-part numbers.
16045         Simplify the construction of SN.
16047         * troff/number.c (parse_term): Give `|' a higher precedence.
16048         * tbl/table.c (numeric_text_entry::simple_print): Parenthesise
16049         accordingly.
16051         * macros/tmac.s (B2): Use par@finish instead of par@reset.
16053 Mon Feb  4 12:36:09 1991  James Clark  (jjc at jclark)
16055         * lib/string.c (string::move): New function.
16056         * lib/stringclass.h: Declare it.
16058 Sat Feb  2 16:02:16 1991  James Clark  (jjc at jclark)
16060         * troff/env.c (distribute_space): Add optional argument
16061         `force_forward'.
16062         (environment::wrap_up_field): Call distribute_space with
16063         `force_forward' argument of 1.
16065 Fri Feb  1 19:36:33 1991  James Clark  (jjc at jclark)
16067         * lib/string.c, lib/stringclass.h (string::operator+=(char)):
16068         Inline it.  Move reallocation into...
16069         (string::grow1): New function.
16070         * pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
16071         dependencies to include library header files.
16072         * lib/Makefile: Make string.c and lf.c depend on stringclass.h.
16074 Thu Jan 31 15:02:27 1991  James Clark  (jjc at jclark)
16076         * macros/tmac.s (@NH): Use the same number registers than -ms does
16077         for the heading level counters.  Use the same string that -ms does
16078         for the number for this heading.
16080 Wed Jan 30 14:25:40 1991  James Clark  (jjc at jclark)
16082         * lib/new.c (operator new): Cast result of malloc to char *.
16084         * troff/input.c (spring_trap, lookup_request): Add assert that nm
16085         is not null.
16087 Tue Jan 29 18:08:05 1991  James Clark  (jjc at jclark)
16089         * groff.c (main): Support -i.
16091 Sun Jan 27 13:23:17 1991  James Clark  (jjc at jclark)
16093         * pic/pic.h: Include <osfcn.h>.
16095         * ps/ps.c: Add declaration of mktemp.
16097         * Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
16098         * groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
16099         argument as union wait *.
16100         (run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
16101         argument to union wait *.
16103 Sat Jan 26 12:04:52 1991  James Clark  (jjc at jclark)
16105         * tty/tmac.tty: Add definition of \(co.
16107         * pic/object.c (make_arc): Only increase radius when radius
16108         strictly less than d.
16109         (arc_object::update_bounding_box): May need to add 4.0 to end_quad
16110         more than once.
16112         * troff/env.c (environment::environment(symbol),
16113         environment::environment(const environment *)):  Initialize
16114         input_trap_count.
16116 Sat Jan 19 08:18:35 1991  James Clark  (jjc at jclark)
16118         * tbl/main.c (main): Add exit(0).
16120         * ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.
16122         * pic/main.c (main):
16123         * eqn/main.c (main):
16124         * tbl/main.c (main):
16125         * etc/soelim.c (main):
16126         * driver/printer.c (printer::~printer):
16127         * troff/node.c (real_output_file::~real_output_file,
16128         real_output_file::flush):  Check for errors on stdout.
16130         * most files: Add 1991 to copyright notice.
16132         * macros/tmac.s: Don't test \n(.x and \n(.y.
16134         * troff/input.c (token::next): Rename `escape_char' label to
16135         `handle_escape_char' and `normal_char' label to
16136         `handle_normal_char'.
16138 Thu Jan 17 15:46:35 1991  James Clark  (jjc at jclark)
16140         * groff.c (main, synopsis, help): Support -a option.
16141         * groff.sh: Likewise.  Also eliminate Zflag variable by adding -z
16142         to trflags while parsing options.
16144 Tue Jan 15 13:07:27 1991  James Clark  (jjc at jclark)
16146         * troff/number.c (parse_term): With `m', `M' and `n' scale
16147         indicators, convert scale factor to hunits before scaling.
16149 Mon Jan 14 12:39:12 1991  James Clark  (jjc at jclark)
16151         * lib/font.c (scale_round): Better test for overflow when n is
16152         negative.
16154 Thu Jan 10 11:10:56 1991  James Clark  (jjc at jclark)
16156         * tbl/main.c (process_format): Add second argument of type
16157         options*. Change callers.  Allow opt->tab_char as well as '\t'
16158         between format items.
16160 Mon Jan  7 12:30:18 1991  James Clark  (jjc at jclark)
16162         * macros/tmac.an (PD): With no arguments, make sure register PD is
16163         at least \n[.V].
16164         (TH): Call PD with no argument, instead of setting register PD
16165         directly.
16167 Sun Jan  6 11:18:39 1991  James Clark  (jjc at jclark)
16169         * Version 1.00 released.
16171 Sat Jan  5 08:44:30 1991  James Clark  (jjc at jclark)
16173         * ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.
16175         * dvi/devdvi/DESC: Mount CW instead of CR.
16177         * dvi/tmac.dvi: Add definition of \(tm.
16179         * dvi/devdvi/texsy.map: Add lh, and rh.
16180         * dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
16181         * dvi/devdvi/texmi.map: Add *o. Regenerate fonts.
16183         * dvi/devdvi/FontMakefile: Generate H from cmss10.
16184         * dvi/devdvi/Makefile: Install H.
16185         * dvi/devdvi/H: New file.
16187 Fri Jan  4 15:04:57 1991  James Clark  (jjc at jclark)
16189         * troff/env.c (vertical_spacing): Don't allow vertical spacing to
16190         be 0.
16192 Thu Jan  3 13:41:19 1991  James Clark  (jjc at jclark)
16194         * macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.
16196         * macros/tmac.pic (PS): Avoid attempting to set negative indent.
16198         * macros/tmac.s (@EN): Handle the case where the equation is empty
16199         but the label is not.
16201 Wed Jan  2 10:31:44 1991  James Clark  (jjc at jclark)
16203         * troff/groff.h: New warning category WARN_SPACE.
16204         * troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
16205         WARN_SPACE to warning_table.
16206         (interpolate_macro): Give a warning of type WARN_SPACE if the name
16207         is longer than two characters and is not defined, but the first
16208         two characters do make a defined name.
16210         * PROBLEMS: New file.
16212         * CHANGES: New file.
16213         * README-0.6, README-1.00: Deleted.
16215         * groff.c, groff.sh: Add X75-12 and X100-12 devices.
16216         * xditview/devX75/Makefile: Make devX75-12.
16217         * xditview/devX100/Makefile: Make devX100-12.
16219         * xditview/devX100/eqnchar, xditview/devX75/eqnchar,
16220         dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.
16222 Tue Jan  1 19:24:01 1991  James Clark  (jjc at jclark)
16224         * README-0.7: Rename to README-1.00.
16226         * macros/tmac.pic: New file.
16227         * macros/Makefile (install.nobin): Install tmac.pic.
16229 Mon Dec 31 10:40:53 1990  James Clark  (jjc at jclark)
16231         * troff/env.c (hyphen_word): Correct the test for whether the
16232         token is a hyphen.  Reset npos to 0.
16234         * macros/tmac.s (par@sup-start, par@sup-end): New implementations.
16236 Sun Dec 30 15:53:13 1990  James Clark  (jjc at jclark)
16238         * macros/tmac.s (ds*common-end): Call par*reset.
16239         (PE): Likewise.
16240         (par@reset-indent): Deleted.
16242         * macros/tmac.s (@IP): Divert the label.
16244 Sat Dec 29 14:33:32 1990  James Clark  (jjc at jclark)
16246         * xditview/draw.c (setGC): Use a line width of .1m rather than
16247         .04m by default; round rather than truncate value.
16249         * tbl/table.c (class empty_entry): New class.
16250         (empty_entry::empty_entry, empty_entry::line_type): New functions.
16251         (table::add_entry): Represent empty entries by objects of type
16252         empty_entry.
16253         (table_entry::line_type): Return -1.
16254         (table::determine_row_type): Ignore entries with line_type 0.
16255         Treat type -1 as non-lines.
16257 Fri Dec 28 15:04:41 1990  James Clark  (jjc at jclark)
16259         * ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
16260         macros/tmac.s: Rename \(-d to \(Sd.
16262 Thu Dec 27 12:35:47 1990  James Clark  (jjc at jclark)
16264         * ps/devps/textmap: Add `sd', `/_' and `3d' characters.
16265         * xditview/libXdvi/DviChar.c: Likewise.
16266         * dvi/devdvi/texsy.map: Add `<<', `>>'.
16268 Wed Dec 26 13:33:23 1990  James Clark  (jjc at jclark)
16270         * troff/div.c (top_level_diversion::begin_page): Call
16271         init_output() if the_output is 0.
16273 Sat Dec 22 12:35:29 1990  James Clark  (jjc at jclark)
16275         * troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
16276         ESCAPE_c.
16277         (get_copy): Turn \E into ESCAPE_E.
16278         (token::process, asciify): Handle ESCAPE_E.
16280         * macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
16281         (RD): New macro.
16282         (DS): Implement `.DS R'.
16284 Fri Dec 21 11:41:53 1990  James Clark  (jjc at jclark)
16286         * macros/tmac.s (FS): New macro.
16288         * macros/tmac.s (fn@do-FS): Use @LP instead of LP.
16290         * macros/tmac.s (cov*tl-init): Remove after first execution
16291         instead of aliasing to @nop.  Call top of page macro explicitly
16292         instead of setting trap; call @init first.  Set pg@top as top of
16293         page macro.
16294         (cov*auto-init): Deleted.  Set cov*tl-init instead of
16295         cov*auto-init as top of page trap. 
16296         (TL, LP): Do a break instead of calling cov*tl-init.
16297         (cov*print): With RP format but no TL, alias FS and FE to @FS and
16298         @FE; in this case also give a warning and always start another
16299         page. No need to set pg@top here.
16300         (cov*tl-init): Rename to cov*first-page-init.
16302         * macros/tmac.s (RP): Do `.pn 0'.
16303         (cov*tl-init): With RP format don't do `.pn 0'.
16305         * macros/tmac.s (pg@cs-top): Set no space mode.
16307         * macros/tmac.s (par@TL, par@AU, par@AI): New macros.
16308         (cov*ab-init): Alias TL, AU and AI to these.
16310 Thu Dec 20 10:10:50 1990  James Clark  (jjc at jclark)
16312         * macros/tmac.s (@EQ): Move the space before the equation into @EN
16313         (@EN): Do nothing unless \n[dl] is > 0.
16315 Tue Dec 18 12:20:47 1990  James Clark  (jjc at jclark)
16317         * pic/object.c (ellipse_object::radius): New function.
16319         * VERSION: Change version to 0.7.
16321         * tbl/table.c (block_entry::do_divert): Declare return type as
16322         void.
16323         (block_entry::divert, alphabetic_block_entry::divert): Return 1.
16325 Mon Dec 17 12:30:34 1990  James Clark  (jjc at jclark)
16327         * troff/column.c: New file.
16328         * troff/Makefile: Corresponding changes.
16330         * troff/hvunits.c (scale(vunits, vunits, vunits)):  New function.
16331         Friend of vunits.
16333         * troff/div.c (top_level_diversion::space): If the space causes
16334         the first-page transition and springs a trap, truncate the space
16335         to 0.
16337 Fri Dec 14 12:30:02 1990  James Clark  (jjc at jclark)
16339         * ps/ps.c (ps_printer::do_import): Add a `clear' after including
16340         the document.
16342         * pic/troff.c (troff_output::line_thickness,
16343         troff_output::set_fill): Do a horizontal motion to compensate for
16344         the width of the \D escape sequence.
16346 Thu Dec 13 10:17:14 1990  James Clark  (jjc at jclark)
16348         * xditview/tmac.X: Reinstate definition of \(rn, but only for X100
16349         (not X75).
16351         * eqn/sqrt.c (sqrt_box::compute_metrics):  Supply missing argument
16352         to printf.
16354         * tbl/table.c (simple_entry::simply_print): Don't declare as pure.
16355         Supply empty definition.
16356         (text_entry::simple_print, simple_text_entry::simple_print):
16357         Delete declarations.
16358         (table::add_entry): Represent empty entries by objects of type
16359         `simple_entry'.
16361 Wed Dec 12 08:50:48 1990  James Clark  (jjc at jclark)
16363         * troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.
16365         * tbl/table.c (left_text_entry::add_tab): New function.
16367         * macros/tmac.s: Make @RT an alias for par@reset.  Make RT
16368         initialize like LP.
16370 Mon Dec 10 11:19:55 1990  James Clark  (jjc at jclark)
16372         * troff/env.c (environment::start_field): Give an error message if
16373         there is no next tab.
16375 Sun Dec  9 11:46:40 1990  James Clark  (jjc at jclark)
16377         * troff/env.c (hyphenate): Skip initial elements with zero
16378         hyphenation code.
16380         * macros/tmac.s (par@init): Keep VS in points rather than units.
16382 Sat Dec  8 23:00:27 1990  James Clark  (jjc at jclark)
16384         * pic/main.c (main): Implement `-c' option.
16385         * pic/output.h: Declare make_tpic_output().
16386         * pic/tex.c (tex_output::set_pen_size): Make it virtual and
16387         protected.
16388         (tpic_output): New class.
16389         (tpic_output::tpic_output, tpic_output::set_pen_size,
16390         tpic_output::command, make_tpic_output): New functions.
16392 Fri Dec  7 11:57:41 1990  James Clark  (jjc at jclark)
16394         * tbl/main.c (main): Call `.ab' if \n(.g is false.  Define TS/TE
16395         if they're not already defined.
16396         * tbl/table.c (init_output): Don't test \n(.g.
16398         * troff/input.c (do_if_request): Delete `g' condition. Recognize
16399         `d', `r' and `c' conditions even in compatibility mode.
16401 Tue Dec  4 09:13:47 1990  James Clark  (jjc at jclark)
16403         * ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
16404         box.
16406 Mon Dec  3 07:18:26 1990  James Clark  (jjc at jclark)
16408         * troff/env.h (environment::prev_line_interrupted): New member.
16409         (environment::get_prev_line_interrupted): New function.
16410         * troff/env.c (environment::newline): Set prev_line_interrupted.
16411         (environment::environment(const environment *),
16412         environment::environment(symbol)): Initialize
16413         prev_line_interrupted.
16414         * troff/input.c (process_input_stack): Don't give special
16415         treatment to space and newline at the beginning of the line if the
16416         previous line was interrupted.
16418 Sat Dec  1 15:48:37 1990  James Clark  (jjc at jclark)
16420         * eqn/eqn.y: Disallow PRIME by itself.
16421         * eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
16422         PRIME.
16423         (def_table): Remove definition of '.  Define prime to be `.
16425         * eqn/eqn.y: Split off part of rule `script' into a new rule
16426         `nonsup'.
16428 Fri Nov 30 10:23:44 1990  James Clark  (jjc at jclark)
16430         * macros/tmac.s ({, }): New string aliases.
16432 Thu Nov 29 11:34:40 1990  James Clark  (jjc at jclark)
16434         * README-0.7: New file.
16436 Wed Nov 28 10:09:57 1990  James Clark  (jjc at jclark)
16438         * macros/tmac.s: New file.
16439         * man/groff_ms.man: New file.
16440         * Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
16441         * Makefile.bd: Similarily.
16442         * man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
16443         definition of TMAC_S.
16444         * macros/Makefile: Add definition of TMAC_S. Install tmac.s.
16445         * macros/TODO: New file.
16447 Sat Nov 24 20:04:54 1990  James Clark  (jjc at jclark)
16449         * troff/env.c (right_justify): New function.
16450         (init_env_requests): Bind this to request "rj".
16451         (center_lines): Set right_justify_lines to 0. If we get a bad
16452         integer, center 1 line.
16453         (environment::environment(symbol), environment::environment(const
16454         environment *)): Initialize right_justify_lines.
16455         (environment::get_right_justify_lines): New function.
16456         (init_env_requests): Bind this to number_register ".rj".
16458         * troff/env.c (environment::choose_breakpoint): Implement
16459         hyphenation_margin and hyphenation_space.
16460         (environment::get_hyphenation_space,
16461         environment::get_hyphenation_margin): New functions.
16462         (init_env_requests): Bind these to .hys and .hym.
16463         (hyphenation_space_request, hyphenation_margin_request): New
16464         functions
16465         (init_env_requests): Bind these to hys and hym.
16466         (environment::environment(symbol), environment::environment(const
16467         environment *)): Initialize hyphenation_margin and
16468         hyphenation_space.
16469         * troff/env.h: Corresponding changes to class environment.
16471 Fri Nov 23 09:08:16 1990  James Clark  (jjc at jclark)
16473         * troff/div.c (blank_line): Always do a break.
16475         * eqn/box.c (do_text): Turn off escapes while appending text to
16476         string.
16478 Thu Nov 22 10:58:59 1990  James Clark  (jjc at jclark)
16480         * troff/input.c (while_break_request, while_continue_request): New
16481         functions.
16482         (init_input_requests): Bind these to "break" and "continue".
16483         (while_depth, while_break_flag): New variables.
16484         (while_request): Update while_depth.  Break out of loop if
16485         while_break_flag is set.
16487 Wed Nov 21 10:54:40 1990  James Clark  (jjc at jclark)
16489         * tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
16490         rather than 0.
16492 Mon Nov 19 00:45:03 1990  James Clark  (jjc at jclark)
16494         * Makefile: Include -DBROKEN_SPOOLER by default.  Expand comment.
16496         * stringify: New file.
16497         * Makefile (groff.o): Use stringify.
16499         * xditview/tmac.X: Remove definition of \(rn.
16500         * xditview/libXdvi/DviChar.c: Remove radicalex from
16501         Adobe_symbol_map.
16503 Sat Nov 17 10:44:58 1990  James Clark  (jjc at jclark)
16505         * tbl/table.c (table::add_entry): Allow alphabetic text blocks.
16506         (alphabetic_block_entry::alphabetic_block_entry,
16507         alphabetic_block_entry::divert, alphabetic_block_entry::print):
16508         New functions.
16509         (block_entry::divert): Split off body into ...
16510         (block_entry::do_divert): If the block is alphabetic, subtract 2n
16511         from the line length; also update the span width to dl+2n, and the
16512         alphabetic span width to dl.
16514         * driver/input.c (do_file):  While reading argument to D command,
16515         when expanding buffer, multiply szp by sizeof(int) rather than 2
16516         in the argument to memcpy.
16518         * tbl/table.c (compute_span_width): Add 2n rather than 1n to the
16519         width of alphabetic columns.
16521 Fri Nov 16 06:34:27 1990  James Clark  (jjc at jclark)
16523         * troff/node.c (lookup_family): Supply second argument to lookup.
16525         * troff/dictionary.c (dictionary::lookup): After an unsuccesful
16526         search, return immediately if v is 0.
16528         * pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
16529         (troff_output::start_picture): Set this reg.
16530         (troff_output::end_picture): Remove this reg
16531         * eqn/box.c (box::extra_space): Don't produce `\x's if
16532         EQN_NO_EXTRA_SPACE_REG is defined.
16534         * eqn/eqn.y: Allow just a PRIME to be a `simple'.
16535         * eqn/text.c (split_text): Map ' to \(fm when it's the first
16536         character.
16538 Thu Nov 15 10:35:06 1990  James Clark  (jjc at jclark)
16540         * macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
16541         requests.
16543         * troff/div.c (top_level_diversion::top_level_diversion):
16544         Initialize page_number to 0.
16546 Wed Nov 14 21:41:58 1990  James Clark  (jjc at jclark)
16548         * groff/troff (environment::environment(const environment *)):
16549         Initialize name to e->name, rather than "anonymous".
16551 Sat Nov 10 01:59:37 1990  James Clark  (jjc at jclark)
16553         * xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
16554         requested_page.  Split middle part into ...
16555         (FindPage): New function.
16556         (SetValues): If we don't yet know the last page, and the requested
16557         page is greater than the current page, call FindPage.
16558         Update the font_map_string before doing this.
16560         * xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
16561         Translate \(lh and \(rh into left and right double arrows.
16563         * troff/node.c (class hyphen_inhibitor_node): New class.
16564         (hyphen_inhibitor_node::hyphen_inhibitor_node,
16565         hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
16566         hyphen_inhibitor_node::type,
16567         hyphen_inhibitor_node::get_hyphenation_type): New functions.
16568         (node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
16569         than dbreak_node(0, 0) to represent a `\%' at the beginning of a
16570         word.
16572 Fri Nov  9 16:05:38 1990  James Clark  (jjc at jclark)
16574         * troff/node.h (dummy_node::get_hyphenation_type,
16575         transparent_dummy_node::get_hyphenation_type):  Declare them.
16576         * troff/node.c: (dummy_node::get_hyphenation_type,
16577         transparent_dummy_node::get_hyphenation_type): New functions.
16579 Wed Nov  7 10:09:06 1990  James Clark  (jjc at jclark)
16581         * xditview/libXdvi/draw.c: If M_PI not defined after including
16582         math.h, then define it.
16584         * xditview/Makefile: Add definition of AR. Pass it to the submake
16585         in libXdvi.
16586         * xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.
16588 Tue Nov  6 10:14:27 1990  James Clark  (jjc at jclark)
16590         * troff/dictionary.h (object_dictionary::alias): Declare return
16591         value as int.
16592         * troff/dictionary.c (object_dictionary::alias): Return non-zero
16593         if the old name was defined.
16594         * troff/input.c (alias_macro): Give a warning if the old name was
16595         not defined.
16596         * troff/reg.c (alias_reg): Likewise.
16598 Mon Nov  5 00:31:39 1990  James Clark  (jjc at jclark)
16600         * troff/input.c (token::next): Delete implementation of \R.
16602         * macros/Makefile: Strip comments from tmac.e while installing it.
16604         * troff/input.c: New variable `nroff_mode'.
16605         (troff_request, nroff_request): New functions.
16606         (init_input_requests): Bind `troff' and `nroff' to troff_request
16607         and nroff_request.
16608         (do_if_request): Compute results of t and n conditions from
16609         nroff_mode.
16611         * text/text.c (split_text): Fix typo in >=.
16613         * eqn/lex.c: Add definition of `==' to def_table.
16615 Fri Nov  2 02:49:09 1990  James Clark  (jjc at jclark)
16617         * pic/tex.c (tex_output::start_picture): Change the definitions of
16618         \graph and \graphtemp so that they work properly with Plain TeX.
16620         * pic/tex.c (tex_output::solid_arc): Ensure that the second angle
16621         argument to `ar' is not less than the first.
16623         * pic/pic.y: Allow a comma between elements of the variable list
16624         in the argument to `reset'.
16626         * pic/object.c (arc_object::arc_object): Fix computation of
16627         radius.
16629         * eqn/main.c (main): Add exit(0).
16631 Thu Nov  1 02:03:50 1990  James Clark  (jjc at jclark)
16633         * troff/div.c (begin_page): Test no_space_mode after doing the
16634         break, but still push the page ejector cookie before doing the
16635         break.  Also set the next page number after doing the break.
16636         
16637         * xditview/xditview.c (NewFile): Don't set the title and icon name
16638         if this is the first file and its name is `-'.
16639         * groff/groff.c: Define a new device flag XT_OPTION.  Set it for
16640         the X75 and X100 devices.
16641         (main): If a device has the XT_OPTION flag set and there's exactly
16642         one file argument, pass the driver -xrm and -title options to set
16643         the icon name and window title to the name of the file.
16645         * troff/env.c (environment_switch): If there was an argument but
16646         it wasn't a valid number or name, then pop an environment but
16647         don't give an error message on underflow.
16649         * troff/number.c (start_number): Correct spelling in error message.
16651         * troff/input.c (token::delimiter): Don't print an error message
16652         if err is false.
16654         * xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
16655         ParseDrawFunction if dw->display_enable is true.
16657 Wed Oct 31 05:49:50 1990  James Clark  (jjc at jclark)
16659         * pic/pic.y: Parse text positioning like normal attributes, so as
16660         to allow `"text" at 0,0 ljust'.  Don't allow `center' as a
16661         positioning attribute.
16663 Mon Oct 29 22:50:38 1990  James Clark  (jjc at jclark)
16665         * tbl/main.c (process_data): When in state START while reading a
16666         text block, don't change to state MIDDLE if c is a newline.
16668 Sun Oct 28 21:59:56 1990  James Clark  (jjc at jclark)
16670         * dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
16671         so as to avoid shadowing parameter.
16673 Wed Oct 24 18:35:39 1990  James Clark  (jjc at jclark)
16675         * tbl/table.c (trim_space): Deleted.
16676         (table::add_entry): Don't call trim_space.
16678 Mon Oct 22 03:48:39 1990  James Clark  (jjc at jclark)
16680         * VERSION: Change version to 0.6.
16682         * troff/number.c (parse_expr): Make == work.
16684 Sat Oct 20 11:28:17 1990  James Clark  (jjc at jclark)
16686         * man/grog.man: New file.
16687         * man/Makefile: Add grog.n to MAN1PAGES.
16688         * etc/grog.sh: New file.
16689         * etc/Makefile: Install grog.sh as grog.
16691 Fri Oct 19 11:17:15 1990  James Clark  (jjc at jclark)
16693         * troff/input.c (token::next): Implement \E.
16695 Thu Oct 18 11:56:24 1990  James Clark  (jjc at jclark)
16697         * xditview/tmac.X: Change font translations to match tmac.ps.
16699         * troff/input.c (non_empty_name_warning): Don't give a warning if
16700         `\{' terminates the name.
16702 Tue Oct 16 10:04:23 1990  James Clark  (jjc at jclark)
16704         * ps/devps/symbol.diff: New file.
16705         * ps/devps/FontMakefile: Mention symbol.diff.
16707 Sun Oct 14 11:46:46 1990  James Clark  (jjc at jclark)
16709         * troff/node.c (font_position): Use get_long_name to read the
16710         external_name.
16712         * troff/env.c (environment_switch): If we get a number that's < 0
16713         or >= NENVIRONMENTS, treat it like a name.
16714         Change NENVIRONMENTS to 10.
16716         * troff/groff.h: Remove definition of FONTS_MAX.
16717         * troff/node.h (class font_family): Make map a pointer instead of
16718         an array. Add a map_size member. Make it a class. Make nm const
16719         and public. Make invalidate_fontno a friend.
16720         * troff/node.c: Define font_table_size. Make font_info a pointer
16721         rather than an array.
16722         (class troff_output_file): Allocate font_position dynamically. Add
16723         nfont_positions member.
16724         (troff_output_file::set_font): Grow font_position if necessary.
16725         (troff_output_file::~troff_output_file): Delete font_position.
16726         (troff_output_file::troff_output_file): Allocate font_position.
16727         (grow_font_table): New function.
16728         (troff_output_file::really_begin_page,
16729         troff_output_file:really_copy_page): Use nfont_positions rather
16730         than FONTS_MAX.
16731         (mount_font_no_translate, mount_style): Call grow_font_table if
16732         necessary.
16733         (font_family::font_family): Allocate map.
16734         (font_family::make_definite): Grow map if necessary. Use
16735         font_table_size instead of FONTS_MAX.
16736         (font_family::~font_family): New function.
16737         (invalidate_fontno): Use font_family::map_size.
16738         (get_fontno, env_space_width, env_half_narrow_space_width,
16739         env_narrow_space_width, symbol_fotno, is_good_fontno,
16740         get_bold_fontno, make_glyph_node): Use font_table_size rather than
16741         FONTS_MAX.
16742         (next_available_font_position): Never return 0.
16744 Fri Oct 12 10:17:52 1990  James Clark  (jjc at jclark)
16746         * ps/tmac.ps: Add font translations for compatibility with dpost.
16748 Thu Oct 11 12:09:03 1990  James Clark  (jjc at jclark)
16750         * eqn/pile.c: Rename default_baseline_sep to baseline_sep.
16751         Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
16752         Move definitions baseline_sep, shift_down, column_sep,
16753         matrix_side_sep into...
16754         * eqn/box.c: Add them to param_table.
16755         * eqn/pbox.h: Add declarations to pbox.h.
16757         * troff/input.c (set_string): Cast value to unsigned char *.
16759         * troff/token.h (process_input_stack): Declare it static before
16760         declaring it a friend.
16762 Wed Oct 10 09:59:13 1990  James Clark  (jjc at jclark)
16764         * dvi/devdvi/texex.map: Fix positions of extensible brace middle
16765         and bottom.
16766         * dvi/devdvi/EX: Regenerate.
16768         * troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
16769         transparent.
16771 Tue Oct  9 08:34:02 1990  James Clark  (jjc at jclark)
16773         * eqn/lex.c: In defaults_table, make definition of `dot' call
16774         `dot_def'.  Don't explicitly make it roman.  Similarily for other
16775         accents.
16777         * pic/lex.c (for_input::for_input): Add by_is_multiplicative
16778         argument.
16779         (for_input::get, for_input::peek): Use this.
16780         (do_for): Add by_is_multiplicative argument.
16781         * pic/pic.y: Change optional_by clause to allow '*' after `by'.
16782         Change semantic value of optional_by to be a double plus a flag
16783         saying whethet the by clause is multiplicative.
16785         * eqn/lex.c (get_delimited_text): Remember location of start of
16786         definition.  Improve error handling when EOF is encountered.
16788         * lib/font.h: Rename handle_x_command to
16789         handle_unknown_font_command.
16790         * lib/font.c (font::load): Call handle_unknown_font_command for
16791         any unknown command in the font description file.  Don't call
16792         handle_x_command. Include the name of the command in the argv.
16793         Improve message for unknown command after kernpairs or charset
16794         command.
16795         * ps/ps.c (ps_font::handle_x_command): Rename to
16796         handle_unknown_font_command.  Remove message about `x download'
16797         command.  Give error message for wrong number of arguments.
16798         * ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
16799         * dvi/dvi.c (dvi_font::handle_x_command): Rename to
16800         handle_unknown_font_command. Give an error message for wrong
16801         number of arguments.  Rename design_size to designsize.
16802         * dvi/tfmtodit.c (main): Generate `checksum' instead of `x
16803         checksum', `designsize' instead of `design_size'.
16805 Mon Oct  8 00:38:55 1990  James Clark  (jjc at jclark)
16807         * eqn/*.[chy]: Change underaccent to uaccent.
16809         * eqn/eqn.y: Add rule for underaccent.  Declare UNDERACCENT token;
16810         give it the same precedence as ACCENT.
16811         * eqn/other.c (make_underaccent_box): New function.
16812         * eqn/box.h: Declare it.
16813         * eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
16814         def_table.
16816 Sun Oct  7 11:25:16 1990  James Clark  (jjc at jclark)
16818         * pic/pic.y (reset_all): New function. Called in rule for RESET.
16819         (parse_init): Call reset_all.
16820         (define_variable): When defining scale reset only those
16821         pre-defined variables that are scaled.
16822         (defaults_table): Add `scale' as non-scaled value.
16824         * pic/pic.y: Redo parsing of text adjustments: parse adjustments
16825         together with the text; allow any number of positioning words;
16826         allow center as a positioning word.
16828         * pic/object.c (output::compute_scale): Get picture maximum height
16829         and width from variables called maxpswid and maxpsht.
16830         * pic/pic.y: Add maxpswid and maxpsht to defaults_table.
16832 Sat Oct  6 10:16:56 1990  James Clark  (jjc at jclark)
16834         * pic/object.c (object_spec::make_text): Multiply textht by number
16835         of text items.
16837         * pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
16838         occur.
16839         (do_sprintf): New function.
16840         (pic.gperf): Add sprintf token.
16841         (text, sprintf): New rules.
16843         * pic/pic.y: `rand()' with no arguments returns a random number
16844         in the range [0,1).
16846         * pic/pic.y: Allow a bare expression to be an attribute: change
16847         precedences to support this.  Change optional_ordinal rule to
16848         optional_ordinal_last to avoid reduce/reduce conflict.
16849         * pic/object.c (object_spec::object_spec): Initialize direction.
16851         * pic/pic.y: Implement ^ operator meaning exponentiation.
16853         * troff/node.h: Add default argument to mount_font.
16854         * troff/node.c (font_position): Read an optional third argument
16855         giving the external_name.
16856         (mount_font): Add optional argument giving the external_name.
16857         (mount_font_not_translate): Have additional argument giving
16858         external name.  Use this name to load the font.  Pass both names
16859         to font_info::font_info.
16860         (font_info::font_info): Have additional argument giving
16861         external_name.
16862         (class tfont): New member external_name.
16863         (font_info::get_tfont): Use external name to construct tfont_spec.
16865 Fri Oct  5 04:03:13 1990  James Clark  (jjc at jclark)
16867         * eqn/lex.c (init_table): Add argument giving device.  Define
16868         name of device to be "1".
16869         (do_ifdef): Counts as true if the argument has been defined with
16870         `define'.
16871         * eqn/main.c (main): Call init_table with device argument. Make
16872         device local to main.
16873         * eqn/eqn.h: Change declaration of init_table. Remove declaration
16874         of device.
16876         * pic/lex.c (get_delimited): Allow text to be delimited by
16877         matching {}s.  Don't recognize ending delimiter within a string.
16879         * troff/input.c (get_delim_name): New function.
16880         (token::next): Implement \C.
16882         * lib/font.c (font::load): Grok ---.  Add an alias for each
16883         character based on its code.
16884         (font::get_code_width): Deleted.
16885         * lib/font.h (class font): Declare font::number_to_index().
16886         Remove declaration of font::get_code_width.
16887         * lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
16888         to indices of named characters.
16889         (font::number_to_index): New function.
16890         * troff/input.c (font::number_to_index): New function.
16891         (get_charinfo_by_number, charinfo::get_number,
16892         charinfo::set_number): New functions.
16893         (token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
16894         (token::process, token::description, token::get_char,
16895         token::add_to_node_list, token::operator==): Handle
16896         TOKEN_NUMBERED_CHAR.
16897         * troff/charinfo.h: Declare get_charinfo_by_number,
16898         charinfo::get_number, charinfo::set_number.  Add NUMBERED flag to
16899         charinfo class.
16900         (charinfo::numbered): New function.
16901         * troff/token.h: Add TOKEN_NUMBERED_CHAR.
16902         * troff/env.h (class environment): Remove declaration of ...
16903         * troff/env.c (environment::make_numbered_char_node): Deleted.
16904         * troff/node.c (make_numbered_node): Deleted.
16905         (class numbered_glyph_node): Remove.
16906         (troff_output_file::put_char_width, troff_output_file::put_char):
16907         Handle numbered chars.
16908         (troff_output_file::numbered_char): Removed.
16909         (tfont::get_code_width): Removed.
16910         (make_glyph_node): Don't search special fonts for numbered
16911         characters.
16912         * troff/node.h: Remove declaration of make_numbered_node.
16913         * driver/input.c (do_file): Handle N command.
16914         * driver/printer.h: Add declaration of ...
16915         * driver/printer.c (printer::set_numbered_char): New function.
16916         * dvi/tfmtodit.c (main): Generate unnamed entries.
16917         * ps/devps/afmtodit: Likewise.
16918         * xditview/xtotroff.c (MapFont): Likewise.
16919         * xditview/libXdvi/parse.c (ParseInput): Grok N command.
16921         * tbl/main.c (process_format): If multiple widths are specified
16922         for a column but all the widths are the same, don't give an error
16923         message.
16925         * tbl/table.c (table::do_row): If the current row is all lines and
16926         the stuff doesn't contains a line, mark the top of the row after
16927         printing stuff before the row.  If the current row is not all
16928         lines and the stuff doesn't contain a line, don't unnecessarily
16929         mark the top of the row before printing the stuff.
16930         
16931 Mon Oct  1 11:42:00 1990  James Clark  (jjc at jclark)
16933         * troff/groff.h: Remove MAX_PATH.
16934         * troff/input.c (open_file): Dynamically allocate space for the
16935         path.
16936         (open_mac_file, process_macro_file): Corresponding changes.
16938 Sun Sep 23 18:56:26 1990  James Clark  (jjc at jclark)
16940         * troff/node.h (class output_file): Make copy_file pure.  Add
16941         vspace method ifdef COLUMN. Add is_printing method.
16942         * troff/node.c: Add class printing_reg. Add class
16943         real_output_file. Derive other output_file classes from
16944         real_output_file; in these classes rename begin_page to
16945         really_begin_page, print_line to really_print_line, copy_file to
16946         really_copy_file, transparent_char to really_transparent_char.
16947         Move output_file::flush to real_output_file. Add printing member
16948         to class output_file.
16949         * troff/div.h: Remove printing member from top_level_diversion.
16950         Add vspace member function to class diversion ifdef COLUMN. Add
16951         some declarations ifdef COLUMN.
16952         * troff/div.c (top_level_diversion::copy_file,
16953         top_level_diversion::transparent_output,
16954         top_level_diversion::output): Don't test printing member before
16955         output.
16956         * troff/input.c: Handle initial variable_space_request ifdef
16957         COLUMN.
16958         * troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
16959         but comment it out.
16961 Sat Sep 22 11:32:22 1990  James Clark  (jjc at jclark)
16963         * troff/div.c (diversion::need): Make any space forced.  If we
16964         sprung a trap, set truncated_space to minus the distance to the
16965         trap and set needed_space to the amount that was needed.
16966         (top_level_diversion::space): A forced space turns no_space_mode
16967         off.
16968         (class constant_vunits_reg): New class.
16969         (init_div_requests): Implement number registers .trunc and .ne
16970         using constant_vunits_reg.
16971         (class truncated_space_reg): Deleted.   
16973         * troff/div.h: Don't have a no_space_mode member in diversion.
16974         Instead have it in top_level_diversion.
16975         * troff/div.c (diversion::diversion): Don't initialize
16976         no_space_mode.
16977         (top_level_diversion::top_level_diversion): Initialize
16978         no_space_mode.
16979         (no_space, restore_spacing): Do nothing if curdiv != topdiv.
16980         (macro_diversion::output): Don't clear no_space_mode.
16982         * troff/input.c (diverted_space_node::reread): Don't call
16983         environment::do_break.  In fill mode, act like a blank line.
16984         (diverted_copy_file_node::reread): Don't call
16985         environment::do_break.
16987         * troff/div.c (blank_line): New function.
16988         * troff/div.h: Declare it.
16989         * troff/input.c (process_input_stack): Call it.
16991         * troff/div.c (truncated_space_reg::get_string): New function.
16992         (init_div_requests): Bind to .trunc.
16993         (space_request, top_level_diversion::space,
16994         top_level_diversion::output, macro_diversion::space,
16995         macro_diversion::output): Update truncated_space.
16996         (macro_diversion::output): Redo calculations when trap sprung.
16997         (macro_diversion::output, macro_diversion::space): No need for
16998         trap_flag.
17000         * troff/div.c (top_level_diversion::output): Set nl_reg_contents
17001         after truncating post line spacing.
17003 Fri Sep 21 11:27:25 1990  James Clark  (jjc at jclark)
17005         * ps/devps/prologue (MF, SF): Make them work even if setfont is
17006         defined as a procedure rather than as an operator.
17008 Thu Sep 20 12:55:05 1990  James Clark  (jjc at jclark)
17010         * troff/div.c (macro_diversion::space): Ignore no_space_mode.
17012 Wed Sep 19 10:54:37 1990  James Clark  (jjc at jclark)
17014         * troff/div.c (top_level_diversion::output): Merge
17015         output_file::print_line and output_file::end_of_line member
17016         functions.
17017         * troff/div.h (class output_file):
17018         * troff/node.c (troff_output_file::print_line,
17019         troff_output_file::end_of_line, output_file::end_of_line,
17020         ascii_output_file::print_line, suppress_output_file::print_line):
17021         Corresponding changes.  
17023 Tue Sep 18 11:31:47 1990  James Clark  (jjc at jclark)
17025         * troff/input.c (token::next): Don't give a warning for `\.'.
17027         * troff/env.c (environment::get_center_lines): New function.
17028         (init_env_requests): Bind number register .ce to it.
17029         * troff/env.h: Declare it.
17030         * tbl/table.c (table::init_output): Define reset macro to restore
17031         .ce.  If center option not given, store .ce in SAVED_CENTER_REG.
17032         Then do .ce 0.
17033         (table::print): If center option not given, then imply center
17034         option if SAVED_CENTER_REG > 0.
17036 Mon Sep 17 09:19:19 1990  James Clark  (jjc at jclark)
17038         * ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
17039         Troff.ps from DOWNLOAD.
17040         
17041         * troff/Makefile: Change comment in DEFINES to avoid confusing
17042         System V make.
17044         * ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
17045         code.  Don't try to catch errors with stopped.
17046         (check_line_lengths): New function.
17047         * ps/devps/prologue (EXEC): Deleted.
17048         (EBEGIN, EEND): New procedures.
17050 Sun Sep 16 14:51:15 1990  James Clark  (jjc at jclark)
17052         * troff/input.c: Include request.h before node.h.
17053         * troff/node.c: Likewise.
17054         * troff/env.c: Likewise.
17055         * troff/div.c: Likewise.
17056         * troff/node.h (class special_node): Store argument as a macro
17057         rather than a char *.
17058         * troff/node.c (special_node::special_node, special_node::copy):
17059         Grok this.
17060         (special_node::~special_node): Deleted.
17061         (special_node::tprint): Deleted.
17062         (special_node::tprint_start, special_node::tprint_end,
17063         special_node::tprint_char): New functions.
17064         (troff_output_file::special): Deleted.
17065         (troff_output_file::start_special, troff_output_file::end_special,
17066         troff_output_file::special_char): New functions.
17067         * troff/input.c (special_node::tprint): New function.
17068         (do_special): Use macro not char *.
17069         (do_transparent_macro): Deleted.
17070         (token::next): Don't call do_transparent_macro.
17072         * troff/input.c (token::next): Add 'Y' case.
17073         (do_transparent_macro): New function.
17074         * troff/node.c (troff_output_file::special): Handle newlines with
17075         argument using new continuation convention.
17076         * driver/input.c (get_string): Cope with continuation convention.
17077         (do_file): Don't call skip_line after calling get_string(1).
17078         * ps/ps.c (ps_printer::special, ps_printer::do_import,
17079         ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
17080         arg.
17081         * xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
17082         with +.
17084 Sat Sep 15 19:00:10 1990  James Clark  (jjc at jclark)
17086         * troff/input.c (asciify): By default, illegal input characters
17087         should return empty string.
17089         * troff/input.c (copy_file): Handle first page transition like title.
17090         (token::next, process_input_stack): Grok COPY_FILE_REQUEST.
17092         * troff/input.c (token::next): Improve error message for EOF after
17093         escape character.
17094         (input_char_description): New function.
17095         (get_char_for_escape_name): Use input_char_description.
17096         (token::next): Warn about unrecognized escape sequences.
17097         (warning_table): Add WARN_ESCAPE.
17098         * troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
17099         accordingly.
17101         * troff/token.h: Remove declaration of process_input_stack.
17103         * troff/input.c: Remove declaration of init_hyphen_requests.
17104         * troff/request.h: Correct spelling in declaration of same.
17106         * troff/input.c (token::next): Check whether escape_char is 0.
17108 Fri Sep 14 12:09:25 1990  James Clark  (jjc at jclark)
17110         * groff.c (main, usage, help): Implement -P and -L options.
17111         * groff.sh: Likewise.
17113         * troff/input.c (token::next): Use some gotos to avoid code
17114         duplication.
17116         * troff/input.c (get_long_name, get_name, read_long_ecsape_name):
17117         Avoid calling symbol::symbol if name empty.
17119 Thu Sep 13 06:21:45 1990  James Clark  (jjc at jclark)
17121         * troff/input.c (init_input_requests): Make \n(.x return the major
17122         version number and \n(.y return the minor version number.
17123         * troff/Makefile: Construct file majorminor.c defining
17124         major_version and minor_version automatically from ../VERSION.
17126         * troff/node.c (class glyph_node): Make operator new and operator
17127         delete public.
17128         (class ligature_node): Similarily.
17130         * troff/input.c (operator==(const macro &, const macro &)): New
17131         function.
17132         (non_interpreted_node::same): Use this.
17133         (string_iterator::string_iterator): Make macro& argument const.
17135         * troff/input.c (input_iterator::get): New function. Don't make
17136         asciify_macro or class non_interpreted_node friends of class
17137         input_iterator.
17138         (non_interpreted_node::interpret): Use input_iterator::get.
17139         (asciify_macro): Likewise.
17141         * troff/input.c (~token_node, ~string_iterator, ~arg_list,
17142         ~non_interpreted_node): Deleted.
17143         * troff/node.c: (~suppress_output_file, ~ascii_output_file):
17144         Deleted.
17146         * troff/symbol.h: Make all symbol member functions const.
17148         * lib/strtol.c: New file.
17149         * lib/Makefile: Add strtol.c.
17150         * Makefile: Define STRTOL as strtol.o to include strtol in
17151         libgroff.a.
17153 Wed Sep 12 10:00:49 1990  James Clark  (jjc at jclark)
17155         * pic/troff.c (troff_output::simple_circle): Divide by scale.
17157 Tue Sep 11 14:17:16 1990  James Clark  (jjc at jclark)
17159         * troff/input.c (do_special): Use input_level.
17161         * troff/token.h (TOKEN_BACKSPACE): New token.
17162         (token::backspace): New function.
17163         * troff/input.c (token::description, token::next, token::process):
17164         Grok TOKEN_BACKSPACE.
17165         (do_special): Turn TOKEN_BACKSPACE back into \b.
17167         * troff/token.h (token::leader): New function.
17168         * troff/input.c (do_special): Turn TOKEN_LEADER back into \001.
17170         * troff/input.c (do_special): Turn TOKEN_TAB back into \t.
17172         * troff/input.c (do_special): Use token::description in error
17173         message.
17175 Mon Sep 10 11:06:27 1990  James Clark  (jjc at jclark)
17177         * troff/input.c (decode_args): Combine quoted and
17178         quote_input_level variables. Make it a for (;;) loop.
17180         * troff/input.c (get_char_for_escape_name): Check for \001 and \b.
17182         * troff/input.c (read_long_escape_name): The test for whether to
17183         expand buffer was off by 1.
17184         (read_string): Similarily.
17186 Fri Sep  7 11:45:50 1990  James Clark  (jjc at jclark)
17188         * troff/input.c: Use `const int' rather than `static const int'.
17190         * troff/div.h (diversion::copy_file): Declare as pure virtual.
17191         (macro_diversion::copy_file): New function.
17192         * troff/node.h: New class diverted_copy_file_node.
17193         * troff/node.c: Implement it.
17194         * troff/input.c (copy_file): Use diversion::copy_file. Handle
17195         first page transition by pushing a diverted_copy_file_node.
17196         * troff/input.c (token::next, process_input_stack): Don't handle
17197         COPY_FILE_REQUEST.
17199 Thu Sep  6 13:29:10 1990  James Clark  (jjc at jclark)
17201         * ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
17202         whether space widths need adjusting.
17204         * troff/charinfo.h: Generalize translated_to_space to
17205         special_translation so as to allow translation to \&.
17206         * troff/input.c (translate): Allow translation to \&.
17207         (charinfo::*): Corresponding changes.
17208         * troff/node.c (make_node, node::add_char): Corresponding changes.
17209         * troff/node.h (dummy_node::dummy_node): Allow optional first
17210         argument.
17212         * lib/lib.h: Make codes 0200 to 0237 illegal input characters.
17213         * troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
17214         TOKEN_REQUEST.
17215         * troff/input.c (token::next): Turn a TITLE_REQUEST into a
17216         TOKEN_REQUEST with an argument of TITLE_REQUEST.
17217         (token::process): Grok that.
17218         * troff/input.c (copy_file): Handle first page transition like
17219         title by pushing a COPY_FILE_REQUEST cookie.
17220         (token::next, process_input_stack): Grok that.
17221         * troff/node.h (output_file::copy_file): Add x and y arguments.
17222         Make it non-pure.
17223         * troff/div.c (top_level_diversion::copy_file): Supply them.
17224         * troff/node.c (troff_output_file::copy_file): Add x and y
17225         arguments; moveto specified position.  Invalidate font_position
17226         array after copying file.
17227         (output_file::copy_file): New function.
17228         (suppressed_output_file::copy_file, ascii_output::copy_file):
17229         Removed.
17230         * troff/input.c (transparent_file): New function.
17231         (init_input_requests): Bind to "trf".
17232         (token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
17233         (process_input_stack): Likewise.
17235         * troff/Makefile: Add ../lib/lib.h to GROFF_H.
17237         * troff/node.c (init_node_requests): New number registers .kern
17238         pointing to global_kern_mode, and .lg pointing to
17239         global_ligature_mode.
17241         * troff/node.c (ligature): Don't change it if we get a bad
17242         integer.
17244         * troff/input.c (do_define_string): Don't strip tabs.
17246         * troff/input.c (asciify_macro): Make the string_iterator auto.
17248         * troff/node.c (init_font_requests): Rename to...
17249         (init_node_requests):
17250         * troff/node.h: Change declaration.
17251         * troff/input.c (main): Change call.
17253         * troff/input.c (node::reread, diverted_space_node::reread): New
17254         methods.
17255         (process_input_stack): Call reread rather than
17256         get_diverted_space_node.
17257         * troff/node.c (node::get_diverted_space_node,
17258         diverted_space_node::get_diverted_space_node): Removed.
17259         * troff/node.h: Declare reread methods instead of
17260         get_diverted_space_node methods. Make `n' member private.
17261         * troff/input.c: (token::diverted_space): Removed.
17262         * troff/token.h: Removed declaration.
17263         
17265 Tue Sep  4 00:48:04 1990  James Clark  (jjc at jclark)
17267         * eqn/script.c (script_box::compute_metrics): Don't let
17268         SUP_RAISE_FORMAT become negative.
17270         * tbl/table.c (table::do_row): Entries that don't end in the
17271         this row shouldn't make the row non-blank.
17272         
17273         * tbl/table.c (table::make_columns_equal): Only set the width of
17274         columns which are marked as equal.
17275         
17276         * tbl/main.c (process_data): Before issuing excess data error,
17277         if last character was a newline unget it; then get it again after
17278         the error.  Also include the contents of the entry in the message.
17280         * groff.c: New file.
17281         * Makefile: Build groff from groff.c.  Make it possible to use
17282         either groff.sh or groff.c as groff.
17283         * Makefile.bd: Similarily.
17285 Mon Sep  3 09:39:49 1990  James Clark  (jjc at jclark)
17287         * groff.sh: Don't delay expansion of $@ in assignment to files.
17288         Remove occurrences of \".
17290 Sun Sep  2 09:56:59 1990  James Clark  (jjc at jclark)
17292         * all Makefiles: Simplify and rearrange.
17294         * Makefile: Handle fmod like malloc.
17295         * lib/Makefile: Similarily.
17296         * lib/fmod.c: Remove #ifdef NEED_FMOD.
17298         * Makefile: Rename OPTIMISE to OPTIMIZE.
17300         * groff.sh: Remove assignment to PATH.
17301         * Makefile: Remove SHPATH variable.
17302         * Makefile.bd: Similarily.
17304         * groff.sh: Add -V option to print the pipeline instead of
17305         executing it.
17307 Fri Aug 31 00:56:46 1990  James Clark  (jjc at jclark)
17309         * lib/font.c: Split off file searching into ...
17310         * lib/fontfile.c: New file.
17312         * lib/strerror.c (strerror): Use `Error %d' for unknown errors.
17314 Thu Aug 30 13:13:55 1990  James Clark  (jjc at jclark)
17316         * tbl/table.c (table::do_hspan): Delete assertion that e != 0.
17317         Also change misleading comment.
17318         (table::do_vspan): Change similarily misleading comment.
17319         * tbl/main.c (process_data): A format row with an explicit `s'
17320         uses up a data line, even if all the other columns are `_' or `='.
17322         * troff/input.c (token::description): Fix description of
17323         TOKEN_DUMMY and TOKEN_EMPTY.
17325 Wed Aug 29 04:12:08 1990  James Clark  (jjc at jclark)
17327         * groff.sh: Fix description of -Z in help message.
17329 Tue Aug 28 07:28:33 1990  James Clark  (jjc at jclark)
17331         * pic/object.c (object_spec::make_object): Allow negative and zero
17332         line thicknesses.
17333         * pic/pic.y: Give linethick default value of -1.0.
17334         * pic/troff.c (troff_output::troff_output): Initialize
17335         last_line_thickness to BAD_THICKNESS.
17336         (troff_output::finish_picture): Set thickness to BAD_THICKNESS.
17337         (troff_output::line_thickness): Canonicalize negative thicknesses
17338         to RELATIVE_THICKNESS.
17339         * pic/tex.c (tex_output::set_pen_size): Silently map negative line
17340         thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
17341         to -1.0.
17342         (tex_output::start_picture): Set pen_size to -2.0.
17344         * ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
17345         0, then use 0 linewidth.
17346         (ps_printer::ps_printer): Initialize line_thickness to -1.
17348         * pic/troff.c (troff_output::simple_ellipse): Divide by scale.
17350         * ps/devps/symbolchars: Remove `or'.
17351         * ps/tmac.ps: Implement \(or with .char.
17353         * ps/devps/symbolchars: Move most characters into textmap.
17354         * ps/devps/textmap: Add names for troff bracket characters. Remove
17355         ul, ru, br, bv.
17357         * ps/devps/TSymbol.ps: Removed.
17358         * ps/devps/FontMakefile: Make S from Symbol not TSymbol.
17359         * ps/tmac.ps: Do with .char what TSymbol did.
17360         * ps/devps/download: Remove TSymbol.
17362         * ps/devps/T: Removed.
17363         * ps/devps/Troff.ps: Removed.
17364         * ps/devps/Troff.afm: Removed.
17365         * ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
17366         * ps/devps/download: Remove Troff.
17367         * ps/devps/FontMakefile: Remove T target.
17368         * ps/devps/DESC-A4: Remove T from font list.
17369         * ps/devps/DESC-letter: Likewise.
17371         * troff/input.c (macro_to_node): Rename to ...
17372         (charinfo_to_node): Don't pass mac argument.  Temporarily remove the
17373         character's definition while processing it.
17374         * troff/node.c (node::add_char, make_node): Change calls to
17375         macro_to_node accordingly.
17377         * troff/input.c (token::next): Translate \_ to \(ul.
17379         * tty/devascii/R.proto: Add `|'.
17380         * tty/devlatin1/R.proto: Likewise.
17382 Mon Aug 27 11:25:41 1990  James Clark  (jjc at jclark)
17384         * man: Put the version number in all the man pages.
17386 Sun Aug 26 11:40:05 1990  James Clark  (jjc at jclark)
17388         * Makefile.bd: New file.
17389         * README.bd: New file.
17391         * VERSION: New file.
17392         * lib/version.c: Removed.
17393         * lib/Makefile: Create version.c from ../VERSION. Remove version.c
17394         in clean target.
17396         * troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
17397         environment variable.
17399         * all Makefiles: Split install target into install.bin for
17400         binaries, and install.nobin for everything else.
17401         * Makefile: Add bindist target.
17403         * man/afmtodit.man: New file.
17404         * man/Makefile: Add afmtodit.n to MAN1PAGES.
17405         * ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
17406         in BINDIR.
17407         * ps/Makefile: Pass BINDIR to make install in devps.
17409         * ps/ps.c (ps_printer::set_char): Do nothing if the character is
17410         the space character.
17412         * ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.
17414 Sat Aug 25 15:39:03 1990  James Clark  (jjc at jclark)
17416         * ps/ps.c: Redo font downloading.
17417         * ps/devps/download: New file.
17418         * ps/devps/Makefile: Add download to DEVICEFILES.
17419         * ps/devps/afmtodit: Remove -d option.
17420         * ps/devps/FontMakefile: Don't use -d option with afmtodit.
17421         * ps/devps/symbosl.ps: Add %%DocumentFonts comment.
17422         * ps/devps/zapfdr.ps: Likewise.
17423         * ps/devps/TSymbol.ps: Likewise.
17425 Fri Aug 24 20:10:30 1990  James Clark  (jjc at jclark)
17427         * groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.
17429 Thu Aug 23 10:03:47 1990  James Clark  (jjc at yquem)
17431         * ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
17432         then strip the first line if it starts with %.
17433         * Makefile: Add a comment about this.
17435         * man/tfmtodit.man: New file.
17436         * man/Makefile: Add tfmtodit.n to MAN1PAGES.
17437         * dvi/Makefile: Install tfmtodit in BINDIR.
17439         * dvi/tfmtodit.c (usage): Mention -v option.
17441 Wed Aug 22 09:56:36 1990  James Clark  (jjc at yquem)
17443         * troff/node.c (troff_output_file::end_of_line): Call do_motion.
17444         * troff/node.c (troff_output_file::transparent_char): Don't call
17445         flush_tbuf.
17447         * eqn: Add check_tabs method to most box classes.
17448         * eqn/box.c (box::top_level): Call check_tabs.
17450         * eqn/script.c (script_box::output): Use \Z.
17451         * eqn/limit.c (limit_box::output): Use \Z.
17453         * eqn/box.c (box::top_level): Use itoa.
17455 Tue Aug 21 09:29:28 1990  James Clark  (jjc at yquem)
17457         * dvi/tmac.dvi: Add font translations for CR, C, TT.
17458         * dvi/devdvi/Makefile: Don't make links to CW.
17460         * ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
17461         HX, HD.
17462         * xditview/tmac.X: Likewise.
17464         * troff/node.c: Add font translation feature.
17465         (get_font_translation): New function.
17466         (symbol_fontno): Translate the font name.
17467         (mount_font_no_translate): Rename to mount_font to this.
17468         (mount_font): New function.
17469         (font_family::make_definite): Call mount_font_no_translate instead
17470         of mount_font.
17471         (mount_style): Translate the font name.
17472         (font_translate): New function.
17473         (init_font_requests): Bind "ftr" to font_translate.
17475         * ps/devps/prologue (SN): New procedure that rounds a position to
17476         the nearest (pixel + (.25,.25)).
17477         (DL): Use SN to round endpoints.
17479         * lib/version.c: Changed version to 0.5.
17481 Sat Aug 18 04:43:21 1990  James Clark  (jjc at yquem)
17483         * Makefile: Move definition of PAGE to the very beginning, so that
17484         people are less likely to miss it.
17486 Fri Aug 17 02:15:11 1990  James Clark  (jjc at yquem)
17488         * man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.
17490         * troff/env.c (environment::choose_breakpoint): Make `can't find
17491         breakpoint' error a warning of type WARN_BREAK.  Change message to
17492         `can't break line'.
17493         * troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
17494         code 040000.
17495         * troff/input.c: Add WARN_BREAK to warning_table.  Include
17496         WARN_BREAK in DEFAULT_WARNING_MASK.
17498         * tty/tmac.tty: Add definition of \(+-.
17500         * groff.sh: Remove `--' option to set command.
17502         * dvi/devdvi/texsy.map: Remove duplicate md entry.
17504         * ps/devps/eqnchar: Better definition of cdot using md.
17505         * dvi/devdvi/eqnchar:  Likewise.
17506         * xditview/devX100/eqnchar:  Likewise.
17507         * xditview/devX75/eqnchar: Likewise.
17508         * eqn/lex.c: Add definition of cdot.
17510 Thu Aug 16 09:33:57 1990  James Clark  (jjc at yquem)
17512         * troff/input.c (get_optional_char): New function.
17513         * troff/input.c (set_page_character): Use get_optional_char(),
17514         rather than has_arg() and tok.get_char(1).
17515         * troff/env.c (tab_character, leader_character, hyphen_char,
17516         field_characters): Likewise.
17517         (margin_character): Likewise.  Also always delete the
17518         margin_character_node.
17520         * troff/input.c (token::get_char): Use token::description.
17522         * troff/input.c (has_arg): Don't skip over tab and \}.
17523         * troff/number.c (start_number): Give a warning if the number
17524         starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).
17526 Wed Aug 15 10:04:37 1990  James Clark  (jjc at yquem)
17528         * troff/input.c (empty_name_warning, non_empty_name_warning): New
17529         functions.
17530         (get_name, get_long_name): Use these.  Rename `warn' argument to
17531         `required'.
17533         * troff/node.c (get_fontno): Test that the symbol is not null.
17535         * troff/input.c (token::description): New function.
17536         * troff/number.c (parse_term): Use token::description in `numeric
17537         expression expected' message.
17538         * troff/groff.h: Add WARN_MISSING.
17539         * troff/number.c (start_number): New function.
17540         * troff/number.c (get_vunits, get_hunits, get_number, get_integer,
17541         get_incr_number): Use start_number().
17542         * troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
17543         default.
17544         * troff/input.c (get_name, get_long_name): Use WARN_MISSING.
17545         * troff/reg.c (alter_format): Use WARN_MISSING. Also use
17546         token::descripion.
17547         * troff/input.c (token::get_char): Use WARN_MISSING.
17548         * troff/input.c (token::delimiter): Use token::description.
17549         * troff/env.c (environment_switch): Back out Aug 3 change.
17550         * troff/input.c (has_arg): Skip over \}s and tabs but give a
17551         warning.
17552         * troff/token.h (token::tab): New function.
17553         * troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
17554         * troff/reg.c (alter_format): Likewise.
17555         * troff/node.c (bold_font): Use has_arg() rather than tok.skip().
17557 Tue Aug 14 10:11:21 1990  James Clark  (jjc at yquem)
17559         * troff (most files): Redo warnings. Divide warnings into various
17560         categories; warning() has an additional first argument indicating
17561         the category it falls into.
17562         * troff/input.c (main): -w now takes an argument. New option -W.
17563         (enable_warning, disable_warning): New functions.
17565         * ps/devps/afmtodit: Add -a option to lie about the italic angle.
17566         * ps/devps/FontMakefile: Pretend TI has an angle of 7.
17568 Mon Aug 13 10:11:16 1990  James Clark  (jjc at yquem)
17570         * ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
17571         * xditview/devX100/eqnchar: Likewise. Remove definition of dot.
17572         * xditview/devX75/eqnchar: Likewise.
17573         * dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.
17575         * eqn/other.c: When bar or over applies to a single character
17576         don't produce an overline_box or an underline_box. Instead produce
17577         an accent_box or an underaccent_box, with the accent a line
17578         whose width is accent_width.  New classes underaccent_box,
17579         overline_char_box and underline_char_box.
17580         * eqn/box.h: Move overline_box, underline_box, accent_box class
17581         declarations into eqn/other.c. Add declarations of
17582         make_underline_box, make_overline_box, make_accent_box.
17583         * eqn/eqn.y: Call make_overline_box, make_underline_box
17584         make_accent_box instead of constructors.
17585         * eqn/pbox.h, eqn/box.c: Add accent_width parameter.
17587         * eqn/other.c: Add accent_box::~accent_box.
17588         * eqn/box.h: Declare it.
17590         * groff.sh: With -Tps, use eqn -D.
17592         * eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
17593         rather than \l.
17594         (underline_box::output): Similarily.
17595         (accent_box::output): Use \Z.
17597         * xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
17598         bit smaller.)
17600 Sun Aug 12 09:41:15 1990  James Clark  (jjc at yquem)
17602         * troff/div.c (top_level_diversion::transparent_output(unsigned
17603         char)): Use asciify.
17604         * troff/input.c (asciify): Don't make it static.
17605         * troff/token.h (asciify): Declare it.
17606         
17607         * troff/input.c (get_name, get_long_name, token::get_char,
17608         token::delimiter): Add an extra default argument which says
17609         whether a warning should be printed.
17610         * troff: Pass a non-zero argument to one of these rather than
17611         printing a warning directly.
17613 Sat Aug 11 09:02:21 1990  James Clark  (jjc at yquem)
17615         * troff: Consistently use symbol::is_null.
17617         * troff/dictionary.h: Move some inline functions into
17618         dictionary.c.
17620         * troff/request.h: Move inline functions into input.c.
17621         (request_or_macro::invoke): Make it pure.
17623         * troff/input.c, troff/reg.h: New class `constant_int_reg'.
17624         * troff/input.c (init_input_requests): Use class constant_int_reg.
17625         (class compatible_reg): Deleted.
17626         * troff/div.c (init_div_requests): Use class constant_int_reg.
17627         (class last_post_line_extra_space_reg): Deleted.
17629         * troff/env.c (tab_character): Don't change the tab character if
17630         we get an invalid argument.
17631         (hyphen_char): Similarily.
17633         * troff/reg.c (alter_format): Check that nm is not null.
17635         * Makefile, groff.sh: Make it possible to customize the commands
17636         used for printing PostScript and dvi files. Also make it possible
17637         to customize the path used by groff.sh.
17639         * eqn/eqn.y: Make `left' right associative.
17641 Fri Aug 10 18:20:39 1990  James Clark  (jjc at yquem)
17643         * pic/pic.h: Added definition of M_SQRT2 for those systems that
17644         don't have it.
17646         * pic/pic.h: Removed definition of INT_MAX.
17648         * troff/node.c (italic_corrected_node::vertical_extent): Omit
17649         `return'.
17651         * troff/input.c (token::next):  Handle \R like \n.
17653 Tue Aug  7 09:46:33 1990  James Clark  (jjc at yquem)
17655         * ps/tmac.pc (PSPIC): Simplify.
17657         * troff/env.c (tab_stops::to_string):
17658         * pic/pic.y (object_type_name):
17659         * pic/troff.c (simple_output::line):
17660         * pic/tex.c (tex_output::spline):
17661         * pic/object.c (object_spec::make_object):
17662         * tbl/main.c (process_data):  Add cases to switch statements to
17663         avoid cfront warnings. (Some of these are spurious, since the
17664         switch already has a default case.)
17666         * ps/tmac.ps (PSPIC): Reformatted.  Prefix all local names with
17667         `ps-'.  Don't test systat; instead check number of arguments to
17668         ps-bb.
17670 Mon Aug  6 00:13:07 1990  James Clark  (jjc at yquem)
17672         * macros/tmac.e: Do not decrease the page offset by 0.5i.
17674         * ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
17675         Unlink the file as soon as we have opened it, so that we don't
17676         have to bother with signal handlers.
17677         (handler): Deleted.
17678         (fatal_error_exit): Deleted.
17679         (main): Don't call signal.
17681         * dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
17682         can be ignored.
17683         * dvi/devdvi/Makefile: Use the -k option with S and MI.
17685         * pic/pic.y:  If there is a label, or an nth construction before
17686         the first `.' in the argument to `with', ignore it and generate a
17687         warning.
17688         * pic/lex.c (lex_warning): New function.
17690         * tbl/table.c (table::init_output): In section keep and release
17691         macro, use 0 indent when diverting and the correct indent when
17692         rereading.
17694         * troff/input.c (interpolate_number_format): Do not interpolate
17695         anything if the number register is not defined.
17697         * tbl/main.c (process_data): Don't add entry when col >= ncolumns.
17699 Sat Aug  4 08:12:05 1990  James Clark  (jjc at yquem)
17701         * ps/devps/prologue (PICTURE): Set components of graphics state to
17702         their default values.
17704         * ps/devps/text.enc: Add trademark
17705         * ps/devps/textmap: Add names for club, spade, heart, diamond,
17706         carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
17707         * ps/devps/symbolchars: Add names for summation and product.
17709         * dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
17710         suchthat. Add pp. Add upper-case letters.
17712         * xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
17713         diamond, carriagereturn, suchthat. Use Upsilon1 rather than
17714         Upsilon.
17716         * dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
17717         rA (right angle bracket) to ra.  Introduce names for double-headed
17718         arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
17719         * ps/devps/textmap: Likewise for ps device.
17720         * xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
17721         * tty/devascii/R.proto: Rename lA to la and rA to ra.
17722         * tty/devascii/R.proto: Likewise.
17723         * tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
17724         \(uA, \(dA.
17725         * eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.
17727         * xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.
17729         * eqn/lex.c: Added definitions of `approx', `grad' and `del' to
17730         def_table.
17732 Fri Aug  3 09:59:27 1990  James Clark  (jjc at yquem)
17734         * troff/div.c (when_request): Use symbol::is_null rather than
17735         has_arg to determine whether we have an argument.
17736         (change_trap): Remove the trap if we get an invalid number. Give
17737         an error if we don't get at least the macro name.
17738         (diversion_trap): Remove trap if we get an invalid name or number.
17740         * troff/env.c (environment_switch): Pop if we get an invalid
17741         symbol or numeric expression.
17743         * troff/input.c (do_define_macro):  If EOF is encoutered while
17744         defining the macro, do tok.next() before returning.
17746         * troff/token.h (has_arg): Move definition from here, to ...
17747         * troff/input.c (has_arg): ... here
17749         * troff/env.c (space_size): Do nothing if we get an invalid argument.
17750         * troff/input.c (shift): Likewise.
17752         * pic/lex.c (get_token_after_dot):  Accept `.center' as a synonym
17753         for `.c'.
17755         * pic/troff.c (troff_output::start_picture):  Comment out calls to
17756         `..'.
17758         * eqn/main.c (do_file): Subtract 1 from current_lineno if
17759         interpret_lf_args succeeds.
17761         * eqn/main.c (do_file): Don't recognize delimiter if preceded by
17762         \\.  This avoids problems with \$N.
17764         * groff.sh: Pass -C to preprocessors.
17766         * lib/lf.c (interpret_lf_args):  Be more flexible.
17768         * tbl/main.c (main): Add -C option.
17769         (table_input::get): Do not recognize TE if followed by character
17770         other than a space or newline unless -C option given.
17771         (process_input_file): Likewise for lf, TS.
17772         (process_data): Likewise for lf in text blocks.
17774         * eqn/main.c (main): Add -C option.
17775         (do_file): Don't recognize EQ, EN or lf if followed by character
17776         other than space or newline unless -C option given.
17777         * eqn/lex.c (file_input::read_line): Similarily.
17778         * eqn/eqn.h: Declare compatible_flag.
17780         * etc/soelim.c (main): Add -C option.
17781         (interpret_lf_args): Use version in libgroff.
17782         (do_file):
17784         * pic/main.c (main): Add -C option, which sets compatible_flag.
17785         (top_input::get), (top_input::peek):  If -C option not given,
17786         do not recognize .PS/.PE/.PF/.lf if followed by a character
17787         other than space or newline.
17788         * pic/lex.c (file_input::read_line): Similarily.
17789         * pic/pic.h: Add declaration of compatible_flag.
17791 Thu Aug  2 11:11:27 1990  James Clark  (jjc at yquem)
17793         * ps/tmac.ps (PSPIC): Avoid use of `echo -n'.
17795         * troff/node.c, troff/node.h:  Add `asciify' methods to classes
17796         derived from node.  New class space_char_hmotion_node.
17797         * troff/input.c (asciify_macro): New function.
17798         * troff/input.c (init_input_requests): New request `asciify' bound
17799         to asciify_macro.
17800         * macros/mm.diff: New file.
17801         * Makefile:  In install.mm target use `patch' to apply
17802         macros/mm.diff.
17804         * troff/input.c (macro::print_size): Just print the size in bytes.
17806         * troff/div.c (return_request): Correct the argument
17807         interpretation.
17809 Wed Aug  1 12:38:36 1990  James Clark  (jjc at yquem)
17811         * troff/node.h (class composite_node): Add sz member.
17812         * troff/node.c (composite_node::size): Return sz.
17813         * troff/input.c (macro_to_node):  Use the initial size in the
17814         environment as the size of the composite_node.
17816         * troff/node.c (node::zero_width_tprint):  Provide a reasonable
17817         default.
17819 Tue Jul 31 10:07:10 1990  James Clark  (jjc at yquem)
17821         * troff/div.c (change_trap): If we get a bad number expression,
17822         do nothing.
17824 Mon Jul 30 10:30:49 1990  James Clark  (jjc at yquem)
17826         * lib/matherr.c (matherr): Define this only if math.h defines
17827         TLOSS.
17829 Sun Jul 29 10:34:27 1990  James Clark  (jjc at yquem)
17831         * troff/div.c (macro_diversion::distance_to_next_trap): If there
17832         no diversion trap return vunits(INT_MAX - vresolution).
17834 Sat Jul 28 14:28:14 1990  James Clark  (jjc at yquem)
17836         * troff/input.c (do_zero_width): New implementation that doesn't
17837         use a temporary environment. Use instead:
17838         (token::add_to_node_list): New function.
17839         * troff/env.c (environment::get_prev_char_height),
17840         (environment::get_prev_char_height),
17841         (environment::get_prev_char_skew): New functions.
17842         (environment::get_prev_char): New function.
17843         (environment::get_prev_char_width): Change to use get_prev_char.
17844         (init_env_request): Implement new registers .cht, .cdp, .csk.
17845         * eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
17846         \Z being processed in a separate environment.
17848 Fri Jul 27 10:21:25 1990  James Clark  (jjc at yquem)
17850         * tbl/table.c: Removed TABLE_BOTTOM_REG.
17852         * tbl/table.c (table::init_output): In the section release macro,
17853         give a warning message if the section won't fit on one page.
17855         * tbl/table.c (table::do_top): Emit table keep only if table is
17856         boxed.
17857         (table::do_bottom): Likewise for table release.
17858         (table::table), (table::add_vertical_rule):  Remove reference to
17859         keep member.
17860         * tbl/table.h: Remove keep member.
17862         * tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
17863         SECTION_RELEASE_MACRO, if there's not enough space before the next
17864         trap to output the diversion, call T# ourselves, set
17865         SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
17866         SUPPRESS_BOTTOM_REG back to 0.  In T#, do nothing if
17867         SUPPRESS_BOTTOM_REG is non-zero.  In T#, always mark the current
17868         vertical position and return to it before turning traps on again.
17869         
17870 Thu Jul 26 02:54:32 1990  James Clark  (jjc at yquem)
17872         * troff/node.c, troff/node.h: In classes derived from node,
17873         replace prev_char_width method by last_char_node method.
17874         * troff/env.c (environment::get_prev_char_width): Use
17875         node::last_char_node rather than node::get_prev_char_width.
17877         * Makefile: Added comment about -fno-inline on 68030-based
17878         Apollos.
17880         * troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
17881         tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
17882         expressions using sizeof to int.
17883         * dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.
17885         * macros/tmac.e (TS):  Don't move @f back past the current
17886         position.
17888 Wed Jul 25 09:11:08 1990  James Clark  (jjc at yquem)
17890         * ps/ps.c (main): Buffer stderr.
17891         * dvi/dvi.c (main): Likewise.
17892         * tty/tty.c (main): Likewise.
17894         * ps/ps.c (ps_printer::do_import): Improve error handling.
17896         * troff/input.c (abort_request): Use asciify.
17898         * driver/printer.h (printer::draw), driver/printer.c (printer::draw),
17899         ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
17900         type of first argument int rather than char.  This works around a
17901         bug on the 68030 based Apollo using g++ 1.37.1.
17903         * tbl/table.h (class table): Add `keep' member.
17904         * tbl/table.c (table::table): Initialize `keep'.
17905         (table::add_vertical_rule): Set `keep' to 1.
17906         (table::do_top): Only emit table keep macro is `keep' is non-zero.
17907         (table::do_bottom): Likewise for table release macro.
17908         (table::do_row): Emit section keep macro even if the row is 0.
17910 Tue Jul 24 08:35:07 1990  James Clark  (jjc at yquem)
17912         * macros/tmac.e (@C): Preserve the font family across the change
17913         in environments.
17915 Mon Jul 23 10:15:23 1990  James Clark  (jjc at yquem)
17917         * lib/font.c: Initialize font::hor and font::vert to 1.
17918         (font::load_desc): Check the values of font::hor and font::vert.
17920         * lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
17921         be included in a C compilation.
17922         (iftoa): Use INT_DIGITS. Include lib.h.
17923         (itoa): Likewise.
17924         (as_string): Likewise.
17925         * tbl/table.c: Removed definition of INT_DIGITS.
17926         * eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
17927         * troff/input.c (input_input_requests): Likewise.
17928         * ps/ps.c (make_encoding_name): Likewise.
17929         (ps_printer::set_style): Likewise.
17930         (ps_output::put_number): Use 1 + INT_DIGITS + 1 instead of 12.
17932         * tty/devascii/R.proto: Map fm onto '.
17933         * tty/devlatin1/R.proto: Likewise.
17935 Sat Jul 21 12:45:07 1990  James Clark  (jjc at yquem)
17937         * tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
17938         argument to \w is at a different input level.
17940         * tbl/table.c (table::init_output): Define a new macro
17941         REPEATED_VPT_MACRO, like vpt but if in a diversion also
17942         transparently outputs itself.
17943         (table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
17944         vpt.
17945         (table::do_row): Likewise.
17947         * tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
17948         TRANSPARENT_STRING_NAME.
17950         * tbl/table.c (table::init_output): In the table release macro
17951         print an error message and don't produce any output if after
17952         issuing the need request the table still will not fit.  Also
17953         remove the diversion after bringing it back.
17955         * tbl/table.c (table::init_output): Define a new macro
17956         REPEATED_MARK_MACRO, like mk but if in a diversion also
17957         transparently outputs itself.
17958         (table::do_row): Mark row_top_reg using REPEATED_MARK_MACRO. This
17959         is necessary because .TH might not call .T#.
17960         (table::do_top): Likewise TOP_REG.
17961         (table::define_bottom_macro): If TOP_REG is no longer valid, use
17962         #T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
17963         table header might contain just the two top rules.
17965 Fri Jul 20 10:51:42 1990  James Clark  (jjc at yquem)
17967         * troff/div.c: Implement new request `ptr' to print all traps.
17969         * troff/env.c (init_env_requests): Implement `.tabs' reg with
17970         init_string_env_reg.
17971         * troff/env.c (class tab_reg): Deleted.
17973 Thu Jul 19 12:07:16 1990  James Clark  (jjc at yquem)
17975         * troff/div.c: New number register .pn returns the number of the
17976         next page as set by the pn request.
17978         * macros/tmac.an: Redid headers and footers.  Number each manual
17979         entry starting from 1 unless \nC is > 0, like Sun.  Added an
17980         optional 5th argument to .TH which specifies the manual name and
17981         appears in the center of the header.  Understand the X, P and D
17982         registers like Sun.
17984 Wed Jul 18 10:23:31 1990  James Clark  (jjc at yquem)
17986         * troff/env.c (init_env_requests): New number register `.lt' to
17987         return the title length.
17989         * troff/node.h (class transparent_dummy_node): New class.
17990         * troff/node.c (class transparent_dummy_node): Provide member
17991         functions. 
17992         * troff/env.c (interrupt): Add a transparent_dummy_node, rather
17993         than a dummy_node.
17995         * troff/input.c (token::next): New escape sequence \).
17996         * troff/input.c (get_copy): Recognize \) in copy mode.
17998         * troff/input.c (input_stack::clear): New function.
17999         * troff/input.c (exit_request): Use input_stack::clear.
18001         * troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
18002         * troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.
18004         * troff/env.c: Move set_page_character to input.c.  Move
18005         page_character to input.c also.
18006         * troff/env.c (title): Split off the reading of the parts of the
18007         title into read_title_parts.
18008         * troff/input.c (read_title_parts): New function.  Check the
18009         input_level when testing whether a token matches the delimiter.
18011         * troff/input.c (exit_request): New function.
18012         * troff/input.c (init_input_requests): Bind ex request to
18013         exit_request rather than exit_groff.
18015         * troff/input.c (exit_groff): Call tok.next() before
18016         process_input_stack().
18018 Mon Jul 16 09:47:23 1990  James Clark  (jjc at yquem)
18020         * troff/env.c: ifdef widow control support on WIDOW_CONTROL.
18021         * troff/env.h: ditto.
18022         * troff/input.c: ditto.
18024         * troff/env.c (environment::is_empty): Test pending_lines.
18026         * troff/env.c (environment::have_pending_lines): Removed.
18028         * troff/input.c: Add request to flush pending lines from the
18029         environment.
18031         * troff/env.c, troff/env.h: Add automatic widow control feature.
18033         * troff/input.c (exit_groff):  Do process_input_stack() after
18034         do_break() but before setting exit_flag to 2.
18036         * troff/input.c: Remove FLUSH_PENDING_LINES and
18037         TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
18038         environment after END_TRAP token seen, but only if there aren't
18039         any more traps still unfinished.
18040         * troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.
18042 Sun Jul 15 10:50:08 1990  James Clark  (jjc at yquem)
18044         * troff/env.c: Rename the `retain_size' member of class
18045         pending_output_line to `no_fill'.
18047         * troff/env.c (title): When the line is output, make the
18048         retain_size argument !fill.
18050         * troff/node.h: Add `hyphenated' member to struct breakpoint.
18051         * troff/node.c (space_node::get_breakpoints),
18052         (dbreak_node::get_breakpoints):  Fill this in.
18053         * troff/env.c:  Allow specification of maximum number of
18054         consecutive hyphenated lines.
18056         * troff/env.c (environment::is_empty): Add test for !current_tab.
18058 Sat Jul 14 11:23:01 1990  James Clark  (jjc at yquem)
18060         * troff/env.c (environment::hyphenate_line): Don't completely give
18061         up if the word is not to be hyphenated; continue so that breaks
18062         can be made at break_char_node's.
18064         * lib/lib.h: Only define INT_MAX if it's not already defined;
18065         undef INT_MIN if it's already defined.
18067         * Makefile: Make it easy to define CFRONT_ANSI_BUG.
18069         * lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
18070         This works around a bug in AT&T C++ 2.0 used with an ANSI C
18071         compiler.
18072         
18073         * macros/tmac.an (an-header): Set no-space mode.
18075         * macros/tmac.an (TH): Start a new page if necessary.
18077         * Started using ChangeLog at version 0.4.
18079 Local Variables:
18080 version-control: never
18081 coding: latin-1
18082 End: