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