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