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