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