diff options
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 314 |
1 files changed, 314 insertions, 0 deletions
@@ -1,3 +1,317 @@ +2009-02-11 Lars Uebernickel <larsuebernickel@gmx.de> + * foomaticrip.c: The value of the "execpath" variable in the config + file was not used fully: Only the characters leading up to the first + ':' were copied into the programs $PATH environment variable. + +2009-02-11 Lars Uebernickel <larsuebernickel@gmx.de> + * renderer.c: Fixed several bugs in the argument replacements in + massage_gs_commandline. + * foomaticrip.c: Use "gspath" and "echopath" from the config file. + +2009-02-09 Lars Uebernickel <larsuebernickel@gmx.de> + + * fileconverter.h, foomaticrip.c, renderer.c, util.c: Made + foomatic-rip building under Mac OS X, mainly by replacing + functions which are GNU-only. + +2009-02-02 Till Kamppeter <till.kamppeter@gmail.com> + + * renderer.c: When foomatic-rip looked for JCL options in the + binary output of the driver to merge them with JCL options from + the PPD file, it read binary data into a C string, which causes + problems when this data contains zeroes. Finally fixes Ubuntu bug + LP: #303691. + +2009-01-29 Till Kamppeter <till.kamppeter@gmail.com> + + * renderer.c: If there were very many JCL lines in the driver's + output or coming together by JCL options, the JCL merging + process (kid4) segfaulted (Ubuntu bug LP: #321164, + https://launchpad.net/bugs/321164). + +2009-01-14 Till Kamppeter <till.kamppeter@gmail.com> + + * Tagged branch for release 4.0.0. + +2009-01-13 Till Kamppeter <till.kamppeter@gmail.com> + + * options.c: Custom JCL options were not inserted correctly + (thanks to Bin Li from Ricoh for reporting this). Fixed also + that "None" as argument for a string or password option is + considered as the empty string. + + * options.c: String and password option settings got inserted into + the command line or the PostScript code with the "Custom." + prefix (thanks to Bin Li from Ricoh for reporting this). Fixed + also a segmentation fault due to missing initialization of + components of the param_t data structure by the + option_add_custom_param_from_string() function. Removed also + some unneeded free() calls. + +2009-01-12 Till Kamppeter <till.kamppeter@gmail.com> + + * acinclude.m4: Eliminated warnings when generating ./configure + +2009-01-08 Till Kamppeter <till.kamppeter@gmail.com> + + * README, USAGE: Version 4.0.0. + + * STANDARD_installation: Tell also that "sudo make install" works + to run "make install" as root. + + * Makefile.am: Fixed cleaning rules. Many transient files did not + get removed. + Fixed "make inplace" and uninstalling rules. + +2009-01-03 Till Kamppeter <till.kamppeter@gmail.com> + + * postscript.c: Do the workaround for PostScript input of + OpenOffice 1.1.x also for StarOffice 8 (Thanks to Martin Jacobs, + martin dot jacobs at arcor dot de, for the patch). + +2008-12-10 Till Kamppeter <till.kamppeter@gmail.com> + + * foomaticrip.c, foomaticrip.h, options.c: The PostScript code of + PostScript options did not get inserted when the spooler is CUPS + and foomatic-rip had to convert incoming PDF to PostScript + (Ubuntu bug #299918). + +2008-12-05 Till Kamppeter <till.kamppeter@gmail.com> + + * README: Updated for Foomatic 4.x + + * test/*: Added test suite based on the LSB tests for foomatic-rip + + * README, USAGE, foomatic-rip.1.in, foomaticrip.c, options.c, pdf.c. + spooler.c: s/GhostScript/Ghostscript/ + +2008-11-30 Till Kamppeter <till.kamppeter@gmail.com> + + * postscript.c: Insert the "%%PageSetup" section directly after + the DSC comment header of the page, all page drawing commands + must be after the section. + + * postscript.c: Inserted PostScript option settings from pstops + were not corrected with custom option settings done on the + command line (numerical, string, password). + + * options.c: Small fix for better readability. + + * renderer.c: If there was only one PJL option in the PPD no PJL got + added at all (Ubuntu bug #303691). + + * renderer.c: Fixed several bugs in the merging of PJL options. + In some cases equal keywords were not found in the two JCL + option sets or keywords only differing by the last character + were considered equal. Also a command in the first line of the + driver's PJL header got dropped. + +2008-11-26 Lars Uebernickel <larsuebernickel@gmx.de> + * options.c: When a numeric value is out of range, use the default + value instead of the closest valid value (i.e. min or max). Do not + truncate string options which are longer than allowed, use the + default instead. Apply AllowedChars and AllowedRegExp also to + Password options. + + Small bug fix: The generated regular expression for AllowedChars was + missing the final '$' and therefore didn't match all cases + correctly. + + Bug fix: Merge JCL options correctly + +2008-11-21 Lars Uebernickel <larsuebernickel@gmx.de> + * options.c: Fixed bug: Setting the page range of an option to + multiple ranges (seperated by comma), foomatic-rip was caught in an + infinte loop. + + * options.c: Fixed bug: Page ranges were not applied for command line + options when processing PostScript files (the renderer wasn't + restarted as it should have been). + +2008-11-13 Lars Uebernickel <larsuebernickel@gmx.de> + * options.c: Don't prepend @PJL to JCL options if they already start + with @PJL. Unhexify JCL commands. + + * options.c: Handle CustomJCL<option> and ParamCustomJCL<option>. + Prefer JCL Custom options over foomatic options (as was already done + for PostScript options). + +2008-10-22 Till Kamppeter <till.kamppeter@gmail.com> + + * postscript.c: Reset the "fromcomposite" variable when treating + a "%%BeginFeature" line. In this case we do not do the treatment + of composite options and so the variable should never remain set + from a previous "%%FoomaticRIPOption" line. Fixes the problem + described in comment #23 of bug #173. + +2008-10-15 Lars Uebernickel <larsuebernickel@gmx.de> + * ppd.c: In some cases, the code for the true and false settings of + boolean values was interchanged. E.g., if the user (or the default) + chose "false" for an option, the code for "true" was embedded in the + PostScript / JCL / Command Line. + +2008-10-15 Lars Uebernickel <larsuebernickel@gmx.de> + * postscript.c: Let foomatic-rip not try to correct the + settings of boolean and enumerated choice options embedded in + the Prolog and Setup sections of the PostScript input data. With + the current pstops filter of CUPS we cannot determine any more + whether these options come from pstops or from the application. + Corrections of these options are only needed in the PageSetup, + anyway, for page overrides (Bug #173). [ported from foomatic-rip 3] + +2008-10-01 Lars Uebernickel <larsuebernickel@gmx.de> + * pdf.c: Use $TMPDIR for storing temporary files, and only use + P_tmpdir or /tmp if $TMPDIR is not writable. + +2008-09-25 Till Kamppeter <till.kamppeter@gmail.com> + + * beh.in: Use /tmp as temporary directory when CUPS does not + supply the $TMPDIR environment variable (Ubuntu bug #268284). + +2008-09-24 Lars Uebernickel <larsuebernickel@gmx.de> + * foomaticrip.c: Remove leading whitespace from jobs instead of + passing it on. Flush() standard output after writing leading data to + ensure it comes first (not after or between the output of the + renderer). + +2008-09-24 Lars Uebernickel <larsuebernickel@gmx.de> + * pdf.c, renderer.c: Put JCL data also around PDF documents + +2008-08-13 Lars Uebernickel <larsuebernickel@gmx.de> + * pdf.c: foomatic-rip inserted the -sOutputFile GhostScript command + line argument at the wrong position when printing a PDF file (not from + stdin), which led GhostScript to crash + * options.c: Option settings can be given in the PPD file before the + option is "declared", which led foomatic-rip to think that there are + PostScript options (the default) in the PPD and the driver could not + understand PDF input. Now, foomatic-rip checks for PostScript + options after the whole PPD has been read. + +2008-08-12 Lars Uebernickel <larsuebernickel@gmx.de> + * options.c: Use FoomaticRIPCommandLinePDF if it is available. Don't + use it if at least one option wants to insert PostScript code + * pdf.c: Only create a temporary file if there actually are page + overrides, not if printing the whole document + * postscript.c: Fixed bug #142, custom input value which was wrongly + set by pstops was not set to the correct value by foomatic-rip + +2008-08-05 Lars Uebernickel <larsuebernickel@gmx.de> + * renderer.c: fixed bug #146, merging of JCL options omitted some + options. + * options.c: Fixed bug #151, crash when default value of an option was + set from a composite option. + +2008-07-30 Lars Uebernickel <larsuebernickel@gmx.de> + * *: Added support for the *FoomaticRIPCommandLinePDF keyword. It will + be used for PDF input. If it is missing, *FoomaticRIPCommandLine + will be used _only_ if it calls GhostScript, otherwise the Job is + converted to PostScript. + * pdf.c: Pagerange-specific options work correctly now. If the command + line calls GhostScript, the -d(First|Last)Page parameters are used. + Otherwise, the PDF is split with GhostScript and fed to the command + line afterwards. + +2008-06-22 Lars Uebernickel <larsuebernickel@gmx.de> + * options.c: Allow float values on *OrderDependency settings. This is + valid according to the PPD spec, and is used by some HP PPDs. + +2008-06-17 Lars Uebernickel <larsuebernickel@gmx.de> + * options.c: Allow choices starting with "From". Even if they do not + point to a valid composite option. + * renderer.c: Parse more complex command lines correctly when looking + for the "gs" executable + +2008-06-17 Lars Uebernickel <larsuebernickel@gmx.de> + * options.c, postscript.c: fixed bug #138 (foomatic-rip does not + always insert the code pieces of the members of composite options) + +2007-06-13 Till Kamppeter <till.kamppeter@gmail.com> + + * renderer.c: When replacing elements of the Ghostscript command line, + do not remove the spaces between the items. This made printing with + the new foomatic-rip not working in general for most cases. + +2008-05-11 Lars Uebernickel <larsuebernickel@gmx.de> + * pdf backend: removed poppler dependency, process pdfs with libgs + now. Changed the buildsystem to reflect this. + +2008-04-23 Lars Uebernickel <larsuebernickel@gmx.de> + + * foomatic-rip.c, configure.ac: Compose the current version out of the + contents of VERSION and `bzr revno`. It is now possible to find out + foomatic-rip's version by calling it with one of "--version", "-v", + "--help", or "-h". + +2008-04-22 Lars Uebernickel <larsuebernickel@gmx.de> + + * foomatic-rip.c, options.c: Fixed a bug in option parsing (some + options were not read correctly). + + Let option settings for the "PageSetup" sections of the + PostScript input file really be inserted in and not before the + "PageSetup" sections. + +2008-04-21 Lars Uebernickel <larsuebernickel@gmx.de> + + * postscript.c, options.c: New placeholder "&rbinumcopies;" which gets + replaced by the value set in the "%RBINumCopies: ..." or + "%%RBINumCopies: ..." line in the PostScript input. If the PostScript + input does not contain such lines, the number of copies according to + the foomatic-rip command line is inserted. Feature request of George + Liu from Ricoh. + +2008-03-17 Lars Uebernickel <larsuebernickel@gmx.de> + * foomaticrip.c, options.c: Moved buildcommandline() and + append_*_section() to options.c, where they belong. + * foomaticrip.c, spooler.c: Moved some spooler specific stuff to spooler.c + to clean up foomaticrip.c some more. + +2008-03-16 Lars Uebernickel <larsuebernickel@gmx.de> + * foomaticrip.c: Started to move all process forking to process.c - to + share it with the pdf handler. Furthermore, the functions in process.c + will keep track of all forked processes and kill them when foomatic-rip + reveives a SIGTERM. + +2008-03-08 Lars Uebernickel <larsuebernickel@gmx.de> + * options.c: Accept custom page sizes without a unit (assume pt) + +2008-03-04 Lars Uebernickel <larsuebernickel@gmx.de> + * foomatic-rip.c, options.c: Use default values for custom options with + wrong parameters (e.g. PageSize=Custom) - Ubuntu bug #196687 + +2008-03-03 Lars Uebernickel <larsuebernickel@gmx.de> + * foomatic-rip.c: Fixed minor bug in option parsing + * pdf.cc/pdf.h: Beginning of pdf printing support. Printing is done + via ghostscript, using the commandline in the ppd file that is already + used for rendering postscript. + +2008-01-26 Lars Uebernickel <larsuebernickel@gmx.de> + * foomatic-rip: Fixed minor bugs found while testing foomatic-rip + with cups. + +2008-01-22 Lars Uebernickel <larsuebernickel@gmx.de> + * foomatic-rip: Merged foomatic-gswrapper into foomatic-rip. + * *: Fixed 'make install' + +2008-01-14 Lars Uebernickel <larsuebernickel@gmx.de> + * *: Added support for CUPS custom options + (see http://www.cups.org/documentation.php/spec-ppd.html#OPTIONS) + o PPD files can contain both CUPS and foomatic custom options + o Custom options can be set like this on the command line: + Options with a single parameter: + -o optionname=Custom.value or + -o optionname=value + Options with multiple parameters: + -o optionname={param1=value1 param2=value2 ...} + + * options.c: Refactored the options system to allow for custom + options. As a nice side effect, lots of redundant code (getting + commands / drivervalues for the options, syncing PageSize + and PageRegion) could be removed from foomaticrip.c. + +2007-12-21 Lars Uebernickel <larsuebernickel@gmx.de> + * *: Converted foomatic-rip to C and updated the build system. + 2007-12-04 Till Kamppeter <till.kamppeter@gmail.com> * foomatic-gswrapper.in: Let Ghostscript always use buffered |