src/util.c: (read_config): Close the FILE *.
[enscript.git] / ChangeLog
1 2014-07-18  James Cloos  <cloos@jhcloos.com>
2
3         * src/util.c: (read_config): Close the FILE *. Savannah bug #40338.
4
5 2012-10-08  Max Cantor  <max@maxcantor.net>
6
7         * docs/enscript.man: Document how to use new fonts.
8         * docs/enscript.man (MarkWrappedLines): Fix typo.
9
10 2012-10-04  Tim Retout  <diocles@gnu.org>
11
12         * src/tests/passthrough.test: Use sed instead of tail.
13
14 2012-09-27  Jerome Roovers  <jer@gentoo.org>
15
16         * src/tests/passthrough.test: Remove obsolete "+2" arguments to
17         tail.
18
19 2012-09-25  Tim Retout  <diocles@gnu.org>
20
21         * configure.ac: Release 1.6.6.
22
23 2012-09-19  Tim Retout  <diocles@gnu.org>
24
25         * NEWS: Update for new release.
26
27         * afm/MustRead.html: New file containing licensing of Adobe AFM
28         files.  Savannah bug #35883.
29
30 2011-07-10  Tim Retout  <diocles@gnu.org>
31
32         * po/: Sync all translations from the Translation Project.
33
34         * compat/gettext.h: New file.
35         * compat/Makefile.am (EXTRA_DIST): Add gettext.h.
36         * src/gsint.h: Use gettext.h instead of own libintl.h include.
37         * src/mkafmmap.c: Likewise.
38         * states/defs.h: Likewise.
39
40         * src/main.c (main): Join ENSCRIPT_LIBRARY error string together
41         for the benefit of translators.
42         Use ngettext when printing number of pages/copies.
43
44         * states/hl/mail.st: Support extended mail headers.
45         Savannah bug #25440.
46
47         * src/main.c (usage): Clarify documentation for short forms of
48         optional arguments.
49
50 2011-07-09  Tim Retout  <diocles@gnu.org>
51
52         * src/main.c (handle_options): Add missing 'w' from
53         getopt_long call. Savannah bug #30651.
54
55         Apply patch 393791-sliceprint from Debian:
56         * scripts/sliceprint.1: Complete documentation.
57         * scripts/sliceprint.in: Force C locale.
58         Use more liberal regexp when parsing wrapped lines message.
59         Add missing space from before args. Savannah bug #31259.
60
61         * Makefile.am (SUBDIRS): Move intl to be built before compat.
62
63         * states/Makefile.am: Use $(datadir) instead of $(prefix)/share.
64           Savannah bug #31609.
65         * src/Makefile.am: Likewise.
66
67         * src/Makefile.am: Remove ansi2knr option and supporting files.
68         * afmlib/Makefile.am: Likewise.
69
70         * states/utils.c (eval_expr): Fix typo in error string.
71         * states/main.c (usage): Fix typo in --define usage string.
72
73 2010-09-10  W. Trevor King  <wking@drexel.edu>
74
75         * docs/FAQ.html: Fix typo.
76
77 2010-06-02  Tim Retout  <diocles@gnu.org>
78
79         Fix Savannah bug #28769 (segfault when parsing config file).
80
81         * src/util.c (CFG_FATAL): Call buffer_ptr on &fname to get
82         configuration filename.
83         * src/util.c (read_config): Delay buffer_uninit call on fname
84         until return points.
85
86 2010-03-17  Juergen Daubert  <jue@jue.li>
87         * src/main.c: Fix ngettext calls to use '1' explicitly.  Fixes
88         Savannah bug #29198.
89
90 2010-03-07  Tim Retout  <diocles@gnu.org>
91
92         * src/gsint.h: Remove version_string and ps_version_string.
93         * src/main.c: Likewise.
94         * src/main.c (version): Update copyright and licensing
95         information. Use autoconf variables instead of hardcoded strings.
96         * src/main.c (usage): Add angle brackets around bug address.
97         * src/psgen.c (dump_ps_header): Set ps_version_string here.
98
99 2010-03-06  Tim Retout  <diocles@gnu.org>
100
101         * configure.ac: Set version to 1.6.5.1.
102
103         * states/hl/Makefile.am (highlightings): Add f90.st.
104
105         * INSTALL: Move enscript-specific details into README, and remove
106         from the repository (i.e. just use the standard INSTALL file).
107         * README: Replace all old web/mail addresses.
108
109         * All Makefile.am files: Add ChangeLog.old to EXTRA_DIST.
110
111 2010-02-03  Tim Retout  <diocles@gnu.org>
112
113         * All ChangeLog files in subdirectories have been renamed to
114         ChangeLog.old.  All change log entries from 1.6.5 onwards will be
115         made in this file.
116
117 2010-01-28  Tim Retout  <diocles@gnu.org>
118
119         * docs/states.man (are): Fix typo of 'beginning'.
120         * docs/enscript.man: Fix three misspellings of 'dependent'.
121
122 2010-01-25  Tim Retout  <diocles@gnu.org>
123
124         * configure.ac: Set version to 1.6.5.
125
126 2009-12-31  Tim Retout  <diocles@gnu.org>
127
128         * configure.ac: Set version to 1.6.4.91.
129
130 2009-12-27  Tim Retout  <diocles@gnu.org>
131
132         * configure.ac: Set version to 1.6.4.90.
133         * NEWS: Add noteworthy changes for 1.6.5, and a placeholder for
134         1.6.4.
135
136 2009-01-13  Tim Retout  <diocles@gnu.org>
137
138         * COPYING: Update to GPLv3
139         * All files: Update license headers to GPLv3.
140
141 2008-02-03  Tim Retout  <diocles@gnu.org>
142
143         * Makefile.am (EXTRA_DIST): Remove ABOUT-NLS, THANKS and config.rpath,
144         because these will be distributed anyway.
145
146         Remove autoconf-generated files.
147
148         * configure: Remove from repository.
149
150         Remove automake-generated files.
151
152         * Makefile.in: Remove from repository.
153         * afm/Makefile.in: Likewise.
154         * afmlib/Makefile.in: Likewise.
155         * afmlib/ansi2knr.1: Likewise.
156         * afmlib/ansi2knr.c: Likewise.
157         * compat/Makefile.in: Likewise.
158         * config.guess: Likewise.
159         * config.sub: Likewise.
160         * depcomp: Likewise.
161         * docs/Makefile.in: Likewise.
162         * docs/mdate-sh: Likewise.
163         * docs/texinfo.tex: Likewise.
164         * install-sh: Likewise.
165         * lib/Makefile.in: Likewise.
166         * missing: Likewise.
167         * mkinstalldirs: Likewise.
168         * scripts/Makefile.in: Likewise.
169         * src/Makefile.in: Likewise.
170         * src/ansi2knr.1: Likewise.
171         * src/ansi2knr.c: Likewise.
172         * src/tests/Makefile.in: Likewise.
173         * states/Makefile.in: Likewise.
174         * states/hl/Makefile.in: Likewise.
175         * states/tests/Makefile.in: Likewise.
176         * w32/Makefile.in: Likewise.
177
178         Remove autopoint-generated files.
179
180         * ABOUT-NLS: Remove from repository.
181         * config.rpath: Likewise.
182         * intl/ChangeLog: Likewise.
183         * intl/Makefile.in: Likewise.
184         * intl/VERSION: Likewise.
185         * intl/bindtextdom.c: Likewise.
186         * intl/config.charset: Likewise.
187         * intl/dcgettext.c: Likewise.
188         * intl/dcigettext.c: Likewise.
189         * intl/dcngettext.c: Likewise.
190         * intl/dgettext.c: Likewise.
191         * intl/dngettext.c: Likewise.
192         * intl/eval-plural.h: Likewise.
193         * intl/explodename.c: Likewise.
194         * intl/finddomain.c: Likewise.
195         * intl/gettext.c: Likewise.
196         * intl/gettextP.h: Likewise.
197         * intl/gmo.h: Likewise.
198         * intl/hash-string.h: Likewise.
199         * intl/intl-compat.c: Likewise.
200         * intl/l10nflist.c: Likewise.
201         * intl/libgnuintl.h: Likewise.
202         * intl/loadinfo.h: Likewise.
203         * intl/loadmsgcat.c: Likewise.
204         * intl/localcharset.c: Likewise.
205         * intl/locale.alias: Likewise.
206         * intl/localealias.c: Likewise.
207         * intl/localename.c: Likewise.
208         * intl/ngettext.c: Likewise.
209         * intl/os2compat.c: Likewise.
210         * intl/os2compat.h: Likewise.
211         * intl/osdep.c: Likewise.
212         * intl/plural-exp.c: Likewise.
213         * intl/plural-exp.h: Likewise.
214         * intl/plural.c: Likewise.
215         * intl/plural.y: Likewise.
216         * intl/ref-add.sin: Likewise.
217         * intl/ref-del.sin: Likewise.
218         * intl/textdomain.c: Likewise.
219
220         Remove the 'm4' directory from the repository.
221
222         * Makefile.am (SUBDIRS): Remove 'm4' directory.
223         * configure.ac: Remove 'm4/Makefile' from AC_CONFIG_FILES.
224         * m4/ChangeLog: Remove from repository.
225         * m4/codeset.m4: Likewise.
226         * m4/gettext.m4: Likewise.
227         * m4/glibc21.m4: Likewise.
228         * m4/iconv.m4: Likewise.
229         * m4/intdiv0.m4: Likewise.
230         * m4/inttypes_h.m4: Likewise.
231         * m4/inttypes.m4: Likewise.
232         * m4/inttypes-pri.m4: Likewise.
233         * m4/isc-posix.m4: Likewise.
234         * m4/lcmessage.m4: Likewise.
235         * m4/lib-ld.m4: Likewise.
236         * m4/lib-link.m4: Likewise.
237         * m4/lib-prefix.m4: Likewise.
238         * m4/Makefile.am: Likewise.
239         * m4/Makefile.in: Likewise.
240         * m4/progtest.m4: Likewise.
241         * m4/stdint_h.m4: Likewise.
242         * m4/uintmax_t.m4: Likewise.
243         * m4/ulonglong.m4: Likewise.
244
245 2008-01-29  Tim Retout  <diocles@gnu.org>
246
247         * configure.ac: Remove AC_CONFIG_COMMANDS macro that was leaving
248         stamp-h files around after `make clean'.
249
250         * aclocal.m4: Removed from repository. Can be generated with `aclocal'.
251         * config.h.in: Likewise. Can be generated with `autoheader'.
252
253 2008-01-06  Tim Retout  <diocles@gnu.org>
254
255         * configure.ac: Add AM_GNU_GETTEXT_VERSION([0.17]).
256         Remove ALL_LINGUAS.
257
258 2008-01-02  Tim Retout  <diocles@gnu.org>
259
260         * configure.ac: Add description to PATH_SEPARATOR and
261         PATH_SEPARATOR_STR definitions.
262         * acconfig.h: Remove. Silences autoheader warning.
263
264         * configure.ac (AC_INIT): Quote arguments.
265         (AC_PREREQ): Bump required autoconf version to 2.61.
266         (AM_CONFIG_HEADER): Change to AC_CONFIG_HEADERS, quote arguments.
267         (AC_STDC_HEADERS): Change to AC_HEADER_STDC, quote arguments.
268         (AC_HAVE_HEADERS): Change to AC_CHECK_HEADERS, quote arguments.
269         Result of running autoupdate.
270         Also tidy order of macros.
271
272         * configure.ac (AC_ISC_POSIX): Replace with AC_USE_SYSTEM_EXTENSIONS
273         to silence some aclocal warnings.
274
275         * configure.ac (AC_REVISION): Remove.
276
277         * configure.in: Rename to `configure.ac'.
278
279 2008-01-01  Tim Retout  <diocles@gnu.org>
280
281         * configure.in: Remove --with-cc option from configure script.
282         Remove test for empty CC from around AC_PROG_CC macro.
283
284         * configure.in (AC_INIT): Change bug report address to
285         <bug-enscript@gnu.org>.
286         Change package name to `GNU Enscript'.
287
288         * ChangeLog: Run M-x change-log-redate. Add copyright notice at end.
289
290 2007-12-29  Tim Retout  <diocles@gnu.org>
291
292         * Makefile.am (SUBDIRS): Remove duplicate intl.
293
294 2007-10-31  Tim Retout  <diocles@gnu.org>
295
296         * COPYING: Update to latest revision of GPLv2.
297         * all files: Update FSF address in copyright header.
298
299 2003-02-28  gettextize  <bug-gnu-gettext@gnu.org>
300
301         * Makefile.am (SUBDIRS): Add intl.
302         * configure.in (AC_OUTPUT): Add intl/Makefile,
303
304 2003-02-28  gettextize  <bug-gnu-gettext@gnu.org>
305
306         * Makefile.am (SUBDIRS): Add m4.
307         (ACLOCAL_AMFLAGS): New variable.
308         (EXTRA_DIST): Add config.rpath.
309         * configure.in (AC_OUTPUT): Add po/Makefile.in,
310         (AM_GNU_GETTEXT_VERSION): Bump to 0.11.5.
311
312 1999-07-21  Markku Rossi  <mtr@amme.ssh.fi>
313
314         * README: Added a special note for all US users about the
315         enscript's default output media (which is A4 instead of Letter).
316
317 1999-01-19  Markku Rossi  <mtr@amme.ssh.fi>
318
319         * Updated automake to version 1.4.
320
321 1999-01-14  Markku Rossi  <mtr@amme.ssh.fi>
322
323         * configure.in: Changed autoconf prereq to 2.13.
324
325 1999-01-07  Markku Rossi  <mtr@amme.ssh.fi>
326
327         * Updated development tools: autoconf-2.13, automake-1.3d.
328
329 1998-12-31  Markku Rossi  <mtr@amme.ssh.fi>
330
331         * configure.in: Removed a historical call of the AC_LINK_FILES.
332         It is handled in the AM_GNU_GETTEXT.
333
334 1998-12-29  Markku Rossi  <mtr@amme.ssh.fi>
335
336         * configure.in: Beta version 1.6.2 released.
337
338 1998-12-08  Markku Rossi  <mtr@amme.ssh.fi>
339
340         * Updated gettext to version 0.10.35.
341
342         * configure.in (ALL_LINGUAS): Added `ru'.
343
344 1998-11-11  Markku Rossi  <mtr@amme.ssh.fi>
345
346         * configure.in: Added checks for sys/types.h and sys/stat.h
347         headers.
348
349 1998-10-23  Markku Rossi  <mtr@ngs.fi>
350
351         * Moved all documentation stuffs to the `docs' subdirectory.
352
353         * enscript.1.in: Documented the new highlighting options.
354
355 1998-10-16  Markku Rossi  <mtr@ngs.fi>
356
357         * enscript.1.in: Updated the ^@font{} escape's syntax.
358
359 1998-10-02  Markku Rossi  <mtr@ngs.fi>
360
361         * configure.in: Added more rules to lookup the gethostname()
362         function.  It is located in `libsocket.a' in the SCO OpenServer 5.
363
364 1998-09-22  Markku Rossi  <mtr@ngs.fi>
365
366         * enscript.1.in: Replaced `@prefix@/share' and `@prefix@/etc' with
367         `@datadir@' and `@sysconfdir@'.
368
369 1998-07-06  Markku Rossi  <mtr@ngs.fi>
370
371         * configure.in: Updated version number to 1.6.2.
372
373 1998-07-01  Markku Rossi  <mtr@ngs.fi>
374
375         * 88591.txt: Changed 0xb9 to be `/onesuperior' instead of
376         `/dottlessi'.
377
378 1998-06-25  Markku Rossi  <mtr@ngs.fi>
379
380         * configure.in: Added check for the strtoul() function.
381
382 1998-06-23  Markku Rossi  <mtr@ngs.fi>
383
384         * configure.in (PSLEVEL): added option --with-ps-level to specify
385         the default PostScript language level that enscript should use.
386
387 1998-06-16  Markku Rossi  <mtr@ngs.fi>
388
389         * configure.in: Updated version number to 1.6.1.
390
391 1998-06-11  Markku Rossi  <mtr@ngs.fi>
392
393         * Renamed all ISO-8859-* encodings to conform their ISO names.
394         All uses changed.
395
396 1998-03-25  Markku Rossi  <mtr@ngs.fi>
397
398         * 88597.txt: Added encoding for ISO-8859-7.  Thanks to Manolis
399         Lourakis <lourakis@csd.uch.gr>.
400
401 1998-03-09  Markku Rossi  <mtr@ngs.fi>
402
403         * Upgraded automake to version 1.2e.
404
405         * configure.in: Updated version number to 1.5.6.
406
407 1997-09-30  Markku Rossi  <mtr@ngs.fi>
408
409         * 88594.txt: Added encoding for ISO-8859-4 character set.  Thanks
410         to Ricardas Cepas <rch@pub.osf.lt> for the patches.
411
412 1997-07-17  Markku Rossi  <mtr@ngs.fi>
413
414         * Upgraded automake to version 1.2.
415
416 1997-07-16  Markku Rossi  <mtr@ngs.fi>
417
418         * Makefile.am: Added THANKS file.
419
420 1997-05-22  Markku Rossi  <mtr@ngs.fi>
421
422         * configure.in (SPOOLER): added option --with-spooler to specify
423         the system printer spooler.
424
425         * Added a banner which shows the user definable options and their
426         current values.  This should save some emails.
427
428 1997-04-14  Markku Rossi  <mtr@ngs.fi>
429
430         * INSTALL: Updated Autoconf related installation information.
431
432         * Updated COPYING and COPYING.LIB files to the latest ones.
433
434 1997-02-12  Markku Rossi  <mtr@ngs.fi>
435
436         * Makefile.am: Added all FAQ related files to the distribution.
437
438 1997-01-23  Markku Rossi  <mtr@ngs.fi>
439
440         * configure.in: Added checks form memmove() and memcpy() and added
441         their replacements to compat.
442         Added check for alloca().
443
444 1997-01-21  Markku Rossi  <mtr@ngs.fi>
445
446         * Created a new tests subdirectory which holds the enscript
447         testsuite.
448
449         * Automake-1.1l.
450
451 1996-11-05  Markku Rossi  <mtr@ngs.ngs.fi>
452
453         * 88595.txt: New encoding for ISO-8859-5 (ISO Cyrillic) character
454         set. Thanks for Ildar Khabibrakhmanov <ildar@hawking.math.mun.ca>
455         for the 88595.txt encoding file.
456
457 1996-09-08  Markku Rossi  <mtr@ngs.ngs.fi>
458
459         * All encoding description files: changed name of the character
460         0x2d (-) from `/minus' to `/hyphen'.
461
462 1996-09-07  Markku Rossi  <mtr@ngs.ngs.fi>
463
464         * koi8.txt: New encoding for Adobe's Standard Cyrillic Font KOI8.
465         Thanks for Ildar Khabibrakhmanov <ildar@hawking.math.mun.ca> for
466         the koi8.txt encoding file.
467
468 1996-08-24  Markku Rossi  <mtr@ngs.ngs.fi>
469
470         * Updated developement tools: autoconf-2.10, automake-1.1c,
471         gettext-0.10.23.
472
473 1996-07-28  Markku Rossi  <mtr@ngs.ngs.fi>
474
475         * Changed __P() macro to ___P() in all files where it was used.
476         Now we won't clash with solaris' math.h which defines __P().
477
478 1996-06-13  Markku Rossi  <mtr@ngs.ngs.fi>
479
480         * Automake-1.0.
481
482         * New subdirectory `scripts' for utility scripts.
483
484 1996-06-06  Markku Rossi  <mtr@ngs.ngs.fi>
485
486         * gettext-0.10.16.
487
488 1996-05-06  Markku Rossi  <mtr@ngs.fi>
489
490         * Automake-0.32.
491
492 1996-03-14  Markku Rossi  <mtr@ngs.fi>
493
494         * Automake-0.31.
495
496         * configure.in: Removed CFLAGS and LDFLAGS defaults, use whatever
497         autoconf gives to us.
498
499 1996-03-11  Markku Rossi  <mtr@ngs.fi>
500
501         * 88592.txt: fixed character 0xf0 from /eth to /dbar.
502
503 1996-02-25  Markku Rossi  <mtr@ngs.fi>
504
505         * Reorganized source tree:
506           - enscript source is moved to the new `src' sub-directory
507           - `afm' directory is renamed to `afmlib'
508           - `afmfiles' directory is renamed to `afm'
509
510         * Renamed program to `GNU enscript'.
511
512         * Made to use Automake utility.  The old top level Change log has
513         moved to the src subdirectory.
514
515
516 Copyright (C) 1996, 1997, 1998, 1999, 2003, 2007, 2008 Free Software
517 Foundation, Inc.
518
519 Copying and distribution of this file, with or without modification,
520 are permitted in any medium without royalty provided the copyright
521 notice and this notice are preserved.