12000-02-24 Akim Demaille <akim@epita.fr> 2 3 Release 4.13. 4 5 * contrib/fixnt.l: Fixed a malloc/realloc portability problem. 6 From Donald Parsons. 7 * contrib/texi2dvi4a2ps: s/oirg/orig. 8 From Ed Osinski. 9 10 * po/et.po: New translation. 11 122000-02-18 Akim Demaille <akim@epita.fr> 13 14 * contrib/fixps.m4: Use "$file" a bit everywhere, to be robust to 15 spaces in names. 16 Reported by Francesco Potort�. 17 182000-02-17 Akim Demaille <akim@epita.fr> 19 20 * sheets/perl.ssh: the s()() etc. had a broken `|' in it which 21 broke everything. Fix it. 22 Reported by Johan Holmberg. 23 242000-02-09 Akim Demaille <akim@epita.fr> 25 26 * lib/strtoumax.c: Updated from Jim and Paul. 27 28 * src/buffer.c (SAMPLE_SIZE): Bump to 4096. Some file(1) can read 29 many chars. 30 From Zdenek. 31 322000-02-08 Akim Demaille <akim@epita.fr> 33 34 * etc/a2ps_cfg.in (del.metafont): New variable. 35 (metafont:ps): New delegation. 36 * sheets/sheets.map (metafont): Added. 37 From Scott Pakin. 38 392000-02-08 Akim Demaille <akim@epita.fr> 40 41 * src/lexps.l: Don't smash blank lines. 42 * contrib/fixps.m4: Version 1.6. 43 Don't try to smash blank lines, it can break some valid PostScript 44 code. 45 Reported by Rajeev Agrawala. 46 47 * sheets/for77kwds.ssh (0.60): Remove `.' from alphabets. Moved 48 `.these.' from keywords to operators. 49 From Manfred Schwarb and Alexander Mai. 50 512000-02-06 Akim Demaille <akim@epita.fr> 52 53 * contrib/texi2dvi4a2ps (usage): Follow the fp-standards. 54 Start sentence in lower case, no final period. 55 Split paragraphs of options. 56 Document --output. 57 (oname): New variable. 58 (--output): New option. 59 (prologue): Check that `--output' is used only when there is a 60 single argument. 61 (epiloque): Honor oname. 62 * etc/a2ps_cfg.in (Delegations Texinfo, LaTeX): Use texi2dvi4a2ps' 63 --output. This fixes a bug: if you had `foo.dvi' and used `a2ps 64 foo.tex', a2ps removed `foo.dvi' 65 Reported by Flavien Astraud. 66 672000-02-04 Akim Demaille <akim@epita.fr> 68 69 * src/sheets-map.l ({key}): Add `-' so that one can use 70 `foo-bar' in sheets.map. 71 From Ilya Beylin. 72 73 * arch/os2/README: Updated from Alexander. 74 * arch/os2/config.h.os2: Likewise. 75 * arch/os2/Makefile.os2: Likewise. 76 77 * sheets/c.ssh (1.6): Handle `case' as an optional operator so 78 that we never go further than the current line. 79 Insert `case' as a plain Keyword_strong. 80 81 * contrib/Makefile.am (.m4.in): Remove a trailing space in the sed 82 which causes some `sed' to die. 83 From Graham. 84 85 * configure.in: Bump to 4.12l. 86 87 * sheets/lout.ssh: New file. 88 From Jean-Baptiste Nivoit. 89 * sheets/mly.ssh: Likewise. 90 * sheets/pov.ssh: Likewise. 91 92 * sheets/haskell.ssh: New file. 93 From Ilya Beylin. 94 95 * sheets/sheets.map: Adjusted. 96 972000-02-04 Akim Demaille <akim@epita.fr> 98 99 * configure.in (ad_REPLACE_FUNC_RENAME): Not ad_CHECK_FUNC_RENAME! 100 From Alexander. 101 * m4/rename.m4: Fixed the cache variable name. 102 1032000-01-27 Akim Demaille <akim@epita.fr> 104 105 * sheets/cxx.ssh: Added `export'. 106 From Alexander Mai. 107 108 * configure.in: Bump to 4.12k. 109 * THANKS: Updated. 110 * TODO: Updated. 111 112 * contrib/card.m4: Don't forget to break out of the loops when 113 success=:. 114 From Alexander Mai. 115 116 * a2ps.texi: Replaced @pack with @pack{} (newer texinfo.tex eat 117 the space after @pack). 118 Use @noindent at a few critical places. 119 Beware the TeX wrapping. 120 Updated at various places. 121 122 * sheets/autoconf.ssh: Document. 123 124 * src/main.c: We're in 2000 now. 125 1262000-01-19 Paul Eggert <eggert@twinsun.com> 127 128 Quote multibyte characters correctly. 129 130 * lib/quotearg.c (ISGRAPH): Remove. 131 (ISPRINT): New macro. 132 (<wchar.h>): Include if HAVE_MBRTOWC && HAVE_WCHAR_H. 133 (isprint, mbrtowc, mbsinit, mbstate_t): New macros, 134 defined if ! (HAVE_MBRTOWC && HAVE_WCHAR_H). 135 (quotearg_buffer_restyled): New function, with most of the old 136 quotearg_buffer's contents. 137 Major rewrite to support multibyte characters. 138 (quotearg_buffer): Now just calls quotearg_buffer_restyled. 139 140 * m4/c-bs-a.m4: New file. 141 142 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): New macro. 143 (jm_PREREQ): Use it. 144 1452000-01-19 Akim Demaille <akim@epita.fr> 146 147 Update to libtool 1.3.4. 148 149 * auxdir/config.guess: Updated. 150 * auxdir/config.sub: Updated. 151 * auxdir/ltconfig: Updated. 152 * auxdir/ltmain.sh: Updated. 153 1542000-01-19 Akim Demaille <akim@epita.fr> 155 156 Update OS/2 files. From Alexander Mai. 157 158 * arch/os2/Makefile.os2: Updated. 159 * arch/os2/README: Updated. 160 * arch/os2/config.h.os2: Updated. 161 1622000-01-16 Akim Demaille <akim@epita.fr> 163 164 * configure.in: Check for distill and pdf2ps. 165 Bump to 4.12j. 166 167 * etc/a2ps_cfg.in (s1, simplex): New user options. 168 169 * contrib/card.m4: Work around netscape's failure (it exits 255 170 when given -help). 171 1722000-01-16 Akim Demaille <akim@epita.fr> 173 174 Apply a patch written by Scott Pakin to display the number of 175 lines which were wrapped. 176 177 * lib/jobs.h (a2ps_job): Added lines_folded. 178 * lib/jobs.c (a2ps_job_new): Initalize lines_folded to 0. 179 * lib/psgen.c (fold_line): Update lines_folded. 180 * src/generate.c (msg_job_pages_printed): Display the number of 181 lines which were wrapped. 182 1832000-01-13 Akim Demaille <akim@epita.fr> 184 185 * ps/ul.pro: New file. 186 * ps/fixed.pro: New file. 187 * ps/Makefile.am (prologues): Added ul.pro and fixed.pro. 188 * src/read.c (plain_getc): Support `x;\b;_' underlining. 189 1901999-12-04 Akim Demaille <akim@epita.fr> 191 192 * sheets/for77kwds.ssh: A comma was missing after atan2. 193 From Sturle. 194 195 * contrib/card.m4: Create the tmp dir under strict rights. 196 From Dirk Eddelbuettel. 197 * sheets/sheets.map (tex): Don't shadow DVI files. 198 From Dirk too. 199 * ogonkify/Makefile.am (DISTCLEANFILES): Add $(CREATED_PFAS). 200 From Dirk again :) 201 2021999-11-30 Akim Demaille <akim@epita.fr> 203 204 Version 4.12h. 205 206 * sheets/ocaml.ssh: New sheet. 207 * sheets/caml.ssh: Emptied. Inherit from ocaml. 208 2091999-11-25 Akim Demaille <akim@epita.fr> 210 211 * sheets/cxx.ssh (1.4): Remove some non C++ keywords: all, dynamic, 212 except, exception, overload, raise, raises, reraises. 213 Reported by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>. 214 215 * sheets/c.ssh (1.6): Include typeof too. 216 217 * sheets/xs.ssh: New sheet. 218 From Kestutis Kupciunas. 219 * sheets/js.ssh: New sheet. 220 From Scott Pakin <pakin@uiuc.edu>. 221 Updated to current syntax. 222 * sheets/Makefile.am (minor_sheets): Added js.ssh, and xs.ssh. 223 224 * src/sheets-map.l (obstack_hexa_grow, obstack_octal_grow): New 225 functions, to factorize scanning. 226 227 * src/select.c (struct pattern_rule): Added an `insensitive_p' 228 flag. All dependencies changed. 229 230 * sheets/sheets.map: Added the `i' tag to several rules. 231 2321999-11-21 Akim Demaille <akim@epita.fr> 233 234 Revamp the file sheets.map. 235 236 * doc/a2ps.texi: Document. 237 * sheets/sheets.map: Rewrite. 238 239 * configure.in: Check for acroread 4. 240 * etc/a2ps_cfg.in: Use it. 241 242 * configure.in: Define DIRECTORY_SEPARATOR and PATH_SEPARATOR 243 instead of DIR_SEP and PATH_SEP. All callers changed. 244 245 * lib/xalloc.h: Prototype xstrndup. 246 * src/xstrdup.c: Implement xstrndup. 247 248 * m4/a2_psutils.m4: Fixed various bugs. 249 * m4/fullpath.m4: Updated. 250 2511999-10-25 Akim Demaille <akim@epita.fr> 252 253 Version 4.12g. 254 255 * sheets/sed.ssh: New file. 256 * sheets/sheets.map: Add sed entry. 257 2581999-10-21 Akim Demaille <akim@epita.fr> 259 260 * contrib/shell.m4: The quote are now [ and ] as in Ad'HoC and in 261 Autoconf, no longer [[ and ]], though it *was* smarter. 262 263 * contrib/pdiff.m4: Change the a2ps options handling: they now 264 have to be given after `--'. 265 * contrib/card.m4 (arg_sep): Likewise. 266 Reported by Joachim Backes, Jim Meyering, and Alexander Mai. 267 2681999-10-12 Akim Demaille <akim@epita.fr> 269 270 * configure.in: Version 4.12d. 271 2721999-10-01 Akim Demaille <akim@epita.fr> 273 274 * etc/a2ps_cfg.in: Changed the occurences of $f by '$f', so that 275 we handle cleanly files with active shells characters or spaces in 276 their names. 277 Reported by FIXME: who? 278 279 * doc/a2ps.texi (Guide Line for Delegations): Document the need 280 for '$f'. 281 2821999-09-25 Akim Demaille <akim@epita.fr> 283 284 * etc/a2ps_cfg.in (UserOption): Added display. 285 286 * sheets/sheets.map: Added rules for PDF via file(1). 287 288 * src/select.c (get_command): Do a case insensitive globbing. 289 Reported by Th�o. 290 291 * contrib/fixnt.l: Undefine malloc and realloc. 292 Reported by Mike Keenan. 293 294 * arch/os2: Updated. From Alexander Mai. 295 2961999-09-22 Akim Demaille <akim@epita.fr> 297 298 * configure.in: Call jm_AC_TYPE_UINTMAX_T. 299 * lib/message.c (msg_verbosity_argmatch): Initialize res. 300 * lib/confg.gperf (keyword_e): Remove Temporary directory. 301 * lib/lister.c: Include more headers. 302 And various other fixes suggested by Alexandre Mai. 303 3041999-09-22 Akim Demaille <akim@epita.fr> 305 306 Version 4.12b. 307 3081999-09-19 Akim Demaille <akim@epita.fr> 309 310 * Renamed check/ as tests/, since that's the usual name. 311 All dependancies changed. 312 3131999-09-18 Akim Demaille <akim@epita.fr> 314 315 a2ps was handling the temporary directory by itself. Now it uses 316 the system's default. Should help portability to micros. 317 318 * lib/routines.h (tempname_ensure): Let arg1 of tempnam be NULL. 319 All callers changed. 320 * lib/common.h (struct a2ps_common_s): No longer include a member 321 `tmpdir'. All callers changed. 322 3231999-09-07 Akim Demaille <akim@epita.fr> 324 325 * sheets/sml.ssh: Merged in parts of sml.ssh from Daniel Wang. 326 327 * configure.in (PostScriptum): Display a more friendly message. 328 People are afraid of reading a configuration file. 329 3301999-09-02 Akim Demaille <akim@epita.fr> 331 332 * contrib/psset.m4: When quiet, pass -q to fixps. 333 * contrib/psmandup.m4: Likewise. 334 Reported by Christopher K. Davis. 335 3361999-08-31 Akim Demaille <akim@epita.fr> 337 338 * lib/userdata.c (userdata_free): New function. 339 * lib/jobs.c (a2ps_job_register_user): Use it. 340 3411999-08-31 Akim Demaille <akim@epita.fr> 342 343 * configure.in: Bump to 4.12b. 344 * src/xmalloc.h: Remove, use Jim's xalloc.h only. 345 All callers changed. 346 * src/xstrdup.h: Removed. 347 * src/version_etc: Allow for a different copyright owner. 348 349 * lib/malloc.c: Imported from fileutils.c. 350 * lib/realloc.c: Likewise. 351 * lib/strtoull.c: Likewise. 352 * lib/strtoumax.c: Likewise. 353 * m4/Makefile.am.in: Likewise. 354 * m4/README: Likewise. 355 * m4/uintmax_t.m4: Likewise. 356 * m4/ulonglong.m4: Likewise. 357 * m4/xstrtoumax.m4: Likewise. 358 * configure.in: Call jm_AC_PREREQ_XSTRTOUMAX. 359 Reported by Alexander Mai. 360 3611999-08-31 Akim Demaille <akim@epita.fr> 362 363 Version 4.12a. 364 365 * lib/userdata.c: New file, encapsulates getpwuid (getuid ()). 366 * lib/jobs.c (a2ps_job_register_user): Use it. 367 3681999-08-28 Akim Demaille <akim@epita.fr> 369 370 * lib/message.c (msg_verbosity_argmatch): Return the result. 371 Reported by Joachim Backes. 372 373 * contrib/fixps.m4: Support option --dry-run, and -no-fix. 374 * doc/a2ps.texi (Invoking fixps): Document them. 375 376 * contrib/Makefile.am (EXTRA_DIST): Removed report.c which is no 377 longer distributed. 378 379 * sheets/sheets.map: Check gzip before roff to type correctly 380 .../man/man1/a2ps.1.gz 381 3821999-08-17 Akim Demaille <akim@lrde.epita.fr> 383 384 * src/main.c (usage): Provide a few sample uses. 385 Reported by Karl. 386 3871999-08-16 Akim Demaille <akim@lrde.epita.fr> 388 389 * contrib/fixnt.l: Updated from Holger. 390 3911999-08-10 Akim Demaille <akim@epita.fr> 392 393 * src/main.c (main): Implemented support for --list=which and 394 glob. 395 (usage): Reflect these news options. 396 397 * src/main.c (usage): Undocument -V for --version, and -h for 398 --help: short options are too precious. In the future there 399 support may be dropped.. 400 401 * lib/filtdir.c (filterdir): More generic. 402 (filterdir_pattern): Removed. 403 404 * man/Makefile.am (texi2dvi4a2ps.1): New file. 405 4061999-08-09 Akim Demaille <akim@lrde.epita.fr> 407 408 * src/main.c: Implemented support for --list=expand, but it is 409 left undocumented for the time being. 410 4111999-08-09 Akim Demaille <akim@lrde.epita.fr> 412 413 * src/Makefile.am: -I$(srcdir) is needed for files with #line. 414 4151999-08-09 Akim Demaille <akim@lrde.epita.fr> 416 417 * src/ssheet.c (keyword_rule_new): Grouping operator must not be 418 backslashed. 419 4201999-08-08 Akim Demaille <akim@epita.fr> 421 422 * src/main.c (RE_SYNTAX_A2PS): Change to a simpler form. 423 * doc/a2ps.texi (Syntax for the P-Rules): Reflect this change. 424 425 * sheets/cpproc.ssh: Implements CPP. 426 * sheets/c.ssh: Inherit cpproc. 427 * sheets/asm.ssh: Likewise. 428 * sheets/*.ssh: Adapt to the new syntax of regular expressions. 429 4301999-06-04 Akim Demaille <demaille@inf.enst.fr> 431 432 * contrib/fixps.m4 (version): Check needed DSC comments depending 433 upon PS or EPS. 434 Reported by Sven Grundmann. 435 4361999-05-31 Akim Demaille <demaille@inf.enst.fr> 437 438 * src/ssheet.c (style_sheet_html_print_signature): Print correctly 439 the separators of the ancestors list. 440 4411999-05-29 Akim Demaille <demaille@inf.enst.fr> 442 443 * src/ssheet.c (rule_new_internal_regexp): Don't use quotearg when 444 reporting an error on regex: it obfuscates. 445 (rule_new): Report filename and line when a regex fails to compile. 446 All callers and callees changed. 447 * lib/system.h: Extended and cleaned up. Removed several small 448 auxialiary header files. 449 4501999-05-28 Akim Demaille <demaille@inf.enst.fr> 451 452 * sheets/b.ssh: New file, from Philippe Coucaud. 453 * sheets/asn1.ssh: Likewise. 454 * sheets/sheets.map: Added ASN.1 and B. 455 4561999-05-24 Akim Demaille <demaille@inf.enst.fr> 457 458 * configure.in: Check stdbool.h. 459 * lib/a2ps.h: Don't define bool. 460 * lib/system.h: Use fileutils' definition of booleans. 461 * lib/xunistd.h: Removed. All callers changed. 462 * lib/xsystypes.h: Likewise. 463 * lib/xsysstat.h: Likewise. 464 * lib/xstdlib.h: Likewise. 465 * lib/xstdarg.h: Likewise. 466 4671999-05-23 Akim Demaille <demaille@inf.enst.fr> 468 469 * lib/Makefile.am (libitsources): Added closeout.c from 470 fileutils. 471 * src/version-etc.c: Stolen from fileutils 4.0h. 472 * src/version-etc.h: Likewise. 473 * src/long-options.h: Likewise. 474 * src/long-options.c: Likewise. 475 4761999-05-23 Akim Demaille <demaille@inf.enst.fr> 477 478 * sheets/for77kwds.ssh: Updated from Alex. 479 * sheets/for90kwds.ssh: Likewise. 480 481 * doc/a2ps.texi (Page Device Options): Update the reference to 482 PLRM 3rd edition. 483 From Philippe Ferrucci <ferrucci@amitel.fr>. 484 4851999-05-22 Akim Demaille <demaille@inf.enst.fr> 486 487 * lib/: Updated from fileutils. 488 489 * lib/argmatch.h: Don't include. 490 * lib/argmatch.c: Include more. 491 * lib/backupfile.h: Likewise. 492 * lib/backupfile.c: Likewise. 493 494 * ogonkify/configure.in: Fixed looking for Perl. Reported by 495 Harry Katz <harry.katz@wcom.com>. 496 497 * encoding/iso15.edf (Default): Adapted to use Ogonkify's Euro. 498 499 * ogonkify/doc/Makefile.am (EXTRA_DIST): Removed ogonkify.man, 500 makedoc and clean. 501 502 * ogonkify: Updated from Juliusz. 503 5041999-05-22 Akim Demaille <demaille@inf.enst.fr> 505 506 * src/main.c (usage): Gnitsize the web page from version to usage 507 message. 508 * po/*.po: Tried to automate the move to the new layout of --help 509 and --version. 510 5111999-05-14 Akim Demaille <demaille@inf.enst.fr> 512 513 * ogonkify: Updated from Juliusz. 514 * ogonkify/Makefile.am: Added latin7. 515 * encoding/iso13.edf: New file, built out of Ogonkify 516 * encoding/encoding.map: Added iso13. 517 5181999-05-13 Akim Demaille <demaille@inf.enst.fr> 519 520 * sheets/tiger.ssh: New style sheet. 521 5221999-05-04 Akim Demaille <demaille@inf.enst.fr> 523 524 * sheets/scheme.ssh: More keywords. 525 Reported by Greg Badros <gjb@cs.washington.edu>. 526 5271999-04-30 Akim Demaille <demaille@inf.enst.fr> 528 529 * check/printers.tst: Check that a2ps does not dump core when no 530 cmd is defined for -d. 531 532 * lib/printers.c (a2ps_printers_command_get): Report properly an 533 error when there is no command for default/unknown printer. 534 Fixes printers.tst. 535 536 * sheets/sheets.map: New file rule for zsh. 537 Reported by Philip J Hollenback. 538 539 * configure.in: Updated for latest Automake and libtool 1.3. 540 541 * check/styles.tst: Remove empty diff files. 542 5431999-04-28 Akim Demaille <demaille@inf.enst.fr> 544 545 * lib/getnum.c (get_float_in_range): Be user friendly when 546 given non numeric argument. 547 Reported by Zdenek. 548 5491999-04-20 Akim Demaille <demaille@inf.enst.fr> 550 551 * contrib/psset.m4: New option, --simplex. 552 Insert before %%EndSetup instead of after %%BeginSetup so that 553 the last settings win. 554 (sedscript): No longer try to make the script look nice thanks to 555 indentation: Solaris' /usr/bin/sed does not remove the leading 556 spaces of an insertation (even if later there is a protecting \). 557 I.e.: 558 i\ 559 \foo 560 inserts " foo", not "foo" as with most other seds. 561 5621999-04-19 Akim Demaille <demaille@inf.enst.fr> 563 564 * src/main.c: Force recognition of `yes' and `no' by gettext. 565 566 * contrib/psset.m4: Append `;' instead of prepending when building 567 a list: some shell then give an empty argument when looping. 568 Reported by Roderich Schupp. 569 5701999-04-07 Akim Demaille <demaille@inf.enst.fr> 571 572 * contrib/fixps.m4: When extracting PS, be ready to receive 573 non Unix end of lines. 574 5751999-04-02 Akim Demaille <demaille@inf.enst.fr> 576 577 * etc/Makefile.am (install-data-local): a2ps-site.cfg is to be 578 found in build tree, not src tree. 579 5801999-03-30 Akim Demaille <demaille@inf.enst.fr> 581 582 * sheets/perl2.ssh: Support of more tr/// variants. 583 5841999-03-26 Akim Demaille <demaille@inf.enst.fr> 585 586 * sheets/sheets.map: Move `** data' up so that it hides no rules 587 such as bzip2's. 588 5891999-03-24 Akim Demaille <demaille@inf.enst.fr> 590 591 * sheets/perl.ssh: Fixed handling of s|||. 592 Reported by Ben Pavon. 593 5941999-03-19 Akim Demaille <demaille@inf.enst.fr> 595 596 * sheets/zsh.ssh: Inherit sh.ssh. 597 * sheets/sh.ssh: Inherit shell.ssh. 598 * sheets/csh.ssh: Inherit shell.ssh. 599 * sheets/shell.ssh: New sheet. 600 6011999-03-17 Akim Demaille <demaille@inf.enst.fr> 602 603 * lib/options.c (a2ps_handle_options): Read correctly the value 604 for --truncate. 605 Reported by Hao Li. 606 6071999-03-14 Akim Demaille <demaille@inf.enst.fr> 608 609 * sheets/sml.ssh: New file. Contributed by Franklin Chen. 610 * sheets/Makefile.am (minor_sheets): Added sml.ssh 611 6121999-03-12 Akim Demaille <demaille@inf.enst.fr> 613 614 * etc/Makefile.am (EXTRA_DIST): Don't include a2ps_cfg.in, nor 615 a2ps-site.cfg. 616 Reported by Steven Michael Robbins. 617 6181999-03-11 Akim Demaille <demaille@inf.enst.fr> 619 620 * sheets/sheets.map: Type *.cgi as html. 621 Reported by Karl. 622 Added javascripts. Fixed *.java (not *java). 623 Reported by Christian Borup. 624 625 * Lots of warnings avoided thanks to Zdenek. 626 6271999-03-08 Akim Demaille <demaille@inf.enst.fr> 628 629 * doc/a2ps.texi: Fixed capitalization of Ghostview and 630 Ghostscript. 631 Reported by Karl. 632 6331999-03-05 Akim Demaille <demaille@inf.enst.fr> 634 635 * doc/a2ps.texi (Top): Give the version number. 636 Reported by Karl Berry. 637 638 * sheets/perl.ssh: Handle `..` as strings. 639 Reported by Larry Virden. 640 6411999-03-04 Akim Demaille <demaille@inf.enst.fr> 642 643 * encoding/iso9.edf (Vector): Replace dotlessi with onesuperior. 644 645 * contrib/fixnt.l (reassemble): Declare xx as an int, not a char. 646 6471999-03-01 Akim Demaille <demaille@inf.enst.fr> 648 649 * doc/a2ps.texi: Fixed many typos. 650 Reported by Joachim Backes. 651 6521999-02-28 Akim Demaille <demaille@inf.enst.fr> 653 654 * contrib/fixps.in (maxlen_awk): Don't use `?:'. 655 Reported by Stephen Dowdy. 656 6571999-02-24 Akim Demaille <demaille@inf.enst.fr> 658 659 * sheets/for77kwds.ssh: Update from Alex Mai. 660 Added `elseif'. Reported by Shem Ogadhoh. 661 662 * sheets/for90kwds.ssh: Likewise. 663 664 * etc/Makefile.am (README): Use s!!!, not s/// since date's output 665 may include `/'. 666 Reported by Pavel Roskin. 667 * lib/Makefile.am (libitsources): Don't include lister.[ch] twice. 668 Reported by Pavel Roskin. 669 6701999-02-10 Akim Demaille <demaille@inf.enst.fr> 671 672 * configure.in: Bump to 4.12. 673 6741999-02-09 Akim Demaille <demaille@inf.enst.fr> 675 676 * src/buffer.c (eol_types): Rectify correspondance between "pc" 677 and eol_rn. 678 6791999-01-23 Akim Demaille <demaille@inf.enst.fr> 680 681 * lib/lexppd.l: Implement "*Include:" support. 682 6831999-01-19 Akim Demaille <demaille@inf.enst.fr> 684 685 * check/contrib.tst: New test to track stupid syntax errors in shell 686 scripts. 687 6881999-01-15 Akim Demaille <demaille@inf.enst.fr> 689 690 * texi2dvi4a2ps (Options): Restore --batch. Implied by --quiet. 691 6921999-01-15 Akim Demaille <demaille@inf.enst.fr> 693 694 * lib/jobs.h (a2ps_job): file_align replaces compact_mode. 695 6961999-01-11 Akim Demaille <demaille@inf.enst.fr> 697 698 * Reverted to use `' around quotearg. 699 * etc/a2ps-local.cfg: New file. 700 7011999-01-08 Akim Demaille <demaille@inf.enst.fr> 702 703 * texi2dvi4a2ps: Use $program instead of $0 for messages. 704 Include new envvar in --help. 705 Don't exit 1 from the trap, trap will anyway exit with the status 706 it was called with. 707 7081999-01-04 Akim Demaille <demaille@inf.enst.fr> 709 710 * options-check/3.tst: New test checking interaction between options and 711 user options and files. 712 7131999-01-04 Akim Demaille <demaille@inf.enst.fr> 714 715 * lib/options.c (a2ps_handle_option): Remember optind as res before 716 processing the options. 717 7181998-12-28 Akim Demaille <demaille@inf.enst.fr> 719 720 * lib/system.h (PARAM_UNUSED): Replaces ATTRIBUTE_UNUSED. Not to be 721 used before gcc lib/2.8. 722 7231998-12-28 Akim Demaille <demaille@inf.enst.fr> 724 725 * afm/make_fonts_map.sh (shortname): Add the missing '. 726 7271998-12-26 Akim Demaille <demaille@inf.enst.fr> 728 729 * lib/routines.h (tempname_ensure): Don't strdup it since tempnam 730 mallocs. 731 7321998-12-20 Akim Demaille <demaille@inf.enst.fr> 733 734 * lib/confg.gperf: Parse the configuration files with gperf. 735 7361998-12-18 Akim Demaille <demaille@inf.enst.fr> 737 738 * src/main.c (list_options): Improve output. 739 7401998-12-13 Akim Demaille <demaille@inf.enst.fr> 741 742 * src/ssheet.c (style_sheet_mixed_new): Implement mixed style sheets. 743 7441998-12-11 Akim Demaille <demaille@inf.enst.fr> 745 746 * src/main.c (handle_a2ps_option): No longer override the handling 747 of 'v' by liba2ps. 748 (main): No longer handle the defaults for message_verbosity. 749 Handled by the lib. 750 7511998-12-11 Akim Demaille <demaille@inf.enst.fr> 752 753 * sheets/make.ssh: Don't output false errors. 754 Reported by Alexander Mai. 755 7561998-12-11 Akim Demaille <demaille@inf.enst.fr> 757 758 * lib/jobs.c (a2ps_job_new): Handle the envvar A2PS_VERBOSITY. 759 * lib/options.c (a2ps_handle_option): Use message_verbosity_argmatch. 760 * lib/message.c (message_verbosity_argmatch): Remove from src/lib/main.c, 761 put this here. 762 7631998-12-08 Akim Demaille <demaille@inf.enst.fr> 764 765 * contrib/fixps.in: Handle Windows 95's showpage definition. 766 7671998-12-07 Akim Demaille <demaille@inf.enst.fr> 768 769 * sheets/Makefile.am (minor_sheets): Add sheets/tcsh.ssh. 770 7711998-12-07 Akim Demaille <demaille@inf.enst.fr> 772 773 * doc/a2ps.texi (Predefined Variables): New node. Document user.* 774 variables. 775 7761998-12-04 Akim Demaille <demaille@inf.enst.fr> 777 778 * lib/jobs.h: No longer use user_info. Now, user data are stored as 779 variables. 780 7811998-12-03 Akim Demaille <demaille@inf.enst.fr> 782 783 * lib/fonts.l (dump_fonts): Allow for gsf font files. 784 7851998-12-02 Akim Demaille <demaille@inf.enst.fr> 786 787 * src/main.c (main)[__EMX__]: Wildcard expansion. 788 Reindent correctly. 789 7901998-11-23 Akim Demaille <demaille@inf.enst.fr> 791 792 * lib/pathwalk.c (pw_glob): Use strverscmp instead of strcoll. 793 7941998-11-20 Akim Demaille <demaille@inf.enst.fr> 795 796 * contrib/texi2dvi4a2ps: Updated. 797 * sheets/perl.ssh: Better handling of perl's regexps. 798 * lib/lister.c: Use specific functions for length computation and 799 printing. All callers changed. 800 8011998-11-13 Akim Demaille <demaille@inf.enst.fr> 802 803 * lib/printers.c (a2ps_open_output_stream): Enable backups also for 804 printers! 805 8061998-11-11 Akim Demaille <demaille@inf.enst.fr> 807 808 * texi2dvi4a2ps: Update from Karl Berry. 809 8101998-11-11 Akim Demaille <demaille@inf.enst.fr> 811 812 * sheets/mail.ssh: Cleaned up some of the Strong_comment in order 813 to have a better support of --strip-level=1. 814 * src/ssheets.c: Use var expansion for html output. 815 * lib/.gethostname.c: Include string.h. 816 8171998-11-11 Akim Demaille <demaille@inf.enst.fr> 818 819 * lib/Makefile.am (libitsources): Add lib/quotearg.c. 820 (mylibitsources): Add lib/lister.c. 821 8221998-10-23 Akim Demaille <demaille@inf.enst.fr> 823 824 * texi2dvi4a2ps: Updated from Karl Berry. 825 8261998-10-23 Akim Demaille <demaille@inf.enst.fr> 827 828 * lib/gethostname.c: Include lib/string.h for os/2. 829 8301998-10-22 Akim Demaille <demaille@inf.enst.fr> 831 832 * src/ssheet.c (list_style_sheets_html): Use variables to avoid 833 polluting the binary. See sheets/.a2psrc for values of these 834 variables. 835 8361998-10-21 Akim Demaille <demaille@inf.enst.fr> 837 838 * lib/options.c (a2ps_handle_string_options): Use a smarter function 839 to build the argv out of a string. 840 8411998-10-21 Akim Demaille <demaille@inf.enst.fr> 842 843 * check/options2.tst: Test that the user options work correctly. 844 8451998-10-19 Akim Demaille <demaille@inf.enst.fr> 846 847 * auxdir/ansi2knr.c: Move it... 848 * lib/ansi2knr.c: Here. 849 * auxdir/ansi2knr.1: likewise. 850 8511998-10-15 Akim Demaille <demaille@inf.enst.fr> 852 853 * m4/ogonkify.m4: Be robust to jm_PERL with can set PERL to 854 "missing perl". 855 8561998-10-12 Akim Demaille <demaille@inf.enst.fr> 857 858 * sheets/sheets.map: *.prn for ps. 859 8601998-09-24 Akim Demaille <demaille@inf.enst.fr> 861 862 * m4/Makefile.am: New file. Move all the m4 macros from auxdir/ 863 to m4/. 864 8651998-09-21 Akim Demaille <demaille@inf.enst.fr> 866 867 * arch/os2/Makefile.am (EXTRA_DIST): Renamed config.h as 868 config.h.os2. 869 8701998-09-18 Akim Demaille <demaille@inf.enst.fr> 871 872 * lib/encoding.c (char_WX): Synchronize with ps_escape_char. 873 * lib/psgen.c (ps_print_char): No longer use string_WX. 874 Reported by Rudolf Cejka. 875 8761998-09-18 Akim Demaille <demaille@inf.enst.fr> 877 878 * auxdir/help2man.PL: Updated. 879 880 * doc/Makefile.am: No longer generate man pages. 881 882 * man/Makefile.am (a2ps.1): Set LC_ALL to C. 883 (psmandup.1): Likewise. 884 (fixps.1): Likewise. 885 (pdiff.1): Likewise. 886 (card.1): Likewise. 887 Reported by Joachim Backes. 888 889 * man: New directory, modeled after that of the fileutils. 890 8911998-09-17 Akim Demaille <demaille@inf.enst.fr> 892 893 * lib/xbackupfile.c (create_file_for_backup): New function contributed 894 by Paul Eggert, but disabled, coz' I couldn't use it correctly :(. 895 8961998-09-17 Akim Demaille <demaille@inf.enst.fr> 897 898 * configure.in: No longer make special case for getopt. 899 9001998-09-16 Akim Demaille <demaille@inf.enst.fr> 901 902 * lib/obstack.c: Update from fileutils. 903 * lib/obstack.h: Likewise. 904 9051998-09-15 Akim Demaille <demaille@inf.enst.fr> 906 907 * lib/xsysstat.h: Update from fileutils. 908 * lib/routines.c (xfind_backup_file_name): Backup_type is now an arg. 909 (xbackup_file) Ditto. 910 Move them: 911 * lib/xbackupfile.c: here. New file. 912 * lib/Makefile.am (libitsources): Added lib/addext.c and lib/basename.c from 913 fileutils lib/3.16x. 914 915 * lib/backupfile.c: Update from fileutils lib/3.16.x 916 * lib/backupfile.h: Ditto. 917 9181998-09-15 Akim Demaille <demaille@inf.enst.fr> 919 920 * check/backup.tst: New file, in charge of testing the backup system. 921 9221998-03-06 Akim Demaille <demaille@inf.enst.fr> 923 924 * Release 4.9.10. Yupee! 925 9261998-03-06 Akim Demaille <demaille@inf.enst.fr> 927 928 * doc/Makefile.am (book): New target. 929 9301998-03-05 Akim Demaille <demaille@inf.enst.fr> 931 932 * src/generate.c (print): Test against delegate_p, not delegate! 933 9341998-03-04 Akim Demaille <demaille@inf.enst.fr> 935 936 * lib/darray.c (da_merge): Don't da_remove when no FREE_FUNC is given. 937 9381998-03-04 Akim Demaille <demaille@inf.enst.fr> 939 940 * lib/darray.c (_da_free_content): Don't free if FREE_FUNC is NULL. 941 All callers changed. 942 9431998-03-04 Akim Demaille <demaille@inf.enst.fr> 944 945 * Alpha release 4.9.9k. 946 9471998-03-03 Akim Demaille <demaille@inf.enst.fr> 948 949 * src/versions.c (version_length): Safer inline use. 950 9511998-03-03 Akim Demaille <demaille@inf.enst.fr> 952 953 * lib/darray.c (_da_free_content): Safer inline use. 954 * lib/faces.c (_face_to_string): Ditto. 955 * lib/pair_ht.c (pair_table_map): Ditto. 956 * lib/routines.c (xwpopen): Ditto. 957 * lib/stream.c (stream_wopen): Ditto. 958 9591998-03-03 Akim Demaille <demaille@inf.enst.fr> 960 961 * contrib/psfix.in: New file. Calls the psutils in order to fix common PS 962 problems. 963 * contrib/psmandup.in: Calls psfix instead of fixing itself. 964 9651998-03-03 Akim Demaille <demaille@inf.enst.fr> 966 967 * Alpha release 4.9.9j. 968 9691998-03-02 Akim Demaille <demaille@inf.enst.fr> 970 971 * texi2dvi4a2ps: Updated according to texinfo release. 972 9731998-03-02 Akim Demaille <demaille@inf.enst.fr> 974 975 * lib/routines.h (strsuffix): New macro. 976 9771998-03-02 Akim Demaille <demaille@inf.enst.fr> 978 979 * Alpha release 4.9.9i. 980 9811998-02-25 Akim Demaille <demaille@inf.enst.fr> 982 983 * src/parsessh.y: Added support for spread regex. 984 9851998-02-25 Akim Demaille <demaille@inf.enst.fr> 986 987 * lib/message.c: Made message be a macro. There are so many 988 messages that I think it's a win. 989 9901998-02-24 Akim Demaille <demaille@inf.enst.fr> 991 992 * contrib/psmandup.in: New file. 9931998-02-23 Akim Demaille <demaille@inf.enst.fr> 994 995 * Alpha release 4.9.9f. 996 9971998-02-20 Akim Demaille <demaille@inf.enst.fr> 998 999 * doc/Makefile.am (doc/a2ps.1): Make it with help2man. 1000 (doc/card.1) Likewise. 1001 10021998-02-19 Akim Demaille <demaille@inf.enst.fr> 1003 1004 * src/select.c (get_command): Take a boolean which says whether to 1005 call or not file(1). 1006 10071998-02-19 Akim Demaille <demaille@inf.enst.fr> 1008 1009 * lib/title.c (title): New function, as printf, but underlines. 1010 10111998-02-19 Akim Demaille <demaille@inf.enst.fr> 1012 1013 * lib/ppd.c (_a2ps_ppd_get): Moved here from lib/printer.c 1014 (_a2ps_ppd_list_short): Idem. 1015 (_a2ps_ppd_list_long): Idem. 1016 10171998-02-18 Akim Demaille <demaille@inf.enst.fr> 1018 1019 * Alpha release 4.9.9e. 1020 10211998-02-17 Akim Demaille <demaille@inf.enst.fr> 1022 1023 * lib/options.c (long_options): Removed --list-html-style-sheets, 1024 --list-texinfo-style-sheets and --list-macro-meta-sequences from 1025 the list of options. Now done through argument of --list. 1026 10271998-02-15 Akim Demaille <demaille@inf.enst.fr> 1028 1029 * src/main.c (main): Support --list=ppd. Report PPD in 1030 --list=features too. 1031 10321998-02-15 Akim Demaille <demaille@inf.enst.fr> 1033 1034 * lib/ppd.c (ppd_list_short): New function. 1035 (ppd_list_short): Idem. 1036 10371998-02-13 Akim Demaille <demaille@inf.enst.fr> 1038 1039 * src/parsessh.y: Use "\n" as closer when the closers is not 1040 specified, instead of /$/. It helps killing white lines when 1041 stripping. It may not be the best solution :(. 1042 10431998-02-13 Akim Demaille <demaille@inf.enst.fr> 1044 1045 * Alpha release 4.9.9d. 1046 10471998-02-13 Akim Demaille <demaille@gargantua.enst.fr> 1048 1049 * check/stdinout.tst (nlines): Do not use `[ \t]*' in the sed script, 1050 coz it loses SunOS' sed. 1051 10521998-02-12 Akim Demaille <demaille@gargantua.enst.fr> 1053 1054 * src/ssheet.c (words_merge_clauses_unique): Erase the NEW 1055 strcuture * src/parsessh.c: no longer call words_erase itself. 1056 10571998-02-12 Akim Demaille <demaille@gargantua.enst.fr> 1058 1059 * lib/prolog.c (prologues_list_texinfo): New. Called upon 1060 --list=pro-texi. 1061 10621998-02-11 Akim Demaille <demaille@gargantua.enst.fr> 1063 1064 * Released 4.9.9c. 1065 10661998-02-11 Akim Demaille <demaille@gargantua.enst.fr> 1067 1068 * lib/metaseq.c (macro_meta_sequence_add): Make it check that the 1069 macro identifier is valid. 1070 * lib/metaseq.c (grow_user_string_obstack): $E and %E: use long form 1071 for the years. Reported by Joachim Backes. 1072 10731998-02-11 Akim Demaille <demaille@gargantua.enst.fr> 1074 1075 * check/stdinout.tst: New test, because a2ps sometimes had the bad 1076 idea to dump core when printing stdin with -E. 1077 10781998-02-10 Akim Demaille <demaille@gargantua.enst.fr> 1079 1080 * src/generate.c (input_new): Don't run file(1) upon 1081 stdin. Reported by Joachim Backes. 1082 10831998-02-06 Akim Demaille <demaille@gargantua.enst.fr> 1084 1085 * lib/metaseq.c (grow_user_string_obstack): Added support for 1086 ${param:-word} and ${param:+word}. Likewise for #{}. 1087 10881998-02-04 Akim Demaille <demaille@gargantua.enst.fr> 1089 1090 * lib/options.c (a2ps_handle_option): Fixed handling of 1091 --print-anyway. Reported by Joachim Backes. 1092 10931998-02-02 Akim Demaille <demaille@gargantua.enst.fr> 1094 1095 * src/sshread.c (match_keyword): Now strings have precedence over 1096 regex. * src/sshread.c (match_operator): Likewise. 1097 10981998-01-31 Akim Demaille <demaille@gargantua.enst.fr> 1099 1100 * lib/printers.c: Cleaned up. Ready for ppd. 1101 11021998-01-30 Akim Demaille <demaille@gargantua.enst.fr> 1103 1104 * src/main.c (behavior_args): New function that allow easier to 1105 read/write --verbose arguments. 1106 11071998-01-30 Akim Demaille <demaille@gargantua.enst.fr> 1108 1109 * lib/printers.c (struct printer): We can't use pair_table any longer 1110 since we need to keep the ppd type too. 1111 11121998-01-30 Akim Demaille <demaille@gargantua.enst.fr> 1113 1114 * lib/options.c (handle_option): Now the application is asked 1115 the handle the options before the lib. 1116 11171998-01-29 Akim Demaille <demaille@gargantua.enst.fr> 1118 1119 * lib/msg.h: Less bits are used. 1120 11211998-01-29 Akim Demaille <demaille@gargantua.enst.fr> 1122 1123 * configure.in: use ad_FUNC_GNU_GETOPT. 1124 11251998-01-28 Akim Demaille <demaille@gargantua.enst.fr> 1126 1127 * src/parsessh.y: No difference between tSTRING and tSYMBOL. The 1128 latter disappears. 1129 11301998-01-28 Akim Demaille <demaille@gargantua.enst.fr> 1131 1132 * lib/faces.h (enum face_t): Removed the special faces. There is 1133 no longer a typedef ---use enum. 1134 11351998-01-27 Akim Demaille <demaille@gargantua.enst.fr> 1136 1137 * src/ffaces.c: New file, in charge of fface_t which mixes plain 1138 face_t as used in liba2ps, and sepcial flags ---Invisible etc. 1139 11401998-01-21 Akim Demaille <demaille@gargantua.enst.fr> 1141 1142 * src/ssheet.c (style_sheet_self_print): Report when alphabets are 1143 undefined. 1144 11451998-01-19 Akim Demaille <demaille@gargantua.enst.fr> 1146 1147 * lib/prolog.c (prologue_print_signature): New function, used 1148 to document the prologues. 1149 11501998-01-16 Akim Demaille <demaille@gargantua.enst.fr> 1151 1152 * src/main.c (get_behavior): In charge to `understand' TOPIC in 1153 --list=TOPIC. 1154 (usage): Adapted to --list=TOPIC. 1155 11561998-01-16 Akim Demaille <demaille@gargantua.enst.fr> 1157 1158 * lib/options.c (long_options): Removed many of the --list-topic 1159 to be replaced by --list=TOPIC. 1160 11611998-01-15 Akim Demaille <demaille@gargantua.enst.fr> 1162 1163 * src/main.c (copyright): New function, do display the short GPL. 1164 11651998-01-14 Akim Demaille <demaille@gargantua.enst.fr> 1166 1167 * lib/hashtab.c (hash_free_items): Added as parameter the free 1168 function to be used. 1169 (hash_free): Use it. 1170 11711998-01-12 Akim Demaille <demaille@gargantua.enst.fr> 1172 1173 * lib/prange.c (a2ps_page_range_set_string): Check that there is no 1174 junk afer intervals such as "1-4d". 1175 11761998-01-12 Akim Demaille <demaille@gargantua.enst.fr> 1177 1178 * check/pages.test: Check ill defined page ranges. 1179 Use test_files/check/formfeed.txt instead of check/report.pre. 1180 11811998-01-12 Akim Demaille <demaille@gargantua.enst.fr> 1182 1183 * check/cut.test (IN_NAME): Use check/tabulation.pre instead of check/report.pre. 1184 11851998-01-09 Akim Demaille <demaille@gargantua.enst.fr> 1186 1187 * src/ssheet.c (load_style_sheet): New function allowing loading 1188 of a style sheet thanks to its key, or its path. 1189 1190 * src/parsessh.y (parse_style_sheet): Now return the parsed style 1191 sheet instead of accessing itself to the hash tab. 1192 1193 * src/main.c (handle_a2ps_option): Define a strip_mask together 1194 with the handling of --strip. 1195 1196 * src/sshread.c (ssh_print_postscript): Processing of INVISIBLE 1197 and stripping of comments goes through a mask. 1198 11991998-01-09 Akim Demaille <demaille@gargantua.enst.fr> 1200 1201 * sheets/symbols.ssh: New file, defining latex-like symbols. 1202 * sheets/pre.ssh: Made it inherit from sheets/symbols.ssh. 1203 12041998-01-06 Akim Demaille <demaille@gargantua.enst.fr> 1205 1206 * lib/confg.c (a2_read_config): Made parsing of Printer's command more 1207 robust. 1208 12091997-11-07 Akim Demaille <demaille@gargantua.enst.fr> 1210 1211 * check/delegate.test: New file. 1212 12131997-10-31 Akim Demaille <demaille@gargantua.enst.fr> 1214 1215 * check/styles.test: Use no functions. Idem for other test files. 1216 12171997-10-27 Akim Demaille <demaille@gargantua.enst.fr> 1218 1219 * lib/psgen.c (begin_page): Don't FREE page_label since it is not 1220 malloc'd. From Mark Burton <markb@lib/ordern.com>. 1221 12221997-10-20 Akim Demaille <demaille@gargantua.enst.fr> 1223 1224 * src/parsessh.y (const): Made prototypes use the same const as 1225 bison. 1226 12271997-10-13 Akim Demaille <demaille@gargantua.enst.fr> 1228 1229 * lib/options.c (get_symbolic_value): Improved error report. 1230 12311997-10-07 Akim Demaille <demaille@gargantua.enst.fr> 1232 1233 * src/ssheet.c: Changed the version numbers from string to int[4]. 1234 12351997-10-07 Akim Demaille <demaille@gargantua.enst.fr> 1236 1237 * doc/Makefile.am (EXTRA_DIST): removed doc/a2ps.dvi and doc/regex.dvi. 1238 12391997-09-30 Akim Demaille <demaille@gargantua.enst.fr> 1240 1241 * lib/printers.c: Removed local implementation of hash table: now uses 1242 hashstr.[ch]. 1243 12441997-09-26 Akim Demaille <demaille@gargantua.enst.fr> 1245 1246 * lib/jobaux.c (user_options_table_new): The hash functions about user 1247 options are now using hashstr.[ch] functions. 1248 12491997-09-25 Akim Demaille <demaille@gargantua.enst.fr> 1250 1251 * lib/psgen.c (dump_prolog_comments): The prologue contains a copy of 1252 the command line call when --debug. 1253 12541997-09-25 Akim Demaille <demaille@gargantua.enst.fr> 1255 1256 * lib/metaseq.c (grow_user_string_obstack): Added $[arg] and #!$. 1257 12581997-09-24 Akim Demaille <demaille@gargantua.enst.fr> 1259 1260 * src/delegate.c (subcontract): Added an awful kludge [a temp file 1261 in which stdin is copied] so that delegations can be used even 1262 when a2ps is called on stdin. 1263 12641997-09-22 Akim Demaille <demaille@gargantua.enst.fr> 1265 1266 * src/main.c: Changed the --help and --list-option: the topics are 1267 no longer part of the same string [sorry for translators], to get 1268 easier changes of appearance. 1269 12701997-09-22 Akim Demaille <demaille@gargantua.enst.fr> 1271 1272 * lib/encoding.c (encoding_output_ps_vector): New function. 1273 * lib/encoding.c (load_encoding_description_file): Changed `Endoding:' 1274 to `Named:'. 1275 12761997-09-17 Akim Demaille <demaille@gargantua.enst.fr> 1277 1278 * ps/base.ps (reencode_font): Was from reencode_font_good. 1279 12801997-09-17 Akim Demaille <demaille@gargantua.enst.fr> 1281 1282 * ps/base.ps (currentfontsize): New function, used in boxing and 1283 backgrounding of a string. 1284 12851997-09-17 Akim Demaille <demaille@gargantua.enst.fr> 1286 1287 * lib/output.c (output_file): Added add_required_font in the case 1288 %Font, so that fonts used in headers get registered too. 1289 12901997-09-17 Akim Demaille <demaille@gargantua.enst.fr> 1291 1292 * lib/Makefile.am: Updated to the most recent version of fnmatch 1293 [found in GNU make lib/3.76]. 1294 12951997-09-17 Akim Demaille <demaille@gargantua.enst.fr> 1296 1297 * lib/fonts.l (dump_fonts): Fixed the name of the resource [before 1298 alias, not after!], made it depend on the DSC storage instead of 1299 the encodinds. 1300 13011997-09-17 Akim Demaille <demaille@gargantua.enst.fr> 1302 1303 * lib/dsc.h, lib/dsc.c: new files, that extract the handling of the PS 1304 resources from psstat.[ch]. 1305 13061997-09-17 Akim Demaille <demaille@gargantua.enst.fr> 1307 1308 * lib/dsc.c: Rewrote and simplify the handling of the resources. Now 1309 it goes by two layers of hash tables [one for the type, say 1310 "font"; and the other for the value, say "Courier"]. 1311 13121997-09-17 Akim Demaille <demaille@gargantua.enst.fr> 1313 1314 * configure.in: Added AC_FUNC_STRCOLL, which will be used by 1315 glob.[ch]. 1316 13171997-09-16 Akim Demaille <demaille@gargantua.enst.fr> 1318 1319 * lib/jobaux.c (interval_to_buffer): Opened interval on the left 1320 prints 1 [lib/i.e., no longer -pp-10, but -pp1-10]. 1321 13221997-09-12 Akim Demaille <demaille@gargantua.enst.fr> 1323 1324 * src/ssheet.c (style_sheet_print_signature): Made it look better. 1325 13261997-09-12 Akim Demaille <demaille@gargantua.enst.fr> 1327 1328 * src/ssheet.c (list_html_style_sheets): Ordered by name, not key. 1329 (list_texinfo_style_sheets): Id. 1330 (list_style_sheets_long): Id. 1331 13321997-09-12 Akim Demaille <demaille@gargantua.enst.fr> 1333 1334 * lib/jobaux.c (da_get_lib_files_by_suffix): New function, which 1335 fatorizes a job implemented in several places. 1336 13371997-09-12 Akim Demaille <demaille@gargantua.enst.fr> 1338 1339 * lib/encoding.c (encoding_entry_print_signature): Made it look better. 1340 13411997-09-12 Akim Demaille <demaille@gargantua.enst.fr> 1342 1343 * lib/darray.c (da_qsort_with_arg): New function. 1344 13451997-09-09 Akim Demaille <demaille@gargantua.enst.fr> 1346 1347 * lib/Makefile.am (libpath): Move pkgdatadir (/share/a2ps) at the end 1348 of the path, so that users who did not remove a2ps lib/4.8.* stuff 1349 don't get problems. 1350 13511997-09-09 Akim Demaille <demaille@gargantua.enst.fr> 1352 1353 * lib/jobs.c (a2ps_job_finalize): New function that groups what has to 1354 be done once the lib path is done, lib/i.e., after having read the 1355 lib/a2ps.cfg 1356 1357 * lib/pathwalk.c (pw_append_dir_to_path): New function. 1358 * lib/pathwalk.c (pw_prepend_dir_to_path): New function. 1359 13601997-09-09 Akim Demaille <demaille@gargantua.enst.fr> 1361 1362 * configure.in: Modification of a2ps.cfg is handled in etc/Makefile. 1363 13641997-09-04 Akim Demaille <demaille@gargantua.enst.fr> 1365 1366 * ogonkify/Makefile.am: Original AFM are no longer installed. 1367 13681997-09-04 Akim Demaille <demaille@gargantua.enst.fr> 1369 1370 * lib/encoding.c (list_encodings_long): New function, answering to 1371 --list-encodings. 1372 13731997-09-03 Akim Demaille <demaille@gargantua.enst.fr> 1374 1375 * lib/routines.h (astrdup): Fixed the too short len allocated [+1 !!!] 1376 13771997-09-02 Akim Demaille <demaille@gargantua.enst.fr> 1378 1379 * ogonkify/Makefile.am: Updated what gets installed, and what gets 1380 distributed. 1381 13821997-08-29 Akim Demaille <demaille@gargantua.enst.fr> 1383 1384 * afm/Makefile.am (afm_DATA): Added may afm files, and afm/make_fonts_map.sh 1385 13861997-08-20 Akim Demaille <demaille@gargantua.enst.fr> 1387 1388 * lib/fonts.l (binary_font_dump_segment): New function for download of 1389 binary encoded fonts. 1390 13911997-08-18 Akim Demaille <demaille@gargantua.enst.fr> 1392 1393 * lib/psgen.c (ps_end_encoding): Fixed a bug occuring when a change of 1394 encoding was done on a blank sheet, before any real output. 1395 1396 * lib/lexafm.l: First sketch of AFM parsing [actually, no need to 1397 parse, lexical is widely enough]. 1398 1399 * lib/output.c (output_file): Made the parsing more robust [checks for 1400 the missing arguments instead of crashing!]. 1401 14021997-08-16 Akim Demaille <demaille@gargantua.enst.fr> 1403 1404 * lib/Makefile.am (liba2pssources): Got rid of the AFC files, 1405 and of fonts.[ch]. 1406 14071997-08-15 Akim Demaille <demaille@gargantua.enst.fr> 1408 1409 * src/generate.c (print): Made it create itself the input buffer 1410 that it passes to read of sshread. Therefore the input buffer can 1411 now be a string stream. 1412 14131997-08-15 Akim Demaille <demaille@gargantua.enst.fr> 1414 1415 * lib/metaseq.c (grow_user_string_obstack): Added padding, 1416 lib/e.g. `$+.20n' to get the name of the file in 20 chars completed 1417 with dots. 1418 14191997-08-15 Akim Demaille <demaille@gargantua.enst.fr> 1420 1421 * check/toc.test: New test, replaces check/all.test 1422 1423 * .a2psrc: Defined the UnknownPrinter: entry which sed's 1424 away some annoying DSC differences (date etc.) 1425 * check/cut.test: Use it. 1426 * check/toc.test: Use it. 1427 * check/pages.test: Use it. 1428 * check/styles.test: Use it. 1429 14301997-08-14 Akim Demaille <demaille@gargantua.enst.fr> 1431 1432 * src/buffer.c (buffer_get): No longer use getline nor getdelim, 1433 but obstacks. 1434 (buffer_stream_get_line): Added support for various eol encodings. 1435 14361997-08-14 Akim Demaille <demaille@gargantua.enst.fr> 1437 1438 * lib/encoding.h: An encoding no longer encloses is eol. 1439 1440 * lib/Makefile.am: getline.[ch] is no longer used. 1441 14421997-08-13 Akim Demaille <demaille@gargantua.enst.fr> 1443 1444 * lib/encoding.c (load_encodings_map): Now it is used, so that aliases 1445 for encodings do function. 1446 14471997-08-12 Akim Demaille <demaille@gargantua.enst.fr> 1448 1449 * etc/base.ps: Added wrapping functions for PS and EPS inclusion. 1450 14511997-08-11 Akim Demaille <demaille@inf.enst.fr> 1452 1453 * lib/psgen.c (ps_init): Made it set the encoding (can cause a SEGV if 1454 page 1 is not in --pages). 1455 1456 * lib/jobaux.c (add_pages_interval_string): Implemented page selection. 1457 14581997-08-11 Akim Demaille <demaille@inf.enst.fr> 1459 1460 * check/Makefile.am: Added a test for --pages. 1461 14621997-08-07 Akim Demaille <demaille@gargantua.enst.fr> 1463 1464 * lib/faces.h: Added the face Error. 1465 14661997-08-05 Akim Demaille <demaille@gargantua.enst.fr> 1467 1468 * src/parsessh.y: Implemented multiple expansions of symbols. 1469 Factorized a bit. 1470 1471 * src/ssheet.c (destinations_new): Started the modifications of 1472 several files to allow multiple expansion of mached strings. 1473 14741997-08-04 Akim Demaille <demaille@gargantua.enst.fr> 1475 1476 * src/lexssh.l: Fixed a bug in handling of hexa escapes. 1477 14781997-08-04 Akim Demaille <demaille@gargantua.enst.fr> 1479 1480 * lib/psgen.c (begin_sheet): Page labels are delayed, so that we know 1481 the files printed in the current sheet. 1482 14831997-07-31 Akim Demaille <demaille@inf.enst.fr> 1484 1485 * lib/metaseq.c (grow_user_string_obstack): Added #!s. 1486 14871997-07-30 Akim Demaille <demaille@inf.enst.fr> 1488 1489 * lib/metaseq.c (grow_user_string_obstack): Profound revision 1490 of meta sequences related to lines, pages and sheets. 1491 * lib/metaseq.c (grow_user_string_obstack): #? uses SPLIT too. 1492 14931997-07-29 Akim Demaille <demaille@inf.enst.fr> 1494 1495 * lib/metaseq.c: Added the hash table functions for macro MS. 1496 (grow_user_string_obstack): Added '\' for usal characters, 1497 especially `\n'. 1498 1499 * lib/metaseq.c (grow_user_string_obstack): Expand the macro meta 1500 sequences (#(macro)). 1501 1502 * hashstr.[ch]: New file, factorising the various hash tables with 1503 a char * key, and a char * value. 1504 1505 * lib/xmalloc.h: Fixed prototype of free. Include stdlib. 1506 15071997-07-28 Akim Demaille <demaille@inf.enst.fr> 1508 1509 * src/main.c (handle_a2ps_option): New, in charge of handling the 1510 options of the program (not the library). 1511 1512 * src/sshread.c (ssh_print_postscript): Removed the breaking 1513 free_token. 1514 15151997-07-28 Akim Demaille <demaille@inf.enst.fr> 1516 1517 * lib/options.c: New file in charge of the options only. 1518 * lib/confg.c: Removed option related routines. 1519 15201997-07-28 Akim Demaille <demaille@inf.enst.fr> 1521 1522 * doc/a2ps.1: Mini doc is included. 1523 15241997-07-25 Akim Demaille <demaille@inf.enst.fr> 1525 1526 * lib/metaseq.c (grow_user_string_obstack): Implemented #!f. 1527 (grow_user_string_obstack): Added #!F. 1528 1529 * lib/psgen.c (dump_prolog_comments): New function, globally delayed, 1530 instead of several delayed functions in output_prolog. 1531 15321997-07-25 Akim Demaille <demaille@inf.enst.fr> 1533 1534 * config.h.in: Removed the now unecessary #define for PARAMS and 1535 ___P. 1536 15371997-07-24 Akim Demaille <demaille@inf.enst.fr> 1538 1539 * src/ssheet.c (style_sheet_finalize): Inheritance of the 1540 alphabets. 1541 (check_style_sheet): Now checks keywords, sequences, and 1542 operators, even with regexp. 1543 (style_sheet_finalize): Inheritance of case sensitivity. 1544 15451997-07-23 Akim Demaille <demaille@inf.enst.fr> 1546 1547 * src/ssheet.c (get_style_sheet): Add update of re_syntax_table 1548 which could cause a BUS error. 1549 1550 * src/parsessh.y: Cleaned the trash was was still here from 1551 previous handling scheme of the symbols. 1552 1553 * src/sshread.c (match_symbols_array): New function, replaces 1554 match_exception, and match_sequence_end. 1555 15561997-07-22 Akim Demaille <demaille@inf.enst.fr> 1557 1558 * delegate.[ch]: New names of subcont.[ch] to reflect the 1559 terminology chosen for the interface. 1560 15611997-07-22 Akim Demaille <demaille@inf.enst.fr> 1562 1563 * contrib/emacs/a2ps.el: new name of contrib/emacs/ssh.el, because there is yet 1564 an contrib/emacs/ssh.el for `ssh(1)'. 1565 15661997-07-21 Jim Meyering <meyering@eng.ascend.com> 1567 1568 * check/check/Makefile.am (TESTS_ENVIRONMENT): Set it so SRCDIR gets 1569 passed to each test script. 1570 * check/check/cut.test (SRCDIR): Use it. 1571 * check/check/guess.test (SRCDIR): Use it. 1572 * check/check/prologues.test (SRCDIR): Use it. 1573 * check/check/styles.test (SRCDIR): Use it. 1574 * check/check/ps.test (SRCDIR): Use it. 1575 * check/check/Makefile.am (CLEANFILES): Add defs. 1576 15771997-07-21 Akim Demaille <demaille@inf.enst.fr> 1578 1579 * src/parsessh.y: Solved shift/reduce conflicts by inlining. 1580 15811997-07-21 Akim Demaille <demaille@inf.enst.fr> 1582 1583 * lib/psgen.c (begin_page): Merged ps_skip_page in. 1584 15851997-07-18 Akim Demaille <demaille@inf.enst.fr> 1586 1587 * src/subcont.c (subcontract): Better error messages. 1588 15891997-07-18 Akim Demaille <demaille@inf.enst.fr> 1590 1591 * lib/metaseq.c (format_user_string): Moved %o, %O as #o, #O. 1592 (expand_user_string): Replaces format_user_string. It has 1593 now no arbitrary limitation on the size of the expanded 1594 string, thanks to obstacks. 1595 1596 * metaseq.[ch]: New files, in charge of the meta sequences 1597 handling. 1598 15991997-07-17 Akim Demaille <demaille@inf.enst.fr> 1600 1601 * src/ssheet.h: Now the struxt words encodes the address of the 1602 first and last possible matches, not there index in the array. 1603 16041997-07-17 Akim Demaille <demaille@inf.enst.fr> 1605 1606 * lib/liba2ps.h: Changed the name of something important 1607 functions (such as new_print_job etc.) so that everything 1608 is prefixed by a2_. 1609 16101997-07-16 Akim Demaille <demaille@inf.enst.fr> 1611 1612 * src/ssheet.c (style_sheet_texinfo_print_signature): I know this 1613 is bad, but I couldn't help it... 1614 16151997-07-16 Akim Demaille <demaille@inf.enst.fr> 1616 1617 * lib/stpncpy.c (stpncpy): Fixed a nasty bug. 1618 16191997-07-16 Akim Demaille <demaille@inf.enst.fr> 1620 1621 * doc/a2ps.texi (Known languages): Made it depend on a file 1622 generated by a2ps to describe the languages. 1623 16241997-07-15 Akim Demaille <demaille@inf.enst.fr> 1625 1626 * lib/encoding.c (load_encodings_map): New function, in charge 1627 of reading the lib/encoding.map files. 1628 16291997-07-15 Akim Demaille <demaille@inf.enst.fr> 1630 1631 * etc/Makefile.am (ps_DATA): All files have a lower case name. 1632 16331997-07-10 Akim Demaille <demaille@inf.enst.fr> 1634 1635 * lib/Makefile.am (libitsources): Removed regex.[ch] from here, 1636 so that it does not polute lib/liba2ps.h with its undefined 1637 symbols. 1638 16391997-07-09 Akim Demaille <demaille@inf.enst.fr> 1640 1641 * all: Standardized the error messages (in particular, "cannot do 1642 something", no longer "couldn't do" nor "unable to", nor "could 1643 not do"). 1644 16451997-07-08 Akim Demaille <demaille@inf.enst.fr> 1646 1647 * src/parsessh.y: The handling of closing alternatives is now 1648 handled by the parser, instead of a post processing. 1649 16501997-07-08 Akim Demaille <demaille@inf.enst.fr> 1651 1652 * lib/psstat.c (ps_status_free): Quite all the memory malloc'ed 1653 is now freed. 1654 16551997-07-07 Akim Demaille <demaille@inf.enst.fr> 1656 1657 * lib/confg.c (read_sys_config): Fixed the behavior when 1658 sysconfdir does not hold lib/a2ps.cfg. 1659 16601997-07-06 Akim Demaille <demaille@inf.enst.fr> 1661 1662 * subcont.[ch]: New file in charge of the subcontractors. 1663 16641997-07-06 Akim Demaille <demaille@inf.enst.fr> 1665 1666 * lib/jobs.c (new_file_job): It is no longer the library 1667 that opens the files... 1668 1669 * lib/output.c (output_dump): Make it accept any FILE as output 1670 stream. This is to avoid closing stdout in a near future. 1671 (That was _bad_ when using the library). 1672 16731997-07-04 Akim Demaille <demaille@inf.enst.fr> 1674 1675 * src/ssheet.h (struct style sheet): New field: ancestors. 1676 Parsing etc. are revisited to take these ancestors into account. 1677 NOTE: no checking for infinite recursion is currently done. 1678 1679 * src/ssheet.c: Simplified handling of the style sheets hash 1680 table. The style sheets by themselves did not require an extra 1681 embedding structure. 1682 16831997-07-04 Akim Demaille <demaille@inf.enst.fr> 1684 1685 * sheets/objc.ssh: Made it inherit from sheets/c.ssh. 1686 16871997-07-04 Akim Demaille <demaille@inf.enst.fr> 1688 1689 * lib/routines.c (format_user_string): Made it depend 1690 upon a file_job, so that it will be usable for 1691 indexes and toc. 1692 1693 * lib/darray.c (da_prefix): New function which prefixes 1694 the content of the first arr, by the content of the 1695 second (kind of converse of concat). 1696 16971997-07-04 Akim Demaille <demaille@inf.enst.fr> 1698 1699 * configure.in: REPLACE_FUNC strtoul, absent on SunOS cc. 1700 17011997-07-03 Akim Demaille <demaille@inf.enst.fr> 1702 1703 * src/lexssh.l: Now uses obstacks for scanning strings. Flex 1704 power is exploited (exclusive states). 1705 17061997-07-03 Akim Demaille <demaille@inf.enst.fr> 1707 1708 * caret.[ch]: New files, in charge of escape unprintables. 1709 1710 * lib/a2ps.h: Got rid of ustring and const_ustring. 1711 Redesigned the access to system headers (it relies 1712 now more on lib/xstring.h etc. which take care by themselves 1713 of multiple inclusions). 1714 17151997-07-03 Akim Demaille <demaille@inf.enst.fr> 1716 1717 * *.*: Has remarked by Turgut Uyar, media is yet plurial! Changed 1718 everywhere. 1719 17201997-07-01 Akim Demaille <demaille@inf.enst.fr> 1721 1722 * psstat.[ch]: New files, to split the very big structure 1723 that is print_job in smaller, quasi-independent elements. 1724 17251997-06-25 Akim Demaille <demaille@inf.enst.fr> 1726 1727 * lib/printers.c: New file, which is responsible of printers 1728 management. (printers are in fact any kind of output). 1729 17301997-06-20 Akim Demaille <demaille@inf.enst.fr> 1731 1732 * check/styles.test: Presentation is much better. 1733 17341997-06-18 Akim Demaille <demaille@inf.enst.fr> 1735 1736 * sheets/vrml.ssh: New. 1737 17381997-06-18 Akim Demaille <demaille@inf.enst.fr> 1739 1740 * ogonkify.m4: New macros to check if ogonkify can be installed 1741 (depends on perl), and is desired. 1742 1743 * configure.in: More robust tests for portability. 1744 17451997-06-13 Akim Demaille <demaille@inf.enst.fr> 1746 1747 * src/parsessh.y: Added support for version requirement in style 1748 sheets. 1749 17501997-06-13 Akim Demaille <demaille@inf.enst.fr> 1751 1752 * lib/a2ps.h: More robust wrt errno. 1753 17541997-06-11 Akim Demaille <demaille@inf.enst.fr> 1755 1756 * lib/confg.c (get_symbolic_value): New function to have clearer 1757 error messages for argument mismatches. 1758 17591997-06-10 Akim Demaille <demaille@inf.enst.fr> 1760 1761 * styles.*: removed. 1762 17631997-06-10 Akim Demaille <demaille@inf.enst.fr> 1764 1765 * lib/pathwalk.c (path_walk): Now the whole file uses pre 1766 separated components of the path (string_to_path). 1767 17681997-06-09 Akim Demaille <demaille@inf.enst.fr> 1769 1770 * All files: put the copyright notice. 1771 17721997-06-06 Akim Demaille <demaille@inf.enst.fr> 1773 1774 * lib/jobs.c (new_user_info): New function, due to new structure of 1775 struct print_job. 1776 17771997-06-05 Akim Demaille <demaille@inf.enst.fr> 1778 1779 * lib/medias.c (list_medias_short): New function. 1780 * lib/config.c: "Media: " entries. 1781 17821997-06-04 Akim Demaille <demaille@inf.enst.fr> 1783 1784 * contrib/emacs/ssh.el: New file, built by modification of contrib/emacs/m4.el by 1785 Drew Csillag <drew@contrib/emacs/staff.prodigy.com>. 1786 1787 * make-contrib/emacs/regexp.el: Included because some day there will be 1788 support for regexp in a2ps. 17891997-06-03 Akim Demaille <demaille@inf.enst.fr> 1790 1791 * src/parsessh.y: Removed "end comment". 1792 17931997-06-02 Akim Demaille <demaille@inf.enst.fr> 1794 1795 * lib/Makefile.am: Build lib/liba2ps.h from source files. 1796 17971997-05-30 Akim Demaille <demaille@inf.enst.fr> 1798 1799 * src/parsessh.y: Add support for version and author of a style 1800 sheet. 1801 18021997-05-30 Akim Demaille <demaille@inf.enst.fr> 1803 1804 * lib/darray.c (da_qsort): New implementation. Comparison 1805 functions in darrays no longer need to have a void ** 1806 as argument. 1807 18081997-05-28 Akim Demaille <demaille@inf.enst.fr> 1809 1810 * lib/liba2ps.h.in: New file which is a precursor of the 1811 a2ps library header. 1812 18131997-05-25 Akim Demaille <demaille@inf.enst.fr> 1814 1815 * lib/jobs.h: Jobs are now under darray. 1816 1817 * lib/jobs.c (print_job_free): New function. 1818 1819 * lib/dstring.c (ds_vsprintf, ds_cat_vsprintf...): New 1820 functions. 1821 * lib/output.c: Globally cleaned up, using dstring. 1822 18231997-05-24 Akim Demaille <demaille@inf.enst.fr> 1824 1825 * lib/output.c: Globally cleaned, using darrays. 1826 18271997-05-23 Akim Demaille <demaille@inf.enst.fr> 1828 1829 * sheets/Makefile.am (sheets_DATA): Renamed sheets/perl.ssh as sheets/Perl.ssh 1830 18311997-05-23 Akim Demaille <demaille@inf.enst.fr> 1832 1833 * lib/jobs.h: Added backup support (versioning). 1834 1835 * lib/dstring.c (ds_report): New function. 1836 18371997-05-22 Akim Demaille <demaille@inf.enst.fr> 1838 1839 * lib/dstring.c: extended so that it is darray-like. 1840 18411997-05-22 Akim Demaille <demaille@inf.enst.fr> 1842 1843 * etc/Makefile.am: Renamed black+etc/white.pro as etc/bw.pro, *.enc 1844 to .ps, removed style-def. 1845 Renamed the ps library dir (former postscript) as ps. 1846 18471997-05-20 Akim Demaille <demaille@inf.enst.fr> 1848 1849 * ogonkify/Makefile.am: Fixed a bug in handling of @LIBDIR@. 1850 18511997-05-16 Akim Demaille <demaille@inf.enst.fr> 1852 1853 * lib/Makefile.am (libitheaders): Added backupfile.[ch] for 1854 version control, lib/getversion.c for get version 1855 control settings, and argmatch.[ch] as support for 1856 lib/getversion.c 1857 1858 * lib/Makefile.am: new files dstring.[ch] that will replace 1859 portions of output.[ch] 1860 18611997-05-11 Akim Demaille <demaille@inf.enst.fr> 1862 1863 * sheets/ChangeLog.ssh: Added. 1864 18651997-05-11 Akim Demaille <demaille@inf.enst.fr> 1866 1867 * doc/a2ps.texi (Writing new style sheets): Added a 1868 tutorial on ChangeLogs. 1869 18701997-05-09 Akim Demaille <demaille@inf.enst.fr> 1871 1872 * check/guess.test: Tests only what file says. Guesses depend 1873 far too much from what people wrote in check/sheets.map 1874 18751997-05-08 Akim Demaille <demaille@inf.enst.fr> 1876 1877 * check/ps.test (XPS_DIR): New test, that tries to find what 1878 can break a level 1 PS interpreter. 18791997-05-07 Akim Demaille <demaille@inf.enst.fr> 1880 1881 * lib/darray.c (da_remove_at, da_merge_unique): New functions. 1882 18831997-05-03 Akim Demaille <demaille@inf.enst.fr> 1884 1885 * src/ssheet.h: Removed the global exceptions (former verbatims), 1886 since they can easily be included as an alternative closer in the 1887 sequences. 1888 1889 * src/styles04.m4 (and others): Tuned for easy convertion to new 1890 style of style sheets. 1891 1892 * src/read.c: New file to speed up plain printing. 1893 1894 * src/sshread.c: New file for style sheet pretty printing reading 1895 of files to print. 1896 1897 * src/buffer.c: Replaced by the two files above. 1898 1899 * src/parsessh.y, src/lexssh.l: new names of src/sshparse.y and 1900 src/lexer.l 1901 19021997-05-03 Akim Demaille <demaille@inf.enst.fr> 1903 1904 * lib/Makefile.am: Changed hash.[ch] to hasshtab.[ch] to 1905 avoid conflict with other libit sources. 1906 Changed xfnmatch.[ch] to Fnmatch for the same 1907 reason. 1908 19091997-04-30 Akim Demaille <demaille@inf.enst.fr> 1910 1911 * sheets/Makefile.am (sheets_DATA): Added sheets/ObjectiveC.ssh. 1912 19131997-04-28 Akim Demaille <demaille@inf.enst.fr> 1914 1915 * src/select.c (load_sheets_map): `***' to read another 1916 src/sheets.map file. 1917 19181997-04-27 Akim Demaille <demaille@inf.enst.fr> 1919 1920 * src/main.c (main): libefence cannot be used because of &^% Sun's 1921 str* functions. 1922 1923 * src/select.c (load_sheets_map): Able to match on file(1) result. 1924 19251997-04-27 Akim Demaille <demaille@inf.enst.fr> 1926 1927 * sheets/sheets.map: Added `**' special pattern to specify 1928 matching against result of file(1). 1929 19301997-04-27 Akim Demaille <demaille@inf.enst.fr> 1931 1932 * etc/base.ps: Merged in etc/color.ps, since now a lot is 1933 common [added box and underline features]. 1934 19351997-04-25 Akim Demaille <demaille@inf.enst.fr> 1936 1937 * etc/color.ps: Added box and underline routines. 1938 19391997-04-23 Akim Demaille <demaille@inf.enst.fr> 1940 1941 * src/ssheet.c (load_style_sheet): New functions. 1942 (get_style_sheet): New function. Style sheets are stored in a 1943 hash table. 1944 19451997-04-23 Akim Demaille <demaille@inf.enst.fr> 1946 1947 * lib/confg.c (long_options): Changed --column-per-page 1948 to --chars-per-line which is less confusing. 1949 19501997-04-21 Akim Demaille <demaille@inf.enst.fr> 1951 1952 * src/buffer.c (mygetstring): Started adaptation to src/ssheet.c. 1953 19541997-04-20 Akim Demaille <demaille@inf.enst.fr> 1955 1956 * src/select.c (read_sheets_map): New function, that reads the 1957 src/sheets.map files. 1958 19591997-04-20 Akim Demaille <demaille@inf.enst.fr> 1960 1961 * sheets/Makefile.am: New file. All the style sheets belong 1962 to this directory. 1963 19641997-04-20 Akim Demaille <demaille@inf.enst.fr> 1965 1966 * lib/jobs.c (new_a2ps_status): Removed the pattern rules: 1967 they are no longer part of .a2psrc files. 1968 1969 * jobaux.[ch]: new files to make jobs.[ch] only handle 1970 the job structure, not the asides. 1971 19721997-04-19 Akim Demaille <demaille@inf.enst.fr> 1973 1974 * src/ssheet.h: Unified implementation of keywords, symbols and 1975 operators. 1976 1977 * ss-src/parser.y: Extended to verbatims, escapes, and comment. 1978 1979 * src/ssheet.c (match_keyword, match_symbol, match_operator): New 1980 functions 1981 19821997-04-16 Akim Demaille <demaille@inf.enst.fr> 1983 1984 * Makefile.am (SUBDIRS): Changed the order so that painful info 1985 problems at install can be easily avoided. 1986 19871997-04-16 Akim Demaille <demaille@inf.enst.fr> 1988 1989 * lib/output.c (output_file): Restructured, so that only 1990 used fonts are built. 1991 1992 * lib/encodings.c: Fix the ISO names. 1993 19941997-04-12 Akim Demaille <demaille@inf.enst.fr> 1995 1996 * lib/postscript.c (output_prolog): In debug mode, download 1997 a ps error handler. 1998 19991997-04-11 Akim Demaille <demaille@inf.enst.fr> 2000 2001 * src/ssheet.c: More jobs done (should replace style-src/utils.c). 2002 2003 * ss-src/parser.y: Reads the sequences. 2004 2005 * src/lexer.l: Extented the base alphabet to the maximum. 2006 2007 * src/lexer.l: Included the LaTeX equivalent for the symbols and 2008 operators. 2009 20101997-04-11 Akim Demaille <demaille@inf.enst.fr> 2011 2012 * NEWS: Release of 4.8. 2013 20141997-04-11 Akim Demaille <demaille@inf.enst.fr> 2015 2016 * lib/jobs.h: Changed major to Major, because of a sys macro 2017 on SunOS CC. 2018 20191997-04-10 Larry Jones <larry.jones@sdrc.com> 2020 2021 * src/report.c, style-src/utils.c (sort_keywords, sort_regulars, 2022 sort_specials, sort_symbols): make min and max optional to avoid 2023 unneeded work and prevent referencing uninitialized variables. * 2024 style-src/utils.c (guess_language): free file_command when done, 2025 fclose ptr all the time (not pclose!), check for sscanf failure. 2026 20271997-04-10 Larry Jones <larry.jones@sdrc.com> 2028 2029 * lib/faces.c, lib/faces.h (check_face_to_font, init_face_to_font): 2030 correct argument type. 2031 2032 * lib/jobs.c (initialize_ps_status): intialize wx and last_line_num 2033 since they can be referenced before they're otherwise set. 2034 2035 * lib/jobs.c (new_print_job): get name to capitalize from 2036 res->pw_name instead of passwd->pw_name since passwd might be 2037 NULL. 2038 2039 * lib/output.c (output_file): add 1 for trailing NUL when allocating 2040 filename. 2041 2042 * lib/postscript.c (clean_up): when printing blank 2nd page for 2043 rectoverso, leave job->virtual alone so that paging logic 2044 works correctly. 2045 2046 * lib/postscript.c (ps_init): set title_font_size even when not 2047 printing titles since it's still referenced. 2048 20491997-04-10 Larry Jones <larry.jones@sdrc.com> 2050 2051 * lib/faces.c, lib/faces.h (check_face_to_font, init_face_to_font): 2052 correct argument type. 2053 * lib/jobs.c (initialize_ps_status): intialize wx and last_line_num 2054 since they can be referenced before they're otherwise set. 2055 * lib/jobs.c (new_print_job): get name to capitalize from 2056 res->pw_name instead of passwd->pw_name since passwd might be 2057 NULL. 2058 * lib/output.c (output_file): add 1 for trailing NUL when allocating 2059 filename. 2060 * lib/postscript.c (clean_up): when printing blank 2nd page for 2061 rectoverso, leave job->virtual alone so that paging logic 2062 works correctly. 2063 * lib/postscript.c (ps_init): set title_font_size even when not 2064 printing titles since it's still referenced. 2065 20661997-04-10 Akim Demaille <demaille@inf.enst.fr> 2067 2068 * src/ssheet.c: New file, in charge of handling the new scheme for 2069 style sheets. 2070 20711997-04-10 Akim Demaille <demaille@inf.enst.fr> 2072 2073 * lib/faces.h: Changed COURIER to PLAIN. 2074 20751997-04-09 Akim Demaille <demaille@gargantua.enst.fr> 2076 2077 * ss-src/parser.y: New file, for reading dynamically the style 2078 sheets. 2079 2080 * src/lexer.l: New file, used for all the parsers in a2ps. 2081 20821997-04-07 Akim Demaille <demaille@esmeralda.enst.fr> 2083 2084 * lib/confg.c (read_sysconfig): Made it able to read in the lib path 2085 so that it is easier for micro ports. 2086 20871997-04-06 Akim Demaille <demaille@gargantua.enst.fr> 2088 2089 * style-src/utils.c (guess_language): Adapted to the new 2090 structure, and fixed a bug related to a bad space in file_link. 2091 2092 * src/main.c: Configuration related functions have moved in 2093 lib/src/confg.c. 2094 20951997-04-06 Akim Demaille <demaille@gargantua.enst.fr> 2096 2097 * lib/jobs.h: New structure (a2ps_status) to store what 2098 belongs to the program, and not the lib. 2099 2100 * lib/confg.c: new file with all the necessary to read 2101 configuration at run time (from config files to 2102 command line options). 2103 21041997-04-06 Akim Demaille <demaille@gargantua.enst.fr> 2105 2106 * file.m4: Fixed a bug which caused an extra blank in the file 2107 command, which could break the call to file. 2108 21091997-04-03 Akim Demaille <demaille@gargantua.enst.fr> 2110 2111 * lib/Makefile.am: Added support for Helvetica's 2112 21131997-03-28 Akim Demaille <demaille@folcoche.enst.fr> 2114 2115 * lib/postscript.c (begin_document): added support for 2116 -major 2117 21181997-03-27 Akim Demaille <demaille@esmeralda.enst.fr> 2119 2120 * lib/postscript.c (ps_end_file): Moved the test here, instead 2121 of page per page. It now cancels the whole job. 2122 21231997-03-26 Akim Demaille <demaille@quasimodo.enst.fr> 2124 2125 * lib/postscript.c (begin_document): added a test to make sure 2126 faces are known. 2127 21281997-03-25 Akim Demaille <demaille@gargantua.enst.fr> 2129 2130 * src/main.c (long_options): Changed --font into --font-size, 2131 because the prologues are the good place to change the base font. 2132 2133 * style-src/utils.c (guess_with_rules): Fixed a problem on the 2134 definition of success for fnmatch. Now more portable. 2135 21361997-03-23 Akim Demaille <demaille@gargantua.enst.fr> 2137 2138 * lib/xstrrpl.c (xvstrrpl): new function, that takes vargars 2139 intead of an array. 2140 2141 * lib/xstrrpl.c: destructive counterparts are added. 2142 21431997-03-22 Akim Demaille <demaille@gargantua.enst.fr> 2144 2145 * lib/postscript.c (ps_print_char): Now there is a ps function 2146 to print line numbers. 2147 21481997-03-18 Akim Demaille <demaille@gargantua.enst.fr> 2149 2150 * lib/postscript.c (ps_font): Got rid of the hard coded fonts: 2151 now only Keyword, Comment, and such. 2152 2153 * lib/afm.c: Moved more responsibility to Ogonkify. 2154 21551997-03-17 Akim Demaille <demaille@gargantua.enst.fr> 2156 2157 * src/buffer.c (mygetstring): Deeply modified to support the very 2158 strange nroff sequences that may include ^H. Now I can get rid of 2159 CourierBack, which was not portable to built char sets such as 2160 those of Ogonkify. 2161 21621997-03-17 Akim Demaille <demaille@gargantua.enst.fr> 2163 2164 * lib/postscript.c (ps_print_char): case '\b' removed. 2165 21661997-03-17 Akim Demaille <demaille@gargantua.enst.fr> 2167 2168 * etc/base.ps: Got rid of CourierBack and reencoded_backspace_font. 2169 Now the C has to handle this by itself. 2170 21711997-03-16 Akim Demaille <demaille@gargantua.enst.fr> 2172 2173 * src/main.c (read_config): Use getshline_numbered, so that long 2174 lines continued by a `\' at eol are considered. 2175 21761997-03-16 Akim Demaille <demaille@gargantua.enst.fr> 2177 2178 * lib/pathwalk.c: new file, now reusable 2179 2180 * lib/getshline.c (main): new file, with functions specialized 2181 in reading configuration files with lines continued by a '\' 2182 21831997-03-14 Akim Demaille <demaille@gargantua.enst.fr> 2184 2185 * lib/encodings.c (expand_wx): fixed a bug: order between times 2186 and Symbol. 2187 2188 * lib/postscript.c (FOLD_LINE): Fixed a bug in printing line-numbers 2189 when not in Courier. 2190 21911997-03-12 Akim Demaille <demaille@gargantua.enst.fr> 2192 2193 * lib/message.c: New file. Function removed from lib/routines.c 2194 as the other varargs functions. 2195 21961997-03-10 Akim Demaille <demaille@quasimodo.enst.fr> 2197 2198 * src/styles05.m4: Included the Octave/MATLAB style, provided by 2199 Craig P. Earls <cpearls@src/mit.edu>. 2200 22011997-03-07 Akim Demaille <demaille@gargantua.enst.fr> 2202 2203 * src/main.c (guess_language): Now file is used only if a2ps 2204 didn't guess anything. This speeds up, and avoids some of the 2205 common mistakes of file. 2206 22071997-03-07 Akim Demaille <demaille@gargantua.enst.fr> 2208 2209 * lib/xfnmatch.h: Changed the name to xfnmatch, so that there could 2210 never be interferences between the system's lib/fnmatch.h, and 2211 the provided fnmatch. 22121997-03-01 Akim Demaille <demaille@gargantua.enst.fr> 2213 2214 * src/jobs.c (ps_set_encoding, ps_end_encoding, 2215 ps_switch_encoding): new functions. 2216 2217 * src/jobs.c (output_file): grabs the setup parts of ps files, so 2218 that they are put in the %%DocumentSetup. 2219 22201997-03-01 Akim Demaille <demaille@gargantua.enst.fr> 2221 2222 * *.enc: they build their own dictionaries, to ease multi 2223 lingual documents. 2224 2225 22261997-02-28 Akim Demaille <demaille@gargantua.enst.fr> 2227 2228 * src/jobs.c (new_job): Put default value of startpage to TRUE, 2229 and then simplified beginning of printing a document. 2230 22311997-02-25 Akim Demaille <demaille@gargantua.enst.fr> 2232 2233 * src/job.h (print_job): now has a field NeededResources. 2234 * src/output.c (output_file): now recognises the NeededResources. 2235 * src/postscript.c (begin_document): NeededResources are delayed 2236 through a hash table in print_job. 2237 22381997-02-24 Akim Demaille <demaille@quasimodo.enst.fr> 2239 2240 * src/jobs.c (new_print_job): Better handling of strange 2241 configurations (no HOME var env, no passwd etc.) 2242 22431997-02-23 Akim Demaille <demaille@gargantua.enst.fr> 2244 2245 * src/postscript.c: changed handling of line, font and columns 2246 requested, so that big size are better treated. 2247 22481997-02-13 Akim Demaille <demaille@gargantua.enst.fr> 2249 2250 * lib/: better support of non ANSI platforms. 2251 * src/: less globals. 2252 * src/medias.h, src/medias.c: new files. 2253 22541997-02-09 Akim Demaille <demaille@gargantua.enst.fr> 2255 2256 * src/main.c (add_fn_rule): New function. 2257 2258 * src/main.c (read_config): `Pattern:' is new in the config. files. 22591997-02-08 Akim Demaille <demaille@gargantua.enst.fr> 2260 2261 * src/styles??.m4: Use of $ are the symbol for eol, instead 2262 of hard-coded \n (bad with Mac which closes with \r). 2263 22641997-02-07 Akim Demaille <demaille@gargantua.enst.fr> 2265 2266 * src/styles.c.in: split in several files. 2267 * src/postscript.c (print_file): handling of cut by the main loop. 2268 22691997-02-04 Akim Demaille <demaille@gargantua.enst.fr> 2270 2271 * src/report.c: fixed report wrt to new font schemes. 2272 2273 * src/buffer.c (mygetc): Moved grabbing of tags in here. 2274 * src/postscript.c (print_file) No more dealing with font 2275 and "true font". Everything is handled by buffer.c 2276 22771997-02-01 Akim Demaille <demaille@gargantua.enst.fr> 2278 2279 * src/style-utils.c (sort_keywords): precalculate the arrays 2280 min and max which correspond to the first and last keyword 2281 in the array that begin with the char which is the index of 2282 the array. 2283 * src/style-utils.c (sort_regulars): Idem. 2284 * src/style-utils.c (sort_specials): Idem. 2285 2286 * src/buffer.c: simplified thanks to the six above arrays. 2287 22881997-01-31 Akim Demaille <demaille@gargantua.enst.fr> 2289 2290 * src/style-util.c: Different handling of alternatives 2291 in the sequences. 2292 * src/buffer.c (is_sequence_begin): Now in the sequences, 2293 close_font is attached to its closer. 2294 2295 * src/styles.c.in: removed old syntax of closing alternatives. 2296 22971997-01-28 Akim Demaille <demaille@gargantua.enst.fr> 2298 2299 * src/routines.c (list_suffixp): New function. 2300 * src/main.c (list_features): Lists the prologues. 2301 2302 * src/postscript.c (start_sheet): job->margin handled. 2303 2304 * src/main.c (guess_language): Use of readpipe for speed 2305 improvement. 2306 23071997-01-26 Akim Demaille <demaille@gargantua.enst.fr> 2308 2309 * postscript.c: job->strip handled, but not enough. 2310 23111997-01-21 Akim Demaille <demaille@gargantua.enst.fr> 2312 2313 * src/jobs.[ch], src/postscript.c (job->statusdict, 2314 job->pagedevice): new variable. 2315 * src/main.c: support of the two previous through -D and -S. 2316 23171997-01-19 Akim Demaille <demaille@gargantua.enst.fr> 2318 2319 * src/postscript.c (print_file): introduced true_font to 2320 avoid bugs because of "virtual information" in fonts, 2321 such as TAG1 etc. 2322 2323 * src/main.c: news options --margin, --strip-comments 2324 * src/postscript.c, routines.c, styles.c: changed handling 2325 of tags to something more uniform. 2326 * src/jobs.c, jobs.h: more rigorous handling of the 2327 information related to files/print job. 2328 * output.c, output.h: new files, in charge with the second 2329 pass. 2330 * doc/mika.texi: updated. 2331 * doc/mika.1, doc/prescript.1: no longer distributed. 2332 23331997-01-05 Akim Demaille <demaille@gargantua.enst.fr> 2334 2335 * src/postscript.c, misc/a2ps.pro: redesigned the definition 2336 of the fonts (to be more flexible). 2337 * misc/pcg.enc: now fully supported. 2338 2339 * misc/a2ps.pro: prepared for color. 2340 * misc/gray.pro: prolog with gray shades. 2341 23421997-01-04 Akim Demaille <demaille@gargantua.enst.fr> 2343 2344 * src/postscript.c, misc/a2ps.pro: uniformization of the variable 2345 names. 2346 * src/postscript.c: fixed problems with counting of pages/sheets. 2347 23481997-01-03 Akim Demaille <demaille@gargantua.enst.fr> 2349 2350 * src/postscript.c: now a2ps respects the drawing area. 2351 * src/a2ps.c (handle_options): more predefined layouts. 2352 23531997-01-02 Akim Demaille <demaille@gargantua.enst.fr> 2354 2355 * src/postscript.c: moved more definitions in the document Setup. 2356 * src/postscript.c: in the ps, orientation is invisible (i.e., 2357 the sheet width is the paper height in landscape etc.). 2358 * src/a2ps.c (handle_options): new options --columns, --rows. 2359 23601996-12-31 Akim Demaille <demaille@gargantua.enst.fr> 2361 2362 * src/postscript.c: More than two virtual pages may be used. 2363 * src/postscript.c (clean_up): fixed. 2364 2365 * configure.in: got closer to GNU directories. Used libit. 2366 * src/routines.c (xgethostname): replaces get_host. 2367 * src/a2ps.c: $HOME is used for .a2psrc, instead of id->pwdir. 2368 23691996-12-29 Akim Demaille <demaille@gargantua.enst.fr> 2370 2371 * src/postscript.c: Fixed DSC compliance. 2372 * lib/a2ps.pro: DSC compliance. 2373 23741996-12-21 Akim Demaille <demaille@gargantua.enst.fr> 2375 2376 * src/routines.c (format_usr_string): introduced `%?'. 2377 23781996-12-19 Akim Demaille <demaille@esmeralda.enst.fr> 2379 2380 * buffer.c (is_sequence_open, is_sequence_close): implemented a 2381 more general scheme for sequences. 2382 * styles.c.in (fortran_mode, mail_mode): use of '^' specificator. 2383 23841996-12-18 Akim Demaille <demaille@quasimodo.enst.fr> 2385 2386 * buffer.c: prepared the matching sequences 2387 23881996-12-18 Akim Demaille <demaille@gargantua.enst.fr> 2389 2390 * buffer.c: improved management of alphabets. 2391 * configure.in: fixed a problem when no${prefix} is given. 2392 23931996-12-16 Akim Demaille <demaille@gargantua.enst.fr> 2394 2395 * buffer.c: used getline instead of "sliding buffers". It should 2396 make Fortran comments easier. 2397 23981996-12-15 Akim Demaille <demaille@gargantua.enst.fr> 2399 2400 * libc/: added getline. 2401 24021996-12-14 Akim Demaille <demaille@gargantua.enst.fr> 2403 2404 * lib/a2ps.pro (cfshow): new function. 2405 * lib/a2ps.pro (hp): position and size of center title fixed. 2406 * src/postscript.c (print_sheet_prologue): simplified. 2407 24081996-12-11 Akim Demaille <demaille@esmeralda.enst.fr> 2409 2410 * postscript.c: fixed prefix_size. 2411 2412 * postscript.c: fixed handling of twinfiles. 2413 2414 * postscript.c: fixed handling of wx of escaped strings. 2415 * a2ps.c (handle_options): fixed handling of --non-printable. 2416 24171996-12-08 Akim Demaille <demaille@gargantua.enst.fr> 2418 2419 * postscript.c (print_sheet_prologue) fixed the handling of water 2420 marks. 2421 * a2ps.texi: added chapter on pretty printing. 2422 24231996-12-06 Akim Demaille <demaille@quasimodo.enst.fr> 2424 2425 * a2ps.c, postscript.c: dynamic headers are fixed. 2426 * a2ps.c: orientation may be implied by number of pages 2427 per sheet (unless specified). 2428 24291996-12-06 Akim Demaille <demaille@gargantua.enst.fr> 2430 2431 * a2ps.c (main): made full use of library path. 2432 24331996-12-03 Akim Demaille <demaille@folcoche.enst.fr> 2434 2435 * a2ps.c: handling of the headers (hanlde_options) is now finished 2436 ---I hope. 2437 * src/postscript.c, lib/a2ps.pro: water is given the angle to 2438 follow. 2439 * routines.h (IS_EMPTY): fixed a problem. 2440 24411996-12-02 Akim Demaille <demaille@esmeralda.enst.fr> 2442 2443 * src/a2ps.c (handle_option): use of GNU getopt. 2444 2445 * src/a2ps.c (list_options): separated from --version. 2446 2447 * src/afm.c: handling of WX's goes through a table, to improve 2448 speed. 2449 24501996-11-29 Akim Demaille <demaille@gargantua.enst.fr> 2451 2452 * postscript.c (print_prologue): now the media used is specified 2453 in the PS prologue. 2454 2455 * afm.c: added mac and latin2 encodings. PS support is needed 2456 in order to use them --to do. 2457 2458 * configure.in: added tests on "uchar", supposed to be unsigned 2459 char, unless char is unsigned. Most src's are adapted to uchar. 2460 24611996-11-27 Akim Demaille <demaille@gargantua.enst.fr> 2462 2463 * everyfile: the handling of the various options is no longer 2464 dynamic, hence many "new_" variables were killed. 2465 2466 * postscript.c: better PostScript prologue. Most variables 2467 in common with a2ps.c is shared through the struct print_job. 2468 2469 * a2ps.pro: less variables, more stack management. 2470 24711996-11-24 Akim Demaille <demaille@gargantua.enst.fr> 2472 2473 * everyfile: Used a more general scheme for the handling of 2474 date, footers etc. 2475 24761996-11-21 Akim Demaille <demaille@gargantua.enst.fr> 2477 2478 * a2ps.c: (main) reading a2psrc files (system's, home's, and 2479 ./'s). 2480 * routines.c: (path_walk, paste_file, xstrdup, xmalloc, xfree, 2481 message, file_lookup, file_existsp) new functions, stolen 2482 from GNU enscript. 2483 * report.c: uses library files instead of big printfs. 2484 * postscript.c: uses library files. 2485 * configure.in: configuration time options are useless, since 2486 a2psrc is --at last-- born. 2487 24881996-11-18 Akim Demaille <demaille@quasimodo.enst.fr> 2489 2490 * xmalloc.c: new file. Stollen from GNU enscript. 2491 2492 * routines.c (fatal, error): new functions. Every error msg has 2493 been check and uses errno when possible. 2494 2495 * po/, intl/: updated to GNU gettext-0.10.24 2496 24971996-11-17 Akim Demaille <demaille@gargantua.enst.fr> 2498 2499 * postscript.c, main.c: Dates are I16ed. 2500 25011996-11-16 Akim Demaille <demaille@gargantua.enst.fr> 2502 2503 * postscript.c Header and footer better suported (parenthesis 2504 etc.). 2505 * styles.c.in (prescript_tyle) Added support for \footer and 2506 \header. 2507 * report.c (report, report_language) Defined dynamic header and 2508 footer). 2509 2510 * configure.in Fixed bug with --enable-print-default 2511 25121996-11-15 Akim Demaille <demaille@candide.enst.fr> 2513 2514 * postscript.c Introduced new font modifiers: HEADER and FOOTER 2515 that allows to define footer and header on-the-fly, from the file. 2516 * styles.c.in (mail_style) Added HEADER and FOOTER to sequences on 2517 Subject and From. 2518 25191996-11-15 Akim Demaille <demaille@candide.enst.fr> 2520 2521 * po/it.po. Added Italian support with Daniele Ghiotti. 2522 25231996-11-13 Akim Demaille <demaille@esmeralda.enst.fr> 2524 2525 * NLS supported with GNU gettext. 2526 2527 * Keywords, Symbols are now sorted. 2528 2529 * Changed the encoding of the fonts in the style sheet base. 2530 2531 * (routines.c, a2ps.c) When style is mailfolder, use subject and 2532 sender as header and footer. 2533 2534Edit history: 2535 2536 1) Derived of shell program written by evan@csli (Evan Kirshenbaum). 2537 Written in C for improve speed execution and portability. Many 2538 improvements have been added. 2539 2540 Fixes by Oscar Nierstrasz @ cui.uucp: 2541 2) Fixed incorrect handling of stdin (removed error if no file names) 2542 3) Added start_page variable to eliminate blank pages printed for 2543 files that are exactly multiples of 132 lines (e.g., man pages) 2544 2545 Modified by santana@imag.fr: 2546 4) Added new options at installation : sheet format (height/width in 2547 inches), page format (number of columns per line and of lines per 2548 page). 2549 2550 Modified by santana@imag.fr: 2551 5) Added new option to print n copies of a same document. 2552 6) Cut long filenames if don't fit in the page header. 2553 2554 Modified by Tim Clark (T.Clark@warwick.ac.uk): 2555 7) Two additional modes of printing (portrait and wide format modes) 2556 8) Fixed to cope with filenames which contain a character which must 2557 be escaped in a PostScript string. 2558 2559 Modified by santana@imag.fr to 2560 9) Added new option to suppress heading printing. 2561 10) Added new option to suppress page surrounding border printing. 2562 11) Added new option to change font size. Lines and columns are 2563 automatically adjusted, depending on font size and printing mode 2564 12) Minor changes (best layout, usage message, etc). 2565 2566 Modified by tullemans@apolloway.prl.philips.nl 2567 13) Backspaces (^H) are now handled correctly. 2568 2569 Modified by Johan Vromans (jv@mh.nl) to 2570 14) Added new option to give a header title that replaces use of 2571 filename. 2572 2573 Modified by craig.r.stevenson@att.com to 2574 15) Print last modification date/time in header 2575 16) Printing current date/time on left side of footer (optional) 2576 2577 Modified by erikt@cs.umu.se: 2578 17) Added lpr support for the BSD version 2579 18) Added som output of pages printed. 2580 2581 Modified by wstahw@lso.win.tue.nl: 2582 19) Added option to allowing the printing of 2 files in one sheet 2583 2584 Modified by mai@wolfen.cc.uow.oz 2585 20) Added an option to set the lines per page to a specified value. 2586 21) Added support for printing nroff manuals 2587 2588 Modified by santana@imag.fr 2589 22) Integration of changes. 2590 23) No more standard header file (printed directly by a2ps). 2591 24) New format for command options. 2592 25) Other minor changes. 2593 2594 Modified by Johan Garpendahl (garp@isy.liu.se) and santana@imag.fr: 2595 26) Added 8-bit characters printing as ISO-latin 1 chars 2596 2597 Modified by John Interrante (interran@uluru.stanford.edu) and 2598 santana@imag.fr: 2599 27) Two pages per physical page in portrait mode 2600 2601 Modified by santana@imag.fr: 2602 28) New option for two-sided printing 2603 29) Several fixes 2604 2605 Modified by Chris Adamo (adamo@ll.mit.edu) and 2606 Larry Barbieri (lbarbieri@ll.mit.edu) 3/12/93 2607 30) Output format enhancements. 2608 31) Added login_id flag (for SYSV and BSD only) for printing user's 2609 login ID at top of page. Added command line parameter (-nL) to 2610 suppress this feature. 2611 33) Added filename_footer flag for printing file name at bottom 2612 of page. Added command line parameter (-nu) to suppress this 2613 feature. 2614 34) Added -B (-nB) options to enable (disable) bold font 2615 2616 Modified by santana@imag.fr: 2617 35) Adapted to respect Adobe conventions for page independence. A2ps 2618 output can be now used by other Postscript processors. 2619 36) Names of most postscript variables have been coded in order to 2620 reduce the size of the output. 2621 37) Ansi C compilers are now automatically taken into account. 2622 38) Enhanced routine for cutting long filenames 2623 39) Added -q option to print files in quiet mode (no summary) 2624 40) Fixed some little bugs (counters, modification time for stdin, 2625 character separator when printing line numbers and cutting a 2626 line). 2627 41) Some minor changes (new preprocessing variables, formatting) 2628 2629 Modified by Emmanuel Briot (Emmanuel.Briot@enst-bretagne.fr) 2630 42) Made keyword Highligting mode 2631 2632 Modified by Akim Demaille (demaille@inf.enst.fr) 2633 43) Fixed line numbering, folding, managing of strings and escapes 2634 44) Added alphabet, case sensitiveness, symbol translation (-t, -nt) 2635 45) Added -L, -nk, -u<txt>, and made -k, -nH, -i, -ni positionnnal 2636 46) Sequences now have three fonts (open, in, close) 2637 47) Changed handling of exceptions (e.g. \", \\, etc.) 2638 48) Small fix to allow print without LPR_OPT and with LPR_DEST_OPT 2639 49) Introduced options -V, -a, -o, -W, -G and -k(none) 2640 50) Added a "window" to the buffer to ensure that keywords, even at 2641 the edge of the buffer, are recognized 2642 51) Manage the real length (WX field in afms) of chars 2643 52) fread is used instead of fgets: \0 no longer ends the line 2644 53) tabs in ps are "absolute": they always correspond to Courier 2645 54) text footer now is `relative' (i.e. it is affected by MARGIN) 2646 55) Change the architecture: behavior 2647 56) Introduced a general scheme for various char encodings 2648 * Tried as hard as I could to have the shortest number possible 2649 of warnings with a strict compiler. 2650 2651 * Form feed handeling changed so that 2652 - the line numbering is exactely the same as Emacs or 2653 others would have done (i.e. number of previous \n plus one) 2654 - a form feed immediately followed by a new line won't appear 2655 as a blank line at the beginning of the next page 2656 - every formfeed is correctly handled (even if there two 2657 adjacent \f). 2658