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