Add default encoding option -D to preconv and groff.
[s-roff.git] / ChangeLog
blob0bf6e5dab00e43f763eba173f7d90aa40bef48bc
1 2008-08-20  Alexey Gladkov  <legion@altlinux.ru> 
2             Werner LEMBERG  <wl@gnu.org>
4         Add default encoding option -D to preconv and groff.
6         * src/preproc/preconv/preconv.cpp (default_encoding): Make it an
7         array.
8         Update all users.
9         (main): Handle new option -D.
10         (usage): Updated.
11         * src/preproc/preconv/preconv.man: Updated.
13         * src/roff/groff/groff.cpp (main): Handle new option -D.
14         (synopsis, help): Updated.
15         * src/roff/groff/groff.man: Updated.
17 2008-07-26  Werner LEMBERG  <wl@gnu.org>
19         * tmac/eqnrc (.EQ, .EN): Provide default definitions.  Reported
20         by Denis M. Wilson.
22         * tmac/www.tmac (.EQ, .EN, .TS, .TE): Fix definitions.
24 2008-07-24  Denis M. Wilson  <dmw@oxytropis.plus.com>
26         New options -f and -k for afmtodit.
28         * src/afmtodit/afmtodit.pl: New options `-f NAME' sets the internal
29         name of the groff font.
30         New option `-k' disables output of kerning data.
31         * src/afmtodit/afmtodit.man, NEWS: Document new options.
33 2008-07-18  Werner LEMBERG  <wl@gnu.org>
35         * src/preproc/tbl/table.cpp (table::compute_separation_factor): Emit
36         warning messages if table gets squeezed.
37         (table::compute_widths): Fix computation of AVAILABLE_REG.
38         Emit warning if table is wider than line length.
40         * src/preproc/tbl/tbl.man: Minor improvements.
42 2008-05-02  Larry Jones  <lawrence.jones@siemens.com>
44         * contrib/chem/Makefile.sub (README, examples/README): In makefiles,
45         the `$<' macro is only guaranteed to be defined in inference rules,
46         not in explicit target rules.  Since there is only one input file in
47         the places where it is used, the `$?' macro (which is guaranteed to be
48         defined for both kinds of rules) is a suitable replacement.
50         * hdtbl/examples/fonts_n.in, hdtbl/examples/fonts_n.in: Most
51         versions of ls don't have a `--color' option.
53 2008-04-30  Larry Jones  <lawrence.jones@siemens.com>
55         * Makefile.comm (depend.temp): Add `EXTRA_CCFLAGS'.
57 2008-04-29  Larry Jones  <lawrence.jones@siemens.com>
59         * src/eqn/script.cpp (script_box::output): Portability fix.
61 2008-04-05  Dorai Sitaram  <ds26gte@yahoo.com>
63         Add better support for `.TAG #<label>' in non-HTML documents: In
64         case of a forward reference in a call to .URL, write `(see below)'. 
65         In case of a backwards reference use the page number instead.  The
66         reference gets stored in a string `TAG_<label>' and can be
67         overridden while calling `.TAG' with its new optional argument --
68         this is useful for a second-pass system which resolves forward
69         references.
71         * tmac/www.tmac (www:url_check_tag): New function.
72         (URL): Use it.
73         (TAG): Add optional argument to define string `TAG_<label>'.
75 2008-03-24  Werner LEMBERG  <wl@gnu.org>
77         * tmac/trace.tmac (so, mso): Added.
79         * tmac/www.tmac (PIMG): Replace `.ie' (without `.el') with `.if'. 
80         If used with -mtrace, and this clause was active, the macro was
81         executed twice.
83         * tmac/pspic.tmac (PSPIC): Accept option `-C' for orthogonality. 
84         This makes `.PIMG -C <file>' (from www.tmac) work on non-HTML
85         devices.
86         * man/groff_tmac.man: Document it.
88 2008-02-26  Werner LEMBERG  <wl@gnu.org>
90         * src/roff/troff/input.cpp: s/safer_flag/unsafe_flag/.
91         Update all occurrences so that \n[.U] works as advertised.  Bug
92         reported by Dorai Sitaram.
94 2008-02-17  Werner LEMBERG  <wl@gnu.org>
96         * doc/groff.texinfo: Improve documentation of .cf request.
98 2008-01-19  Werner LEMBERG  <wl@gnu.org>
100         * src/preproc/html/pre-html.cpp (usage): Don't describe options but
101         mention that it should never be called stand-alone.
103         * tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man,
104         man/groff_tmac.man, man/groff_out.man, README, README.MinGW,
105         src/roff/groff/groff.man: Mention -Txhtml.
107         * man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.
109 2008-01-16  Werner LEMBERG  <wl@gnu.org>
111         * src/libs/libgroff/font.cpp (font::contains, font::get_code):
112         Handle single-letter names correctly.
114         * doc/groff.texinfo, man/groff_diff.man: Extend documentation of \^
115         and \|.
116         * NEWS: Updated.
118 2008-01-15  Werner LEMBERG  <wl@gnu.org>
120         * man/groff_font.man: Revised.
122 2008-01-14  Werner LEMBERG  <wl@gnu.org>
124         * man/groff.man: Mention glyph and characters.
125         Minor other updates.
126         * man/groff_char.man: Minor updates.
127         * man/groff_diff.man: Better clarification between characters and
128         glyphs.
130 2008-01-12  Werner LEMBERG  <wl@gnu.org>
132         * doc/groff.texinfo: Fix top-level structure to make it compilable
133         again with all texinfo modes.  Reported by Jörg van den Hoff
134         <j.van_den_hoff@fzd.de>.
136 2008-01-11  Werner LEMBERG  <wl@gnu.org>
138         * doc/pic.ms: Mention that compass points of line objects are
139         arbitrarily located.
141 2008-01-06  Werner LEMBERG  <wl@gnu.org>
143         * src/roff/troff/node.cpp (left_italic_corrected_node::add_self):
144         Don't remove itself if there is no glyph associated with the node
145         yet.  This happens, for example, in this situation:
147           .ll 15000u
148           .ft I
149           x x
150           (\,f
152 2008-01-05  Werner LEMBERG  <wl@gnu.org>
154         * man/groff_char.man, man/groff.man: Revised.
156         * src/preproc/eqn/lex.cpp (troff_defs): Fix typo.
158 2008-01-04  Werner LEMBERG  <wl@gnu.org>
159         * */*: s/Osanna/Ossanna/.
161         * */*.man: Replace .URL with .UR/.UE (except in groff_www.tmac).
162         Replace .MTO with .MT/.ME (except in groff_www.tmac).
163         Insert `\:' in URLs where appropriate.
164         Don't include www.tmac (except in groff_www.tmac).
166         * man/groff.man (.ESC[]): Fix font of closing bracket.
167         (.ESCq): Fix font of closing quote character.
168         Many other improvements.
170 2007-12-30  Bernhard Fisseni  <bfi@ikp.uni-bonn.de
172         * src/devices/grohtml/post-html.cc
173         (html_printer::writeHeadMetaStyle): Fix CSS output.
175 2007-12-29  Werner LEMBERG  <wl@gnu.org>
177         * tmac/ec.tmac: Add CM fonts to the .fspecial lines; those fonts
178         contain additional glyphs (like some uppercase Greek letters).
180 2007-12-06  Werner LEMBERG  <wl@gnu.org>
182         * NEWS: Updated.
184 2007-12-06  Colin Watson  <cjwatson@debian.org>
186         * src/roff/nroff/nroff.sh: Add options -w and -W.
187         * src/roff/nroff/nroff.man: Document them.
189 2007-12-06  Karl Berry  <karl@freefriends.org>
191         * tmac/hyphenex.pl: Update header output.
193 2007-11-29  Werner LEMBERG  <wl@gnu.org>
195         * src/devices/grotty/tty.cpp (tty_printer::line): Fix line lengths.
197 2007-11-20  Werner LEMBERG  <wl@gnu.org>
199         * doc/pic.ms: Add Heinz-Jürgen's 3d boxes example.
201 2007-11-17  Werner LEMBERG  <wl@gnu.org>
203         * src/roff/nroff/nroff.sh: Handle GROFF_TYPESETTER environment
204         variable.  Problem reported by Michael G Schwern
205         <schwern@pobox.com>.
207         * src/roff/nroff/nroff.man: Document it.
208         Other minor updates.
210 2007-11-17  Heinz-Jürgen Oertel <hj.oertel@t-online.de>
212         * src/groff/preproc/pic/lex.cpp (table): Add box attributes
213         `xslanted' and `yslanted'.
215         * src/groff/preproc/pic/object.cpp (object_spec::object_spec):
216         Initialize `xslanted' and `yslanted'.
217         (graphic_object): Add methods `set_xlanted' and `set_yslanted'.
218         (closed_object): Ditto.
219         Add members `xslanted' and `yslanted'.
220         (box_object::print): Use them.
221         (object_spec::make_object): Handle slant values.
222         * src/groff/preproc/pic/object.h (IS_XSLANTED, IS_YSLANTED): New
223         constants.
224         (object_spec): Add members `xslanted' and `yslanted'.
225         * src/groff/preproc/pic/pic.y (XSLANTED, YSLANTED): New left-valued
226         tokens.
227         Add rules for them.
228         
229         * src/groff/preproc/pic/pic.man, NEWS, doc/pic.ms: Document above
230         changes.
232 2007-11-16  Werner LEMBERG  <wl@gnu.org>
234         * tmac/hyphenex.pl: Generate copyright notice (this has been
235         approved by Barbara Beeton).
236         * tmac/hyphenex.us: Updated.
238 2007-11-10  Michail Vidiassov  <master@iaas.msu.ru>
240         * tmac/doc-syms (doc-str-St--susv3): New string.
241         * tmac/groff_mdoc.man: Document it.
243 2007-11-08  Werner LEMBERG  <wl@gnu.org>
245         * src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be'
246         `utf-16le', `utf-16be-with-signature', `utf-16le-with-signature'.
247         (is_comment_line): Handle '\" and '\# also.
249         * src/preproc/preconv/preconv.man: Revise and make complete.
251 2007-10-25  Werner LEMBERG  <wl@gnu.org>
253         * tmac/cs.tmac: New file holding Czech strings, contributed by
254         Marcela Maslanova <mmaslano@redhat.com>.
255         * tmac/hyphen.cs, tmac/hyphenex.cs: New hyphenation pattern files
256         for Czech, taken from CTAN.
257         * LICENSES: Updated.
258         * tmac/Makefile (NORMALFILES): Add Czech stuff.
259         * doc/groff_tmac.man: Mention cs.tmac.
261 2007-10-21  Werner LEMBERG  <wl@gnu.org>
263         * src/roff/troff/input.cpp (do_ps_file): Handle `%X' in header
264         comments correctly.  Reported by Frank Jahnke
265         <jahnke@sonatabio.com>.
267 2007-10-02  Ruslan Ermilov  <ru@FreeBSD.org>
269         * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document
270         FreeBSD 5.5 and 7.0.
272         * tmac/doc-syms: Give better names for System V releases.
274 2007-09-25  Gaius Mulley  <gaius@glam.ac.uk>
276         * doc/Makefile.in, doc/Makefile.sub (.ms.html): Add -P-V switch to
277         the production of html files.
278         (pic.html): Ditto.
279         Remove background colour switch.
280         (.SUFFIXES, clean): Handle *.xhtml files.
282         * src/devices/grohtml/grohtml.man: Document that -V option now
283         generates an HTML-4.01 validator or XHTML validator.
285         * src/devices/grohtml/html-text.cpp (html_text::end_tag,
286         html_text::start_tag): Suppress <small>, <big>, and <color> tags if
287         we are inside a <pre> block.
289         * src/devices/grohtml/post-html.cpp
290         (html_printer::handle_valid_flag): Add a parameter to indicate
291         whether it needs to generate a paragraph block.
292         (html_printer::write_navigation): Updated.
293         (html_printer::do_file_components): Generate an HTML-4.01 blue
294         validator button also.
296 2007-09-23  Axel Kielhorn  <A.Kielhorn@web.de>
298         * man/groff.man: Fix URL of CSTR 54.
300 2007-09-23  Werner LEMBERG  <wl@gnu.org>
302         * man/groff_char.man: Normalize character set names as defined
303         by IANA.  Based on a patch from Axel Kielhorn.
305         * src/preproc/refer/label.y: Undo change from 2007-09-19.
307 2007-09-19  Werner LEMBERG  <wl@gnu.org>
309         * src/roff/troff/input.cpp (interpolate_arg): Remove compiler
310         warning.
312         * src/preproc/eqn/pile.cpp (pile_box::output, matrix_box::output):
313         Remove compiler warning.
315         * src/preproc/refer/label.y: Remove compiler warning.
317         * src/preproc/pic/pic.y: Remove doubled token entries.
319 2007-09-19  Gaius Mulley  <gaius@glam.ac.uk>
321         * doc/groff.texinfo: Document new .O register and add cross
322         reference entries.
324         * NEWS: Updated.
326         * src/devices/grohtml/grohtml.man: Document new -V and -y options.
328         * src/devices/grohtml/html-table.cpp: Add support for XHTML 1.1.
329         (html_table:: emit_colspan, html_table::emit_td): New methods.
330         (html_table::emit_col):  Use html_table::emit_td.
331         (html_table::emit_table_header): Use html_table::emit_colspan if
332         dialect xhtml is specified.
333         (html_table::finish_row): Updated.
335         * src/devices/grohtml/html-table.h (html_table): Declare
336         emit_colspan, emit_td.
338         * src/devices/grohtml/html-text.cpp: Modified tags to comply with
339         xhtml if this dialect was requested.
341         * src/devices/grohtml/html-text.h (html_dialect): New enumeration.
342         (html_text): Add new variable `dialect'.
344         * src/devices/grohtml/post-html.cpp: Modify header tags to be XHTML
345         compliant.
346         (valid_flag, groff_sig, dialect): New global variables. 
347         (html_printer::handle_valid_flag, html_printer::do_math,
348         html_printer::write_html_anchor, html_printer::write_xhtml_anchor,
349         html_printer::do_math, html_printer::handle_valid_flag): New
350         methods.
351         (html_printer::emit_line, html_printer::emit_raw,
352         html_printer::do_check_center, html_printer::write_title,
353         write_rule, html_printer::writeHeadMetaStyle, generate_img_src,
354         html_printer::begin_page): Altered to be XHTML compliant.
355         (html_printer::write_header): Updated.
356         (html_printer::troff_tag): Call do_math.
357         (html_printer::insert_split_file, html_printer::do_file_components,
358         html_printer::write_navigation): Create XHTML file components if
359         necessary and also produces a groff signature if requested.
360         (~html_printer): Call writeHeadMetaStyle at appropriate places
361         depending upon html_dialect.
362         (html_printer::special): Handle new tags `html<?p>' and `math<?p>'.
363         (main): Added options -x, -V, and -y.
364         (usage): Updated.
366         * src/preproc/eqn/box.cpp: Create a distinction between
367         the MathML device and the XHTML device.
368         (do_text): Issue a newline at the end of the equation if XHTML was
369         specified.
370         (box::top_level): Prefix the output of an equation by the .MATHML
371         macro.
372         (output_string): Suppress \n if XHTML was specified.
374         * src/preproc/eqn/main.cpp (xhtml): New global flag.
375         (inline_equation): Skip leading spaces after inline equation for
376         XHTML device.
377         (main): Set `xhtml' flag if `-Tmathml:xhtml' is specified.
379         * src/preproc/eqn/eqn.h (xhtml): New external flag.
381         * src/preproc/eqn/text.cpp (entity_table): Fix typo.
383         * src/preproc/html/pre-html.cpp (html_dialect): New enumeration.
384         (dialect, eqn_flag): New global variables.
385         (html_system): Improve debugging support.
386         (alterDeviceTo): Test for -Txhtml when altering device to the image
387         device and reset to -Txhtml.
388         (addZ): Renamed to...
389         (addArg): This.
390         Introducea a general parameter.
391         (print_args): New debugging function.
392         (char_buffer::run_output_filter): Use print_args and addArg rather
393         than addZ.
394         (char_buffer::do_html, char_buffer::do_image): Add -rxhtml=1 command
395         line parameter as an argument to the html generation of text when
396         xhtml is needed.  Include -e on the command line if mathml is
397         required.
398         (scanArguments): Allow -e, -V, -y and -x options.
399         -V, -y are handled by the back end.  -e sets `eqn_flag'.
400         -x determines HTML dialect.
402         * src/roff/groff/groff.cpp (possible_command): New method
403         `clear_name'.
404         (main):  Set eflag if -e is present on command line.
405         Set is_xhtml if -Txhtml is present.
406         Pass `-x x' to the HTML pre and post processors.
407         Pass `-e' to the HTML pre processor if required.
408         Pass `-Tmathml:xhtml' to eqn if XHTML is requested.
410         * src/roff/troff/input.cpp (init_input_requests): Introduce new
411         number register `\n[.O]'.
413         * tmac/s.tmac: (LP): Use .nop for semantic sugar.
414         (cov*ab-init) reformat.
415         (@EQ): Use EQN-HTML-IMAGE and friends rather than HTML-IMAGE.
416         (CHECK-FOOTER-AND-KEEP): Define FS, FE such that they use
417         <cite></cite> for the html device rather than generate images for
418         footnotes.
420         * tmac/troffrc-end: Define EQN-HTML-IMAGE,
421         EQN-HTML-IMAGE-END, EQN-HTML-IMAGE-RIGHT,
422         EQN-HTML-IMAGE-LEFT, EQN-HTML-IMAGE-INLINE,
423         EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END as null strings.
425         * tmac/www.tmac: (HTML<?p>): New macro.
426         (MATH<?p>): New macro.
427         (IMG, PIMG, MPIMG, HR): Use XHTML compliant syntax.
428         (www-emit-ltag): New macro.
429         (www-push-li): Updated.
430         (ULS): Ensure that tags are balanced in order by use of
431         www-emit-ltag.
432         (ULE): Likewise: Use www-emit-ltag and shut down paragraphs in
433         order.
434         (OLS, OLE, DLS, DLE): Ditto.
435         <global>: Define EQ and EN to EQN-HTML-IMAGE and EQN-HTML-IMAGE-END
436         respectively.
437         (www-li-ul, www-li-ol, www-li-dl): Updated.
438         (EQN-HTML-IMAGE, EQN-HTML-IMAGE-RIGHT, EQN-HTML-IMAGE-LEFT,
439         EQN-HTML-IMAGE-INLINE, EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END,
440         MATHML): New macros.
442 2007-09-17  Werner LEMBERG  <wl@gnu.org>
444         * man/groff_font.man: Document `unicode' keyword.
445         * doc/groff.texinfo (DESC File Format): Synchronize with
446         groff_font.man.
448 2007-09-15  Werner LEMBERG  <wl@nu.org>
450         * man/groff.man: Document `\_'.
451         * doc/groff.texinfo: Ditto.
452         Remove references to `\@' which isn't a valid escape sequence in
453         groff.
456         * tmac/unicode.tmac: Add ` and '.
457         * tmac/html.tmac: Load unicode.tmac.
459 2007-09-14  Werner LEMBERG  <wl@gnu.org>
461         * tmac/unicode.tmac: Make `-' a pure input character by mapping it
462         to `hy'.
464         * src/roff/troff/input.cpp (init_charset_table): Handle `hy'.
466 2007-09-11  Werner LEMBERG  <wl@gnu.org>
468         * src/libs/libgroff/string.cpp (string::remove_spaces): Fix memory
469         allocation.
471         * src/preproc/tbl/table.cpp (table::allocate): Initialize
472         `blockflag' array.
474 2007-09-10  Keith Marshall  <keith.d.marshall@ntlworld.com>
476         * README.MinGW: Add warnings about use of MSYS-RXVT, and about
477         defective GnuWin32 versions of netpbm/libpng.
479 2007-07-15  Keith Marshall  <keith.d.marshall@ntlworld.com>
481         * tmac/s.tmac (cov*first-page-init): Remove invoking trap, to avoid
482         possible recursion.
484 2007-07-11  Werner LEMBERG  <wl@gnu.org>
486         * gendef.sh: Add shebang.
488 2007-07-05  Werner LEMBERG  <wl@gnu.org>
490         * tmac/papersize.tmac: Fix dimensions of executive paper format. 
491         Reported by John Rupley <rupley@u.arizona.edu>.
493 2007-07-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
495         * tmac/s.tmac (cov*first-page-init): Emit error message if not in
496         top-level environment.
498 2007-06-12  Werner LEMBERG  <wl@gnu.org>
500         * src/devices/xditview/TODO, NEWS: Updated.
501         * src/devices/xditview/Makefile.sub (install_data, uninstall_sub):
502         Handle `GXditview-color'.
503         * src/devices/xditview/gxditview.man: Updated.
505         * m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated.
506         * m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated
507         from `gnulib' git repository.
509         * configure.ac: Updated.
510         * configure: Regenerated (using autoconf 2.61).
512         * config.guess, config.sub: Updated from `config' CVS repository.
513         * config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git
514         repository.
516 2007-06-12  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
518         * src/devices/xditview/GXditview.ad: Split off color definitions
519         into...
520         * src/devices/xditview/GXditview-color.ad: This new file.
522 2007-06-08  Fabrice Ménard  <menard.fabrice@wanadoo.fr>.
524         * tmac/fr.tmac: Handle chapter system for `me'.
526 2007-06-05  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
528         * src/devices/xditview/xditview.c (main): Add support for
529         accelerators.
531         * src/devices/xditview/GXditview.ad: Updated.
532         Make widget more colourful.
534 2007-05-30  Werner LEMBERG <wl@gnu.org>
536         * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.
537         Recommend `tbl' instead of `-column' lists for more complicated
538         cases.
540 2007-05-21  Werner LEMBERG  <wl@gnu.org>
542         * src/devices/grops/ps.cpp (ps_printer::set_char): Handle subfonts
543         correctly.
545 2007-04-10  Werner LEMBERG  <wl@gnu.org>
547         In pic, make rounded boxes work with colors.  Reported by Urs Eggli
548         <Urs.Eggli@zuerich.ch>.
550         * src/preproc/pic/common.h (common_output), src/preproc/pix/output.h
551         (output): Add color parameter to `rounded_box' member function.
553         * src/preproc/pic/common.cpp (common_output::rounded_box): Use it.
555         * src/preproc/pic/object.cpp (box_object::print): Pass `color_fill'
556         to `out->rounded_box'.
558 2007-04-09  Michail Vidiassov  <master@iaas.msu.ru>
560         * font/devps/generate/textmap: Add Greek letters and some more.
562         * src/utils/afmtodit/afmtodit.tables: Change values of `Delta',
563         `Omega', and `mu' to the ones from aglfn.txt.
565 2007-04-08  Keith Marshall  <keith.d.marshall@ntlworld.com>
567         * tmac/s.tmac (SN): Define unconditionally.
568         (SN-STYLE): New string; define.
570         * NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
572 2007-03-22  Werner LEMBERG  <wl@gnu.org>
574         * tmac/pspic.tmac: Fix harmless numeric overflow warning.  Reported
575         by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
577 2007-03-20  Werner LEMBERG  <wl@gnu.org>
579         * tmac/trace.tmac (rn): Added.
580         (nr, ds, ds1, as, as1, substring): Restore escape character while
581         executing the macro.
582         (nr): Remove dead code.
584         * src/preproc/eqn/box.cpp (box::top_level): Use \E in string
585         definitions to make them traceable.
587 2007-03-19  Werner LEMBERG  <wl@gnu.org>
589         * src/roff/troff/input.cpp (get_copy): Add third argument to control
590         whether \E shall be expanded.
591         (get_char_for_escape_name): Allow \E.
593 2007-03-15  Werner LEMBERG  <wl@gnu.org>
595         * tmac/s.tmac (MO, CH, pg*OH, pg*EH, pg*OF, pg*EF, *, [., .],
596         par*define-font-macro, \[hooko]): Use \E to make it traceable.
598         (ref*field): Add argument to control the space between previous and
599         current argument.
600         Update all callers.
601         (ref*add-N): Fix handling of opening parenthesis.  Problem reported
602         by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
604 2007-03-14  Werner LEMBERG  <wl@gnu.org>
606         * tmac/trace.tmac (als): Added.
607         (de, de1, am, am1): Make traced macros aliased with .als work.
609 2007-02-25  Werner LEMBERG  <wl@gnu.org>
611         * src/devices/xditview/TODO: Add some more items.
613         * Makefile.comm (.man.n): Add @APPRESDIR@.
614         Sort entries.
616         * src/devices/xditview/gxditview.man: Document GXditview resource
617         file.
618         Other documentation enhancements based on a patch from Jörg.
620 2007-02-25  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
621             Joerg van den Hoff <j.van_den_hoff@fzd.de>
623         * src/devices/xditview/GXditview.ad: Make all keys work regardless
624         of the current mouse position.
626 2007-02-20  Werner LEMBERG  <wl@gnu.org>
628         * tmac/groff_man.man: Revised to improve visual appearance.
629         Reduce use of future tense.
631         * tmac/groff_trace.man: Revosed to improve visual appearance.
633 2007-02-19  Eric S. Raymond  <esr@snark.thyrsus.com>
635         Make groff.man viewer-portable.
637         * tmac/groff.man: Eliminate use of .eo/.ec.
638         (.REQ): Surround args 2 through N with quotes.  This will enable us
639         not to rely on the shift request, which is nonportable.
640         (ExecFF): Remove.  The code is simpler without it.
642 2007-02-18  Eric S. Raymond  <esr@snark.thyrsus.com>
644         * tmac/groff_www.man: Viewer-portability fixes.
646 2007-02-16  Eric S. Raymond  <esr@snark.thyrsus.com>
648         * man/groff.man: Remove some unneeded code and a no-longer-used
649         inclusion of the www macros.
651 2007-02-12  Werner LEMBERG  <wl@gnu.org>
653         * src/preproc/tbl/table.cpp (compute_span_width): Fix use of
654         AVAILABLE_REG.
655         (table::compute_widths): Simplify.
657 2007-02-11  Werner LEMBERG  <wl@gnu.org>
659         * src/preproc/tbl/table.h: Don't include `stdbool.h'.
660         (table): Replace `bool' type with `char' for orthogonality.
661         Update all users.
663         * src/preproc/tbl/table.cpp (block_entry::do_divert): Fix usage of
664         AVAILABLE_REG and COLCOUNT_REG.
665         (table::table): Fix order call of initializers.
666         (table::~table): Deallocate `blockflag'.
668 2007-02-09  Eric S. Raymond  <esr@snark.thyrsus.com>
670         A try at the new rule for block column allocation is now enabled by
671         the new `experimental' global option: The horizontal space up to the
672         right margin which is not used by columns without text blocks is
673         evenly distributed to the columns with text blocks.
675         It doesn't work right as yet; there appears to be some error in the
676         computation of `3avail', the available line length.  The purpose of
677         this patch is (a) to make experimenting with other formulas easy,
678         and (b) leave the infrastructure for flag `experimental' in place
679         for future experiments.  Do not document any behavior associated
680         with this flag!
682         * src/preproc/tbl/table.h: Include `stdbool.h'.
683         (table): Make `flags' public.
684         Add `count_block_columns' function.
685         Add `blockflag' array.
686         Add `EXPERIMENTAL' enumeration value.
688         * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): New
689         macros.
690         (table_entry): New member `parent' so that class and subclass
691         members can set a parent field.  Update all users.
692         (block_entry::do_divert): Handle `EXPERIMENTAL' flag.
693         (block_entry::do_width): Set the parent's `blockflag'.
694         (table::allocate): Handle `blockflag'.
695         (table::count_block_columns): New function.
696         (compute_span_width): Adjust AVAILABLE_REG.
697         (table::compute_widths): Handle COLCOUNT_REG and AVAILABLE_REG.
699         * src/preproc/tbl/main.cpp (process_options): Handle `experimental'
700         option.
702 2007-02-08  Zhao, Yu (William)  <yzhao2@alcatel-lucent.com>
704         * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) <'e'>: Set
705         line thickness.
707 2007-02-08  Werner LEMBERG  <wl@gnu.org>
709         * man/groff_out.man (offset): Make it work reliably.
711 2007-02-07  Eric S. Raymond  <esr@snark.thyrsus.com>
713         * man/groff_out.man: Simplify some font changes so \fP is less
714         likely to do something surprising.
715         
716         * man/groff_out.man: We can simplify the command macros still
717         further if we stop trying to hide structural requests inside them. 
718         Also, fix some instances of \} at start of line without a dot, and
719         make some font changes explicit in strings.
720         
721         * man/groff_out.man: Cleanup -- remove now-unneeded uses of .do and
722         .cp.
723         
724         * man/groff_out.man: Final step: Reduce x-command, get rid of eo/ec
725         calls and fix macros to do without them.  File should now be
726         viewer-portable.
727         
728         * man/groff_out.man: Fourth step: Eliminate use of eqn in favor of
729         micromotions that produce the same visual result and can be lifted
730         to XML-DocBook.
731         
732         * man/groff_out.man: Third step: Reduce Da-comand, fix a
733         call-sequence bug in the original.
734         
735         * man/groff_out.man: Second step: Reduce D-commmand and D-command+,
736         move font-change escapes to portable form.
738         * man/groff_out.man: First step in macro simplification; eliminate
739         list1..n, simplify .offset and .index_offset so they no longer
740         require groff-specific features or eqn (instead, use troff
741         micromotions for subscripting).
743 2007-02-06  Eric S. Raymond  <esr@snark.thyrsus.com>
745         * src/preproc/eqn/eqn.man: Minor corrections.
747         * tmac/an-ext.tmac: Change .UR/.UE and .MT/.ME so the start macro no
748         longer takes a second argument that is pasted to the end of the
749         generated text.  Instead, the end macro takes an argument that does
750         the same thing.
752         * man/ditroff.man, man/groff_diff.man, man/groff.man,
753         man/groff_out.man, man/groff_tmac.man, man/roff.man,
754         src/roff/groff/groff.man, src/roff/grog/grog.man,
755         tmac/groff_man.man, tmac/groff_trace.man: Update accordingly.
757         * src/roff/troff/troff.man: .SY and .YS are canned macros now,
758         so we can use them here.
759         
760 2007-02-05  Eric S. Raymond  <esr@snark.thyrsus.com>
762         * src/preproc/eqn/lex.cpp, src/preproc/eqn/eqn.man:
763         By popular demand, make ... set three lower dots again
764         and introduce a new predefined macro 'cdots' to set
765         three centered dots.
767 2007-02-05  Werner LEMBERG  <wl@gnu.org>
769         * src/preproc/eqn/eqn.man: Revised.
771         * src/preproc/eqn/text.cpp (map, special_char_boc::output): Use
772         `const'.
773         (spacing_type): Fix typo.
774         (special_to_entity): Use `const'.
775         Remove unused variable.
776         * src/preproc/eqn/other.cpp (font_box::output): Use `const'.
778 2007-02-05  Eric S. Raymond  <esr@snark.thyrsus.com>
780         * src/devices/grotty/grotty.man: \m[] and \M[] aren't portable,
781         which is a shame as the effect was cute.
783 2007-02-04  Eric S. Raymond  <esr@snark.thyrsus.com>
785         * man/groff_tmac.man, man/groff_diff.man: Portability conversion;
786         rip out over-elaborate macrology, use .EX/.EE and .UR/.UE where
787         possible, remove preamble declarations and macros that are no
788         longer needed.  Conversion checked using the protocol described in
789         tmac/TESTING-HINTS.
791 2007-02-03  Werner LEMBERG  <wl@gnu.org>
793         * tmac/an-old.tmac (LP, IP, HP): Use .ns to suppress additional
794         vertical space.
796 2007-02-03  Eric S. Raymond  <esr@snark.thyrsus.com>
798         * tmac/groff_man.man: Documented the extension macros, and 
799         added portability advice.
801         * MORE.STUFF: More-stuff entries for doclifter and pic2plot.
804         Add support for MathML output to eqn.  
806         The strategy used is very simple and relies on the fact that the box
807         models of eqn and Presentation MathML differ in only trivial ways. 
808         It leaves the grammar and existing internal object structures
809         unchanged.  A new global, `output_format', is defined as an
810         enumerated type with values {troff, mathml}.  Most of the functions
811         and methods that emit actual output acquire a top-level conditional,
812         dispatching on this global, which has one arm for troff mode and one
813         for MathML mode.  In most cases the MathML arm is drastically
814         simpler.
816         (This strategy could be easily generalized to support other output
817         formats.  TeX is a possibility that leaps to mind.)
819         The only even moderately tricky changes are in the lexer.  Some of
820         the predefined macros used constructs like `up', `down', `fwd',
821         `back', and `vcenter' that have no equivalents in MathML.  I
822         attacked this problem in these ways:
824         1. I eliminated three uses of `back' to compose characters in favor
825            of using equivalent groff specials `\(<<', `\(>>', and `\(<>'
826            that did not exist when these macros were written.  (This will be
827            a quality improvement for troff users.)
829         2. I eliminated one use of `vcenter' by using \\(md.  (Likewise...)
831         3. I then split the table of pre-definitions in three; one large
832            common table and two small troff-specific and MathML-specific
833            tables.  Use of troff-only operations (up, down, back, fwd,
834            vcenter) is now confined to the former.  The latter now uses
835            `size big' and drops out the explicit positioning operations,
836            counting on MathML processors to do them.
838         POTENTIAL TROUBLE SPOTS:
840         Here are notes for reviewers on places I'm not 100% sure I've done
841         the right thing:
843         * In the process of preparing the troff table, I translated three
844           definitions (dot_def, dotdot_def, and utilde def) that previously
845           used explicit \v escapes to use `up' and `down' instead.  I
846           modeled the new definitions on the way `vec' and `dyad' work, but
847           it's possible I got something subtle wrong.
849         * I'm not certain the MathML implementation of font_box::output() is
850           right, because I don't quite get what the switcheroo between
851           `current_roman_font' and `old_roman_font' is supposed to
852           accomplish.  It does seem to generare good MathML, though.
854         Finally, I made one purely cosmetic change in `text.cpp'; I replaced
855         with an enum some magic numbers for spacing types that I thought
856         were too ugly to live.
858         REMAINING ISSUES:
860         The entirety of eqn is translated when `-TMathML' is specified, 
861         with the following exceptions...
863         Limitations that cannot be fixed include non-support for special,
864         up/down/fwd/back, and vcenter.
866         Limitations that might be fixable include non-support for mark and
867         lineup.  I will investigate further, but if these can be implemented
868         at all it's going to be in a very complicated and nasty way.
870         The way character boxes are output means that each digit of a
871         multi-digit number gets its own <mn></mn> tag pair in the MathHTML. 
872         While this is not technically wrong for Presentation MathML, it is
873         ugly and inefficient.  Fixing this will require implementing a
874         little state machine in the `text.cpp' output method.
876         * src/preproc/eqn/box.cpp, src/preproc/eqn/delim.cpp, 
877         src/preproc/eqn/eqn.h, src/preproc/eqn/eqn.man, 
878         src/preproc/eqn/lex.cpp, src/preproc/eqn/limit.cpp,
879         src/preproc/eqn/list.cpp, src/preproc/eqn/main.cpp, 
880         src/preproc/eqn/other.cpp, src/preproc/eqn/over.cpp, 
881         src/preproc/eqn/pile.cpp, src/preproc/eqn/script.cpp,
882         src/preproc/eqn/sqrt.cpp, src/preproc/eqn/text.cpp,
883         src/preproc/eqn/eqn.man: MathML output mode.
885         * NEWS: Document it.
887 2007-02-02  Eric S. Raymond  <esr@snark.thyrsus.com>
889         * src/roff/groff/groff.man: Converted to use .SY/.OP/.YS
890         and for cross-viewer portability.  Conversion checked 
891         using the protocol described in tmac/TESTING-HINTS.
893 2007-02-02  Werner LEMBERG  <wl@gnu.org>
895         * tmac/an-ext.tmac (ME): Don't use `\:'.
897         * src/roff/grog/grog.man: Further refinements and normalizations.
899 2007-02-02  Eric S. Raymond  <esr@snark.thyrsus.com>
901         * src/roff/grog/grog.man: Converted to use .SY/.OP/.YS and for
902         cross-viewer portability.  Conversion checked using the protocol
903         described in tmac/TESTING-HINTS.
905 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
907         * tmac/TESTING-HINTS: Added.
909 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
911         Enable the support for Bell archaisms on .SC, so the `-r bell'
912         switch is no longer needed to format old AT&T papers like
913         the EQN user guide.
915         * tmac/s.tmac (.SC, .UC, .P1, .P2): Updated.
917         * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Updated.
919 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
921         Add some Bell labs extensions to the -ms macros.
923         * tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros.
925         * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
927 2007-01-30  Werner LEMBERG  <wl@gnu.org>
929         * tmac/an-ext.tmac (\n[EX]): Rename to \n[mX].
930         (\n[mH]): New register (set if grohtml is used).
931         (\n[SY]): Rename to \n[mS].
932         (\n[a]): Rename to \n[mA].
933         (\n[i]): Rename to \n[mI].
934         (mU): New auxiliary input trap macro.
935         (UR, UE): Replace stub with real definition.
936         (URL): Remove.
937         (MT, ME): New macros.
938         (MTO): Remove.
939         (EX, EE): Don't insert vertical space.
940         Use a register to store (and restore) the current font.
942         * man/ditroff.man, man/groff_diff.man, man/roff.man: Revised, based
943         on patches from Eric Raymond.
944         Fix URL addresses.
946 2007-01-22  Gaius Mulley  <gaius@glam.ac.uk>
948         * tmac/an-old.tmac (an-trap, HP): Make `HP' work as expected.
950 2007-01-22  Werner LEMBERG  <wl@gnu.org>
952         * tmac/an-ext.tmac: Protect against being sourced twice.
953         (URL, EE): Use always two backslashes.
954         (MTO): New macro.
956 2007-01-16  Werner LEMBERG  <wl@gnu.org>
958         * tmac/an-ext.tmac: Remove code for grodvi.
959         (SY): Fix typos.
960         Don't insert empty line.
961         (URL, TQ): Fix typos.
963 2007-01-14  Werner LEMBERG  <wl@gnu.org>
965         * tmac/an-ext.tmac: New file, containing extension macros
966         for -man.  See discussion on the groff mailing list for
967         background information.
968         * tmac/an-old.tmac: Load an-ext.tmac.
969         Decorate .ds and as with comment escapes where appropriate.
970         * tmac/Makefile.sub (NORMALFILES): Add an-ext.tmac.
972 2007-01-05  Werner LEMBERG  <wl@gnu.org>
974         * src/preproc/tbl/tbl.man: Document .T# and \n[TW].
976 2007-01-04  Gaius Mulley  <gaius@glam.ac.uk>
978         Make -me macros ready for grohtml.
980         * tmac/e.tmac: Load devtag.tmac.
981         (need_eo_h, need_eo_tl, need_tl): New registers.
982         (check_need_title, (x-html, )x-html, xp-html): New macros.
983         (@h, hl, ip, @p, sh, (b, (l, EQ, EN, TS, TE, PS, PE, GS, GE, r, i,
984         b, rb, bi, bx, (x, )x, xp): Adapt for use with grohtml.
985         (bp): Rename to @b only if output device is not html.
987 2007-01-01  Werner LEMBERG  <wl@gnu.org>
989         * man/groff_font.man: Document empty lines.
991         * src/utils/afmtodit/afmtodit.pl: Always print a header comment at
992         the very beginning of the output.
993         [!$opt_x]: Fix typo.
995         * font/devps/*: Regenerate font definition files.
997 2007-01-01  Werner LEMBERG  <wl@gnu.org>
999         * font/devps/generate/Makefile (AFMTODIT): Use -c flag.
1001         * font/devps/*: Regenerate font definition files.
1003 2006-12-31  Werner LEMBERG  <wl@gnu.org>
1005         * Makefile.in (oldfontdir): New variable.
1006         (MDEFINES): Add $(oldfontdir).
1007         (uninstall_dirs): Remove `current' link.
1008         Remove $(oldfontdir).
1010         * Makefile.comm (oldfontsubdir): New variable.
1011         (install_dev): Install files collected in $(OLDDEVFILES) into
1012         $(oldfontsubdir).
1013         (uninstall_dev): Remove data in $(oldfontsubdir).
1014         (.man.n): Handle @OLDFONTDIR@.
1016         * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
1017         src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
1018         src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
1019         Document GROFF_FONT_PATH.
1021         * src/devices/grops/grops.man: Document GROFF_FONT_PATH and
1022         old font description files.
1024         * font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
1025         variables.
1027         * font/devps/old/*: New directory, holding the previous version
1028         of the 35 Adobe core font description files.
1030         * font/devps/*: Regenerated the 35 Adobe core fonts, using the
1031         Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.
1033         * NEWS: Document font update.
1035 2006-12-31  Werner LEMBERG  <wl@gnu.org>
1037         * font/devps/generate/Makefile (symbolsl.afm): Use $(srcdir).
1039         * Makefile.comm (fonts): New (empty) target.
1040         * Makefile.in (TARGETS): Add `fonts'.
1042         * MANIFEST: Add `chem'.
1044         * doc/groff.texinfo (Changing Fonts): Font translations with .ftr
1045         can't be chained.
1047 2006-12-26  Werner LEMBERG  <wl@gnu.org>
1049         * src/preproc/grn/hdb.cpp: Include gprint.h later.  From NetBSD.
1051 2006-12-19  Werner LEMBERG  <wl@gnu.org>
1053         Add support for German.  For activation, simply use -mde or -mden
1054         (for traditional and new orthgraphy, respectively) as the last
1055         macro package.
1057         * tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den,
1058         tmac/hyphenex.det: New files, partly taken from CTAN.
1059         * LICENSES: Updated list of hyphenation patterns.
1060         * man/groff_tmac.man: Mention de.tmac and den.tmac.
1061         * NEWS: Updated.
1063 2006-12-11  Werner LEMBERG  <wl@gnu.org>
1065         Support up to 32 macro arguments in pic (and up to 16 on EBCDIC
1066         hosts).
1068         * src/preproc/pic/lex.cpp (ARG1): Redefine.  Update all users.
1069         (MAX_ARG): New macro.  Use it everywhere to replace hard-coded
1070         limit of 9 arguments.
1071         (process_body): Handle argument numbers with more than a single
1072         digit.
1073         (interpolate_macro_with_args): Protect against exceeding number of
1074         arguments.
1076         * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
1078 2006-12-10  Werner LEMBERG  <wl@gnu.org>
1080         * Makefile.in (site.exp, docheck): Commented out.  Not working
1081         currently.
1082         (check): Just emit dummy message.
1084 2006-12-08  Werner LEMBERG  <wl@gnu.org>
1086         During installation, create soft link from <version> to `current' in
1087         <datadir>/groff.
1089         * Makefile.comm (install): Renamed to...
1090         (do_install): This.
1091         (prefix_must_exist): Removed.  Code moved to Makefile.in.
1093         * Makefile.in (TARGETS): Remove `install'.
1095         (install): New target which first creates the directory given by
1096         --prefix, then calling `make' to do the installation, and finishing
1097         with the creation of the soft link.
1099 2006-11-21  Werner LEMBERG  <wl@gnu.org>
1101         * doc/Makefile.sub (uninstall_sub): Fix names for info files.
1103 2006-11-18  Werner LEMBERG  <wl@gnu.org>
1105         * man/roff.man, doc/groff.texinfo: Improve history of roff, based on
1106         information from Tom Van Vleck <thvv@multicians.org>.
1108 2006-11-16  Werner LEMBERG  <wl@gnu.org>
1110         * tmac/62bit.tmac: New macro package.
1111         * tmac/Makefile.sub (NORMALFILES): Add it.
1112         * NEWS: Document it.
1114         * tmac/trace.tmac: Protect against being loaded again.
1115         (nr): Always show result.
1117         * doc/groff.texinfo (Input Encodings): Document latin-5.
1119         * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
1121 2006-11-13  Werner LEMBERG  <wl@gnu.org>
1123         * doc/groff.texinfo (Page Location Traps) [.wh]: Give more details
1124         on negative trap positions.
1126 2006-11-10  Werner LEMBERG  <wl@gnu.org>
1128         * Makefile.comm (.man.n): Handle @DATASUBDIR@.
1130 2006-11-09  Werner LEMBERG  <wl@gnu.org>
1132         * INSTALL: Move information about external installation from
1133         INSTALL.gen into this file.
1134         Updated.
1136         * INSTALL.gen: Update to new version (from texinfo CVS).
1138 2006-11-09  Bernd Warken
1140         * INSTALL.gen: Extend the file by information on `external
1141         installation'.  Reorder the installation instruction as `normal
1142         installation'. 
1144 2006-11-08  Werner LEMBERG  <wl@gnu.org>
1146         * doc/Makefile.sub (install_data): Take care of proper paths while
1147         installing info files.  Bug reported by Bernd Warken.
1149 2006-11-06  Bernd Warken
1151         * src/roff/grog/grog.pl: Rewrite.
1152         - Call by `#! /usr/bin/env perl'.  That isn't replaced.
1153         - Rename usage() to version().
1154         - Use warnings.
1155         - For `use strict', start all global variables with an upper case
1156         character.  Use `my' for all variables.  Use several new variables.
1157         - Add option `-h'.
1158         - Add copyright to GPL and Emacs comment.
1159         - Handle several `-m*' options.
1160         - Fix handling of `-ms' and `-mm'.  Add .TL and .NH.
1161         - Allow options after file names.
1162         - Allow only one `-' parameter (standard input).
1163         - Add option abbreviations.
1164         - Expand the usage information.
1165         - Add `chem'.
1166         - Add single quote "'" as additional first character and allow
1167         arbitrary space after the first character.
1169         * src/roff/grog/grog.sh: Rewrite.
1170         - Remove option `-e' of `sed'.
1171         - Allow file names with space characters.
1172         - Add option `-h'.
1173         - Add copyright to GPL.
1174         - Handle several `-m*' options.
1175         - Fix handling of `-ms' and `-mm'.  Add .TL and .NH.
1176         - Allow options after file names.
1177         - Allow only one `-' parameter (standard input).
1178         - Add option abbreviations.
1179         - Expand the usage information.
1180         - Add `chem'.
1181         - Add single quote "'" as additional first character and allow
1182         arbitrary space after the first character.
1184         * src/roff/grog/Makefile.sub:
1185         - Add copyright to GPL.
1186         - Remove `grog:'.  Move `grog.old:' to `grog:' in order to have a
1187         fair chance to choose between the shell version and the Perl
1188         version of `grog'.  This is now again comparable to grog in groff
1189         version 1.10.
1191         * src/roff/grog/grog.man: Rewrite.
1192         - Move the license to GPL.
1193         - New sections: OPTIONS, DETAILS, EXAMPLES, COPYING.
1194         - Take over some setup and macros from `groffer'.
1195         - Add information on options.
1197 2006-10-28  Werner LEMBERG  <wl@gnu.org>
1199         * tmac/trace.tmac: Improve tracing of `.nr'.
1200         Trace `.substring' also.
1202         * NEWS: Updated.
1204 2006-10-28  Bernd Warken
1206         * man/roff.man, src/roff/groff/groff.man: Add `chem', fix position
1207         of groff development site, fix fonts.
1209         * News: Add information on `chem' and `groffer'.
1211 2006-10-26  Bernd Warken
1213         * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add `chem' bundle.
1215 2006-10-26  Werner LEMBERG  <wl@gnu.org>
1217         Add `\$^' escape to handle the parameters to a macro as a string
1218         argument.
1220         * src/roff/troff/input.h (DOUBLE_QUOTE): New special character.
1222         * src/roff/troff/input.cpp (input_iterator, input_stack,
1223         macro_iterator): Add `space_follows_arg' member function.
1224         (macro_iterator::add_arg): Add parameter to set the `space_follows'
1225         flag.
1226         (arg_list): Add member `space_follows'.
1227         Update constructor and all callers.
1228         (decode_args): Store discarded double quotes.
1229         (interpolate_args): Handle DOUBLE_QUOTE.
1230         Add `\$^' escape.
1231         (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE.
1233         * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1.
1235         * docs/groff.texinfo (Parameters), man/groff.man,
1236         man/groff_diff.man, NEWS: Document it.
1238 2006-10-24  Bernd Warken
1240         * Makefile.in (NOMAKEDIRS): Add groffer subdirectories.
1242 2006-10-24  Werner LEMBERG  <wl@gnu.org>
1244         * tmac/groff_trace.man: Mention problem with `\\\\'.
1246 2006-10-23  Werner LEMBERG  <wl@gnu.org>
1248         * doc/groff.texinfo (Expressions): Improve documentation of `!'.
1250         * tmac/trace.tmac (return): Don't call `substring'.
1252 2006-09-10  Werner LEMBERG  <wl@gnu.org>
1254         * src/roff/troff/input.cpp (read_size): Revert previous change
1255         w.r.t. `\s-[-...]'.
1257         * doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
1259 2006-09-09  Werner LEMBERG  <wl@gnu.org>
1261         * src/roff/troff/input.cpp (read_size): Fix `\s[-\n[.s]]' so that it
1262         behave the same as `\s-[\n[.s]]' (this is, emit a warning and set
1263         point size to 1).  Reported by Gunnar Ritter.
1264         Also catch `\s-[-...]' and friends (causing an error).
1266 2006-09-06  Werner LEMBERG  <wl@gnu.org>
1268         * src/roff/troff/env.cpp (environment::do_break): Insert zero-width
1269         space only if there is no previous space.  This fixes a bug which
1270         caused unwanted filling of the last line in a paragraph.  Thanks to
1271         Gunnar Ritter for an analysis.
1273 2006-09-03  Werner LEMBERG  <wl@gnu.org>
1275         * src/roff/groff/groff.cpp (main): Pass -U flag to pic also.
1276         Reported by Jennifer Sayers <jenjen@isu.usyd.edu.au>.
1278 2006-09-01  Nick Stoughton  <nick@msbit.com>
1279             Werner LEMBERG  <wl@gnu.org>
1281         Add a request `pev' to print environment information (similar to
1282         `pnr' and `ptr' to print number registers and traps).
1284         * src/roff/troff/env.h (environment): Add member function print_env.
1286         * src/roff/troff/env.cpp: (environment::print_env): New function to
1287         print a given environment state.
1288         (print_env): New global function to iterate through the
1289         environments, printing each one.
1290         (init_env_requests): Register `pev'.
1292         * doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man,
1293         NEWS: Document `pev' request.
1295 2006-09-01  Bernd Warken
1297         * src/preproc/soelim/soelim.cpp (usage): Fix option argument of
1298         `-I' to `dir'.
1300 2006-09-01  Werner LEMBERG  <wl@gnu.org>
1302         * src/preproc/pic/main.cpp (usage): Add missing options.
1304 2006-08-25  Werner LEMBERG  <wl@gnu.org>
1306         * src/preproc/soelim/soelim.man: Document how to insert `\' and ` '
1307         in file names.
1309 2006-08-19  Werner LEMBERG  <wl@gnu.org>
1311         * configure: Regenerated.
1313 2006-08-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
1315         * m4/groff.m4 (GROFF_MAKEINFO): Correct `makeinfo version testing
1316         logic; it previously caused an `expr' syntax error, if no version of
1317         `makinfo' was present.  Also, remove dependency on `makeinfo' in VPATH
1318         builds, if an up to date `groff.info' is present in either `builddir'
1319         or in `srcdir'.
1321 2006-08-12  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
1323         * font/devps/prologue.ps: Add BPhook.
1325         * src/devices/grops/grops.man: Document BPHook.
1326         Reorder some sections for better readability.
1328 2006-08-12  Werner LEMBERG  <wl@gnu.org>
1330         * src/include/lib.h (getlocale): New macro.
1331         (setlocale, LC_ALL, LC_CTYPE) [!HAVE_SETLOCALE]: Define, as
1332         suggested by Bruno.
1334         * src/preproc/preconv/preconv.cpp (main): Use getlocale.
1336 2006-08-11  Werner LEMBERG  <wl@gnu.org>
1338         Add new flag to .cflags to enable hyphenation without looking at
1339         hcode values.
1341         * src/roff/troff/charinfo.h (charinfo): New enumeration value
1342         `IGNORE_HCODES'.
1343         New member function `ignore_hcodes'.
1345         * src/roff/troff/node.cpp (break_char_node::add_self,
1346         node::add_char): Updated.
1348         * doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
1350 2006-08-09  Werner LEMBERG  <wl@gnu.org>
1352         Support composite Unicode characters again.  Reported by Colin.
1354         * font/devhtml/R.proto: Renamed to...
1355         * font/devhtml/R.in: This.
1357         * font/devutf8/R.proto: Renamed to...
1358         * font/devutf8/R.in: This.
1359         Add `charset' line.
1361         * font/make-Rproto: New script.
1362         * font/devhtml/R.proto, font/devutf8/R.proto: Generated.
1364 2006-07-26  Werner LEMBERG  <wl@gnu.org>
1366         * README: Fix description of CVS access.  Reported by Joachim.
1368 2006-07-11  Werner LEMBERG  <wl@gnu.org>
1370         Add a request `.fzoom' and a number register `.zoom' to magnify
1371         fonts.
1373         * src/include/font.h (font): Add member variable `zoom'.
1374         Add member functions `set_zoom' and `get_zoom'.
1375         Remove `static' attribute from `scale' member function.
1377         * src/libs/libgroff/font.cpp (font::font): Updated.
1378         (scale_round): New version with three parameters to handle zoom
1379         factor.
1380         (font::scale, font::get_width): Handle zoom factor.
1381         (font::set_zoom, font::get_zoom): New functions.
1382         (font::load): Handle `zoom' while computing `space_width'.
1384         * src/roff/troff/env.h: Declare `env_get_zoom'.
1385         (environment): Add member function `get_zoom'.
1387         * src/roff/troff/env.cpp (environment::get_zoom): New function.
1388         (init_env_requests): Initialize `.zoom' register.
1390         * src/roff/troff/node.cpp (font_info): New member functions
1391         `set_zoom' and `get_zoom'.
1392         (tfont): New member function `get_zoom'.
1393         (env_get_zoom): New function.
1394         (troff_output_file::set_font): Handle zoom factor.
1395         (font_zoom_request): New function.
1396         (init_node_requests): Initialize `fzoom' request.
1398         * docs/groff.texinfo (Changing Fonts), man/groff.man,
1399         man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
1400         register.
1402         * src/roff/troff/TODO: Updated.
1404 2006-07-10  Werner LEMBERG  <wl@gnu.org>
1406         * doc/groff.texinfo (Drawing Requests): Improve documentation of
1407         \D'P ...'.
1409 2006-07-02  Werner LEMBERG  <wl@gnu.org>
1411         * man/groff_tmac.man: Document usage of .PSPIC within diversions.
1413 2006-07-01  Werner LEMBERG  <wl@gnu.org>
1415         * tmac/pspic.tmac: Make .PSPIC work for all devices.
1416         Print image file name for devices which don't support PS image
1417         inclusion.
1418         Handle multiple inclusions.
1419         Add lots of comments.
1421         * tmac/dvi.tmac, tmac/html.tmac, tmac/ps.tmac: Don't load
1422         pspic.tmac.
1424         * tmac/troffrc: Load pspic.tmac.
1426         * man/groff_tmac.man: Update .PSPIC documentation.
1428         * NEWS: Updated.
1430 2006-06-29  Werner LEMBERG  <wl@gnu.org>
1432         * src/roff/troff/input.cpp (interpolate_macro):
1433         s/probably/possibly/, as suggested by Keith.
1435 2006-06-28  Werner LEMBERG  <wl@gnu.org>
1437         Add support for \D'p...' to grotty.
1439         * src/devices/grotty/grotty.cpp (tty_printer::draw): Move most of
1440         its code to...
1441         (tty_printer::line): This function.
1442         (tty_printer::draw): Rewritten; just call either draw_line or
1443         draw_polygon.
1444         (tty_printer::draw_line, tty_printer::draw_polygon): New functions.
1446         * src/devices/grotty/grotty.man, NEWS: Document it.
1448 2006-06-27  Werner LEMBERG  <wl@gnu.org>
1450         * src/preproc/refer/command.h (have_bibliography): New variable
1451         declaration.
1453         * src/preproc/refer/command.cpp (bibliography_command): Set
1454         `have_bibliography'.
1456         * src/preproc/refer/refer.cpp: Initialize `have_bibliography'.
1457         (output_references): Emit warning only if `have_bibliography' is
1458         set.
1460 2006-06-15  Michail Vidiassov  <master@iaas.msu.ru>
1462         * font/devps/Makefile.sub (DISTFILES): Add freeeuro.afm.
1463         * font/devps/generate/Makefile (clean): Don't remove symbolsl.afm
1464         and zapfdr.afm.
1466 2006-06-15  Werner LEMBERG  <wl@gnu.org>
1468         * src/preproc/tbl/tbl.man: Document limitations of .TS/.TE within a
1469         macro (as suggested by Tadziu Hoffmann).
1471 2006-06-12  Werner LEMBERG  <wl@gnu.org>
1473         * src/preproc/tbl/tbl.man: Add example for use of .TS/.TE within a
1474         macro (as suggested by Tadziu Hoffmann).
1476 2006-06-05  Werner LEMBERG  <wl@gnu.org>
1478         * tmac/strip.sed: Strip `\#' also.
1480         * doc/groff.texinfo (Operators in Conditionals): Document usage of
1481         \? for string comparison.
1483 2006-06-04  Werner LEMBERG  <wl@gnu.org>
1485         * doc/groff.texinfo: Add more index entries for copy-in mode.
1486         (Changing Fonts) <.ft>: Document that a font definition file must
1487         not be called `DESC'.
1489 2006-05-31  Werner LEMBERG  <wl@gnu.org>
1491         * src/roff/troff/input.cpp (token::next) <\N>: Catch negative values
1492         here.
1494         * doc/Makefile.sub (EXAMPLEFILES): Move gnu.eps to...
1495         (PROCESSEDEXAMPLEFILES): Here.
1497 2006-05-30  Werner LEMBERG  <wl@gnu.org>
1499         * src/libs/libgroff/font.cpp (font::load): Reject fonts called
1500         `DESC'.
1501         Reduce number of false positives for `.if F ...' conditionals.
1502         Improve warning messages.
1504 2006-05-29  Werner LEMBERG  <wl@gnu.org>
1506         * tmac/Makefile.sub: Add copyright notice.
1507         (NORMALFILES): Add man.tmac and ms.tmac.
1508         (SPECIALFILES): Remove man.tmac and ms.tmac.
1509         (CLEANADD): Remove man.tmac-sed and ms.tmac-sed.
1510         (install_data, uninstall_sub): Don't handle man.tmac and ms.tmac
1511         specially.
1512         (stamp-sed): Don't handle man.tmac and ms.tmac.
1513         Remove obsolete components in sed's regexp.
1515         * doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps.
1517         * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
1519 2006-05-28  Werner LEMBERG  <wl@gnu.org>
1521         * doc/groff.texinfo (History): Correct death circumstances of Joe
1522         Ossanna.
1524 2006-05-27  Werner LEMBERG  <wl@gnu.org>
1526         * tmac/an-old.tmac (an-do-tag): Simplify.
1528 2006-05-26  Werner LEMBERG  <wl@gnu.org>
1530         * tmac/an-old.tmac (an-do-tag): Make margin characters work.
1531         (an-header, an-p-footer): Use named environment.
1533         * src/roff/troff/env.cpp (environment::copy): Copy margin character
1534         node.
1536 2006-05-21  Werner LEMBERG  <wl@gnu.org>
1538         * tmac/trace.tmac (de1): Fix serious typo (.di -> .do) and minor
1539         omissions.
1541 2006-05-11  Keith Marshall  <keith.d.marshall@ntlworld.com>
1543         * src/roff/groff/groff.man: Remove superfluous word `intermediate'.
1545 2006-05-10  Keith Marshall  <keith.d.marshall@ntlworld.com>
1547         * src/roff/groff/groff.man: Update copyright notice.
1548         Improved wording to describe effect of `-Z' option.
1550 2006-05-06  Werner LEMBERG  <wl@gnu.org>
1552         * tmac/www.tmac: Decorate `.ds' with trailing `\"' where missing.
1553         Normalize handling of `"' in arguments.
1554         (PIMG): Remove debug message.
1555         Simplify code.
1557 2006-05-05  Werner LEMBERG  <wl@gnu.org>
1559         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Don't
1560         swallow character immediately after `\[...]'.
1561         Simplify code.
1563 2006-05-02  Gaius Mulley  <gaius@glam.ac.uk>
1565         * tmac/www.tmac (PIMG): Fix the HTML device specific components.
1567 2006-05-02  Larry Kollar  <kollar@alltel.net>
1569         * tmac/www.tmac (PIMG): Really default to `-C' if the alignment
1570         option is missing.
1572 2006-04-30  Michail Vidiassov  <master@iaas.msu.ru>
1574         * src/utils/afmtodit/afmtodit.pl: New option `-c' to add font
1575         information as a comment in output.
1576         * src/utils/afmtodit/afmtodit.man, NEWS: Document it.
1578 2006-04-26  Werner LEMBERG  <wl@gnu.org>
1580         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
1581         Handle current_paragraph only if it is non-NULL.
1583         * src/libs/libdriver/input.cpp (parse_x_command <'F'>, do_file
1584         <'F'>): Use `get_extended_arg' to behave as documented.  Reported by
1585         Bill Ward <william.a.ward.jr@erdc.usace.army.mil>.
1588         Surround the (pseudo) file name for the .pso request with `<' and
1589         `>'.
1591         * src/roff/troff/node.cpp (real_output_file, troff_output_file): Add
1592         second parameter to `really_put_filename' and `put_filename'.
1593         (troff_output_file::really_put_filename): Emit `<' and `>' around
1594         filename if second argument is set.
1595         * src/roff/troff/node.h: Updated.
1597         * src/roff/troff/input.cpp (file_iterator::file_iterator,
1598         file_iterator::set_location): Update to changes in node.cpp.
1600 2006-04-25  Tetsurou Okazaki  <okazaki@FreeBSD.org>
1602         * src/preproc/preconv/preconv.cpp (do_file): Fix conditional
1603         preprocessor expression (I18N -> HAVE_ICONV).
1604         (main): Fix handling of option `-h'.
1605         Fix conditional preprocessor expression.
1607 2006-04-04  Werner LEMBERG  <wl@gnu.org>
1609         Implement new number register `.br' which is set to 1 if a macro has
1610         been called as .foo and to 0 if called as 'bar.  This is useful for
1611         -mtrace so that requests can be reliably traced too.
1613         * src/roff/troff/input.cpp (input_iterator): Add virtual function
1614         `get_break_flag'.
1615         (macro_iterator): Add `with_break' member and `get_break_flag'
1616         function.
1617         Update constructors.
1618         (input_stack): Add function `get_break_flag'.
1619         (break_flag_reg): New number register class.
1620         (input_init_requests): Register `.br'.
1622         * src/roff/troff/TODO: Updated.
1624         * tmac/trace.tmac: s/!!sp/!!!sp/.
1625         Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].
1627         * docs/groff.texinfo (Requests), man/groff.man, man/groff_diff.man,
1628         NEWS: Document it.
1630 2006-03-29  Werner LEMBERG  <wl@gnu.org>
1632         * src/devices/grops/ps.cpp: s/must not/should not/ in warning
1633         messages where appropriate.
1635 2006-03-28  Werner LEMBERG  <wl@gnu.org>
1637         * configure.ac: Call AC_PROG_EGREP.
1638         * configure: Regenerated.
1640         * Makefile.in (EGREP): New variable.
1641         (MDEFINES): Add $(EGREP).
1643         * src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly
1644         (bug reported by Robert Goulding <Goulding.2@nd.edu>).
1645         Use @EGREP@.
1647         * src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
1649 2006-03-27  Werner LEMBERG  <wl@gnu.org>
1651         Add two requests `.device' and `.devicem' which are equivalent to
1652         `\X' and `\Y', respectively.
1654         * src/roff/troff/input.cpp (device_request, device_macro_request):
1655         New functions.
1656         (init_input_requests): Register them.
1658         * doc/groff.texinfo (Postprocessor Access), man/groff_diff.man,
1659         man/groff.man, NEWS: Document them.
1661 2006-03-27  Gaius Mulley  <gaius@glam.ac.uk>
1663         * src/roff/troff/input.cpp (encode_char): Emit special characters
1664         for -Thtml as `\[...]'.
1665         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Updated.
1667         * doc/groff.texinfo (Postprocessor Access) <\X>: Updated.
1669 2006-03-27  Werner LEMBERG  <wl@gnu.org>
1671         * tmac/Makefile.sub (NORMALFILES, SPECIALFILES): Add various missing
1672         files.
1674 2006-03-26  Werner LEMBERG  <wl@gnu.org>
1676         * doc/groff.texinfo (Writing Macros): More documentation on
1677         end-of-macro symbol of `.de'.
1678         (Diversions): Minor addition to `.di' description.
1680         * src/devices/grops/grops.man: Some clarifications regarding
1681         insertion of PostScript snippets.
1683 2006-03-25  Michail Vidiassov  <master@iaas.msu.ru>
1685         Add rules to generate `symbolsl.afm'.
1687         * font/devps/generate/zapfdr.sed,
1688         font/devps/generate/symbolsl.awk: New files.
1690         * font/devps/generate/Makefile (symbolfont, PRINTAFM): New
1691         variables.
1692         (SS, clean): Updated.
1693         (freeeuro.afm): Use $(srcdir).
1694         (symbolsl.afm): New rule.
1695         (zapfdr.afm): Use zapfdr.sed.
1697 2006-03-22  Dwight Aplevich  <aplevich@uwaterloo.ca>
1699         * src/preproc/pic/pic.y (expr <INT>): Fix code.
1701 2006-03-22  Jörgen Grahn <jgrahn@algonet.se>
1703         * tmac/sv.tmac: Add missing translations and activate support for
1704         other macro packages.
1706 2006-03-21  Francis GUDIN  <fgudin@nerim.net>
1708         * tmac/doc-syms (Dx): New macro to identify DragonFly.
1709         (doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
1710         doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
1711         strings.
1712         (doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
1713         doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
1714         doc-operating-system-DragonFly-*): New operating system strings.
1716         * tmac/groff_mdoc.man, NEWS: Document `Dx'.
1718 2006-03-21  Werner LEMBERG  <wl@gnu.org>
1720         * src/preproc/pic/pic.y (object_spec THEN): For compatibility with
1721         both DWB pic and dpic, make
1723           right;
1724           line then down;
1726         equal to
1728           right;
1729           line right then down;
1731         instead of
1733           right;
1734           line 0 then down;
1736         * doc/pic.ms: Document this.
1738 2006-03-20  Werner LEMBERG  <wl@gnu.org>
1740         * doc/pic.ms: With permission of Eric Raymond, put it under the
1741         GPL.
1743         * NEWS: Updated.
1745 2006-03-19  Werner LEMBERG  <wl@gnu.org>
1747         * src/preproc/pic/pic.y (expr <INT>): Really return integer part.
1749         * src/preproc/pic/objects.cpp (object_spec::make_line): Handle `at'
1750         attribute in combination with `with'.  Bug reported by Jennifer
1751         Sayers <jenjen@mail.usyd.edu.au>.
1753 2006-03-19  Miklos Somogyi  <msom@netspace.net.au>
1755         * doc/groff.texinfo (Manipulating Spacing): Improve documentation of
1756         `.sp'.
1758 2006-03-18  Werner LEMBERG  <wl@gnu.org>
1760         * LICENSE: Renamed to...
1761         * LICENSES: This.  Collect all licensing information in this file.
1762         * tmac/README, src/libs/snprintf/README: Removed.
1764         * src/devices/grops/grops.man: Add section how to install fonts.
1766         * src/utils/xtotroff/xtotroff.c: Add GPL.
1768 2006-03-17  Werner LEMBERG  <wl@gnu.org>
1770         * Makefile.comm (.y.cpp): Fix #line arguments in output.
1772 2006-03-13  Werner LEMBERG  <wl@gnu.org>
1774         * src/preproc/tbl/tbl.man: Mention default length of text blocks.
1776         * tmac/doc-common (Os): Add more Darwin versions.
1777         * tmac/groff_mdoc.man: Document them.
1779         * doc/groff.texinfo (Operators in Conditionals): Mention that `c'
1780         works with \N'...' also.
1781         * man/groff_diff.man: Ditto.  Remove use of future tense where
1782         possible.
1784 2006-03-12  Michail Vidiassov  <master@iaas.msu.ru>
1786         * font/devps/generate/make-zapfdr, font/devps/symbolsl.ps,
1787         font/devps/zapfdr.ps: Add `%%EndComments' line.
1789 2006-03-10  Larry Kollar  <kollar@alltel.net>
1791         * doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
1793 2006-03-10  Werner LEMBERG  <wl@gnu.org>
1795         * src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
1796         ps_printer::do_mdef): Overlong lines now cause a warning message,
1797         not an error.
1799 2006-03-09  Werner LEMBERG  <wl@gnu.org>
1801         * font/devps/generate/make-zapfdr: New script for generating
1802         `zapfdr.ps'.
1804 2006-03-08  Werner LEMBERG  <wl@gnu.org>
1806         * doc/groff.css (pre): Fix `background-color' value.
1808 2006-03-04  Larry Kollar  <kollar@alltel.net>
1810         * tmac/groff_ms.man: Document PT, HD, and BT.
1812 2006-03-04  Werner LEMBERG  <wl@gnu.org>
1814         * src/roff/troff/node.cpp (make_glyph_node): Improve warning message
1815         for single-letter glyph names.
1817 2006-03-02  Werner LEMBERG  <wl@gnu.org>
1819         * tmac/sv.tmac: New file; currently holding only the Swedish strings
1820         for -mm.
1821         * tmac/hyphen.sv: New hyphenation pattern file for Swedish, taken
1822         from CTAN.
1823         * tmac/README: Updated.
1825 2006-02-27  Werner LEMBERG  <wl@gnu.org>
1827         * tmac/trans.tmac (Liec, Letdate, Letns!14): Add it (for -mm).
1828         * tmac/fr.tmac: Add French translations.
1830         * tmac/composite.tmac: Add entry for `:'.
1832 2006-02-26  Werner LEMBERG  <wl@gnu.org>
1834         * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable.
1835         (CLEANADD): Use it.
1836         (install_html, uninstall_sub): Updated.
1838 2006-02-26  Bruno Haible  <bruno@clisp.org>
1840         Introduce Unicode fonts.
1842         * font/devhtml/DESC.proto: Mark as unicode.
1843         * font/devhtml/R.proto: Remove all charset entries that are already
1844         in glyphuni.cpp.
1845         * font/devutf8/DESC.proto: Mark as unicode.
1846         * font/devutf8/R.proto: Remove all charset entries.
1847         * src/include/font.h (font): New static field `is_unicode'.
1848         Change order of fields.
1849         * src/libs/libgroff/font.cpp: Include unicode.h.
1850         (font::font): Update for changed order of fields.
1851         (font::contains, font::get_width, font::get_height, font::get_depth,
1852         font::get_italic_correction, font::get_left_italic_correction,
1853         font::get_subscript_correction, font::get_character_type,
1854         font::get_code, font::get_special_device_encoding): Handle both the
1855         explicitly enumerated glyphs and use general code for Unicode fonts.
1856         (font::load): Make the charset section optional when the font is
1857         declared unicode.
1858         (font::load_desc): Recognize the `unicode' attribute.
1859         * src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
1861 2006-02-26  Claudio Fontana  <claudio@gnu.org>
1863         * Makefile.in: Add comment about DESTDIR.
1865         * Makefile.sub: Add DESTDIR to install and uninstall targets
1866         to support staged installations.
1867         * Makefile.comm: Likewise.
1868         * doc/Makefile.sub: Likewise.
1869         * contrib/eqn2graph/Makefile.sub: Likewise.
1870         * contrib/grap2graph/Makefile.sub: Likewise.
1871         * contrib/pic2graph/Makefile.sub: Likewise.
1872         * src/devices/xditview/Makefile.sub: Likewise.
1873         * src/preproc/eqn/Makefile.sub: Likewise.
1874         * src/roff/grog/Makefile.sub: Likewise.
1875         * src/roff/nroff/Makefile.sub: Likewise.
1876         * src/utils/afmtodit/Makefile.sub: Likewise.
1877         * src/utils/indxbib/Makefile.sub: Likewise.
1878         * tmac/Makefile.sub: Likewise.
1880 2006-02-24  Werner LEMBERG  <wl@gnu.org>
1882         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1883         for \-.
1884         Remove commented out entries for \' and \` (there are no such glyph
1885         names).
1887         * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1888         commented out entries for \' and \`.
1891         * */*: s/legal/valid/ where appropriate.
1893 2006-06-23  Werner LEMBERG  <wl@gnu.org>
1895         * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'
1896         and \` entries.
1898 2006-02-22  Werner LEMBERG  <wl@gnu.org>
1900         Remove all remaining traces from the `shc' glyph.
1902         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
1903         src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1904         entry for `shc'.
1906         * font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
1907         entry with unnamed glyph.
1909         * tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
1911         * src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
1912         specially.
1914 2006-02-22  Bruno Haible  <bruno@clisp.org>
1916         Concretize the `glyph' datatype.
1918         * src/include/font.h (glyph): Remove class.
1919         (glyph): Renamed from struct `glyphinfo'.
1920         (glyph_to_index): New inline function.
1921         (glyph_to_name): Make extern, not inline.
1922         (glyph_to_number): Update.
1923         (font): Use `glyph *' instead of `glyph'.
1925         * src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
1926         `glyph'.  Make `name' field public.
1927         (character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
1928         instead of `glyph'.
1929         (glyph_to_name): Renamed from `glyph::glyph_name'.
1931         * src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
1932         Use `glyph *' instead of `glyph'.
1934         * src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
1935         `glyph *' instead of `glyph'.
1936         (glyph_to_name): Renamed from `glyph::glyph_name'.
1938         * src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
1939         and `glyph_to_index' instead of `glyph::glyph_index'.
1941         * src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
1942         * src/libs/libdriver/printer.cpp: Likewise.
1943         * src/devices/grodvi/dvi.cpp: Likewise.
1944         * src/devices/grohtml/post-html.cpp: Likewise.
1945         * src/devices/grolbp/lbp.cpp: Likewise.
1946         * src/devices/grolj4/lj4.cpp: Likewise.
1947         * src/devices/grops/ps.cpp: Likewise.
1948         * src/devices/grotty/tty.cpp: Likewise.
1950 2006-02-22  Werner LEMBERG  <wl@gnu.org>
1952         * font/devdvi/generate/tc.map: Add `sr' glyph.
1953         * font/devdvi/*TC: Regenerated.
1955         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1956         for `sqrt'.
1958 2006-02-21  Werner LEMBERG  <wl@gnu.org>
1960         * man/groff_char.man: Explain `***' marker.
1962 2006-02-17  Bruno Haible  <bruno@clisp.org>
1964         * src/libs/libgroff/nametoindex.cpp (character_indexer): Rename
1965         methods and fields from *_index to *_glyph.
1966         (character_indexer::named_char_glyph): Test for `charNNN' name
1967         here...
1968         (name_to_glyph): ... not here.
1970 2006-02-17  Bruno Haible  <bruno@clisp.org>
1972         * src/include/font.h (name_to_glyph): Renamed from
1973         font::name_to_index.
1974         (number_to_glyph): Renamed from font::number_to_index.
1975         (glyph_to_name): Renamed from font::index_to_name.
1976         (glyph_to_number): Renamed from font::index_to_number.
1977         * src/libs/libgroff/nametoindex.cpp: Likewise.
1978         * src/roff/troff/charinfo.h (charinfo::as_glyph): Renamed from
1979         charinfo::get_index.
1981         * src/roff/troff/input.cpp: All callers changed.
1982         * src/roff/troff/node.cpp: Likewise.
1983         * src/libs/libgroff/font.cpp: Likewise.
1984         * src/devices/grops/ps.cpp: Likewise.
1985         * src/devices/grohtml/post-html.cpp: Likewise.
1986         * src/libs/libdriver/printer.cpp: Likewise.
1988 2006-02-17  Werner LEMBERG  <wl@gnu.org>
1990         * src/include/ptable.h, src/include/itable.h
1991         (NEXT_PTABLE_SIZE_DEFINED): Use it to avoid multiple declaration
1992         of external symbol `next_ptable_size' (used by both header files).
1994 2006-02-15  Bruno Haible  <bruno@clisp.org>
1996         * src/include/font.h (glyphinfo): New class.
1997         (glyph): Change internal representation.
1998         Change constructor signature.
1999         New method glyph::glyph_number().
2000         (glyph::glyph, glyph glyph::undefined_glyph, glyph::glyph_index,
2001         glyph::operator==, glyph::operator!=): Update.
2002         (font::index_to_name, font::index_to_number): New functions.
2004         * src/include/itable.h: New file, based on src/include/ptable.h.
2006         * src/libs/libgroff/nametoindex.cpp: Include itable.h.
2007         (class charinfo): New class.
2008         (class character_indexer): Change table result type from `int' to
2009         `class charinfo'.
2010         Add table with integer key.
2011         (character_indexer::character_indexer): Update.
2012         (character_indexer::ascii_char_index): Update.
2013         (character_indexer::numbered_char_index): Use NULL as name, not a
2014         string starting with a space.
2015         (character_indexer::named_char_index): Update.
2016         (font::number_to_index, font::name_to_index): Remove no-op cast.
2017         (glyph::glyph_name): New method.
2018         * src/roff/troff/charinfo.h (class charinfo): Inherit from class
2019         glyphinfo.
2020         (NUMBERED): Remove flag bit.
2021         (charinfo::numbered, charinfo::get_index): Update.
2023         * src/roff/troff/input.cpp (charinfo::charinfo): Update.
2024         (charinfo::set_number, charinfo::get_number): Update.
2025         (glyph::glyph_name): New method.
2027 2006-02-15  Werner LEMBERG  <wl@gnu.org>
2029         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Fix
2030         entries for `>>', `<<', `*f', and `+f'.  Reported by Bruno.
2032 2006-02-13  Werner LEMBERG  <wl@gnu.org>
2034         * font/devps/prologue.ps (RE): Check `UniqueID' also, similar to
2035         dvips.
2037 2006-02-11  Werner LEMBERG  <wl@gnu.org>
2039         * src/include/font.h: s/glyph_t/glyph/.
2040         Update all callers.
2042         * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/.
2043         s/output_character_t/output_character/.
2045 2006-02-11  Bruno Haible  <bruno@clisp.org>
2047         New accessor method glyph_t::glyph_name().
2049         * src/include/ptable.h (declare_ptable): Add a return value to the
2050         `define' method, and declare a `lookupassoc' method.
2051         (implement_ptable): Return the stored key in `define'.  Implement
2052         lookupassoc.
2053         * src/include/font.h (glyph_t): Add `name' field.  Add an argument
2054         to the constructor.
2055         (glyph_t::glyph_name): New method.
2057         * src/libs/libgroff/nametoindex.cpp (character_indexer): Change
2058         return type of methods and field member type to glyph_t.
2059         (character_indexer::character_indexer): Update.
2060         (character_indexer::ascii_char_index): Allocate a name for the
2061         glyph.
2062         Return a glyph_t with name.
2063         (character_indexer::numbered_char_index): Return a glyph_t without a
2064         name.
2065         (character_indexer::named_char_index): Return a glyph_t with a name.
2066         (font::number_to_index, font::name_to_index): Update.
2068         * src/roff/troff/input.cpp (charinfo::charinfo): Use the symbol as
2069         the glyph's name.
2071 2006-02-11  Bruno Haible  <bruno@clisp.org>
2073         * src/devices/grotty/tty.cpp (output_character_t): New type.
2074         (tty_printer::make_bold, tty_printer::add_char,
2075         tty_printer::put_char): Change argument type to output_character_t.
2076         (crossings): Change element type to output_character_t.
2078 2006-02-11  Bruno Haible  <bruno@clisp.org>
2080         Make the glyph data type abstract.
2082         * src/include/font.h (glyph_t): New class.
2083         (name_to_index, number_to_index): Change return type to glyph_t.
2084         (font::contains, font::get_width, font::get_height, font::get_depth,
2085         font::get_character_type, font::get_kern, font::get_skew,
2086         font::get_italic_correction, font::get_left_italic_correction,
2087         font::get_subscript_correction, font::get_code,
2088         font::get_special_device_encoding, font::add_entry,
2089         font::copy_entry, font::add_kern, font::hash_kern): Change argument
2090         type to glyph_t.
2092         * src/libs/libgroff/font.cpp (font_kern_list): Change members
2093         type and constructor argument types to glyph_t.
2094         (font::contains, font::get_width, font::get_height, font::get_depth,
2095         font::get_character_type, font::get_kern, font::get_skew,
2096         font::get_italic_correction, font::get_left_italic_correction,
2097         font::get_subscript_correction, font::get_code,
2098         font::get_special_device_encoding, font::add_entry,
2099         font::copy_entry, font::add_kern, font::hash_kern): Change argument
2100         type to glyph_t.
2101         (font::load): Use glyph_t variables.
2103         * src/libs/libgroff/nametoindex.cpp (name_to_index,
2104         number_to_index): Change return type to glyph_t.
2106         * src/roff/troff/charinfo.h (charinfo::index): Change type to
2107         glyph_t.
2108         (charinfo::get_index): Change return type to glyph_t.
2110         * src/roff/troff/env.cpp: Include font.h.
2112         * src/roff/troff/node.cpp: Include font.h before charinfo.h.
2114         * src/roff/troff/input.cpp: Include font.h before charinfo.h.
2115         (charinfo::charinfo): Update.
2116         (name_to_index, number_to_index): Change return type to glyph_t.
2118         * src/include/printer.h (printer::set_char_and_width): Change return
2119         type to glyph_t.
2121         * src/libs/libdriver/printer.cpp (printer::set_char_and_width):
2122         Change return type to glyph_t.
2124         * src/devices/grodvi/dvi.cpp (dvi_printer::set_char): Change
2125         argument type to glyph_t.
2127         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Update.
2128         (html_printer::space_glyph): Renamed from space_char_index.
2129         (html_printer::add_to_sbuf, html_printer::sbuf_continuation,
2130         html_printer::overstrike, html_printer::set_char): Change argument
2131         type to glyph_t.
2132         (html_printer::set_char_and_width): Change return type to glyph_t.
2134         * src/devices/grolbp/lbp.cpp (lbp_printer::set_char): Change
2135         argument type to glyph_t.
2137         * src/devices/grolj4/lj4.cpp (lj4_printer::set_char): Change
2138         argument type to glyph_t.
2140         * src/devices/grops/ps.cpp (ps_printer::space_glyph): Renamed from
2141         space_char_index.
2142         (ps_printer::set_subencoding, ps_printer::set_char): Change argument
2143         type to glyph_t.
2145         * src/devices/grotty/tty.cpp (tty_printer::set_char): Change
2146         argument type to glyph_t.
2148 2006-02-11  Bruno Haible  <bruno@clisp.org>
2150         * src/roff/troff/input.cpp (font::name_to_index): Never return a
2151         negative value.
2153         * src/libs/libgroff/font.cpp (font::load): Remove failure tests for
2154         font::name_to_index.
2156 2006-02-10  Werner LEMBERG  <wl@gnu.org>
2158         * doc/groff.texinfo (Assigning Formats): Number registers are always
2159         interpolated.
2160         Apply some rephrasing, contributed by Michael Burt.
2162 2006-02-07  Werner LEMBERG  <wl@gnu.org>
2164         * tmac/fr.tmac <ms>: Set `HY' register.
2166 2006-02-07  Werner LEMBERG  <wl@gnu.org>
2168         Add framework for simple adaptation of the main macro packages (mm,
2169         me, ms, mom) to different locales.  In particular, add support for
2170         French.  For activation, simply use `-mfr' as the last macro
2171         package.  This feature has been contributed by Fabrice Ménard
2172         <menard.fabrice@wanadoo.fr>.
2174         * tmac/fr.tmac, tmac/trans.tmac, tmac/hyphen.fr, tmac/LOCALIZATION:
2175         New files.
2176         * tmac/README: Mention hyphen.fr.
2177         * man/groff_tmac.man: Mention fr.tmac.
2178         * NEWS: Updated.
2180 2006-01-27  Werner LEMBERG  <wl@gnu.org>
2182         * man/groff_font.man: Updated documentation of `entity_name' field.
2183         Avoid future tense.
2185 2006-01-27  Bruno Haible  <bruno@clisp.org>
2187         * font/devhtml/R.proto: Remove the entity names from the font's
2188         special_encoding_encoding column.
2189         * src/devices/grohtml/post-html.cpp (get_html_entity): New function,
2190         handling the entity names here.
2191         (get_html_translation): Use it.  Change return type to `const
2192         char *'.
2193         (page::add_and_encode): Update, removing a useless cast.
2195 2006-01-26  Werner LEMBERG  <wl@gnu.org>
2197         This change is based on a patch by Bruno Haible <bruno@clisp.org>.
2199         * src/include/device.h: Add comments.
2200         * src/include/font.h: Add comments.
2201         * src/include/unicode.h: Likewise.
2202         * src/include/ptable.h, src/libs/libgroff/ptable.cpp: Likewise.
2204 2006-01-26  Keith Marshall  <keith.d.marshall@ntlworld.com>
2206         Suppress `.st' request emission by `grn'.
2208         * src/preproc/grn/main.cpp (USE_ST_REQUEST): New macro.
2209         (conv): Use it.
2211 2006-01-22  Werner LEMBERG  <wl@gnu.org>
2213         * install-sh: New version; taken from texinfo CVS.
2215 2006-01-21  Werner LEMBERG  <wl@gnu.org>
2217         * src/preproc/preconv/preconv.cpp (main): Set program_name.  Bug
2218         reported by Alexander E. Patrakov <patrakov@ums.usu.ru>.
2220 2006-01-19  Bruno Haible  <bruno@clisp.org>
2222         Let `make -k install' install more files.
2224         * Makefile.in (MAKE_K_FLAG): New variable.  Use it everywhere where
2225         $(MAKE) and $(MDEFINES) are used.
2226         (CPROGDIRS): Remove $(XPROGDIRS).  Treat $(XPROGDIRS) like
2227         $(CPROGDIRS) everywhere.
2228         ($(DEVDIRS) $(XDEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS)): Don't depend
2229         on $(XPROGDIRS).
2230         ($(OTHERDIRS)): Likewise.
2233         * src/devices/grohtml/post-html.cpp (get_html_translation): Remove
2234         failure test for font::name_to_index -- it can never fail.
2236 2006-01-19  Werner LEMBERG  <wl@gnu.org>
2238         * src/devices/grops/grops.man: Fix section on creating EPS files.
2239         Don't use future time in manual.
2240         Other minor fixes.
2242 2006-01-15  Gaius Mulley  <gaius@glam.ac.uk>
2244         * tmac/www.tmac: New macro LINKSTYLE which allows users to set
2245         various typographical URL attributes for non-HTML devices.
2247         * tmac/groff_www.man: Document LINKSTYLE.
2249 2006-01-11  Werner LEMBERG  <wl@gnu.org>
2251         * configure.ac: Test for getc_unlocked (needed for localcharset).
2252         * configure, src/include/config.hin: Regenerated.
2254         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define
2255         ENABLE_RELOCATABLE.
2257         * src/libs/libgroff/relocatable.h: New dummy header file for
2258         localcharset.c.
2260         * src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS
2261         gnulib version.
2263 2006-01-10  Bruno Haible  <bruno@clisp.org>
2265         Work around unportability of nl_langinfo(CODESET).
2267         * m4/glibc21.m4: New file, from gnulib.
2268         * Makefile.sub (M4MACROS): Add m4/glibc21.m4.
2269         * configure.ac: Also test for stddef.h, and invoke jm_GLIBC21.
2270         * Makefile.in (HOST, GLIBC21): New variables.
2271         (MDEFINES): Pass them to subdirectories.
2272         * src/include/relocate.h (relocatep): Define with C linkage.
2273         * src/include/localcharset.h: New file, from gnulib.
2274         * src/libs/libgroff/localcharset.c: New file, from gnulib with a
2275         modification for relocate().
2276         * src/libs/libgroff/config.charset: New file, from gnulib.
2277         * src/libs/libgroff/ref-add.sin: New file, from gnulib.
2278         * src/libs/libgroff/ref-del.sin: New file, from gnulib.
2279         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR.
2280         (OBJS): Add localcharset.o.
2281         (CSRCS): Add localcharset.c.
2282         (all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed.
2283         (charset.alias): New rule.
2284         (PACKAGE): New variable.
2285         (ref-add.sed, ref-del.sed): New rules.
2286         (MKINSTALLDIRS): New variable.
2287         (install_data): Depend on install_charset_data.
2288         (install_charset_data): New rule for creating or updating
2289         charset.alias.
2290         (uninstall_sub): Depend on uninstall_charset_data.
2291         (uninstall_charset_data): New rule for uninstalling or updating
2292         charset.alias.
2293         * src/preproc/preconv/preconv.cpp: Include localcharset.h instead
2294         of <langinfo.h>.
2295         (main): Initialize default_encoding from locale_charset() instead of
2296         nl_langinfo(CODESET).
2298         * aclocal.m4, configure, src/include/config.hin: Regenerated.
2300 2006-01-10  Werner LEMBERG  <wl@gnu.org>
2302         * src/preproc/preconv/preconv.cpp (conversion_iconv): Use
2303         ICONV_CONST in call to iconv.  Reported by Robert Goulding.
2305 2006-01-07  Werner LEMBERG  <wl@gnu.org>
2307         * font/devps/generate/freeeuro.sfd: Run auto-hinter with recent
2308         fontforge version.
2309         Bump font version to 001.001.
2311         * font/devps/generate/Makefile (freeeuro.afm, freeeuro.pfa):
2312         Call fontforge, not pfaedit.
2314         * font/devps/freeeuro.afm, font/devps/freeeuro.pfa: Regenerated.
2316 2006-01-05  Ruslan Ermilov  <ru@FreeBSD.org>
2318         * tmac/doc-common: Add new FreeBSD and NetBSD versions.
2319         * tmac/groff_mdoc.man: Updated.
2321 2006-01-05  Werner LEMBERG  <wl@gnu.org>
2323         * src/preproc/preconv/preconv.cpp: s/debug/debug_flag/.
2324         (raw_flag): New global variable.
2325         (do_file): Use .lf to set file name (if `raw_flag' isn't set).
2326         Don't pass BOM to `conversion_utf8'.
2327         (usage): Updated.
2328         (main): Handle `-r' command line switch to set `raw_flag'.
2329         (get_BOM): Fix encodings in `BOM_table'.
2331         * src/preproc/preconv/preconv.man: New file.  Not complete yet.
2332         * src/preproc/proconv/Makefile.sub (MAN1): New variable.
2334 2006-01-04  Werner LEMBERG  <wl@gnu.org>
2336         * src/preproc/preconv/preconv.cpp (emacs_to_mime): As suggested by
2337         Bruno, comment out most encodings to support only a small set of
2338         coding tags, thus reducing potential problems with legacy encodings
2339         and character sets in the future.
2340         Add many XEmacs coding tags (now commented out).
2341         Add `cp1047'.
2342         (check_encoding_tag): Renamed to...
2343         (check_coding_tag): This.
2344         (get_BOM): Return encoding as specified by BOM.
2345         Test for UTF32-LE too.
2346         (do_file): Don't check for coding tag if a BOM has been found.
2348 2006-01-03  Bruno Haible  <bruno@clisp.org>
2350         * m4/groff.m4: Renamed from aclocal.m4.
2351         * m4/codeset.m4: New file, from gnulib.
2352         * m4/iconv.m4: New file, from gnulib.
2353         * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
2354         gnulib.
2355         * config.rpath: New file, from gnulib.
2356         * config.guess, config.sub: New files, from gnulib.
2357         * Makefile.sub (M4MACROS): New variable.
2358         (configure): Fix typo.
2359         (aclocal.m4): New rule.
2360         (stamp-h.in): Depend on aclocal.m4.
2361         * configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
2362         * Makefile.in (LIBICONV): New variable.
2363         (MDEFINES): Pass it to recursive makes.
2364         * src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
2365         HAVE_ICONV instead of I18N macro.
2366         * src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.
2368         * aclocal.m4, configure, src/include/config.hin: (Re)generated.
2370 2006-01-03  Werner LEMBERG  <wl@gnu.org>
2372         * doc/Makefile.in (webpage.html): Simplify.
2373         * doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
2374         * doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
2376 2006-01-01  Werner LEMBERG  <wl@gnu.org>
2378         * tmac/doc-common (Os): Add some Darwin versions.
2379         * tmac/groff_mdoc.man: Document them.
2381 2006-01-01  Bruno Haible  <bruno@clisp.org>
2383         * src/preproc/preconv/preconv.cpp (emacs_to_mime): Various
2384         corrections:
2385           . Don't map ascii to latin-1.
2386           . Don't use IBMxxx encodings but cpxxx for portability.
2387           . Map cp932, cp936, cp949, cp950 to itself.
2388         (emacs2mime): Protect calls to strcasecmp.
2389         (conversion_iconv): Add missing call to iconv_close.
2390         (do_file): Emit error message in case of unsupported encoding.
2392 2005-12-31  Werner LEMBERG  <wl@gnu.org>
2394         Integrate preconv into the groff binary.  Changes based on a patch
2395         from Michail Vidiassov.
2397         * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1.
2399         * src/roff/groff/groff.cpp (PRECONV_INDEX): New macro.
2400         (SOELIM_INDEX): Updated.
2401         (help, synopsis): Updated.
2402         (main): Add command line options `-k' and `-K enc' to select
2403         encoding.
2404         Add support for GROFF_ENCODING environment variable.
2406         * src/roff/groff/groff.man: Updated and revised.
2409         Start with autoconf support for preconv.
2411         * configure.ac: Call AC_C_BIGENDIAN.
2412         * configure, src/include/config.hin: Regenerated.
2414 2005-12-30  Werner LEMBERG  <wl@gnu.org>
2416         New preprocessor `preconv' to convert input encodings to something
2417         groff can understand.  Not yet integrated within groff.  Proper
2418         autoconf stuff is missing too.
2420         Tomohiro Kubota has written a first draft of this program, and some
2421         ideas have been reused (while almost no code has been taken
2422         actually).
2424         * src/preproc/preconv/preconv.cpp. src/preproc/preconv/Makefile.sub:
2425         New files.
2427         * MANIFEST, Makefile.in (CCPROGDIRS), test-groff.in
2428         (GROFF_BIN_PATH): Add preconv.
2430 2005-12-12  Werner LEMBERG  <wl@gnu.org>
2432         * aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.
2433         In particular, don't use `\+' since it is a GNU sed extension.
2435         * configure: Regenerated.
2437 2005-12-09  Werner LEMBERG  <wl@gnu.org>
2439         * src/libs/libgroff/make-uniuni: New script to generate uniuni.cpp. 
2441         * src/libs/libgroff/uniuni.cpp: Regenerated, using data from Unicode
2442         4.1.0.
2445         * src/utils/afmtodit/make-afmtodit-tables: New script to generate
2446         afmtodit.tables.
2448         * src/utils/afmtodit/afmtodit.tables: New file, representing Unicode
2449         4.1.0 data.
2451         * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
2452         %AGL_to_unicode): Removed.  Replace it with a tag.
2454         * src/utils/afmtodit/Makefile.sub (afmtodit): Adjust sed expression
2455         to replace tag with actual file contents.
2457 2005-12-08  Werner LEMBERG  <wl@gnu.org>
2459         The change 2005-06-20 can indeed cause problems, so we follow the
2460         advice by using marks.
2462         * font/devps/prologue.ps (PBEGIN): Use `mark'.
2463         (PEND): Use `cleartomark'.
2465 2005-12-07  Michail Vidiassov  <master@iaas.msu.ru>
2467         * src/utils/afmtodit.pl: Fix kerning output to avoid warnings for
2468         glyphs which have kern values but aren't handled (glyph variants,
2469         for example).
2471 2005-12-02  Werner LEMBERG  <wl@gnu.org>
2473         * src/devices/grops/ps.cpp (ps_printer::get_subfont): Use correct
2474         subfont index.  Reported by Michail Vidiassov <master@iaas.msu.ru>.
2476 2005-11-28  Gaius Mulley  <gaius@glam.ac.uk>
2478         * doc/Makefile.in: Separate rule for webpage.html so that extra
2479         command line options can be passed to grohtml.
2480         * doc/groff.css: Change all margins to 0%.
2481         * doc/webpage.ms: Now use new macros ALN, LNS, and LNE so that left
2482         navigation is exploited.  Also update webpage to contain new
2483         sections on licenses, mailing lists, cvs/ftp access, groff
2484         dependencies, and bug reports.
2485         * tmac/groff_www.man: Document the new macros ALN, LNS, and LNE.
2486         * tmac/www.tmac: Implement the new macros ALN, LNS, and LNE.
2487         
2488 2005-11-25  Gaius Mulley  <gaius@glam.ac.uk>
2490         * src/devices/grohtml/post-html.cpp
2491         (html_printer::do_file_components): Add fputs calls to emit the
2492         head contents and shut down the head tag whenever a new file
2493         component is generated.
2495 2005-11-22  Gaius Mulley  <gaius@glam.ac.uk>
2497         * src/devices/grohtml/post-html.cpp (html_printer::flush_page): Add
2498         call to flush_text to flush any outstanding html tags on the
2499         paragraph stack.
2501 2005-11-18  Werner LEMBERG  <wl@gnu.org>
2503         * aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.
2504         Announce makeinfo version.
2505         * configure: Regenerated.
2507 2005-11-18  Mike Frysinger <vapier@gentoo.org>
2509         * Makefile.in: Declare proper dependencies between make targets.
2511         * doc/Makefile.in: Rename groff info page to `groff.info'.
2512         * doc/Makefile.sub: Likewise.
2513         * doc/groff.texinfo: Likewise.
2515 2005-11-17  Peter O'Gorman  <mlists@thewrittenword.com>
2517         * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c: Move
2518         definition of __GETOPT_PREFIX to the beginning of file to ensure
2519         that it is defined even on platforms where getopt.h is already
2520         included by other header files.
2522 2005-11-10  Gaius Mulley  <gaius@glam.ac.uk>
2524         * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
2525         Reset font to NULL to ensure that a font block is recreated during
2526         the next paragraph.
2528 2005-11-04  Werner LEMBERG  <wl@gnu.org>
2530         * aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.
2531         * configure: Regenerated.
2533 2005-10-27  Werner LEMBERG  <wl@gnu.org>
2535         * aclocal.m4 (GROFF_MAKEINFO): New function for checking whether
2536         makeinfo 4.8 or newer is available.
2537         * configure.ac: Call GROFF_MAKEINFO.
2538         * configure: Regenerated.
2540         * Makefile.in (MAKEINFO): Use autoconf variable.
2541         (MDEFINES): Add MAKEINFO.
2543         * doc/Makefile.in (MAKEINFO): Use autoconf variable.
2544         * doc/Makefile.sub (MAKEINFO): Remove.
2546 2005-10-26  Werner LEMBERG  <wl@gnu.org>
2548         * REVISION: Set to 3.
2550 2005-10-17  Werner LEMBERG  <wl@gnu.org>
2552         Mention $MANPAGER variable used with some `man' systems.
2554         * doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
2556 2005-09-13  Werner LEMBERG  <wl@gnu.org>
2558         * tmac/hyphenex.us: New version (`ushyphex.tex' from ftp.dante.de).
2560 2005-09-04  Werner LEMBERG  <wl@gnu.org>
2562 Version 1.19.2 released
2563 =======================
2565         * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
2567         * doc/webpage.ms: Updated.
2569         * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
2571 2005-09-04  Jörgen Grahn <jgrahn@algonet.se>
2573         * tmac/groff_ms.man: Document `PO' better.
2575 2005-09-03  Werner LEMBERG  <wl@gnu.org>
2577         * NEWS: Document grotty changes.
2579 2005-09-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
2581         Backward compatibility support for `man' program.
2583         * tmac/an-old.tmac (LL): Initialize it to respect prior LL register
2584         assignment, prior `.ll' request and then package defaults, in this
2585         specified order of decreasing priority.
2587         * tmac/groff_man.man, doc/groff.texinfo (Man options): Document
2588         altered `LL' register initialization priorities.
2590 2005-08-29  Gary W. Swearingen  <garys@opusnet.com>
2592         * tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
2593         section should look like.
2595 2005-08-29  Werner LEMBERG  <wl@gnu.org>
2597         * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
2598         be abbreviated.
2600 2005-08-27  Bernd Warken
2602         * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
2603         fixes.
2605 2005-08-11  Bernd Warken
2607         * tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
2609 2005-08-09  Bernd Warken
2611         * tmac/www.tmac (URL, MTO): Use bold series if color support is
2612         deactivated.
2614 2005-08-02  Bernd Warken
2616         * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
2617         as argument to $(INSTALL_INFO).  The latter isn't portable.
2618         Remove $(HTMLEXAMPLEFILES) too.
2620         * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
2621         $(datadir)/doc too.
2622         Suppress warning messages and return always true.
2624         * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
2626 2005-07-02  Bernd Warken
2628         * src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
2629         * man/groff_out.man: More markup and minor improvements.
2630         * src/roff/groff/groff.man: Minor improvements.
2632 2005-06-28  Werner LEMBERG  <wl@gnu.org>
2634         * ChangeLog: Split off older entries into...
2635         * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
2636         files.
2638 2005-06-26  Bernd Warken
2640         * src/devices/xditview/gxditview.man: More minor fixes.
2642 2005-06-24  Werner LEMBERG  <wl@gnu.org>
2644         * src/preproc/pic/troff.cpp (troff_output::set_fill,
2645         troff_output::set_color, troff_output::reset_color): Use .bcolor and
2646         .fcolor instead of \m and \M, respectively.
2648 2005-06-23  Bernd Warken
2650         * src/devices/xditview/gxditview.man: More minor fixes.
2651         * README: Formatting issues.
2652         Mention some problems with Debian.
2654 2005-06-23  Bernd Warken
2656         * src/devices/xditview/gxditview.man: Revised and improved.
2658 2005-06-22  Werner LEMBERG  <wl@gnu.org>
2660         Another round in fixing getopt problems.  Hopefully the last one!
2661         This time we use the getopt stuff from gnulib and define a prefix
2662         unconditionally so that there are no collisions with any other
2663         getopt implementations.  This is a slight waste of space in case
2664         we already use a GNU getopt implementation, but on
2665         the other hand it really simplifies life.
2667         * src/include/getopt.h: Use gnulib version.
2669         * src/include/getopt_int.h: Use gnulib version.
2671         * src/include/groff-getopt.h: Removed.  Obsolete now.
2673         * src/include/lib.h: Regarding getopt, don't handle any platform
2674         specially; just include getopt.h.
2675         (__GETOPT_PREFIX): Define (before getopt.h).
2677         * src/include/Makefile.sub (HDRS): Updated.
2679         * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
2680         gnulib version.
2682         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
2683         __GETOPT_PREFIX.
2685         * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
2686         (__GETOPT_PREFIX): Define (before getopt.h).
2688 2005-06-21  Werner LEMBERG  <wl@gnu.org>
2690         * src/include/lib.h: Provide a fix for Mac OS X to not include
2691         groff-getopt.h.
2693 2005-06-20  Denis M. Wilson  <dmw@oxytropis.plus.com>
2695         * font/devps/prologue.ps (EP): Dont' use `bind'.  Reason: Using
2696         `bind' to define a procedure which contains `showpage' means that an
2697         invocation of `showpage' may execute wrongly (the exact effect
2698         depending on the interpreter).  Not usually a problem except under
2699         transformations, such as combining pages.
2700         (PEND): Don't call `clear'.  Reason: Using `clear' in the definition
2701         of /PEND means that stack underflow will occur if the stack is
2702         deliberately non-empty before document inclusion.  If included
2703         files are found to be generally badly behaved, we could replace the
2704         `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
2705         never found this necessary).
2707 2005-06-20  Jörgen Grahn  <jgrahn@algonet.se>
2709         * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
2710         earlier to get correct error message.
2712 2005-06-16  Bernd Warken
2713         * src/roff/nroff/nroff.sh: Add support for iso-8859-15.
2715 2005-06-15  Werner LEMBERG  <wl@gnu.org>
2717         Another try to update getopt files.  This time we add a dummy
2718         gettext.h file to satisfy the dependency.
2720         * src/include/getopt.h, src/libs/libgroff/getopt.c,
2721         src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2723         * src/include/getopt_int.h: New file (from GNU libc CVS).
2725         * src/include/gettext.h: Dummy file which just defines a gettext()
2726         macro.
2728         * src/include/groff-getopt.h: Updated.
2730         * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
2733         * src/libs/libdriver/input.cpp (IntArray): Remove superfluous
2734         `const' keywords in return value.
2736         * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
2737         Remove redundant variable `old'.
2738         (pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
2740         * src/preproc/tbl/main.cpp (process_table): Remove redundant
2741         variable `c'.
2744         Fix more friend name injection problems since modern C++ compilers
2745         fail otherwise.  We simply provide (global) declarations for all
2746         functions declared as friends.  This is not really necessary but
2747         doesn't harm.
2749         * src/preproc/eqn/lex.cpp: Provide declarations for get_char,
2750         peek_char, and get_location.
2752         * src/preproc/refer/ref.h: Provide declarations for
2753         compare_reference, same_reference, same_year, same_date,
2754         same_author_last_name, and same_author_name.
2756         * src/roff/troff/div.h: Provide declarations for do_divert and
2757         page_offset.
2759         * src/roff/troff/env.h: Provide declarations for title_length,
2760         space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
2761         vertical_spacing, post_vertical_spacing, line_spacing, line_length,
2762         indent, temporary_indent, do_underline, do_input_trap, set_tabs,
2763         margin_character, no_number, number_lines, leader_character,
2764         tab_character, hyphenate_request, no_hyphenate,
2765         hyphen_line_max_request, hyphenation_space_request,
2766         hyphenation_margin_request, line_width, tabs_save, tabs_restore,
2767         line_tabs_request, widow_control_request, and do_divert.
2769         * src/roff/troff/input.cpp: Provide declaration for chop_macro.
2771         * src/roff/troff/node.cpp: Provide declarations for class
2772         tfont_spec.
2773         Provide declaration for make_tfont.
2775 2005-05-29  Werner LEMBERG  <wl@gnu.org>
2777         * doc/fdl.texi: Updated to version 1.2.  Reported by Bernd Warken.
2779 2005-05-28  Werner LEMBERG  <wl@gnu.org>
2781         * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
2782         redundant semicolons.
2784         * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
2785         src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
2786         Define `MLIB'.  Some compilers need this for linking with libgroff.
2788 2005-05-27  Werner LEMBERG  <wl@gnu.org>
2790         * MANIFEST, README, doc/webpage.ms: Updated.
2792 2005-05-26  Werner LEMBERG  <wl@gnu.org>
2794         * All affected files: Update postal address of FSF.
2796 2005-05-25  Keith Marshall  <keith.d.marshall@ntlworld.com>
2797             Bernd Warken
2799         * README: More fixes.
2801         * README.CVS: Removed.  Its contents is now part of the README file.
2803 2005-05-21  Werner LEMBERG  <wl@gnu.org>
2805         * README: Updated.  Based on a patch from Bernd Warken.
2807 2005-05-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
2809         Miscellaneous script portability enhancements.
2811         * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
2812         generated conftest.sh script, conforming to portability
2813         recommendation in autoconf docs.
2814         * configure: Likewise, for code generated by GROFF_CSH_HACK.
2815         * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
2816         to portability recommendation in autoconf docs.
2817         * contrib/grap2graph/grap2graph.sh: Likewise.
2818         * contrib/pic2graph/pic2graph.sh: Likewise.
2819         * font/devps/generate/afmname: Likewise.
2820         * src/devices/xditview/ad2c: Likewise.
2821         * src/preproc/eqn/neqn.sh: Likewise.
2822         * src/roff/grog/grog.pl: Likewise.
2823         * src/roff/grog/grog.sh: Likewise.
2824         * src/roff/nroff/nroff.sh: Likewise.
2825         * PROBLEMS: Likewise, in embedded script examples.
2827 2005-05-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
2829         Improve portability of `pdfroff' shell script.
2831         * arch/misc/shdeps.sh: Add space in shebang, conforming to
2832         portability guidelines in `autoconf' docs.
2833         (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
2834         initialization code.  Used by contrib/pdfmark/pdfroff.sh's
2835         `searchpath' function.
2837 2005-05-14  Werner LEMBERG  <wl@gnu.org>
2839         * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
2840         contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
2841         needed for newer ImageMagick versions.
2843 2005-05-07  Werner LEMBERG  <wl@gnu.org>
2845         * src/preproc/refer/refer.man: Many small typographic fixes.
2847 2005-05-06  Jeff Conrad  <jeff_conrad@msn.com>
2849         * src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
2850         Use `char *' cast for a_delete.
2852 2005-05-03  Werner LEMBERG  <wl@gnu.org>
2854         * src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
2855         src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
2857 2005-05-03  Jeff Conrad  <jeff_conrad@msn.com>
2859         * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
2860         `a_delete' for `const char *'.
2862 2005-05-03  Werner LEMBERG  <wl@gnu.org>
2864         * src/devices/grohtml/post-html.cpp,
2865         src/devices/grohtml/html-table.cpp,
2866         src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
2867         Replace malloc/free with new/delete/a_delete.
2869         * src/devices/grolbp/lbp.h: Remove superfluous semicolons which
2870         are prohibited with ANSI C++.
2871         (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
2872         function has a variable number of arguments).
2874         * src/preproc/grn/main.cpp (doinput): Change return type to `int'.
2875         Simplify function and update all callers.
2877 2005-05-02  Werner LEMBERG  <wl@gnu.org>
2879         Undo getopt changes from 2005-04-30.  We don't want a dependency
2880         on gettext.
2882         * src/include/getopt_int.h: Removed.
2884         * src/include/getopt.h, src/include/groff-getopt.h,
2885         src/include/Makefile.sub, src/libs/libgroff/getopt.c,
2886         src/libs/libgroff/getopt1.c: Revert to previous version.
2889         * src/include/nonposix.h (access) [_MSC_VER]: New macro.
2891         * src/include/posix.h (F_OK): Define conditionally.
2893         * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
2894         different variable name in second `for' loop to avoid MSVC compiler
2895         problem.
2897 2005-04-30  Werner LEMBERG  <wl@gnu.org>
2899         AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
2901         * aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
2902         * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
2903         * configure, src/include/config.hin: Regenerated.
2905         * PROBLEMS: Updated.
2908         Update getopt files.
2910         * src/include/getopt.h, src/libs/libgroff/getopt.c,
2911         src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2913         * src/include/getopt_int.h: New file (from GNU libc CVS).
2915         * src/include/groff-getopt.h: Updated.
2917         * src/include/Makefile.sub (HDRS): Add getopt_int.h.
2920         * font/devutf8/NOTES: Updated.
2922 2005-04-28  Werner LEMBERG  <wl@gnu.org>
2924         Bug fix for Win32 relocatable code.  Based on a patch from Keith
2925         Marshall.
2927         * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
2928         also.
2930         * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
2931         (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
2933 2005-04-28  Keith Marshall  <keith.d.marshall@ntlworld.com>
2935         Correct `gnu.eps' handling for build from distribution tarball, with
2936         separate source and build directories.
2938         * doc/Makefile.sub: (examples.stamp): New target; forces copy of
2939         grnexmpl.g, groff.css and gnu.eps from source to build directory;
2940         generate gnu.eps from gnu.xpm if required; touch examples.stamp.
2941         (prepare_examples): Make it depend on examples.stamp.
2942         (CLEANADD): Add examples.stamp.
2944 2005-04-27  Werner LEMBERG  <wl@gnu.org>
2946         Implement the rule
2948           position: `(' position `)'
2950         in pic.
2952         * src/preproc/pic/pic.y (position, position_not_place): Handle
2953         additional parentheses.
2955         * doc/pic.ms: Updated.
2957 2005-04-23  Larry Jones  <lawrence.jones@ugs.com>
2959         * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
2961 2005-04-18  Werner LEMBERG  <wl@gnu.org>
2963         * src/roff/groff/pipeline.c: Don't include ctype.h.
2965 2005-04-13  Werner LEMBERG  <wl@gnu.org>
2967         * src/roff/nroff/nroff.man: Document option `-M'.
2969 2005-04-13  Bruce Lilly  <blilly@erols.com>
2971         * src/roff/nroff/nroff.sh: Make the script accept option `-M'.
2973 2005-04-01  Kees Zeelenberg  <kzlg@users.sourceforge.net>
2974             Werner LEMBERG  <wl@gnu.org>
2976         Add binary relocation support for Windows platforms.
2978         * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
2980         * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
2982         * src/libs/libgroff/searchpath.cpp: Handle `relocate'.
2983         (search_path::search_path, search_path::open_file_cautious): Use
2984         `relocate'.
2986         * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
2987         src/include/Makefile.sub (HDRS): Updated.
2989 2005-04-01  Werner LEMBERG  <wl@gnu.org>
2991         * src/devices/grohtml/post-html.cpp: Don't use strdup/free but
2992         strsave/a_delete.
2994         * src/libs/libgroff/font.cpp: Replace strdup with strsave.
2996         * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
2997         lib.h already does it.
2999         * src/libs/libgroff/maxpathname.cpp: New file, defining
3000         path_name_max.
3002         * src/include/lib.h: Add prototype for path_name_max.
3004         * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
3006         * src/include/nonposix.h (PATH_EXT): New macro.
3008 2005-03-28  Werner LEMBERG  <wl@gnu.org>
3010         Add support for double- and zero-width characters in grotty.
3012         * src/devices/grotty/tty.cpp (glyph): Add width.
3013         (tty_printer::make_underline, tty_printer::make_bold,
3014         tty_printer::add_character): Add parameter to pass character width.
3015         Update all callers.
3016         (tty_printer::end_page): Increase hpos by actual character width.
3018         * font/devutf8/R.proto: Specify zero width for non-spacing
3019         characters.
3021         * tmac/unicode.tmac: Remove definitions for non-spacing entities.
3023         * Makefile.comm (extraclean): Remove more junk files.
3025 2005-03-25  Werner LEMBERG  <wl@gnu.org>
3027         * configure.ac: Undo change from 2005-03-24.
3028         * configure: Regenerated.
3030 2005-03-24  Werner LEMBERG  <wl@gnu.org>
3032         * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
3033         (dist): Search Makefile while descending into $(EXTRADIRS).
3035         * doc/Makefile.in (.PHONY): Add.
3036         (clean): Don't remove *.png and *.eps.
3037         Don't handle *.gif.
3038         (realclean): Remove *.png and *.eps.
3039         (extraclean): Depend on distclean.
3041         * configure.ac: Add copyright.
3042         Handle contrib/pdfmark/Makefile.
3044         * configure: Regenerated.
3046 2005-03-18  Larry Kollar  <kollar@alltel.net>
3048         Add numbered and definition lists to www.tmac.
3050         * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
3051         www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
3052         auxiliary string registers.
3053         (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
3054         www-ol-ctr3, www-dl-shift): New auxiliary number registers.
3055         (www-level): Removed.
3056         (www-level1, www-level2, www-level3): Initialize to empty.
3057         (www-level0, www-level4, www-level5, www-level6, www-level7,
3058         www-level8, www-level9): New string registers.
3059         (www-push-li, www-pop-li): New macros.
3060         (www-push-level, www-pop-level): Renamed to...
3061         (www-push-ul-level, www-pop-ul-level): This.
3062         Updated.
3063         (www-push-ol-level, www-pop-ol-level): New macros.
3064         (ULS, ULE): Updated.
3065         (OLS, OLE, DLS, DLE): New user macros.
3066         (LI): Removed.  It is aliased to one of...
3067         (www-li-ul, www-li-ol, www-li-dl): New macros.
3069         * tmac/groff_www.man: Document new macros.
3071         * NEWS: Updated.
3073 2005-03-18  Werner LEMBERG  <wl@gnu.org>
3075         * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
3076         doc-operating-system-NetBSD-2.0.2): New strings.
3078         * tmac/groff_mdoc.man: Updated.
3080 2005-03-17  Werner LEMBERG  <wl@gnu.org>
3082         * doc/Makefile.sub (CLEANADD): Add `groff.html'.
3084 2005-03-17  Werner LEMBERG  <wl@gnu.org>
3086         * src/libs/libgroff/hypot.c: Renamed to...
3087         * src/libs/libgroff/hypot.cpp: This.  Updated to C++.
3089         * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
3091         * src/include/lib.h: Updated.
3093 2005-03-16  Werner LEMBERG  <wl@gnu.org>
3095         Add workaround for broken hypot() on Interix.
3097         * src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
3099         * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
3100         (CSRCS): Add `hypot.c'.
3102         * src/include/lib.h: Declare `groff_hypot'.
3104         * src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
3105         Use `groff_hypot'.
3107         * src/preproc/pic/pic.h: Don't declare `hypot'.
3109         * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
3111 2005-03-15  Gaius Mulley  <gaius@glam.ac.uk>
3113         * src/devices/grohtml/post-html.cpp
3114         (html_printer::lookahead_for_tables): End .ce properly to avoid a
3115         segfault.
3117 2005-03-15  Werner LEMBERG  <wl@gnu.org>
3119         makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
3121         * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
3123         * doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
3125 2005-03-14  Werner LEMBERG  <wl@gnu.org>
3127         Add Cyrillic support to devutf8 and devhtml.
3129         * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
3131         * tmac/unicode.tmac: New file.
3133         * tmac/tty.tmac: Include unicode.tmac if device is utf8.
3135         * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
3137         * NEWS: Updated.
3139 2005-03-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
3141         * src/libs/libdriver/printer.cpp (check_for_output_error): New
3142         function.  It has been introduced to catch peculiar error contexts
3143         on MS-Windows platforms.
3145 2005-02-28  Werner LEMBERG  <wl@gnu.org>
3147         * src/roff/troff/input.cpp (string_iterator::fill): Protect against
3148         null pointer.
3150         * tmac/papersize.tmac: Convert `paper' string contents to lowercase.
3152         * configure: Regenerated.
3154         * NEWS: Updated.
3156 2005-02-28  Keith Marshall  <keith.d.marshall@ntlworld.com>
3158         Integrate `pdfmark' into normal groff build system;
3159         install macro `pdfmark' packages, build and install `pdfroff',
3160         and PDF format documentation.
3162         * Makefile.comm: Add PDFDOCDIR.
3164         * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
3165         pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
3166         (unstall_dirs): Add pdfdocdir.
3168         * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
3169         `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
3170         (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
3171         GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
3172         (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
3173         (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
3174         set ALT_AWK_PROGS.
3175         (GROFF_AWK_PATH): New function; support `--with-awk' option, force
3176         use of GROFF_AWK_PREFS.
3177         (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
3178         and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
3180         * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
3181         Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
3182         also by modified GROFF_HTML_PROGRAMS).
3184 2005-02-27  Gaius Mulley  <gaius@glam.ac.uk>
3186         * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
3187         paragraph spacing.
3188         (html_text::done_para): Unset `start_space'.
3189         (html_text::remove_para_align): Call `retrieve_para_space' for the
3190         spacing.
3192         * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
3193         `seen_space'.
3194         (html_printer::do_check_center): Emit vertical space if necessary.
3196         * src/roff/troff/env.cpp (environment_switch): Preserve
3197         `seen_space', `seen_eol', and `suppress_next_eol' while switching
3198         environments.
3200         * src/roff/troff/node.cpp (suppress_node::suppress_node): Set
3201         `is_special'.
3203 2005-02-20  Werner LEMBERG  <wl@gnu.org>
3205         * src/preproc/eqn/eqn.man, NEWS: Document various extensions of
3206         eqn.
3208 2005-02-17  Werner LEMBERG  <wl@gnu.org>
3210         * doc/pic.ms, man/groff.man: Fix typos.
3212         * doc/groff.texinfo: Fix typos.
3213         (\LEmacro): Get proper mathematical spacing.
3215 2005-02-16  Werner LEMBERG  <wl@gnu.org>
3217         * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
3218         * configure: Regenerated with autoconf 2.59b.
3220 2005-02-16  Gaius Mulley  <gaius@glam.ac.uk>
3222         * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
3223         html_printer::start_font): Fix handling of preformatted text.
3225 2005-02-15  Gaius Mulley  <gaius@glam.ac.uk>
3227         These patches modify the indentation implementation to use `<p
3228         style=margin-left: n%>'.  Many thanks to Peter and Larry for
3229         suggesting this solution.  Grohtml only uses tables for `.IP' and
3230         related tags when the first operand has a short width.
3232         Similarly, they modify all vertical space code.  By default, grohtml
3233         sets up a style sheet which uses no vertical space between `table',
3234         `pre', and `p' tags.  It forces spaces when it needs them using
3235         `style="margin-top: 1em"'.
3237         * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
3238         (html_table::emit_table_header, html_table::emit_new_row):
3239         Rewritten.
3240         (html_table::set_space): New function.
3241         (html_indent::html_indent): Don't set `is_used'.
3242         (html_indent::begin): Rewritten.
3243         (html_indent::end): Remove code in function.
3245         * src/devices/grohtml/html-table.h: Updated.
3246         (html_table): Make `out' public.
3248         * src/devices/grohtml/html-text.cpp (html_text::html_text):
3249         Initialize `start_space' with FALSE.
3250         (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
3251         (html_text::issue_tag): Add argument to handle space style.
3252         (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
3253         (html_text::flush_text): Don't set `start_space'.
3254         (html_text::push_para): Don't set `p->really_issued'.
3255         (html_text::do_emittext): Updated.
3256         (html_text::do_para): Add paremeter to handle space.
3257         Update all callers.
3258         (html_text::retrieve_para_space): New function.
3260         * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
3261         (tag_definition): Remove `really_issued'.
3262         (html_text): Updated.
3264         * src/devices/grohtml/post-html.cpp (html_printer): Add variables
3265         `current_column' and `row_space'.
3266         Update constructor.
3267         (html_printer::emit_raw, html_printer::write_header,
3268         html_printer::do_indent, html_printer::do_check_center,
3269         html_printer::do_tab_ts): Handle vertical space.
3270         (html_printer:do_tab_te, html_printer::do_end_para): Call
3271         `remove_para_space'.
3272         (html_printer::do_col): Rewritten.
3273         (html_printer::flush_globs): Remove debugging code.
3274         (html_printer::is_line_start): New function.
3275         (html_printer::start_font): Use `is_line_start'.
3276         (html_printer::writeHeadMetaStyle): New function.
3277         (html_printer::do_file_components, html_printer::~html_printer):
3278         Call `writeHeadMetaStyle'.
3280         * tmac/www.tmac (www-handle-percent): New macro.
3281         (MPIMG): Handle percent values for width and height parameters.
3282         (DC): Updated.
3284         * tmac/groff_www.man: Updated.
3286 2005-02-14  Werner LEMBERG  <wl@gnu.org>
3288         * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
3289         $psname and $italic_angle.
3290         Immediately restart file input loops if `split' returns an empty
3291         array.
3293 2005-02-13  Michail Vidiassov  <master@iaas.msu.ru>
3294             Werner LEMBERG  <wl@gnu.org>
3296         Update afmtodit to better support Unicode (Michail).
3297         Update afmtodit to use Perl 5 syntax (Werner).
3299         * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
3300         `Getopts::Std'.
3301         Decorate variables with `my' where necessary.
3302         Use `defined' where necessary to avoid warnings.
3303         Don't use `do' for subroutine calls.
3304         Other minor syntax updates.
3305         Check for both `uXXXX[X[X]]' and `uniXXXX'.
3306         Handle glyph variants properly.
3307         (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
3308         strings.
3310         * src/utils/afmtodit/afmtodit.man: Updated.
3312 2005-02-13  Werner LEMBERG  <wl@gnu.org>
3314         Make groff.texinfo work with texinfo 4.8.
3316         * doc/groff.texinfo (@Var): Use @r and @slanted.
3317         (@defdummy, @Def*): Use @c to avoid empty lines.
3318         (\angles): Replaced with...
3319         (\Langlemacro, \Ranglemacro): New TeX macros.
3320         (@Langlemacro, @Ranglemacro): New variables defined with @set.
3321         (@angles): Use @Langlemacro and @Ranglemacro.
3322         (\LE): Replaced with...
3323         (\LEmacro): New TeX macro.
3324         (@LEmacro): New variable defined with @set.
3325         (@LE): Use @LEmacro.
3326         (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
3327         variables defined with @set.
3328         (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
3329         (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
3330         Update all callers.
3332         Other minor updates.
3334         * doc/texinfo.tex: Update to texinfo version 4.8.
3336         * README.CVS: Updated.
3338 2005-02-09  Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
3340         * doc/groff.texinfo (ms Document Control Registers): Document `HY'
3341         and `FAM' registers.
3343 2005-02-05  Werner LEMBERG  <wl@gnu.org>
3345         * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
3346         tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
3347         Update BSD license.
3349 2005-02-01  Werner LEMBERG  <wl@gnu.org>
3351         * src/roff/groff/groff.man: Add information about paper size.
3353 2005-01-25  Werner LEMBERG  <wl@gnu.org>
3355         * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale.  From
3356         NetBSD bin/29114.
3358 2005-01-22  Ruslan Ermilov  <ru@FreeBSD.org>
3360         * tmac/doc.tmac (Sm): Improved.  It didn't work properly in many
3361         cases.
3362         (Re): Emit a warning if called without `.Rs'.
3363         (doc-finish-reference): Use parameter for decreasing
3364         `doc-reference-count'.
3365         (doc-print-reference): Pass specific count parameters to
3366         `doc-finish-reference'.
3368 2005-01-21  Werner LEMBERG  <wl@gnu.org>
3370         * src/libs/libdriver/input.cpp (delete_current_env, do_file):
3371         Reset pointers to zero after deallocation.  This fixes a crash
3372         if a driver is called with multiple input files.  Reported by
3373         Ken Chilton <ken@chiltonfamily.org>.
3375         * src/devices/grops/grops.man: Add more info on DSC.
3377 2005-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
3379         * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
3380         Remove dead code.
3382 2005-01-17  Werner LEMBERG  <wl@gnu.org>
3384         * src/roff/troff/div.cpp (top_level_diversion::space): Protect
3385         against division by zero.
3387 2005-01-13  Ruslan Ermilov  <ru@FreeBSD.org>
3389         * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
3391 2004-12-19  Werner LEMBERG  <wl@gnu.org>
3393         * install-sh: New version; taken from texinfo CVS.
3395 2004-12-17  Werner LEMBERG  <wl@gnu.org>
3397         * tmac/devtag.tmac: Protect against loading twice.
3398         Protect agains compatibility mode.
3399         * tmac/www.tmac: Protect against loading twice.
3400         Load `devtag.tmac' before switching off compatibility mode.
3401         * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
3403 2004-12-16  Mike Bianchi  <mbianchi@Foveal.com>
3405         * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
3406         * configure: Updated.
3408 2004-12-15  Thomas Klausner  <wiz@netbsd.org>
3410         * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
3412 2004-12-15  Werner LEMBERG  <wl@gnu.org>
3414         Make `test-groff' work again -- previously, wrong paths have been
3415         used.  Additionally, it can now be called from anywhere.
3417         * test-groff.in: Don't test for groff binary.  This is no longer
3418         necessary since the proper paths are determined by `configure'.
3419         (EXEEXT): Removed.  No longer used.
3420         (srcdir, builddir): Use values provided by the configure script.
3421         (XENVIRONMENT): Updated.
3423         * INSTALL: Updated.
3425 2004-12-14  Gaius Mulley  <gaius@glam.ac.uk>
3427         Make .tag and .taga work for all devices (but only grohtml actually
3428         handles them).
3430         * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
3431         (text_glob::is_br, page::add_tag, html_printer::troff_tag,
3432         html_printer::handle_assertion): Don't use hard-coded string
3433         lengths.
3434         (html_printer::lookahead_for_table): Reset `tbl' properly if
3435         necessary.
3436         (html_printer::devtag): New function, handling `devtag'.
3437         (html_printer::special): Don't handle `html-tag'.
3439         * src/include/printer.h, src/libs/libdriver/printer.cpp
3440         (printer::devtag): New virtual function.
3442         * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
3443         `devtag'.
3445         * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
3446         src/roff/troff/node.cpp: s/html-tag/devtag/.
3448         * src/roff/troff/input.cpp (tag, taga): Always call
3449         curenv->add_node.
3451         * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
3452         macros instead of HTML-TAG*.
3454         * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
3456         * tmac/www.tmac: Load devtag.tmac.
3457         Replace HTML-TAG* macros with DEVTAG* macros.
3458         (HTML, HTML-NS): Changed definitions.
3459         (URL): Use HTML-NS.
3460         (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
3462         * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
3464 2004-12-10  Werner LEMBERG  <wl@gnu.org>
3466         Import Mike's `gdiffmk' package.
3468         * contrib/gdiffmk/*: New files.
3469         * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
3470         * NEWS: Updated.
3472 2004-12-08  Werner LEMBERG  <wl@gnu.org>
3474         Import Keith's `pdfmark' package.  Integration is very preliminary.
3476         * contrib/pdfmark/*: New files.
3477         * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
3478         * NEWS: Updated.
3480 2004-12-07  Gaius Mulley  <gaius@glam.ac.uk>
3482         Fix a bug with title handling in HTML.
3484         * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
3485         text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
3486         length.
3487         (html_printer::handle_tag_within_title): New function.
3488         (html_printer::do_title): Use it.
3490         * tmac/s.tmac (TL): Don't set `need_eo_tl'.
3491         (cov*tl-au-print): Emit `.eo.tl' tag.
3493 2004-12-05  Alejandro López-Valencia  <dradul@etb.net.co>
3495         * man/groff_char.man: Minor imrovements.
3497 2004-12-04  Werner LEMBERG  <wl@gnu.org>
3499         * src/preproc/eqn/eqn.man: Revised.
3501 2004-11-25  Werner LEMBERG  <wl@gnu.org>
3503         * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
3504         groff source files.
3505         Include config.h.
3506         Include limits.h.
3507         Remove X_NOT_STDC_ENV conditional.
3508         (Version_string, program_name): New global variables.
3509         (groff_flag): Removed.
3510         (MapFont): Updated.
3511         (usage): Take a stream as argument.
3512         Use `program_name'.
3513         Update all callers.
3514         (main): Add `long_options' array for `--help' and `--version'.
3515         Make `-g' a dummy option.
3516         Handle `-v' and unknown options.
3517         Remove unused `position' variable.
3519         * src/utils/xtotroff/Makefile.sub (MAN1): Define.
3520         (XLIBS): Add LIBGROFF.
3522         * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
3523         New files.
3525         * src/devices/xditview/Dvi.c (default_font_map): Split into three
3526         parts to avoid compiler warning.
3527         (resources): Don't initialize with `default_font_map'.
3528         (ClassInitialize): Initialize first element of `resources'.
3530         * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
3531         Removed.
3533         * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
3534         src/utils/pfbtops/pfbtops.man: Revised, updated.
3536         * configure.ac: Generate src/utils/xtotroff/Makefile.
3537         * configure: Regenerated.
3539 2004-11-24  Werner LEMBERG  <wl@gnu.org>
3541         First fixes to get produce HTML.
3543         * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
3544         attribute.
3546         * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
3547         (HR, LI): Use `HTML</p>', not `HTML'.
3549         * doc/webpage.ms: Minor updates.
3551 2004-11-23  Larry Kollar  <kollar@alltel.net>
3553         Add option -S grohtml to determine the file split level.
3555         * src/devices/grohtml/post-html.cpp (split_level): New global
3556         variable.
3557         (html_header::determine_header_level): Use split_level.
3558         (main): Handle `-S' command line option.
3559         Sort options.
3561         * src/preproc/html/pre-html.cpp (scanArguments): Updated.
3563         * src/devices/grohtml/grohtml.man: Document it.
3564         Sort options.
3566         * NEWS: Document it.
3568 2004-11-23  Y T  <doarhop@hotmail.com>
3570         * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
3571         the volume and number refer entries.
3573 2004-11-22  Werner LEMBERG  <wl@gnu.org>
3575         * src/devices/grohtml/html-table.cpp
3576         (html_table::emit_table_header): Don't emit `cols' attribute which
3577         doesn't exist in HTML 4.0 and is thus invalid.
3579         * NEWS: More minor fixes and updates.
3581 2004-11-18  Werner LEMBERG  <wl@gnu.org>
3583         * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
3584         (HTML</p>): Minor clean-up.
3586         * tmac/groff_www.man: Updated.
3588         * src/devices/grohtml/grohtml.man: Revised and updated.
3590         * NEWS: Updated.
3592 2004-11-18  Gaius Mulley  <gaius@glam.ac.uk>
3594         * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
3595         Fix space insertion.
3596         (html_printer::do_links): Fix rules generation around automatic
3597         heading links.
3599         * tmac/www.tmac (LK): Use HTML-TAG-NS.
3600         (HR): Simplify.
3601         No longer emit empty line for non-HTML devices.
3603 2004-11-17  Werner LEMBERG  <wl@gnu.org>
3605         * doc/Makefile.in (prepare_examples, webpage.html): Handle
3606         `groff.css'.
3608         * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
3609         prepare_examples, webpage.html): Handle `groff.css'.
3611 2004-11-15  Werner LEMBERG  <wl@gnu.org>
3613         * NEWS, README, doc/webpage.ms: Updated.
3615         * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
3617 2004-10-30  Gaius Mulley  <gaius@glam.ac.uk>
3619         * src/include/printer.h (printer): Remove virtual function
3620         `round_width'.
3621         Update all source files.
3623         * src/devices/grohtml/post-html.cpp (html_printer): New member
3624         function `round_width'.
3626 2004-10-20  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
3628         * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
3629         column key letter suffix.
3631 2004-10-14  Werner LEMBERG  <wl@gnu.org>
3633         * Makefile.in (check): Depend on `site.exp' and `docheck'.
3634         (docheck): Run dejagnu's `runtest' if it exists.
3635         (site.exp): Create dejagnu configuration file.
3637         * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
3639 2004-10-13  Werner LEMBERG  <wl@gnu.org>
3641         * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
3642         src/devices/grohtml/post-html.cpp (make_val,
3643         html_printer::handle_state_assertion): Fix compiler warnings.
3645         * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
3646         (diversion::diversion): Fix order of initializers.
3648         * src/roff/troff/div.h: Don't include `mtsm.h'.
3650         * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
3651         (environment::environment): Fix order of initializers.
3652         (environment::make_tag, environment::construct_format_state): Fix
3653         compiler warnings.
3655         * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
3656         (input_iterator::input_iterator, macro::macro): Fix order of
3657         initializers.
3659         * src/roff/troff/mtsm.cpp: Include only necessary header files.
3660         (state_set::add, state_set::val): Fix compiler warnings.
3662         * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
3663         (bool_value_state, int_value_state, units_value_state,
3664         string_value_state): Remove comma after last element which causes
3665         an error with g++ 3.3.3.
3667         * src/roff/troff/node.cpp: Include `stringclass.h'.
3668         (hline_node::hline_node, vline_node::vline_node,
3669         space_char_hmotion_node, left_italic_corrected_node): Fix compiler
3670         warnings.
3671         (zero_width_node::zero_width_node): Fix order of initializers.
3673         * src/roff/troff/node.h: Don't include `mtsm.h'.
3674         (hmotion_node): Fix compiler warnings.
3676         * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
3678 2004-10-12  Gaius Mulley  <gaius@glam.ac.uk>
3680         * doc/groff.css: New file.
3682         * doc/webpage.ms: Use `groff.css'.
3683         Other small fixes.
3685         * tmac/an-old.tmac (need_eo_h): New number register.
3686         (TH): Emit `.eo.tl' tag after title.
3687         (SH): Set `need_eo_h'.
3688         (an-trap): Handle `need_eo_h'.
3689         (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
3691         * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
3692         (TL): Always start diversion.
3693         Updated.
3694         (@AI): Always call `par@reset'.
3695         (@AB): Update code for -Thtml.
3696         (cov*tl-au-print): Handle -Thtml.
3697         (par@reset): Handle `need_eo_tl', `need_eo_h'.
3698         (@IP): Simplified.
3699         (@IT-html): Removed.
3700         (@SH): Set `need_eo_h' for -Thtml.
3701         (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
3702         Set `need_eo_tl'.
3703         (@NH): s/HTML-TAG/HTMl-TAG-NS/.
3704         Set `need_eo_h' for -Thtml.
3705         (@EQ, @EN): Don't handle -Thtml specially.
3706         (par@load-init): Don't handle -Thtml specially.
3708         * tmac/www.tmac (www:paraspace): New macro.
3709         (HTML-NS, HTML-TAG-NS): Use new `tag' request.
3710         (HTML</p>, HTML-TAG-NEXT): New macros.
3711         (HnE): Emit tag `.eo.h' instead of break.
3712         (HR): s/HTML-NS/HTML/.
3713         (www-end-nowhere): End diversion only if `www-html' not set.
3714         Emit `.eo.tl' tag.
3715         (ULS, ULE): s|HTML|HTML</p>|.
3716         (LI): Call `www:paraspace'.
3717         (HEAD): New macro.
3719 2004-10-11  Gaius Mulley  <gaius@glam.ac.uk>
3721         * src/roff/troff/request.h (macro): Make `p' public.
3722         New variable `is_a_diversion'.
3723         New member function `is_diversion'.
3726         * src/devices/grohtml/html.h (simple_output): New member function
3727         `force_nl'.
3729         * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
3730         computation of `total'.
3731         (tabs::check_init): New function.
3732         (html_table::emit_table_header): Emit style data.
3733         (html_table::insert_column): Improved.
3735         * src/devices/grohtml/html-table.h: Updated.
3737         * src/devices/grohtml/html-text.cpp (html_text::html_text):
3738         Initialize `start_space' with TRUE.
3739         (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
3740         cases.
3741         (html_text::flush_text): Set `start_space' flag.
3742         (html_text::uses_indent, html_text::remove_para_space,
3743         html_text::get_alignment): New functions.
3744         (html_text::push_para): Updated.
3745         (html_text::do_para): Check for empty argument.
3746         Don't set `space_emitted'.
3747         (html_text::do_space, html_text::emit_space): Updated.
3749         * src/devices/grohtml/html-text.h (tag_definition): New variable
3750         `really_issued'.
3751         (html_text): New member function `uses_indent', `remove_para_space',
3752         `get_alignment'.
3754         * src/devices/grohtml/output.cpp (simple_output::force_nl): New
3755         function.
3756         (simple_output:nl): Always emit `\n'.
3758         * src/devices/grohtml/post-html.cpp: Include `string.h'.
3759         (BASE_POINT_SIZE): Removed.
3760         (base_point_size, head_info): New global variables.
3761         (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
3762         `is_eo_h'.
3763         (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
3764         tags, respectively.
3765         (page::add_and_encode): Pass additional parameter for tag flag.
3766         (assert_pos): New structure.
3767         (assert_state): New class.
3768         (html_printer): Remove `indentation', `prev_indent'.
3769         Add variables `troff_indent', `device_indent', `temp_indent'.
3770         Add variables `seen_indent', `next_indent', `seen_pageoffset',
3771         `next_pageoffset', `seen_linelenght', `next_linelength',
3772         `seen_center', `next_center', `seen_space', `seen_break', `as'.
3773         Add member functions `do_check_center', `do_space', `do_head',
3774         `get_troff_indent', `restore_troff_indent', `handle_assertion',
3775         `handle_state_assertion', `do_end_para', `set_char_and_width'.
3776         Change argument to `do_fill' to `char *'.
3777         Update constructor.
3778         (html_printer::emit_raw): Call `shutdown_table'.
3779         Use new functions.
3780         (html_printer::do_center): Simplified.
3781         (html_printer::do_title): Improved.
3782         (html_printer::write_header): Emit one more newline.
3783         Use new functions.
3784         (html_printer::do_heading, html_printer::do_indent,
3785         html_printer::do_eol, html_printer::do_tab_ts,
3786         html_printer::do_tab, html_printer::do_tab0,
3787         html_printer::calc_po_in, html_printer::next_horiz_pos,
3788         html_printer::remove_courier_tabs,
3789         html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
3790         Updated.
3791         (html_printer::do_linelength, html_printer::do_pageoffset,
3792         html_printer::do_indentation, html_printer::do_tempindent,
3793         html_printer::do_tab_te): Simplified.
3794         (html_printer::do_pointsize): Check whether point size is really
3795         associated a `.tl' tag.
3796         (html_printer::do_break): Rewritten.
3797         (html_printer::troff_tag): Improved.
3798         (html_printer::flush_globs): Updated.
3799         (html_printer::lookahead_for_tables): Handle `is_br'.
3800         Use new functions.
3801         (html_printer::set_char): Check `sbuf_style.f'.
3802         (html_printer::write_navigation): Use string comparison.
3803         (html_printer::~html_printer): Emit `head_info'.
3804         (html_printer::special): Rewritten.
3805         (get_str, make_val): New functions.
3806         (main): New option `s' to set the base point size.
3808         * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
3810 2004-10-10  Gaius Mulley  <gaius@glam.ac.uk>
3812         * src/roff/troff/node.cpp: New extern `debug_state'.
3813         Include `stringclass.h' and `mtsm.h'.
3814         Implement new classes and class members from `node.h'.
3815         (real_output_file): Make `fp' public.
3816         (troff_output_file): New variables `cur_div_level' and `tag_list'.
3817         Update constructors.
3818         (troff_output_file::really_print_line): Check whether we should push
3819         the current troff state and use the state at the start of the
3820         invocation of this diversion.
3821         (troff_output_file::add_to_tag_list): New member function.
3822         (node::add_char): Handle `glyph_comp_np'.
3824         * src/roff/troff/node.h: Include `mtsm.h'.
3825         (node): New variables `state', `push_state', `div_nest_level',
3826         `is_special'.  Update constructors, all descendants.
3827         Pass additional argument to `add_char' member function.
3828         New virtual member functions `is_tag', `debug_node',
3829         `debug_node_list'.  Update all descendants.
3830         (tag_node): New class for handling tags.
3831         (output_file): Add variable `state'.
3833 2004-10-09  Gaius Mulley  <gaius@glam.ac.uk>
3835         * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
3836         providing a minimal troff state machine to emit meta tags for the
3837         post-grohtml device driver.
3839         * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
3840         files.
3842 2004-10-09  Werner LEMBERG  <wl@gnu.org>
3844         * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
3846 2004-10-06  Gaius Mulley  <gaius@glam.ac.uk>
3848         * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
3850         * src/roff/troff/div.h: Include `mtsm.h'.
3851         (diversion): New variables `any_chars_added', `needs_push',
3852         `saved_seen_break', `saved_seen_space', `saved_seen_eol',
3853         `saved_suppress_next_eol', `modified_tag'.
3854         New virtual member function `is_diversion'.  Update all descendants.
3856         * src/roff/troff/div.cpp (diversion::diversion,
3857         macro_diversion::macro_diversion): Updated.
3858         (do_divert): Handle `seen_break', `seen_space', `seen_eol',
3859         `suppress_next_eol'.
3860         (top_level_diversion::space): Handle `curenv->seen_space'.
3861         (page_offset): Update tag handling.
3862         (space_request, blank_line, flush_output): Don't call `add_html_tag'.
3864         * src/roff/troff/env.h (environment): Make `tabs' public.
3865         Remove `ignore_next_eol', `emitted_node'.
3866         Update `output_line', `output'.
3867         New variables `seen_space', `seen_eol', `suppress_next_eol',
3868         `seen_break'.
3869         New member functions `construct_state', `make_tag',
3870         `construct_format_state, `construct_new_line_state,
3871         `dump_troff_state'.
3872         Remove `add_html_tag', `make_html_tag'.
3874         * src/roff/troff/env.cpp: New externs `suppress_push',
3875         `get_diversion_state', `global_diverted_space'.
3876         (pending_output_line): New variable `was_centered'.
3877         Update constructor and all callers.
3878         (pending_output_line::output): Call `curenv->construct_format_state'.
3879         (environment::environment, environment::copy): Updated.
3880         (environment::output): Handle `was_centered'.
3881         (environment::add_char): Handle construct and diversion state.
3882         (environment::add_node): Handle construct state.
3883         (environment::newline): Handle `was_centered'.
3884         (environment::output_line): Updated.
3885         (environment::possibly_break_line): Updated.
3886         Update tag handling.
3887         (environment::add_html_tag): Replaced with...
3888         (environment::make_tag): New function.
3889         (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
3890         (environment::dump_troff_state): New debugging function.
3891         (environment::construct_state, environment::construct_format_state,
3892         environment::construct_new_line_state): New functions.
3893         (environment::do_break): Updated.
3894         Handle `global_diverted_space'.
3895         (environment::handle_tag): Update tag handling.
3896         (point_size, fill, do_break_request): Don't call `add_html_tag'.
3897         (no_fill): Don't call `add_html_tag'.
3898         Set `suppress_next_eol'.
3899         (center, right_justify, line_length, indent, temporary_indent,
3900         set_tabs):
3901         Update tag handling.
3903         * src/roff/troff/input.cpp: Don't include `stringclass.h'.
3904         (input_iterator): New variables `is_diversion', `diversion_state'.
3905         Update constructors.
3906         (input_stack): New member functions `get_div_level',
3907         `get_diversion_state', `check_end_diversion'.
3908         New variables `div_level', `diversion_state'.  Initialize them.
3909         (suppress_push, global_diverted_space): New global variables.
3910         (input_stack::finish_get, input_stack::finish_peek,
3911         input_stack::remove_boundary, input_stack::end_file,
3912         input_stack::clear, input_stack::pop_macro): Call
3913         `check_end_diversion'.
3914         (input_stack::push): Handle `div_level' and `diversion_state'.
3915         (get_diversion_state): New function.
3916         (diverted_space_node::reread): Handle `global_diverted_space'.
3917         (macro::macro): Update constructors.
3918         (macro::is_diversion): New function.
3919         (macro::operator=): Set `is_a_diversion'.
3920         (string_iterator): New member function `is_diversion'.
3921         (string_iterator::string_iterator): Update constructors.
3922         (string_iterator::fill): Set `div_nest_level'.
3923         (macro_iterator): New member function `is_diversion'.
3924         (do_if_request): Handle `suppress_push'.
3925         (tag, taga): New functions.
3926         (init_input_requests): Add `tag' and `taga' requests.
3928 2004-10-05  Gaius Mulley  <gaius@glam.ac.uk>
3930         * src/include/font.h (font): New member function
3931         `get_image_generator'.
3932         New variables `unscaled_charwidths' and `image_generator'.
3934         * src/libs/libgroff/font.cpp (font::get_width): Always return the
3935         character's unscaled width if `font::unscaled_charwidths' is set.
3936         (font::get_image_generator): New function.
3937         (font::load_desc): Check the `unscaled_charwidths' and
3938         `image_generator' keywords.
3940         * src/libs/libgroff/fontfile.cpp: Initialize
3941         `font::unscaled_charwidths' and `font::image_generator'.
3943         * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
3945         * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
3947         * man/groff_font.man: Document `unscaled_charwidths' and
3948         `image_generator'.
3950         * src/preproc/html/pre-html.cpp: Include `device.h'.
3951         (image_gen): New global variable.
3952         (imageList::createPage): Use `image_gen'.
3953         (main): Use `image_generator' keyword.
3955 2004-10-04  Gaius Mulley  <gaius@glam.ac.uk>
3957         * tmac/html.tmac: Handle \[sqrtex].
3959 2004-10-04  Gaius Mulley  <gaius@glam.ac.uk>
3961         * src/include/printer.h (printer): New virtual method `round_width'.
3963         * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
3964         src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
3965         src/devices/grotty/tty.cpp (printer::round_width): New function
3966         member.
3968         * src/devices/grohtml/post-html.cpp (printer::round_width): New
3969         function member.
3970         (html_printer::set_numbered_char): Use it.
3972 2004-10-03  Gaius Mulley  <gaius@glam.ac.uk>
3974         * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
3976         * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
3978         * configure: Regenerated.
3980         * Makefile.in (GHOSTSCRIPT): New variable.
3981         (MDEFINES): Add GHOSTSCRIPT.
3983 2004-10-03  Werner LEMBERG  <wl@gnu.org>
3985         * INSTALL.gen: Updated (taken from texinfo CVS).
3987 2004-09-28  Werner LEMBERG  <wl@gnu.org>
3989         * NEWS: Updated.
3991 2004-09-28  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
3993         * tmac/groff_www.man: Revised and updated.
3995 2004-09-26  Werner LEMBERG  <wl@gnu.org>
3997         Fix \$@ and \$* to handle any number of arguments.
3999         * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
4000         characters.
4002         * src/roff/troff/input.cpp (input_iterator::internal_level):
4003         Removed.
4004         (input_stack): New member functions `increase_level' and
4005         `decrease_level'.
4006         (input_stack::get_level): Don't use `internal_level'.
4007         (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
4008         (end_quote_iterator): Completely removed.
4009         (interpolate_arg): Build string for \$@ and \$* which is then
4010         pushed onto the input stack.
4012 2004-09-23  Keith Marshall  <keith.d.marshall@ntlworld.com>
4014         * tmac/groff_ms.man, doc/groff.texinfo (ms Document Control
4015         Registers): Document changes from 2004-09-19.
4017 2004-09-23  Werner LEMBERG  <wl@gnu.org>
4019         * tmac/an-old.tmac (ne): Using default scaling operator.
4021 2004-09-19  Keith Marshall  <keith.d.marshall@ntlworld.com>
4023         This change implements the following features:
4025         PORPHANS
4026           New numeric register: Defines number of lines following LP, PP,
4027           QP, IP or XP, which must be kept together, before any automatic
4028           page break.  If insufficient space remains on the current page, a
4029           page break is forced before the new paragraph begins.
4031         HORPHANS
4032           New numeric register: Sets number of lines of following paragraph
4033           which must be kept with a heading, defined by NH or SH, before any
4034           automatic page break.  If insufficient space remains on the
4035           current page, a page break is forced before the heading.
4037         GROWPS
4038           (Thanks to Joerg van den Hoff, for this idea).
4040           New numeric register: Sets the first level of heading (set with
4041           NH), which will keep the same point size as body text; e.g. if
4042           GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
4043           point size specified by \n[PS], but .NH 2 and .NH 1 will have
4044           progressively larger point sizes, determined by \n[PSINCR] (see
4045           below).
4047         PSINCR
4048           New numeric register: Sets the point size increment for each level
4049           of heading, (set with NH), below the threshold level set by
4050           GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
4051           then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
4052           and all other levels will remain at 10pt, (because \n[PS] = 10).
4054         SH
4055           Existing macro now accepts a numeric argument, to make heading
4056           size match that of NH with same argument value, when the
4057           GROWPS/PSINCR feature is enabled.
4059         SN-DOT
4060           New string, set by NH macro, replaces the existing (undocumented)
4061           use of SN, to represent the assigned section number.
4063         SN-NO-DOT
4064           New string, set by NH macro, represents the assigned section
4065           number, but omits the terminal period (periods at intermediate
4066           levels are retained).
4068         SN
4069           String set by NH macro, originally undocumented, now implemented
4070           as an alias for SN-DOT (which reproduces original behaviour).
4072         * tmac/s.tmac (PORPHANS): New register.
4073         (par*start): Use it.
4074         (HORPHANS, GROWPS, PSINCR): New registers.
4075         (SH-NO-TAG, @SH): Use them.
4076         (@NH): Improved.
4078 2004-09-19  Keith Marshall  <keith.d.marshall@ntlworld.com>
4080         * NEWS, doc/groff.texinfo (ms Display and Keeps), tmac/groff_ms.man:
4081         Document the deletion of `Ds' and `De' macros.
4083 2004-09-10  Werner LEMBERG  <wl@gnu.org>
4085         In tbl, handle \a as an interpreted leader character if in
4086         compatibility mode.
4088         * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER,
4089         LEADER_CHAR): New macros.
4090         (compatible_flag): New declaration.
4092         * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2,
4093         LEADER_3, and LEADER_4 to `state'.
4094         (table_input::get): Handle `\a'.
4096         * src/preproc/tbl/table.cpp (PREFIX): Removed.
4097         (LEADER_REG): New macro.
4098         (table::init_output): Define LEADER_REG string register if in
4099         compatibility mode.
4101         * src/preproc/tbl/tbl.man: Document it.
4103 2004-08-18  Werner LEMBERG  <wl@gnu.org>
4105         * tmac/doc.tmac (An): Fix error message.
4107 2004-08-06  Werner LEMBERG  <wl@gnu.org>
4109         * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a
4110         file can't be opened.  UNIX tbl has the same behaviour.
4112 2004-08-05  Y T  <doarhop@hotmail.com>
4114         * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration.
4115         (DBRead): If in compatibility mode, take into account the text
4116         when computing figure boundaries.
4118 2004-08-05  Werner LEMBERG  <wl@gnu.org>
4120         * src/preproc/soelim/soelim.man: Improved.  Based on suggestions
4121         from Tadziu Hoffmann.
4123 2004-08-03  Werner LEMBERG  <wl@gnu.org>
4125         * doc/meref.me: Document `_M' register.
4127 2004-08-03  Martin Husemann  <martin@duskware.de>
4129         Make hpftodit work correctly on big-endian systems.
4131         * src/utils/hpftodit/hpftodit.cpp (File): New method
4132         `get_uint32(char *)'.
4133         (entry): New member `orig_value'.
4134         (read_tags): Use new method.
4135         (output_font_name, read_and_output_pcltypeface, dump_ascii):
4136         Updated.
4138 2004-08-01  Werner LEMBERG  <wl@gnu.org>
4140         * tmac/s.tmac: Undo change 2003-06-29.  The proper macro definitions
4141         are already in X11's `macros.t' file.
4143 2004-08-01  Jeff Conrad  <jeff_conrad@msn.com>
4145         * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
4146         Fix casting bug.
4147         (read_and_output_pcltypeface): Handle strings with length <= 4.
4149 2004-07-27  Egil Kvaleberg  <egil@kvaleberg.no>
4151         * tmac/s.tmac (pg@top): Don't save `PO' register.
4152         (pg*end-col, pg*end-page): Directly use `PO' register.
4154 2004-07-27  Werner LEMBERG  <wl@gnu.org>
4156         * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
4158         * src/preproc/refer/refer.cpp (output_references): Check for
4159         empty hash table.
4160         * src/preproc/refer/refer.man: Improve documentation of
4161         `bibliography' command.
4163 2004-07-26  Werner LEMBERG  <wl@gnu.org>
4165         Add requests `fcolor' and `gcolor'.
4167         * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
4168         New functions.
4169         (init_env_requests): Add `fcolor' and `gcolor'.
4171         * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
4173         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo
4174         (Colors): Document new requests.
4176 2004-07-24  Werner LEMBERG  <wl@gnu.org>
4178         Add support for fractional point sizes in ms macros.  A value for
4179         PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
4180         by 1000.  For example, `.nr PS 10250' sets the font size to 10.25p.
4182         * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
4183         PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
4185         * tmac/groff_ms.man, docs/groff.texinfo (ms Document Control
4186         Registers), NEWS: Document it.
4188 2004-07-19  Werner LEMBERG  <wl@gnu.org>
4190         * src/preproc/pic/lex.cpp (for_input): Add member `from'.
4191         Update constructor.
4192         (do_for, for_input::get, for_input::peek): Handle negative `by'.
4193         * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
4195 2004-07-08  Thomas Klausner  <wiz@netbsd.org>
4197         * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
4198         * tmac/groff_mdoc.man: Updated.
4200 2004-07-05  Werner LEMBERG  <wl@gnu.org>
4202         * doc/groff.texinfo (Manipulating Hyphenation): Further improve
4203         documentation of `hcode'.
4205 2004-07-04  Sang Dae Yu  <sdyu@bh.knu.ac.kr>
4207         Improve appearance of arrows in pic.
4209         * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
4210         arrow head thin.
4211         Use two line segments for drawing non-filled arrow head.
4212         (line_object::print, spline_object::print): Shorten line length to
4213         avoid arrow sticking.
4214         (arc_object::print): Take arrow direction into account.
4216 2004-07-03  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
4218         * tmac/groff_www.man: Update documentation of .MPIMG.
4220 2004-07-03  Werner LEMBERG  <wl@gnu.org>
4222         * tmac/an-old.tmac (RI): Always start with font `R'.
4223         (RI, IR): Properly end with font `R'.
4225 2004-07-02  Paul Eggert  <eggert@cs.ucla.edu>
4227         * man/ditroff.man, man/groff_font.man, man/groff_out.man,
4228         src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
4229         src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
4230         Don't pass more than six arguments to .R, .I, .B, etc., for
4231         compatibility with traditional troff macros.
4233 2004-07-02  Werner LEMBERG  <wl@gnu.org>
4235         * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
4236         s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
4237         Update all users.
4238         (PUSH_COMP_MODE): New internal character constant.
4239         Update all users.
4241         * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
4242         PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
4243         (token::next, macro::append): Handle PUSH_COMP_MODE.
4244         (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
4245         POP_GROFFCOMP after each of the decoded arguments to make them
4246         independent from the compatibility mode status.
4247         (comp_mode): Add `COMP_ENABLE'.
4248         (do_define_string, do_define_macro): Handle COMP_ENABLE.
4249         (define_string, append_string, define_macro, define_indirect_macro,
4250         append_macro, append_indirect_macro): Handle `compatible_flag'.
4251         (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
4253         * man/groff_diff.man, doc/groff.texinfo: Updated.
4255 2004-07-01  Werner LEMBERG  <wl@gnu.org>
4257         * doc/groff.texinfo: Improve documentation of `hcode'.
4258         Use @documentencoding and convert document to latin-1; to do that
4259         make latin characters active and assign proper macros (within a
4260         @tex...@end tex environment).
4261         * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
4262         * doc/Makefile.sub (groff): Ditto.
4264 2004-06-29  Werner LEMBERG  <wl@gnu.org>
4266         Implement two new conditional operators `F <name>' and `S <name>'
4267         which check whether <name> is a valid font or style, respectively.
4269         * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
4270         (text_file::text_file): Updated.
4271         (text_file::error): Don't emit message if `silent' is set.
4272         (font::load_font): Add optional third argument (which is directly
4273         passed to `load'.
4274         (font::load): Add optional second argument to check the header of
4275         a font only, without emitting warning or error messages.
4276         * src/include/font.h (font): Updated.
4278         * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
4279         conditionals.
4280         * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
4281         fourth argument to check a font without mounting.
4282         (check_font, check_style): New functions.
4283         * src/roff/troff/node.h: Updated.
4285         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4286         Updated.
4288 2004-06-27  Werner LEMBERG  <wl@gnu.org>
4290         Implement new string-valued register `.sty' to return the current
4291         style name.
4293         * env.cpp (environment::get_style_name_string): New function.
4294         (init_env_requests): Add `.sty' register.
4295         * env.h (environment): Updated.
4296         * node.cpp (font_info): Make `get_style_name' a friend.
4297         (get_style_name): New function.
4298         * node.h: Updated.
4300         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4301         Updated.
4303 2004-06-15  Werner LEMBERG  <wl@gnu.org>
4305         * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
4306         `nospaces' option.
4308 2004-06-10  Colin Percival  <colin.percival@wadham.ox.ac.uk>
4310         * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
4311         and \n[mo] to avoid dependency on current date.
4313 2004-06-08  Werner LEMBERG  <wl@gnu.org>
4315         * Makefile.sub (install_data): New target.
4317 2004-06-04  Werner LEMBERG  <wl@gnu.org>
4319         * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
4321 2004-06-03  Werner LEMBERG  <wl@gnu.org>
4323         * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
4324         order of libraries.
4325         (install_data): Add $(srcdir).
4327         * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
4328         libraries.
4330 2004-06-02  Werner LEMBERG  <wl@gnu.org>
4332         * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
4333         Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
4334         Add test for Xmu library.
4335         (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4336         GROFF_APPRESDIR_DEFAULT): New macros.
4338         * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4339         and GROFF_APPRESDIR_DEFAULT.
4341         * configure: Regenerated.
4343         * Makefile.in (appresdir): New variable.
4344         (MDEFINES): Add appresdir.
4346         * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
4347         -Xt.
4348         (install_data, uninstall_sub): New targets to handle GXditview.ad.
4350         * src/utils/indxbib/Makefiles.ub (install_data): Depend on
4351         `$(srcdir)/eign', not `eign'.
4353         * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
4355         * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
4356         src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
4357         Protect (g)xditview with `\%' to avoid hyphenation.
4358         Other minor formatting.
4360 2004-06-01  Werner LEMBERG  <wl@gnu.org>
4362         Integrate gxditview into groff's standard directory hierarchy.
4364         * src/xditview/*: Moved to ...
4365         * src/devices/xditview/*: Here.
4366         Moved DviChar.h and XFontName.h to src/include.
4367         Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
4368         Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
4369         Moved xtotroff.c to new directory src/utils/xtotroff.
4370         Provide proper Makefile.sub files (reusing the stuff from
4371         Imakefile.in).
4372         DESC renamed to DESC.in.
4373         Removed GXDitview-ad.h, INSTALL, Imakefile.in.
4374         Converted everything from K&R to ANSI C.
4375         Decorated with const where appropriate.
4376         Cast string constants with `String' and `char *' where appropriate.
4377         Made it compile with C++ (used as a C compiler).
4378         Removed other minor compiler warnings.
4380         * src/devices/xditview/device.c: Include config.h, string.h, and
4381         defs.h.
4382         Don't declare `exit', `strtok', `strchr', and `getenv'.
4383         (FONTPATH): Remove.
4385         * src/devices/xditview/font.c: Don't declare `XParseFontName' and
4386         `XFormatFontName'.
4388         * src/devices/xditview/xditview.c: Include config.h.
4389         Include stdio.h earlier.
4390         Protect declaration of `popen' and `pclose' with
4391         NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
4392         Replace `caddr_t' with `XtPointer'.
4393         (MakePromptFunc): New typedef.
4394         (DoPrint): Use RETSIGTYPE.
4395         (promptfunction): Change type to MakePromptFunc.
4396         (MakePrompt): Use MakePromptFunc for third argument.
4397         (xmalloc): Removed.
4399         * src/devices/xditview/ad2c: Add casts to `String'.
4401         * src/include/XFontName.h (XFontNameString): Don't use array
4402         notation.
4403         Add prototypes for `XParseFontName', `XFormatFontName',
4404         `XCompareFontName', and `XCopyFontName'.
4406         * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
4407         `XFontName.h'.
4409         * src/utils/xtotroff/xtotroff.c: Include getopt.h.
4410         Don't declare `XParseFontName' and `XFormatFontName'.
4411         (xmalloc): Removed.
4412         (main): Remove `optind' and `optarg'.
4414         * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
4415         (to select programs which need X).
4416         Make XDEVIDIRS depend on `FORCE'.
4417         (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
4418         X support).
4419         (MDEFINES): Updated.
4420         (LIBDIRS): Use XLIBDIRS.
4421         (CPROGDIRS): Use XPROGDIRS.
4422         (DEVDIRS): Remove font directories for gxditview.
4423         (ALLDIRS, DISTDIRS): Add XDEVDIRS.
4424         (EXTRADIRS): Remove src/xditview.
4426         * Makefile.sub (DISCLEANFILES): Updated.
4428         * Makefile.comm (LIBXUTIL): New variable.
4429         (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
4430         (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
4432         * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
4434         * aclocal.m4 (GROFF_X11): New function.
4436         * configure.ac: Call GROFF_X11.
4437         Don't create src/xditview/Imakefile.
4438         Don't emit notice how to build gxditview.
4440         * configure: Regenerated.
4442         * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
4444 2004-05-28  Akihiro Sagawa  <sagawa@sohgoh.net>
4446         * Makefile.in (CPPFLAGS): Define.
4447         (MDEFINES): Add CPPFLAGS.
4449 2004-05-27  Werner LEMBERG  <wl@gnu.org>
4451         * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
4453 2004-05-26  Niklas Edmundsson  <nikke@acc.umu.se>
4455         Fix problems with `friend name injections'.
4457         * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
4458         make_script_box), src/roff/troff/div.h (end_diversions),
4459         src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
4460         change 2004-04-08.
4462 2004-05-25  Bernd Warken  <bwarken@mayn.de>
4464         * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
4466 2004-05-25  Werner LEMBERG  <wl@gnu.org>
4468         * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
4469         src/libs/libgroff/color.cpp: Include lib.h.
4471 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
4473         * PROBLEMS: Update documentation for problems with Sun C++ 5.0
4474         through Forte 6u1, and for how to get GNU make on Solaris.
4476 2004-05-24  Werner LEMBERG  <wl@gnu.org>
4478         * PROBLEMS: Document problems with gcc 3.4.0 on Sun.  Reported
4479         by Paul Eggert.
4481 2004-05-15  Keith Marshall  <keith.d.marshall@ntlworld.com>
4483         * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
4484         rule.
4486 2004-05-14  Werner LEMBERG  <wl@gnu.org>
4488         * REVISION: Set to 2.
4490         * aclocal.m4 (GROFF_STDINT_H): Removed.
4491         (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H.
4493         * configure.ac: Updated.
4494         * configure, src/include/config.hin: Regenerated.
4496         * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
4497         inttypes.h conditionally.
4499 2004-05-13  Werner LEMBERG  <wl@gnu.org>
4501 Version 1.19.1 released
4502 =======================
4504 2004-05-10  Stephen Gildea  <http://www.gildea.com/stephen>
4506         * src/preproc/refer/label.y (same_author_last_name,
4507         same_author_name): Handle empty sort keys.
4509 2004-05-10  Werner LEMBERG  <wl@gnu.org>
4511         * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
4512         tmac/TODO: Updated.
4514         * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
4515         doc-str-Lb-librt): Reset font.
4516         (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
4517         Provide `doc-str-Lb' to reset font.
4518         * tmac/groff_mdoc.man: Updated.
4520 2004-05-08  Jan Schaumann  <jschauma@netmeister.org>
4522         * src/preproc/html/pre-html.cpp (make_message): Make it work for
4523         snprintf versions which don't conform to ANSI C 99 (this is,
4524         counting the string's trailing null byte in the return value).
4526 2004-05-07  Keith Marshall  <keith.d.marshall@ntlworld.com>
4528         * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
4529         that all implementations of sprintf handle null pointers correctly.
4531 2004-05-04  Werner LEMBERG  <wl@gnu.org>
4533         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4534         Document `.U' register.
4536         * src/roff/troff/env.cpp (environment::mark_last_line)
4537         [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
4539 2004-05-04  Larry Kollar  <kollar@alltel.net>
4541         New read-only register `.U'; it returns 1 in safer mode and 0
4542         otherwise.
4544         * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
4545         register.
4547 2004-05-03  Werner LEMBERG  <wl@gnu.org>
4549         * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
4551 2004-04-17  Werner LEMBERG  <wl@gnu.org>
4553         * src/include/font.h (font): Use `int' for ch_index.
4554         * src/libs/libgroff/font.cpp (font::alloc_ch_index,
4555         font::compact): Updated.
4557         * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
4558         warnings.
4560         * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
4561         (hyphen_word): Fix compiler warnings.
4562         * src/roff/troff/input.cpp (get_char_for_escape_name): Return
4563         `char'.
4564         Update all callers.
4565         (get_delim_number, get_line_arg): Change second argument type to
4566         `unsigned char'.
4567         (macro_header::copy, token::next, do_define_string,
4568         do_define_character, substring_request, asciify_macro,
4569         unformat_macro, read_size, non_interpreted_node::interpret,
4570         while_request, main: Fix compiler warnings.
4571         (read_color_draw_node): Initialize `col'.
4573         * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
4574         `start_col' and `end_col' of type `int'.
4575         (vertical_rule): Make `col' of type `int'.
4577         * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
4578         for EOF.
4580         * src/preproc/refer/label.y (uppercase_array, lowercase_array):
4581         New arrays.
4582         (format_serial): Use them to remove dependency on ASCII.
4584         * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
4585         compiler warning.
4586         * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
4587         Ditto.
4589         * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
4590         compiler warnings.
4591         (glyph): Change type of `hpos' to `int'.
4593         * src/devices/lbp/lbp.cpp (strsep): Removed.  Unused.
4594         * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
4596         * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
4598         * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
4600 2004-04-16  Werner LEMBERG  <wl@gnu.org>
4602         * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
4603         src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
4604         src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
4605         `double' instead of `float' everywhere.
4606         * src/preproc/grn/main.cpp: Use `double' instead of `float'
4607         everywhere.
4608         (main): Add return value.
4609         * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
4610         everywhere.
4611         Update all user functions.
4613         * src/include/search.h, src/include/ptable.h, src/include/printer.h,
4614         src/preproc/eqn/box.h, src/preproc/pic/object.h,
4615         src/preproc/refer/refer.h, src/preproc/tbl/table.h,
4616         src/preproc/tbl/table.cpp, src/roff/troff/env.h,
4617         src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
4618         src/roff/troff/input.cpp, src/roff/troff/request.h,
4619         src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
4620         declarations.
4622         * src/utils/indxbib/signal.c: Include stdlib.h.
4624 2004-04-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
4626         * tmac/s.tmac (@init, RP): Allow initialization of the PO register
4627         before the first page.
4629 2004-04-14  Thomas Klausner  <wiz@netbsd.org>
4631         * tmac/doc-common (doc-volume-as-*): Use lowercase names.
4632         (doc-operating-system-*): Updated.
4633         * tmac/doc-syms (doc-str-St-*): Various small fixes.
4634         (doc-str-Lb-*): Add more library names.
4636 2004-04-10  Art Haas  <ahaas@airmail.net>
4638         * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
4639         use anonymous type.
4641 2004-04-09  Art Haas  <ahaas@airmail.net>
4643         * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
4645 2004-04-09  Keith Marshall  <keith.d.marshall@ntlworld.com>
4647         * arch/misc/shdeps.sh: Generate better comment for sed script.
4649 2004-04-08  Art Haas  <ahaas@airmail.net>
4651         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
4652         src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
4653         src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
4654         src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
4655         (polyfill), src/preproc/grn/main.cpp (polyfill),
4656         src/preproc/refer/command.cpp (command_table),
4657         src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
4658         gcc 3.5 doesn't like).
4660 2004-04-08  Werner LEMBERG  <wl@gnu.org>
4662         Removing many compiler warnings.  groff should now compile with
4663         a C++ compiler used for C files also.  [Simple variable renamings
4664         to avoid shadowing aren't logged in detail.]
4666         * src/devices/grodvi/dvi.cpp: Some local variable renamings.
4667         (draw_dvi_printer::draw) ['c']: Enclose in block.
4669         * src/devices/grohtml/post-html.cpp: Some local variable renamings.
4670         (page::add_line): Fix typos.
4671         * src/devices/grohtml/html-text.cpp: Some local variable renamings.
4673         * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
4674         Some local variable renamings.
4675         * src/devices/grolbp/lbp.h: Some local variable renamings.
4677         * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
4678         variable renamings.
4680         * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
4681         Remove redundant local variable declaration.
4682         * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
4683         Don't use `caddr_t' but `void *'.
4684         Enclose functions with `extern "C"' for C++.
4686         * src/libs/libdriver/input.cpp (remember_filename,
4687         remember_source_filename): Use cast for string constant.
4689         * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
4690         src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
4691         src/libs/libgroff/geometry.cpp: Some local variable renamings.
4692         * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
4693         style.
4694         Enclose functions with `extern "C"' for C++.
4695         * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
4696         (needs_quoting): Return `int'.
4697         (quote_arg): Add proper casts to malloc and realloc.
4698         * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
4699         various MS Windows environments.
4700         (spawnvp_wrapper): Add proper cast to malloc.
4702         * src/preproc/eqn/box.h: Remove redundant declarations of
4703         `make_script_box', `make_mark_box' and `make_lineup_box'.
4704         * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
4705         * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
4706         variable renamings.
4708         * src/preproc/grn/hpoint.cpp: Some local variable renamings.
4709         * src/preproc/grn/hgraph.cpp: Some local variable renamings.
4710         (dx, dy): Renamed functions to...
4711         (deltax, deltay): This.
4712         * src/preproc/grn/main.cpp: Some local variable renamings.
4713         (deffont): Add `const'.
4714         (initpic, conv): Use cast for string constant.
4716         * src/preproc/html/pre-html.cpp: Some local variable renamings.
4717         (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
4718         (char_buffer::run_output_filter): Second argument is unused.
4719         * src/preproc/html/pushback.cpp: Some local variable renamings.
4721         * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
4722         * src/preproc/pic/object.cpp: Some local variable renamings.
4724         * src/preproc/refer/label.y (lookup_label): Remove redundant
4725         declaration of local variable.
4727         * src/preproc/soelim.cpp: Remove redundant declaration of
4728         `interpret_lf_args'.
4730         * src/preproc/tbl/main.cpp: Some local variable renamings.
4732         * src/roff/groff/groff.cpp (main): Use cast for string constant.
4733         * src/roff/groff/pipeline.c: Enclose declarations of `error',
4734         `c_fatal', and `i_to_a' with `extern "C"' for C++.
4735         Don't use C++-style comments.
4737         * src/roff/troff/env.h: Remove redundant declaration of `title'.
4738         * src/roff/troff/node.h, src/roff/troff/env.cpp,
4739         src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
4740         renamings.
4741         * src/roff/troff/div.h: Remove redundant declaration of
4742         `end_diversions'.
4743         * src/roff/troff/troff.h: Remove redundant declaration of
4744         `cleanup_and_exit'
4745         * src/roff/troff/input.cpp: Remove redundant declaration of
4746         `handle_first_page_transition' and `process_input_stack'.
4748         * src/utils/hpftodit.cpp: Some local variable renamings.
4750         * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
4751         for C++.
4752         Don't define RETSIGTYPE.
4753         * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
4755         * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
4756         (error): Use `const' in argument.
4757         (main): Remove redundant declaration of `optind'.
4758         Move declaration of `Version_string' to top-level.
4760         * PROBLEMS: Document difficulties compiling signal.c if a C++
4761         compiler is used for C.
4763 2004-04-07  Werner LEMBERG  <wl@gnu.org>
4765         * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
4767 2004-04-06  Keith Marshall  <keith.d.marshall@ntlworld.com>
4769         Make scripts like nroff.sh and neqn.sh portable across various
4770         (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
4771         non-POSIX path separators.  The idea is to extend those scripts to
4772         decide at run-time (of the script) which path separator to use.
4774         * arch/misc/Makefile.sub: New file.
4775         * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
4776         This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
4777         a proper definition of the variable `GROFF_RUNTIME'.
4779         * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
4780         (MDEFINES): Add SH_DEPS_SED_SCRIPT.
4781         (PROGDEPDIRS): New variable.
4782         `FORCE' it.
4783         (PROGDIRS): Add PROGDEPDIRS.
4785         * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
4786         Don't substitute @SEP@ and @BINDIR@.
4787         * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
4788         (PATH): Use GROFF_RUNTIME.
4790         * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
4791         Don't substitute @SEP@ and @BINDIR@.
4792         * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
4793         (PATH): Use GROFF_RUNTIME.
4795 2004-04-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
4797         * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
4798         Cygwin which doesn't handle stderr correctly.
4800 2004-03-08  Werner LEMBERG  <wl@gnu.org>
4802         * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
4803         against empty argument.  Problem reported by <cgd@broadcom.com>.
4805 2004-03-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
4807         * Makefile.in (SEP): Replaced with...
4808         (RT_SEP, SH_SEP): Separators for the target platform's native path
4809         separator and the build environment, respectively.
4810         (fontpath, tmacpath): Use RT_SEP.
4811         (MDEFINES): Updated.
4813         * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
4814         * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
4815         * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
4817 2004-03-05  Werner LEMBERG  <wl@gnu.org>
4819         * font/devlj4/Makefile.sub (LJ4RES): Set to 1200.  This helps to
4820         reduce alignment problems with newer printers which use built-in
4821         TrueType fonts (instead of the older Intellifonts).  The ideal
4822         solution is to provide a second set of groff metric files, but this
4823         is extremely time-consuming to produce, given that HP's metric
4824         files are very rudimentary.
4826 2004-03-01  Werner LEMBERG  <wl@gnu.org>
4828         * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
4829         s/operand/argument/ in error message.
4831 2004-03-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
4833         * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
4834         is in use.
4836 2004-03-01  Antti Kantee  <pooka@netbsd.org>
4838         * tmac/s.tmac (XE): Fix error message.
4840 2004-02-27  Jeff Conrad  <jeff_conrad@msn.com>
4842         * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
4843         New macros.
4845         * src/roff/groff/pipeline.c: Declare strcasecmp.
4846         (run_pipeline) [_WIN32]: Use function name variants which don't
4847         start with `_'.
4848         Fix stream handling.
4850 2004-02-27  Keith Marshall  <keith.d.marshall@ntlworld.com>
4852         * src/include/nonposix.h: Fix declaration of `system_shell_name'.
4853         Declare `spawnvp_wrapper' and macro definitions of spawnvp only
4854         for platforms which use the native Win32 runtime libraries.
4855         (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
4857         * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
4858         QUOTE_ARG_REALLOC_ERROR): Fix string.
4860         * src/preproc/html/pre-html.cpp: Remove declaration of
4861         `spawnvp_wrapper'.
4862         Don't use __MINGW32__.
4863         s/DEBUG_FILE/DEBUG_FILE_DIR/.
4864         (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
4865         (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
4866         (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
4867         calls to `set_redirection' and `WAIT'.
4868         [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
4869         Fix calls to `set_redirection' and `save_and_redirect'.
4870         (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
4871         to `set_redirection' and `save_and_redirect'.
4872         (usage): Fix message.
4873         (makeTempFiles, main): Use `DEBUG_FILE'.
4875 2004-02-21  Werner LEMBERG  <wl@gnu.org>
4877         * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
4879 2004-02-21  Keith Marshall  <keith.d.marshall@ntlworld.com>
4881         * src/libs/libgroff/quotearg.c: New file, providing proper argument
4882         quoting for MSVC's spawn* and exec* functions.
4883         * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
4884         spawnvp with proper quoting for MSVC.
4886         * src/libs/libgroff/assert.cpp (program_name),
4887         src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
4888         * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
4890         * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
4892         * src/include/error.h (program_name): Declare as `extern "C"'.
4893         * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
4895 2004-02-21  Jeff Conrad  <jeff_conrad@msn.com>
4897         * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
4898         spawnvp_wrapper.
4899         [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
4901 2004-02-20  Jeff Conrad  <jeff_conrad@msn.com>
4903         * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
4904         variable.
4905         (sbasename) [__MSDOS__ || ...]: New function.
4906         (system_shell_name) [__MSDOS__ || ...]: Use a different, more
4907         generic algorithm.
4908         (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
4909         (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
4910         of XXX.
4911         Use STDOUT_FILENO instead of hardcoded file handle.
4912         (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
4914 2004-02-19  Werner LEMBERG  <wl@gnu.org>
4916         * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
4917         avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
4919 2004-02-18  Werner LEMBERG  <wl@gnu.org>
4921         * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
4922         new font and mapping files.
4924 2004-02-18  Jeff Conrad  <jeff_conrad@msn.com>
4925             Keith Marshall  <keith.d.marshall@ntlworld.com>
4927         * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
4928         an input pipe.  This is needed for the MSVC compiler to make troff's
4929         `-o' option work.
4931         * src/roff/troff/div.cpp: Include nonposix.h.
4932         (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
4934 2004-02-17  Werner LEMBERG  <wl@gnu.org>
4936         * font/devlj4/generate/special.awk: New script.
4937         * font/devlj4/generate/Makefile (S): Use special.awk.
4938         * font/devlj4/*: Regenerated, including the following new files:
4939         Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
4940         MS Symbol (SYMBOL), Wingdings (WINGDINGS).
4941         * NEWS: Document new lj4 fonts and revised hpftodit.
4943 2004-02-17  Paco Andrés Verdú  <pandres@dragonet.es>
4945         * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
4947 2004-01-25  Werner LEMBERG  <wl@gnu.org>
4949         * src/libs/libgroff/progname.cpp: Replaced with...
4950         * src/libs/libgroff/progname.c: New file.
4951         * src/libs/libgroff/Makefile.sub: Updated accordingly.
4953 2004-01-17  Werner LEMBERG  <wl@gnu.org>
4955         * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
4957 2004-01-16  Jeff Conrad  <jeff_conrad@msn.com>
4959         * font/devlj4/generate/wingdings.map,
4960         font/devlj4/generate/symbol.map: Include unnamed glyphs.
4961         Use groff glyph names where possible.
4962         * src/devices/grolj4/lj4_font.man: Minor updates.
4964 2004-01-13  Werner LEMBERG  <wl@gnu.org>
4966         * tmac/www.tmac (DC): Handle TTY devices.
4968         * doc/webpage.ms: Document viewCVS from ffii.org.
4969         * NEWS, README: Updated.
4971         * src/roff/groff/groff.man: Mention lj4_font man page.
4973         * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
4974         variables.
4975         (FONTS): Add SYMBOL and WINGDINGS.
4976         (SYMBOL, WINGDINGS): New targets.
4978 2004-01-13  Jeff Conrad  <jeff_conrad@msn.com>
4980         * src/devices/grolj4/lj4_font.man: New man page.
4981         * src/devices/grolj4/Makefile.sub (MAN5): New variable.
4982         * src/devices/grolj4.man: Mention lj4_font man page.
4984         * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
4985         * src/utils/hpftodit/hpftodit.man: Document it.
4986         (CW): New macro.
4987         Remove details about fonts (which are now in lj4_font.man).
4989         * font/devlj4/generate/symbol.map,
4990         font/devlj4/generate/wingdings.map: New files.
4992 2004-01-12  Werner LEMBERG  <wl@gnu.org>
4994         * README: Mention ffii's viewcvs access.
4996 2004-01-09  Werner LEMBERG  <wl@gnu.org>
4998         * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
5000 2004-01-09  Jeff Conrad  <jeff_conrad@msn.com>
5002         Revert most of the change from 2004-01-03 to better control used
5003         symbol sets.
5005         * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
5006         (text_symbol_sets, special_symbol_sets): New arrays.
5007         (symbol_set_table): New global variable.
5008         (read_symbol_sets): Use search order given in the text_symbol_sets
5009         and special_symbol_sets arrays.  If command line flag -a is not
5010         given, search both arrays.
5011         (output_charset): Require x_height_tag only for command line flag -i.
5013 2004-01-06  Werner LEMBERG  <wl@gnu.org>
5015         Implement string-valued registers \n[.m] and \n[.M] to return the
5016         name of the current drawing and background color, respectively.
5018         * src/roff/troff/symbol.h: Moved to...
5019         * src/include/symbol.h: Here.
5020         Small fixes to make it work outside of the `troff' directory.
5021         * src/roff/troff/symbol.cpp: Moved to...
5022         * src/libs/libgroff/symbol.cpp: Here.
5023         Small fixes to make it work outside of the `troff' directory.
5025         * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
5026         (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
5027         Updated.
5029         * src/include/color.h: Include symbol.h.
5030         (color): Add new field `nm'.
5031         * src/libs/libgroff/color.cpp (color::color): Updated.
5033         * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
5034         src/roff/troff/node.cpp, src/roff/troff/number.cpp,
5035         src/roff/troff/reg.cpp: Don't include symbol.h.
5037         * src/roff/troff/env.cpp: Don't include symbol.h.
5038         (environment::get_glyph_color_string,
5039         environment_get_fill_color_string): New member functions.
5040         (init_env_requests): Handle `.m' and `.M' registers.
5041         * src/roff/troff/input.cpp: Don't include symbol.h.
5042         (default_symbol): Moved to symbol.cpp/symbol.h.
5043         (do_glyph_color, do_fill_color, define_color): Pass symbol name
5044         to color constructor.
5045         * src/roff/troff/env.h: Updated.
5047         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5048         Document new registers.
5050 2004-01-05  Werner LEMBERG  <wl@gnu.org>
5052         * src/roff/troff/node.cpp (space_node::get_breakpoints,
5053         space_node::nbreaks): Protect against zero `next' field.
5055 2004-01-03  Jeff Conrad  <jeff_conrad@msn.com>
5057         In hpftodit, use the symbol sets offered in the TFM.
5059         * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
5060         (symbol_set, text_symbol_sets, special_symbol_sets,
5061         symbol_set_table): Removed.
5062         (get_printcode): Removed.
5063         (read_symbol_sets): Initialize `symbol_set' field with
5064         `NO_SYMBOL_SET'.
5065         Simplify code to just use the `kind' value.
5066         (output_charset): Improve output formatting.
5067         (dump_symbols): Simplified.
5069 2004-01-02  Werner LEMBERG  <wl@gnu.org>
5071         * font/devlj4/generate/text.map: Add more MSL numbers.
5073 2004-01-02  Jeff Conrad  <jeff_conrad@msn.com>
5075         * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
5076         (text_symbol_sets): Add more symbol sets.
5077         (debug_flag): New static variable (moved from `main').
5078         (get_printcode, show_symset): New functions.
5079         (main): Remove `debug_flag'.
5080         (output_charset): Use `show_symset'.
5081         (dump_symbols):  Use `show_symset'.
5082         Print symsets for all glyphs.
5083         (read_map): Actually call `unicode_to_ucode_make' but this time
5084         correctly.
5086 2004-01-01  Werner LEMBERG  <wl@gnu.org>
5088         * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
5089         Fix placement of comments.
5091 2004-01-01  Jeff Conrad  <jeff_conrad@msn.com>
5093         * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
5094         option `-d' is given.
5095         (output_charset): Improve warning messages to give more information.
5096         (dump_symbols): Make information more precise.
5097         (usage): Updated.
5098         (read_map): Don't call unicode_to_ucode_name; the glyph names must
5099         appear as-is and shouldn't be decomposed.
5101 2003-12-31  Werner LEMBERG  <wl@gnu.org>
5103         * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
5104         * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
5105         (FONTS): Add TrueType font families Arial and Times New Roman.
5106         (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
5107         * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
5108         `fl'.
5110 2003-12-31  Jeff Conrad  <jeff_conrad@msn.com>
5112         * test-groff.in (SEP): Quote value.
5113         * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
5114         `tem' to `char*' to avoid deallocation of a pointer to a constant
5115         object which some compilers don't like.
5117 2003-12-31  Werner LEMBERG  <wl@gnu.org>
5119         * font/devlj4/generate (text.map, special.map): Rewritten to work
5120         with the new hpftodit version.
5122 2003-12-30  Jeff Conrad  <jeff_conrad@msn.com>
5124         * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
5125         set and 8bit character code for all glyphs also.
5127 2003-12-30  Werner LEMBERG  <wl@gnu.org>
5129         * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
5131 2003-12-29  Werner LEMBERG  <wl@gnu.org>
5133         More fixes for MSVC compiler.
5135         * doc/Makefile.sub (GROFF_BIN_PATH): Use $(SEP).
5137         * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
5138         STDERR_FILENO) [_MSC_VER]: Define conditionally.
5139         (getpid) [_MSC_VER]: Remove.
5140         Include direct.h and process.h conditionally.
5142         * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
5143         parentheses for a_delete.
5145         * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
5147         * test-groff: Replaced with...
5148         * test-groff.in: This new template to handle path separator
5149         properly.
5151         * configure.ac: Check for direct.h and process.h.
5152         Generate test-groff script.
5153         * configure, src/include/config.hin: Regenerated.
5155 2003-12-28  Werner LEMBERG  <wl@gnu.org>
5157         Add integral extension glyph.
5158         Add new option `-x' to afmtodit to suppress use of built-in AGL.
5160         * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
5162         * font/devps/generate/textmap: Provide entry for `integralex' to
5163         override (old) PUA value of the AGL.
5164         * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
5165         * font/devps/*: Regenerated.
5167         * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
5168         * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
5170 2003-12-27  Werner LEMBERG  <wl@gnu.org>
5172         Add forgotten `coproduct' symbol (already available for DVI).
5174         * font/devhtml/R.proto, font/devps/generate/textmap,
5175         font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
5176         src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
5177         U+2210 (\[coproduct]).
5179 2003-12-26  Jeff Conrad  <jeff_conrad@msn.com>
5181         hpftodit has been extended to handle TrueType metric files and
5182         more glyphs.  See hpftodit.man for more details.
5184         * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
5185         ctype.h, and unicode.h.
5186         s/msl/charcode/ everywhere since we now handle Unicode values also.
5187         (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
5188         Use it where appropriate.
5189         (MULTIPLIER): Replaced with...
5190         (multiplier): New global static variable.
5191         (scale): Updated.
5192         (tag_type): Add more TFM tags.
5193         (tag_name): New array.
5194         (ENUM_TYPE, FLOAT_TYPE): Removed.
5195         (BYTE_TYPE): New value assigned.
5196         (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
5197         (text_symbol_sets, special_symbol_sets): Extended to cover more
5198         sets.
5199         (check_type): Add return value.
5200         (check_units): Add parameters to get ppi and upem values.
5201         Handle TrueType TFM data.
5202         (output_font_name): New function.
5203         (output_charset): Add parameter to handle TFM type.
5204         Handle TrueType TFMs also.
5205         (em_fract): New macro.
5206         (dump_tags): Be much more verbose and handle more tags.
5207         (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
5208         (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
5209         functions.
5210         (read_map): Add parameter to handle TFM type.
5211         Handle both MSL and Unicode mappings.
5212         (main): Add two new command line options `-a' and `-q'.
5213         Updated to make use of new functions.
5214         (usage): Updated.
5216         * src/utils/hpftodit/hpuni.cpp: New file.
5218         * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
5219         Updated.
5221 2003-12-25  Werner LEMBERG  <wl@gnu.org>
5223         * src/include/nonposix.h (read) [_MSC_VER]: Define.
5225 2003-12-24  Werner LEMBERG  <wl@gnu.org>
5227         * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
5228         by Michail Vidiassov <master@iaas.msu.ru>.
5230 2003-12-20  Werner LEMBERG  <wl@gnu.org>
5232         * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
5233         and u0049_0307.
5234         Add missing latin-2 glyphs.
5235         * font/devutf8/R.proto: Add missing latin-2 glyphs.
5237         * tmac/troffrc: Load `composite.tmac' earlier.
5239         * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
5240         u00{53,73}_0327, and u0049_0307.
5241         * tmac/X.tmac: Add u00{47,67}_0306.
5242         * tmac/tty-char.tmac: Use composite glyph names for readability.
5244         * NEWS: Updated.
5246         * src/include/unicode.h: Remove `extern' keywords.
5248 2003-12-20  Nilgün Belma Bugüner  <nilgun@superonline.com>
5250         * tmac/latin5.tmac: New file.
5252 2003-12-19  Werner LEMBERG  <wl@gnu.org>
5254         Add some glyphs needed for Turkish.
5256         * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
5257         and u0049_0307.
5259         * tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
5260         * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
5261         u00{53,73}_0327, and u0049_0307.
5263 2003-12-18  Werner LEMBERG  <wl@gnu.org>
5265         * src/devices/grops/ps.cc (ps_output::put_float): Revert change
5266         from 2001-10-04.
5267         Remove trailing zeros.
5269 2003-12-17  Werner LEMBERG  <wl@gnu.org>
5271         Make \? transparent to end-of-sentence recognition.
5273         * src/roff/troff/input.cc (non_interpreted_node): Add
5274         `ends_sentence' member function.
5276 2003-12-16  Werner LEMBERG  <wl@gnu.org>
5278         * doc/groff.texinfo: Document `dt' request correctly.
5279         Other minor typographical improvements.
5281 2003-12-10  Michail Vidiassov  <master@iaas.msu.ru>
5283         * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
5285 2003-12-10  Richard Stallman  <rms@gnu.org>
5287         * LICENSE: Better wording.
5289 2003-12-09  Werner LEMBERG  <wl@gnu.org>
5291         * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
5292         * configure, NEWS: Updated.
5294 2003-12-08  Werner LEMBERG  <wl@gnu.org>
5296         * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
5298 2003-12-07  Bernd Warken  <bwarken@mayn.de>
5300         * LICENSE: Updated.
5302 2003-12-07  Werner LEMBERG  <wl@gnu.org>
5304         * INSTALL: Improved.
5306 2003-12-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
5308         Use path separator character of target platform for compiled-in
5309         default paths.
5311         * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
5312         * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
5313         * configure: Regenerated.
5314         * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
5316 2003-12-05  Werner LEMBERG  <wl@gnu.org>
5318         * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
5319         Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
5321 2003-12-04  Bernd Warken  <bwarken@mayn.de>
5323         * LICENSE: New file.
5325 2003-12-03  Werner LEMBERG  <wl@gnu.org>
5327         * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
5328         ligatures present in AFM files since groff currently only
5329         understands some standard ligatures and nothing else.
5331 2003-12-03  Jeff Conrad  <jeff_conrad@msn.com>
5333         * src/roff/groff/groff.cpp (main): Don't run the spooler if
5334         option -v is given.
5336         * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
5337         messages.
5338         Close stdout copy.
5339         Don't use Unix wait flags.
5341 2003-12-02  Werner LEMBERG  <wl@gnu.org>
5343         * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
5344         src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
5345         src/roff/troff/uniuni.cpp: Moved to...
5346         * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
5347         src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
5348         src/libs/libgroff/uniuni.cpp: Here.
5350         * src/include/Makefile.sub.old (HDRS),
5351         src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
5352         src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
5354 2003-12-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
5356         * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
5357         `DEBUG_FILE'.
5358         Updated all users.
5360 2003-12-01  Werner LEMBERG  <wl@gnu.org>
5362         * groff.texinfo: Document special behaviour of `.vs 0'.
5363         Improve documentation of `cflags' request.
5364         * NEWS: Updated.
5366 2003-11-29  Werner LEMBERG  <wl@gnu.org>
5368         * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
5369         * font/devlj4/CORONET: Regenerated.
5371 2003-11-24  Werner LEMBERG  <wl@gnu.org>
5373         * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
5374         if processing hyphenation patterns in traditional mode.
5375         Improve error messages.
5377 2003-11-20  Werner LEMBERG  <wl@gnu.org>
5379         * src/roff/troff/node.cpp (troff_output_file::put_char_width,
5380         troff_output_file::put_char): Fix type of local variable `c'.
5382 2003-11-19  Werner LEMBERG  <wl@gnu.org>
5384         * src/roff/groff/pipeline.c (P): Removed.  Updated all function
5385         declarations.
5386         (i_to_a): Removed.  libgroff already provides this function.
5387         (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
5389 2003-11-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
5391         * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
5392         HAVE_DECL_SYS_LIST.
5394 2003-11-17  Werner LEMBERG  <wl@gnu.org>
5396         * COPYING: Use correct version.
5398 2003-11-11  Werner LEMBERG  <wl@gnu.org>
5400         LynxOS 4.0.0 doesn't declare vfprintf.
5402         * configure.ac: Check for vfprintf.
5403         * configure: Regenerated.
5404         * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
5405         * src/include/config.hin: Regenerated.
5407 2003-11-10  Werner LEMBERG  <wl@gnu.org>
5409         LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
5411         * configure.ac: Check for vsnprintf.
5412         * configure: Regenerated.
5413         * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
5414         `HAVE_VSNPRINTF'.
5415         * src/include/config.hin: Regenerated.
5417 2003-11-09  Werner LEMBERG  <wl@gnu.org>
5419         * aclocal.m4: Updated syntax to autoconf 2.59.
5420         (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
5421         Don't check for gsos2.
5422         (GROFF_SRCDIR, GROFF_BUILDDIR): Removed.  autoconf 2.59 provides
5423         working abs_top_srcdir and abs_top_builddir.
5425         * configure.ac: Updated syntax to autoconf 2.59.
5426         Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
5427         Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
5428         * configure: Regenerated.
5430         * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
5431         s/@groff_top_builddir@/@abs_top_builddir@/.
5433         * src/roff/groff/pipeline.c (xstrsignal):
5434         s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
5436 2003-11-07  Werner LEMBERG  <wl@gnu.org>
5438         * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
5439         make start angle smaller than end angle to circumvent a bug in tpic
5440         handling of some versions of dvipdfm (and dvipdfmx).
5442 2003-10-30  Werner LEMBERG  <wl@gnu.org>
5444         * src/devices/grops/grops.man: Improve section on creating EPS.
5446 2003-10-29  Werner LEMBERG  <wl@gnu.org>
5448         * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
5449         -P-pletter).
5451 2003-10-28  Werner LEMBERG  <wl@gnu.org>
5453         * doc/groff.texinfo: Fix documentation of `.if'.
5455 2003-10-27  Michail Vidiassov  <master@iaas.msu.ru>
5457         * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
5458         the form `uniXXXX' also.
5460 2003-10-27  Werner LEMBERG  <wl@gnu.org>
5462         * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
5463         contrib/pic2graph/pic2graph.sh: Implement secure management of
5464         temporary files.
5465         Pass `-P-pletter' to groff to avoid data outside of the converted
5466         area -- some versions of `convert' (for example 5.3.8) don't check
5467         the bounding box of the image but always use a fixed image size
5468         (letter paper format).
5469         * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
5470         contrib/pic2graph/pic2graph.man: Updated.
5472         * src/roff/groff/groff.man: Document $TMP and $TEMP.
5474 2003-10-26  Werner LEMBERG  <wl@gnu.org>
5476         * src/preproc/pic/troff.cpp (troff_output::simple_circle,
5477         troff_output::simple_ellipse, troff_output::simple_arc,
5478         troff_output::simple_line, troff_output::simple_spline,
5479         troff_output::simple_polygon): Insert a space before arguments.
5480         (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
5481         latter doesn't produce a node, so the following `.sp -1' would do
5482         the wrong thing.
5483         Don't emit `.sp -1' after \M.  This also doesn't produce a token
5484         (and we don't have to care about compatibility mode).
5485         (troff_output::set_color, troff_output::reset_color): Don't emit
5486         `.sp -1' after \M and \m.
5488         * src/roff/troff/input.cpp (old_have_input): New global variable.
5489         (input_stack::get): Handle `old_have_input'.
5490         (process_input_stack) <token::TOKEN_NEWLINE>: Call
5491         `trapping_blank_line' depending on `old_have_input', not
5492         `have_input'.
5494 2003-10-20  Keith Marshall  <keith.d.marshall@ntlworld.com>
5496         * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
5497         (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
5498         default directory names for temporary files.
5499         [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
5501         * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
5502         [__MSDOS__] (run_pipeline): Honour environment variables.
5503         Don't use `tmpnam' but `tempnam' to work around messy
5504         implementation.
5506         * README.MinGW: New file.
5508 2003-10-16  Werner LEMBERG  <wl@gnu.org>
5510         * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
5511         `(*t)->next' without testing validity of `*t'.
5512         (usage): Make it more readable.
5514 2003-10-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
5516         Make html device run under both MS-DOS and Win32.
5518         * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
5519         MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
5520         spawn or fork+exec has to be used, and whether parent must sleep
5521         until the child process terminates.  Used in
5522         `char_buffer::run_output_filter'.
5523         (copyofstdoutfd): Removed.
5524         (char_buffer): Replace `write_file_html' and `write_file_troff'
5525         member functions with `emit_troff_output' and `run_output_filter'.
5526         (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
5527         macros.
5528         (replaceFd): Replaced with...
5529         (set_redirection): New auxiliary function.
5530         (waitForChild): Replaced with...
5531         (save_and_redirect): New auxiliary function for.
5533         (char_buffer::do_html, char_buffer::do_image): Simplified, using new
5534         functions.
5536 2003-10-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
5538         * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
5539         (GROFF_LIBC): New function.
5540         * configure.ac: Call GROFF_LIBC.
5541         Check for `kill'.
5542         * configure: Regenerated.
5544         * src/include/lib.h: Handle __MINGW32__.
5545         * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
5546         Add macro for `pipe'.
5547         Define P_tmpdir.
5549         * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
5550         correctly.
5552         * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
5553         Implement.
5555 2003-10-12  Werner LEMBERG  <wl@gnu.org>
5557         * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
5558         src/roff/troff/input.cc (usage): Updated.
5560         * NEWS, doc/groff.texinfo: Updated.
5562 2003-10-12  Peter Miller  <millerp@canb.auug.org.au>
5564         * src/libs/libgroff/searchpath.cpp
5565         (search_path::open_file_cautious): New function which also handles
5566         `-' as stdin and stdout depending on the access mode.
5567         * src/include/searchpath.h (search_path): Updated.
5569         * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
5570         * src/devices/grops/ps.h: Include `searchpath.h'.
5571         * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
5572         Open resource file with `include_search_path.open_file_cautious'.
5573         * src/devices/grops/grops.man: Document new `-I' switch.
5575         * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
5576         (main), src/devices/grolj4/lj4.cpp (main),
5577         src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
5579         * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
5580         Replaced with...
5581         (include_search_path): New global variable.
5582         (include_path_append): Removed.
5583         (main): Use `include_search_path.command_line_dir' to handle `-I'.
5584         (do_file): Simplify, using new
5585         `include_search_path.open_file_cautious'.
5587         * src/roff/groff/groff.cpp (print_commands): Accept file handle as
5588         parameter.
5589         (main): Pass arguments to `-I' to both troff and devices.
5590         Improve handling of `-V'.
5591         * src/roff/groff/groff.man: Document changes to -I and -V.
5593         * src/roff/troff/input.cpp (include_search_path): New global
5594         variable.
5595         (next_file, source, ps_bbox_request, transparent_file,
5596         process_input_file): Use new
5597         `include_search_path.open_file_cautious'.
5598         (main) Handle `-I' switch.
5599         * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
5600         Use new `include_search_path.open_file_cautious'.
5601         * src/roff/troff/node.h: New extern symbol `include_search_path'.
5602         * src/roff/troff/troff.man: Document new `-I' switch.
5604 2003-09-15  Ruslan Ermilov  <ru@FreeBSD.org>
5606         Support multiple calls of .Lb in LIBRARY section.
5608         * tmac/doc-common (doc-in-library-section): New register.
5609         (doc-section-library): New string.
5610         (Sh): Set `doc-in-library-section'.
5611         (Rd): Updated.
5612         * tmac/doc-syms (Lb): Insert breaks before and after arguments
5613         if in LIBRARY section.
5614         * tmac/doc.tmac (doc-save-global-vars): Updated.
5615         * NEWS, tmac/groff_mdoc.man: Updated.
5617 2003-09-14  Ruslan Ermilov  <ru@FreeBSD.org>
5619         * tmac/doc-common (doc-default-operating-system): New variable.
5620         (Os): Use it.
5622 2003-09-08  Werner LEMBERG  <wl@gnu.org>
5624         * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
5626 2003-08-31  Werner LEMBERG  <wl@gnu.org>
5628         * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
5629         (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
5630         $(DEVFILES) are not empty.
5631         * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
5633 2003-08-23  Stephen Gildea  <http://www.gildea.com/stephen>
5635         * src/preproc/refer/ref.cpp (reference::compute_sort_key): Always
5636         insert SORT_SEP.  With certain combinations of sort specifications,
5637         refer sorted entries in the wrong order.  In particular, entries
5638         with a missing field should be be sorted before all entries that
5639         have that field, before refer looks to the next field.
5641 2003-08-23  Werner LEMBERG  <wl@gnu.org>
5643         * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
5644         g++ linker is used.  Reported by Mark J. Reed
5645         <mark.reed@turner.com>.
5647 2003-08-16  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
5649         Add key character `x' to tbl which makes tbl call a user-defined
5650         macro on a table cell.
5652         * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
5653         * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
5654         `set_modifier' after printing the compatibility request.
5655         (set_modifier): Print call to `m->macro' if not empty.
5656         * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
5657         `macro'.
5658         (process_format): Implement cases `x' and `X'.
5659         * src/preproc/tbl/tbl.man, NEWS: Updated.
5661 2003-08-15  Werner LEMBERG  <wl@gnu.org>
5663         * doc/groff.texinfo: Minor fixes.
5665 2003-08-09  Werner LEMBERG  <wl@gnu.org>
5667         * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
5669 2003-08-07  Werner LEMBERG  <wl@gnu.org>
5671         * doc/Makefile.sub: Not all shells expand wildcards in the `for'
5672         argument list to nothing if there is no file to match.  Use `ls' as
5673         a protection, similar to autoconf.
5675         * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
5676         empty argument lists.
5678         * doc/groff.texinfo: Improve documentation how vertical spacing
5679         and line breaks interact.
5680         Other minor fixes.
5682         * tmac/www.tmac: Initialize `www-htmlimage-gap'.
5684 2003-08-03  Werner LEMBERG  <wl@gnu.org>
5686         * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
5687         EPS (using eps2eps or similar programs to compute the bounding box).
5689 2003-07-24  Werner LEMBERG  <wl@gnu.org>
5691         * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
5692         * doc/texinfo.tex: Updated from texinfo 4.6.
5693         * README.CVS: From now on we need texinfo 4.6.
5695 2003-07-23  Werner LEMBERG  <wl@gnu.org>
5697         Add requests `dei1' and `ami1' for completeness.
5699         * src/roff/troff/input.cc (calling_mode): Remove
5700         CALLING_DISABLE_COMP.
5701         (comp_mode): New enumeration.
5702         (do_define_string, define_string, define_nocomp_string,
5703         append_string, append_nocomp_string): Updated.
5704         (do_define_macro): Add third parameter.
5705         (define_macro, define_nocomp_macro, define_indirect_macro,
5706         append_macro, append_nocomp_macro, append_indirect_macro): Updated.
5707         (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
5708         functions.
5709         (ignore): Updated.
5710         (init_input_requests): Add `dei1' and `ami1'.
5712         * tmac/trace.tmac: Handle de1 and am1.
5713         (de): Improve tracing message.
5714         (am): Add missing `do'.
5715         (return): Use de1.
5717         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5718         Document new requests.
5720 2003-07-22  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
5722         Add option -G to .MPIMG to insert a gap between text and the image.
5724         * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
5725         www-finish-left-ll): Updated.
5726         (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
5727         (MPIMG): Make option -L and -R optional.
5728         Implement option -G.
5730 2003-07-22  Gaius Mulley  <gaius@glam.ac.uk>
5732         * src/devices/grohtml/post-html.cpp
5733         (html_printer::do_file_components): Don't use `stdout' as lvalue
5734         since it can be a macro.
5736 2003-07-22  Werner LEMBERG  <wl@gnu.org>
5738         * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
5739         the corresponding test in aclocal.m4.
5741 2003-07-21  Werner LEMBERG  <wl@gnu.org>
5743         * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
5744         names but RGB values directly.  Otherwise pnmtopng depends on
5745         an external file `rgb.txt' which maps colour names to values.
5747 2003-07-20  Werner LEMBERG  <wl@gnu.org>
5749         * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
5750         * configure, src/include/config.hin: Regenerated.
5752         * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
5754 2003-07-19  Werner LEMBERG  <wl@gnu.org>
5756         * PROBLEMS: Add solution for UTF-8 problem with hyphens.
5758 2003-07-18  Werner LEMBERG  <wl@gnu.org>
5760         * *.man: Switch to non-compatibility mode temporarily if GNU
5761         syntax extensions are used in the particular man page.
5763         * PROBLEMS: Add solutions for SGR problems.
5765 2003-07-17  Werner LEMBERG  <wl@gnu.org>
5767         Don't ignore grotty's command line options if \X'tty: sgr ...' is
5768         used to change the drawing scheme.
5770         * src/devives/grotty/tty.cpp (bold_flag_option,
5771         underline_flag_option, italic_flag_option, reverse_flag_option,
5772         bold_underline_mode_option): New global variables.
5773         (update_options): New function.
5774         (tty_printer::special): Call update_options.
5775         (main): Don't set xxx_flag but xxx_flag_option, then call
5776         update_options.
5778 2003-07-14  Werner LEMBERG  <wl@gnu.org>
5780         Make grotty emit proper Unicode box drawing characters for -Tutf8.
5782         * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
5783         values.
5784         (hline_char, vline_char): New global variables.
5785         (tty_printer::tty_printer): Initialize them.
5786         (tty_printer::draw): Emit START_LINE and END_LINE flags for both
5787         horizontal and vertical lines.
5788         (crossings): New global array.
5789         (tty_printer::end_page): Use it to determine the proper crossing
5790         character for -Tutf8.
5792 2003-07-12  Werner LEMBERG  <wl@gnu.org>
5794         * doc/Makefilesub (HTMLDOCFILESALL): New macro.
5795         (HTMLDOCFILES): Revert to `pic.html'.
5796         (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
5798 2003-07-11  Werner LEMBERG  <wl@gnu.org>
5800         * doc/pic.ms: Improve documentation of absolute coordinates.
5801         Document absolute positioning of pictures.
5803         * NEWS: Add new pic capability.
5805 2003-07-09  Hartmut Henkel  <hartmut_henkel@gmx.de>
5807         * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
5808         Rewritten.
5810 2003-07-07  Werner LEMBERG  <wl@gnu.org>
5812         Implement support for dashed and dotted ellipses in pic.  Based on
5813         a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
5815         * src/preproc/pic/common.cpp (common_output::ellipse_arc,
5816         common_output::dashed_ellipse, common_output::dotted_ellipse): New
5817         functions.  Ellipse arcs are approximated with circle arcs.
5818         * src/preproc/pic/common.h (common_output): Updated.
5819         * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
5820         functions.
5821         * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
5823         * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
5825 2003-07-06  Werner LEMBERG  <wl@gnu.org>
5827         Make grotty work on platforms which have unsigned char as the
5828         default for char.  Based on a patch by Thomas Klausner
5829         <wiz@netbsd.org>.
5831         * src/devices/grotty/tty.cpp (schar): New typedef.
5832         Updated calls to declare_ptable and implement_ptable.
5833         (glyph): Use schar for back_color_idx and fore_color_idx.
5834         (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
5835         (tty_printer::tty_color, tty_printer::tty_printer,
5836         tty_printer::color_to_idx, tty_printer::put_color): Updated.
5838 2003-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
5840         * src/roff/nroff/nroff.sh: Add option -d for completeness.
5841         * src/roff/nroff/nroff.man: Updated.
5843 2003-07-05  Werner LEMBERG  <wl@gnu.org>
5845         * NEWS, tmac/groff_www.man: Updated.
5846         * doc/Makefile.sub: Updated.
5848 2003-07-05  Gaius Mulley  <gaius@glam.ac.uk>
5850         Implement support for multiple HTML output files.
5852         * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
5853         -j command line option.
5855         * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
5856         global variables.
5857         (file): New fields `new_output_file', `require_links',
5858         `output_file_name'.
5859         (file::file): Updated.
5860         (files::set_file_name, files::set_links_required,
5861         files::are_links_required, files::is_new_output_file,
5862         files::file_name, files::next_file_name): New functions.
5863         (header_desc): New fields `no_of_level_one_headings',
5864         `header_filename'.
5865         (header_desc::header_desc): Updated.
5866         (header_desc::write_headings): Handle multiple files.
5867         (html_printer::write_header): Save file name in which header occurs.
5868         (html_printer::determine_header_level): Possibly split files on
5869         level one headings.
5870         (html_printer::do_links, html_printer::troff_tag): Updated.
5871         (html_printer::insert_split_file, html_printer::do_job_name,
5872         html_printer::emit_link, html_printer::write_navigation,
5873         html_printer::do_file_components): New functions.
5874         (html_printer::~html_printer): Handle multiple files.
5875         (main): Handle command line option `-j'.
5877         * src/devices/grohtml/grohtml.man: Updated.
5879         * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
5880         which splits file.
5882         * tmac/www.tmac (JOBNAME): New macro.
5883         * tmac/s.tmac (SH-NO-TAG): New macro.
5884         (@SH): Call SH-NO-TAG.
5885         (@NH): Updated.
5887 2003-07-05  Ruslan Ermilov  <ru@FreeBSD.org>
5889         * tmac/groff_mdoc.man: Improve documentation of punctuation
5890         characters.
5892 2003-07-04  Ruslan Ermilov  <ru@FreeBSD.org>
5894         * tmac/doc.tmac (Bd): Change to doc-Li-font later.
5896 2003-07-03  Werner LEMBERG  <wl@gnu.org>
5898         * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
5900 2003-07-01  Ruslan Ermilov  <ru@FreeBSD.org>
5902         * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
5903         after `/*' and `*/'.
5904         Fix spacing.
5905         (Fn, Fo): Reduce indentation in synopsis.
5907         * tmac/doc-common (doc-check-depth): New macro.
5908         (doc-end-macro, Sh, Ss): Use it.
5909         (Cd): Fix behaviour in synopsis.
5910         (In): Make it parsed and callable.
5911         If not in the synopsis, represent the C header file enclosed in
5912         angle brackets.
5913         (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
5914         Use minus, not hyphen.
5916         * tmac/groff_mdoc.man: Updated.
5918 2003-07-01  Werner LEMBERG  <wl@gnu.org>
5920         Integrated grap2graph, contributed by Eric S. Raymond.
5922         * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
5923         New files.
5924         * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
5925         contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
5927 2003-07-01  Colin Watson  <cjwatson@debian.org>
5929         * src/xditview/*.c: Add prototypes, fix return types, add includes.
5930         Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
5932 2003-06-31  Ruslan Ermilov  <ru@FreeBSD.org>
5934         * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
5936 2003-06-31  Werner LEMBERG  <wl@gnu.org>
5938         * doc/Makefile.sub (CLEANADD): Remove all files created by
5939         running `make groff.{pdf,dvi}'.
5941         * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
5942         src/xditview also.
5944 2003-06-30  Werner LEMBERG  <wl@gnu.org>
5946         * Makefile.in (SHELL): Define as @SHELL@.
5947         (mkinstalldirs): Use $(SHELL).
5948         (MDEFINES): Add $(SHELL).
5949         * Makefile.comm (SHELL): Removed.
5951 2003-06-29  Werner LEMBERG  <wl@gnu.org>
5953         * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
5954         The X11 documentation files use them.
5955         * tmac/groff_ms.man, doc/groff.texinfo: Document them.
5957 2003-06-15  Robert Goulding  <goulding@Princeton.EDU>
5959         * tmac/e.tmac (@C): Handle .ad also.
5961 2003-06-12  Werner LEMBERG  <wl@gnu.org>
5963         * src/preproc/tbl/tbl.man: Document formatting of text blocks.
5965         * src/roff/troff/input.cc (token::next) <handle_escape_char>:
5966         Assign `n' even here.  It is possible to construct a node
5967         immediately following an escape character:
5969           .di xx
5970           \?\\\?a
5971           .br
5972           .di
5973           .xx
5975 2003-06-10  Werner LEMBERG  <wl@gnu.org>
5977         * README.WIN32: Removed.
5978         * MANIFEST: Updated.
5980 2003-06-07  Werner LEMBERG  <wl@gnu.org>
5982         * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
5984 2003-06-05  Werner LEMBERG  <wl@gnu.org>
5986         * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
5987         in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
5989 2003-06-03  Werner LEMBERG  <wl@gnu.org>
5991         * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
5992         is done by the calling function.
5994 2003-05-22  Ruslan Ermilov  <ru@FreeBSD.org>
5996         * tmac/X.tmac: Fix definition of `em'.
5998 2003-05-22  Werner LEMBERG  <wl@gnu.org>
6000         * src/roff/troff/input.cc (return_macro_request): Fix detection of
6001         argument.
6003 2003-05-18  Werner LEMBERG  <wl@gnu.org>
6005         * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
6006         to make items work which consist only of a tag.
6008 2003-05-17  Werner LEMBERG  <wl@gnu.org>
6010         * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
6011         aren't stretched in a tag (this can fail with unformatted boxes).
6012         Instead, insert a break and go back one line.
6014 2003-05-16  Werner LEMBERG  <wl@gnu.org>
6016         * src/roff/troff/input.cc (return_macro_request): If called with
6017         argument pop macro twice.  We need this to trace `return'.
6019         * tmac/trace.tmac: Handle `return'.
6020         Fix typos.
6022         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6023         Document.
6025 2003-05-15  Larry Kollar  <kollar@alltel.net>
6027         * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
6028         registers `FPS', `FVS', and `FPD'.
6030 2003-05-15  Werner LEMBERG  <wl@gnu.org>
6032         * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
6033         correctly.
6035 2003-05-03  Ruslan Ermilov  <ru@FreeBSD.org>
6037         * tmac/groff_mdoc.man: Slight improvements.
6039 2003-05-03  Werner LEMBERG  <wl@gnu.org>
6041         * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
6042         `doc-header-space' after header line if register `cR' is set.
6044 2003-05-02  Werner LEMBERG  <wl@gnu.org>
6046         * TODO: Updated.
6048 2003-05-01  Ruslan Ermilov  <ru@FreeBSD.org>
6050         * tmac/doc-common (Nd): Use \[em].
6052 2003-05-01  Werner LEMBERG  <wl@gnu.org>
6054         * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
6055         doc-footer-space): Initialize to 0.5i.
6056         (doc-setup-page-layout): Don't set doc-header-space and
6057         doc-footer-space.
6059 2003-04-30  Werner LEMBERG  <wl@gnu.org>
6061         * REVISION: Set to 1.
6063         * doc/pic.ms: Document possible problems with `figname'.
6065 2003-04-29  Werner LEMBERG  <wl@gnu.org>
6067 Version 1.19 released
6068 =====================
6070         * VERSION: Set to 1.19.
6071         * REVISION: Set to 0.
6072         * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
6074         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
6075         Define charset as `US-ASCII' in html output.
6077         * tmac/www.tmac (ULE): Add missing scaling indicator.
6079         * win32-diffs: Removed.
6081 2003-04-28  Werner LEMBERG  <wl@gnu.org>
6083         * doc/groff.texinfo: Document `dn' and `dl' registers if used with
6084         `.da' and `.boxa'.
6085         Document how to insert discardable whitespace with `.ss'.
6087 2003-04-27  Werner LEMBERG  <wl@gnu.org>
6089         * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
6090         work with plain TeX also.
6092         * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
6094 2003-04-25  Gaius Mulley  <gaius@glam.ac.uk>
6096         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
6097         Use a loose DTD.
6099 2003-04-24  Werner LEMBERG  <wl@gnu.org>
6101         * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
6102         vbox with positive height and zero depth if in TeX mode.
6104         * NEWS: Document glyph name changes for grodvi and grolj4.
6106 2003-04-23  Werner LEMBERG  <wl@gnu.org>
6108         * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
6109         * doc/pic.ms: Fixed.
6111 2003-04-21  Werner LEMBERG  <wl@gnu.org>
6113         HP-UX 10.20 has `snprintf' but it isn't declared.
6115         * configure.ac: Add declaration test for snprintf.
6116         * configure: Regenerated.
6117         * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
6118         * src/include/config.hin: Regenerated.
6120 2003-04-19  Werner LEMBERG  <wl@gnu.org>
6122         Add keyword `figname' to pic, specifying the name of the picture
6123         box in TeX mode.  Based on a patch from William J Poser
6124         <wjposer@unagi.cis.upenn.edu>.
6126         * src/preproc/pic/pic.y: New token `FIGNAME'.
6127         (macro_name): New rule of type <str>.
6128         (placeless_element): Handle `FIGNAME'.
6129         * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
6130         * src/preproc/pic/main.cpp (graphname): New global variable.
6131         (do_picture): Initialize `graphname'.
6132         * src/preproc/pic/pic.h: Updated.
6133         * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
6134         `graphname'.
6135         Simplify TeX code.
6136         (tex_output::text): Beautify output.
6137         * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
6138         `shaded' and `outlined' unconditionally.
6139         * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
6140         Minor improvements.
6142         * PROBLEMS, README.CVS: Mention that bison version 1.875b or
6143         greater is necessary.
6145 2003-04-17  Hartmut Henkel  <hartmut_henkel@gmx.de>
6147         Add option -r to soelim to avoid emission of `.lf' lines.
6148         Add option -t to produces TeX comment lines instead of `.lf' lines.
6150         * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
6151         and `tex_flag'.
6152         (usage): Updated.
6153         (main): Handle `-r' and `-t'.
6154         (set_location): Handle `raw_flag' and `tex_flag'.
6155         * src/preproc/soelim/soelim.man, NEWS: Updated.
6157 2003-04-17  Werner LEMBERG  <wl@gnu.org>
6159         * tmac/hyphenex.sh: Replaced with...
6160         * tmac/hyphenex.pl: This perl script to avoid sed compatibility
6161         nightmares.
6163         * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
6164         if --quiet is used for the configure script.
6165         * configure: Regenerated.
6167 2003-04-16  Werner LEMBERG  <wl@gnu.org>
6169         * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
6170         Add `const' to second argument.
6171         (html_printer::add_table_end): Add `const' to argument.
6172         * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
6173         `const' to arguments.
6174         * src/devices/grohtml/html-text.h: Updated.
6176         * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
6177         * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
6178         argument.
6180         * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
6181         cast for integer constant.
6183         * src/preproc/html/pre-html.cpp (image_device): Use `const'.
6184         (writeNbytes): Add `const' to first argument.
6185         (writeString): Add `const' to argument.
6186         (char_buffer::can_see): Add `const' to third argument.
6187         * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
6188         `const' to argument.
6189         * src/preproc/html/pushback.h: Updated.
6191         * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
6192         (include_path_append): Add `const' to argument.
6193         (do_file): Updated.
6195         * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
6196         for `value'.
6197         (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
6198         * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
6199         for `value'.
6200         (unicode_decompose_init::unicode_decompose_init): Updated.
6201         * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
6202         for `value'.
6203         (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
6204         * src/roff/troff/input.cc (process_startup_file): Add `const' to
6205         argument.
6207         * tmac/hyphenex.sh: Make script more portable by using a here
6208         document.
6210 2003-04-15  Werner LEMBERG  <wl@gnu.org>
6212         Renamed all `*.cc' files to `*.cpp'.
6213         Updated all configuration files, makefiles, and documentation.
6215 2003-04-14  Werner LEMBERG  <wl@gnu.org>
6217         * tmac/hyphenex.sh: Slight improvements.
6219 2003-04-13  Werner LEMBERG  <wl@gnu.org>
6221         * font/devascii/R.proto, font/devcp1037/R.proto,
6222         font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
6223         character slots with unnamed glyphs.
6225         * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
6226         (an-first): New global variable.
6227         (an-header): Emit vertical space between multiple man pages.
6229 2003-04-11  Werner LEMBERG  <wl@gnu.org>
6231         * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
6232         values.
6234 2003-04-10  Werner LEMBERG  <wl@gnu.org>
6236         * PROBLEMS: Revised.
6238 2003-04-10  Bernd Warken  <bwarken@mayn.de>
6240         * doc/webpage.ms: Improved.
6242 2003-04-09  Werner LEMBERG  <wl@gnu.org>
6244         Add register \n[.height] which returns the value of \H.
6245         Add register \n[.slant] which returns the value of \S.
6247         * src/roff/troff/env.cc (init_env_requests): Implement.
6248         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6249         Document.
6251 2003-04-08  Werner LEMBERG  <wl@gnu.org>
6253         * tmac/html.tmac: Move some of the data into html-end.tmac.
6254         Remove most of the character translations for eqn since html fonts
6255         now cover those characters.
6256         Load www.tmac.
6257         * tmac/html-end.tmac: New file.
6258         * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
6259         * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
6260         * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
6262 2003-04-07  Werner LEMBERG  <wl@gnu.org>
6264         * man/groff_out.man: Document negative values of `N' if -Thtml is
6265         used.
6267 2003-04-06  Werner LEMBERG  <wl@gnu.org>
6269         * Makefile.comm (depend.temp): Check location of YTABC.
6271 2003-04-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6273         * doc/Makefile.in (TROFFBIN): New variable for troff
6274         binary path.
6275         (GROFFBIN): New variable for groff binary path.
6276         (groff_bin_path): Rename to GROFF_BIN_PATH.
6277         (TROFF): Use TROFFBIN.
6278         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6279         * doc/Makefile.sub (GROFFBIN): New variable for groff
6280         binary path.
6281         (groff_bin_path): Rename to GROFF_BIN_PATH.
6282         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6284         * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
6285         with INSTALL_SCRIPT.
6286         (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
6287         * Makefile.dev (all): Depend on DEVSCRIPTS.
6288         (install_dev): Likewise.
6289         * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
6290         scripts.
6291         * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
6292         (DEVGENSCRIPTS): New variable to hold generated scripts.
6294 2003-04-05  Werner LEMBERG  <wl@gnu.org>
6296         * src/libs/libdriver/input.cc (IntArray::operator[],
6297         IntArray::get_data): Remove meaningless `const' in return value.
6299         * README.CVS: New file.
6301 2003-04-04  Werner LEMBERG  <wl@gnu.org>
6303         Check for stdint.h in C++, not in C.
6305         * aclocal.m4 (GROFF_STDINT_H): New function,
6306         * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
6307         AC_CHECK_HEADERS.
6308         * configure, src/include/config.hin: Regenerated.
6309         * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
6312         Fix handling of &nbsp; in grohtml.  To do this, troff emits `N'
6313         with a negative value, representing the width of the unbreakable
6314         space (only for -Thtml).  grohtml then converts this back to
6315         &nbsp; and uses the value of N as its width.
6317         * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6318         unbreakable_space_node::tprint): Emit `N-<width>'.
6319         * src/include/printer.h (printer::set_numbered_char): Make it
6320         virtual.
6321         Make members `font_table' and `nfonts' protected instead of private.
6322         * src/devices/grohtml/post-html.cc
6323         (html_printer::set_numbered_char): New member function.
6326         * src/libs/libgroff/maxfilename.cc:
6327         s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
6329         * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
6330         emit word marker.
6332 2003-04-03  Sergey A. Osokin  <osa@freebsd.org.ru>
6334         * man/roff.man: Small fixes.
6336 2003-04-03  Werner LEMBERG  <wl@gnu.org>
6338         Make groff independent from locale's numeric settings.
6340         * configure.ac: Check for `setlocale'.
6341         * configure, src/include/config.hin: Regenerated.
6343         * src/include/lib.h: Handle HAVE_SETLOCALE.
6345         * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
6346         (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
6347         (main), src/preproc/pic/main.cc (main): Call `setlocale'.
6350         * doc/groff.texinfo: Change dir category to `Typesetting'.
6351         (Man font macros): Mention that there is no space between arguments
6352         of .BI and friends.
6354         * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
6355         (*printer::change_color, *printer::change_fill_color): Add missing
6356         `const'.
6358 2003-04-02  Werner LEMBERG  <wl@gnu.org>
6360         * src/devices/grohtml/html-table.cc (html_table::emit_col,
6361         html_table::is_gap): Compute table widths after converting border
6362         positions to avoid rounding errors.
6364 2003-04-01  Werner LEMBERG  <wl@gnu.org>
6366         * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
6367         `space_emitted' properly.
6369 2003-03-31  Werner LEMBERG  <wl@gnu.org>
6371         * src/devices/grohtml/html-table.cc: Fix column width calculation.
6372         (html_table::set_linelength): Don't add 1.
6373         (html_table::add_indent): Don't subtract 1.
6375         * tmac/html.tmac: Set default page offset to zero.
6377 2003-03-30  Werner LEMBERG  <wl@gnu.org>
6379         Make groff emit `&nbsp;' for `\ ' and `\~' if `-Thtml' is used.
6381         * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6382         unbreakable_space_node::tprint): New functions.
6383         (troff_output_file): Make space_char_hmotion_mode::tprint and
6384         unbreakable_space_node::tprint to friends.
6385         * src/roff/troff/node.h: Updated.
6387         * font/devhtml/R.proto: Add `&nbsp' at position 0xA0 (as defined
6388         in the HTML standard).
6390 2003-03-29  Werner LEMBERG  <wl@gnu.org>
6392         * src/roff/troff/env.cc (point_size): Fix emission of html tag.
6393         Otherwise, the following code
6395           .di xxx
6396           .ps 10
6397           a
6398           .br
6399           .di
6400           x\*[xxx]
6402         produces `x a' instead of `xa'.  This is a temporary fix, disabling
6403         font changes in diversions for -Thtml.
6405         * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
6406         `HTML-TAG'.
6407         (an-do-tag-html): Merge with ...
6408         (an-do-tag): This macro.
6409         Change code slightly to circumvent grohtml bug.
6410         * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
6412         * src/devices/grohtml/html-table.cc (html_table::emit_col,
6413         html_table::is_gap): Round `width' properly.
6415         * tmac/html.tmac: Provide some default layout parameters for
6416         grohtml.
6418         * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
6419         command.
6421 2003-03-28  Werner LEMBERG  <wl@gnu.org>
6423         src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
6425 2003-03-27  Werner LEMBERG  <wl@gnu.org>
6427         * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
6428         defined.
6430 2003-03-20  Werner LEMBERG  <wl@gnu.org>
6432         * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
6433         `.vs'.
6434         * doc/groff.texinfo: Updated.
6436 2003-03-19  Werner LEMBERG  <wl@gnu.org>
6438         * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
6439         TOKEN_END_TRAP>: Reset `have_input'.
6441 2003-03-18  Werner LEMBERG  <wl@gnu.org>
6443         * src/roff/groff/groff.man: Mention groff_trace man page.
6445 2003-03-16  Werner LEMBERG  <wl@gnu.org>
6447         * Makefile.in (LIBEXT): New variable to indicate the file extension
6448         of library files.  Computed heuristically from $(OBJEXT).
6449         (MDEFINES): Add $(LIBEXT).
6450         * Makefile.lib, Makefile.comm: Use it.
6452         * src/utils/pfbtops/pfbtops.c (get_text): New function.  Split
6453         overlong lines into smaller chunks.
6454         (get_binary): New function.
6455         (main): Use them.
6456         * src/utils/pfbtops/pfbtops.man: Updated.
6458 2003-03-15  Colin Watson  <cjwatson@debian.org>
6460         * src/roff/groff/groff.man: Minor syntax fix.
6462 2003-03-14  Egil Kvaleberg  <egil@kvaleberg.no>
6464         * src/devices/grops/ps.cc (ps_printer::media_set,
6465         ps_printer::~ps_printer): Handle zero paper width and length.
6467 2003-03-13  Werner LEMBERG  <wl@gnu.org>
6469         Add options -p and -l to grodvi.
6471         * src/devices/grodvi/dvi.cc: Include paper.h.
6472         (landscape_flag, user_paper_length, user_paper_width): New global
6473         variables.
6474         (dvi_printer::begin_page): Emit `papersize' special.
6475         Set color after initialization of `cur_h' and `cur_v'.
6476         (main): Add options `-l' and `-p'.
6477         * font/devdvi/Makefile.sub (DESC): Set `papersize'.
6478         * src/devices/grodvi/grodvi.man, NEWS: Updated.
6480         * src/devices/grops/psrm.cc (valid_input_table): Fixed.
6482 2003-03-12  Werner LEMBERG  <wl@gnu.org>
6484         * src/devices/grops/grops.man: Move documentation of .PSPIC to...
6485         * man/groff_tmac.man: This man page.
6486         * man/groff_font.man: Declare `paperwidth' and `paperlength' as
6487         deprecated.
6489         * tmac/X.tmac: Don't load pspic.tmac.
6491 2003-03-11  Werner LEMBERG  <wl@gnu.org>
6493         Make variable `pr' local to libdriver/input.cc.  Based on a patch
6494         by Bernd Warken <bwarken@mayn.de>.
6496         * src/include/driver.h (pr): Removed.
6498         * src/libs/libdriver/input.cc (pr): New global variable.
6499         (do_file): Deallocate `pr'.
6500         * src/libs/libdriver/printer.cc (pr): Removed.
6502         * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
6503         (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
6504         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
6505         (main): Don't delete `pr'.
6507 2003-03-10  Werner LEMBERG  <wl@gnu.org>
6509         * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
6510         * tmac/papersize.tmac: New file.
6511         * tmac/troffrc: Include `papersize.tmac'.
6512         * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
6513         * tmac/an-old.tmac: Set LT to LL by default.
6515         * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
6516         doc/groff.texinfo: Updated.
6518         * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
6519         bug which caused all odd iso papers to have wrong dimensions.
6521         * src/devices/grops/ps.cc (user_paper_width): New global variable.
6522         (main) <'p'>: Set `user_paper_width' also.
6523         (ps_printer::media_width, ps_printer::media_height): Use values
6524         given with option `-p'.
6526 2003-03-09  Werner LEMBERG  <wl@gnu.org>
6528         * src/include/nonposix.h: Provide default for SET_BINARY.
6530         * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
6531         src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
6532         unconditionally.
6534         * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
6535         (main): Treat \r\n as \n.
6537 2003-03-08  Werner LEMBERG  <wl@gnu.org>
6539         * tmac/an-old.tmac: Use register `HY' to control hyphenation.
6540         * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
6542 2003-03-07  Werner LEMBERG  <wl@gnu.org>
6544         Added support to access more than 256 glyphs in Type 1 fonts.
6546         * src/devices/grops/ps.cc (subencoding): New structure.
6547         (style): Add `sub' field.
6548         Updated all users.
6549         (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
6550         Add `set_subencoding', `get_subfont' and `encode_subfont' member
6551         functions.
6552         Updated all users.
6553         (ps_printer::set_char): Use `set_subencoding'.
6554         (make_subencoding_name): New function.
6555         (ps_printer::set_style): Handle case where `sty.sub' is not zero.
6556         (ps_printer::~ps_printer): Emit subencoding definitions.
6558         * src/devices/grops/psrm.cc (valid_input_table): New array to
6559         properly support EBCDIC.
6560         (white_space): Add `\f'.
6561         (ps_get_line): Change first argument to be of type `string &'.
6562         Updated all callers.
6563         This allows to get lines of arbitrary length.
6564         Use `valid_input_table'.
6565         Remove warning about non-conforming PS line length.  This seems
6566         not to be of great importance -- for example, dvips don't emit
6567         a warning either.
6568         (PS_LINE_MAX): Removed.
6569         (matches_comment): Change first argument to be of type `string &'.
6571         * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
6573         * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
6574         %AGL_to_unicode, %default_ligatures): New hash tables.
6575         Read all map entries.
6576         Add unencoded characters.
6577         Check for default ligatures if there are no `L' entries.
6578         Print all kern entries.
6579         Print all characters in charset.
6580         * src/utils/afmtodit/afmtodit.man: Updated.
6582         * font/devps/*: Regerated all fonts.
6584         * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
6585         of characters, just use `.trin'.  Otherwise the mapping depends
6586         on the font encoding.
6587         * tmac/ps.tmac: Add `fi' and `fl'.
6588         Improve `Fi' and `Fl'.
6589         * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
6590         * tmac/Xps.tmac: Fix `em'.
6592         * NEWS: Updated.
6594 2003-03-04  Werner LEMBERG  <wl@gnu.org>
6596         * src/roff/troff/input.cc (charinfo_to_node_list): Reset
6597         `have_input'.
6599 2003-03-03  Werner LEMBERG  <wl@gnu.org>
6601         * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
6603         * font/devps/generate/textmap: Remove entry `similarequal'.
6604         * font/devps/symbolmap: Updated.
6606 2003-03-02  Werner LEMBERG  <wl@gnu.org>
6608         * src/libs/libgroff/font.cc (font::load): Fix error message for
6609         bad character type.
6611         * src/devices/grops/grops.man: Improve documentation of the -b
6612         flag.
6614         * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
6615         `ascii' and `cp1047'.
6617 2003-03-01  Werner LEMBERG  <wl@gnu.org>
6619         Document composite glyphs and the `composite' request.
6621         * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
6623 2003-02-28  Werner LEMBERG  <wl@gnu.org>
6625         * font/devdvi/generate/ec.map: Add some more Unicode entities.
6626         * font/devdvi/*EC: Updated.
6628         * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
6629         * tmac/latin1 (latin1-tr): Undo any previous mapping.
6630         * tmac/troffrc: Load `composite.tmac'.
6631         * tmac/Makefile.sub (NORMALFILES): Updated.
6633         * doc/groff.texinfo (Input Encodings): New section.
6634         * NEWS: Updated.
6636 2003-02-27  Werner LEMBERG  <wl@gnu.org>
6638         * doc/texinfo.tex: New version 2003-02-11.06.
6640         * tmac/doc-common (Dt): Don't emit warning for unknown section.
6641         * tmac/groff_mdoc.man: Fix description of `Dt'.
6643 2003-02-26  Egil Kvaleberg  <egil@kvaleberg.no>
6645         * font/devps/prologue.ps: Fix for included Postscript that does
6646         a setpagedevice -- which is now safely ignored.
6648         * NEWS: Updated.
6650         * src/devices/grops/ps.cc: Now sets the page size in the generated
6651         document.  This is done in two ways: Via a %%-comment for gv and
6652         the like, and via a PageSize and setpagedevice for programs that
6653         understands Postscript proper, like ps2pdf.
6655         * src/devices/grops/ps.h: New broken-flag to avoid page size
6656         definition, if required.
6658         * src/devices/grops/grops.man: New broken-flag 16 mentioned.
6660         * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
6661         Not really necessary due to the fix in prologue.ps, but cleaner:
6662         Such information does not belong in an .eps file.
6664         * doc/Makefile.sub: See doc/Makefile.in.
6666 2003-02-26  Ralph Corderoy  <ralph@inputplus.co.uk>
6668         * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
6669         instead of P1 since the latter is broken in some versions of netpbm.
6670         * configure: Updated.
6672 2003-02-26  Larry Kollar  <kollar@alltel.net>
6674         Make man pages more customizable.
6676         * tmac/an-old.tmac (FT): New register holding footer distance from
6677         bottom.
6678         (HF): New string holding the default heading font.
6679         (TH): Handle registers `IN' and `SN' set on the command line.
6680         Use `FT'.
6681         (PT, BT): New strings to customize header and footer lines.
6682         (an-header, an-footer): Use them.
6683         (SH, SS): Use `HF'.
6684         * tmac/groff_man.man: Document changes.
6686         * doc/groff.texinfo: Document man changes.
6687         Document Ultrix extensions of man.
6689 2003-02-26  Werner LEMBERG  <wl@gnu.org>
6691         * src/roff/troff/input.cc (do_width, do_if_request): Reset
6692         `have_input' after changing back to old environment.
6694         * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
6695         function up to be defined before first call.  This is necessary to
6696         avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
6698         * src/utils/afmtodit/afmtodit.pl: Make script search for files in
6699         the default font directory also.  Based on a patch from James
6700         J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
6701         * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
6702         * src/utils/afmtodit/afmtodit.man: Document it.
6704         * NEWS: Updated.
6706         * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
6708 2003-02-25  Gaius Mulley  <gaius@glam.ac.uk>
6710         * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
6711         (GROFF_PNMTOPS_NOSETPAGE): New macro.
6712         * configure.ac: Use it.
6713         * configure: Regenerated.
6714         * Makefile.in: Updated.
6716         * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
6717         (CLEANADD): Add www.tmac-sed.
6718         (pnmtops_nosetpage): Define default.
6719         (install_data): Handle www.tmac-sed and substitute
6720         @PNMTOPS_NOSETPAGE@.
6721         (stamp-sed): Add www.tmac.
6722         * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
6723         It now breaks URLs at suitable places.
6724         (www:substring_ok): New register set by...
6725         (www:@test_substring): New macro.
6726         (www:error): New alias to www-error.
6727         (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
6728         New macros.
6729         (URL): Use www:url_breaks.
6730         (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
6731         (CDS, CDE): New macros.
6733 2003-02-25  Werner LEMBERG  <wl@gnu.org>
6735         * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
6736         buffer overflow.
6738 2003-02-24  Werner LEMBERG  <wl@gnu.org>
6740         Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
6741         can be negative also.
6743         * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
6744         `int16'.
6745         (read_char_table): Avoid negative ascenders.
6746         (output_charset): Add cast.
6747         * font/devlj4/*: Regenerated.
6749         Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
6750         possible.
6752         * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
6753         * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
6754         of `<>'.
6755         * font/devdvi/*: Regenerated.
6757         Map `la' and `ra' to U+27E8 and U+27E9.  These two characters have
6758         normal width, while the previously used characters (U+2329 and
6759         U+232A) are classified as wide due to canonical equivalence with the
6760         CJK punctuation characters U+3008 and U+3009.
6762         * font/devutf8/R.proto: Updated.
6763         * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
6765         * man/groff_char.man: Simplify handling of table traps by
6766         introducing `start block' and `end block' macros.
6767         (Ns, Ne, 2s, 2e, Ds, De): New macros.
6768         (DL): Make it work with Unix troff also.
6769         Fix code values of `la' and `ra'.
6771         * tmac/dvi.tmac: Define `<>' for CW and CWI.
6773 2003-02-23  Gaius Mulley  <gaius@glam.ac.uk>
6775         * src/devices/grohtml/post-html.cc (element_list::~element_list):
6776         New destructor, fixing a major memory leak.
6778 2003-02-22  Werner LEMBERG  <wl@gnu.org>
6780         * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
6781         to be in conformance with Unicode 3.0 and newer.
6783         * font/devlj4/generate/text.map: Add `Eu'.
6784         * font/devlj4/generate/special.map: Flip `*e' and `+e'.
6785         * font/devlj4/S: Regenerated.
6787         * man/groff_char.man: Completely rewritten.
6789         * doc/groff.texinfo: Fix description of request and macro arguments.
6791 2003-02-20  Gaius Mulley  <gaius@glam.ac.uk>
6793         Valgrind fixes.
6795         * src/devices/grohtml/html-table.cc (html_table::~html_table):
6796         Deallocate `columns' list.
6797         * src/devices/grohtml/post-html.cc (char_block::~char_block):
6798         New destructor.
6799         (text_glob::text_glob_html, text_glob::text_glob_special,
6800         text_glob::text_glob_line, text_glob::text_glob_auto_image,
6801         text_glob::text_glob_tag): Avoid memory leaks.
6802         (text_glob::remember_table): Free memory before reassigning.
6804 2003-02-19  Werner LEMBERG  <wl@gnu.org>
6806         Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
6807         alias `hbar'), the Planck constant over two pi.
6809         * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
6810         `+e' for position 34.
6811         * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
6812         `u2662' and `u2661'.
6813         * font/devdvi/{MI,S}: Regenerated.
6814         * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
6815         * font/devlbp/*: Add `hbar' alias.
6816         * font/devlj4/generate/special.map: Ditto.
6817         * font/devlj4/S: Regenerated.
6818         * font/devps/generate/symbolchars: Add `+e'.
6819         * font/devps/generate/textmap: Fix PS name for `-h'.
6820         Add `hbar' alias.
6821         * font/devps/symbolmap: Regenerated.
6823         * src/devices/grops/ps.cc (transform_fill): Removed since unused.
6825         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
6826         `-h', `hbar'.
6827         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
6828         `-h'.
6830         * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
6831         `hbar'.
6832         * tmac/tty-char.tmac: Add `+e'.
6834 2003-02-17  Werner LEMBERG  <wl@gnu.org>
6836         Another round trying to really fix problems with `have_input'.
6838         * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
6839         (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
6841         * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
6842         handling if both foreground and background colors are default.
6844         * doc/groff.texinfo (Debugging): Document .lf differences to
6845         AT&T troff.
6847 2003-02-16  Werner LEMBERG  <wl@gnu.org>
6849         * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
6850         null-bytes in created string.
6852         * src/roff/troff/input.cc (lookup_color, interpolate_macro,
6853         alias_macro, lookup_request): Improve warning messages.
6855         * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
6856         not `strdup'.
6857         Free `last_image_filename'.
6859         * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
6860         `buffer'.
6861         (imageList::createPage, imageList::createImage): Use `free', not
6862         `a_delete'.
6863         (imageItem::~imageItem): Free `imageName'.
6864         (addRegDef): Use `strsave', not `strdup'.
6865         (get_resolution): Free `pathp'.
6867 2003-02-15  Werner LEMBERG  <wl@gnu.org>
6869         * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
6870         to `dummy'.
6872 2003-02-14  Werner LEMBERG  <wl@gnu.org>
6874         Add memory management for colors to deallocate unnamed colors
6875         properly.
6877         * src/include/color.h (color): New members `free_list' and `next'.
6878         New member functions `new' and `delete'.
6879         Add destructor.
6880         * src/libs/libgroff/color.cc: Implement it.
6882         * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
6883         for array size of new operator.
6885         * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
6886         redundant comparison.
6888         * src/roff/troff/input.cc (word_space_node::reread,
6889         hmotion_node::reread): Avoid warning about unused parameter.
6890         (reset_output_registers): Remove redundant parameter.
6891         (define_color): Undo change 2003-02-12.
6893         * src/roff/troff/reg.h: Updated.
6895         * src/roff/troff/node.cc (troff_output_file::really_print_line,
6896         output_file::put_filename, real_output_file::really_put_filename,
6897         ascii_output_file::really_print_line,
6898         break_char_node::get_hyphen_list): Avoid warning about unused
6899         parameter.
6900         (suppress_node::tprint): Updated.
6902         * configure.ac: Check declaration for rand() and srand().
6903         * configure: Regenerated.
6905         * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
6906         conditionally.
6907         * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
6908         and srand().
6910         * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
6911         to avoid compiler warnings.
6913         * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
6914         unused.
6916         * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
6917         is unused.
6918         * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
6919         (unused) parameter.
6920         Updated all callers.
6922         * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
6923         is unused.
6924         * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
6925         * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
6927         * src/devices/grohtml/post-html.cc (html_printer::emit_line):
6928         Parameter is unused.
6929         (html_printer::add_table_end): Define parameter conditionally.
6930         * src/devices/grohtml/output.cc (simple_output::special): Parameter
6931         is unused.
6933         * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
6934         (lbp_printer::set_char): Last parameter is unused.
6936         * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
6938 2003-02-13  Werner LEMBERG  <wl@gnu.org>
6940         New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
6941         Make \D'f ...' move horizontally again for backwards compatibility.
6942         Replace it with \D'Fg ...' where appropriate to avoid dependency
6943         on horizontal resolution.
6945         * src/roff/troff/input.cc (do_get_long_name): New function.
6946         (get_long_name): Call it.
6948         (read_draw_node): Handle `\D'Fx ...' by calling ...
6949         (read_color_draw_node): New function.
6951         (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
6952         `end'.
6953         Pass it to `do_get_long_name' which is used instead of
6954         `get_long_name'.
6956         * src/libs/libdriver/input.cc (color_from_Df_command): Remove
6957         unnecessary value guard.
6958         (parse_D_command) <'f'>: Add horizontal shift.
6960         * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
6961         * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6962         (FILL_MAX): Removed.
6964         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6965         Updated.
6967 2003-02-12  Werner LEMBERG  <wl@gnu.org>
6969         * src/roff/troff/input.cc (do_name_test, do_expr_test,
6970         do_zero_width): Push `\n' if closing delimiter is missing.
6972         (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
6973         <'F'>: Make \F non-transparent at the beginning of line.
6974         (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
6975         token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
6976         `have_input'.
6978         (define_color): Free color in case of reassignment.
6980         * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
6981         @DefescListEnd): Use @Var, not @var.
6982         Fix all calls.
6984         * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
6986         * src/preproc/pic/object.cc (object_spec::~object_spec): Free
6987         `shaded' and `outlined' arrays.
6988         (object_spec::object_spec): Initialize `shaded' and `outlined'.
6989         (graphic_object::set_fill_color, graphic_object::set_outline_color):
6990         Use strsave.
6991         (closed_object::set_fill_color): Ditto.
6992         * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
6993         instead of strdup.
6994         (troff_output::reset_color): Use a_delete instead of free.
6995         * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
6997 2003-02-11  Werner LEMBERG  <wl@gnu.org>
6999         * doc/groff.texinfo: Improve documentation of `ad'.
7000         Document that \D'f...' is dependent on the horizontal resolution.
7001         * man/groff_diff.man: Improve documentation of \D'f...'.
7003         * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
7004         compensating \h'...' for \D'f ...' since the latter no longer moves
7005         current position.
7006         * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
7008 2003-02-10  Werner LEMBERG  <wl@gnu.org>
7010         Improve error messages for `x F' (and `F') commands.
7012         * src/include/error.h: Add declaration for
7013         `current_source_filename'.
7014         * src/libs/libgroff/filename.cc: Add `current_source_filename'.
7015         * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
7016         parameter for source file string.
7017         Updated all callers.
7019         * src/libs/libdriver/input.cc: Add `current_source_filename'.
7020         (remember_source_filename): New function.
7021         (parse_x_command <'F'>, do_file <'F'>): Use it.
7023 2003-02-09  Werner LEMBERG  <wl@gnu.org>
7025         Make grotty not emit warnings about unknown colors more than
7026         necessary.
7028         * src/devices/grotty/tty.cc: Include `ptable.h'.
7029         (TTY_MAX_COLORS): Removed.
7030         (DEFAULT_COLOR_IDX): Defined to -1.
7031         (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
7032         (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
7033         Change `tty_colors' to be a ptable.
7034         First arg of `put_color' is now `char'.
7035         New functions `make_rgb_string' and `tty_color'.
7036         (tty_printer::tty_printer): Use `tty_color'.
7037         (tty_printer::color_to_idx): Return value is now `char'.
7038         Use `tty_color'.
7040         * src/include/color.h (color): Add `print_color' member function.
7041         * src/libs/libgroff/color.cc (color::print_color): Implement it.
7043 2003-02-08  Werner LEMBERG  <wl@gnu.org>
7045         Valgrind fixes.
7047         * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
7048         encoding file.
7050         * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
7051         assume that value has been allocated with `new[]', thus use
7052         `a_delete' for deallocation.
7054         * src/libs/libdriver/input.cc (get_integer_arg,
7055         get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
7056         where appropriate.
7058         * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
7059         * src/libs/libgroff/nametoindex.cc
7060         (character_indexer::named_char_index): Use `new <type>[1]'.
7062         * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
7063         <type>[1]'.
7064         * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
7065         (split_text): Use `a_delete'.
7067         * src/preproc/pic/pic.y (define_label, define_variable): Use `new
7068         <type>[1]'.
7070         * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
7071         harmless memory leak.
7072         (hyphen_trie::read_patterns_file): Initialize `buf'.
7073         * src/roff/troff/node.cc (troff_output_file::troff_output_file):
7074         Initialize `current_fill_color'and `current_glyph_color'.
7075         * src/roff/troff/glyphuni.cc
7076         (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
7077         * src/roff/troff/uniuni.cc
7078         (unicode_decompose_init::unicode_decompose_init): Ditto.
7079         * src/roff/troff/uniglyph.cc
7080         (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
7082 2003-01-26  Werner LEMBERG  <wl@gnu.org>
7084         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
7085         `access' before calling `unlink'.
7086         (do_file): Handle __EMX__.
7088         * src/include/nonposix.h: Handle __EMX__.
7090         * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
7091         (fontpath,tmacpath): Use it.
7092         (MDEFINES): Add it.
7093         Sorted alphabetically.
7095         * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
7096         @SEP@.
7097         * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
7098         @SEP@.
7100 2003-01-27  Werner LEMBERG  <wl@gnu.org>
7102         * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
7103         New files, copied from gnulib.
7104         * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
7105         * configure.ac: Updated.
7106         * configure: Regenerated.
7108         * src/include/config.hin: Regenerated.
7109         * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
7110         Don't define `strcasecmp' as `strcmp'.
7111         [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
7112         Dont define `strncasecmp' as `strncmp'.
7114         * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
7115         Removed.
7117 2003-01-26  Werner LEMBERG  <wl@gnu.org>
7119         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
7120         s/unline/unlink/.
7122 2003-01-25  Werner LEMBERG  <wl@gnu.org>
7124         * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
7126 2003-01-24  Werner LEMBERG  <wl@gnu.org>
7128         Add US-english hyphenation exceptions (converted from Barbara
7129         Beeton's hyphenation exception log reports which appear irregularly
7130         in TUGBoat).
7132         * tmac/hyphen.us: Updated to latest version.
7133         * tmac/README: Updated.
7134         * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
7135         * tmac/troffrc: Load `hyphenex.us'.
7136         * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
7137         * doc/groff.texinfo: Updated.
7139 2003-01-23  Werner LEMBERG  <wl@gnu.org>
7141         Improve hyphenation slightly.  This is a first step in redesigning
7142         the hyphenation algorithm to make it more flexible (e.g. allowing
7143         kerns and ligatures between the hyphenation character and the
7144         following character -- while not used normally in English, other
7145         languages like German would benefit).
7147         * src/roff/troff/env.cc (environment::hyphenate_line): Use
7148         assertion instead of if-clause.
7149         Let `get_hyphen_list' return the number of involved characters in
7150         the hyphenation pattern instead of computing it directly (which
7151         often yields too small values).
7152         * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
7153         * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
7154         parameter.
7156 2003-01-22  Werner LEMBERG  <wl@gnu.org>
7158         Fixing a bug which caused groff to hang if the hyphenation exception
7159         dictionary tried to grow.
7161         * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
7162         hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
7163         pointer to dictionary.
7165 2003-01-20  Werner LEMBERG  <wl@gnu.org>
7167         * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
7168         negative left italic correction.
7169         * src/utils/afmtodit/afmtodit.man: Document it.
7171         * font/devps/generate/Makefile (RFLAG): Add `-m'.
7172         * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
7173         S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
7175         * NEWS: Updated.
7177 2003-01-16  Werner LEMBERG  <wl@gnu.org>
7179         * NEWS: Updated.
7181 2003-01-16  Jörgen Grahn  <jgrahn@algonet.se>
7183         * src/preproc/refer/refer.man: Mention REFER environment variable.
7185 2003-01-05  Werner LEMBERG  <wl@gnu.org>
7187         Similar to \[is], the square root glyph (\[sr]) and the square root
7188         extension glyph (\[radicalex]) are now text symbols.  The new
7189         mathematical versions are called \[sqrt] and \[sqrtex],
7190         respectively.
7192         * font/devX*/S: Regenerated.
7193         * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
7194         * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
7195         * font/devdvi/EX, font/devdvi/S: Regenerated.
7196         * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
7197         * font/devlj4/generate/special.map: Add `sqrt'.
7198         * font/devlj4/S: Regenerated.
7199         * font/devps/generate/textmap: Add `sqrt'.
7200         * font/devps/S, font/devps/symbolmap: Regenerated.
7202         * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
7203         SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
7204         * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
7205         overlap horizontally.
7207         * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
7208         * tmac/dvi.tmac: Add `sr', and `sqrtex'.
7209         Fix `radicalex'.
7211         * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
7212         and `sqrtex' are overlapping glyphs.
7214 2003-01-04  Werner LEMBERG  <wl@gnu.org>
7216         * font/devdvi/generate/texsy.map: Add `is'.
7217         * font/devps/symbolmap: Regenerated.
7218         * font/devdvi/*TC, MI, S: Regenerated.
7220         * tmac/dvi.tmac: Remove `is'.
7222 2003-01-03  Werner LEMBERG  <wl@gnu.org>
7224         `is' is now a text symbol (only relevant for dvi).  The math variant
7225         can be accessed with `integral'.
7227         * font/devX*/S: Regenerated.
7228         * font/devdvi/generate/texex.map: Remove `is'.
7229         * font/devdvi/EX: Updated.
7230         * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
7231         * font/devlj4/generate/special.map: Ditto.
7232         * font/devlj4/S: Regenerated.
7233         * font/devps/generate/textmap: Add `integral'.
7234         * font/devps/S: Regenerated.
7236         * tmac/dvi.tmac: Define `is'.
7238         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
7240         * src/preproc/tbl/main.cc (process_format): Fix error message.
7242 2003-01-02  Werner LEMBERG  <wl@gnu.org>
7244         * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
7245         * font/devps/textmap: Fix entries for `ne' and `nc'.
7246         * font/devps/symbolmap: Regenerated.
7248         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
7249         src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
7250         `38', `58', `78', `-+', `|=', `nc', `ne'.
7252         * tmac/dvi.tmac: Add `nm', `ne', `nc'.
7253         Use `schar' for `aq'.
7254         * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
7255         * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
7256         * tmac/tty.tmac: Add `ne'.
7258         * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
7259         for fallback glyphs.
7261 2002-12-29  Werner LEMBERG  <wl@gnu.org>
7263         Add glyph `|='.
7265         * font/devX*/*: Regenerated.
7266         * font/devdvi/generate/ec.map: Remove `eq'.
7267         * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
7268         Assign `|=' to position 39.
7269         * font/devdvi/*EC, S: Regenerated.
7270         * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
7271         * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
7272         Assign `|=' to position 549.
7273         * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
7274         `equalmath'.
7275         Add `uni2243' for `|='.
7277         * tmac/ec.tmac: Add `eq'.
7278         * tmac/dvi.tmac: Add `=~'.
7279         * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
7280         `|='.
7282 2002-12-21  Werner LEMBERG  <wl@gnu.org>
7284         * font/devdvi/generate/tc.map: Remove `**'.
7285         * font/devdvi/*TC: Regenerated.
7286         * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
7287         `78', `<<', `>>'.
7288         * font/devutf8/NOTES: Updated.
7290         * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
7291         Don't give default parameter to `set_macro'.
7292         * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
7293         instead of `set_macro'.
7294         (charinfo::setx_macro): Implement it.
7295         (charinfo::set_macro): Don't change `mode'.
7297         * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
7298         * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
7299         * tmac/dvi.tmac: Define `!=' with `.schar'.
7301 2002-12-20  Werner LEMBERG  <wl@gnu.org>
7303         * font/devX*/S: Regenerated.
7304         * font/devdvi/generate/ec.map: Remove `pl'.
7305         * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
7306         * font/devdvi/*{TC,EC}: Regenerated.
7307         * font/devhtml/R.proto: Add `-+'.
7308         Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
7309         * font/devlbp/*: Remove `or'.
7310         * font/devlj4/generate/special.map: Remove `or'.
7311         * font/devlj4/S: Regenerated.
7312         * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
7313         `seveneighths', `threeeighths'.
7314         Remove `plusmath'.
7315         Replace `minusplus' with `uni2213'.
7316         * font/devps/symbolmap: Regenerated.
7317         * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
7318         Add `-+'.
7320         * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
7321         function.
7322         * src/roff/troff/node.cc (troff_output_file::put_char_width):
7323         Call glyph_color and fill_color even if tcommand_flag isn't set.
7324         (make_node, node::add_char): Check not ci->is_fallback but
7325         ci->is_normal.
7327         * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
7328         * tmac/ec.tmac: Add .rchar entry for `f/'.
7329         Don't remove `12', `14', `34'.
7330         Define `pl' to be always roman.
7331         * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
7332         Define `18', `38', `58', `78'.
7333         * tmac/tty.tmac: Add `-+'.
7334         * tmac/dvi.tmac: Define `f/'.
7335         (dvi-frac): Use `f/'.
7336         * tmac/X.tmac (X-frac, X-frac-mono): New macros.
7337         Define `18', `38', `58', `78'.
7339 2002-12-15  Colin Watson  <cjwatson@debian.org>
7341         * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
7343 2002-12-10  Werner LEMBERG  <wl@gnu.org>
7345         Add glyph `tno', a textual variant of `no'.
7347         * font/devX*/*: Regenerated.
7348         * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
7349         * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
7350         * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
7351         * font/devdvi/*: Regenerated.
7352         * font/devlbp/*: Add `tno'.
7353         * font/devlj4/generate/tex.map: Replace `no' with `tno'.
7354         * font/devlj4/*: Regenerated.
7355         * font/devps/generate/textmap: Replace `no' with `tno'.
7356         * font/devps/generate/symbolchars: Add `no'.
7357         * font/devps/*: Regenerated.
7359         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
7361         * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
7362         * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
7364         * NEWS: Updated.
7366         * tmac/dvi.tmac: Replace most `\\' with `\E'.
7367         Add definition for `sd'.
7368         * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
7370         * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
7372 2002-12-08  Werner LEMBERG  <wl@gnu.org>
7374         * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
7375         mode to avoid rounding errors.
7376         (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
7378         * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
7379         src/roff/troff/troff.man: Improve documentation of -T.
7381 2002-12-07  Jeff Conrad  <jeff_conrad@msn.com>
7383         * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
7384         (run_pipeline) [_WIN32]: Provide working function without `fork'.
7386 2002-12-06  Werner LEMBERG  <wl@gnu.org>
7388         * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
7389         glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
7390         Scaling Euro.sansserif glyphs down to have the same height as
7391         digits.
7392         Removed unnecessary points; added some extrema.
7394         * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7395         Regenerated.
7397 2002-12-04  Werner LEMBERG  <wl@gnu.org>
7399         * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
7400         and `Euro.symbol.bold.slanted'.
7401         Improve some glyph offsets and widths.
7402         * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7403         Regenerated.
7404         * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
7405         typo.
7406         * font/devps/generate/sfdtopfa.pe: Generate PFA in current
7407         direcory.
7409         * tmac/europs.tmac: Updated to new glyph indices.
7410         Use Euro.symbol for font familiy `A'.
7412         * doc/groff.texinfo: Minor improvements.
7414 2002-12-02  Werner LEMBERG  <wl@gnu.org>
7416         * font/devdvi/generate.tc.map: s/%O/%0/.
7417         * font/devdvi/*TC: Regenerated.
7419         * src/roff/troff/div.cc (init_div_requests): Sorted.
7421         * tmac/dvi.tmac: Remove `Ye'.
7422         * tmac/ec.tmac: Remove `Ye'.
7423         Add .rchar entry for `de'.
7425         * man/groff.man, man/groff_diff.man: Document register `.pe'.
7426         * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
7427         * NEWS: Updated.
7429 2002-11-30  Werner LEMBERG  <wl@gnu.org>
7431         Add PS font for various Euro glyphs.
7433         * font/devps/generate/freeeuro.sfd: New master font file for
7434         pfaedit.
7435         * font/devps/generate/sfdtopfa.pe: New conversion script for
7436         pfaedit.
7437         * font/devps/generate/Makefile (FONTS): Add `EURO'.
7438         (EURO, freeeuro.afm, freeeuro.pfa): New rules.
7439         * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
7440         `freeeuro.sfd'.
7441         * font/devps/EURO: Generated from `freeeuro.afm'.
7442         * font/devps/download: Add `freeuro.pfa'.
7443         * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
7444         `freeeuro.pfa'.
7446         * tmac/europs.tmac: New file.
7447         * tmac/ps.tmac: Include `europs.tmac'.
7448         * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
7450 2002-11-29  Werner LEMBERG  <wl@gnu.org>
7452         * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
7453         * font/devdvi/S: Regenerated.
7454         * font/devhtml/R.proto: Fix `CR' and `ci'.
7455         Add `OK'.
7456         * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
7457         Remove `bs'.
7458         * font/devps/symbolmap: Regenerated.
7459         * font/devutf8/R.proto: Fix `CR' and `ci'.
7460         Add `OK'.
7461         * font/devutf8/NOTES: Updated.
7463         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
7464         `ci'.
7465         Add `OK'.
7466         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7468         * tmac/dvi.tmac: Add `lh' and `rh'.
7469         * tmac/Xps.tmac: Fix `lh' and `rh'.
7470         * tmac/X.tmac: Add `OK'.
7471         * tmac/lj4.tmac: Ditto.
7473 2002-11-24  Werner LEMBERG  <wl@gnu.org>
7475         * font/devX*/S: Regenerated.
7476         * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
7477         `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
7478         * font/devdvi/generate/texsy.map: Remove `or' glyph.
7479         * font/devdvi/S: Regenerated.
7480         * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
7481         `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
7482         `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
7483         `bracketleftbt', `bracketrighttp', `bracketrightex',
7484         `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
7485         `braceex', `braceleftex', `bracerightex', `bracerighttp',
7486         `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
7487         `rb', and `bv'.
7488         * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
7489         * font/devutf8/NOTES: Updated.
7490         * font/devlj4/generate/special.map: Add glyph `braceex'.
7491         * font/devlj4/S: Regenerated.
7493         * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
7495 2002-11-14  Werner LEMBERG  <wl@gnu.org>
7497         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
7498         and `vA'.
7499         Fix code for `an'.
7500         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7502         * doc/texinfo.tex: New version from texinfo 4.3.
7503         * doc/groff.texinfo: Updated for texinfo 4.3.
7504         Use @tie{} where appropriate.
7505         * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
7506         * font/devdvi/generate/tc.map: Remove `rn'.
7507         * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
7508         * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
7509         Fix code for `an'.
7510         * font/devX100/*, font/devX100-12/*, font/devX75/*,
7511         font/devX75-12/*: Regenerated.
7513         * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
7514         Use .char (again) for `br', `ul', `rn', `or', and `ru'.
7515         Improve definition of `an'.
7516         * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
7517         `ru'.
7518         * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
7519         * tmac/X.tmac: Add definition for `or'.
7520         * tmac/Xps.tmac: Undo change 2002-11-05.
7521         * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
7523 2002-11-11  Werner LEMBERG  <wl@gnu.org>
7525         * src/roff/troff/node.cc (troff_output_file::put_char): Always
7526         call flush_tbuf.
7528 2002-11-10  Werner LEMBERG  <wl@gnu.org>
7530         Added three new requests `schar', `fschar', and `rfschar'.  `schar'
7531         defines a glyph which is searched after the check for fonts declared
7532         with `.special' (and before the check for all mounted special
7533         fonts).  `fschar' defines a glyph for a particular font which is
7534         searched after the check for fonts declared with `.fspecial' (and
7535         before the check for fonts declared with `.special').  `rfschar'
7536         removes glyphs defined with `fschar'.
7538         * src/roff/troff/token.h (char_mode): New enum.
7539         Declare do_define_character.
7540         * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
7541         `mode'.
7542         (charinfo::is_fallback): Updated.
7543         (charinfo::is_special): New method.
7544         * src/roff/troff/input.cc (do_define_character): Add and use
7545         optional second parameter used as a prefix for font-specific glyph
7546         names.
7547         (define_character, define_fallback_character): Updated.
7548         (define_special_character): New function.
7549         (init_input_requests): Add `schar'.
7550         (charinfo::charinfo, charinfo::set_macro): Updated.
7551         * src/roff/troff/node.cc: Include `stringclass.h'.
7552         (make_glyph_node): Handle special glyphs defined with `.schar' and
7553         `.fschar'.
7554         (define_font_special_character, remove_font_special_character): New
7555         functions.
7556         (init_node_requests): Sorted.
7557         Add `fschar' and `rfschar'.
7558         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
7559         Document new requests.
7561         * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
7562         * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
7564 2002-11-08  Werner LEMBERG  <wl@gnu.org>
7566         Added new font `SC' (cmtex10) to devdvi.
7568         * devdvi/generate/Makefile (FONTS): Add `SC'.
7569         (SC): New rule.
7570         * devdvi/generate/textex.map: New map file for cmtex.
7571         * devdvi/SC: New.
7572         * devdvi/Makefile.sub (DEVFILES): Updated.
7573         * tmac/dvi.tmac: Add fspecial entries for SC.
7574         Add `MI', `S' and `CW' to the `special' call.  Otherwise, `SC' is
7575         found before `S' since the font position of `SC' is lower due to the
7576         gaps in DESC's `font' line.
7577         * tmac/ec.tmac: Add a `special' call.
7578         * NEWS: Updated.
7580         * font/devhtml/R.proto: Remove double entry for `ti'.
7581         * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
7582         * tmac/tty-char.tmac: Remove entry for `bq'.
7583         * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
7584         * tmac/ec.tmac: Don't remove `aq' glyph.
7585         * tmac/X.tmac: Fix entry for `em'.
7586         Add entries for `fo' and `fc'.
7587         * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
7589         * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
7590         documentation of `special' and `fspecial' requests.
7592 2002-11-05  Werner LEMBERG  <wl@gnu.org>
7594         * font/devascii/R.proto, font/devcp1047/R.proto,
7595         font/devlatin1/R.proto: Remove entry for `.i'.
7596         * font/devdvi/generate/textt.map: Add entry for `ad'.
7597         * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
7598         font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
7599         We need this for getting kerning values to compose `/l' and `/L'.
7600         * font/devdvi: Regenerated font definition files for CM fonts.
7601         * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
7602         * font/devutf8/R.proto: Ditto.
7603         Remove double entry for `ti'.
7605         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
7606         for (groff) ligatures, `la', and `ra'.
7607         Add "'C", "'c", `IJ', and `ij'.
7608         Remove double entry for `ti'.
7609         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
7610         double entries.
7611         Add "'C", "'c", `IJ', and `ij'.
7612         Fix entries for (groff) ligatures, `la', and `ra'.
7614         * tmac/ps.tmac (ps-achar): New macro.
7615         Define "'c" and "'C".
7616         * tmac/tty.tmac: Add entry for `.i'.
7617         * tmac/X.tmac (X-achar): New macro.
7618         Define "'c", "'C", and `:Y'.
7619         Add entries for `IJ' and `ij'.
7620         * tmac/Xps.tmac (Xps-achar): New macro.
7621         Define "'c" and "'C".
7622         Add entries for `IJ' and `ij'.
7623         * tmac/lbp.tmac (lbp-achar): New macro.
7624         Add fallback characters for all groff ligatures and many other
7625         glyphs.
7626         * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
7627         Add entries for `/l' and `/L'.
7628         Define "'c" and "'C".
7629         Add entries for `IJ' and `ij'.
7631 2002-11-02  Larry Kollar  <kollar@alltel.net>
7633         * PROBLEMS: Document how to solve Mac OS X compilation problems.
7635 2002-11-02  Werner LEMBERG  <wl@gnu.org>
7637         Adding support for composite glyphs: \[xxx yyy ...] and the
7638         `composite' request.
7640         * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
7641         to Unicode-based glyph names.
7642         * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
7643         glyph names to groff glyph names.
7644         * src/roff/troff/uniuni.cc: New file for canonically decomposing
7645         Unicode-based glyph names.
7646         * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
7647         for handling Unicode glyph names.
7648         * src/roff/troff/input.cc: Include unicode.h.
7649         (composite_glyph_name): New function.
7650         (token::next) <'['>: Handle Unicode glyph names and composite
7651         glyphs.
7652         (composite_dictionary): New dictionary for the `composite' request.
7653         (composite_request): Implement `composite' request.
7654         (init_input_requests): Add `composite'.
7655         Alphabetically sorted.
7656         * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
7657         commented out).
7658         (init_env_requests): Alphabetically sorted.
7659         Removed `tas' and `tar' (already commented out).
7660         * src/roff/troff/Makefile.sub: Updated.
7662 2002-10-31  Ruslan Ermilov  <ru@FreeBSD.org>
7664         * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
7665         of options.
7667 2002-10-29  Werner LEMBERG  <wl@gnu.org>
7669         Fix computation of .trunc register.  Additionally, its value (and
7670         the value of the .ne register) is now always set before entering the
7671         trap.
7673         * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
7674         `needed_space' before calling `space'.
7675         (top_level_diversion::space): Remove special code for 'sp before the
7676         first page.
7677         Call `begin_page' with the discarded space as a parameter.
7678         (top_level_diversion::begin_page): Add optional parameter to set
7679         `truncated_space'.
7680         * src/roff/troff/div.h: Updated.
7682         * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
7683         \n[.ne].
7685         * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
7686         (LP): Remove superfluous call to `br'.
7687         * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
7688         * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7690 2002-10-26  Werner LEMBERG  <wl@gnu.org>
7692         * tmac/doc-ditroff: Remove useless switch/variable -rC.
7693         (doc-setup-header): Don't set page register `%'.
7694         * tmac/doc-nroff: Remove variable `C'.
7695         (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
7696         (doc-setup-header): Don't set page register `%'.
7697         Don't call `bp'.
7698         * tmac/doc-common (doc-header): Call `ns'.
7699         (doc-paragraph): Protect .sp with .br so that it survives traps
7700         possibly set by the user.
7701         * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7703         * tmac/doc*: Replace ' with . for consistency if no effect.
7705 2002-10-26  Werner LEMBERG  <wl@gnu.org>
7707         * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
7708         so that it survives traps possibly set by the user.
7710         * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
7711         (troff_output_file::set_font): Call flush_tbuf if necessary.
7712         (troff_output_file::fill_color, troff_output_file::glyph_color): Call
7713         flush_tbuf and do_motion only if necessary.
7714         (troff_output_file::start_special,
7715         troff_output_file::put_char_width, troff_output_file::put_char,
7716         troff_output_file::draw): Updated.
7717         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7718         vmotion_node::tprint): Undo change 2002-10-23.
7720 2002-10-25  Werner LEMBERG  <wl@gnu.org>
7722         * tmac/www.tmac (DC): Fix case of overlapping images.
7724 2002-10-23  Werner LEMBERG  <wl@gnu.org>
7726         * src/roff/troff/node.cc (troff_output_file::fill_color,
7727         troff_output_file::glyph_color): Set current color before testing
7728         color_flag.
7729         (troff_output_file::put_char_width, troff_output_file::put_char,
7730         troff_output_file::draw): Don't call flush_tbuf and/or do_motion
7731         before glyph_color.
7732         (troff_output_file::file_color, troff_output_file::glyph_color):
7733         Call do_motion.
7734         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7735         vmotion_node::tprint): Move first, then call fill_color.
7737 2002-10-20  Werner LEMBERG  <wl@gnu.org>
7739         * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
7740         possible to use multiple main macro packages.
7742 2002-10-19  Werner LEMBERG  <wl@gnu.org>
7744         * src/devices/grops/ps.cc (cmyk_flag): New global variable.
7745         (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
7746         (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
7747         is set.
7748         * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
7749         `where' construction since `cmyksetcolor' is a PS Level 2 operator.
7751 2002-10-16  Werner LEMBERG  <wl@gnu.org>
7753         * NEWS, doc/webpage.ms: Updated.
7755 2002-10-14  Werner LEMBERG  <wl@gnu.org>
7757         * src/roff/troff/node.cc (troff_output_file::put_char_width,
7758         troff_output_file::put_char, troff_output_file::fill_color,
7759         troff_output_file::glyph_color): Handle case where color pointer
7760         is null.
7762 2002-10-13  Ruslan Ermilov  <ru@FreeBSD.org>
7764         Add the new -r option to grotty.  It is similar to the -i option
7765         except it tells grotty(1) to use the `reverse video' attribute to
7766         render italic fonts.
7768         * src/devices/grotty/tty.cc (reverse_flag): New global variable.
7769         (SGR_REVERSE, SGR_NO_REVERSE): New macros.
7770         (tty_printer::make_underline, tty_printer::put_color,
7771         tty_printer::end_page): Use it.
7772         (main): Add -r switch.
7773         (usage): Updated.
7774         * src/devices/grotty/grotty.man: Document it.
7776 2002-10-11  Ruslan Ermilov  <ru@FreeBSD.org>
7778         * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
7779         cast to `unsigned char' to properly read patterns with 8bit
7780         characters.
7782 2002-10-08  Werner LEMBERG  <wl@gnu.org>
7784         * REVISION: Increased to 2.
7786 Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008
7787   Free Software Foundation, Inc.
7789 Copying and distribution of this file, with or without modification,
7790 are permitted in any medium without royalty provided the copyright
7791 notice and this notice are preserved.
7793 Local Variables:
7794 version-control: never
7795 coding: latin-1
7796 End: