Remove code to read EPS data from a pipe.
[enscript.git] / states / ChangeLog
1 2009-01-13  Tim Retout  <diocles@gnu.org>
2
3         * gram.c, gram.h, lex.c: Remove generated files from repository.
4
5 2008-01-29  Tim Retout  <diocles@gnu.org>
6
7         * Makefile.am (CLEANFILES): Clean up installed scripts.
8
9 2008-01-02  Tim Retout  <diocles@gnu.org>
10
11         * main.c (main): Use PACKAGE_STRING to produce version string.
12
13 2008-01-01  Tim Retout  <diocles@gnu.org>
14
15         * ChangeLog: Run M-x change-log-redate. Add copyright notice at end.
16
17 1999-09-24  Markku Rossi  <mtr@amme.ssh.fi>
18
19         * utils.c (eval_expr): Added filename and linenumber information
20         to some error messages.
21
22 1999-07-19  Markku Rossi  <mtr@amme.ssh.fi>
23
24         * enscript.st (mail_body): Changes by Matthew Weigel
25         <weigel@pitt.edu>.
26
27         * prims.c (prim_sprintf): Implemented `%c' format to print
28         characters.
29
30 1999-07-13  Markku Rossi  <mtr@amme.ssh.fi>
31
32         * utils.c (lookup_var): Fixed memory leaks from the special
33         variable lookup.
34
35 1999-07-08  Markku Rossi  <mtr@amme.ssh.fi>
36
37         * enscript.st: Highlighting rules for TeX/LaTeX.  Thanks to Toni
38         Giorgino <toni@pcape2.pi.infn.it>.
39
40 1999-04-28  Markku Rossi  <mtr@amme.ssh.fi>
41
42         * prims.c (prim_system): Implemented the system() primitive.
43
44 1999-04-01  Markku Rossi  <mtr@amme.ssh.fi>
45
46         * enscript.st (namerules): Changed the `.m' suffix from
47         Objective-C to Matlab.
48         Matlab changes Jack Dunn.
49
50 1999-03-30  Markku Rossi  <mtr@amme.ssh.fi>
51
52         * enscript.st (ansi_faces): New output language ANSI for color
53         xterms.  It should be used with the `tty' style.  Thanks to Bill
54         Petheram <petheram@acm.org>.
55
56 1999-03-12  Markku Rossi  <mtr@amme.ssh.fi>
57
58         * enscript.st (makefile): Added highlighting for Matlab files.
59         Thanks to Jack Dunn <h.j.dunn@larc.nasa.gov>.
60
61 1999-01-07  Markku Rossi  <mtr@amme.ssh.fi>
62
63         * enscript.st (ksh): In ${#text}, the '#' character does not start
64         a comment.  Thanks to Tobias Buchal <buchal41@che41a0.der.edf.fr>.
65         (cpp): Allow '&' characters in function names.  Thans to Tobias
66         Buchal.
67
68 1998-10-28  Markku Rossi  <mtr@ngs.fi>
69
70         * process.c (execute_state): Added initialization for the variable
71         `found'.
72
73 1998-10-23  Markku Rossi  <mtr@ngs.fi>
74
75         * Makefile.am: Changed the enscript to use the new highlighting
76         style.  The highlighting definition files are in the `hl'
77         sub-directory.
78
79         * prims.c (prim_calln): New primitive function to call a state by
80         its name.
81         (prim_require_state): New primitive function to check that the
82         arugment state is defined.
83
84         * main.c (main): Use PATH_SEPARATOR when constructing the path.
85
86         * utils.c (autoload_file): Fixed to use PATH_SEPARATOR.
87
88 1998-10-22  Markku Rossi  <mtr@ngs.fi>
89
90         * enscript.st (vrml): Added built-in nodes.  Thanks to James
91         Sørlie.
92
93         * utils.c (load_states_file): The `global_stmts' must be
94         initialized to list() instead of NULL.
95         (autoload_file): Send verbose messages to stderr.
96
97         * enscript.st (vrml): Small fixes by James Sørlie.
98         (overstrike_faces): Fixed to handle newline characters correctly
99         in the bold mode.
100
101 1998-10-21  Markku Rossi  <mtr@ngs.fi>
102
103         * utils.c: Changed all input file related error messages to use
104         the correct file name.
105         (load_states_file): New function to load a states file.
106         (autoload_file): New function to autoload a feature.
107         (lookup_state): Moved here from process.c.
108
109         * process.c: The function lookup_state() was moved to utils.c and
110         made global.
111
112         * main.c: New options -p, --path, -v, --verbose.
113
114         * defs.h: Added `filename' members to all types that report errors
115         from a source file locations.
116         Added support for state autoloading.
117
118         * enscript.st (vrml): Small fixes by James Sørlie.
119
120         * process.c (execute_state): Fixed to execute the BEGIN and END
121         rules of the inherited states.
122
123         * enscript.st (vrml): Added highlighting for the Virtual Reality
124         Modeling Language (VRML97).  Thanks to James Sørlie
125         <sorliej@imm.dtu.dk>.
126
127 1998-10-15  Markku Rossi  <mtr@ngs.fi>
128
129         * gram.y: Added support for state inheritance.
130
131         * lex.l: New keyword `extends'.
132
133         * process.c (lookup_state): New function to lookup a state by its
134         name.  This function is extented in the future to support
135         autoloading.
136         (execute_state): Fixed to support state heritance.
137
138         * utils.c (define_state): Added argument `super' for the super
139         state of our new state.
140
141         * defs.h (struct state_st): New type for the states.  The states
142         can be ~inherited, so we can't use the basic list anymore.
143
144 1998-09-17  Markku Rossi  <mtr@ngs.fi>
145
146         * enscript.st: Updated C, C++, and Objective-C mode highlightings
147         to support bitfields in structure definitions.  Thanks to Chris
148         Jepeway <jepeway@cs.utk.edu>.
149
150 1998-08-03  Markku Rossi  <mtr@ngs.fi>
151
152         * enscript.st: New highlighting rules for: bash, csh, ksh, m4,
153         skill, tcsh, and zsh.  Thanks to Jean-Marc Calvez
154         <jean-marc.calvez@st.com>.
155         (fortran): Some fortran highlighting fixes.  Thanks to Philip
156         Sterne.
157
158 1998-07-01  Markku Rossi  <mtr@ngs.fi>
159
160         * enscript.st (c, cpp, objc): Major updates.  Now these are pretty
161         close to Emacs' font-lock mode.
162         (html_faces): Changed type faces to be printed in boldface instead
163         of italic.
164         (start): Changed `type_face_font' to be the `bold_font' instead of
165         `italic_font'.
166
167 1998-06-26  Markku Rossi  <mtr@ngs.fi>
168
169         * enscript.st (c): Added support for the C++'ish //-single line
170         comments.
171
172 1998-06-23  Markku Rossi  <mtr@ngs.fi>
173
174         * enscript.st (html_faces): Cleaned up the HTML faces.
175         (start): Added support for `LucidaSans-Typewriter' font.
176
177         * main.c (main): Changed the name of the stdin to "-".
178
179 1998-06-22  Markku Rossi  <mtr@ngs.fi>
180
181         * main.c (main): Enscript gives the stdin as an empty argument.
182         Fixed the main() to handle it.
183
184 1998-06-11  Markku Rossi  <mtr@ngs.fi>
185
186         * enscript.st: Fixed Python function definition highlighting.
187         Thanks to Andy Eskilsson <andy.eskilsson@telelogic.se>.
188
189 1998-05-29  Markku Rossi  <mtr@ngs.fi>
190
191         * enscript.st (idl): Added highlighting for the CORBA Interface
192         Definition Language IDL.  Thanks to Alexis Layton
193         <alex@InConcert.COM>.
194
195 1998-05-27  Markku Rossi  <mtr@ngs.fi>
196
197         * enscript.st (javascript): Updated the function name regexp.  The
198         function names - and all other symbols - can contain the dollar
199         sign.
200         (javascript): Fixed ''-strings and character constants.
201
202 1998-03-09  Markku Rossi  <mtr@ngs.fi>
203
204         * enscript.st (vba): Added highlighting for Visual Basic (for
205         Applications).  Thanks to Kevin Grover <grover@wizard.com>.
206         Added new output language RTF (Rich Text Format).  Thanks to Kevin
207         Grover <grover@wizard.com>.
208         (python): Updated Python highlighting rules.
209
210 1998-02-27  Markku Rossi  <mtr@ngs.fi>
211
212         * enscript.st (python): Added highlighting for the Python
213         language.  Thanks to Andy Eskilsson <andy.eskilsson@telelogic.se>.
214         (asm): Added highlighting rules for Assembler listings.
215
216 1998-02-11  Markku Rossi  <mtr@ngs.fi>
217
218         * enscript.st (javascript): Initialize from_html to 0 at the
219         global level.  Now we can print JavaScript files that are not
220         embedded to HTML.
221
222 1998-01-29  Markku Rossi  <mtr@ngs.fi>
223
224         * enscript.st (perl): Fixed to handle oddities in OO perl and perl
225         used for cgi scripts.  Thanks to Jim Villani.
226
227 1998-01-28  Markku Rossi  <mtr@ngs.fi>
228
229         * enscript.st (sh): Added highlighting for bourne shell scripts.
230         Thanks to Juergen Kahrs <Juergen.Kahrs@t-online.de>.
231         (startrules): Fixed perl and awk rules to accept space after
232         `#!'.
233
234 1998-01-20  Markku Rossi  <mtr@ngs.fi>
235
236         * enscript.st (awk): Added highlighting for awk.  Thanks to
237         Juergen Kahrs <Juergen.Kahrs@t-online.de>.
238
239 1997-12-31  Markku Rossi  <mtr@ngs.fi>
240
241         * enscript.st (namerules): Added suffix `.pm' for perl mode.
242         (startrules): Fixed perl mode to recognize files which start with
243         `#!...perl'.
244
245 1997-12-30  Markku Rossi  <mtr@ngs.fi>
246
247         * enscript.st: Added colors `cadet blue' and `orchid'.
248         Fixed `emacs' color model to conform the emacs' defaults.
249         (changelog): Updated ChangeLog highlighting to conform emacs.
250
251 1997-12-17  Markku Rossi  <mtr@ngs.fi>
252
253         * utils.c (lookup_var): Made special variable `$`' an alias for
254         `$B'.
255
256 1997-12-15  Markku Rossi  <mtr@ngs.fi>
257
258         * enscript.st (html_faces): Added navigation links: top, next,
259         prev.
260         (start): New colormode `ifh'.  Thanks to Tobias Buchal
261         <buch@ifh.bau-verm.uni-karlsruhe.de>
262         (diff): Added highlighting for diffs.  Thanks to Tobias Buchal.
263         (diffu): Added highlighting for unified diffs.  Thanks to Tobias
264         Buchal.
265         (html_annotate_mailtos): Fixed addresses which contain '-'
266         characters.
267         (html_annotate_mailtos): Fixed addresses which contain '.'
268         characters in the user name.
269
270 1997-11-13  Markku Rossi  <mtr@ngs.fi>
271
272         * enscript.st (delphi): Added support for C++ style comments.
273         (fortran): Updated Fortran highlighting.  Thanks to Keith Refson
274         <Keith.Refson@earth.ox.ac.uk>.
275
276 1997-08-27  Markku Rossi  <mtr@ngs.fi>
277
278         * prims.c (prim_regexp_syntax): New primitive to modify regexp
279         engine's character syntax table.
280
281         * enscript.st (scheme): Improved keyword highlighting, thanks to
282         the new regexp_syntax() primitive which can be used to modify
283         regexp character syntax table.
284
285 1997-08-11  Markku Rossi  <mtr@ngs.fi>
286
287         * enscript.st (start): Fixed PostScript font resolving to work
288         with the `Souvenir' font.
289
290 1997-07-18  Markku Rossi  <mtr@ngs.fi>
291
292         * lex.l: Implemented case-insensitive regular expressions.
293
294 1997-07-16  Markku Rossi  <mtr@ngs.fi>
295
296         * enscript.st (sql): Updated Sybase SQL highlighting rules, thanks
297         to Chris Jack <chris_jack@msn.com>.
298
299 1997-07-04  Markku Rossi  <mtr@ngs.fi>
300
301         * utils.c (compile_regexp): New function to handle regular
302         expression compilations.
303         (compile_regexp): Added fastmaps for regexps, this speeds up the
304         processing noticeably.
305
306 1997-06-23  Markku Rossi  <mtr@ngs.fi>
307
308         * enscript.st (sql): Added highlighting for SQL language by
309         Chris Jack <chris_jack@msn.com>.
310
311         * utils.c (lookup_var): Renamed special variable `$`' to `$B'.
312
313         * enscript.st (perl): Added highlighting for Perl programming
314         language by Jim Villani, Logistics Management Institute
315         (jvillani@lmi.org).
316
317 1997-06-10  Markku Rossi  <mtr@ngs.fi>
318
319         * utils.c (lookup_var): New special variable `$.'.
320         (lookup_var): New special variable `$`'.
321
322 1997-06-06  Markku Rossi  <mtr@ngs.fi>
323
324         * prims.c (prim_float): New primitive to convert items to float
325         numbers.
326
327 1997-06-03  Markku Rossi  <mtr@ngs.fi>
328
329         * enscript.st (c): Improved C pre-processor line highlighting to
330         highlights also string and character constansts.
331         (c): Added highlighting for goto's labels and targets.
332         (c): Added highlighting for function definitions and prototypes.
333         (changelog): Added highlighting for description entries with
334         function name but without file name.
335         (cpp): Added highlighting for goto's labels and targes.
336         (cpp): Added highlighting for function definitions and
337         prototypes.
338         (objc): Added highlighting for goto's labels and targets.
339
340 1997-05-20  Markku Rossi  <mtr@ngs.fi>
341
342         * enscript.st (delphi): Added highlighting for Delphi language by
343         Michael Van Canneyt <michael@tfdec1.fys.kuleuven.ac.be>.
344
345         * main.c (main): Moved the initialization of `ofp' from the
346         variable declaration to main().
347
348 1997-05-02  Markku Rossi  <mtr@ngs.fi>
349
350         * enscript.el (build-re): Added support for case-insensitive
351         regular expressions.
352
353         * enscript.st (fortran): Added highlighting for Fortran77
354         language.
355         Re-generated case-insensitive keyword regular expressions with the
356         new build-re function.
357
358 1997-04-25  Markku Rossi  <mtr@ngs.fi>
359
360         * enscript.st (pascal): Added highlighting for Pascal language by
361         Michael Van Canneyt <michael@tfdec1.fys.kuleuven.ac.be>.
362
363 1997-04-16  Markku Rossi  <mtr@ngs.fi>
364
365         * gram.y: Implemented expressions: +=, -=, *=, div=.
366
367 1997-04-14  Markku Rossi  <mtr@ngs.fi>
368
369         * gram.y: Implemented prefix and postfix increment (++) and
370         decrement (--) operators.
371
372 1997-04-04  Markku Rossi  <mtr@ngs.fi>
373
374         * enscript.st (java): Added highlighting for Java language by Paul
375         Fisher <pnfisher@eos.ncsu.edu>.
376         (html_faces): Fixed 1.5.0 compatibility bug.
377
378 1997-04-03  Markku Rossi  <mtr@ngs.fi>
379
380         * prims.c (prim_range): New primitive to fetch sub-ranges from
381         lists and strings.
382         Changed all primitives' error messages to be in format
383         `FILE:LINE: MESSAGE'.
384
385 1997-03-25  Markku Rossi  <mtr@ngs.fi>
386
387         * prims.c (prim_regexp): New primitive to create regular
388         expressions from strings.
389         (prim_split): New primitive to split string to list.
390
391 1997-03-21  Markku Rossi  <mtr@ngs.fi>
392
393         * enscript.st (html): Added support for nested scripts.
394         (javascript): Added highlighting for JavaScript.
395
396 1997-03-19  Markku Rossi  <mtr@ngs.fi>
397
398         * enscript.st (need_version): New help subroutine to check that a
399         specified version of the states program is in use.
400         (html_faces): Changed HTML output language to co-operate with
401         enscript's new --language option.
402         (passthrough): New state which simply pass its input to output
403         preserving only face specific headers, footers and language
404         specials.
405
406         * main.c (main): New built-in variable `argv' which holds input
407         file names.
408
409 1997-03-17  Markku Rossi  <mtr@ngs.fi>
410
411         * enscript.st (elisp): Added highlighting for Emacs Lisp.
412         (overstrike_faces): New output language `overstrike' for line
413         printers and less by François Pinard.
414         (tcl): Updated Tcl and Tk keywords from Tcl/Tk 8.0a1.
415         Added highlighting for procedure names and variable names.
416         (scheme): Fixed keywords to recognize `set!'.
417
418 1997-03-11  Markku Rossi  <mtr@ngs.fi>
419
420         * enscript.st (states): Updated keyword list.
421         Implemented highlighting for built-in functions.
422         Added highlighting for function names.
423
424 1997-03-10  Markku Rossi  <mtr@ngs.fi>
425
426         * enscript.st (postscript): Added highlighting for PostScript
427         language by Dave Hylands <DHylands@creo.com>.
428         Sorted highlighting states according to their names.
429
430 1997-03-06  Markku Rossi  <mtr@ngs.fi>
431
432         * enscript.st: Implemented new `variable_name_face' typeface.
433         (c_ppline): Implemented a smarter C preprocessor line highlighting
434         support.  Now it should be identical with Emacs's highlight.
435
436 1997-03-04  Markku Rossi  <mtr@ngs.fi>
437
438         * enscript.st (ada): Added highlighting for the Ada95 programming
439         language by Rolf Ebert <ebert@waporo.muc.de>.
440
441 1997-03-03  Markku Rossi  <mtr@ngs.fi>
442
443         * enscript.st (start): Cleaned bold, italic and bold-italic font
444         resolving.
445         (makefile): Fixed highlighting to handle nested (){} structures.
446         (scheme): Updated to highlight function names and ':'-started
447         function arguments.
448
449 1997-02-27  Markku Rossi  <mtr@ngs.fi>
450
451         * enscript.st: Implemented new type faces: `builtin_face' and
452         `type_face'.
453         (haskell): Added highlighting for the Haskell programming language
454         by Hans-Wolfgang Loidl <hwloidl@dcs.gla.ac.uk>.
455         Updated highlighting rule guidelines and updated all current rules
456         to obey them.
457         Implemented new documentation state `describe_languages_html'
458         which will create a HTML report about all supported highlighting
459         formats.
460 \f
461 1997-02-26  Markku Rossi  <mtr@ngs.fi>
462
463         * Release enscript-1.5.0.
464
465 1997-02-21  Markku Rossi  <mtr@ngs.fi>
466
467         * gram.y: Implemented logical operators `not', `and' and `or'.
468
469         * main.c: New option -W, --warning to set the warning level.
470
471         * Added test subdirectory and tests for States.
472
473 1997-02-19  Markku Rossi  <mtr@ngs.fi>
474
475         * enscript.st (synopsys): Added highlighting for the Synopsys DC
476         Shell scripting language by Brian Silveira (brian@nortel.ca) and
477         Hartley Horwitz (harts@nortel.ca).
478         (synopsys): New synopsys mode with some minor fixes.
479
480 1997-02-18  Markku Rossi  <mtr@ngs.fi>
481
482         * enscript.st: Added guidelines for new highlighting rules.
483         (vhdl): Added VHDL highlighting by Brian Silveira
484         (brian@nortel.ca).
485
486 1997-02-11  Markku Rossi  <mtr@ngs.fi>
487
488         * enscript.st (verilog): Added new '`' keywords.
489         (verilog): Added highlighting for references of the pre-processor
490         defined things.
491
492 1997-02-05  Markku Rossi  <mtr@ngs.fi>
493
494         * prims.c (prim_tointeger): Renamed primitive `tonumber' to
495         `int'.
496         (prim_string): Renamed primitive `tostring' to `string'.
497         (prim_sprintf): New primitive to create formatted strings.
498
499         * utils.c (eval_expr): Implemented integer and real values and
500         expressions and conversions betweeen them.
501
502         * prims.c (prim_concat): Renamed primitive `strcat' to `concat'.
503
504 1997-02-04  Markku Rossi  <mtr@ngs.fi>
505
506         * prims.c (prim_list): New primitive `list' to create lists.
507         (prim_length): Renamed primitive `strlen' to `length'.
508
509         * gram.y: Implemented array references and assignments for lists
510         and strings.
511
512         * lex.l: Implemented C's character constants ('a').
513
514 1997-02-03  Markku Rossi  <mtr@ngs.fi>
515
516         * enscript.st: Added `describe_languages' state which can be used
517         to extract information about the supported --pretty-print
518         languages from the enscript.st file.
519         Added documentation comments (/** */) to all supported languages
520         and file formats.
521         Changed start state resolving to check the startrules before the
522         namerules.
523         Added colors for HTML target.
524
525         * Fixed bugs encountered with enscript-1.4.4.
526         Updated developement tools: flex-2.5.4 and bison-1.25.
527
528 1997-01-31  Markku Rossi  <mtr@ngs.fi>
529
530         * prims.c (prim_prereq): New primitive to check that a recent
531         enough version of States is being used.
532
533 1997-01-25  Markku Rossi  <mtr@ngs.fi>
534
535         * enscript.st (changelog): Implemented ChangeLog highlighting.
536
537         * enscript.el: Emacs lisp commands to help enscript.st editing.
538
539         * enscript.st (objc): Implemented Objective-C highlighting.
540         Regenerated keyword regular expressions with the Emacs-lisp
541         build-re command.
542
543 1997-01-24  Markku Rossi  <mtr@ngs.fi>
544
545         * prims.c: New primitives: regmatch, regsub and regsuball.
546
547 1997-01-23  Markku Rossi  <mtr@ngs.fi>
548
549         * prims.c (prim_getenv): New primitive: getenv.
550
551         * Makefile.am: Moved libcompat.a before libintl.a so intl library
552         can use alloca.
553
554         * De-ANSI-fied states sources since bison generated gram.c is
555         already in K&R.
556
557 1997-01-22  Markku Rossi  <mtr@ngs.fi>
558
559         * Makefile.am: Added many2html script.
560
561         * enscript.st: Added support for multiple output languages and
562         implemented HTML target for all supported input languages.
563
564         * gram.y: changed top-level expressions to statements and moved
565         subroutine definition from top-level to statements.  This allows
566         conditional subroutine definitions.
567         added tSYMBOL for state rule's expr part.  This allows
568         user-definable matches.
569
570 1997-01-20  Markku Rossi  <mtr@ngs.fi>
571
572         * enscript.st (tcl): Implemented Tcl highlighting.
573
574         * defs.h (struct environment_st): Changed procedure call's
575         environment from StringHash to linked list, this gives major
576         speedup.
577
578         * Version 0.9 of States, this is an early beta.
579
580
581 Copyright (C) 1997, 1998, 1999, 2008 Free Software Foundation, Inc.
582
583 Copying and distribution of this file, with or without modification,
584 are permitted in any medium without royalty provided the copyright
585 notice and this notice are preserved.