Apply patch from Debian Security Team for CAN-2004-1184.
[enscript.git] / src / ChangeLog
1 2009-12-27  Tim Retout  <diocles@gnu.org>
2
3         Apply patch from Debian Security Team for CAN-2004-1184.
4
5         * gsint.h: Add shell_escape prototype.
6         * util.c (shell_escape): New function to escape filenames for
7         shell usage.
8         * util.c (is_open): Use shell_escape to expand command buffer.
9
10         * main.c (main): Use single quotes when building command string,
11         and use shell_escape to quote contents.
12
13         * util.c (escape_string): Check return code of xmalloc.
14
15 2009-03-28  Tim Retout  <diocles@gnu.org>
16
17         * psgen.c (recognize_eps_file): Remove ability to read EPS data
18         from a pipe, as this executes arbitrary commands.  It has been
19         disabled in most distros for five years anyway.  See
20         CAN-2004-1185.
21
22         * psgen.c (dump_ps_page_header): Use basename() and dirname() to
23         split path.  Fixes a buffer overflow - see CAN-2004-1186.
24
25 2009-01-25  Tim Retout  <diocles@gnu.org>
26
27         * main.c (main): Respect $HOME when searching for ~/.enscriptrc
28
29 2008-01-01  Tim Retout  <diocles@gnu.org>
30
31         * ChangeLog: Run M-x change-log-redate. Add copyright notice at end.
32
33         * main.c (usage): Use PACKAGE_BUGREPORT instead of hardcoding the bug
34         report address.
35
36         * main.c (main) <toc>: Remove an unnecessary fclose of the toc
37         temporary file, which was breaking the --toc option.
38
39 1999-09-17  Markku Rossi  <mtr@amme.ssh.fi>
40
41         * main.c (handle_options): New option --footer to set the page
42         footer string.
43         (main): Modified the config file reading to be more user-tolerant.
44         If the config file reading still fails, the enscript prints a
45         verbose error message describing the situation.  Enscript also
46         suggest some workarounds for the problem.  Hopefully this helps
47         users to overcome their problems concerning the installation of
48         the program.
49
50         * psgen.c (dump_ps_page_header): Added support for user supplied
51         footer strings.
52
53         * main.c: Removed the obsolete --list-options option.
54
55 1999-09-13  Markku Rossi  <mtr@amme.ssh.fi>
56
57         * main.c (handle_options): New option --extended-return-values to
58         enable the extended return values.
59
60 1999-09-07  Markku Rossi  <mtr@amme.ssh.fi>
61
62         * psgen.c (process_file): Added an argument `is_toc' to specify
63         whether the file to process is a table of contents file.
64
65 1999-08-26  Markku Rossi  <mtr@amme.ssh.fi>
66
67         * util.c (format_user_string): New escape `$p' for number of pages
68         processed so far.
69
70 1999-07-16  Markku Rossi  <mtr@amme.ssh.fi>
71
72         * Finished the static to dynamic memory buffer conversion.  Now
73         the enscript sources should not have any buffer overrun bugs.
74
75 1999-07-13  Markku Rossi  <mtr@amme.ssh.fi>
76
77         * Converted many static buffers to dynamically allocated buffers.
78         There are still more work in this area.
79
80 1999-07-09  Markku Rossi  <mtr@amme.ssh.fi>
81
82         * main.c: Started to fix some possible buffer overflows.  This
83         needs still more work.
84
85         * util.c: Implemented buffer_clear().
86
87 1999-07-08  Markku Rossi  <mtr@amme.ssh.fi>
88
89         * prt_lpr.c: Fixed to use the new memory buffer routines.
90
91         * util.c: Implemented new dynamic memory buffer handling routines
92         buffer_{{un,}init,alloc,free,append{,_len},ptr,len}().
93
94 1999-07-05  Markku Rossi  <mtr@amme.ssh.fi>
95
96         * main.c (handle_options): New option `--nup-columnwise' to layout
97         pages in the N-up printing columnwise.
98         (handle_options): New option `--swap-even-page-margins' to swap
99         left and right side page marginals for even numbered pages.
100
101 1999-03-29  Markku Rossi  <mtr@amme.ssh.fi>
102
103         * main.c (close_output_file): Check the return value of fclose on
104         a written file, and warn if necessary. (John Bley,
105         jbb6@acpub.duke.edu)
106
107 1999-03-12  Markku Rossi  <mtr@amme.ssh.fi>
108
109         * main.c: Renamed all `pretty-print' options to the corresponding
110         `highlight' ones.
111
112 1999-01-07  Markku Rossi  <mtr@amme.ssh.fi>
113
114         * util.c (parse_font_spec): Cleaned up the font specification
115         parsing.
116
117         * main.c (main): Fixed the non-installation runs to preserve the
118         PATH_SEPARATOR.
119         (handle_options): New options -3, -4, -5, -6, -7, -8, -9 to select
120         3-9 columns.
121
122 1998-12-23  Markku Rossi  <mtr@amme.ssh.fi>
123
124         * main.c (encodings): Added ISO-8859-{9,10} encodings.
125
126         * psgen.c (process_file): Swapped the order in which the line
127         numbers and line shading are printed.  Now the line numbers won't
128         be overwritten by the shading.
129
130 1998-12-07  Markku Rossi  <mtr@amme.ssh.fi>
131
132         * main.c (main): Added a xgettext `no-c-format' string.
133
134 1998-10-29  Markku Rossi  <mtr@ngs.fi>
135
136         * main.c (main): Fixed the `--help-pretty-print' option to work
137         with the new highlighting scheme.
138
139 1998-10-23  Markku Rossi  <mtr@ngs.fi>
140
141         * util.c (read_font_info): Added the `encoding' value to the font
142         info cache key.
143
144         * psgen.c (process_file): New special escape ^@bgcolor{} to set
145         the text background color.
146
147         * main.c: Changed enscript to use the new highlighting style.  All
148         states related options were changed.
149
150 1998-10-16  Markku Rossi  <mtr@ngs.fi>
151
152         * psgen.c: Added support for the user specified input encoding in
153         the ^@font{} escapes.
154
155         * util.c (parse_font_spec): Added support for the encoding
156         specification in the font spec.  All uses changed.
157
158         * gsint.h: New the EncodingRegistry to hold the known input
159         encodings.
160         Made the encodings a global variable.
161
162 1998-09-07  Markku Rossi  <mtr@ngs.fi>
163
164         * main.c (main): Fixed to honor the HOME environment variable.
165
166 1998-06-25  Markku Rossi  <mtr@ngs.fi>
167
168         * main.c (handle_options): New option `--rotate-even-pages' to
169         rotate each even-numbered page 180 degrees.
170         (usage): Moved `--word-wrap' to correct position.
171
172 1998-06-24  Markku Rossi  <mtr@ngs.fi>
173
174         * psgen.c (dump_ps_page_header): Fixed N-up printing in the
175         portrait mode.  It used to work, but I have broke it sometime in
176         the past.  Now it is fixed again.
177
178         * util.c (format_user_string): Fixed a bug from the `$n'
179         formatting.  We do not want to show the leading '/' in the result
180         string.
181
182 1998-06-23  Markku Rossi  <mtr@ngs.fi>
183
184         * main.c (encodings): Fixed a typo where the ISO-8859-7 was called
185         "creek" instead of "greek".
186
187         * psgen.c (dump_ps_header): Fixed to obey the `pslevel' option;
188         generate PostScript level 2 features only if the requested level
189         is 2 or above.
190
191         * main.c (handle_options): New option `--ps-level' to set the PS
192         level that enscript should use.
193         (main): Changed to pass the stdin to states as "-".
194
195         * util.c (read_config): New config file option `PostScriptLevel'
196         to set the PS level that enscript should use.
197
198 1998-06-22  Markku Rossi  <mtr@ngs.fi>
199
200         * psgen.c (dump_ps_page_header): Fixed a NULL-reference bug from
201         the `--header' handling.
202
203 1998-06-17  Markku Rossi  <mtr@ngs.fi>
204
205         * main.c (usage): Added a missing `\n\' sequence in the usage
206         text.
207
208 1998-06-11  Markku Rossi  <mtr@ngs.fi>
209
210         * main.c: Renamed ISO-8859-* encodings.
211
212 1998-05-26  Markku Rossi  <mtr@ngs.fi>
213
214         * util.c (format_user_string): Changed `$%' to format the page
215         number as `2B' in the slicing mode.
216
217         * main.c (main): Added double quotes around all file names in the
218         pipe command strings.  Now we can cooperate with file names with
219         spaces.
220
221 1998-05-18  Markku Rossi  <mtr@ngs.fi>
222
223         * main.c (handle_options): Changed the way how the escape
224         character code can be set.  Now we accept decimals, octals,
225         hexadecimals, and characters as-is.
226
227 1998-03-25  Markku Rossi  <mtr@ngs.fi>
228
229         * main.c: Added ISO-8859/7 (ISO latin7) encoding.
230
231 1998-03-09  Markku Rossi  <mtr@ngs.fi>
232
233         * main.c (handle_options): Option -C, --line-numbers takes now an
234         optional argument that specifies the number of the first line of
235         the input.
236
237 1998-02-23  Markku Rossi  <mtr@ngs.fi>
238
239         * psgen.c (process_file): Implemented horizontal columns.  The
240         option --h-column-height is used to set the column height and to
241         activate the horizontal columns.
242
243 1998-01-14  Markku Rossi  <mtr@ngs.fi>
244
245         * psgen.c (get_next_token): Implemented word wrapping to be used
246         instead of truncating `-c', `--truncate-lines' or character
247         wrapping.
248
249         Cleaned up statistics about truncated and wrapped lines.  Now it
250         obeys `--pages' and it works for both truncated and wrapped lines.
251
252 1998-01-13  Markku Rossi  <mtr@ngs.fi>
253
254         * util.c (is_ungetc): Implemented unlimited ungetc support to the
255         InputStream interface.  This is needed for the word wrap support.
256
257         * main.c: New options --nup-xpad and --nup-ypad to change the page
258         padding in N-up printing.
259         (main): Cleaned up N-up printing.
260
261 1998-01-12  Markku Rossi  <mtr@ngs.fi>
262
263         * gsint.h: Replaced all stdarg functions with corresponding
264         macros.  Changed all calls of `error', `fatal', `cfg_fatal' and
265         `message' to use the new macros.  Now there should be no more
266         errors on HP-SUX.
267
268 1998-01-02  Markku Rossi  <mtr@ngs.fi>
269
270         * main.c (main): Changed to lookup the enscript.st file from
271         enscript_library instead of using the hard-coded `PREFIX/share'
272         directory.  Now it obeys the ENSCRIPT_LIBRARY environment
273         variable.
274
275         * psgen.c (dump_ps_header): Generate PageSize page device setting
276         if it is requested.  This should make the printer to select the
277         correct paper tray automatically.
278
279         * main.c (handle_options): Changed option -l, --lineprinter to set
280         only --lines-per-page=66 and --no-header (removed --portrait and
281         --columns=1).  Now it conforms to Adobe's version.
282
283 1997-11-26  Markku Rossi  <mtr@ngs.fi>
284
285         * util.c (format_user_string): Fixed y2k bugs.
286
287 1997-09-30  Markku Rossi  <mtr@ngs.fi>
288
289         * main.c: Added ISO-8859/4 encoding, thanks to Ricardas Cepas
290         <rch@pub.osf.lt>.
291
292 1997-09-16  Markku Rossi  <mtr@ngs.fi>
293
294         * main.c (version): Updated to conform the latest GNU coding
295         standard.
296
297 1997-08-28  Markku Rossi  <mtr@ngs.fi>
298
299         * main.c: New option `--margins=LEFT:RIGHT:TOP:BOTTOM' to adjust
300         page marginals.
301
302 1997-08-11  Markku Rossi  <mtr@ngs.fi>
303
304         * psgen.c (divert): Changed to use tempnam() instead of tmpnam().
305         (get_next_token): Fixed tabulator character handling with variable
306         width fonts.  Now it really works; the left margins is really
307         pretty.
308
309 1997-07-03  Markku Rossi  <mtr@ngs.fi>
310
311         * psgen.c (read_special_escape): Implemented new `escape' special
312         escape to change the escape character.
313
314 1997-06-10  Markku Rossi  <mtr@ngs.fi>
315
316         * psgen.c: Optimized the size of the generated PostScript output.
317         (print_line_number): Fixed to print the line number with the
318         default body font, not with the currently active font which might
319         have been selected with font escapes.
320         (process_file): New special escape ^@bggray{} to set the text
321         background color.
322
323 1997-06-06  Markku Rossi  <mtr@ngs.fi>
324
325         * psgen.c: Fixed lineskip to work better when changing the font at
326         the beginning of the line.
327
328 1997-06-05  Markku Rossi  <mtr@ngs.fi>
329
330         * psgen.c (dump_empty_page): Fixed --file-align option to work
331         even if we cross the page boundary in N-up mode.
332
333 1997-05-28  Markku Rossi  <mtr@ngs.fi>
334
335         * main.c: New option --mark-wrapped-lines[=STYLE],
336         MarkWrappedLines to mark wrapped lines in the printout.
337
338 1997-05-22  Markku Rossi  <mtr@ngs.fi>
339
340         * main.c (main): Coded more information to the return value.
341
342 1997-03-19  Markku Rossi  <mtr@ngs.fi>
343
344         * main.c: New option -W, --language to specify the output
345         language.
346         New option --color to change the States color model from the
347         command line.
348         Made option -J to be an alias for -t, --title.
349         Make option -# to be an alias for -n, --copies.
350
351 1997-03-04  Markku Rossi  <mtr@ngs.fi>
352
353         * util.c (read_config): New config file option `StatesPath' to
354         specify the path for the states program.
355
356         * psgen.c: Fixed --file-align option which was broken with the
357         --nup option.
358
359 1997-03-03  Markku Rossi  <mtr@ngs.fi>
360
361         * psgen.c (dump_ps_page_header): Implemented user escapes for user
362         defined header strings.
363 \f
364 1997-02-26  Markku Rossi  <mtr@ngs.fi>
365
366         * Release enscript-1.5.0.
367
368 1997-02-21  Markku Rossi  <mtr@ngs.fi>
369
370         * util.c (read_font_info): Optimized AFM caching, this speeds up
371         enscript when using ^@font{} escapes a lot (-E).
372         (read_font_info): New input encoding asciidkno.
373         Renamed asciiscands to asciifise.
374
375 1997-02-18  Markku Rossi  <mtr@ngs.fi>
376
377         * main.c: New option -U NUM, --nup=NUM to specify how many logical
378         output pages are printed on each physical output page.
379
380 1997-02-06  Markku Rossi  <mtr@ngs.fi>
381
382         * util.c (parse_font_spec): Added a warning about negative font
383         sizes.
384
385 1997-02-03  Markku Rossi  <mtr@ngs.fi>
386
387         * main.c: New option `--help-pretty-print' to describe all
388         supported --pretty-print languages and file formats.
389
390 1997-01-24  Markku Rossi  <mtr@ngs.fi>
391
392         * main.c (main): Changed the output file creation to be
393         demand-driven.  If the input file (all input files) could not be
394         opened, enscript doesn't generate any output.  This is a good
395         thing.
396
397 1997-01-23  Markku Rossi  <mtr@ngs.fi>
398
399         * gsint.h: Changed the way how memmove() and memcpy() are defined
400         handled.  Not replacements can be found form compat lib so we do
401         not need any #define kludges.
402
403 1997-01-21  Markku Rossi  <mtr@ngs.fi>
404
405         * Makefile.am: Removed testcase.sh and moved all tests to ../tests
406         directory.
407
408         * util.c (read_config): Added states dependant config file
409         options: `StatesColorModel', `StatesConfigFile' and
410         `StatesHighlightLevel'.
411
412 1997-01-13  Markku Rossi  <mtr@ngs.fi>
413
414         * mkafmmap.c: Internationalized mkafmmap program.
415
416         * util.c (read_config): New option `OutputFirstLine' to set the
417         PostScript output's first line.
418
419 1996-11-28  Markku Rossi  <mtr@ngs.fi>
420
421         * main.c: New option `--E', `--pretty-print' to pretty print
422         source codes with `states'.
423
424         * psgen.c: New special escape ^@color{r g b}.
425
426         * util.c (format_user_string): Fixed bug from the `$n' escape
427         formatting.
428         (read_config): New option `NoJobHeaderSwitch' to specify the
429         spooler option to suppress the job header.
430
431 1996-11-05  Markku Rossi  <mtr@ngs.ngs.fi>
432
433         * psgen.c: fixed line number spacing bug which occured when using
434         line numbers with escapes.
435
436         * main.c: Added ISO-8859/5 (ISO latin5) encoding.
437
438 1996-09-07  Markku Rossi  <mtr@ngs.ngs.fi>
439
440         * main.c: Added Adobe's Standard cyrillic Font KOI8 encoding.
441
442 1996-08-30  Markku Rossi  <mtr@ngs.ngs.fi>
443
444         * util.c (parse_font_spec): Accept font point size in width/height
445         format.
446
447 1996-08-23  Markku Rossi  <mtr@ngs.ngs.fi>
448
449         * util.c (read_config): New config file option TOCFormat.
450
451         * psgen.c (process_file): Implemented user-definable format
452         strings for TOC entries.
453
454         * main.c: New option --slice to print vertical slices of input
455         files.
456
457 1996-08-05  Markku Rossi  <mtr@ngs.ngs.fi>
458
459         * main.c: New option --file-align=ALIGN to align separate input
460         files to even ALIGN page count.
461
462 1996-07-24  Markku Rossi  <mtr@ngs.ngs.fi>
463
464         * main.c: New option --toc to print the Table of Contents.
465 \f
466 1996-07-17  Markku Rossi  <mtr@ngs.ngs.fi>
467
468         * Release enscript-1.4.0.
469
470 1996-06-16  Markku Rossi  <mtr@ngs.ngs.fi>
471
472         * psgen.c (get_next_token): Fixed line number counting for
473         truncated lines.
474         (paste_epsf): Fixed a bug which printed EPS images to pages which
475         didn't belong to any of the requested page ranges.
476
477         * main.c (main): Added new configuration file:
478         SYSCONFDIR/enscriptsite.cfg.  This is intended for the
479         site-specific configuration whereas the global configuration file
480         SYSCONFDIR/enscript.cfg is for the global defaults.
481         Site-configuration file is never overwritten by installing a new
482         version of enscript so it is a safe place to store site-specific
483         media etc. definitions.
484
485 1996-06-13  Markku Rossi  <mtr@ngs.ngs.fi>
486
487         * main.c (handle_options): New option `--printer-options' to pass
488         extra options to the printer command.
489
490         * psgen.c (process_file): Count shade-box's position from the
491         font's FontBBox value.
492         (process_file): New escape `ps' to add raw PostScript code to the
493         output.
494
495         * main.c: New option --filter=STR, -I STR which sets the
496         input filter for source files.
497
498 1996-05-24  Markku Rossi  <mtr@ngs.fi>
499
500         * util.c (read_config): New config file option `FormFeedType' to
501         specify what to do when a formfeed character is encountered from
502         input.
503
504         * psgen.c (read_special_escape): Cleaned up special escapes parsing.
505         (read_special_escape): New escapes: `newpage', `setfilename' and
506         `setpagenumber'.
507
508         * util.c (read_config): New config option
509         `AcceptCompositeCharacters' to specify whatever we accept
510         PostScript font's composite characters or should we consider them
511         as non-existent.
512         (download_font): Added support for binary-coded .pfb fonts, thanks
513         to Bruce Albrecht <bruce@zuhause.MN.ORG>.
514
515         * main.c (long_options): Renamed option --pass-through-ps-files to
516         --pass-through.
517
518 1996-05-22  Markku Rossi  <mtr@ngs.fi>
519
520         * psgen.c (process_file): Fixed carriage return character
521         handling.
522
523 1996-05-10  Markku Rossi  <mtr@ngs.fi>
524
525         * psgen.c (read_special_escape): New special escape `shade' to
526         highlight regions of text.
527
528         * main.c (usage): Cleaned up --help messages.
529
530 1996-05-09  Markku Rossi  <mtr@ngs.fi>
531
532         * util.c (read_config): New configuration file option:
533         EscapeChar.
534
535 1996-05-07  Markku Rossi  <mtr@ngs.fi>
536
537         * util.c (read_config): New config file option `UnderlayStyle' to
538         specify the underlay printing style.
539
540         * main.c: New option: -j, --borders to print borders around
541         columns.
542         (long_options): New option --ul-style to specify the underlay
543         printing style.
544
545 1996-05-02  Markku Rossi  <mtr@ngs.fi>
546
547         * util.c (read_font_info): Added AFM cache to speedup font-escape
548         processing.
549
550         * psgen.c (print_line_number): Don't print line numbers for
551         wrapped lines.
552
553 1996-04-22  Markku Rossi  <mtr@ngs.fi>
554
555         * util.c (format_user_string): New directive `%H' for the document
556         title.
557
558         * main.c: Changed option -e, --escapes to take an optional
559         argument which specifies the escape character.
560
561 1996-04-01  Markku Rossi  <mtr@ngs.fi>
562
563         * psgen.c (process_file): Now ^@font{} escapes work over page
564         boundaries.
565
566 1996-03-27  Markku Rossi  <mtr@ngs.fi>
567
568         * main.c (main): New option -a, --pages to select which pages are
569         printed.
570
571 1996-03-26  Markku Rossi  <mtr@ngs.fi>
572
573         * util.c (format_user_string): New option: `$=' number of pages in
574         the current input file.
575
576         * psgen.c (process_file): Added diversions to count the total
577         pages within a file (%Format: $=).
578
579 1996-03-12  Markku Rossi  <mtr@ngs.fi>
580
581         * main.c (handle_options): Changed option -l, --lineprinter to
582         print 66 lines per page instead of 65 lines.
583
584         * util.c (read_config): New config file option: PagePrefeed.
585
586         * main.c (main): New options: -k, --page-prefeed, -K,
587         --no-page-prefeed.
588
589 1996-03-07  Markku Rossi  <mtr@ngs.fi>
590
591         * util.c (format_user_string): New escape: $(ENVVAR).
592
593 1996-03-05  Markku Rossi  <mtr@ngs.fi>
594
595         * util.c (read_config): New config file options: HighlightBars and
596         HighLightBarGray.
597
598         * main.c: New option: -H, --highlight-bars and
599         --highlight-bar-gray to control the highlight bar printing.
600
601 1996-03-01  Markku Rossi  <mtr@ngs.fi>
602
603         * main.c: New option: -h, --no-job-header to suppress the job
604         header page.
605         (main): Changed option --title to set the name of stdin.
606
607 1996-02-29  Markku Rossi  <mtr@ngs.fi>
608
609         * Added support for the automatic de-ANSI-fication.
610
611         * Renamed package to enscript.
612
613 1996-02-25  Markku Rossi  <mtr@ngs.fi>
614
615         * main.c (main): changed stdin's name to be an empty string
616         instead of "(stdin)".  This is how Adobe's enscript does it.
617
618 1996-02-23  Markku Rossi  <mtr@ngs.fi>
619
620         * main.c (main): Added environment variable GENSCRIPT_LIBRARY
621         which can be used to overwrite the build-in library path.
622
623         * psgen.c (read_special_escape): fixed a bug which caused pipes to
624         the EPS files to be closed with fclose().
625
626 1996-02-21  Markku Rossi  <mtr@ngs.fi>
627
628         * Makefile.in (exec_prefix): fixed to honor the value given by the
629         configure script.
630
631 1996-02-20  Markku Rossi  <mtr@ngs.fi>
632
633         * Added hp8 (HP Roman-8) encoding.
634 \f
635 1996-02-19  Markku Rossi  <mtr@ngs.fi>
636
637         * Release genscript-1.3.0.
638
639         * main.c (main): New config file option `AppendCtrlD' which can be
640         used to append the ^D character to the end of the output.
641
642         * psgen.c (do_pass_through_ps_file): added pass-through for the
643         PCL files.
644
645 1996-02-08  Markku Rossi  <mtr@ngs.fi>
646
647         * util.c (read_config): New config file option `Clean7Bit' to
648         specify how characters greater than 127 are handled.
649
650 1996-02-07  Markku Rossi  <mtr@ngs.fi>
651
652         * gsint.h: Implemented unit selection for the `--indent' option.
653
654 1996-01-30  Markku Rossi  <mtr@ngs.fi>
655
656         * main.c (main): Now genscript can be used even if it is not
657         installed.
658
659         * Makefile.in (check): new target
660
661 1996-01-25  Markku Rossi  <mtr@ngs.fi>
662
663         * util.c (paste_file): Implemented `%HeaderHeight' and
664         `%FooterHeight' directives.
665
666 1996-01-09  Markku Rossi  <mtr@ngs.fi>
667
668         * Finished Win-95/NT port.
669
670 1996-01-08  Markku Rossi  <mtr@ngs.fi>
671
672         * First Win-95/NT port with MSC 2.00.
673
674         * util.c (format_user_string): New options: %N and $%.
675
676 1996-01-05  Markku Rossi  <mtr@ngs.fi>
677
678         * psgen.c (dump_ps_header): Removed date and time ps-constants
679         which can now be formatted with the `%Format' directive:
680           - usadatestr  = %W
681           - eurdatestr  = %E
682           - findatestr  = %F
683           - timestr     = %C
684
685         (dump_ps_page_header): Removed fmodstr ps-constant which can now
686         be formatted with the `%Format' directive:
687           - fmodstr      = $D{%a %b %e %T %Y}
688
689         * util.c (format_user_string): Implemented `%Format' directive
690         which can be used to format user defined strings in fancy headers.
691
692 1996-01-04  Markku Rossi  <mtr@ngs.fi>
693
694         * main.c: Added pslatin1 encoding (PostScript interpreter's
695         ISOLatin1Encoding).
696
697 1996-01-03  Markku Rossi  <mtr@ngs.fi>
698
699         * Created a new Makefile to the compat subdirectory; now genscript
700         does not need a make with the VPATH feature.
701
702         * main.c (usage): Split usage string to smaller parts wich are
703         printed separately.
704
705 1996-01-02  Markku Rossi  <mtr@ngs.fi>
706
707         * main.c: New option: --non-printable-format, NonPrintableFormat.
708
709 1995-12-20  Markku Rossi  <mtr@ngs.fi>
710
711         * Added statistics about non-printable character codes.
712
713         * main.c: New option: -z, --no-formfeed to disable form feed
714         character interpretation.
715
716         * util.c (do_list_missing_characters): Changed output to go to
717         stderr instead of stdout.
718
719 1995-12-19  Markku Rossi  <mtr@ngs.fi>
720
721         * util.c (read_config): New config file options: UnderlayAngle and
722         UnderlayPosition.
723
724         * main.c (main): New options: --ul-angle and --ul-position.
725
726 1995-12-18  Markku Rossi  <mtr@ngs.fi>
727
728         * configure.in (PATH_SEPARATOR): Defined a new constant
729         PATH_SEPARATOR to specify the character which separates path
730         components.  Fixed also all uses.
731
732         * prt_lpr.c: Isolated printer related stuffs to a separate C file
733         to help micro ports.
734
735         * Makefile.in: Removed pre-defined eps images from the
736         distribution.
737
738         * util.c (parse_font_spec): Added support for the new
739         `name@ptsize' font specification.
740
741 1995-11-28  Markku Rossi  <mtr@ngs.fi>
742
743         * main.c (handle_options): Option -u, --underlay was changed to
744         take an optional argument.  If no argument is given, underlay is
745         not printed.
746
747         * util.c (read_config): New config file option `Underlay' to
748         specify the underlay text.
749
750         * Makefile.in: Fixed Makefile to obey the GNU Coding Standards.
751         Changed datadir from `prefix/lib' to `prefix/share'.
752
753 1995-11-27  Markku Rossi  <mtr@ngs.fi>
754
755         * util.c (read_config): New config file options: UnderlayFont and
756         UnderlayGray
757
758         * main.c: Renamed long options:
759           --output-file =>      --output
760           --queue       =>      --printer
761           --tab-size    =>      --tabsize
762
763           (long_options): made --silent to be an alias for --quiet
764
765         * utils.c: Renamed config file option `Queue' to `Printer'.
766
767 1995-11-08  Markku Rossi  <mtr@ngs.fi>
768
769         * Added latin3 encoding (from the latin3.txt file by Duncan C
770         Thomson).
771
772 1995-11-02  Markku Rossi  <mtr@ngs.fi>
773
774         * psgen.c: Fixed a bug which added document headers and trailers
775         to pass-through PostScript files.
776 \f
777 1995-10-31  Markku Rossi  <mtr@ngs.fi>
778
779         * Release genscript-1.2.20.
780
781 1995-10-27  Markku Rossi  <mtr@ngs.fi>
782
783         * Added option -C, --line-numbers.
784
785 1995-10-26  Markku Rossi  <mtr@ngs.fi>
786
787         * Added option -Z, --pass-through-ps-files.
788
789 1995-10-24  Markku Rossi  <mtr@ngs.fi>
790
791         * Cleaned up some HTML entity codes in encoding tables.
792
793 1995-10-18  Markku Rossi  <mtr@ngs.fi>
794
795         * Added latin2 encoding.
796
797 1995-10-10  Markku Rossi  <mtr@ngs.fi>
798
799         * main.c (main): changed fancy header's height from 40 to 36
800         points.
801
802 1995-10-05  Markku Rossi  <mtr@ngs.fi>
803
804         * New config file options: Queue and QueueParam.
805
806         * genscript.man: minor cleanups.
807 \f
808 1995-10-02  Markku Rossi  <mtr@ngs.fi>
809
810         * Release genscript-1.2.1.
811
812 1995-09-29  Markku Rossi  <mtr@ngs.fi>
813
814         * main.c: read default options from the GENSCRIPT (and ENSCRIPT)
815         environment variable
816
817 1995-09-26  Markku Rossi  <mtr@ngs.fi>
818
819         * font size and baselineskip can be given as a decimal number
820
821         * psgen.c: Fixed DSC comments, now generated output is DSC 3.0
822         conforming.
823
824 1995-09-21  Markku Rossi  <mtr@ngs.fi>
825
826         * Implemented .pf{a,b} file downloading.
827
828 1995-09-20  Markku Rossi  <mtr@ngs.fi>
829
830         * psgen.c (read_special_escape): new option 's' (scale) to specify
831         an explicit scale for an eps image.
832
833         * psgen.c: fixed epsf escape to start a new column if the
834         specified image does not fit to the current one.
835
836 1995-09-18  Markku Rossi  <mtr@ngs.fi>
837
838         * main.c: Fixed some typos.
839
840         * Added backspace handling.
841
842 1995-09-09  Markku Rossi  <mtr@ngs.fi>
843
844         * main.c (main): fixed typos that broke -o and -X options.
845 \f
846 1995-09-04  Markku Rossi  <mtr@ngs.fi>
847
848         * Release genscript-1.1.4.
849
850         * Added option --page-label-format.
851
852         * psgen.c (dump_ps_header): Added findatestr.
853         (paste_epsf): Fixed paste_epsf()'s EPS file recognization.
854
855 1995-08-30  Markku Rossi  <mtr@ngs.fi>
856
857         * Added options -u, --underlay, --ul-gray and --ul-font.
858
859         * psgen.c (read_float): now dimensions can be specified in
860         different units.
861
862 1995-08-29  Markku Rossi  <mtr@ngs.fi>
863
864         * Changed PostScript font's default encoding name from 'default'
865         to 'ps'.
866
867         * New config file option: DefaultOutputMethod.
868
869         * Added option --indent, -i.
870
871         * Cleaned up options in manual page, help and code.
872
873         * Replaced StringSet module with StringHash.
874
875         * psgen.c (paste_epsf): Now EPS images can be read from command's
876         standard output.
877
878 1995-08-24  Markku Rossi  <mtr@ngs.fi>
879
880         * vms.txt: Added VMS multinational input encoding.
881
882         * mac.txt: Cleaned up character table.
883
884         * Added options -S, --statusdict and -D, --setpagedevice.
885
886 1995-08-23  Markku Rossi  <mtr@ngs.fi>
887
888         * Improved configure to handle more non-ANSI features.
889
890         * Fixed a declaration bug from compat/strerror.c.
891
892         * psgen.c (read_float): replaced strtod() with atof().
893
894         * xalloc.c (xrealloc): do an explicit malloc() if old pointer is
895         NULL.
896
897         * ibmpc.txt: Cleaned up character table.
898
899         * psgen.c (get_next_token): control characters are now printed in
900         the escaped form.
901 \f
902 1995-08-21  Markku Rossi  <mtr@ngs.fi>
903
904         * Release genscript-1.0.1.
905
906 1995-08-17  Markku Rossi  <mtr@ngs.fi>
907
908         * Minor cleanups.
909
910 1995-08-15  Markku Rossi  <mtr@ngs.fi>
911
912         * Added option --baseline.
913
914         * Fixed epsf escape's options.
915
916 1995-08-14  Markku Rossi  <mtr@ngs.fi>
917
918         * Added support for AFM files.
919
920 1995-08-09  Markku Rossi  <mtr@ngs.fi>
921
922         * Added option --newline to select the newline character.
923
924         * Cleaned up character set tables.
925
926 1995-08-07  Markku Rossi  <mtr@ngs.fi>
927
928         * Added Mac input encoding.
929
930 1995-08-03  Markku Rossi  <mtr@ngs.fi>
931
932         * New special escapes: 'font' and 'comment'.
933
934         * New option --tab-size=NUM, -T NUM to define tab expansion size.
935
936         * General code and document cleanups.
937
938 1995-07-31  Markku Rossi  <mtr@ngs.fi>
939
940         * Added support for --copies option.  Now it really works.
941
942         * util.c (paste_file): parses '%%DocumentNeededResources:'
943         comments
944
945         * Added options --font and --header-font.
946
947 1995-07-27  Markku Rossi  <mtr@ngs.fi>
948
949         * psgen.c (paste_epsf): now eps files are also looked up from
950         libpath.
951         (read_special_escape): epsf: added option 'r'.
952
953 1995-07-26  Markku Rossi  <mtr@ngs.fi>
954
955         * psgen.c: added support for inlined EPS-files.
956
957 1995-07-25  Markku Rossi  <mtr@ngs.fi>
958
959         * Added IBM PC input encoding.
960
961
962 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2008 Free Software Foundation, Inc.
963
964 Copying and distribution of this file, with or without modification,
965 are permitted in any medium without royalty provided the copyright
966 notice and this notice are preserved.