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