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