Imported Upstream version 1.22.4
[platform/upstream/groff.git] / ChangeLog
1 2018-12-18 Bertrand Garrigues <bertrand.garrigues@laposte.net>
2
3         Fix 'dvi' and 'pdf' texinfo doc generation.
4
5         GNU make has a built-in variable 'TEXI2DVI' but it is not the case
6         of all 'make' implementations, which causes 'make doc' to fail
7         with an unclear message although 'texi2dvi' is available.  Also,
8         'texi2dvi' is invoked inconditionnally.
9
10         * m4/groff.m4 (GROFF_TEXI2DVI): new macro to detect properly the
11         presence of 'texi2dvi'.
12
13         * configure.ac: use 'GROFF_TEXI2DVI' and define automake conditional
14         'HAVE_TEXI2DVI'.
15
16         * doc/doc.am:
17         - Define TEXI2DVI to 'texi2dvi'.
18         - Print an error message if 'texi2dvi' is not available.
19
20 2018-12-08 Bertrand Garrigues <bertrand.garrigues@laposte.net>
21
22         Install texinfo doc on 'make install-pdf' and 'make install-html'
23
24         * doc/doc.am:
25         - Use automake 'install-pdf-local' and 'install-html-local' rules
26         to install groff.pdf and groff.html
27         - New rules 'uninstall_pdf' and 'uninstall_html'.
28         - Use $(RM) instead of 'rm'.
29         - Don't try to build doc if 'BUILD_INFODOC' is not set.
30         * INSTALL.REPO: document texinfo build and installation.
31
32 2018-12-10 Ingo Schwarze <schwarze@openbsd.org>
33
34         * Makefile.am: Remove the unused variables PREFIXMAN5 and PREFIXMAN7.
35
36         They caused installation failures on Solaris 9.
37
38 2018-12-08 Bertrand Garrigues <bertrand.garrigues@laposte.net>
39
40         Remove gnulib's hypot module.
41
42         The removal of 'GROFF_NEED_DECLARATION([hypot])' in 'configure.ac'
43         was correct as the test was buggy, but there is no need to use
44         gnulib's hypot module as previously we did not need to provide a
45         replacement function.
46
47         * bootstrap.conf: do it.
48
49 2018-12-08  Deri James  <deri@chuzzlewit.myzen.co.uk>
50
51         Problem running gropdf on big endian (Sparc)
52
53         * src/devices/gropdf/gropdf.pl: Prior to perl v5.9 the 'L<'
54         template for 'unpack' was unavailable. Solaris 10 uses v5.8.4
55         so safer to use the template 'V' rather than 'L<'.
56
57 2018-12-08 Bertrand Garrigues <bertrand.garrigues@laposte.net>
58
59         Use gnulib's 'hypot' module.
60
61         In 'configure.ac', the macro call
62         'GROFF_NEED_DECLARATION([hypot])' checks whether the function
63         'hypot' is correctly declared in 'math.h', but the test is buggy
64         and may yields false results.
65
66         * bootsrap.conf: add 'hypot' module.
67
68         * configure.ac: Remove GROFF_NEED_DECLARATION([hypot]).
69
70         * src/libs/libgroff/hypot.cpp: remove declaration of hypot.
71
72 2018-12-07  Deri James  <deri@chuzzlewit.myzen.co.uk>
73
74         Problem running gropdf on big endian (Sparc)
75
76         * src/devices/gropdf/gropdf.pl: When loading a binary (.pfb)
77         font for embedding always use little endian to unpack chunk
78         headers.
79
80 2018-12-05  Bertrand Garrigues <bertrand.garrigues@laposte.net>
81
82         Skip mom tests if needed config is missing.
83
84         * contrib/mom/examples/test-mom.sh.in: exit 77 if URW fonts are
85         not available.
86
87         * contrib/mom/mom.am: distribute inconditionnally test-mom.in.
88
89         * m4/groff.m4 (GROFF_URW_FONTS): check if 'awk' and 'gs' are
90         available, and replace non-portable 'grep' command by awk script.
91
92 2018-12-01  Colin Watson  <cjwatson@debian.org>
93
94         Fix error handling in tests of mom examples
95
96         * contrib/mom/examples/test-mom.sh.in (check_number_pages): Correct
97         error message.
98         (check_has_images): Correct shell syntax error.
99
100 2018-11-26  Bertrand Garrigues <bertrand.garrigues@laposte.net>
101
102         Document .sp behaviour in -me doc -- French translation
103
104         * doc/meintro_fr.me: translation of commit
105         7a83f7f5003e24f020306f09f4d497e04e82cb14.
106
107         Fixes bug https://savannah.gnu.org/bugs/?54958.
108
109 2018-11-24  Bertrand Garrigues <bertrand.garrigues@laposte.net>
110
111         Fix tarball generation: script 'makevarescape.sed' was missing.
112
113         * Makefile.am (EXTRA_DIST): add it.
114
115 2018-11-24  Bertrand Garrigues <bertrand.garrigues@laposte.net>
116
117         Add automatic tests on mom examples
118
119         * m4/groff.m4 (GROFF_PDFTOOLS): check presence of some pdf tools.
120         * configure.ac: use 'GROFF_PDFTOOLS', add new AM conditional.
121         * contrib/mom/examples/test-mom.sh.in: new file that use 'pdfinfo'
122         and 'pdfimages' to make some basic checks on mom examples.
123
124 2018-11-21  G. Branden Robinson <g.branden.robinson@gmail.com>
125
126         tmac/sv.tmac: Set Swedish hyphenation flags to 32.
127
128         This permits hyphenation after the first character but continues
129         prohibiting it before the last character of a word, in
130         congruence with the TeX-based hyphenation patterns we use.
131
132         Fixes <https://savannah.gnu.org/bugs/index.php?55066>.
133
134 2018-11-19  Bertrand Garrigues <bertrand.garrigues@laposte.net>
135
136         Fix build on environment where /etc/papersize contains comments
137
138         Issue introduced on commit efea81c75f831ddc6717c2ef25556e0f49d1f679.
139
140         * m4/groff.m4 (GROFF_PAGE): remove comments and get the 1st string
141         of '/etc/papersize'.
142
143 2018-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>
144
145         * m4/groff.m4 (GROFF_PAGE): Try /etc/papersize first.
146
147         Fixes <https://savannah.gnu.org/bugs/index.php?53271>.
148
149 2018-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>
150
151         * bootstrap.conf: Bump Autoconf dependency to 2.68.  We need it
152         to support our bug-reporting URL, which contains a "?".
153         Strictly, Autoconf 2.65 is fine, but 2.66 and 2.67 broke this.
154         Even 2.69 is over 6 years old now.
155
156         See <https://savannah.gnu.org/support/?107450>.
157
158 2018-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>
159
160         * m4/groff.m4 (GROFF_PAGE): Quote shell variables that are under
161         external control and may contain embedded whitespace.  A test
162         shows that our configure script is now robust in this way, but
163         our Automake files are not, starting with
164         src/utils/afmtodit/afmtodit.am.
165
166 2018-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>
167
168         * makevarescape.sed:
169           - Escape plain spaces and double-quotes (ASCII 32 and 34) so
170             that bad things don't happen if they are embedded in a Make
171             variable expanded in a man page @THUS@ _and_ given as an
172             argument to a macro that distinguishes its parameters, such
173             as .IR.
174           - Add discretionary breaks after groups of slashes not
175             preceded by a space; e.g., transform "/usr/bin/groff" into
176             "/usr/\:bin/\:groff".  Will also work on URLs
177             {"https://\:example.com/\:page.html"} in case we need that.
178
179 2018-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>
180
181         Undocument Werner and Ted as groff maintainers.
182
183         * README:
184         * doc/pic.ms:
185         * src/roff/grog/grog.pl:
186         * src/roff/nroff/nroff.sh: Werner (and Ted) retired from the
187         role some time ago and Bertrand Garrigues has stepped up; see
188         https://lists.gnu.org/archive/html/groff/2017-09/msg00048.html.
189         I'll let him document his maintainer status as and where he
190         prefers.
191
192 2018-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>
193
194         Stop spelling "Unix" as "UNIX".
195
196         Per AT&T Bell Labs veterans Doug McIlroy and Meg McRoberts,
197         spelling "Unix" in full caps was a contrivance insisted upon by
198         AT&T lawyers, and not a practice used in the Unix manuals
199         themselves or the Bell Labs Technical Journal.  See
200           https://lists.gnu.org/archive/html/groff/2015-01/msg00026.html
201         and
202           https://lists.gnu.org/archive/html/groff/2015-01/msg00029.html
203         for support.
204
205         There are instances I did _not_ change; they may require further
206         review.
207                 ChangeLog.*
208                 NEWS
209                         One reference relevant to mdoc; see below.
210                 doc/meintro{,_fr}.me
211                         These documents also give the small caps
212                         treatment to groff, troff, and nroff, suggesting
213                         a separate changeset.
214                 src/preproc/pic/pic.ypp
215                         Contains a comment referring to "Compaq Tru64
216                         UNIX"; not worth the candle IMO.
217                 tmac/s.tmac:
218                         {ms macro package} Leaving UX macro definition
219                         alone until/unless it can be established that
220                         this doesn't change the rendering of historical
221                         documents in an objectionable way.
222                 tmac/doc-syms-u:
223                 tmac/doc-old.tmac-u:
224                 tmac/doc-common-u:
225                 tmac/groff_mdoc.7.man:
226                         {mdoc macro package} Similar; mdoc defines many
227                         strings that spit out "UNIX" (albeit not with a
228                         font size change).
229
230         * MORE.STUFF:
231         * NEWS:
232         * README.MinGW:
233         * contrib/groffer/README:
234         * contrib/pdfmark/pdfmark.ms:
235         * contrib/pdfmark/pdfroff.1.man:
236         * doc/groff.texi:
237         * doc/webpage.ms:
238         * m4/groff.m4:
239         * man/groff_diff.7.man:
240         * man/groff_tmac.5.man:
241         * man/roff.7.man:
242         * src/preproc/html/pre-html.cpp:
243         * src/roff/troff/troff.1.man: Change "UNIX" to "Unix",
244         discarding markup as necessary.
245
246 2018-11-10  G. Branden Robinson <g.branden.robinson@gmail.com>
247
248         man pages: Escape interpolated Make variables.
249
250         * makevarescape.sed: Transform - to \-, ~ to \(ti, and so forth,
251         {with an extra layer of backslashes--see below} so that Makefile
252         variables containing ASCII characters that do not represent
253         themselves literally in *roff (see groff_char(7)) are correctly
254         interpolated into man page text.
255
256         * Makefile.am (.man): Transform Makefile variables with the
257         above script when interpolating them into man page text.
258
259         Note that while the script, combined with this target, will
260         transform ` to \(ga, including grave accents in Makefile
261         variables is likely to fail when the shell lexes the argument to
262         echo within the old-style command substitution ``.  Testing
263         shows that grave accents should work[1] if POSIX-style command
264         substitution $() is done instead.  However, $() is less
265         portable.  (Triple-escaping grave accents \\\` inside the
266         interpolated Makefile variable will work, but is not attempted
267         at present.)
268
269         Note also that the amount of backslash-escaping in the sed
270         script is excessive (and incorrect) for normal purposes, but
271         required here because a command substitution is being nested
272         inside yet another invocation of sed.
273
274         {1} For this target; no assurances about the good behavior of
275         unusual characters in Makefile variables in other aspects of the
276         groff build are offered.
277
278         Fixes <https://savannah.gnu.org/bugs/index.php?55004>.
279
280 2018-11-06  G. Branden Robinson <g.branden.robinson@gmail.com>
281
282         * src/utils/lookbib/lookbib.cpp: Doesn't make much sense to mark
283         Version_string as a C extern if you're just going to hide it in
284         a throwaway scope again.  Remove braces, exposing it.
285
286         "lookbib -v" now reports a version number, instead of "(null)".
287
288         Fixes <https://savannah.gnu.org/bugs/index.php?54972>.
289
290 2018-11-06  G. Branden Robinson <g.branden.robinson@gmail.com>
291
292         * src/libs/libgroff/error.cpp (do_error_with_file_and_line):
293         If:
294           a program name is known;
295         but
296           no file is being processed or the line number is negative,
297         then there was no space between the program name (with colon),
298         and the succeeding diagnostic message.
299
300         Example: lookbib:fatal error: no databases
301
302         Fixes <https://savannah.gnu.org/bugs/index.php?54971>.
303
304 2018-11-05  G. Branden Robinson <g.branden.robinson@gmail.com>
305
306         Make strip.sed operate only if given permission.
307
308         * tmac/strip.sed: Do nothing whatsoever to any input file that
309         lacks a line matching "%beginstrip%".  This implements a
310         contract between the macro file writer and the stripper script
311         {roff input is not parseable with crude weaponry like regular
312         expressions}.  In practice, most of the changes performed by the
313         script were already in a block enforcing this.  My changes:
314         - Stop unconditionally inserting a roff comment noting the
315           reader of stripping at line 2.  Instead, replace the line
316           matching "%beginstrip%" with this comment if and only if it
317           is present.
318         - Stop deleting lines containing only the empty request if
319           they occur before "%beginstrip%".
320         - Tweak the wording of the roff comment.
321         - Remove comment within the sed script; see
322           https://lists.gnu.org/archive/html/groff/2017-11/msg00057.html
323           and the sed section of "Limitations of Usual Tools" in the
324           GNU Autoconf Manual.
325
326         Invalidates <https://savannah.gnu.org/bugs/index.php?53784>.
327
328 2018-11-04  G. Branden Robinson <g.branden.robinson@gmail.com>
329
330         * tmac/an-old.tmac: When emitting diagnostics, report the name
331         of the macro file complaining, and the name and line number of
332         the input file at the time of trouble.  Thanks to Bjarni Ingi
333         Gislason for part of the patch.
334
335         Fixes <https://savannah.gnu.org/bugs/?54175> and continues the
336         long process of fixing <https://savannah.gnu.org/bugs/?52463>.
337
338 2018-11-04  G. Branden Robinson <g.branden.robinson@gmail.com>
339
340         * doc/meintro_fr.me: Add encoding hint to top of file so preconv
341         works correctly even if the build environment's encoding is not
342         UTF-8.  Adapted from Bjarni Ingi Gislason's patch.  Also add
343         long-form Emacs coding declaration at end of file.  Vim's
344         auto-detection seems to be fine, so did not update its modeline.
345
346         Fixes <https://savannah.gnu.org/bugs/index.php?54530>.
347
348 2018-11-04  G. Branden Robinson <g.branden.robinson@gmail.com>
349
350         * tmac/groff_man.7.man: Reorganize and largely rewrite to more
351         precisely document the macro package's behavior and to be more
352         helpful and accessible to man page writers who may never read
353         any other groff documentation.
354
355 2018-10-25  G. Branden Robinson <g.branden.robinson@gmail.com>
356
357         Clarify meaning of \p escape.  Also make more explicit that line
358         adjustment for the .brp request and \p escape depends on the
359         current adjustment mode.
360
361         * doc/groff.texi: Clarify that \p has effect at the next word
362         boundary.  Thanks to Dave <barx> for pointing out the issue and
363         providing elucidating language.
364
365         * man/groff.7.man: Similar, but terser.
366
367         Fixes https://savannah.gnu.org/bugs/index.php?54894.
368
369 2018-10-04  Deri James  <deri@chuzzlewit.myzen.co.uk>
370
371         Savannah bug # 54812
372
373         * font/devpdf/util/BuildFoundries.pl: If a font is not found
374         report list of paths searched.
375
376         Fix https://savannah.gnu.org/bugs/?54812
377
378 2018-10-10  Bertrand Garrigues <bertrand.garrigues@laposte.net>
379
380         Update 'gnulib' submodule.
381
382         * gnulib: now points on dce8759f0f0236a860a3e68b63c5e99cc6f168f9
383         from 'gnulib' repository.  This fixes build error with glibc 2.28
384         (see https://bugzilla.redhat.com/show_bug.cgi?id=1595702).
385
386 2018-10-04  Deri James  <deri@chuzzlewit.myzen.co.uk>
387
388         Savannah bug # 54779
389
390         * font/devpdf/Foundry.in: Recent ghostscript changed name
391         used for embedding groff font HNBI
392
393         Fix https://savannah.gnu.org/bugs/?54779
394
395 2018-08-27  Ingo Schwarze  <schwarze@openbsd.org>
396
397         * tmac/groff_www.7.man: Do not use .URL, .MTO, .FTP.
398
399 2018-08-21  Ingo Schwarze  <schwarze@openbsd.org>
400
401         Improve terminal rendering for a few special characters:
402
403         * tmac/tty.tmac: add \[.j] (dotless j)
404         * tmac/tty-char.tmac: for \[a.], fall back to "."
405         * tmac/tty-char.tmac: add playing card suits
406
407 2018-08-16  Ingo Schwarze  <schwarze@openbsd.org>
408
409         * src/preproc/preconv/preconv.1.man: add -D to the SYNOPSIS
410
411 2018-08-09  Ingo Schwarze  <schwarze@openbsd.org>
412
413         * Makefile.am: correctly calculate MAJOR_VERSION etc.
414
415 2018-06-19  Deri James  <deri@chuzzlewit.myzen.co.uk>
416
417         Fixes to gropdf
418
419         * src/devices/gropdf/gropdf.pl: Make default line width 0.4pt
420         to match grops. Use 'S' operator (stroke) rather than 's' (close
421         and stroke) when Dl command received. Improve switching between
422         text and graphic modes.
423
424 2018-07-01 Bertrand Garrigues <bertrand.garrigues@laposte.net>
425
426         [me] paragraph with umlaut incorrectly rendered
427
428         * tmac/e.tmac-u: workaround done by Werner LEMBERG <wl@gnu.org>.
429
430         Fix https://savannah.gnu.org/bugs/?42191
431
432 2018-06-19  Deri James  <deri@chuzzlewit.myzen.co.uk>
433
434         Add gropdf new features to NEWS file.
435
436         * NEWS: new features.
437
438 2018-05-29  Werner LEMBERG  <wl@gnu.org>
439
440         [dvi] Fix glyph map for `cmitt10'.
441
442         Problem reported by Pali Rohár <pali.rohar@gmail.com>.
443
444           http://lists.gnu.org/archive/html/groff/2018-05/msg00088.html
445
446         * font/devdvi/texitt.map: New file.  This is identical to
447         `textt.map' except the dollar glyph, which gets replaced by the
448         pound glyph.
449
450         * font/devdvi/generate/Makefile (CWI): Use `texitt.map'.
451
452         * font/devdvi/CWI: Regenerated.
453
454 2018-05-07  G. Branden Robinson <g.branden.robinson@gmail.com>
455
456         Improve diagnostics on bad hyphenation requests.
457
458         * src/roff/troff/env.cpp: Add new HYPHEN_* symbols to anonymous
459         enum.
460
461         * src/roff/troff/env.cpp (hyphenate_request):
462           - Warn about hyphenation request values that are completely
463             out of range.
464           - Report bad hyphenation request value in diagnostic messages.
465
466 2018-04-28  G. Branden Robinson <g.branden.robinson@gmail.com>
467
468         grap2graph: Parallelize changes with pic2graph.
469
470         * contrib/grap2graph/grap2graph.sh:
471           - Refactor temp directory handling.
472           - Handle embedded whitespace in temp dir.
473           - Adapt to old convert(1) programs.
474
475         * contrib/grap2graph/grap2graph.1.man: Make editorial/style
476         changes and minor corrections.
477
478 2018-04-26  G. Branden Robinson <g.branden.robinson@gmail.com>
479
480         eqn2graph: Remove -unsafe option.
481
482         * contrib/eqn2graph/eqn2graph.sh: Unrecognize "-unsafe" option
483         and eliminate $groff_opts variable.  As far as I can tell, this
484         option had no effect because (1) pic is not run on the input
485         stream (no -p argument to groff); (2) eqn doesn't support
486         "shelling out" as pic does; and (3) there is no way to embed
487         *roff requests inside a sequence of eqn commands.  If I'm wrong,
488         let me know.
489
490         * contrib/eqn2graph/eqn2graph.1.man: Undocument "-unsafe"
491         option.
492
493 2018-04-26  G. Branden Robinson <g.branden.robinson@gmail.com>
494
495         eqn2graph: Parallelize changes with pic2graph.
496
497         * contrib/eqn2graph/eqn2graph.sh:
498           - Refactor temp directory handling.
499           - Handle embedded whitespace in temp dir.
500           - Adapt to old convert(1) programs.
501
502         * contrib/eqn2graph/eqn2graph.1.man: Make editorial/style
503         changes and minor corrections.
504
505 2018-04-25  G. Branden Robinson <g.branden.robinson@gmail.com>
506
507         pic2graph: Refactor temp directory handling.
508
509         * contrib/pic2graph/pic2graph.sh: Issue a diagnostic and give up
510         if the user's desired temporary directory does not exist.  Also
511         document the Bashism $RANDOM and work around its absence.
512
513 2018-04-25  G. Branden Robinson <g.branden.robinson@gmail.com>
514
515         pic2graph: Handle embedded whitespace in temp dir.
516
517         * contrib/pic2graph/pic2graph.sh: Quote shell variables having
518         to do with the temporary directory's location; without
519         quotation, temporary directory names with embedded whitespace
520         are wrongly handled.
521
522 2018-04-24  G. Branden Robinson <g.branden.robinson@gmail.com>
523
524         * doc/groff.texi: Bump end of copyright range to 2018.  Werner
525         added substantial text this year about hyphenation.
526
527 2018-04-24  G. Branden Robinson <g.branden.robinson@gmail.com>
528
529         Set version to 1.22.4 in the few places that hard-code it.
530
531         * arch/mingw/grap2graph.cmd:
532         * contrib/groffer/version.sh:
533         * doc/groff.texi:
534         * doc/webpage.ms: Bump from 1.22.3 to 1.22.4.
535
536 2018-04-24  Deri James  <deri@chuzzlewit.myzen.co.uk>
537
538         Restrict scaling factors to 3dp and better handle CR/LF in import.
539
540         * src/devices/gropdf/gropdf.pl: Restrict scaling factors to 3dp
541         rounded. If pdf imported with pdfpic uses CR/LF line termination
542         ibclude XObject Image, length of stream out by 1.
543
544 2018-04-23  G. Branden Robinson <g.branden.robinson@gmail.com>
545
546         man pages: Shorten version footer.
547
548         * **/*.man: Replace "Groff Version" with "groff" in the fourth
549         argument to .TH in all man pages.  This suffices to keep that
550         part of the footer from overrunning the date, even in dirty
551         trees on 80-column terminals.
552
553         Fixes https://savannah.gnu.org/bugs/index.php?53721.
554
555 2018-04-23  G. Branden Robinson <g.branden.robinson@gmail.com>
556
557         pic2graph(1): Make editorial/style changes and minor
558         corrections.
559
560 2018-04-23  G. Branden Robinson <g.branden.robinson@gmail.com>
561
562         pic2graph: Adapt to old convert(1) programs.
563
564         * contrib/pic2graph/pic2graph.sh: Grep convert's -help output
565         for the string "-trim".  If it is not found, the old method for
566         image trimming documented in pic2graph's man page, "-crop 0x0",
567         is used.  I am motivated by the fact that the warning about this
568         in our man page is very old (10 years or more), and I wanted to
569         get rid of it.
570
571         pic2graph emits a warning when performing this fallback, in the
572         event the ImageMagick and/or GraphicsMagick teams surprise the
573         world again.
574
575         * contrib/pic2graph/pic2graph.1.man: Remove BUGS section, the
576         entire contents of which was dedicated to convert's change in
577         behavior.
578
579 2018-04-22  G. Branden Robinson <g.branden.robinson@gmail.com>
580
581         groff_man(7): Expand command synopsis section.
582
583         This section now explains in detail how to write (and read) a
584         command synopsis.
585
586 2018-04-12  Deri James  <deri@chuzzlewit.myzen.co.uk>
587
588         Make PDFPIC behave the same whether -Tps or -Tpdf used.
589
590         Previously the -Tpdf version did not cause a break nor position
591         to the line beneath the imported picture, whilst the -Tps
592         version did.
593
594         * tmac/pdfpic.tmac: Corrected behavior.
595
596         * NEWS: Explain the change of behaviour and how to reinstate
597         the previous behaviour using register PDFPIC_NOSPACE or the
598         environment variable GROFF_PDFPIC_NOSPACE.
599
600 2018-03-27  Bertrand Garrigues <bertrand.garrigues@laposte.net>
601
602         Define a short version for data installation dir name.
603
604         This is the full version stripped of any characters after the
605         third digit.  Used for installation of font, macro and various
606         data (by default in /usr/local/share/groff).  The various programs
607         and scripts still use the full version from gnulib script
608         'git-version-gen' .
609
610         * configure.ac (SHORT_VERSION): short version definition.
611
612         * Makefile.am: use 'SHORT_VERSION' for 'docdir' and 'datasubdir'
613         definitions.
614
615 2018-03-11  Bertrand Garrigues <bertrand.garrigues@laposte.net>
616
617         Remove doc/automake_migration_tests.txt
618
619         Automake migration was completed long time ago and this file is no
620         longer needed.
621
622 2018-03-11  Colin Watson  <cjwatson@debian.org>
623
624         Switch to Gnulib implementation of snprintf
625
626         This is more actively maintained, straightforward to integrate now
627         that we have Gnulib integration, and simplifies groff's overall
628         licensing.
629
630         * bootstrap.conf (gnulib_modules): Add `snprintf' and `vsnprintf'.
631         * configure.ac: Remove local checks for `snprintf' and `vsnprintf'.
632         * Makefile.am: Remove various comments related to local checks for
633         `snprintf' and `vsnprintf'.
634         * src/include/lib.h: Remove declarations of `snprintf' and
635         `vsnprintf'.
636         * src/libs/libgroff/libgroff.am (EXTRA_DIST): Remove
637         `src/libs/snprintf/snprintf.c'.
638         * src/libs/snprintf/snprintf.c: Remove.
639
640         * LICENSES: Remove section about `src/libs/snprintf/snprintf.c'.
641         * MANIFEST: Remove entry for `src/libs/libxutil'.
642
643 2018-03-09  Deri James  <deri@chuzzlewit.myzen.co.uk>
644
645         PDF must not open in presentation mode.
646
647         * src/devices/gropdf/gropdf.pl: When GROPDF_NOSLIDE=1
648         passed do not set pdf to presentation mode.
649
650 2018-03-09  Deri James  <deri@chuzzlewit.myzen.co.uk>
651
652         Allow a "." to signify a missing parameter in .pdftransition
653
654         * src/devices/gropdf/gropdf.1.man: Explain the .pdftransition
655         macro (and underlying '\X' command) accepts a "." to specify
656         a parameter retains its current value.
657
658 2018-03-09  Colin Watson  <cjwatson@debian.org>
659
660         man pages: fix incorrect cross-referenced section
661
662         * man/roff.7.man (FILE NAME EXTENSIONS): Correct reference to
663         groff_filenames(5).
664
665 2018-03-09  Colin Watson  <cjwatson@debian.org>
666
667         mdate.sh: rewrite in Perl
668
669         groff already requires perl to build.  This version is much shorter
670         and easier to understand than the shell/awk version: we don't have
671         to worry about convincing ls to produce output that we can parse,
672         and we don't have to play games with the way that the same field may
673         contain either the year or the time depending on how old the file
674         is.
675
676         While I'm at it, this version also adds `SOURCE_DATE_EPOCH' support
677         for reproducible builds: when `SOURCE_DATE_EPOCH' is set, files are
678         considered to have been last modified at that time.
679
680         * mdate.sh: Rewrite in Perl, moving to ...
681         * mdate.pl: ... this new file.
682         * Makefile.am (EXTRA_DIST, .man): Update references.
683
684 2018-03-09  Colin Watson  <cjwatson@debian.org>
685
686         Remove #! lines from non-executable files
687
688         These are always invoked by the build system (either in-tree or via
689         the installed Makefiles) using the necessary program, so the #!
690         lines were unnecessary.  They were harmless except that they caused
691         Debian's `lintian` tool to complain about installed non-executable
692         scripts.
693
694         * font/devlj4/generate/special.awk: Remove #! line.
695         * font/devps/generate/symbol.sed: Likewise.
696
697 2018-03-09  Colin Watson  <cjwatson@debian.org>
698
699         doc: stop generating W3C validation icons
700
701         Debian's `lintian' tool says:
702
703           These badges may be displayed to tell readers that care has been
704           taken to make a page compliant with W3C standards.  Unfortunately,
705           downloading the image from www.w3.org might expose the reader's IP
706           address to potential tracking.
707
708         I think the risk is a small one, but I also don't think the badges
709         are especially valuable, so it doesn't seem like much to ask to just
710         drop them at least for groff's own documentation.
711
712         * doc/doc.am (.ms.html, doc/pic.html): Remove `-P-V' option.
713
714 2018-03-01  Deri James  <deri@chuzzlewit.myzen.co.uk>
715
716         Place pdf in presentation mode if new commands used.
717
718         * src/devices/gropdf/gropdf: The new commands which
719         control page transitions should result in the pdf being
720         opened in presentation mode.
721
722 2018-03-02  Werner LEMBERG  <wl@gnu.org>
723
724         Hyphenation exceptions in pattern files now obey `.hy' (#53196).
725
726         * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Mark
727         `\hyphenation' entries with a trailing space.
728         (hyphen_trie::insert_hyphenation): Updated.
729         (hyphenate): Make `\hyphenation' entries obey `.hy' restrictions.
730
731         * doc/groff.texi (.hy): Updated.
732
733 2018-03-01  Werner LEMBERG  <wl@gnu.org>
734
735         Adjust `.hy' values.
736
737         In most cases hyphenation constraints were too strict.  The now
738         selected values reflect the parameters used for the generation of
739         the (TeX) hyphenation patterns.
740
741         * tmac/an-old.tmac, tmac/cs.tmac, tmac/de.tmac, tmac/doc-common-u,
742         tmac/e.tmac-u, tmac/fr.tmac, tmac/s.tmac, tmac/sv.tmac: Fix `.hy',
743         `\n[HY]', and `\n[doc-hyphen-flags]' values.
744
745         * doc/groff.texi, tmac/groff_man.7.man, tmac/groff_ms.7.man, NEWS:
746         Updated.
747
748 2018-03-01  Werner LEMBERG  <wl@gnu.org>
749
750         Fix some problems related to hyphenation.
751
752         Introduce values 16 (allow hyphenation before last character) and 32
753         (allow hyphenation after first character) to the `hy' request
754         (#48904).
755
756         Really fix problem reported in issue #48904.
757
758         Fix #53243, which is a regression introduced in 2016-09-09.
759
760         * src/roff/troff/env.cpp (HYPHEN_LAST_CHAR, HYPHEN_FIRST_CHAR): New
761         enumeration values.
762         (hyphenate_request): Check for contradicting values.
763         (environment::hyphenate_line): Fix minimum word length considered
764         for hyphenation.
765         (environment::print_env): Updated.
766         (hyphenate): Fix and extend logic.  The original patch to handle
767         #48904 was bad.
768
769         * doc/groff.texi, man/groff_diff.7.man, NEWS: Updated.
770
771 2018-03-01  Deri James  <deri@chuzzlewit.myzen.co.uk>
772
773         Add page transitions to pdfs created with gropdf.
774
775         * src/devices/gropdf.pl: Handle new '\X' commands to support page
776         transitions in presentation mode pdfs. These commands are a subset
777         of the commands used in present.tmac allowing slideshows to be
778         directly produced from -Tpdf without using postscript -> gpresent.pl
779         -> ghostscript.
780
781         * tmac/pdf.tmac: New macros '.pdfpause' and '.pdftransition' to
782         support page transitions.
783
784         * src/devices/gropdf.1.man: Document the '\X' commands supported.
785
786 2018-03-01  Werner LEMBERG  <wl@gnu.org>
787
788         Use $(AM_V_GEN) and $(AM_V_P) to silence even more file generation.
789
790         * font/devpdf/devpdf.am (BuildFoundries, DESC, Foundry,
791         build_font_files): Do it.
792
793 2018-02-28  Werner LEMBERG  <wl@gnu.org>
794
795         Use $(GROFF_V) to silence documentation creation.
796
797         * Makefile.am (GROFF_V): Define.
798
799         * doc/doc.am (.me.txt, .me.ps, .ms.html, .ms.txt, .ms.ps, pic.html,
800         webpage.html): Use $(GROFF_V).
801
802 2018-02-28  Werner LEMBERG  <wl@gnu.org>
803
804         Use $(AM_V_GEN) to silence file generation.
805
806         * Makefile.am (.man), contrib/eqn2graph/eqn2graph.am (eqn2graph),
807         contrib/grap2graph/grap2graph.am (grap2graph), contrib/pic2graph.am
808         (pic2graph), src/devices/gropdf/gropdf.am (gropdf, pdfmom),
809         src/preproc/eqn/eqn.am (neqn), src/roff/grog/grog.am (grog),
810         src/roff/nroff/nroff.am (nroff), src/utils/afmtodit/afmtodit.am
811         (afmtodit), font/devascii/devascii.am (DEVASCIIFONTSFILES, DESC),
812         font/devcp1047/devcp1047.am (DEVCP1047FONTSFILES, DESC),
813         font/devhtml/devhtml.am (DEVHTMLFONTSFILES, DESC),
814         font/devlatin1/devlatin1.am (DEVLATIN1FONTSFILES, DESC),
815         font/devutf8/devutf8.am (DEVUTF8FONTSFILES, DESC),
816         font/devps/devps.am (DESC, prologue, zapfdr.pfa, symbolsl.pfa),
817         font/devdvi/devdvi.am (DESC), font/devlbp/devlbp.am (DESC),
818         font/devlj4/devlj4.am (DESC): Do it.
819
820 2018-02-28  Werner LEMBERG  <wl@gnu.org>
821
822         * configure.ac: Activate silent Makefile rules.
823
824 2018-02-28  Werner LEMBERG  <wl@gnu.org>
825
826         Minor compilation warnings.
827
828         * src/devices/xditview/draw.c: Don't declare `MaxFontPosition'.
829
830         * src/roff/troff/input.cpp (psbb_locator::context_args): Avoid
831         shadowing of `buf'.
832
833 2018-02-28  Werner LEMBERG  <wl@gnu.org>
834
835         * src/roff/troff/env.cpp: s/HYPHEN_/HYPHEN_NOT/ for clarification.
836
837 2018-02-26  Bertrand Garrigues <bertrand.garrigues@laposte.net>
838
839         Update installation doc.
840
841         * INSTALL.REPO: mention that 'pkg-config' is a dependency.
842
843         * INSTALL.extra: add dependency 'makeinfo' and optional
844         dependencies 'pkg-config' and 'uchardet'.
845
846         * TESTS: move to doc/automake_migration_tests.txt
847
848         * INSTALL.gen: remove, this file is redundant with the 'INSTALL'
849         file from gnulib.
850
851 2018-02-02  Bertrand Garrigues <bertrand.garrigues@laposte.net>
852
853         Update 'gnulib' submodule.
854
855         * gnulib: now points on cf56f8f618c48cfadd2499ced58574633d12f129
856         from 'gnulib' repository.
857
858 2018-02-02  Bertrand Garrigues <bertrand.garrigues@laposte.net>
859
860         Use gnulib script 'git-version-gen' to define groff's version
861
862         * bootstrap.conf: add 'git-version-gen' script.
863
864         * configure.ac: suppress 'GROFF_VERSION_STRING' and replace it by
865         the script.  If the current commit corresponds to a tag, then the
866         version is simply the tag name.  Otherwise the version has the
867         format: <tag>-<nb_commits_from_latest_tag>-<commit sha1>.  The
868         version is now stored in '.version'.
869
870         * REVISION: removed.
871
872         * VERSION: removed.
873
874         * Makefile.am: define 'MAJOR_VERSION', 'MINOR_VERSION' and
875         'REVISION'.
876
877         * src/libs/libgroff/libgroff.am: use 'MAJOR_VERSION',
878         'MINOR_VERSION' and 'REVISION', add dependency on '.version'.
879
880         * src/roff/troff/troff.am: ditto.
881
882         * contrib/mom/om.tmac-u (short_revision): new string that extracts
883         the first digit of the revision, to be used when checking groff
884         version.
885
886 2018-01-18  Deri James  <deri@chuzzlewit.myzen.co.uk>
887
888         On reflection using an array for Filter is not optimal.
889
890         * src/devices/gropdf.pl: revert single line from commit
891         18fd1fd0bf05eb9a5ba0d2be1a655a044662a8bf.
892
893 2018-01-17  Deri James  <deri@chuzzlewit.myzen.co.uk>
894
895         All values should be 3 decimals
896
897         * src/devices/gropdf.pl: for values approaching zero values
898         in the for 0.nnnnnnE-nn could be written, not valid syntax for
899         PDF. Make all values rounded to 3 decimals, becomes 0.000.
900
901         Also changed stream Filter dictionary entry to an array.
902
903 2018-01-14  Bertrand Garrigues <bertrand.garrigues@laposte.net>
904
905         Fix tarball generation ('make distcheck'  failed)
906
907         * src/devices/xditview/xditview.am: add .h created by commit
908         382ab4af269a1dea422c8f9bb5c67a065d026deb to EXTRA_DIST
909
910         * contrib/mm/mm.am: restore distribution of files removed by
911         commit 445bf58765b759546e238a235651eb0bf5b34325.
912
913 2018-01-13  Ingo Schwarze <schwarze@openbsd.org>
914
915         Makefile.am: Re-add -F and -M flags needed to build out of src.
916
917 2018-01-13  Ingo Schwarze <schwarze@openbsd.org>
918
919         [mdoc]: rewrite the implementation of the .Lk macro
920
921         * tmac/doc.tmac-u (Lk): Rewrite.
922
923         The old implementation was written before the big mdoc
924         rewrite for groff-1.17.  In contrast to most other macros,
925         it was never updated to use the new techniques.
926         This new implementation makes .Lk callable, makes trailing
927         punctuation work in the normal way, and makes the style of
928         the implementation consistent with other macros.
929
930         It also removes the feature of automatically switching
931         between in-line and displayed rendering depending on the
932         length of the link because that was inconsistent across
933         output modes and counter-intuitive, resulting in ugly
934         output for many existing real-world manual pages.
935         It now always renders in-line.  Use .D1 Lk where desired.
936
937         Merging http://savannah.gnu.org/bugs/?52849
938         OK wl@gnu, jmc@openbsd, bentley@openbsd
939
940 2017-12-14  G. Branden Robinson <g.branden.robinson@gmail.com>
941
942         man pages: Comment compatibility-mode switching.
943
944         The '.do' and '.cp' requests (both groffisms) are some of the
945         more obscure features of groff's own man page corpus.
946         Consequently, they get cargo-culted around, within and outside
947         groff.  Thanks to Werner Lemberg for the discussion, which
948         revealed (to me) that groff ships with compatibility mode on by
949         default on Solaris 10 and 11.
950
951         Fix bug https://savannah.gnu.org/bugs/?52444.
952
953 2017-11-30  G. Branden Robinson <g.branden.robinson@gmail.com>
954
955         * src/roff/troff/input.cpp:
956         Make writers to stderr identify themselves.
957
958         * font/devpdf/util/BuildFoundries.pl:
959         Same; also refactor all diagnostics into Notice(), Warn(), and
960         Die() functions, which delegate their common message-printing to
961         Msg().
962
963         Fix part of bug https://savannah.gnu.org/bugs/?52463.
964
965 2017-11-21  G. Branden Robinson <g.branden.robinson@gmail.com>
966
967         man pages: Fix compatibility-mode problems.
968
969         * contrib/gperl/gperl.1.man: Use idiomatic .BI macro instead of
970           leading an input line with a font escape followed by a dot,
971           the interpretation of which differs based on compatibility
972           mode.
973
974         * src/preproc/soelim/soelim.1.man: Make .mso request only after
975           compatibility mode is turned off.
976
977 2017-11-19  G. Branden Robinson <g.branden.robinson@gmail.com>
978
979         * Makefile.am: Protect arguments to "tr" from globbing.
980
981         Prevents errors from tr during man page generation and possible
982         incorrect program prefixing in those pages if, for example, some
983         doofus has directories called "A", "B", ...  hanging around in
984         the build tree.
985
986 2017-11-18  G. Branden Robinson <g.branden.robinson@gmail.com>
987
988         * tmac/groff_mdoc.7.man: Use unstripped symbol names.
989
990         Fix bug https://savannah.gnu.org/bugs/?52442.
991
992 2017-11-18  G. Branden Robinson <g.branden.robinson@gmail.com>
993
994         * src/include/.gitignore: Ignore config.hin~ files.
995
996 2017-11-18  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
997
998         test-groff.in: Enable backtraces and all warnings by default.
999
1000         Fix bug https://savannah.gnu.org/bugs/?51482.
1001
1002 2017-11-18  G. Branden Robinson <g.branden.robinson@gmail.com>
1003
1004         * tmac/**: Migrate macro package diagnostics away from `quotes'.
1005
1006 2017-11-15  G. Branden Robinson <g.branden.robinson@gmail.com>
1007
1008         * src/libs/libgroff/new.cpp: Quieten compiler warning.
1009
1010         Define sized version of overloaded delete operator.  Duplicate
1011         code from unsized delete operator because simply calling through
1012         to it provokes another warning, -Wdelete-incomplete.
1013
1014         Fix rest of https://savannah.gnu.org/bugs/?52335.
1015
1016 2017-11-12  Deri James  <deri@chuzzlewit.myzen.co.uk>
1017
1018         Better handle glyphs in font positions > 255
1019
1020         * src/devices/gropdf/gropdf.pl: Improve handling
1021         when glyphs above 255 are used.
1022
1023 2017-11-12  Deri James  <deri@chuzzlewit.myzen.co.uk>
1024
1025         gropdf should load ALL 'download' files
1026
1027         * src/devices/gropdf/gropdf.pl: only the first 'download' file
1028         found was loaded, it should load all found.
1029
1030 2017-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>
1031
1032         * src/libs/libxutil/DviChar.c: Initialize "buckets" field of
1033         structs.
1034
1035         Resolves missing-field-initializers warnings.
1036
1037 2017-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>
1038
1039         * tmac/strip.sed: Stop rewriting symbol names.  A substitution
1040         originally intended to strip the "doc-" prefix off of mdoc macro
1041         and string names unintentionally caught some mom stuff.
1042         Harmlessly in this instance, but with potentially surprising
1043         future effects.  Remove (only) this substitution per discussion
1044         in
1045         https://lists.gnu.org/archive/html/groff/2017-11/msg00055.html
1046         et sequentia.
1047
1048 2017-11-11  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1049
1050         * src/devices/grolbp/lbp.cpp (lbp_printer::setfillmode): Address
1051           misleading indentation warning.
1052
1053         * src/roff/troff/mtsm.cpp (mtsm::push_state, mtsm::pop_state):
1054           Same.  Only flush standard error if we just wrote to it,
1055           instead of unconditionally.
1056
1057         Fix bug https://savannah.gnu.org/bugs/?51483.
1058
1059 2017-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>
1060
1061         * src/utils/xtotroff/xtotroff.c: Mark private function static.
1062
1063 2017-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>
1064
1065         * src/libs/libxutil/xmalloc.c: Quieten gcc warning.  Mollify
1066         -Wmissing-prototypes for xmalloc() in single-function file.
1067
1068 2017-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>
1069
1070         gxditview: Migrate extern declarations to headers.
1071
1072         Also mark some private functions as static.
1073
1074 2017-11-11  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1075
1076         src: Declare function protypes where necessary.
1077
1078         Fix bug https://savannah.gnu.org/bugs/?51513.
1079
1080 2017-11-10  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1081
1082         mom: Abort early with diagnostic in compatibility mode.
1083
1084         Fix bug https://savannah.gnu.org/bugs/?52333.
1085
1086 2017-11-10  G. Branden Robinson <g.branden.robinson@gmail.com>
1087
1088         * contrib/**: Migrate diagnostics away from `quotes'.
1089
1090 2017-11-09  G. Branden Robinson <g.branden.robinson@gmail.com>
1091
1092         * src/**: Migrate diagnostics away from `these quotes'.
1093
1094         Fix bug https://savannah.gnu.org/bugs/?52374.
1095
1096 2017-11-07  G. Branden Robinson <g.branden.robinson@gmail.com>
1097
1098         * tmac/strip.sed: Remove nilpotent capture from address.
1099
1100 2017-11-05  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1101
1102         `preconv': fix usage of lib `uchardet'.
1103
1104         * src/preproc/preconv/preconv.cpp (detect_file_encoding): Fix
1105         usage of uchardet 0.0.1, which may fail but return an empty string
1106         instead of a null pointer, and fix some incorrect error
1107         managements that might cause memory leaks.
1108
1109 2017-11-05  G. Branden Robinson <g.branden.robinson@gmail.com>
1110
1111         * font/devpdf/devpdf.am: Silence warning from grep during clean.
1112
1113 2017-11-04  G. Branden Robinson <g.branden.robinson@gmail.com>
1114
1115         * Makefile.am: Drop unnecessary -F and -M flags from pdfmom
1116         call.
1117
1118 2017-11-02  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1119
1120         man/groff_diff.7.man: Correct the explanation of the request
1121         ".itc"--it was backwards.
1122
1123         Fix bug https://savannah.gnu.org/bugs/?51502.
1124
1125 2017-11-02  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1126
1127         test-groff.in: Recognize additional contrib tmacs.
1128
1129         Fix bug https://savannah.gnu.org/bugs/?51598.
1130
1131 2017-11-02  G. Branden Robinson <g.branden.robinson@gmail.com>
1132
1133         * Makefile.am: Force build to generate test-groff script.
1134
1135 2017-11-02  G. Branden Robinson <g.branden.robinson@gmail.com>
1136
1137         * font/devpdf/devpdf.am: Silence warning from grep during build.
1138
1139 2017-11-02  G. Branden Robinson <g.branden.robinson@gmail.com>
1140
1141         * doc/doc.am: Fix build of pic.html from clean tree.
1142
1143 2017-11-02  G. Branden Robinson <g.branden.robinson@gmail.com>
1144
1145         * m4/groff.m4: Kill whitespace in macro diagnostic.
1146
1147 2017-11-01  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1148
1149         src/roff/grog/subs.pl: Fix typo in usage message.
1150
1151         Fix bug https://savannah.gnu.org/bugs/?51540.
1152
1153 2017-10-28  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1154
1155         m.tmac: Fix some formatting and textual issues.
1156         * Protect full stops in strings \*[Letns!{1,2,10,11}].
1157         * Remove extraneous whitespace from string \*[Pg_type!1].
1158
1159         Fix bug https://savannah.gnu.org/bugs/?51610.
1160
1161 2017-10-22  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1162
1163         refer-mm.tmac: Protect full stop in abbreviation of "ed.".
1164
1165         Fix bug https://savannah.gnu.org/bugs/?51611.
1166
1167 2017-10-22  G. Branden Robinson <g.branden.robinson@gmail.com>
1168
1169         * src/preproc/html/pre-html.cpp: Fix grammar in usage message.
1170         When used attributively, e.g. as an adjectival phrase,
1171         "command-line" should be hyphenated.
1172
1173 2017-10-22  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1174
1175         pdfpic: Suppress warning if in compatibility mode.
1176
1177         Fix bug https://savannah.gnu.org/bugs/?51945.
1178
1179 2017-10-22  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1180
1181         www.tmac: Rename font 'C' to 'CR'; define 'CR'.
1182
1183         The font name 'C' ('CW') is not a part of groff's fonts.
1184
1185         Fix bug https://savannah.gnu.org/bugs/?51417.
1186         Also see https://savannah.gnu.org/bugs/?51426.
1187
1188 2017-10-04  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1189
1190         Fix build on MacOS X
1191
1192         See https://savannah.gnu.org/bugs/?49651
1193
1194 2017-09-11  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1195
1196         Build from git: Make `configure' fail if `yacc' is not found.
1197
1198         * m4/groff.m4 (GROFF_PROG_YACC): look for (in this order) `byacc',
1199         `bison -y', `yacc'.  Set `YACC' to `missing' is nothing is found
1200         and generate an error.  Don't generate an error if build is not
1201         done from git as tarball already distribute files generated by
1202         `yacc'.
1203
1204 2017-09-02  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1205
1206         Update `gnulib' submodule with latest version.
1207
1208         * gnulib: now points on 07a187be7f66d3ced66587405f18205971c762e9
1209         from `gnulib' repository.
1210
1211 2017-09-02  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1212
1213         Fix .gitignore files for in-source build.
1214
1215         Fix bug https://savannah.gnu.org/bugs/?51415.
1216
1217 2017-09-01  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1218
1219         Fix build on MacOS X
1220
1221         * Makefile.am: define `SED' command with LANG and LC_ALL set to C.
1222         * contrib/mm/mm.am: use it.
1223         * doc/doc.am: Ditto.
1224
1225         Fix bug https://savannah.gnu.org/bugs/?49649
1226
1227 2017-08-30  Colin Watson <cjwatson@debian.org>
1228
1229         `BuildFoundries' should not be installed.
1230
1231         * font/devpdf/devpdf.am: remove installation of generated script
1232         `BuildFoundries'.
1233
1234 2017-08-30  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1235
1236         pic2graph.1.man: Fix wrong macro for e-mail addresses.
1237
1238         Fix bug https://savannah.gnu.org/bugs/?51110.
1239
1240 2017-08-30  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1241
1242         groff_diff(7): Remove a repeated word.
1243
1244         Fix bug https://savannah.gnu.org/bugs/?51077.
1245
1246 2017-08-30  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1247
1248         groff_tmac(5): Fix double dot before request.
1249
1250         Fix bug https://savannah.gnu.org/bugs/?51070.
1251
1252 2017-08-28  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1253
1254         groff.texi: remove repeated words.
1255
1256         Fix bug https://savannah.gnu.org/bugs/?51046.
1257
1258 2017-08-28  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1259
1260         groff_man(7) manual page: Fix explanation of the ".itc" request.
1261
1262         See bug at https://savannah.gnu.org/bugs/?51043.
1263
1264 2017-08-28  Ingo Schwarze  <schwarze@usta.de>
1265
1266         groff_man(7) manual page: recommendations for escape sequences.
1267
1268         See bug at https://savannah.gnu.org/bugs/?51021.
1269
1270 2017-08-28  Ingo Schwarze  <schwarze@usta.de>
1271
1272         groff_char(7) manual: fix table "7-bit Character Codes"
1273
1274         See bug at https://savannah.gnu.org/bugs/?51020.
1275
1276 2017-08-28  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1277
1278         Fix troff.1 misleading definition of -w all.
1279
1280         See bug at https://savannah.gnu.org/bugs/?47784.  Suggested by Kaz
1281         Kylheku <kaz@kylheku.com>.
1282
1283 2017-08-25  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1284
1285         `preconv --version' crashes.
1286
1287         See bug at: https://savannah.gnu.org/bugs/?51587.
1288
1289         * src/preproc/preconv/preconv.cpp: Add a missing comma in the
1290         argument list of "printf".
1291
1292 2017-08-25  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1293
1294         Fix bug: `.itc' request breaks subsequent `.it' requests.
1295
1296         See bug at: https://savannah.gnu.org/bugs/?51376.  Using `.itc'
1297         lets all later uses of `.it' behave like `.itc', that is,
1298         interrupted text line ending with \c is not counted as a separate
1299         line.
1300
1301         * env.cpp: Restore input_trap state to normal when '.it' is
1302         called.
1303
1304 2017-08-25  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1305
1306         Fix a part of a virtual (pseudo) structure in "tty.tmac".
1307
1308         * tmac/tty.tmac: Fix warning:  ".../git/groff/tmac/tty.tmac:19:
1309         warning: unbalanced .el request"
1310
1311 2017-08-25  Ingo Schwarze  <schwarze@usta.de>
1312
1313         `tty-char.tmac': focus on meaning rather than graphical shape
1314
1315         * tmac/tty-char.tmac: add ASCII renderings for six missing
1316         mathematical symbols
1317
1318 2017-08-22  Ingo Schwarze  <schwarze@usta.de>
1319
1320         `tty-char.tmac': focus on meaning rather than graphical shape
1321
1322         * tmac/tty-char.tmac: Switch the policy from trying to imitate the
1323         characters' graphical shapes, which resulted in unintelligible
1324         renderings in many cases, to transliterations conveying the
1325         characters' meanings.  One benefit is making these characters
1326         usable for portable manual pages.
1327
1328 2017-08-21  Deri James  <deri@chuzzlewit.myzen.co.uk>
1329
1330         'gropdf' does not correctly load new ghostscript fonts
1331
1332         See bug at: https://savannah.gnu.org/bugs/?50989. Since ghostscript
1333         9.21 the fonts supplied have changed from .pfb to .pfa type (with a
1334         raw binary section). These failed to be properly loaded.
1335
1336         * src/devices/gropdf/gropdf: Changes to handle raw binary section in
1337         a .pfa type font.
1338
1339 2017-08-18  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1340
1341         `pdfmom' man page incorrectly displayed.
1342
1343         * src/devices/gropdf/pdfmom.1.man: Remove `]' character mistakenly
1344         added at the beginning of the file.
1345
1346 2017-08-18  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1347
1348         Incorrect font name for CBI in Foundry.in.
1349
1350 2017-08-15  Ingo Schwarze  <schwarze@usta.de>
1351
1352         Fix build if `configure' check for `fprintf-posix' fails.
1353
1354         See bug at: https://savannah.gnu.org/bugs/?51554.  If tests for
1355         posix compliance of fprintf from `gnulib_m4/fprintf-posix.m4'
1356         fail, a replacement function of `fprintf' is used.  Consequently,
1357         all executables that use this function must link against the
1358         gnulib (`libgnu.a').  The bug was introduced by commit
1359         fa41eeba06987a12bc0434f8b51896d4618a3997.
1360
1361         * src/devices/xditview/xditview.am
1362         * src/preproc/eqn/eqn.am
1363         * src/preproc/pic/pic.am
1364         * src/preproc/preconv/preconv.am
1365         * src/preproc/refer/refer.am
1366         * src/preproc/soelim/soelim.am
1367         * src/preproc/tbl/tbl.am
1368         * src/utils/addftinfo/addftinfo.am
1369         * src/utils/hpftodit/hpftodit.am
1370         * src/utils/indxbib/indxbib.am
1371         * src/utils/lkbib/lkbib.am
1372         * src/utils/lookbib/lookbib.am
1373         * src/utils/pfbtops/pfbtops.am
1374         * src/utils/tfmtodit/tfmtodit.am
1375         * src/utils/xtotroff/xtotroff.am: link against libgnu.a
1376
1377         * INSTALL.REPO: recommend the autoconf and automake versions used
1378         during automake migration rather than the minimum versions.
1379
1380 2017-08-04  Deri James  <deri@chuzzlewit.myzen.co.uk>
1381
1382         See bug at: https://savannah.gnu.org/bugs/?51568
1383
1384         * src/devices/gropdf/gropdf: Further 'fix' to handle those octal
1385         characters. See comment #5 - thank you Bjarni.
1386
1387 2017-07-31  Deri James  <deri@chuzzlewit.myzen.co.uk>
1388
1389         See bug at: https://savannah.gnu.org/bugs/?51568
1390         
1391         * src/devices/gropdf/gropdf: previous 'fix' was too narrow, all
1392         '\' characters should be escaped. Also there was an unwanted 
1393         interaction with code in routine 'do_t'. Sometimes, do_C, when 
1394         the named glyph is mapped to a chr < 32, this is encoded as octal
1395         \nnn, so in this case the '\' must not be escaped.
1396         
1397 2017-07-25  Deri James  <deri@chuzzlewit.myzen.co.uk>
1398
1399         If input text contained string which could be interpreted as
1400         escaped octal (\ddd) a pdf viewer would interpret as an octal
1401         character.  See bug at: https://savannah.gnu.org/bugs/?51568
1402         
1403         * src/devices/gropdf/gropdf: protect text which resembles \ddd
1404         by escaping with extra '\'.
1405         
1406 2017-07-12  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1407
1408         Use uchardet library in `preconv' to detect input file encoding
1409
1410         * m4/groff.m4 (GROFF_UCHARDET): new macro that use pkg-config to
1411         check if uchardet library is available and define new option
1412         `--with-uchardet':
1413         - If `yes' is passed and uchardet is not found, configure fails.
1414         - If `no' is passed we don't use uchardet and don't display any
1415         warning.
1416         - If `auto' (or any other option) is passed of if --with-uchardet
1417         is not passed, we use uchardet if available, otherwise the build
1418         goes on but a warning is displayed at the end of the configuration
1419         phase.
1420
1421         * configure.ac: use pkg-config and `GROFF_UCHARDET' to detect the
1422         presence of uchardet library.
1423
1424         * src/preproc/preconv/preconv.am: link against uchardet library if
1425         available.
1426
1427         * src/preproc/preconv/preconv.cpp (detect_file_encoding): new
1428         function that uses uchardet library to detect input file encoding.
1429         (do_file): `detect_file_encoding'.
1430
1431         * src/preproc/preconv/preconv.1.man: update `preconv'
1432         documentation.
1433
1434         See https://savannah.gnu.org/bugs/?51330
1435
1436 2017-07-12  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1437
1438         Add gnulib module fprintf-posix
1439
1440         * bootstrap.conf: do it.
1441
1442         * Fix compilation in some files that needed inclusion of
1443         `config.h'.
1444
1445         See https://savannah.gnu.org/bugs/?51330
1446
1447 2017-05-09  Bertrand Garrigues <bertrand.garrigues@laposte.net>
1448
1449         Package `ghostscript' 9.21 renamed some fonts installed in
1450         `/usr/share/ghostscript/9.21/Resource/Font', e.g. URWGothicL-Demi
1451         renamed to URWGothic-Demi, and droped the installation of URW
1452         fonts in `/usr/share/fonts/type1/gsfonts/', breaking font
1453         generation in `font/devpdf/util/BuildFoundries.pl'.
1454
1455         * m4/groff.m4 (GROFF_URW_FONTS_PATH): New option
1456         `--with-urw-fonts-dir' to pass a custom path to URW fonts.
1457         (GROFF_URW_FONTS): search the presence of URW fonts by checking if
1458         file `a010013l.pfb' exists in the paths given by `gs -h', in the
1459         default paths used in `Foundry.in' and in the path given with
1460         option `--with-urw-fonts-dir'.
1461         (GROFF_URW_FONTS_CHECK): print a warning at the end of the
1462         configuration phase if no URW fonts were found.
1463
1464         * configure.ac: call new macros `GROFF_URW_FONTS_PATH',
1465         `GROFF_URW_FONTS' and `GROFF_URW_FONTS_CHECK'.
1466
1467         * font/devpdf/Foundry.in: add new basic fonts names and pass
1468         custom URW fonts path `urwfontsdir'.
1469
1470         * font/devpdf/devpdf.am: subsitute `urwfontsdir' in `Foundry'
1471         generation.
1472
1473         Fixes https://savannah.gnu.org/bugs/?50786
1474
1475 2017-05-04  Deri James  <deri@chuzzlewit.myzen.co.uk>
1476
1477         Fixes for gropdf
1478         
1479         * src/devices/gropdf/gropdf.pl: Escape '(' and ')' if
1480         used in a bookmark, and ignore relative move 'h' if 
1481         followed by absolute move 'H' in groff intermediate output.
1482         
1483 2017-04-29  Ingo Schwarze  <schwarze@usta.de>
1484
1485         groff_char(7): improve description of ASCII characters
1486
1487         * man/groff_char.7.man: improve description of ASCII
1488         characters that do not render as themselves
1489
1490         See https://savannah.gnu.org/bugs/?50898
1491
1492 2017-04-28  Osamu Sayama
1493
1494         lkbib with empty file dumps core
1495
1496         * src/libs/libbib/index.cpp: Test if argument to malloc(3)
1497         is zero.
1498
1499         See https://savannah.gnu.org/bugs/?48433
1500
1501 2017-04-28  David Gilman
1502
1503         Typo in groff.texi
1504
1505         * doc/groff.texi: Dp instead of DP used
1506
1507         https://savannah.gnu.org/bugs/index.php?42251
1508
1509 2017-04-28  Rich Burridge
1510
1511         "grops -c a" dumps core
1512
1513         * src/devices/grops/ps.cpp: conversion specifier %s changed
1514         to %1 (errprint() uses special syntax different from
1515         printf(3))
1516
1517         https://savannah.gnu.org/bugs/?42190
1518
1519 2017-04-28  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
1520
1521         Macro "itc" is needed to make escape "\c" useful
1522
1523         * tmac/an-old.tmac: .it changed to .itc
1524
1525         https://savannah.gnu.org/bugs/?42907
1526
1527 2017-04-28  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
1528
1529         First italic correction (\,) is absent in macros IR and IB
1530
1531         * tmac/an-old.tmac: Italic correction added
1532
1533         https://savannah.gnu.org/bugs/?42906
1534
1535 2017-04-13  Ingo Schwarze  <schwarze@usta.de>
1536
1537         * tmac/doc.tmac-u: Make .Lk with more than two arguments
1538         mdoc(7) conform
1539
1540         Use the second and following arguments as the link text.
1541
1542         Do not mark up the following colon with \fI.
1543
1544         Handle any number of trailing delimiters.
1545
1546         Problem reported by Anthony Bentley <bentley@openbsd.org>,
1547         fixed by Ingo Schwarze <schwarze@usta.de>.
1548
1549         https://savannah.gnu.org/bugs/?50789
1550
1551 2017-04-12  Werner LEMBERG  <wl@gnu.org>
1552
1553         Update German hyphenation patterns.
1554
1555         * tmac/de.tmac: Add more hcode values.
1556         No longer use `hyphenex.det'.
1557         * tmac/hyphen.den, tmac/hyphen.det: Updated to `dehyph-exptl-0.41'.
1558         * tmac/hyphenex.det: Removed, no longer needed.
1559         * tmac/tmac.am (TMACNORMALFILES): Updated.
1560
1561 2017-04-10  Ingo Schwarze  <schwarze@usta.de>
1562
1563         * tmac/doc.tmac-u: Punctuation handling of .Lk fixed
1564
1565         The implementation of the groff_mdoc(7) .Lk (hyperlink) macro
1566         contains code to make sure that the second argument is not
1567         punctuation before treating it as a link text, but the test
1568         can never lead to the result "punctuation" because the
1569         initialization of the global variable doc-width was missing
1570         before the call to doc-get-arg-type.  Consequently, even "."
1571         was not recognized as punctuation.
1572
1573         Problem reported by Anthony Bentley <bentley@openbsd.org>,
1574         fixed by Ingo Schwarze <schwarze@usta.de>.
1575
1576         https://savannah.gnu.org/bugs/?50771
1577
1578 2017-04-07  Werner LEMBERG  <wl@gnu.org>
1579
1580         * tmac/hyphenex.us: Updated to current release from TeXLive.
1581
1582 2017-02-23  Bertrand Garrigues  <bertrand.garrigues@laposte.net>
1583
1584         * bootstrap: update with latest version from gnulib.
1585         * gnulib: update the git submodule with latest version (commit
1586         4084b3a1094372b960ce4a97634e08f4538c8bdd from gnulib).
1587
1588 2017-02-18  Colin Watson  <cjwatson@debian.org>
1589
1590         * src/preproc/eqn/main.cpp: Define EQ and EN if they are not already
1591         defined, to appease "groff -wmac".
1592         * src/preproc/pic/main.cpp: Likewise for PS and PE.
1593
1594         Fixes: http://bugs.debian.org/495713
1595
1596 2017-02-16  Ingo Schwarze  <schwarze@usta.de>
1597
1598         mdoc %T: use typographic quotes
1599
1600         * tmac/doc.tmac-u: Changed \*[q] to \*[Lq] and \*[Rq]
1601
1602         Citing Anthony J. Bentley:
1603
1604         The below patch causes -mdoc to generate typographic quotes
1605         around a %T (reference title) instead of straight quotes.
1606
1607         I also submitted similar diffs to mandoc and heirloom troff
1608         (which haven't been committed yet).  It would be nice for
1609         the major implementations not to differ here, and the change
1610         is trivial. 
1611
1612         It's worth noting that groff's refer(1) already uses typographic
1613         quotes around %T with my -ms documents.
1614
1615         https://savannah.gnu.org/bugs/?43553
1616         http://comments.gmane.org/gmane.comp.tools.mdocml.devel/723 
1617         https://github.com/n-t-roff/heirloom-doctools/pull/6
1618
1619 2017-02-16  Ingo Schwarze  <schwarze@usta.de>
1620
1621         mdoc \*[Lq], \*[Rq]: map to \[lq], \[rq] for all terminal
1622         devices
1623
1624         * tmac/doc-nroff-u: .ds Lq \[lq], .ds Rq \[rq]
1625
1626         If you use \[lq] and \[rq] directly in your document, the
1627         quotes already render nicely for all terminal devices:
1628         as U+201C and U+201D for devutf8 and as ASCII 0x22 (") for
1629         devascii and devlatin1.
1630         So it is not quite clear why doc-nroff should avoid
1631         \[lq] and \[rq] when resolving \[Lq] and \[Rq] for devascii
1632         and devlatin1. Quite to the contrary, many people seem to
1633         consider "``" and "''" ugly renderings because they look
1634         unbalanced.
1635
1636         See
1637
1638         https://savannah.gnu.org/bugs/?43554
1639
1640 2017-02-16  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
1641
1642         Use the traditional (portable) method of using a backslash
1643         after '\{'
1644
1645         * contrib/mm/m.tmac, tmac/e.tmac-u,
1646           tmac/s.tmac: Add '\' after "\{"
1647
1648         See
1649
1650         https://savannah.gnu.org/bugs/?49917
1651
1652 2017-02-16  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
1653
1654         Use explicit \s±n after a variable string instead of \s0
1655
1656         * tmac/e.tmac-u: Change \s0 to \s+3
1657
1658         See
1659
1660         https://savannah.gnu.org/bugs/?49915
1661
1662 2016-12-29  Deri James  <deri@chuzzlewit.myzen.co.uk>
1663
1664         Remove duplicate '-e' from gropdf manual.
1665         
1666         * src/devices/gropdf/gropdf.1.man: Remove first '-e'.
1667         
1668 2016-11-25  Deri James  <deri@chuzzlewit.myzen.co.uk>
1669
1670         Remove incorrect info from gropdf manual.
1671         
1672         * src/devices/gropdf/gropdf.1.man: Remove references
1673         to postscript.
1674         
1675 2016-11-22  George HELFFRICH  <ghfbsd@gmail.com>
1676
1677         [me]: Fix alignment of `(c' macro (#43306).
1678
1679         * tmac/e.tmac-u ((c): Properly initialize environment.
1680
1681 2016-11-20  George HELFFRICH  <ghfbsd@gmail.com>
1682
1683         [me] Fix vertical spacing of `(b' macro (#42217).
1684
1685         * tmac/e.tmac-u (@k): Apply pre-spacing conditionally.
1686         ()b): Updated.
1687
1688 2016-11-19  George HELFFRICH  <ghfbsd@gmail.com>
1689
1690         [me] Fix remaining bugs with line numbering (#49650).
1691
1692         * tmac/e.tmac-u (nm): Redefine.
1693         (.n1, .n2): Update so all environments affected.
1694         (.ip): Fix double numbering.
1695         (.)c, .)l): Restore numbering after diversion included.
1696
1697 2016-11-01  Deri James  <deri@chuzzlewit.myzen.co.uk>
1698
1699         gropdf remaps characters to position 13 (#48986).
1700         
1701         * src/devices/gropdf/gropdf: Do not remap anything to chr(13).
1702
1703 2016-11-01  Deri James  <deri@chuzzlewit.myzen.co.uk>
1704
1705         pdfmom was not including $preconv in the initial groff run.
1706         
1707         * src/devices/gropdf/pdfmom.pl: Include $preconv in first 
1708         groff run which resolves forward pdf references.
1709
1710 2016-10-05  Ingo Schwarze  <schwarze@usta.de>
1711
1712         * tmac/doc.tmac-u: Simplify behaviour of .Bl -tag
1713         * tmac/groff_mdoc.7.man: Update documentation to the new
1714         behaviour of .Bl -tag
1715
1716         If an mdoc(7) .Bl -tag macro lacks the -width argument, the
1717         body indentation is calculated separately for each child .It
1718         macro.  Neither the Heirloom nor the mandoc(1) implementation
1719         of the mdoc(7) language show such behaviour; both use a
1720         constant default width for the whole list in that case.
1721
1722         Apart from doubts whether lists with variable indentation are
1723         typographically sound in the first place, support for variable
1724         widths in groff is so restricted that it's practically
1725         useless.  For each .It, the width will be the default width of
1726         whatever happens to be the leading macro after the .It, or of
1727         .No if .It is not followed by a macro.
1728
1729         See
1730
1731         https://savannah.gnu.org/bugs/index.php?49272
1732
1733         and
1734
1735         http://lists.gnu.org/archive/html/groff/2016-10/msg00006.html
1736
1737
1738 2016-09-09  Werner LEMBERG  <wl@gnu.org>
1739
1740         * tmac/sv.tmac: Fix `.hy' settings (#48904).
1741
1742         The Swedish patterns allow hyphenation after the first character and
1743         before the last two characters, not vice versa.
1744
1745 2016-09-09  Werner LEMBERG  <wl@gnu.org>
1746
1747         troff: Fix hyphenation (#48904).
1748
1749         This commit fixes two bugs present from the very beginning: troff
1750         (a) didn't allow to hyphenate words shorter than 4 characters
1751         (ignoring `.hy' settings), and (b) never tried to hyphenate after
1752         the first character due to wrong handling of the `.hy' settings.
1753
1754         * src/roff/troff/env.cpp (environment::hyphenate_line): Use
1755         hyphenation flags to determine the minimum word length considered
1756         for hyphenation.
1757         (hyphenate): Fix handling of `HYPHEN_FIRST_CHARS'.
1758
1759 2016-07-29  Colin Watson  <cjwatson@debian.org>
1760
1761         Implement `SOURCE_DATE_EPOCH' for reproducible builds.
1762
1763         * src/include/curtime.h: New file.
1764         * src/libs/libgroff/curtime.cpp: New file.
1765         * src/libs/libgroff/libgroff.am (libgroff_a_SOURCES): Add
1766         src/libs/libgroff/curtime.cpp.
1767
1768         * src/roff/troff/input.cpp (init_registers): Use `current_time'
1769         instead of `time(0)'.
1770         * src/devices/grohtml/post-html.cpp
1771         (html_printer::do_file_components): Likewise.
1772         (html_printer::~html_printer): Likewise.
1773         * src/devices/grops/ps.cpp (ps_printer::~ps_printer): Likewise.
1774         * src/devices/gropdf/gropdf.pl: Use `$ENV{SOURCE_DATE_EPOCH}` if
1775         available in preference to `time`.
1776
1777         * doc/groff.texi (Environment): Document `SOURCE_DATE_EPOCH'.
1778         * src/devices/grohtml/grohtml.1.man (ENVIRONMENT): Likewise.
1779         * src/devices/gropdf/gropdf.1.man (ENVIRONMENT): Likewise.
1780         * src/devices/grops/grops.1.man (ENVIRONMENT): Likewise.
1781
1782 2016-04-19  Carsten Kunze  <carsten.kunze@arcor.de>
1783
1784         eqn: Fix problem with explicite spacing before unary operator
1785
1786         * src/preproc/eqn/list.cpp (list_box::compute_metrics): Change
1787         item spacing type from BINARY to ORDINARY also when previous
1788         type is SUPPRESS_TYPE.
1789
1790         As reported in
1791
1792         http://lists.gnu.org/archive/html/groff/2016-04/msg00024.html
1793
1794         by Douglas McIlroy <doug@cs.dartmouth.edu>
1795
1796         an implicite space is added between an unary operator and it's
1797         operand when an explicite space is put before the unary
1798         operator.  Unary operators are initially set up as binary.
1799         Depending on the preceding element their type can be changed
1800         to unary.  This did not happen when an explicite space ('~' or
1801         '^') had been before that operator.
1802
1803 2016-02-16  Bálint Réczey  <balint@balintreczey.hu>
1804
1805         Fix many malloc/new vs. free/delete/delete[] mismatches (#47164)
1806
1807         * src/devices/grops/ps.cpp (ps_font::~ps_font,
1808         ps_printer::define_encoding): Use `free'.
1809         * src/devices/grops/psrm.cpp (resource::~resource,
1810         resource_manager::output_prolog, resource_manager::supply_resource,
1811         resource_manager::read_download_file): Ditto.
1812
1813         * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Ditto.
1814
1815         * src/libs/libgroff/searchpath.cpp
1816         (search_path::open_file_cautious): Ditto.
1817
1818         * src/libs/libgroff/string.cpp: Include `stdlib.h'.
1819         (string::extract): Use `malloc'.
1820
1821         * src/preproc/eqn/box.cpp (quoted_text_box::~quoted_text_box): Use
1822         `free'.
1823
1824         * src/preproc/eqn/lex.cpp (definition::~definition,
1825         macro_input::~macro_input, top_input::~top_input, do_definition):
1826         Ditto.
1827
1828         * src/preproc/eqn/main.cpp (main): Ditto.
1829
1830         * src/preproc/eqn/other.cpp: Include `stdlib.h'.
1831         (size_box::~size_box, font_box::~font_box): Use `free'.
1832
1833         * src/preproc/eqn/text.cpp: Include `stdlib.h'.
1834         (box::set_spacing_type, special_char_box::~special_char_box,
1835         split_text): Use `free'.
1836
1837         * src/preproc/grn/main.cpp (conv): Use `free'.
1838
1839         * src/preproc/html/pre-html.cpp (get_resolution): Ditto.
1840
1841         * src/preproc/pic/lex.cpp (macro_input::~macro_input,
1842         argument_macro_input::~argument_macro_input, for_input::~for_input):
1843         Ditto.
1844
1845         * src/preproc/pic/main.cpp (do_picture): Ditto.
1846
1847         * src/preproc/pic/object.cpp: Include `stdlib.h'.
1848         (text_piece::~text_piece, string_list::~string_list): Use `free'.
1849
1850         * src/preproc/pic/pic.ypp (placeless_element, element, text, label,
1851         expr_not_lower_than): Ditto.
1852
1853         * src/preproc/pic/troff.cpp (troff_output::reset_color): Ditto.
1854
1855         * src/preproc/preconv/preconv.cpp (check_coding_tag): Ditto.
1856
1857         * src/preproc/soelim/soelim.cpp (do_file): Ditto.
1858
1859         * src/preproc/tbl/table.cpp (text_entry::~text_entry): Ditto.
1860
1861         * src/roff/groff/groff.cpp (possible_command::~possible_command,
1862         possible_command::set_name): Ditto.
1863
1864         * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Ditto.
1865
1866         * src/roff/troff/node.cpp (suppress_node::tprint): Ditto.
1867
1868 2016-02-16  Bálint Réczey  <balint@balintreczey.hu>
1869
1870         Use `malloc' in `strsave'; use `free' for returned pointers (#47164).
1871
1872         * src/libs/libgroff/font.cpp (text_file::~text_file): Use `free'.
1873
1874         * src/libs/libgroff/searchpath.cpp (search_path::open_file): Use
1875         `free'.
1876
1877         * src/libs/libgroff/strsave.cpp: Include `stdlib.h'.
1878         (strsave): Use `malloc'.
1879
1880 2016-02-16  Bálint Réczey  <balint@balintreczey.hu>
1881
1882         Simplify memory allocation (#47162).
1883
1884         Many invalid memory accesses were caught by UBSAN (e.g., invalid
1885         memory access in `small_temp_iterator::operator new') while
1886         bootstrapping hardened1-linux-amd64 Debian port in the `free_list'
1887         handling because it doesn't properly handle the padding between
1888         array elements.
1889
1890         Some places were already #if 0-d out anyway.
1891
1892         * src/roff/troff/input.cpp (small_temp_iterator): Remove class.
1893         (make_temp_iterator): Use `temp_iterator' only.
1894
1895         * src/devices/grotty/tty.cpp (tty_glyph): Remove `free_list', `new',
1896         and `delete'.
1897
1898         * src/include/color.h, src/include/color.cpp (color): Ditto.
1899
1900         * src/roff/troff/env.cpp (tab): Ditto.
1901
1902         * src/roff/troff/node.cpp (glyph_node): Ditto.
1903
1904 2016-02-15  Bálint Réczey  <balint@balintreczey.hu>
1905
1906         [pre-grohtml] Fix out-of-bounds array access (#47161).
1907
1908         * src/preproc/html/pre-html.cpp (char_buffer::write_upto_newline):
1909         Implement it.
1910
1911 2016-02-15  Bálint Réczey  <balint@balintreczey.hu>
1912
1913         Don't use `memcpy' with NULL input or output argument (#47160).
1914
1915         * src/libs/libgroff/string.cpp (string::string, string::operator=):
1916         Implement it.
1917
1918         * src/roff/troff/input.cpp (temp_iterator::temp_iterator): Implement
1919         it.
1920
1921 2016-02-04  Carsten Kunze  <carsten.kunze@arcor.de>
1922
1923         * tmac/s.tmac: Bugfix of previous commit simplified (and
1924         introduced redundancy removed) by use of .par*start for .QS and
1925         .QE.  This is consistent since any other paragraph macro is
1926         using .par*start.
1927
1928 2016-02-02  Carsten Kunze  <carsten.kunze@arcor.de>
1929
1930         * tmac/s.tmac: Macros .QS and .QE changed to insert vertical
1931         inter-paragraph space.  A paragraph bracketed with .QS/.QE
1932         should appear identical to a .QP paragraph followed by .LP.
1933
1934         * tmac/groff_ms.7.man, doc/groff.texi: Documentation of macros
1935         .QS and .QE added and .QP information improved (effect of
1936         registers QI and PD).
1937
1938         See also discussion at groff@gnu.org, thread starting at
1939
1940         http://lists.gnu.org/archive/html/groff/2016-01/msg00033.html
1941
1942         Issue reported by Douglas McIlroy <doug@cs.dartmouth.edu>
1943
1944 2015-12-26  Carsten Kunze  <carsten.kunze@arcor.de>
1945
1946         * contrib/mm/m.tmac: Disable macro misc@tag in case output
1947           type is not HTML.
1948
1949         This macro did cause unwanted space in case a MM macros .H
1950         had been followed immediately by .DS.
1951
1952         (See also discussion at groff@gnu.org, thread starting at
1953         http://lists.gnu.org/archive/html/groff/2015-12/msg00033.html)
1954
1955         Bug reported by Damian McGuckin <damianm@esi.com.au>.
1956
1957 2015-12-14  Werner LEMBERG  <wl@gnu.org>
1958
1959         * src/preproc/eqn/text.cpp (entity_table): s/lamda/lambda/.
1960
1961         Bug reported by Brian McGuinness <mcguinne@fdu.edu>.
1962
1963 2015-10-27  Deri James  <deri@chuzzlewit.myzen.co.uk>
1964
1965         gropdf was choking on -I flag passed by groff, now uses
1966         these directories to search for included pdfs.
1967         
1968         * src/devices/gropdf/gropdf.pl: Handle -I flag, avoid
1969           unitialised values.
1970         
1971         * src/roff/groff/groff.1.man: Include 'X pdf: pdfpic'
1972         
1973         * src/devices/gropdf/gropdf.1.man: Document -I flag
1974         
1975 2015-09-10  Bernd Warken  <groff-bernd.warken-72@web.de>
1976
1977         * src/roff/grog/subs.pl: fix comments
1978
1979 2015-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
1980
1981         * tmac/troffrc: Add .mso for file `pdfpic.tmac'.
1982
1983 2015-08-28  Bertrand Garrigues  <bertrand.garrigues@laposte.net>
1984
1985         * Makefile.am:
1986         - Use only the naming `.section.man' for all man.pages.
1987         - Replace `.man.n' by `.man' only, such that no `.n' is
1988         generated.
1989         - For example, the source `groff.7.man' is transformed into
1990         `groff.7' in the same directory and then is by installing just
1991         copied into one of the suitable installed man directory.
1992
1993 2015-08-27  Bernd Warken  <groff-bernd.warken-72@web.de>
1994
1995         * tmac/pfdpic.tmac: Add tmac file for macro `PDFPIC'.
1996
1997         * tmac/tmac.am: Add new `pdfpic.tmac' file.
1998
1999         * man/groff_tmac.5.man: Add definition for the new tmac.
2000
2001 2015-08-22  Bernd Warken  <groff-bernd.warken-72@web.de>
2002
2003         * all man-pages *.man: Rename man-pages such that the man section
2004         number before the final `.man'.
2005
2006         * all *.am: Include renaming.
2007
2008         * Makefile.am: Reset `.man.n' by `.[157].man.n' with SUFFIXES
2009         `.[157].man .n'.
2010
2011 2015-08-20  Bernd Warken  <groff-bernd.warken-72@web.de>
2012
2013         * Makefile.am: Fix definition of man[157]_MANS.
2014
2015 2015-08-13  Bernd Warken  <groff-bernd.warken-72@web.de>
2016
2017         * all *.am: Correct Emacs mode `End:' instead of `End.'.
2018
2019 2015-08-09  Werner LEMBERG  <wl@gnu.org>
2020
2021         Revert previous commit, since it doesn't work correctly yet.
2022
2023 2015-08-07  Bernd Warken  <groff-bernd.warken-72@web.de>
2024
2025         Add section name to all man-page names.
2026
2027         * Makefile.am: In `install-prefix-man' and `uninstall-prefix-man'
2028         change `sed' commands.  Correct saving in man[157]_MANS.
2029
2030         * all *.man in source tree: Rename `manpage.man' to
2031         `manpage.[157].man'.
2032
2033         * all makefile.am in source tree: Add new man-page file name.
2034
2035 2015-08-05  Bernd Warken  <groff-bernd.warken-72@web.de>
2036
2037         * Makefile.am, arch/mingw/mingw.am, arch/misc/misc.am,
2038         * contrib/eqn2graph/eqn2graph.am, contrib/grap2graph/grap2graph,
2039         * contrib/pic2graph/pic2graph.am, doc/doc.am,
2040         * font/devX100/devX100.am, font/devX100-12/devX100-12.am,
2041         * font/devX75/devX75.am, font/devX75-12/devX75-12.am,
2042         * font/devascii/devascii.am, font/devcp1047/devcp1047.am,
2043         * font/devdvi/devdvi.am, font/devhtml/devhtml.am,
2044         * font/devlatin1/devlatin1.am, font/devlbp/devlbp.am,
2045         * font/devlj4/devlj4.am, font/devpdf/devpdf.am,
2046         * font/devps/devps.am, font/devutf8/devutf8.am,
2047         * font/scripts/scripts.am, man/man.am,
2048         * src/devices/grodvi/grodvi.am, src/devices/grohtml/grohtml.am,
2049         * src/devices/grolbp/grolbp.am, src/devices/grolj4/grolj4.am,
2050         * src/devices/gropdf/gropdf.am, src/devices/grops/grops.am,
2051         * src/devices/grotty/grotty.am,
2052         * src/include/include.am, src/libs/libbib/libbib.am,
2053         * src/libs/libdriver/libdriver.am, src/libs/libgroff/libgroff.am,
2054         * src/libs/libxutil/libxutil.am, src/preproc/grn/grn.am,
2055         * src/preproc/html/html.am, src/preproc/pic/pic.am,
2056         * src/preproc/preconv/preconv.am, src/preproc/tbl/tbl.am
2057         * src/preproc/refer/refer.am, src/preproc/soelim/soelim.am,
2058         * src/roff/groff/groff.am, src/roff/grog/grog.am,
2059         * src/roff/nroff/nroff.am, src/roff/troff/troff.am,
2060         * src/utils/addftinfo/addftinfo.am,
2061         * src/utils/afmtodit/afmtodit.am, src/utils/hpftodit/hpftodit.am,
2062         * src/utils/indxbib/indxbib.am, src/utils/lkbib/lkbib.am,
2063         * src/utils/lookbib/lookbib.am, src/utils/pfbtops/pfbtops.am,
2064         * src/utils/tfmtodit/tfmtodit.am, src/utils/xtotroff/xtotroff.am,
2065         * tmac/tmac.am:
2066         Add `Last update'.  Setup Emacs mode.
2067
2068 2015-07-29  Bernd Warken  <groff-bernd.warken-72@web.de>
2069
2070         * src/roff/grog/subs.pl: Add -T for all `grog' output, also using
2071         -Tps when no option -T is given in the arguments.
2072
2073         * src/roff/grog/grog.man: Add information about -T output.
2074
2075 2015-07-23  Bernd Warken  <groff-bernd.warken-72@web.de>
2076
2077         * man/groff.man: Add last update.  Add link on Wikipedia on groff.
2078         Add link of groff tutorial by Laha.
2079
2080 2015-07-19  Bernd Warken  <groff-bernd.warken-72@web.de>
2081
2082         * src/roff/grog/*.pl: Add last update.
2083
2084         * src/roff/grog/subs.pl: Remove call to Perl INC::System::Simple,
2085         use backticks instead.
2086         Define &err().
2087         Reorder some extensions.
2088         Distinguish between .TH at first command for man and later on for
2089         ms.
2090
2091 2015-07-01 Peter Bray <pdb_ml@yahoo.com.au>
2092
2093         Fix Savannah bug #44784.
2094
2095         Compatibility Mode rendering of groff manual pages
2096
2097         * m4/groff.m4 (GROFF_WITH_COMPATIBILITY_WRAPPERS): New macro to
2098         implement 'configure' option
2099         '--with-compatibility-wrappers=<value>'.  With this option the
2100         user can control how groff compatibility wrappers for
2101         vendor-provided non-GNU macro sets are installed.
2102
2103         * configure.ac: Use new macro GROFF_WITH_COMPATIBILITY_WRAPPERS.
2104
2105         * Makefile.am: Define tmac_*_prefix if 'compatibility_wrappers' is
2106         set to 'yes'.
2107
2108         * tmac/tmac.am: Use 'compatibility_wrappers' to control the
2109         installation:
2110
2111         - If set to `no', the groff-provided macro set are installed in
2112         <prefix>/share/groff/<version>/tmac/ with the original macro set
2113         name.
2114
2115         - If set to `yes', the groff-provided macro set are installed in
2116         <prefix>/share/groff/<version>/tmac/ with a prefix of
2117         $(tmac_prefix) (which is usually `g') and the generated
2118         compatibility wrappers are installed in
2119         <prefix>/lib/groff/site-tmac, with the original macro set name.
2120
2121         - If set to `manual', the groff-provided macro set are installed
2122         in <prefix>/share/groff/<version>/tmac/ with the original macro
2123         set name and the generated compatibility wrappers are installed in
2124         <prefix>/lib/groff/site-tmac, with a name of
2125         <macro><wrapper_suffix> (which is usually `-os').
2126
2127 2015-06-17  Werner LEMBERG  <wl@gnu.org>
2128
2129         * tmac/tty.tmac: Fix mapping of \[bu] character for -Tutf8.
2130
2131         Problem reported by carsten.kunze@arcor.de.
2132
2133 2015-06-15  Deri James  <deri@chuzzlewit.myzen.co.uk>
2134
2135         pdfmom should use $RT_SEP as path separator.
2136
2137         * src/devices/gropdf/gropdf.am: Use @RT_SEP@ as path separator.
2138
2139         * src/devices/gropdf/pdfmom.pl: As above but also fix typo in regex
2140         for grep.
2141
2142 2015-05-08  Eli Zaretskii  <eliz@gnu.org>
2143
2144         [groff] Make relocation really work.
2145
2146         See
2147
2148           https://lists.gnu.org/archive/html/groff/2015-05/msg00000.html
2149
2150         * src/roff/groff/groff.cpp: Include `relocate.h'.
2151         (main): Use `relocatep'.
2152
2153 2015-05-03  Bertrand Garrigues  <bertrand.garrigues@laposte.net>
2154
2155         Fix Savannah bug #44768 (Solaris 10 compatibility issues).
2156
2157         * m4/groff.m4 (GROFF_DIFF_D): new macro to check if `diff' has
2158         option -D, and search for `gdiff' if not (new variable DIFF_PROG
2159         will contain the `diff' program to be used).
2160
2161         * m4/groff.m4 (GROFF_HAVE_TEST_EF_OPTION): new macro to check if
2162         `test' supports the option -ef (created new variable
2163         HAVE_TEST_EF_OPTION).
2164
2165         * m4/groff.m4 (GROFF_BASH): new macro to search for `bash' (new
2166         variable BASH_PROG will contain the full path to `bash' or
2167         `/bin/sh' if `bash' was not found).
2168
2169         * configure.ac: use the 3 new macros defined in m4/groff.m4.
2170
2171         * contrib/gdiffmk/gdiffmk.am: set HAVE_TEST_EF_OPTION, BASH_PROG,
2172         DIFF_PROG in the generated script `gdiffmk'.
2173
2174         * contrib/gdiffmk/gdiffmk.sh:
2175         - Fix incorrect space after '!' in sed script regex.
2176         - `test -ef' is not portable: If `bash' is not available and the
2177         shell does not support `test -ef', the option to pass a third
2178         argument as the output file is disabled.
2179         - Report an error if `diff' does not support -D option.
2180         - GNU diff and Solaris diff support -D, but #ifndef / #endif are
2181         treated differently (GNU adds a '!' in the #endif): modify the
2182         regexs in the sed script accordingly.
2183
2184 2015-05-01  Werner LEMBERG  <wl@gnu.org>
2185
2186         * tmac/tmac.am (TMACNORMALFILES): Add `zh.tmac'.
2187
2188 2015-04-30  Darcy SHEN  <sadhen1992@gmail.com>
2189
2190         Fix Savannah bug #44941.
2191
2192         * tmac/zh.tmac: New file to support basic Chinese (both simplified
2193         and traditional).
2194
2195 2015-04-22  Deri James  <deri@chuzzlewit.myzen.co.uk>
2196
2197         Fix Savannah bug #44891.
2198
2199         * src/devices/gropdf/gropdf.pl: If module Compress::Zlib is not
2200         available fall back to producing uncompressed PDF and output a
2201         warning.
2202
2203 2015-04-22  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
2204
2205         Fix Savannah bug #44894.
2206
2207         * tmac/strip.sed: Add a `generated file' warning.
2208
2209 2015-04-21  Deri James  <deri@chuzzlewit.myzen.co.uk>
2210
2211         Fix Savannah bug #44890.
2212         Patch by Peter Bray.
2213
2214         * font/devpdf/devpdf.am: Don't use 'find -maxdepth'.
2215
2216 2015-03-07  Ingo Schwarze  <schwarze@openbsd.org>
2217
2218         [mdoc] Fix Savannah bug #44733.
2219
2220         Prevent mdoc(7) Bl with trailing -width or -offset from picking up
2221         old args.
2222
2223         * tmac/doc.tmac-u (doc-do-Bl-args): When checking whether there is
2224         another argument to a Bl macro, do not inspect the argument list
2225         because it is never cleaned and may contain arguments from previous
2226         macro invocations.  Instead, inspect the argument count which is
2227         always up to date.
2228
2229 2015-04-10  Daiki Ueno  <ueno@gnu.org>
2230
2231         Fix link error on NetBSD 6.
2232
2233         Reported by carsten.kunze@arcor.de in:
2234         <https://lists.gnu.org/archive/html/groff/2015-04/msg00000.html>.
2235         The problem can also be reproduced if gl_cv_func_wcwidth_works=no
2236         is passed to configure.
2237
2238         * src/preproc/grn/grn.am (grn_LDADD): Change the link order of
2239         libgroff.a and lib/libgnu.a according to dependency.
2240         * src/roff/troff/troff.am (troff_LDADD): Likewise.
2241
2242 2015-04-08  Werner LEMBERG  <wl@gnu.org>
2243
2244         Fix Savannah bug #44767.
2245         Patch by Peter Bray.
2246
2247         * src/roff/grog/grog.am (grog): Correctly substitute `grog_dir'.
2248
2249 2015-04-03  Werner LEMBERG  <wl@gnu.org>
2250
2251         Fix Savannah bug #44708 (2/2).
2252
2253         Make man pages work in compatibility mode.
2254         Also fix some minor typos.
2255
2256         * contrib/pic2graph/pic2graph.man, man/ditroff.man, man/groff.man,
2257         man/groff_diff.man, man/groff_out.man, man/groff_tmac.man,
2258         man/roff.man, src/devices/grodvi/grodvi.man,
2259         src/devices/grohtml/grohtml.man, src/devices/grolbp/grolbp.man,
2260         src/devices/grolj4/grolj4.man, src/devices/grolj4/lj4_font.man,
2261         src/devices/gropdf/gropdf.man, src/devices/gropdf/pdfmom.man,
2262         src/devices/grops/grops.man, src/devices/grotty/grotty.man,
2263         src/devices/xditview/xditview.man, src/preproc/eqn/eqn.man,
2264         src/preproc/eqn/neqn.man, src/preproc/grn/grn.man,
2265         src/preproc/pic/pic.man, src/preproc/preconv/preconv.man,
2266         src/preproc/refer/refer.man, src/preproc/soelim/soelim.man,
2267         src/preproc/tbl/tbl.man, src/roff/groff/groff.man,
2268         src/roff/grog/grog.man, src/roff/nroff/nroff.man,
2269         src/roff/troff/troff.man, src/utils/addftinto/addftinfo.man,
2270         src/utils/afmtodit/afmtodit.man, src/utils/hpftodit/hpftodit.man,
2271         src/utils/indxbib/indxbib.man, src/utils/lkbib/lkbib.man,
2272         src/utils/lookbib/lookbib.man, src/utils/pfbtops/pfbtops.man,
2273         src/utils/tfmtodit/tfmtodit.man, src/utils/xtotroff/xtotroff.man,
2274         tmac/groff_man.man, tmac/groff_trace.man: Do it.
2275
2276 2015-04-03  Werner LEMBERG  <wl@gnu.org>
2277
2278         Fix Savannah bug #44708 (1/2).
2279
2280         * tmac/andoc.tmac (reload_doc, reload_man): Don't use `de1',
2281         otherwise we can't manipulate the compatibility flag within the
2282         macro.
2283
2284         * tmac/doc-common-u (Dt): Remove invalid leading whitespace.
2285
2286 2015-03-11  Deri James  <deri@chuzzlewit.myzen.co.uk>
2287
2288         * src/devices/gropdf/gropdf.pl: Was not handling the final glyph
2289         correctly in the "standard" fonts which are not embedded. They
2290         actually have 257 glyphs (0-256) not 256 as I'd assumed, so the
2291         remappiing code needs to be applied for them as well as the
2292         embedded downloadable fonts.
2293
2294 2015-03-11  Deri James  <deri@chuzzlewit.myzen.co.uk>
2295
2296         * src/devices/gropdf/gropdf.pl: Fix problem remappiing
2297         ellipsis (affects all glyphs > 255).
2298
2299 2015-03-07  Werner LEMBERG  <wl@gnu.org>
2300
2301         * tmac/tmac.am (TMACSPECIALFILES): Removed.  No longer used.
2302
2303 2015-03-07  Ingo Schwarze  <schwarze@openbsd.org>
2304
2305         * tmac/doc-common-u (Dd): Avoid warning `unbalanced .el request'.
2306
2307 2015-02-12  Werner LEMBERG  <wl@gnu.org>
2308
2309         Minor fixes due to renaming `groff.texinfo' to `groff.texi'.
2310
2311         * doc/doc.am (SUFFIXES): Update.
2312         * m4/groff.m4 (GROFF_MAKEINFO): Update.
2313
2314 2015-01-30  Bertrand Garrigues  <bertrand.garrigues@laposte.net>
2315
2316         Automake migration and Gnulib integration.
2317
2318         Gnulib:
2319         - Added gnulib as a git submodule.
2320         - Integrated bootstrap scripts from gnulib.
2321         - Gnulib m4 directory is now in `gnulib_m4', while Gnulib's .c
2322         files are located in `lib'.  `gnulib_m4' and `lib' are generated
2323         and distributed.
2324
2325         Automake:
2326         - Removed Makefiles from the old build system.
2327         - Converted Makefile.in into Makefile.am.
2328         - Converted Makefile.sub files in all directories to a .am file.
2329         - Removed configure, src/include/config.hin (now generated).
2330         - Removed various helper scripts (config.guess, config.rpath...),
2331         now installed by bootstrap in `build-aux'.
2332         - Moved aclocal.m4 to acinclude.m4 (aclocal.m4 is now generated).
2333         - Makefile in non-recursive style.
2334         - Updated INSTALL.REPO (INSTALL is now a symlink to
2335         gnulib/doc/INSTALL, original INSTALL file moved to INSTALL.extra)
2336         - Added (empty) THANKS, AUTHORS files.
2337         - Added a document on the usage of automake in groff in
2338         doc/automake.pdf.
2339
2340         Additional features:
2341         - Out-of-source build is supported.
2342         - Parallel build is possible (make -j).
2343         - Automatic targets from Automake: `make dist', `make distcheck'.
2344         - 'make check' is available for automatic testing, gdiffmk's test
2345         was plugged to this target.
2346         - Auto-detect if make has builtin variable `RM'.
2347
2348 2015-01-14  Ingo Schwarze  <schwarze@openbsd.org>
2349
2350         Fix Savannah bug #43905.
2351
2352         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
2353         * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
2354         double entries for `rk', `lk', `lt', `rt', `rb', and `lb'.
2355
2356 2014-12-16  Werner LEMBERG  <wl@gnu.org>
2357
2358         Update Unicode-to-Unicode mapping to version 7.0.0.
2359
2360         * src/libs/libgroff/make-uniuni: Update emitted copyright.
2361
2362         * src/libs/libgroff/uniuni.cpp: Regenerated.
2363
2364 2014-11-29  Werner LEMBERG  <wl@gnu.org>
2365
2366         Fix previous commit.
2367
2368         We forgot to test whether the patch works if compiling from
2369         scratch...
2370
2371         Problem reported by Bertrand Garrigues
2372         <bertrand.garrigues@laposte.net>.
2373
2374         * src/include/lib.h (interpret_lf_args, normalize_for_lf): Move
2375         declarations to...
2376         * src/include/lf.h: This new file.
2377
2378         * src/libs/libgroff/lf.cpp, src/preproc/pic/pic.h,
2379         src/preproc/preconv/preconv.cpp, src/preproc/refer/refer.h,
2380         src/preproc/soelim/soelim.cpp, src/preproc/tbl/table.h: Include
2381         `lf.h'.
2382         Make `lib.h' the first included header file.
2383
2384         * src/preproc/eqn/eqn.h: Don't include `stringclass.h'.
2385         * src/preproc/eqn/main.cpp: Include `stringclass.h' and `lf.h'.
2386
2387         * src/roff/groff/groff.cpp: Make `lib.h' the first included header
2388         file.
2389
2390 2014-11-10  Eli Zaretskii  <eliz@gnu.org>
2391
2392         Improve native Windows port.
2393
2394         This patch fixes two issues.
2395
2396           . Handle backslashes in `.lf' arguments for MSDOS and Windows.
2397           . Fix file name quoting for the groff pipeline.
2398
2399         * src/preproc/soelim/soelim.cpp (do_file):
2400         * src/preproc/refer/refer.cpp (do_file):
2401         * src/preproc/preconv/preconv.cpp (do_file):
2402         * src/preproc/pic/main.cpp (do_file):
2403         * src/preproc/eqn/main.cpp (do_file): Call `normalize_for_lf' to
2404         convert backslashes in the file name being processed to forward
2405         slashes.
2406
2407         * src/include/lib.h (normalize_for_lf): Add prototype.
2408
2409         * src/preproc/eqn/eqn.h:
2410         * src/preproc/pic/pic.h:
2411         * src/preproc/refer/refer.h:
2412         * src/preproc/tbl/table.h: Include stringclass.h before lib.h.
2413
2414         * src/libs/libgroff/lf.cpp (normalize_for_lf): New function.
2415
2416         * src/roff/groff/groff.cpp: Include stringclass.h before lib.h.
2417         (append_arg_to_string) [_WIN32 && !__CYGWIN__]: Use only "..." for
2418         quoting in native Windows builds.
2419
2420 2014-11-18  Deri James  <deri@chuzzlewit.myzen.co.uk>
2421
2422         My commit '3fe78135c9fe666dadffde2a822b0535d8db6feb' introduced
2423         problem in subroutine `TextWid'.  Octal char `\nnn' returns width of
2424         4 char string rather than width of single character.
2425
2426         * src/devices/gropdf/gropdf.pl: Change `TextWid' to recognise octal
2427         escaped characters (\nnn).
2428
2429 2014-11-07  Deri James  <deri@chuzzlewit.myzen.co.uk>
2430
2431         See bug #43555.
2432
2433         * src/devices/gropdf/gropdf.pl: Correct Date Format.
2434
2435 2014-11-04  Werner LEMBERG  <wl@gnu.org>
2436
2437         * src/libs/gnulib/*: Regenerate autotool files.
2438
2439 2014-11-04  Werner LEMBERG  <wl@gnu.org>
2440
2441 Version 1.22.3 released
2442 =======================
2443
2444         * NEWS, README, doc/webpage.ms: Updated.
2445
2446         * doc/texinfo.tex: Updated from `texinfo' repository.
2447
2448 2014-10-29  Bertrand Garrigues  <bertrand.garrigues@laposte.net>
2449
2450         * Makefile.in (OTHERDIRS): Mention `afmtodit' first.
2451
2452         Otherwise, some fonts in `devpdf' (`U-*') are not built.
2453
2454 2014-10-26  Eli Zaretskii  <eliz@gnu.org>
2455             Werner LEMBERG  <wl@gnu.org>
2456
2457         Add Windows `.cmd' wrapper files.
2458
2459         * arch/mingw/*: New files, provided by Eli.
2460
2461         * Makefile.in (make_winscripts, make_install_winscripts,
2462         make_uninstall_winscripts): New target variables.
2463         (MDEFINES): Add them.
2464         (OTHERDIRS): Add `arch/mingw'.
2465
2466         * m4/groff.m4 (GROFF_CMD_FILES): New macro
2467         * configure.ac: Call it.
2468         * configure: Regenerated.
2469
2470 2014-10-23  Bertrand Garrigues  <bertrand.garrigues@laposte.net>
2471
2472         Fix `install' and `uninstall' issues.
2473
2474         * contrib/chem/Makefile.sub (install_data): Fix build with option
2475         --with-doc=no passed to configure (target `install_examples'
2476         should not be executed).
2477
2478         * contrib/chem/Makefile.sub (uninstall_sub):  `uninstall' failed
2479         if directories to be removed were not present.
2480
2481         * contrib/gpinyin/Makefile.sub (uninstall_sub): Ditto.
2482
2483         * contrib/hdtbl/Makefile.sub (GENFILES): generated files should
2484         depend on the creation of the `examples' directory.
2485
2486 2014-10-23  Daiki Ueno  <ueno@gnu.org>
2487
2488         * m4/iconv.m4: Really avoid false detection of non-working iconv.
2489
2490 2014-10-21  Daiki Ueno  <ueno@gnu.org>
2491
2492         iconv: avoid false detection of non-working iconv
2493
2494         The INBUF/OUTBUF arguments of iconv can be either 'const char **'
2495         or 'char **'.  If CC is g++, the difference causes a compile error
2496         and thus leads to a false detection of non-working iconv.
2497         Reported by Eli Zaretskii and Werner LEMBERG in:
2498         <https://lists.gnu.org/archive/html/bug-gnulib/2014-10/msg00023.html>.
2499
2500         * m4/iconv.m4 (AM_ICONV_LINK): Try all possible argument types of
2501         iconv.  Bump serial number.
2502
2503 2014-10-20  Werner LEMBERG  <wl@gnu.org>
2504
2505         * src/libs/gnulib/lib/wctype.in.h: Include `config.h'.
2506
2507         Problem reported by Eli Zaretskii <eliz@gnu.org>.
2508
2509         This is a temporary hack to make groff compile with MinGW.  After
2510         the switch to an automake infrastructure, together with proper use
2511         of `gnulib', we can safely replace the patched file with a standard
2512         version.
2513
2514 2014-10-19  Doug McIlroy  <doug@cs.dartmouth.edu>
2515
2516         Fix Savannah bug #42151.
2517
2518         * src/preproc/eqn/lex.cpp (file_input::read_line): Handle CR/LF.
2519         * src/preproc/pic/pic.cpp (file_input::read_line): Ditto.
2520
2521 2014-10-18  Werner LEMBERG  <wl@gnu.org>
2522
2523         [mdoc] Add Darwin version string for OS X 10.10.
2524
2525         * tmac/doc-common (doc-operating-system-Darwin-14.0.0): New string.
2526
2527         * tmac/groff_mdoc.man: Updated.
2528
2529 2014-10-15  Werner LEMBERG  <wl@gnu.org>
2530
2531         * doc/webpage.ms: Remove obsolete references to tarballs and diffs.
2532
2533         Reported by Dave Kemper <saint.snit@gmail.com>.
2534
2535 2014-10-15  Colin Watson  <cjwatson@debian.org>
2536
2537         Always distribute the parts of groff that require X11.
2538
2539         * Makefile.in (ALLLIBDIRS): Clone from `LIBDIRS', but include
2540         src/devices/libxutil unconditionally.
2541         (ALLPROGDIRS): Clone from `PROGDIRS', but include
2542         src/devices/xditview and src/utils/xtotroff unconditionally.
2543         (DISTDIRS): Use `ALLLIBDIRS' and `ALLPROGDIRS' rather than `LIBDIRS'
2544         and `PROGDIRS'.
2545
2546 2014-10-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
2547
2548         Minor update to NEWS for pdfroff.
2549
2550         * NEWS (pdfroff): Note use of PHASE register, and not pdf:href.map,
2551         to choose when to emit toc_relocation control record.
2552
2553 2014-10-13  Keith Marshall  <keith.d.marshall@ntlworld.com>
2554
2555         For pdfroff, deduce "--no-toc-relocation" from input stream.
2556
2557         * NEWS: Add notification; document the effect of changes, as recorded
2558         in contrib/pdfmark/ChangeLog.
2559
2560 2014-10-12  Ingo Schwarze  <schwarze@openbsd.org>
2561
2562         [mdoc] Support `Mdocdate' CVS keyword substitution.
2563         This fixes Savannah bug #42968.
2564
2565         This feature is used for OpenBSD manuals.
2566
2567         * tmac/doc-common (Dd): Handle `$Mdocdate:' argument.
2568
2569         * tmac/groff_mdoc.man: Document it.
2570
2571 2014-10-12  Ingo Schwarze  <schwarze@openbsd.org>
2572
2573         [mdoc] Add `.At III' and `.St -iso8601'.
2574         This fixes Savannah bug #42971.
2575
2576         * tmac/doc-syms: Add corresponding version strings.
2577
2578         * tmac/groff_mdoc.man: Synchronize.
2579
2580 2014-10-12  Ingo Schwarze  <schwarze@openbsd.org>
2581
2582         [mdoc] Update operating system release numbers.
2583         This fixes Savannah bug #42969.
2584
2585         * tmac/doc-common: Update NetBSD, OpenBSD, FreeBSD, and DragonFly
2586         version strings.
2587
2588         * tmac/groff_mdoc.man: Synchronize.
2589
2590 2014-10-12  Werner LEMBERG  <wl@gnu.org>
2591
2592         * doc/Makefile.in: Use `LC_ALL' in addition to `LANG'.
2593         Suggested by Steffen.
2594
2595 2014-10-12  Werner LEMBERG  <wl@gnu.org>
2596
2597         * doc/groff.texinfo: Make PDF version compilable with makeinfo 5.x.
2598
2599         makeinfo 5.x handles macro expansion better, which changes the way
2600         how an \LE macro (for a less-than sign) has to be defined.  However,
2601         since we can't be sure that the latest version of `texinfo.tex' gets
2602         used with makeinfo 5.x only, we would have to support both 4.x and
2603         5.x.  No idea whether this is possible at all...  For this reason,
2604         we now simply use @value directly instead of wrapping it into a
2605         macro, avoiding any issues.
2606
2607 2014-10-12  Werner LEMBERG  <wl@gnu.org>
2608
2609         [doc] Protect against picky `sed' programs.
2610         Problem reported by Axel Kielhorn <tex@axelkielhorn.de>.
2611
2612         * doc/Makefile.in (GROFF_BIN_PATH, GROFF): Add `LANG=' to avoid
2613         interpretation of non-ASCII characters by sed.
2614
2615 2014-10-12  Michail Vidiassov  <master@iaas.msu.ru>
2616
2617         * tmac/doc-common: Add new Darwin versions.
2618
2619 2014-10-12  Werner LEMBERG  <wl@gnu.org>
2620
2621         * doc/groff.texinfo: s/which/that/ where apropriate.
2622
2623 2014-10-12  Werner LEMBERG  <wl@gnu.org>
2624
2625         * doc/groff.texinfo: Various minor fixes.
2626
2627         Most of those glitches have been found by comparing the info output
2628         from makeinfo 4.13 and the current SVN development version (of
2629         makeinfo).
2630
2631 2014-10-12  Werner LEMBERG  <wl@gnu.org>
2632
2633         * doc/groff.texinfo: Improve indexing.
2634
2635         Change @DefXXXItem and @DefXXXListEnd macros to not insert an index
2636         entry.  New macro variants with a trailing `x' (like `@DefreqItemx')
2637         can override this.
2638
2639         Update macro calls where necessary.
2640
2641 2014-10-12  Werner LEMBERG  <wl@gnu.org>
2642
2643         [doc] Improve call to generation of `groff.pdf'.
2644         Problem reported by Axel Kielhorn <tex@axelkielhorn.de>.
2645
2646         Since `groff.texinfo' contains latin-1 characters, some sed
2647         implementations (like the one used on Mac OS 10.8) fail if called
2648         with the wrong locale.  Basically, this is a `texi2dvi' bug, but we
2649         can set `LANG' by ourselves to improve the situation.
2650
2651         * doc/Makefile.in (.texinfo.dvi, .texinfo.pdf): Set `LANG'
2652         environment variable to empty string.
2653
2654 2014-10-12  Werner LEMBERG  <wl@gnu.org>
2655
2656         [doc] Correctly handle `MAKEINFO' environment variable.
2657         Bug introduced in commit from 2014-03-29.
2658
2659         * m4/groff.m4 (GROFF_MAKEINFO): Don't set MAKEINFO to empty string
2660         before actually testing it.
2661
2662         * configure: Regenerated.
2663
2664 2014-10-11  Bertrand Garrigues  <bertrand.garrigues@laposte.net>
2665
2666         Fix an issue on `make dist'.
2667
2668         In order to make the tarball, `make dist' copies src/libs/gnulib
2669         directories into the `tmp' directory without the `.deps'
2670         directories, causing the failure of `make distclean' in
2671         tmp/src/libs/gnulib.  Forcing a call to `config.status' recreates
2672         the `.deps' directories.
2673
2674         * Makefile.in (dist): For gnulib, call `config.status' before `make
2675         distclean'.
2676
2677 2014-10-11  Bernd Warken  <groff-bernd.warken-72@web.de>
2678
2679         * src/roff/grog/*.pl: Remove call from `IPC', use normal system
2680         `instead'.
2681
2682 2014-10-11  Guillem Jover  <guillem@hadrons.org>
2683
2684         Add support for various BSD versions.
2685
2686         * tmac/doc-common: Add new FreeBSD and DragonFly versions.
2687
2688 2014-10-11  Keith Marshall  <keith.d.marshall@ntlworld.com>
2689
2690         Refactor .psbb request handling code.
2691
2692         * src/roff/troff/input.cpp (do_ps_file): Reimplement it, using...
2693         (psbb_locator): ...this new locally declared and implemented class;
2694         its constructor replaces all `do_ps_file()' capability, delegating
2695         to other class methods, as appropriate.
2696         (assign_registers): Encapsulate it, as a `psbb_locator' method.
2697         (ps_get_line): Likewise, also renaming it to become...
2698         (get_line): ...this class method; its internally defined `lastc'
2699         static variable also becomes a non-static class member variable.
2700         (PSBB_RANGE_IS_BAD, PSBB_RANGE_IS_SET, PSBB_RANGE_AT_END): New
2701         manifest constants; define them.  They are now used by...
2702         (parse_bounding_box): ...this function, now also encapsulated as
2703         a `psbb_locator' class method, to convey parsing status.
2704         (bounding_box): Struct obsoleted by `psbb_locator'; delete it.
2705         (ps_bbox_request): Delegate to `psbb_locator'.
2706
2707 2014-10-11  Werner LEMBERG  <wl@gnu.org>
2708
2709         Various clean-ups.
2710
2711         * NEWS: More updates.
2712
2713         * REVISION: Set to 3.
2714
2715         * doc/groff.texinfo: Update version and year.
2716
2717         * configure: Regenerated.
2718
2719         * src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
2720
2721 2014-10-11  Werner LEMBERG  <wl@gnu.org>
2722
2723         Update generic GNU files to recent versions.
2724
2725         * INSTALL.gen, config.guess, config.rpath, config.sub,
2726         contrib/groff_filenames/Makefile.sub, doc/fdl.texi, doc/texinfo.tex,
2727         doc/txi-en.tex, install-sh, m4/ax_prog_perl_version.m4,
2728         m4/codeset.m4, m4/fcntl-o.m4, m4/glibc21.m4, m4/iconv.m4,
2729         m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4, m4/localcharset.m4,
2730         src/include/localcharset.h, src/libs/gnulib/Makefile.in,
2731         src/libs/gnulib/aclocal.m4, src/libs/gnulib/build-aux/compile,
2732         src/libs/gnulib/build-aux/config.guess,
2733         src/libs/gnulib/build-aux/config.sub,
2734         src/libs/gnulib/build-aux/depcomp,
2735         src/libs/gnulib/build-aux/install-sh,
2736         src/libs/gnulib/build-aux/snippet/arg-nonnull.h,
2737         src/libs/gnulib/build-aux/snippet/c++defs.h,
2738         src/libs/gnulib/build-aux/snippet/warn-on-use.h,
2739         src/libs/gnulib/configure, src/libs/gnulib/lib/Makefile.in,
2740         src/libs/gnulib/lib/config.charset, src/libs/gnulib/lib/intprops.h,
2741         src/libs/gnulib/lib/localcharset.c,
2742         src/libs/gnulib/lib/localcharset.h, src/libs/gnulib/lib/ref-add.sin,
2743         src/libs/gnulib/lib/ref-del.sin, src/libs/gnulib/lib/stdbool.in.h,
2744         src/libs/gnulib/lib/stddef.in.h, src/libs/gnulib/lib/streq.h,
2745         src/libs/gnulib/lib/unitypes.in.h,
2746         src/libs/gnulib/lib/uniwidth.in.h,
2747         src/libs/gnulib/lib/uniwidth/cjk.h,
2748         src/libs/gnulib/lib/uniwidth/width.c, src/libs/gnulib/lib/verify.h,
2749         src/libs/gnulib/lib/wchar.in.h, src/libs/gnulib/lib/wctype-h.c,
2750         src/libs/gnulib/lib/wctype.in.h, src/libs/gnulib/lib/wcwidth.c,
2751         src/libs/gnulib/m4/00gnulib.m4, src/libs/gnulib/m4/Makefile.in,
2752         src/libs/gnulib/m4/codeset.m4, src/libs/gnulib/m4/configmake.m4,
2753         src/libs/gnulib/m4/extensions.m4, src/libs/gnulib/m4/fcntl-o.m4,
2754         src/libs/gnulib/m4/glibc21.m4, src/libs/gnulib/m4/gnulib-tool.m4,
2755         src/libs/gnulib/m4/inttypes-pri.m4,
2756         src/libs/gnulib/m4/localcharset.m4, src/libs/gnulib/m4/longlong.m4,
2757         src/libs/gnulib/m4/onceonly.m4, src/libs/gnulib/m4/wchar_t.m4,
2758         src/libs/gnulib/m4/wint_t.m4, src/libs/libgroff/config.charset,
2759         src/libs/libgroff/localcharset.c, src/libs/libgroff/ref-add.sin,
2760         src/libs/libgroff/ref-del.sin, src/preproc/refer/refer.man: Do it.
2761
2762 2014-10-11  Werner LEMBERG  <wl@gnu.org>
2763
2764         * NEWS, MANIFEST: Updated.
2765
2766 2014-10-11  Werner LEMBERG  <wl@gnu.org>
2767
2768         * Makefile.in (OTHERDIRS, NOMAKEDIRS): Remove `ideal' references.
2769
2770 2014-10-10  Bernd Warken  <groff-bernd.warken-72@web.de>
2771
2772         * contrib/gideal: Temporarily remove this directory, because the
2773         documentation and the preprocessor are not yet finished for
2774         groff-1.2.23.
2775
2776 2014-10-10  Werner LEMBERG  <wl@gnu.org>
2777
2778         * Makefile.in (dist): Clean up `src/libs/gnulib'.
2779
2780 2014-10-10  Werner LEMBERG  <wl@gnu.org>
2781
2782         * doc/webpage.ms: Updates.
2783
2784         The README and NEWS sections are not yet synchronized, though.
2785
2786 2014-10-09  Ingo Schwarze  <schwarze@openbsd.org>
2787
2788         * Makefile.in: Let `clean' and `distclean' descend into gnulib.
2789
2790         This fixes Savannah bug #42970.
2791
2792 2014-10-02  Bertrand Garrigues  <bertrand.garrigues@laposte.net>
2793
2794         Set default X11 resources dir to `$prefix/lib/X11/app-defaults'.
2795
2796         Previously, X11 resources for gxditview were installed in
2797         `/usr/X11/lib/X11/app-defaults', no matter which prefix was set.
2798
2799         Now, gxditview resources are installed in
2800         `appresdir=$prefix/lib/X11/app-defaults'.  If `appresdir' is not a
2801         standard X11 resource directory, the environment variable
2802         `XFILESEARCHPATH' should be set to this path.
2803
2804         The behaviour of `--with-appresdir' is unchanged: This option can
2805         still be used to set `appresdir', and its value will not be modified
2806         by the prefix.
2807
2808         * m4/groff.m4 (GROFF_APPRESDIR_DEFAULT): Implement new behaviour.
2809         Fix detection app-defaults location on the system.
2810         (GROFF_APPRESDIR_CHECK): Updated.
2811
2812         * configure.ac: Improve output of configuration.
2813         * configure: Regenerated.
2814
2815         * NEWS: Mention it.
2816
2817 2014-09-27  Werner LEMBERG  <wl@gnu.org>
2818
2819         Set `transparent' flag for `\[cq].
2820         Problem reported by Dave Kemper <saint.snit@gmail.com>.
2821
2822         * src/roff/troff/input.cpp (init_charset_table): Do it.
2823
2824         * doc/groff.texinfo (Sentences, Using Symbols), man/groff_diff.man:
2825         Document it.
2826
2827 2014-09-25  Bernd Warken  <groff-bernd.warken-72@web.de>
2828
2829         * src/roff/grog/*.pl: Program more reasonable subs (functions).
2830         Repair details in many places.
2831
2832 2014-09-24  Keith Marshall  <keith.d.marshall@ntlworld.com>
2833
2834         Refactor psbb line input function; avoid a buffer overrun.
2835
2836         * src/roff/troff/input.cpp (ps_get_line): Declare it as `static'.
2837         Refactor, to avoid the overhead of character look-ahead and push-back
2838         on CR stream input.  Add new `dscopt' parameter, in place of internal
2839         `err' variable; update all call references, passing value of...
2840         (DSC_LINE_MAX_ENFORCE): ...this new manifest constant; define it.
2841         (DSC_LINE_MAX_IGNORED): Likewise; currently unused, but intended for
2842         future use as an alternative to `DSC_LINE_MAX_ENFORCE'.
2843         (DSC_LINE_MAX_CHECKED): New manifest constant; used internally only.
2844         (PS_LINE_MAX): Manifest constant, renamed for notional consistency...
2845         (DSC_LINE_MAX): ...to this; defined value remains as 255.
2846         (do_ps_file): Increase stack allocation for `buf' char array; former
2847         allocation of PS_LINE_MAX (now DSC_LINE_MAX) bytes exposed a potential
2848         buffer overrun, after reading DSC_LINE_MAX bytes; two additional bytes
2849         are required, to accommodate a terminating LF and NUL.  Add `dscopt'
2850         parameter, with value `DSC_LINE_MAX_ENFORCE', in each of three calls
2851         to `ps_get_line()'.
2852
2853 2014-09-20  Bernd Warken  <groff-bernd.warken-72@web.de>
2854
2855         * src/roff/groff/Makefile.sub: Remove too much deleting while
2856         running `make'.
2857
2858 2014-09-20  Bernd Warken  <groff-bernd.warken-72@web.de>
2859
2860         * `Makefile.sub' in the whole groff source tree: Add $(RM) and
2861         change all `rm -f'.  Add directory test before `rmdir'.
2862
2863 2014-09-20  Bernd Warken  <groff-bernd.warken-72@web.de>
2864
2865         * Man-pages (*.man) in the whole groff source tree: Improve
2866         documents by adding \[co], \[cq], \[aq] instead of ` or ' and use
2867         also \[co] as long as it makes sense.  Remove \[en] in the years
2868         date in order to allow the automatic license year increasing.
2869
2870 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2871
2872         * <groff-source-top>/*: Improve the license information and Emacs
2873         setup.
2874
2875 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2876
2877         * tmac/*: Improve the license information and Emacs setup.
2878
2879 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2880
2881         * src/utils/xtotroff/*: Improve the license information and Emacs
2882         setup.
2883
2884 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2885
2886         * src/utils/tfmtodit/*: Improve the license information and Emacs
2887         setup.
2888
2889 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2890
2891         * src/utils/pfbtops/*: Improve the license information and Emacs
2892         setup.
2893
2894 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2895
2896         * src/utils/lookbib/*: Improve the license information and Emacs
2897         setup.
2898
2899 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2900
2901         * src/utils/lkbib/*: Improve the license information and Emacs
2902         setup.
2903
2904 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2905
2906         * src/utils/indxbib/*: Improve the license information and Emacs
2907         setup.
2908
2909 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2910
2911         * src/utils/hpftodit/*: Improve the license information and Emacs
2912         setup.
2913
2914 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2915
2916         * src/utils/afmtodit/*: Improve the license information and Emacs
2917         setup.
2918
2919 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2920
2921         * src/utils/addftinfo/*: Improve the license information and Emacs
2922         setup.
2923
2924 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2925
2926         * src/roff/troff/*: Improve the license information and Emacs
2927         setup.
2928
2929 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2930
2931         * src/roff/nroff/*: Improve the license information and Emacs
2932         setup.
2933
2934 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2935
2936         * src/roff/grog/*: Improve the license information and Emacs
2937         setup.
2938
2939 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2940
2941         * src/roff/groff/*: Improve the license information and Emacs
2942         setup.
2943
2944 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2945
2946         * src/preproc/tbl/*: Improve the license information and Emacs
2947         setup.
2948
2949 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2950
2951         * src/preproc/soelim/*: Improve the license information and Emacs
2952         setup.
2953
2954 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2955
2956         * src/preproc/refer/*: Improve the license information and Emacs
2957         setup.
2958
2959 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2960
2961         * src/preproc/preconv/*: Improve the license information and Emacs
2962         setup.
2963
2964 2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>
2965
2966         * src/preproc/pic/*: Improve the license information and Emacs
2967         setup.
2968
2969 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
2970
2971         * src/preproc/html/*: Improve the license information and Emacs
2972         setup.
2973
2974 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
2975
2976         * src/preproc/grn/*: Improve the license information and Emacs
2977         setup.
2978
2979 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
2980
2981         * src/preproc/eqn/*: Improve the license information and Emacs
2982         setup.
2983
2984 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
2985
2986         * src/libs/libxutil/*: Improve the license information and Emacs
2987         setup.
2988
2989 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
2990
2991         * src/libs/libgroff/*: Improve the license information and Emacs
2992         setup.
2993
2994 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
2995
2996         * src/libs/libdriver/*: Improve the license information and Emacs
2997         setup.
2998
2999 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3000
3001         * src/libs/libbib/*: Improve the license information and Emacs
3002         setup.
3003
3004 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3005
3006         * src/libs/gnulib/*: Improve the license information and Emacs
3007         setup.  The former run of that was not yet complete.
3008
3009 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3010
3011         * src/libs/gnulib/*: Improve the license information and Emacs
3012         setup.
3013
3014 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3015
3016         * src/include/*: Improve the license information and Emacs setup.
3017
3018 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3019
3020         * src/devices/grotty/*: Improve the license information and Emacs
3021         setup.
3022
3023 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3024
3025         * src/devices/grops/*: Improve the license information and Emacs
3026         setup.
3027
3028 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3029
3030         * src/devices/gropdf/*: Improve the license information and Emacs
3031         setup.
3032
3033 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3034
3035         * src/devices/grolj4/*: Improve the license information and Emacs
3036         setup.
3037
3038 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3039
3040         * src/devices/grolbp/*: Improve the license information and Emacs
3041         setup.
3042
3043 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3044
3045         * src/devices/grohtml/*: Improve the license information and Emacs
3046         setup.
3047
3048 2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3049
3050         * src/devices/grodvi/*: Improve the license information and Emacs
3051         setup.
3052
3053 2014-09-15  Bernd Warken  <groff-bernd.warken-72@web.de>
3054
3055         * man/*.man: Improve the license information (definiton of .co and
3056         .au).
3057
3058 2014-09-15  Bernd Warken  <groff-bernd.warken-72@web.de>
3059
3060         * m4/*.m4: Improve the license information without changing the
3061         related information.
3062
3063 2014-09-06  Werner LEMBERG  <wl@gnu.org>
3064
3065         Fix build issues.
3066
3067         * m4/groff.m4: Fix typo.
3068         s/refer_dir/referdir/ for consistency.
3069
3070         * configure: Regenerated.
3071
3072         * Makefile.in: s/refer_dir/referdir/ for consistency.
3073
3074         * src/preproc/refer/Makefile.sub (install_data, uninstall_sub):
3075         Don't handle binaries or manpages; this is handled elsewhere
3076         already.  Right now, only install and uninstall the `refer' data
3077         directory.
3078
3079 2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>
3080
3081         * configure: When I change the `configure' file manually, the
3082         refer data dir is created.  But when running aclocal/autoreconf,
3083         the dir is again not created.
3084
3085 2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>
3086
3087         * m4/groff.m4, configure.ac, Makefile.in,
3088         src/preproc/refer/Makefile.sub: Add information to create a refer
3089         data directory by installing.  That dir is not yet generated
3090         anyway.
3091
3092 2014-09-05  Werner LEMBERG  <wl@gnu.org>
3093
3094         Regenerate configure files with correct parameters.
3095
3096         * configure.ac: Comment out m4 macros still missing.
3097
3098         * aclocal.m4, config.hin, configure: Regenerated.
3099
3100 2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>
3101
3102         * some files in doc: Change the copying years to package form.
3103         But many files have strange or no copying information.
3104
3105 2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>
3106
3107         * contrib/pic2graph/Makefile.sub: Change the copying years to
3108         package form.
3109
3110 2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>
3111
3112         * FDL: Replace the changed actual file by the original `fdl.txt'
3113         from <http://www.gnu.org/licenses/>.
3114
3115 2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3116
3117         * contrib/grap2graph/Makefile.sub: Remove `Last updates' from all
3118         files.  Add and repair copyright.  Write Emacs setup.
3119
3120 2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3121
3122         * src/preproc/refer/refer.man: Include more distances for better
3123         reading of the source file.  Add `%' for documentation of
3124         bibliographic database lines.
3125
3126 2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3127
3128         * tree contrib/eqn2graph: Remove `Last updates' from all files.
3129         Add and repair copyright.  Write Emacs setup.
3130
3131 2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3132
3133         * tree `arch': Remove `Last updates' from all files.  Add
3134         and repair copyright.  Write Emacs seetup.
3135
3136 2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3137
3138         * <groff top source directory>: Remove `Last updates' from all
3139         files.  Only `timestamp' values are left.
3140
3141 2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3142
3143         * <groff top source directory>: Repair copyright years from
3144         starting year to actual year for almost all files.
3145
3146 2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3147
3148         * autom4te.cache: Remove that tree after running
3149         `autoconf' or `autoreconf'.
3150
3151         * .gitignore: Add all files within `autom4te.cache' to get rid of
3152         them automatically.  Not sure so far, if this works.
3153
3154 2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3155
3156         * BUG-REPORT, FDL, INSTALL*, MANIFEST, MORE.STUFF, NEWS, PROBLEMS,
3157         PROJECTS, README*: Remove Emacs settings for coding style.  Change
3158         copyright years from 1989-2014 and 1993-2014 into 2014 only.
3159
3160 2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3161
3162         * configure.ac, Makefile.in: Try to use /usr/local/share directory
3163         for `refer'.  Does not work so far.
3164
3165 2014-09-02  Bernd Warken  <groff-bernd.warken-72@web.de>
3166
3167         * All Makefile*: Add Emacs settings and lacking licenses.
3168
3169 2014-09-02  Bernd Warken  <groff-bernd.warken-72@web.de>
3170
3171         * BUG-REPORT, FDL, INSTALL*, MANIFEST, MORE.STUFF, NEWS, PROBLEMS,
3172         PROJECTS, README*: Add Emacs settings.
3173
3174 2014-09-02  Bernd Warken  <groff-bernd.warken-72@web.de>
3175
3176         * PROJECTS: Add TODO for `refer'.
3177
3178 2014-08-31  Bernd Warken  <groff-bernd.warken-72@web.de>
3179
3180         * man/roff.man (roff.7): Replace Heirloom links to more actual
3181         places.  Create macro definitions for authors (.au) and copying
3182         (.co).
3183
3184 2014-08-30  Bernd Warken  <groff-bernd.warken-72@web.de>
3185
3186         * man/groff_font.man (groff_font.7): Restructure
3187         file format, but keep content.
3188
3189 2014-08-30  Bernd Warken  <groff-bernd.warken-72@web.de>
3190
3191         * src/utils/addftinfo/addftinfo.man (addftinfo.1): Restructure
3192         file format, but keep content.
3193
3194 2014-08-30  Bernd Warken  <groff-bernd.warken-72@web.de>
3195
3196         * man/roff.man (roff.7): Repair documentation of heirloom.
3197
3198 2014-08-28  Bernd Warken  <groff-bernd.warken-72@web.de>
3199
3200         * src/roff/grog/grog.pl, src/roff/grog/subs.pl: Add `gpinyin'.
3201
3202         * src/roff/grog/grog.man: Restructure `SEE ALSO'.
3203
3204 2014-08-28  Bernd Warken  <groff-bernd.warken-72@web.de>
3205
3206         * contrib/gpinyin: Make it runnable, version 1.0.0.
3207
3208 2014-08-20  Bernd Warken  <groff-bernd.warken-72@web.de>
3209
3210         * groff.7 (man/groff.man): Add further preprocessor regions.
3211         Repair documentation for Unicode.
3212
3213 2014-08-08  Bernd Warken  <groff-bernd.warken-72@web.de>
3214
3215         * configure.ac, configure, Makefile.in, m4/groff.m4: Install paths
3216         for implementing contrib/gpinyin's sub.pl.
3217
3218 2014-08-06  Bernd Warken  <groff-bernd.warken-72@web.de>
3219
3220         * man/groff_char.man: Add description for displaying `uxxxx' as
3221         `\[uxxxx]'.
3222
3223 2014-08-05  Bernd Warken  <groff-bernd.warken-72@web.de>
3224
3225         * man/groff.man (groff.7): Replace \[rs] to \e as far as useful.
3226
3227 2014-08-05  Bernd Warken  <groff-bernd.warken-72@web.de>
3228
3229         * man/groff.man (groff.7): Add documentation for the Unicode
3230         escapes \[u....] and \[u.....].
3231
3232 2014-08-02  Bernd Warken  <groff-bernd.warken-72@web.de>
3233
3234         * src/roff/groff/groff.man: Improve documentation for `utf8'.
3235
3236 2014-08-01  Bernd Warken  <groff-bernd.warken-72@web.de>
3237
3238         * contrib/gpinyin: New preprocessor for having the European-style
3239         writing `pinyin' for the Chinese language.
3240
3241 2014-07-22  Bernd Warken  <groff-bernd.warken-72@web.de>
3242
3243         * groff.7 (man/groff.man): Add some useful special characters.
3244
3245 2014-07-21  Bernd Warken  <groff-bernd.warken-72@web.de>
3246
3247         * tbl.1 (src/preproc/tbl/tbl.man): Add simple examples.
3248
3249 2014-07-12  Bernd Warken  <groff-bernd.warken-72@web.de>
3250
3251         * groff.7 (man/groff.man): Add section about underlining.
3252
3253 2014-07-07  Bernd Warken  <groff-bernd.warken-72@web.de>
3254
3255         * man/groff.man (groff.7): Add some basic special characters
3256         `\(xy'.
3257
3258 2014-07-06  Bernd Warken  <groff-bernd.warken-72@web.de>
3259
3260         * grog, groffer: Minor repairing.
3261
3262 2014-07-06  Bernd Warken  <groff-bernd.warken-72@web.de>
3263
3264         * src/roff/grog/subs.pl: Repair ligatures handling.
3265
3266 2014-07-06  Bernd Warken  <groff-bernd.warken-72@web.de>
3267
3268         * src/roff/grog/subs.pl: Correct handling of standard input.
3269
3270 2014-07-06  Bernd Warken  <groff-bernd.warken-72@web.de>
3271
3272         * src/roff/groff/groff.man: Minor correction.
3273
3274 2014-07-06  Bernd Warken  <groff-bernd.warken-72@web.de>
3275
3276         * src/roff/grog/*: Minor corrections.
3277
3278 2014-07-05  Bernd Warken  <groff-bernd.warken-72@web.de>
3279
3280         * src/roff/groff/groff.cpp: In `usage()' and `help()' order
3281         alphabetically.
3282
3283 2014-07-05  Bernd Warken  <groff-bernd.warken-72@web.de>
3284
3285         * grog.pl, subs.pl: Heavily improve argument handling and `groff'
3286         command line creation.
3287
3288 2014-07-05  Bernd Warken  <groff-bernd.warken-72@web.de>
3289
3290         * grog.man: Make file runnable for `doclifter'.
3291
3292 2014-07-05  Bernd Warken  <groff-bernd.warken-72@web.de>
3293
3294         * grog.man: Replace all .de by copying.  Restrict all .char names
3295         to lenght 2 only.
3296
3297 2014-07-04  Bernd Warken  <groff-bernd.warken-72@web.de>
3298
3299         * grog.man: Minor optimization.
3300
3301 2014-07-04  Bernd Warken  <groff-bernd.warken-72@web.de>
3302
3303         * grog.man: Transform in classical man-page style.
3304
3305 2014-07-04  Bernd Warken  <groff-bernd.warken-72@web.de>
3306
3307         * grog.pl, subs.pl: Add option `--warnings'.  Rename
3308         `--with_ligatures' to `--ligatures', but keep `--with_ligatures'
3309         for compatibility.
3310
3311 2014-07-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3312
3313         * Makefile.in: Remove directories `groffer/perl' and
3314         `groffer.shell', which don't exist any more.
3315
3316 2014-07-03  Bernd Warken  <groff-bernd.warken-72@web.de>
3317
3318         * PROJECTS: Mention the start of the `ideal' project.
3319
3320 2014-06-21  Ingo Schwarze  <schwarze@openbsd.org>
3321
3322         * Makefile.in: Unbreak make install:
3323         Add missing gideal dirs to the dist tarball.
3324
3325 2014-06-19  Bernd Warken  <groff-bernd.warken-72@web.de>
3326
3327         * src/roff/groff/groff.man: Correct the collection of the
3328         installation directories.
3329
3330 2014-06-19  Bernd Warken  <groff-bernd.warken-72@web.de>
3331
3332         * src/roff/groff/groff.man: Add the installation file and
3333         directory positions of the whole package with @...@.
3334
3335 2014-06-19  Bernd Warken  <groff-bernd.warken-72@web.de>
3336
3337         * man/groff.man, src/roff/groff/groff.man: Add file position
3338         before and after installation and the latest update.
3339
3340 2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>
3341
3342         * src/roff/grog/grog.pl: Corrections about `require' and `our'
3343         definitions.
3344
3345         * src/roff/grog/subs.pl: In the `groff' output command line, split
3346         the single character options collections into different
3347         1-character options, each with a leading minus `-'..
3348 2014-06-20  Bernd Warken  <groff-bernd.warken-72@web.de>
3349
3350         * src/roff/grog/subs.pl: Repair call of `push'.
3351
3352 2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>
3353
3354         * src/roff/grog/subs.pl: Minor correction at `do_first_line'.
3355
3356 2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>
3357
3358         * src/roff/grog/subs.pl: Adjust for first lines with non-preproc
3359         and not-tmac names to be ignored.
3360
3361 2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>
3362
3363         * src/roff/grog/grog.pl, src/roff/grog/subs.pl: Add new first line
3364         of roff files with the names of the needed preprocessors and the
3365         actual tmac, see 2014-06-17 Ulrich Lauther.  Replace the
3366         word `ideal' by `gideal', when the preprocessor is meant.
3367
3368 2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>
3369
3370         * src/roff/grog/Makefile.sub: Add $(RM).
3371
3372         * src/roff/grog/grog.pl: Remove call to perl_test.pl.  `require
3373         5.6;' is enough as Perl test.
3374
3375         * src/roff/grog/perl_test.pl: Remove this file.
3376
3377 2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>
3378
3379         * ChangeLog: Add Emacs-mode and a separator for the license.
3380
3381 2014-06-17  Ulrich Lauther  <ulrich.lauther@t-online.de>
3382
3383         * grog: Invent new first comment line of roff files with long
3384         names of needed preprocessors and the tmac.
3385
3386 2014-06-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3387
3388         * src/roff/grog/subs.pl: Correct handling of option `-J' for
3389         ideal.
3390
3391 2014-06-17  Bernd Warken  <groff-bernd.warken-72@web.de>
3392
3393         * src/roff/groff/groff.cpp, src/roff/groff/pipeline.h,
3394         * src/roff/grog/subs.pl: Add `groff' option `-J' for `gideal'.
3395
3396 2014-06-16  Bernd Warken  <groff-bernd.warken-72@web.de>
3397
3398         * src/roff/grog/subs.pl: Remove too early listing of 3 `groff'
3399         preprocessors options: gideal, glilypond, gperl.
3400
3401 2014-06-16  Bernd Warken  <groff-bernd.warken-72@web.de>
3402
3403         * contrib/gideal: New project for installing `ideal' for `groff'.
3404
3405         * Makefile.in: Add `gideal' for `OTHERDIRS'.
3406
3407 2014-06-15  Bernd Warken  <groff-bernd.warken-72@web.de>
3408
3409         * src/roff/grog/grog.pl, src/roff/grog/subs.pl: Repair argument
3410         handling for output `groff' line.
3411
3412 2014-06-15  Bernd Warken  <groff-bernd.warken-72@web.de>
3413
3414         * src/roff/grog/grog.pl, src/roff/grog/grog.man: Correct and add
3415         the documentation for filespec options.
3416
3417 2014-06-14  Bernd Warken  <groff-bernd.warken-72@web.de>
3418
3419         * src/roff/grog/subs.pl: Activate handling of `--run', such that
3420         now the generated `groff' command line can run.
3421
3422 2014-06-14  Bernd Warken  <groff-bernd.warken-72@web.de>
3423
3424         * src/roff/grog/subs.pl: Repair handling of filespec arguments.
3425
3426 2014-06-12  Bernd Warken  <groff-bernd.warken-72@web.de>
3427
3428         * src/roff/grog/grog.pl, src/roff/grog/subs.pl: Add testing
3429         methods of Ralph Corderoy's `grog.sh' of 2006.  Add primary usage
3430         of file name extensions.
3431
3432 2014-06-10  Bernd Warken  <groff-bernd.warken-72@web.de>
3433
3434         * src/roff/grog/grog.pl: Totally rewrite the `grog' version,
3435         starting at the last stable version.  Write many parts as `sub'
3436         functions.
3437
3438         * src/roff/grog/subs.pl: New file by splitting the src file
3439         `grog.pl', such that all functions get into the new file
3440         `subs.pl'.
3441
3442         * src/roff/grog/Makefile.sub: Add file `subs.pl', which goes into
3443         the `grog' libdir.
3444
3445 2014-06-03  James Cloos  <cloos@jhcloos.com>
3446
3447         * src/roff/grog/grog.pl: The errors with `ligatures' come also
3448         from `TeX GYRE' fonts.  Print this information, when `grog' should
3449         work with the `pdf' device.
3450
3451 2014-06-02  Bernd Warken  <groff-bernd.warken-72@web.de>
3452
3453         * src/roff/grog/grog.pl: The `grog' version of yesterday has many
3454         bugs.  So reinstall an old version of `grog'.
3455
3456 2014-06-01  Bernd Warken  <groff-bernd.warken-72@web.de>
3457
3458         * src/roff/grog/Makefile.sub: Remove changing of first line
3459         `#! ...'.
3460
3461 2014-06-01  Bernd Warken  <groff-bernd.warken-72@web.de>
3462
3463         * src/roff/grog/grog.pl: Remove `$Sp' mostly.  Reorder script.
3464         Check and repair requests.  Add final character `$' to many
3465         checked requests.
3466
3467 2014-06-01  Bernd Warken  <groff-bernd.warken-72@web.de>
3468
3469         * man/roff.man: Move .TH at the beginning.
3470
3471 2014-05-29  Bernd Warken  <groff-bernd.warken-72@web.de>
3472
3473         * man/groff.man: In special characters, add the mentioning of the
3474         `groff' writing `\[xy]'.
3475
3476 2014-05-27  Bernd Warken  <groff-bernd.warken-72@web.de>
3477
3478         * man/groff_char.man: Finish notes in all tables.
3479
3480 2014-05-26  Bernd Warken  <groff-bernd.warken-72@web.de>
3481
3482         * man/groff_char.man: Add notes in some tables, more will come.
3483
3484 2014-05-26  Bernd Warken  <groff-bernd.warken-72@web.de>
3485
3486         * src/roff/grog/grog.pl: Add further first line characters for
3487         single character `groff' options.
3488
3489         * src/roff/grog/grog.man: make generated options more readable.
3490
3491 2014-05-26  Bernd Warken  <groff-bernd.warken-72@web.de>
3492
3493         * src/roff/grog/grog.pl: Add detection of `.\" [eprt]' as first
3494         line to `grog'.  Change usage of `$Sp' to reasonable efforts in
3495         `groff'.
3496
3497         * src/roff/grog/grog.man, man/groff_char.man: Add website for
3498         license text, not only the postal address.
3499
3500 2014-04-03  Steffen Nurpmeso  <sdaoden@yandex.com>
3501
3502         * */Makefile.*: Path quoting fixes, whitespace, formatting.
3503
3504         Remove many quotes (and introduce a few as additional guards)
3505         since groff's build system is generally not set up to properly
3506         handle paths that need quoting.
3507
3508 2014-04-03  Steffen Nurpmeso  <sdaoden@yandex.com>
3509
3510         * Makefile.comm (extraclean): Don't delete `old'.
3511
3512         The rule calling `rm -f' was originally thought to remove private,
3513         temporary files.  However, we now have a subdirectory called `old'
3514         in `fonts/devps' that may not be removed, and trying so now causes
3515         an error because we no longer ignore the returned error code of
3516         `rm'.
3517
3518 2014-04-03  Steffen Nurpmeso  <sdaoden@yandex.com>
3519
3520         * Makefile.in (OTHERDIRS): Fix directory order.
3521
3522         This has been accidentally broken in commit 51476bee from
3523         2014-02-25.
3524
3525 2014-04-03  Steffen Nurpmeso  <sdaoden@yandex.com>
3526
3527         * src/devices/gropdf/pdfmom.pl: Fix perl(1) warning.
3528
3529 2014-03-30  Werner LEMBERG  <wl@gnu.org>
3530
3531         * configure: Regenerated.
3532
3533 2014-03-30  Steffen Nurpmeso  <sdaoden@yandex.com>
3534
3535         * */Makefile.*: Put straight error-prevention prefixes for `rm'.
3536
3537 2014-03-30  Steffen Nurpmeso  <sdaoden@yandex.com>
3538
3539         `uninstall' target: Avoid spurious and misleading error messages.
3540
3541         * Makefile.comm (uninstall_dev): Improve.
3542
3543         * font/devpdf/Makefile.sub (install_data): Remove superfluous `rm'.
3544         (uninstall_sub): Improve.
3545
3546         * src/roff/groff/Makefile.sub (uninstall_sub): Fix.
3547
3548 2014-03-30  Steffen Nurpmeso  <sdaoden@yandex.com>
3549
3550         Fixes for `uninstall' target.
3551
3552         * Makefile.in (uninstall_dirs): Use `DESTDIR'.
3553
3554         * src/libs/libgroff/Makefile.sub (uninstall_charset_data): Typo.
3555
3556         * src/roff/groff/Makefile.sub (uninstall_sub): Typo.
3557
3558         * src/roff/grog/Makefile.sub (uninstall_sub): Minor.
3559
3560 2014-03-30  Steffen Nurpmeso  <sdaoden@yandex.com>
3561
3562         * src/roff/grog/Makefile.sub (install_data): Typo.
3563
3564 2014-03-29  Steffen Nurpmeso  <sdaoden@yandex.com>
3565
3566         Add fine-tuning of doc generation to `configure'.
3567
3568         * m4/groff.m4 (GROFF_DOC_CHECK): New macro, handling option
3569         `--with-doc' and its new arguments.  It sets
3570         `docadd_{html,info,other,pdf,examples}' and exports
3571         `make{_,_install_,_uninstall_}{otherdoc,examples}'.
3572         (GROFF_MAKEINFO): Extended to export
3573         `make{_,_install_,_uninstall_}infodoc'.
3574         (GROFF_HTML_PROGRAMS): Extended to export
3575         `make{_,_install_,_uninstall_}{htmldoc,htmlexamples}'.
3576         (GROFF_PDFDOC_PROGRAMS): Extended to export
3577         `make{_,_install_,_uninstall_}{pdfdoc,pdfexamples}'.
3578         (GROFF_INSTALL_INFO): Guard test with `docadd_info'.
3579
3580         * configure.ac: Use GROFF_DOC_CHECK.
3581         * Makefile.in: Updated.
3582
3583         * doc/Makefile.sub: Handle examples separately, controlled by
3584         $(make{_,_install_,_uninstall_}examples).
3585
3586 2014-03-27  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
3587
3588         * tmac/www.tmac (TAG): Define register `PN'.
3589
3590 2014-03-27  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
3591
3592         * tmac/an-ext.tmac (EX, EE): Preserve font family.
3593
3594 2014-03-17  Werner LEMBERG  <wl@gnu.org>
3595
3596         * src/preproc/eqn/box.cpp (set_script_size): Fix minimum test.
3597
3598         Problem reported by Ted Harding <ted.harding@wlandres.net> in a
3599         thread starting with
3600
3601         http://lists.gnu.org/archive/html/groff/2014-03/msg00181.html
3602
3603 2014-03-16  Werner LEMBERG  <wl@gnu.org>
3604
3605         Fix previous commit.
3606
3607         Problem reported (with a patch) by Ingo Schwarze
3608         <schwarze@openbsd.org>.
3609
3610         * doc/Makefile.sub (groff_bin_dirs): Add `preconv'.
3611
3612         * doc/Makefile.in (groff_bin_dirs): Add `preconv'.
3613         (.me.txt): Call preconv.  Use UTF8 as output encoding.
3614         (.me.ps): Call preconv.
3615
3616 2014-03-14  Werner LEMBERG  <wl@gnu.org>
3617
3618         [me] Add translation of `meintro.me' to French.
3619
3620         Contributed by Grégoire Babey <gibux@gmx.ch>.
3621
3622         * doc/meintro_fr.me: New file.
3623         * LICENSES, doc/Makefile.sub: Updated.
3624
3625 2014-03-13  Ingo Schwarze  <schwarze@openbsd.org> (tiny change)
3626
3627         man: Correctly reset margins.
3628
3629         See
3630
3631         http://lists.gnu.org/archive/html/groff/2013-11/msg00026.html
3632
3633         for more.
3634
3635         * tmac/an-old.tmac (set-an-margin): Whenever (re)setting
3636         `\n[an-level]' to 1 (which happens when encountering `.TH', `.SH',
3637         and `.SS') make sure to also (re)set `\n[an-saved-margin1]' and
3638         `\n[an-saved-prevailing-indent1]' to a sane value such that an
3639         immediate `.RE' cannot wreak havoc.
3640         (TH, SH, SS): Updated.
3641
3642 2014-03-11  Ingo Schwarze  <schwarze@openbsd.org> (tiny change)
3643
3644         * Makefile.in: Do not forget to install gropdf manuals.
3645
3646         This got broken in 290eaaac6cfc33856cd683838accc72ccf3e5a84:
3647         src/devices/gropdf was split out of OTHERDIRS into SHPROGDIRS, and
3648         consequently, Makefile.man was no longer used there.  Note that
3649         Makefile.dev is *not* needed, even though it's below /devices/.
3650
3651 2014-03-11  Ingo Schwarze  <schwarze@openbsd.org> (tiny change)
3652
3653         * src/roff/groff/Makefile.sub: POSIX conformance.
3654
3655         - POSIX says that the meaning of the make(1) `$<' macro shall be
3656            unspecified except in inference rules.  Consequently, use `$?'
3657            for portability.
3658
3659            That's safe because the rules have only one prerequisite and
3660            are not `.PHONY', so `$?' will always expand to one item.
3661
3662         - While here, clean up two instances of superfluous use of cat(1).
3663
3664 2014-03-11  Ingo Schwarze  <schwarze@openbsd.org> (tiny change)
3665
3666         * Makefile.in (dist): Improve.
3667
3668         - Bugfix: Do not error out if one of the DISTDIRS
3669            contains a subdirectory.
3670         - Make debugging easier by splitting the huge "cd tmp; ...; ..."
3671            command sequence into several independent shell commands,
3672            such that one can see which command actually fails.
3673
3674 2014-03-06  Deri James  <deri@chuzzlewit.myzen.co.uk>
3675
3676         Missing RE escape in grep.
3677
3678         * src/devices/gropdf/pdfmom.pl: Escape '\' dot in grep RE.
3679
3680 2014-02-26  Bernd Warken  <groff-bernd.warken-72@web.de>
3681
3682         * src/roff/grog/grog.pl: Add detection of `gperl' to `grog'.
3683
3684 2014-02-25  Bernd Warken  <groff-bernd.warken-72@web.de>
3685
3686         * contrib/gperl: New preprocessor for Perl parts in groff files.
3687
3688 2014-02-15  Ingo Schwarze  <schwarze@openbsd.org>
3689
3690         * tmac/groff_mdoc.man: Improve the manual page template.
3691
3692          - Add the EXIT STATUS section.  It is widely used in at least
3693            NetBSD, FreeBSD, OpenBSD, and DragonFly manuals.
3694          - Recommend the DIAGNOSTICS section for section 4 manuals.  Such
3695            usage is very widespread, in particular for kernel printf
3696            messages emitted by device drivers.
3697          - Do not recommend the DIAGNOSTICS section for command return
3698            values to the shell any longer.  While such usage historically
3699            existed, it does not seem common nowadays, and in any case, using
3700            the now well-established EXIT STATUS section seems preferable to
3701            me.
3702          - Mention the possibility to use ERRORS for section 4 manuals.
3703            While most section 4 manuals have a DIAGNOSTICS section, only
3704            some will need an ERRORS section, but these cases aren't exactly
3705            rare, either.  Quite some device driver manuals explain how to
3706            use the device using system calls like ioctl(2), open(2), read(2)
3707            or write(2), in which case the ERRORS section is the natural
3708            place to explain which errno values the driver may set during
3709            such system calls.
3710          - Mentioning signal handling as a content of the ERRORS section
3711            seems redundant, it is already covered by talking about the
3712            errno.  The case of errno == EINTR should be handled just like
3713            all other errno cases.  For an example showing that there is no
3714            need to single out error handling in any way, please look at a
3715            typical read(2) manual page.
3716          - Mention the CAVEATS section.  It first appeared in the 4.2BSD
3717            execve(2) manual in 1983, was already used by several manuals by
3718            the time of 4.4BSD-Lite2 in 1995, and is in whidespread use
3719            today, not just in BSD base system manuals, but for example in
3720            Perl manuals as well.
3721
3722 2014-02-14  Bernd Warken  <groff-bernd.warken-72@web.de>
3723
3724         * src/roff/grog/grog.pl: Add detection of glilypond-parts in groff
3725         files.  For example `grog example.groff' from the glilypond source
3726         gets `glilypond example.groff | groff'.
3727
3728 2014-02-12  Bernd Warken  <groff-bernd.warken-72@web.de>
3729
3730         * src/roff/grog/grog.pl: With the former bugfix of 2014-02-12,
3731         it's now possible to run `grog meref.me' etc., which wasn't
3732         possible before.  That addition of the macro handling was
3733         necessary for the automatic for `groffer'.
3734
3735 2014-02-12  Bernd Warken  <groff-bernd.warken-72@web.de>
3736
3737         * src/roff/grog/grog.pl: Add handling of macro definition and fix
3738         problems with @VERSION@.
3739
3740 2014-02-12  Rich Burridge  <rich.burridge@oracle.com>
3741
3742         [grn] Prevent crash if more than 50 command line arguments.
3743
3744         * src/preproc/grn/main.cpp (INIT_FILE_SIZE, FILE_SIZE_INCR): New
3745         macros.
3746         (add_file): New function.
3747         (main): Use it to add file arguments.
3748
3749 2014-01-29  Ulrich Spörlein  <uqs@FreeBSD.org>
3750
3751         * tmac/doc-common: Add even more DragonFlyBSD releases.
3752
3753 2014-01-28  Ulrich Spörlein  <uqs@FreeBSD.org>
3754
3755         * tmac/doc-common: Add some new *BSD version strings.
3756
3757 2014-01-06  Bernd Warken  <groff-bernd.warken-72@web.de>
3758
3759         * man/roff.man: Add information of new archives for RUNOFF and
3760         roff_classical.
3761
3762         * Makefile.in: Replace `contrib/RUNOFF' by
3763         `contrib/groff_filenames'.
3764
3765 2014-01-05  Bernd Warken  <groff-bernd.warken-72@web.de>
3766             Werner LEMBERG  <wl@gnu.org>
3767
3768         * groff/tmac/groff_man.man: Minor typos, formatting, reordering.
3769
3770 2014-01-05  Werner LEMBERG  <wl@gnu.org>
3771
3772         Revert recent changes to `an-ext.tmac' and `groff_man.man'.
3773
3774         * groff/tmac/an-ext.tmac (.FONT): Remove.  This doesn't belong into
3775         this file.
3776
3777         * groff/tmac/groff_man.man: Reset to state previous to 2014-01-04.
3778         Useful changes will be re-committed in smaller, logical chunks.
3779
3780 2014-01-05  Bernd Warken  <groff-bernd.warken-72@web.de>
3781
3782         * groff/tmac/an-ext.tmac: in .FONT change variable name `result'
3783         to `an_ext_FONT_result'.
3784
3785 2014-01-04  Bernd Warken  <groff-bernd.warken-72@web.de>
3786
3787         * groff/tmac/an-ext.tmac: add new request .FONT for using
3788         different font names on a single line.
3789
3790         * groff/tmac/groff_man.man: put under GPL2, reordered and enhanced.
3791
3792 2014-01-02  Deri James  <deri@chuzzlewit.myzen.co.uk>
3793
3794         * src/devices/gropdf/gropdf.pl: gropdf use to fail when handling
3795         output from preconv, now works.
3796
3797         * src/devices/gropdf/pdfmom.pl: can now be used as a pipeline, and
3798         improvements made to its switch handling and use with preconv.
3799
3800         * tmac/pdf.tmac: changes to support preconv.
3801
3802 2014-01-02  Colin Watson  <cjwatson@debian.org>
3803
3804         * font/devascii/Makefile.sub ($(FONTS)): Convert extended regex
3805         syntax to basic for sed.
3806         * font/devcp1047/Makefile.sub ($(FONTS)): Likewise.
3807         * font/devhtml/Makefile.sub ($(FONTS)): Likewise.
3808         * font/devlatin1/Makefile.sub ($(FONTS)): Likewise.
3809         * font/devutf8/Makefile.sub ($(FONTS)): Likewise.
3810
3811 2013-12-23  Bernd Warken  <groff-bernd.warken-72@web.de>
3812
3813         * groff/src/roff/groff/groff.cpp: add groff option `-G' to the
3814         documentation in `synopsis()'.
3815
3816 2013-12-06  Mike Frysinger  <vapier@gentoo.org>
3817
3818         Fix parallel build with gropdf and mom examples.
3819
3820         The `contrib/mom/examples/' directory uses the helper script from
3821         `src/devices/gropdf/'.  Currently though, parallel builds might fail
3822         like so:
3823
3824           ...
3825           make[2]: Entering directory `.../groff-1.22.2/contrib/mom'
3826           <groff command> examples/letter.mom >examples/letter.pdf
3827           <groff command> examples/mom-pdf.mom >examples/mom-pdf.pdf
3828           /bin/sh: .../groff-1.22.2/src/devices/gropdf/pdfmom: No such file or directory
3829           make[2]: *** [examples/letter.pdf] Error 127
3830           /bin/sh: .../groff-1.22.2/src/devices/gropdf/pdfmom: No such file or directory
3831           make[2]: *** [examples/mom-pdf.pdf] Error 127
3832           make[2]: Leaving directory `.../groff-1.22.2/contrib/mom'
3833           make[1]: *** [contrib/mom] Error 2
3834           ...
3835           make[2]: Entering directory `.../groff-1.22.2/src/devices/gropdf'
3836           sed -f .../groff-1.22.2/arch/misc/shdeps.sed \
3837               -e "s|@VERSION@|1.22.2|" \
3838               -e "s|@PERLPATH@|/usr/bin/perl|" ./pdfmom.pl >pdfmom
3839
3840         The top level makefile tries to account for this in general with
3841         OTHERDIRS, but looks like `src/devices/gropdf/' was added to this
3842         variable (which holds `contrib/mom/' too) because gropdf installs a
3843         shell script, and the other prog vars require it to be a dir of
3844         things to compile.
3845
3846           URL: http://crbug.com/324116
3847           URL: https://bugs.gentoo.org/487276
3848
3849         * Makefile.in (SHPROGDIRS): Declare.
3850         (PROGDIRS): Add $(SHPROGDIRS).
3851         (OTHERDIRS): Delete src/devices/gropdf.
3852         ($(SHPROGDIRS):): Add to existing rule.
3853         ($(OTHERDIRS):): Depend on $(SHPROGDIRS).
3854
3855 2013-12-08  Eric S. Raymond  <esr@thyrsus.com>
3856
3857         Repository fully converted to git.
3858
3859 2013-11-21  Werner LEMBERG  <wl@gnu.org>
3860
3861         * config.guess, config.sub: Updated from `config' repository.
3862
3863 2013-11-06  Werner LEMBERG  <wl@gnu.org>
3864
3865         * src/libs/libgroff/tmpname.cpp (gen_tempname): Use O_BINARY.
3866
3867         Problem reported by Charlie Van Dien <charlie@vandien.com>; see
3868
3869           http://lists.gnu.org/archive/html/groff/2013-10/msg00006.html
3870
3871 2013-11-06  Werner LEMBERG  <wl@gnu.org>
3872
3873         * Makefile.comm (.man.n): Use C locale.
3874
3875         Problem reported by Petr Man <petr@madnetwork.org>; fix suggested by
3876         Ralph Corderoy <ralph@inputplus.co.uk>.
3877
3878 2013-07-24  Ingo Schwarze  <schwarze@openbsd.org>
3879
3880         [mdoc] Implement `.%C'.
3881
3882         * tmac/doc.tmac, tmac/doc-common: Do it.
3883         * tmac/groff_mdoc.man: Updated.
3884
3885 2013-07-31  Deri James  <deri@chuzzlewit.myzen.co.uk>
3886
3887         Fix overprinting issue with Acrobat reader.
3888
3889         Problem reported by Heinz-Jürgen Oertel <hj.oertel@t-online.de>.
3890
3891         * src/devices/gropdf/gropdf.pl (do_t, FindChar): Use ascii octal
3892         notation (i.e., \015) when outputting characters with value < 32.
3893         This fixes a bug which affected acroread when control-M (cr) was
3894         embedded in a text string.
3895
3896 2013-07-16  Werner LEMBERG  <wl@gnu.org>
3897
3898         * tmac/fallbacks.tmac: Make it work in compatibility mode.
3899
3900         Problem reported by Y T <doarhop@hotmail.com>.
3901
3902 2013-07-16  Werner LEMBERG  <wl@gnu.org>
3903
3904         * src/roff/grog/Makefile.sub (install_data, uninstall_sub): Typos.
3905
3906 2013-07-16  Werner LEMBERG  <wl@gnu.org>
3907
3908         * Makefile.in (GREP, MDEFINES): Define and use plain grep.
3909
3910         Necessary for Bernd's code to extract groff options.
3911
3912 2013-07-16  Ingo Schwarze  <schwarze@openbsd.org>
3913
3914         * tmac/an-old.tmac (TP): Do not clobber line length after double
3915         call to `.TP'.
3916
3917 2013-07-02  Colin Watson  <cjwatson@debian.org>
3918
3919         * doc/groff.texinfo: Fix syntax error in documentation of `\z'.
3920
3921 2013-07-02  Colin Watson  <cjwatson@debian.org>
3922
3923         * src/devices/grolbp/lbp.cpp (main): Don't write trailer if no
3924         printer was created.
3925
3926 2013-06-19  Eric S. Raymond  <esr@thyrsus.com>
3927
3928         * src/utils/lkbib/lbib.man: Move running text out of synopsis.
3929
3930 2013-05-06  Bernd Warken  <groff-bernd.warken-72@web.de>
3931
3932         * src/roff/groff/Makefile.sub: Replace `cpp' by `groff.cpp'.
3933
3934 2013-05-06  Bernd Warken  <groff-bernd.warken-72@web.de>
3935
3936         * Makefile.in: Add new `contrib' directory `RUNOFF'.
3937
3938 2013-05-01  Bernd Warken  <groff-bernd.warken-72@web.de>
3939
3940         * src/roff/groff/Makefile.sub: Remove all `.PHONY:' lines.
3941
3942 2013-04-30  Bernd Warken  <groff-bernd.warken-72@web.de>
3943
3944         * src/roff/groff/Makefile.sub: Replace `egrep' by `$(GREP)'.
3945         commands.  Don't use $(CCSRCS) any more.
3946
3947 2013-04-30  Bernd Warken  <groff-bernd.warken-72@web.de>
3948
3949         * Makefile.in, m4/groff.m4: Add `@libprogramdir@' and
3950         `$libprogramdir' (usually `/usr/local/lib/groff').  Change
3951         `$libdir/groff' into $libprogramdir for several `groff' programs.
3952         Run `autoreconf -I m4'.
3953
3954         * src/roff/groff/MAkefile.sub: Add $(DESTDIR) and $(srcdir) in
3955         order to support installation outside of source code.
3956
3957         * contrib/glilypond/Makefile.sub, contrib/glilypond/glilypond.pl:
3958         Correct the install directories.
3959
3960 2013-04-29  Bernd Warken  <groff-bernd.warken-72@web.de>
3961
3962         * src/roff/groff/Makefile.sub: Replace some variables by shell
3963         commands.  Improve the output for the `make' runs.
3964
3965 2013-04-28  Bernd Warken  <groff-bernd.warken-72@web.de>
3966
3967         * src/roff/groff/Makefile.sub: Make this Makefile compatible.
3968
3969 2013-04-28  Bernd Warken  <groff-bernd.warken-72@web.de>
3970 2013-04-28  Werner LEMBERG  <wl@gnu.org>
3971
3972         * src/roff/groff/Makefile.sub: Use `make' variables to get
3973         `groff' options from `getopt' in `groff.cpp'.  Create 2 files
3974         `groff_opts_no_arg.txt' and `groff_opts_with_arg.txt'.
3975
3976 2013-04-26  Bernd Warken  <groff-bernd.warken-72@web.de>
3977
3978         * src/roff/groff/read_groff_options.pl: Remove this file.  It's
3979         no longer needed.
3980
3981         * src/roff/groff/Makefile.sub: Get the `groff' options from the
3982         use of `getopt...' in `groff.cpp' using `$(EGREP)' and `sed'.
3983         Store this information in a new file `groff_options.txt', which
3984         is copied to `groff libdir' during the installation.
3985
3986 2013-04-26  Werner LEMBERG  <wl@gnu.org>
3987
3988         Various minor fixes.
3989
3990         * INSTALL.gen: Take the newest version from the `gnulib'
3991         repository.
3992
3993         * configure: Regenerated.
3994
3995 2013-04-26  Bernd Warken  <groff-bernd.warken-72@web.de>
3996
3997         * INSTALL.gen: Restore an older version from `2006' in
3998         `groff-1.21'.
3999
4000         * FOR-RELEASE: New file which describes how to prepare `groff'
4001         for a new release.
4002
4003 2013-04-26  Bernd Warken  <groff-bernd.warken-72@web.de>
4004
4005         * src/roff/groff/read_groff_options.pl: Reads `groff' options
4006         from `groff.cpp' and writes them into the file `groff_options.info'.
4007
4008         * src/roff/groff/Makefile.sub: Have the generated file
4009         `groff_options.info' be installed into the `groff libdir'.
4010
4011 2013-04-16  Bernd Warken  <groff-bernd.warken-72@web.de>
4012
4013         * INSTALL.gen: Replace this file by the daily `git' version of
4014         `automake' `INSTALL' file.
4015
4016         * INSTALL.autotools: Remove file.
4017
4018         * INSTALL.CVS: New file, moved from `INSTALL.autotools'.
4019
4020         * m4/ax_prog_perl_version.m4: New file, taken from package
4021         `autoconf-archive-2013.04.06'.
4022
4023         * m4/groff.m4: Remove unnecessary blank line.
4024
4025         * Makefile.in: Add `$(PERLVERSION)'.
4026
4027         * aclocal.m4: Run `autoreconf -I m4' (this includes
4028         `aclocal -I m4').  This creates a suitable `aclocal.m4'.  Remove
4029         generated subdirectory `autom4te.cache'.
4030
4031         * src/roff/grog/Makefile.sub: Correct `sed' command.  Use `tabs'
4032         that are needed by `GNU make'.
4033
4034 2013-04-16  Bernd Warken  <groff-bernd.warken-72@web.de>
4035
4036         * Makefile.sub: Add `m4/ax_compare_version.m4'.
4037
4038         * aclocal.m4: Run the latest `aclocal -I m4' which generates a
4039         suitable content in that file.
4040
4041         * INSTALL.autotools: Information of the usage of `GNU autotools'
4042         with `groff'.
4043
4044         * INSTALL.gen: Move `autotool' parts to file `INSTALL.autotools'.
4045
4046 2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>
4047
4048         * m4/groff.m4: Replace tabs by spaces.  Use a double line between
4049         AC_DEFUNs.
4050
4051 2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>
4052
4053         In the whole `groff' system, rename autoconf variable `$PERLPATH'
4054         to `$PERL', which has the same content.  But `$PERL' suits to
4055         `AX_PROG_PERL_VERSION' in m4 macro `GROFF_PERL' in `m4/groff.m4'.
4056
4057         * src/utils/afmtodit/Makefile.sub,
4058         * src/devices/gropdf/gropdf.pl,
4059         * src/devices/gropdf/Makefile.sub,
4060         * src/devices/gropdf/pdfmom.pl,
4061         * arch/djgpp/config.site,
4062         * font/devpdf/Makefile.sub,
4063         * contrib/mm/Makefile.sub,
4064         * m4/groff.m4,
4065         * Makefile.in: Replace `$PERLPATH' by `$PERL'.
4066
4067         * m4/ax_compare_version.m4: New file, copied from daily version of
4068         `GNU autoconf-archive'.
4069
4070         `autoconf' was not yet run, a newer version is needed.
4071
4072 2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>
4073
4074         * README, INSTALL, INSTALL.gen, MANIFEST: Add documentation in the
4075         top directory about some parts of `autotools' and `glilypond'.
4076
4077 2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>
4078
4079         * configure.ac: Add information of the macro `GROFF_PERL'.
4080
4081         * Makefile.in: Add definitions of the macro variables and their
4082         `@...@' counterparts.
4083
4084         Run `autoreconf -I m4'.
4085
4086 2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>
4087 2013-04-15  Werner LEMBERG  <wl@gnu.org>
4088 2013-04-15  Ralph Carderoy  <ralph@inputplus.co.uk>
4089
4090         Add Perl test to configuration.  During the run of `configure' the
4091         program is broken with error when there is no `Perl' or the `perl'
4092         program is too old.
4093
4094         * m4/groff.m4: Add macro `GROFF_PERL' that tests the availability
4095         of the `perl' program and tests wether this has a version of at
4096         most `v5.6.1'.  Define variables $PERL and $PERLPATH for the full
4097         name of the `perl' program and $PERLVERSION as the lest version.
4098
4099 2013-04-13  Keith Marshall  <keithmarshall@users.sourceforge.net>
4100
4101         Avoid consideration of autotool cache for CVS inclusion.
4102
4103         * .cvsignore (autom4te.cache): Add reference.
4104
4105 2013-04-13  Bernd Warken  <groff-bernd.warken-72@web.de>
4106
4107         * `autotools': During the run of `autoconf' and `autoreconf' a
4108         subdirectory `autom4te.cache' was created.  I first added this to
4109         groff CVS and removed it again after an email-discussion.
4110
4111 2013-04-12  Bernd Warken  <groff-bernd.warken-72@web.de>
4112
4113         * `grog': Remove the shell version of `grog'.  Now there is only
4114         Perl version.
4115
4116         * src/roff/grog/perl.sh: Remove this file.
4117
4118         * src/roff/grog/Makefile.sub: This file handles the removement of
4119         the shell version.
4120
4121         * src/roff/grog/perl_test.pl: New file for testing the available
4122         Perl version in the system to be installed into.  This file will
4123         be installed into the grog lib-directory.
4124
4125 2013-04-12  Bernd Warken  <groff-bernd.warken-72@web.de>
4126
4127         * `grog': In the following, the file `grog.pl' will be split.  For
4128         the coming files, a lib-directory is needed for storage.
4129
4130         * m4/groff.m4, configure.ac: Add libdir information for `grog'.
4131
4132         * Makefile.in: Add @grog_dir@.
4133
4134         Run `autoconf'.
4135
4136         `grog' has now a lib-directory at `$prefix/lib/groff/grog'.
4137
4138 2013-04-11  Bernd Warken  <groff-bernd.warken-72@web.de>
4139
4140         * contrib/groffer/: There is a free `git' package containing all
4141         old `groffer' versions `v0.*' and `v1.*'.  The new versions
4142         `groffer 2.*' will actually not be included.  This package can be
4143         got at:
4144
4145         $ git clone git@github.com:RUNOFF/groffer.git
4146
4147 2013-04-11  Bernd Warken  <groff-bernd.warken-72@web.de>
4148
4149         * contrib/glilypond/: There is a free `git' package containing all
4150         old versions of the former name `groff_lilypond v0.*'.  They work
4151         with `lilypond' parts in `roff' files, but were not installed.
4152         This package can be got at:
4153
4154         $ git clone git@github.com:RUNOFF/groff_lilypond.git
4155
4156         The new versions `glilypond v1.*' are not included there.
4157
4158 2013-04-11  Bernd Warken  <groff-bernd.warken-72@web.de>
4159
4160         * man/roff.man: For roff(7), add information about the free git
4161         package RUNOFF.git with documentation about historical RUNOFF and
4162         the available files written in the classical RUNOFF language..
4163
4164 2013-03-29  Bernd Warken  <groff-bernd.warken-72@web.de>
4165
4166         Rename `groff_lilypond' to `glilypond'.  So remove the former
4167         source directory `<groff_src_dir>/contrib/lilypond' and newly
4168         install `<groff_src_dir>/contrib/glilypond', which now has many
4169         files.  The new version starts at `v1.0'.
4170
4171         * m4/groff.m4, configure.ac: Add libdir information for
4172         `glilypond'.
4173
4174         * Makefile.in: Add `<groff_src_dir>/contrib/glilypond'.
4175
4176         Run `autoconf'.
4177
4178         `glilypond' can now be installed to the system.
4179
4180 2013-03-17  Ingo Schwarze  <schwarze@openbsd.org>
4181
4182         * font/devpdf/Makefile.sub: Build system fixes.
4183
4184         (GROFF_FONT_FILES): Avoid installing Makefile.sub.orig when it's
4185         around.
4186         (install): Create $(DESTDIR)$(fontsubdir)/util when missing.
4187
4188 2013-03-05  Werner LEMBERG  <wl@gnu.org>
4189
4190         * doc/groff.texinfo: Improve documentation of `\s'.
4191
4192         Reported by Jim Avera <james_avera@yahoo.com>.
4193
4194 2013-02-16  Werner LEMBERG  <wl@gnu.org>
4195
4196         * doc/groff.texinfo: Improve documentation of `.substring'.
4197
4198         Reported by Jim Avera <james_avera@yahoo.com>.
4199
4200 2013-02-13  Werner LEMBERG  <wl@gnu.org>
4201
4202         * doc/groff.texinfo: Fix if-else example.
4203
4204         Reported by Jim Avera <james_avera@yahoo.com>.
4205
4206 2013-02-10  Werner LEMBERG  <wl@gnu.org>
4207
4208         [grops] Make binary `%%BeginData' work; support `fontset' resource.
4209
4210         * src/devices/grops/psrm.cpp (resource_table): Add `fontset'.
4211
4212         (resource_manager::read_resource_arg): Do a case insensitive
4213         comparison.  The PostScript Reference Manual gives the following
4214         example for a CFF resource (example 5.7):
4215
4216         %!PS-Adobe-3.0 Resource-FontSet
4217         %%DocumentNeedResources: ProcSet (FontSetInit)
4218         %%Title: (FontSet/CFFRoman27)
4219         %%Version: 1.000
4220         %%EndComments
4221         %%IncludeResource: ProcSet (FontSetInit)
4222         %%BeginResource: FontSet (CFFRoman27)
4223         /FontSetInit /ProcSet findresource begin
4224         %%BeginData: 622532 Binary Bytes
4225         /CFFRoman27 622503 StartData
4226         ... 622,503 bytes of binary data ...
4227         %%EndData
4228         %%EndResource
4229         %%EOF
4230
4231         Note the `ProcSet' and `FontSet' keywords.  While the old DSC
4232         (Document Structure Convention) documentation doesn't cover
4233         `FontSet' at all (the DSC documentation predates the invention of
4234         CFF), it describes only `procset' (all letters downcase), and it
4235         also says that the DSC parser works in a case sensitive manner.
4236
4237         In other words, `ProcSet' is not valid according to the DSC
4238         documentation, only `procset' is.  So much about today's validity
4239         of DSC...  This patch adapts grops's code to the PostScript
4240         reality.
4241
4242         (resource_manager::do_begin_data): Fix typo (present since the
4243         beginning) which prevented correct handling of binary data.
4244
4245         * src/devices/grops/ps.h (resource_type): Add RESOURCE_FONTSET.
4246
4247 2013-02-10  Bernd Warken  <groff-bernd.warken-72@web.de>
4248
4249         * contrib/lilypond: New files for adding lilypond parts into groff
4250         files.
4251
4252 2013-02-07  Werner LEMBERG  <wl@gnu.org>
4253
4254 Version 1.22.2 released
4255 =======================
4256
4257         * NEWS, REVISION, doc/groff.texinfo, doc/webpage.ms: Updated.
4258
4259         * configure: Regenerated.
4260
4261         * doc/texinfo.tex: Updated from `texinfo' repository.
4262
4263         * src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
4264
4265 2013-02-07  Werner LEMBERG  <wl@gnu.org>
4266
4267         * src/libs/gnulib/*: Update `gnulib' files.
4268
4269 2013-02-02  Gilles Espinasse  <g.esp@free.fr>
4270
4271         [grohtml] Don't ignore return value of `dup'.
4272
4273         * src/preproc/html/pushback.cpp (pushBackBuffer::pushBackBuffer,
4274         pushBackBuffer::~pushBackBuffer): Abort if `dup' fails.
4275
4276 2013-01-30  Bernd Warken  <groff-bernd.warken-72@web.de>
4277
4278         * tmac/groff_man.man: Fix wrong connection for tbl(1).
4279
4280 2013-01-29  Werner LEMBERG  <wl@gnu.org>
4281
4282         * doc/groff.texinfo: Fix documentation of .LP macro in ms.
4283         Problem reported by Omari Norman <omari@smileystation.com>.
4284
4285 2013-01-29  Werner LEMBERG  <wl@gnu.org>
4286
4287         * doc/Makefile.sub (uninstall_sub): Handle `gnu.eps'.
4288
4289 2013-01-29  Werner LEMBERG  <wl@gnu.org>
4290
4291         Building clean-ups.
4292
4293         * Makefile.in: Use $(top_srcdir) where appropriate.
4294         * Makefile.sub (M4MACROS): Add `fcntl-o.m4' and `localcharset.m4'.
4295
4296         * font/devpdf/Makefile.sub (UTILFILES): Removed, unused.
4297         (MOSTLYCLEANADD): Add `BuildFoundries'.
4298         * src/devices/gropdf/Makefile.sub (MOSTLYCLEANADD): Add `pdfmom'.
4299
4300 2013-01-24  Bernd Warken  <groff-bernd.warken-72@web.de>
4301
4302         * Add a shell command to 'MANIFEST' that displays all man source
4303         files and their section.
4304
4305 2013-01-22  Bernd Warken  <groff-bernd.warken-72@web.de>
4306
4307         * Add email address in all files having the name.
4308
4309 2013-01-14  Deri James  <deri@chuzzlewit.myzen.co.uk>
4310
4311         * src/devices/gropdf/gropdf.pl (do_x, do_p, do_s, Set_LWidth): The
4312         grops driver defaults to round linecaps and linejoins, gropdf
4313         incorrectly used butt caps and miter joins.
4314
4315         (Since the MOM package expects to use butt caps and miter joins
4316         (emitting the necessary postscript code to change the caps and
4317         joins), gropdf now parses the same postscript commands.)
4318
4319         * src/devices/gropdf/gropdf.man: Document the handling of linecaps
4320         and linejoins.
4321
4322         * tmac/pdf.tmac (pdfbookmark): Fix bug where the current
4323         PDFOUTLINE.FOLDLEVEL may not be honoured if warnings of the type
4324
4325         macro warning: adjusted level n bookmark; should be <= n
4326
4327         Added copyright and mention debt owed to Keith Marshall for
4328         original `pdfmark.tmac', upon which `pdf.tmac' is largely based.
4329
4330         * font/devpdf/Foundry.in, font/devpdf/util/BuildFoundries.pl
4331         (LocateFile): The font for EURO had the wrong entry in the
4332         `download' file (it pointed to The font in the build directory,
4333         which is wrong).  It has always been permissable to include a path
4334         along with the font name in the Foundry file, but until now the
4335         font had to exist to be valid.  It is now permitted to start the
4336         path with an asterisk which tells BuildFoundry to use the
4337         path/filename in the download file without checking if the font
4338         exists.  This allows the font to be found in `../devps' even
4339         though it is not there during the build (if source and build are
4340         different), but will be there after the install.
4341
4342 2013-01-13  Werner LEMBERG  <wl@gnu.org>
4343
4344         [eqn] Fix display of matrices in nroff output.
4345
4346         Problem reported by Andy Spencer <andy753421@gmail.com>.
4347
4348         * src/preproc/eqn/pile.cpp (pile_box::compute_metrics,
4349         matrix_box::compute_metrics): Fix rounding.
4350
4351 2013-01-07  Deri James  <deri@chuzzlewit.myzen.co.uk>
4352
4353         * tmac/europs.tmac: Protect against missing fonts.
4354
4355 2013-01-07  Deri James  <deri@chuzzlewit.myzen.co.uk>
4356
4357         * font/devpdf/util/BuildFoundries.pl (LoadFoundry): Improve
4358         warning.
4359
4360 2013-01-07  Werner LEMBERG  <wl@gnu.org>
4361
4362         [tbl] Allow characters #, `, and ' as eqn delimiters.
4363
4364         While problems ` and ' have been unintentionally introduced rather
4365         recently, the limitation regarding # was there from the beginning.
4366
4367         At the same time, fix a small bug causing `.lf' requests not
4368         starting a line.
4369
4370         * src/preproc/tbl/table.cpp (table::init_output)
4371         (table::compute_expand_width, table::compute_separation_factor)
4372         (table::define_bottom_macro, table::do_bottom): Temporarily switch
4373         off eqn delimiters, wrapping the code into a `.ig' block.  This
4374         uses the new functionality just added to eqn.
4375
4376         * src/preproc/eqn/eqn.man, src/preproc/tbl/tbl.man: Updated.
4377
4378 2013-01-06  Werner LEMBERG  <wl@gnu.org>
4379
4380         [eqn] Add `delim on'.
4381
4382         * src/preproc/eqn/lex.cpp (start_delim_saved, end_delim_saved):
4383         New global variables.
4384         (do_delim): Handle `delim on' to restore previous start and end
4385         delimiters.
4386
4387         * src/preproc/eqn/eqn.man, NEWS: Document it.
4388
4389 2013-01-02  Deri James  <deri@chuzzlewit.myzen.co.uk>
4390
4391         [gropdf] Various minor fixes.
4392
4393         * src/devices/gropdf/gropdf (do_x) <'X'> <'pdfpic'>: Using
4394
4395         \X'pdf: pdfpic'
4396
4397         with a zero width now works correctly.
4398
4399         (LoadPDF): Scale width in proportion to given height.
4400
4401         (do_s): In some circumstances a font size change is emitted before
4402         current font is established.  Fix handles this situation.
4403
4404 2012-12-30  Werner LEMBERG  <wl@gnu.org>
4405
4406 Version 1.22.1 released
4407 =======================
4408
4409         Due to CVE-2012-3386, ftp.gnu.org rejected uploading of version
4410         1.22 -- in other words, 1.22 has never been released.
4411
4412         * NEWS, REVISION, doc/groff.texinfo, doc/webpage.ms: Updated.
4413
4414         * Makefile.in (NOMAKEDIRS): Updated.
4415
4416 2012-12-30  Werner LEMBERG  <wl@gnu.org>
4417
4418         * src/libs/gnulib/*: Update `gnulib' files.
4419
4420         Because we currently don't support `gnulib-tool' directly but add
4421         everything to the CVS repository, and many internal details of the
4422         gnulib setup has changed, it is necessary to do redo the import.
4423
4424         . Temporarily rename `src/libs/gnulib' to `src/libs/gnulib.old'.
4425
4426         . Call
4427
4428             gnulib-tool --create-testdir \
4429                         --dir=src/libs/gnulib \
4430                         wcwidth
4431
4432         . Manually move directories `src/libs/gnulib/gl{lib,m4}' to
4433         `src/libs/gnulib/{lib,m4}', and do `s/gllib/lib/' and `s/glm4/m4/'
4434         in all files to `convert' the gnulib testbed to a standard gnulib
4435         configuration as maintained by gnulib-tool.  Additionally, remove
4436         the directory `src/libs/gnulib/gltests' and the references to
4437         `gltests' in all files.
4438
4439         (All of this could be done with a script, but I hope that this is
4440         eventually replaced with migrating groff as a whole to gnulib and
4441         its setup).
4442
4443         . Call
4444
4445             gnulib-tool --add-import \
4446                         --dir=src/libs/gnulib \
4447                         wcwidth
4448
4449         to update everything.
4450
4451         . Merge the changed, new, and deleted files into `gnulib.old',
4452         delete `gnulib', rename `gnulib.old' to `gnulib', then commit.
4453
4454 2012-12-28  Werner LEMBERG  <wl@gnu.org>
4455
4456         [doc] More documentation generation rules.
4457
4458         * doc/Makefile.in (.texinfo.txt): New rule.
4459         (.texinfo.html): Use `LANG='.
4460         (split-html): New target.
4461
4462 2012-12-28  Werner LEMBERG  <wl@gnu.org>
4463
4464         * doc/fixinfo.sh: Make it work with makinfo 4.13 also.
4465
4466 2012-12-28  Werner LEMBERG  <wl@gnu.org>
4467
4468         Split ChangeLog.
4469
4470         * ChangeLog: Split off older entries into...
4471         * ChangeLog.121: this new file.
4472
4473 2012-12-28  Werner LEMBERG  <wl@gnu.org>
4474
4475 Version 1.22 released
4476 =====================
4477
4478         * NEWS, VERSION, doc/groff.texinfo, doc/webpage.ms: Updated.
4479
4480         * config.guess, config.sub: Updated from `config' repository.
4481
4482         * INSTALL.gen: Updated from `gnulib' repository (file `INSTALL').
4483
4484         * aclocal.m4, configure: Regenerated.
4485
4486         * doc/texinfo.tex: Updated from `texinfo' repository.
4487
4488         * src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
4489
4490 2012-12-27  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
4491
4492         * man/groff_font.man: Typographical improvements and typos.
4493
4494 2012-12-27  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
4495
4496         * man/ditroff.man: Typographical improvements and typos.
4497
4498 2012-12-18  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
4499
4500         * man/groff_diff.man: Typographical improvements and typos.
4501
4502 2012-12-16  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
4503
4504         * man/groff.man: Typographical improvements (and one typo).
4505         * man/groff_char.man: Typographical improvements.
4506
4507 2012-10-17  Deri James  <deri@chuzzlewit.myzen.co.uk>
4508
4509         * src/devices/gropdf/gropdf.pl (do_D): The command \D't N' moves
4510         horizontal position by 'N'.  gropdf now obeys this rule.
4511         (do_t): Fixed kerning issue where width of non-kerned text could
4512         be wrongly calculated using previous kern factor.
4513
4514 2012-09-21  Werner LEMBERG  <wl@gnu.org>
4515
4516         * doc/groff.texinfo: Improve documentation of `.ad'.
4517
4518 2012-09-20  Werner LEMBERG  <wl@gnu.org>
4519
4520         * doc/Makefile.sub (uninstall_sub): Fix removal of info files.
4521
4522 2012-09-20  Werner LEMBERG  <wl@gnu.org>
4523
4524         Simplify environment handling.
4525
4526         Suggested by Ivan Shmakov <oneingray@gmail.com>.
4527
4528         * doc/Makefile.in, doc/Makefile.sub (GROFF): Don't use export.
4529
4530 2012-09-20  Deri James  <deri@chuzzlewit.myzen.co.uk>
4531
4532         [gropdf] Various minor fixes.
4533
4534         * font/devpdf/Foundry.in: Add font path to debian `gsfonts'
4535         package.
4536
4537         * font/devpdf/util/BuildFoundries.pl: Handle missing fonts in a
4538         more sane way, do NOT abort the complete make run!
4539
4540         * src/devices/gropdf/gropdf: Accept papersize names (i.e. A4) as
4541         either upper or lower case.  The -p (papersize) option should be
4542         length,width (currently reversed - width,length)
4543
4544         * src/devices/gropdf/pdfmom.pl: Support use of GROFF_BIN_PATH.
4545
4546 2012-09-11  Ralph Corderoy  <ralph@inputplus.co.uk>
4547             Werner LEMBERG <wl@gnu.org>
4548
4549         * src/preproc/tbl/tbl.man: Better document `d' column specifier.
4550
4551 2012-08-31  Deri James  <deri@chuzzlewit.myzen.co.uk>
4552
4553         Add `pdfmom' to handle mom documents with gropdf.
4554
4555         * Makefile.in (OTHERDIRS): Move contrib/mom to be run after
4556         devices/gropdf.
4557
4558         * src/devices/gropdf/gropdf.pl: Various fixes:
4559
4560         . Correct image scaling issue.
4561         . Handle relative horizontal movement 'h' followed by absolute
4562         vertical movement 'V'.
4563         . Correct handling of track kerning.
4564
4565         * src/devices/gropdf/pdfmom.pl: New wrapper for mom (pdfmom)
4566         using gropdf or grops driver.
4567         * src/devices/gropdf/pdfmom.man: New man page.
4568         * src/devices/gropdf/Makefile.sub: Updated to handle new files.
4569
4570 2012-08-31  Deri James  <deri@chuzzlewit.myzen.co.uk>
4571
4572         * Makefile.in (OTHERDIRS): Move contrib/mom to be run after
4573         devices/gropdf.
4574
4575         * src/devices/gropdf/gropdf.pl: Various fixes:
4576
4577         . Correct image scaling issue.
4578         . Handle relative horizontal movement 'h' followed by absolute
4579             vertical movement 'V'.
4580         . Correct handling of track kerning.
4581
4582         * src/devices/gropdf/pdfmom.pl: New wrapper for mom (pdfmom)
4583         using gropdf or grops driver.
4584         * src/devices/gropdf/pdfmom.man: New man page.
4585         * src/devices/gropdf/Makefile.sub: Updated to handle new files.
4586
4587 2012-08-31  Julien Moutinho  <julm+groff@autogeree.net>
4588
4589         * tmac/www.tmac (www-push-li): Fix indentation.
4590
4591         See
4592
4593         http://lists.gnu.org/archive/html/bug-groff/2012-08/msg00009.html
4594
4595         for the full report.
4596
4597 2012-08-08  Eric S. Raymond  <esr@thyrsus.com>
4598
4599         TBLization, as discussed on the list.  There's a rewrite of
4600         this file in planning, but this gets the content clean for now.
4601
4602         * tmac/groff_mdoc.man: In this file.
4603
4604 2012-08-09  Werner LEMBERG  <wl@gnu.org>
4605
4606         Provide proper Unicode mapping from and to dotless j.
4607
4608         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
4609         src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Add it.
4610
4611 2012-08-08  Eric S. Raymond  <esr@thyrsus.com>
4612
4613         Added Unicode code point for dotless j.
4614
4615         * man/groff_char.man: In this file.
4616
4617 2012-08-08  Werner LEMBERG  <wl@gnu.org>
4618
4619         * man/groff_char.man: Clean-ups.
4620
4621 2012-08-08  Eric S. Raymond  <esr@thyrsus.com>
4622
4623         Elimination of nasty presentation-level macro tangles makes
4624         structural translation to XML possible.
4625
4626         * man/groff_char.man: Clean up the mess, use real TBL tables.
4627
4628 2012-07-23  Eric S. Raymond  <esr@thyrsus.com>
4629
4630         More elimination of low-level troff hackery in the documentation
4631         so it can be lifted to structural markup.
4632
4633         * tmac/groff_me.man: Use TBL rather than wacky diversions and .ti
4634         requests.
4635
4636 2012-07-24  Werner LEMBERG  <wl@gnu.org>
4637
4638         Fix appearance of groff.texinfo's HTML output.
4639
4640         Cartouches within an `example' environment don't work.
4641
4642         * doc/groff.texinfo (CartoucheExample, endCartoucheExample): New
4643         macros.  Use them where appropriate.
4644
4645 2012-07-17  Ingo Schwarze  <schwarze@usta.de>
4646
4647         [mdoc] Make `Fl' correctly restore fonts.
4648
4649         * tmac/doc.tmac (doc-flag-recursion): Do it.
4650
4651 2012-07-07  Eric S. Raymond  <esr@thyrsus.com>
4652
4653         * src/preproc/eqn/eqn.man, src/preproc/grn/grnn.man,
4654         src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
4655         src/devices/grops/grops.man, src/utils/lkbib/lkbib.man,
4656         src/utils/indxbib/indxbib.man, src/utils/tfmtodit/tfmtodit.man,
4657         src/utils/xtotroff/xtotroff.man:
4658         Remove running text in the synopses of various manual pages,
4659         as it badly screws up attempts to mechanically parse them.
4660
4661         * contrib/mom/groff_mom.man: Use .URL rather than .UR/.UE, as this
4662         is now preferred for manual pages.
4663
4664 2012-07-03  Werner LEMBERG  <wl@gnu.org>
4665
4666         Fix Unicode mapping of Greek stroked and curly phi.
4667
4668         Problem reported by Alkis Georgopoulos <alkisg@gmail.com>;
4669         see
4670
4671         https://bugs.launchpad.net/ubuntu/+source/groff/+bug/1008115
4672
4673         * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Flip
4674         values of U+03C6 and U+03D5.
4675
4676 2012-06-13  Deri James  <deri@chuzzlewit.demon.co.uk>
4677
4678         * src/devices/gropdf/gropdf.pl: When using variable page
4679         sizes (with \X'papersize ...') ensure final page is correct
4680         size.
4681
4682 2012-05-24  Werner LEMBERG  <wl@gnu.org>
4683
4684         * src/roff/grog/grog.pl (process): Fix .so handling.
4685
4686         This does the same as the previous commit.
4687
4688 2012-05-24  Denis M. Wilson  <dmw@oxytropis.plus.com>
4689
4690         * src/roff/grog/grog.sh: Fix .so handling.
4691
4692         See
4693
4694         http://lists.gnu.org/archive/html/bug-groff/2012-05/msg00000.html
4695
4696         for the report and the bug fix.
4697
4698 2012-05-24  Ivan Shmakov  <oneingray@gmail.com>
4699
4700         Add some generic fallback characters.
4701
4702         * tmac/fallbacks.tmac: New file.
4703         * tmac/troffrc: Include it.
4704         * tmac/Makefile.sub (NORMALFILES): Include it.
4705
4706 2012-05-20  Deri James  <deri@chuzzlewit.demon.co.uk>
4707
4708         * doc/groff.texinfo: Add extra info about `.asciify'.
4709         Document new gropdf options -u and -s.
4710
4711         * src/devices/gropdf/gropdf.man: Remove references to Type 42
4712         fonts, they do not work in PDFs.
4713
4714         Document new option -s which adds `statistics' line to end of PDF
4715         file showing number of pages in document.  This has always been
4716         the default behaviour (to add this line), all other software seems
4717         to ignore it as intended, but `gs' sometimes complains, so the
4718         default is now to omit the statistics.
4719
4720         Document new option -u[cmapfilename] to allow a user ToUnicode
4721         CMap instead of gropdf's default.  If no `cmapfilename' given then
4722         do not include any ToUnicode CMap.
4723
4724         * src/devices/gropdf/gropdf.pl <top>: Allow `bundled' flags on
4725         command line (i.e. -de = -d -e).
4726
4727         Use $RT_SEP as multi path separator, not hard coded `:'.  Update
4728         all users.
4729
4730         New flags -u and -s.  Once a custom papersize has been set as
4731         \X'papersize x,y' make it sticky so all following pages use custom
4732         size.  When importing pdf with \X'pdf: pdfpic ...' do not compress
4733         objects which are already compressed! This caused problems with
4734         PDFs created with ImageMagick, now fixed.
4735
4736         (IsText, PutLine, do_t): The troff `u' command can contain a
4737         kerning adjustment number, this was not being handled, now fixed.
4738
4739         (do_c): The troff `c' command was not being handled correctly, now
4740         fixed.
4741         (FindChar, RemapChr, do_N): Handle fonts with more than 255 glyphs.
4742         ($ucmap): Define CMap ToUnicode to convert ligatures
4743         (fl,fi,ff,ffl,ffi) back to individual characters, useful for
4744         cut'n'paste and text searching.
4745         (LoadFont): Handle it.
4746         (ToPoints, GetPoints): Handle `z' unit.
4747         (do_x, FixPDFColour, PutHotSpot): Allow Annotation colour to be
4748         groff colour, i.e. 0-65535 *3, or #rrggbb, or #rrrrbbbbgggg.
4749         (do_p):The papersize width/length in switch -p were reversed,
4750         corrected.
4751
4752         * src/devices/gropdf/Makefile.sub (gropdf): Use $RT_SEP.
4753         Use $fontpath rather than $fontdir (this ensures site-font is
4754         included in searches).
4755
4756         * tmac/pdf.tmac (PDFBOOKMARK.VIEW, PDFHREF.VIEW, PDFPAGE.Y): Fix
4757         strings.
4758         (pdfbookmark): Correct handling of bookmark levels.
4759         Convert \[em] to hyphen in bookmarks
4760
4761         Rather use -N than -T for "named" bookmarks (-T already used for
4762         "tag" in pdfmark.tmac)
4763
4764         (.pdfclean): New macro which attempts to asciify bookmark text.
4765         (.pdfpagename): New wrapper macro for \X'pdf: pagename'.
4766         (.pdfswitchtopage): New wrapper macro for \X'pdf: switchtopage'.
4767
4768 2012-03-10  Werner LEMBERG  <wl@gnu.org>
4769
4770         Fix compiler warnings.
4771
4772         * src/preproc/html/pre-html.cpp (alterDeviceTo): Avoid ambiguous
4773         if-else clause.
4774
4775         * src/preproc/grn/main.cpp (sccsid): Comment out.
4776
4777         * src/roff/troff/number.cpp (parse_expr) <case '*'>: Add cast.
4778
4779         * src/devices/xditview/Makefile.sub (EXTRA_CFLAGS): Add `-Dlint'
4780         so that unused static ID arrays don't cause a warning.
4781
4782         (Some) problems reported by Bjarni Ingi Gislason
4783         <bjarniig@rhi.hi.is>.
4784
4785 2012-03-05  Werner LEMBERG  <wl@gnu.org>
4786
4787         * tmac/an-ext.tmac (SY): Handle argument with spaces correctly.
4788
4789         Problem reported by Bjarni Ingi Gislason <bjarniig@rhi.hi.is>.
4790
4791 2012-03-01  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
4792
4793         [an-old] Fix warnings.
4794
4795         * tmac/an-old.tmac (an-init): Insert missing braces.
4796
4797 2012-02-26  Werner LEMBERG  <wl@gnu.org>
4798
4799         Update configuration files from `gnulib' and `config' repositories.
4800
4801         This also fixes a problem with `iconv' on Solaris 10, as reported
4802         in
4803
4804         http://lists.gnu.org/archive/html/bug-groff/2012-02/msg00007.html
4805
4806         * configure.ac: Call `gl_LOCALCHARSET.
4807         Call `AM_ICONV' as C++.
4808
4809         * config.guess, config.rpath, config.sub, install-sh, mkinstalldir:
4810         Updated.
4811
4812         * m4/codeset.m4, m4/glib21.m4, m4/iconv.m4, m4/lib-ld.m4,
4813         m4/lib-link.m4, m4/lib-prefix.m4: Updated.
4814         * m4/fcntl-o.m4, m4/localcharset.m4: New files.
4815
4816         * Makefile.in: Updated.
4817
4818         * src/include/localcharset.h, src/libs/libgroff/config.charset,
4819         src/libs/libgroff/localcharset.c: Updated.
4820
4821         * aclocal.m4, configure, src/include/config.hin: Regenerated.
4822
4823 2012-02-20  Werner LEMBERG  <wl@gnu.org>
4824
4825         Update `gnulib' files.
4826
4827         The invocation was
4828
4829         gnulib-tool --add-import \
4830                       --dir=src/libs/gnulib \
4831                       wcwidth
4832
4833         Additionally, src/libs/gnulib/configure.ac was adjusted from a
4834         `test' run as described in the change from 2010-12-13.
4835
4836         * src/libs/gnulib/*: Updated.
4837
4838 2012-02-15  Deri James  <deri@chuzzlewit.demon.co.uk>
4839
4840         [gropdf] Fixes and omissions.
4841
4842         * src/devices/gropdf/gropdf.pl (<top>, do_u): Add facility to
4843         handle track kerning (.tkf).
4844
4845         (do_x, do_p, do_t): If pages are reordered using `pagename' and
4846         `switchtopage' keep track of outline bookmarks.
4847         (do_x): Handle multiple files on gropdf command line, stitch
4848         multiple groff_out files together.  In the main read loop any argc
4849         values not consumed by options are taken as input files and
4850         processed in order.  What prevented it working properly before is
4851         the way an `x i' (initialize) record has been handled.  It now
4852         processes the initialization code only in the first file.
4853
4854         (PutHotSpot): Allow user to control size of hotspot bounding box
4855         on clickable links by setting PDFHREF.LEADING
4856
4857         * tmac/pdf.tmac (PDFHREF.LEADING): Adjust value.
4858         (pdf*href): Pass value of PDFHREF.LEADING to gropdf.
4859
4860 2012-02-10  Deri James  <deri@chuzzlewit.demon.co.uk>
4861
4862         [gropdf] Fix compatibility issues with pdfmark.
4863
4864         * tmac/pdf.tmac (PDFHREF.VIEW.LEADING): Fix value.
4865         (pdf:href.opt-X): Add check for -X option for .pdfhref.
4866
4867 2012-02-08  Werner LEMBERG  <wl@gnu.org>
4868
4869         * src/preproc/pic/main.cpp (do_file): Check for invalid characters.
4870
4871         Problem reported by Doug McIlroy <doug@cs.dartmouth.edu>.
4872
4873 2012-01-25  Ingo Schwarze  <schwarze@usta.de>
4874
4875         [mdoc] * tmac/doc-syms: Fix meaning of XBD acronym.
4876
4877 2012-01-25  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
4878
4879         * tmac/e.tmac (bl): Make it work inside blocks.
4880
4881         See threads starting with
4882
4883         http://lists.gnu.org/archive/html/groff/2011-12/msg00055.html
4884         http://lists.gnu.org/archive/html/groff/2012-01/msg00000.html
4885
4886 2012-01-10  Bruno Haible  <bruno@clisp.org>
4887
4888         Fix handling of MAKEFLAGS variable.
4889
4890         * Makefile.in (MAKE_K_FLAGS): Improved definition,
4891         as explained and discussed in
4892
4893         http://lists.gnu.org/archive/html/groff/2012-01/msg00039.html
4894
4895 2012-01-03  Ingo Schwarze  <schwarze@usta.de>
4896
4897         Improve parallel builds.
4898
4899         Some hdtbl and mom examples want PostScript formatting which
4900         requires the `DESC' file to be ready; however, the top-level
4901         `Makefile.in' doesn't currently enforce the proper order of
4902         building of `font/dev' before `contrib/hdtbl', `contrib/mom', and
4903         so on.
4904
4905         Given that `font/dev' and the contrib examples are in different
4906         child processes of the recursive make system, it doesn't seem
4907         possible to solve this using clean Makefile dependencies.  We now
4908         enforce the order by splitting the shell command invoking
4909         recursive make in the top level `Makefile.in'.
4910
4911         * Makefile.in (ALLDIRS): Remove `OTHERDIRS'.
4912         (dodirs): Updated.
4913         (`$(TARGETS)'): Handle `OTHERDIRS' separately.
4914
4915 2012-01-03  Kristaps Dzonsons  <kristaps@bsd.lv>
4916
4917         [mdoc] Add `-isoC-2011'.
4918
4919         * tmac/doc-syms (doc-str-St--isoC-2011): Add it.
4920         * tmac/groff_mdoc.man: Document it.
4921
4922 2011-12-26  Deri James  <deri@chuzzlewit.demon.co.uk>
4923
4924         * font/devpdf/Makefile.sub: Only build fonts on first `make'.
4925
4926 2011-12-08  Werner LEMBERG  <wl@gnu.org>
4927
4928         * doc/groff.texinfo (.tl): Improve documentation.
4929         Wording suggested by Keith Marshall
4930         <keithmarshall@users.sourceforge.net>.
4931
4932 2011-12-01  Werner LEMBERG  <wl@gnu.org>
4933
4934         [me] Fix behaviour of centered block.
4935         Problem and possible fix reported in thread starting at
4936
4937         http://lists.gnu.org/archive/html/groff/2011-11/msg00002.html
4938
4939         * tmac/e.tmac (`(c'): Always start with a new line.
4940
4941 2011-12-01  Ingo Schwarze  <schwarze@usta.de>
4942
4943         [man] Print volume headers like mdoc.
4944
4945         * tmac/an-old.tmac (an-init): Add default volume name if fifth
4946         argument to `.TH' is missing.
4947
4948 2011-11-22  Werner LEMBERG  <wl@gnu.org>
4949
4950         * tmac/groff_man.man: Minor documentation improvements.
4951         Suggested by Jeff Conrad <jeff_conrad@msn.com>.
4952
4953 2011-11-14  Werner LEMBERG  <wl@gnu.org>
4954
4955         * doc/groff.texinfo: Improve doc for calling undefined identifiers.
4956
4957 2011-11-14  Werner LEMBERG  <wl@gnu.org>
4958
4959         * src/preproc/tbl/tbl.man: Improve documentation of `_' and
4960         friends.
4961
4962 2011-10-31  Werner LEMBERG  <wl@gnu.org>
4963
4964         Fix compiler warnings.
4965
4966         * src/preproc/eqn/main.cpp (do_file), src/roff/troff/env.cpp
4967         (environment::print_env), src/roff/troff/mtsm.cpp
4968         (statem::display_state): Add syntactical sugar.
4969
4970         * src/utils/tfmtodit/tfmtodit.cpp (char_info_word): Use `unsigned
4971         char' for all members.
4972
4973         * src/devices/grohtml/html-text.cpp (html_text::remove_def):
4974         Remove unused variable `q'.
4975
4976         * src/devices/grohtml/post-html.cpp
4977         (html_printer::lookahead_for_tables): Remove unused variable `left'
4978         and `seen_text'.
4979
4980 2011-10-23  Ingo Schwarze  <schwarze@openbsd.org>
4981
4982         [mdoc] Synchronize string tables with the mandoc(1) utility.
4983
4984         * tmac/doc-common: Add many architecture names used in NetBSD and
4985         OpenBSD (and "arm" from FreeBSD) and remove the duplicate OS
4986         version entry for Darwin-10.6.0.
4987
4988         * tmac/doc-syms: Add many library names used in NetBSD and FreeBSD.
4989
4990         * tmac/groff_mdoc.man: Document all supported architecture names)
4991         (OS versions, and library names.
4992
4993 2011-09-11  Joseph Koshy  <jkoshy@users.sourceforge.net>
4994
4995         [mdoc] Add some library strings.
4996
4997         * tmac/doc-syms: Add `libdwarf' and `libelf'.
4998         * tmac/groff_mdoc.man: Document them.
4999
5000 2011-08-14  Deri James  <deri@chuzzlewit.demon.co.uk>
5001
5002         [gropdf] More minor fixes.
5003
5004         * font/devpdf/Makefile.sub (MOSTLYCLEANADD): Don't attempt to
5005         install 'util/BuildFoundries', only used in 'make'.
5006
5007         * src/devices/gropdf/gropdf.pl (<top>, GetType1): Make STDOUT and
5008         any font files read to be accessed in binary rather than text mode.
5009         Prevents errors when running on systems set up for UTF-8.
5010
5011 2011-08-10  Deri James  <deri@chuzzlewit.demon.co.uk>
5012
5013         [gropdf] Minor updates and fixes.
5014
5015         * src/devices/gropdf/gropdf.pl: Change command line option `-fy'
5016         to `-y' for consistency.
5017
5018         Better support for Windows platform.
5019         (do_x): Handle keywords `pagename' and `switchtopage'.
5020
5021         * doc/groff.texinfo, src/devices/gropdf/gropdf.man: Updated.
5022
5023         * font/devpdf/Foundry: Renamed to...
5024         * font/devpdf/Foundry.in: This.
5025         Add default alias font names.
5026
5027         * font/devpdf/util/BuildFoundries.pl: This is now an installation
5028         helper script and gets not longer installed.
5029         Support alternative font file names (separated with `!').
5030
5031         * font/devpdf/Makefile.sub: Fixes to work with a separate build
5032         directory.
5033         Font files are now build at `make' time; this makes `test-groff'
5034         work with -Tpdf.
5035
5036         * font/devpdf/util/Makefile.sub: Removed.
5037
5038         * Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Handle devpdf
5039         specially.
5040
5041 2011-07-29  Daiki Ueno  <ueno@unixuser.org>
5042
5043         Fix cross building.  Problem reported by Christophe Jarry
5044         <christophe.jarry@ouvaton.org>.
5045
5046         * Makefile.in ($GNULIBDIRS): Pass original config arguments to
5047         src/libs/gnulib/configure.
5048
5049 2011-06-25  Deri James  <deri@chuzzlewit.demon.co.uk>
5050
5051         Add new output device `gropdf'.
5052
5053         * font/devpdf/*: New device files for gropdf.
5054         * src/devices/gropdf/*: New device.
5055
5056         * Makefile.comm (install_dev, uninstall_dev): Handle more
5057         subdirectories.
5058         * Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Add directories
5059         related to gropdf.
5060         * MANIFEST: Updated.
5061         * test-groff.in (GROFF_BIN_PATH): Updated.
5062
5063         * tmac/Makefile.sub (NORMALFILES): Updated.
5064         * tmac/pdf.tmac: New file.
5065         * tmac/troffrc: Updated.
5066
5067         * doc/groff.texinfo: Document it.
5068         * doc/Makefile.in, doc/Makefile.sub (groff_bin_dirs): Udpated.
5069         * doc/pic.ms: Updated.
5070
5071         * man/groff_out.man, src/devices/grops/grops.man,
5072         src/preproc/pic/pic.man, src/roff/groff/groff.man,
5073         src/utils/afmtodit/afmtodit.man, src/utils/pfbtops/pfbtops.man:
5074         Updated.
5075
5076         * contrib/pdfmark/pdfmark.ms: Updated.
5077
5078 2011-07-20  George HELFFRICH  <ghfbsd@gmail.com>
5079
5080         Improve line numbering support in tbl and with me macros.
5081
5082         * tmac/e.tmac (n1, n2, TH, PS): Implement it.
5083         (@h, @n, @o, @t, @k, )b, (c, (q, )q, (l, )l, (f, @q, PE): Updated.
5084         * doc/meref.me: Document changes.
5085
5086         * src/preproc/tbl/table.cpp (ROW_START_LINE_REG)
5087         (ROW_SAVE_LINE_REG, ROW_MAX_LINE_REG, REPEATED_NM_SET_MACRO)
5088         (REPEATED_NM_SUS_MACRO): New macros.
5089
5090         (table::init_output): Define REPEATED_NM_SET_MACRO and
5091         REPEATED_NM_SUS_MACRO.
5092         (table::print_single_hline, table::print_double_hline,
5093         table::define_bottom_macro, table::do_row, table::do_top,
5094         table::do_bottom): Updated.
5095
5096         * doc/webpage.ms: Updated.
5097
5098 2011-07-12  Ted Harding  <ted.harding@wlandres.net>
5099             Werner LEMBERG <wl@gnu.org>
5100
5101         * src/preproc/tbl/tbl.man: Mention trick to get abutting rules.
5102
5103 2011-07-03  Ben Laurie  <benl@FreeBSD.org>
5104
5105         Fix clang warnings.
5106
5107         * src/libs/libdriver/input.cpp (odd): Use parentheses.
5108
5109         * src/roff/troff/mtsm.cpp (state_set::is_in): Fix parentheses;
5110         previous code always tested for bit 0.
5111
5112 2011-07-03  Guillem Jover  <guillem@debian.org>
5113
5114         mdoc: Update more OS versions strings.
5115
5116         * tmac/doc-common: Add versions strings for NetBSD, OpenBSD,
5117         FreeBSD, and DragonFly.
5118
5119 2011-04-08  Michail Vidiassov  <master@iaas.msu.ru>
5120
5121         mdoc: Update various strings related to Mac OS X and FreeBSD.
5122
5123         * tmac/doc-common: Add strings for FreeBSD 8.2 and Darwin 9.7-11.0.
5124         * tmac/doc-syms: Add strings -lbsm and -lSystem.
5125
5126 2011-03-29  Christian Weisgerber  <naddy@mips.inka.de>
5127
5128         Fix compilation issues with gcc 2.95.
5129
5130         * src/roff/troff/input.cpp (my_input_iterator): Define as an alias
5131         for `input_iterator' which is predefined by an old libstdc++.
5132
5133 2011-03-29  Ingo Schwarze  <schwarze@usta.de>
5134
5135         Add another POSIX standard.
5136
5137         * tmac/doc-syms: Add POSIX 1003.1b.
5138
5139 2011-03-29  Christian Weisgerber  <naddy@mips.inka.de>
5140
5141         Fix build with non-GNU make.
5142
5143         * Makefile.in ($TARGETS): We must not pass `$MDEFINES' recursively
5144         down to the sub-makes started in src/libs/gnulib, because that
5145         directory has its own values for `$top_srcdir' etc., and
5146         overriding those from the command line will cause the build to
5147         fail.  Currently, `$MAKEOVERRIDES' will prevent the recursive
5148         passing of those overrides with GNU make, but not with other
5149         make(1) implementations.  It looks like all targets that require
5150         `$MDEFINES' set them explicitly anyway, so we shouldn't need to
5151         set `$MDEFINES' on the top level.
5152
5153 2011-03-21  Jan Vcelak  <jvcelak@redhat.com>
5154             Bernd Warken <groff-bernd.warken-72@web.de>
5155
5156         [groffer] Remove hardcoded path to 'libdir/groff/groffer'
5157         directory.
5158
5159         * configure.ac: add GROFFERDIR variables.
5160
5161         * Makefile.in: add and handle variable groffer_dir
5162
5163         * m4/groff.m4: set up the --with-grofferdir command line option.
5164
5165 2011-03-18  Werner LEMBERG  <wl@gnu.org>
5166
5167         [troff] Improve error message.
5168
5169         * src/roff/troff/input.cc (token::delimiter): Improve error
5170         message.  Suggested by Doug McIlroy <doug@cs.dartmouth.edu>.
5171
5172 2011-03-04  Werner LEMBERG  <wl@gnu.org>
5173
5174         [mdoc] Within .An, .Aq, .Ao, and .Ac now use `<' and `>'.
5175         Problem reported by Ulrich Spörlein <uqs@spoerlein.net>
5176
5177         * tmac/doc.tmac (Aq, Ao, Ac): Implement it to follow RFC 822 and
5178         RFC 2822.
5179
5180 2011-02-14  Werner LEMBERG  <wl@gnu.org>
5181
5182         * doc/groff.texinfo: Add another example for .em request
5183         Based on a patch from Anton Shepelev <anton.txt@gmail.com>.
5184
5185 2011-01-31  Werner LEMBERG  <wl@gnu.org>
5186
5187         More fixes for Savannah bug #32301.
5188
5189         * src/devices/grops/Makefile.sub (XLIBS),
5190         src/devices/grodvi/Makefile.sub, src/devices/grolj4/Makefile.sub,
5191         src/devices/grohtml/Makefile.sub, src/devices/grolbp/Makefile.sub:
5192         Add $(LIBGNU).
5193
5194 2011-01-31  Werner LEMBERG  <wl@gnu.org>
5195
5196         Fix Savannah bug #32301.
5197
5198         * src/roff/groff/Makefile.sub (XLIBS),
5199         src/preproc/grn/Makefile.sub, src/preproc/html/Makefile.sub: Add
5200         $(LIBGNU).
5201
5202 2011-01-29  Krzysztof Żelechowski  <giecrilj@stegny.2a.pl>
5203
5204         * doc/groff.texinfo: Complete documentation on output devices.
5205
5206 2011-01-28  Werner LEMBERG  <wl@gnu.org>
5207
5208         Handle `refer*.tmac'.
5209
5210         * tmac/Makefile.sub (NORMALFILES): Add `refer*.tmac'.
5211         * tmac/refer-mm.tmac: Moved to contrib/mm.
5212
5213 2011-01-28  Werner LEMBERG  <wl@gnu.org>
5214
5215         Improve `refer' support of -me.
5216
5217         * tmac/refer.tmac, tmac/refer-me.tmac, tmac/refer-ms.tmac,
5218         tmac/refer-mm.tmac: New files.  The code in refer.tmac is
5219         based on the old code from `s.tmac'.
5220
5221         * tmac/s.tmac: Remove direct refer support and include
5222         `refer-ms.tmac' instead.
5223         * tmac/e.tmac: Remove direct refer support and include
5224         `refer-me.tmac' instead.
5225
5226         * NEWS: Updated.
5227
5228 2011-01-22  Werner LEMBERG  <wl@gnu.org>
5229
5230         [groff.texinfo]: Updates.
5231
5232         * doc/groff.texinfo: Document groff's `-j' option.
5233         Add dummy section for `chem' preprocessor.
5234
5235 2011-01-22  Werner LEMBERG  <wl@gnu.org>
5236
5237         Update `grog'.
5238
5239         * src/roff/grog/{groff.sh,groff.pl}: `groff' now calls `pic'
5240         automatically if `grap' or `chem' is used.
5241         `chem' has been folded into `groff'.
5242         * src/roff/grog/grog.man: Updated.
5243
5244 2011-01-22  Werner LEMBERG  <wl@gnu.org>
5245
5246         Make `groff -G' imply `-p'.
5247
5248         * src/roff/groff/groff.cpp (main): Implement it.
5249         * src/roff/groff/groff.man: Updated.
5250
5251 2011-01-22  Werner LEMBERG  <wl@gnu.org>
5252
5253         Integrate `chem' into `groff' (new option -j).
5254
5255         * src/roff/groff/groff.cpp (CHEM_INDEX): New constant.
5256         (main) ['j']: Add `chem'.
5257         (synopsis, help): Updated.
5258         * src/roff/troff/pipeline.h (MAX_COMMANDS): Increase to 14.
5259
5260         * src/roff/groff/groff.man: Document new command line option.
5261         * NEWS: Updated.
5262
5263 2011-01-22  Werner LEMBERG  <wl@gnu.org>
5264
5265         * doc/groff.texinfo: `chem' is now part of groff.
5266
5267 2011-01-22  Werner LEMBERG  <wl@gnu.org>
5268
5269         * doc/groff.texinfo: Improve description of `.de'.
5270
5271         Based on suggestions by Ted Harding and Deri James.
5272
5273 2011-01-20  Colin Watson  <cjwatson@debian.org>
5274
5275         Fix handling of wide characters in no-SGR mode.
5276
5277         * src/devices/grotty/tty.cpp (tty_printer::make_underline): Only
5278         emit a single backspace in no-SGR mode.  less (at least)
5279         backspaces over a character at a time.
5280         (tty_printer::make_bold): Likewise.
5281
5282 2011-01-19  Werner LEMBERG  <wl@gnu.org>
5283
5284         * src/preproc/pic/pic.man: Add pic manual to `SEE ALSO' section.
5285
5286 2011-01-14  Werner LEMBERG  <wl@gnu.org>
5287
5288         Split ChangeLog.
5289
5290         * ChangeLog: Split off older entries into...
5291         * ChangeLog.119, ChangeLog.120: these new files.
5292
5293 2011-01-15  Colin Watson  <cjwatson@debian.org>
5294
5295         * Makefile.comm (INCLUDES): Fix typo.
5296
5297 2011-01-05  Werner LEMBERG  <wl@gnu.org>
5298
5299         * doc/webpage.ms: Fix rendering of title image.
5300
5301
5302 ________________________________________________________________________
5303
5304 ##### License
5305
5306 Copyright 2011-2018 Free Software Foundation, Inc.
5307
5308 Copying and distribution of this file, with or without modification,
5309 are permitted in any medium without royalty provided the copyright
5310 notice and this notice are preserved.
5311
5312
5313 ##### Emacs settings
5314 Local Variables:
5315 mode: change-log
5316 version-control: never
5317 End:
5318 vim:set autoindent: