2009-03-08 Till Kamppeter * renderer.c: Fixed segmentation fault in JCL option handling (bugs #311 and #317). 2009-03-07 Till Kamppeter * foomatic-rip.1.in: Fixed typos. * renderer.c: When doing the massaging of the remderer command line foomatic-rip inserts 'gs' at the wrong place in command lines of Foomatic 3.x-generated PPD files for the "Postscript" driver, leading to duplicate calls of Ghostscript (bug #316). * foomaticrip.c: Fixed buffer overflow mentioned in bug #311. 2009-02-11 Lars Uebernickel * 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 * 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 * 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 * 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 * 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 * Tagged branch for release 4.0.0. 2009-01-13 Till Kamppeter * 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 * acinclude.m4: Eliminated warnings when generating ./configure 2009-01-08 Till Kamppeter * 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 * 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 * 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 * 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 * 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 * 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 * 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 * options.c: Don't prepend @PJL to JCL options if they already start with @PJL. Unhexify JCL commands. * options.c: Handle CustomJCL