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