Skip to content

Releases: apple/cups

v1.1.19

17 Mar 20:51
Compare
Choose a tag to compare

Changes in CUPS v1.1.19:

  • The GNU TLS code incorrectly used gnutls_check_pending() instead of gnutls_record_check_pending() (Issue #128)
  • The ppdEmit() functions output "PageSize Custom" instead of "CustomPageSize True" in the DSC comments. Also, the custom page size code did not use the ParamCustomPageSize attributes (Issue #127)
  • The cupstestppd command did not list the conflicting options (Issue #123)
  • The lpq command did not ensure that there was whitespace between the fields in the job listing (Issue #117)
  • The German web templates had errors (Issue #119)
  • The configure script didn't specify the static libraries properly when configuring with the --disable-shared option (Issue #104)
  • The cups.list file used file dependencies for package formats other than portable, RPM, and Debian (Issue #98)
  • cupsLangGet() didn't use its language cache (Issue #97)
  • "lpq -P" would segfault instead of showing a usage message (Issue #94)
  • Fixed compiler warnings in pdftops filter (Issue #96)

v1.1.18

17 Mar 20:51
Compare
Choose a tag to compare

Changes in CUPS v1.1.18:

  • Fixed a bug in the Set-Job-Attributes code in the scheduler that would cause it to crash or continuously write a job control file.
  • SECURITY FIX: The scheduler now provides a FileDevice directive to control whether new printers can be added using device URIs of the form "file:/filename". The default is to not allow printers with these device URIs.
  • The scheduler did not compute the cost of filters properly, nor did it choose a multi-filter solution with a lower cost than a single filter solution.
  • Now install CUPS PPD file test utility (cupstestppd) to support basic conformance testing of PPD files.
  • The scheduler now logs an error message when it sees a non-conforming PPD file.
  • Upgraded pdftops filter to Xpdf 2.01 with fixes for TrueType fonts.
  • Added a MaxClientsPerHost configuration directive to provide limited protection against Denial of Service attacks.
  • SECURITY FIX: Potential underflow/overflow bug in web interface.
  • SECURITY FIX: Race condition in certificate creation.
  • SECURITY FIX: Bad URIs in browse packets could be used to exploint the web interface underflow/overflow bug.
  • SECURITY FIX: Some types of Denial of Service attacks were not handled properly, so once the attack was over the scheduler did not close the connections immediately on all platforms.
  • SECURITY FIXES: Added integer overflow/underflow checks for all image formats.
  • The pstops filter didn't reset the showpage operator back to its original at the end of a job; this prevented the concatenation of documents (used primarily for CUPS 1.2...)
  • The cupsGetPPD() function didn't always set the cupsLastError() value when an error occurred.
  • The IPP media, output-bin, and sides attributes took precedence over the corresponding PPD options, which caused inconsistent behavior under MacOS X with some PPD files.
  • The cupsaddsmb utility specified the wrong number of arguments to the adddriver command when adding the Win9x PostScript drivers.
  • The web interface did not always report the correct error message.
  • The scheduler did not clear the POSIX signal action structure when waiting for the child to send it a SIGUSR1 signal; this could cause the signal handler not to be called properly, preventing the parent process from returning.

v1.1.17

17 Mar 20:51
Compare
Choose a tag to compare

Changes in CUPS v1.1.17:

  • The "manual_copies" option did not work when the LPD backend had to retry a print job.
  • The image filters did not convert GIF images properly.
  • The RunAsUser option was incompatible with the new daemon-mode code in 1.1.16.
  • Fixed a problem with the Set-Job-Attributes and PostScript job ticket code in the scheduler - the "last" attribute pointer was never updated, which could cause the scheduler to crash when applying job ticket data.
  • Fixed a problem in the scheduler that caused it to continue processing HTTP requests on a connection after it was shutdown.
  • The scheduler now allows accounts authenticated via PAM to not have a corresponding UNIX account, but group membership still requires the account name to be listed in the UNIX group file(s)...
  • The scheduler used a fixed-size (16k) buffer for encoding job options for filters; it now dynamically allocates and expands the buffer as needed depending on the options that are sent in a job.
  • The pdftops filter didn't support all of the MacOS characters for MacRoman encoded fonts.
  • The cupsEncodeOptions() and cupsParseOptions() functions now conform to the grammer defined by the current draft of the PAPI specification. The main difference is that option=yes and option=no are no longer treated as boolean options.
  • The IPP backend didn't honor the encryption settings in /etc/cups/client.conf.
  • Fixed a potential bug in the HTTP code which was caused by servers sending the status line and newline(s) in separate packets.
  • User-defined classification strings are now printed verbatim - previously the classification box would be empty.
  • Re-added Spanish to the list of PPD languages that CUPS supports.
  • CUPS API library user and temp file updates for Windows.
  • The image filters did not properly handle grayscale printing of Sun Raster images.
  • The scheduler never reset the NumJobs variable before loading the job list (previously this only happened on a full start, so the problem was never apparent...)
  • The HTTP and IPP read/write code didn't handle EINTR (interrupted system call) errors.
  • When under high load, the scheduler could abort due to the wrong errno value after a select() call. This was caused by the child signal handler.
  • Added new load tests to the test target to verify that cupsd can handle hundreds of simultaneous jobs without error.
  • The Solaris USB backend now supports the new device URI syntax.
  • The ppdOpen*() functions now reset the numeric locale settings while loading a PPD file.
  • Fixed the libtool build rules.
  • The manpage make rules didn't use $(MAKE) and $(MFLAGS) for the language subdirectories.
  • Now set the LC_TIME locale category to get the properly localized time string.
  • Fixed a problem in the scheduler that would cause the web interface problems when adding, modifying, or configuring a printer or class.
  • The backends now ignore SIGPIPE so that failed job filters will not stop a print queue.
  • The lpstat command did not allow for destination lists ("lpstat -v printer1,printer2")
  • Fixed parsing of long filter status messages in the scheduler.
  • Added some startup performance enhancements to the scheduler so that the printer object information is regenerated fewer times and the MIME type database is not filled with lots of empty filters for raw/direct queues.
  • The LPD backend now sends the job title as the print filename.
  • Added support for variable sizes in the EPSON dot matrix printer drivers. This allows for pages as short as 1/2" (1 row of labels) and does not do an automatic form feed.
  • French translation updates.
  • The filters did not quote the page label string when embedding it in PostScript output.
  • The serial backend now enumerates serial ports under MacOS X.
  • The pdftops filter contained font rasterizer code that wasn't being used and that depended on X11. This code has been removed.

v1.1.16

17 Mar 20:51
Compare
Choose a tag to compare

Changes in CUPS v1.1.16:

  • The cancel and lprm commands now both display an error message and return a non-zero exit status if an attempt is made to cancel a job on a non-existent printer.
  • The lpoptions command incorrectly complained if a request to delete a non-existent printer was made.
  • If the client.conf file defines an alternate server name, the "configure printer" action in the web interface might not work.
  • The lpstat command now supports a "-W" option so that you can display completed jobs as well as not-completed (pending) jobs.
  • The lp and lpr commands did not return an error when one or more files in a set of files for printing could not be printed.
  • The lp, lpadmin, and lpstat commands now consistently return with a non-zero exit status when an error occurs.
  • The scheduler would not accept print jobs sent to a stopped remote printer.
  • The texttops filter incorrectly converted the page numbers in the prettyprint header to double-byte characters when printing a non-Unicode text file. This caused an extra space to appear between each digit in the page number.
  • The scheduler did not use a case-insensitive comparison when adding filters for a printer.
  • Upgraded the pdftops filter to Xpdf 1.01.
  • The scheduler no longer passes the page-border and number-up-layout attributes to filters when printing banner pages.
  • The LPD backend now uses a 30-second timeout when sending commands and control files, and a 30-second timeout when retrieving responses from an LPD server. If a timeout occurs, it retries indefinitely. This helps to make LPD printing over VPNs work more reliably.
  • The USB backend now supports device URIs based on the printer serial number and/or model number under Linux. This avoids the "wrong device filename" problem when using more than one USB printer.
  • Now just shutdown the receiving end of a client connection when sending an error that requires the server to disconnect from the client afterwards. This fixes a problem when doing remote administration with encryption enabled.
  • The scheduler did not send a printer-state-message attribute if the string was empty; it now always sends this attribute. This caused the printer message to be displayed for other printers in the web interface.
  • The LPD backend now supports a "manual_copies" option, e.g.: "lpd:https://server/queue?manual_copies=no", in order to handle copies for raw jobs to printers that don't implement the LPD protocol properly...
  • The "mirror" option was not being handled by the PostScript or image filters.
  • Updated the cupsaddsmb command to support the new CUPS driver for Windows NT/2k/XP.
  • Filter status lines longer than 1023 characters could cause the scheduler to get into an infinite loop.
  • The scheduler didn't reset the job state to pending when modifying an active printer.
  • Now limit the maximum number of recursion steps when searching for a filter for a job, in case a user defines a circular filter rule.
  • The PostScript filter would embed an invalid requirements comment in some cases.
  • Added support for embedded job tickets in PostScript files.
  • The PostScript filter now detects EPS files and should better handle printing EPS files.
  • The cancel command now ignores a trailing destination name when cancelling a specific job ID (Solaris compatibility).
  • The scheduler now rejects jobs with copies outside the range of 1 to MaxCopies, inclusive.
  • Added new MaxCopies directive to set the maximum number of copies that a user can request.
  • The scheduler didn't block signals while it processed others and when it forked processes.
  • The scheduler checked for new jobs to print when stopping a job. This caused jobs to restart before a shutdown.
  • Updated the CUPS startup script to better support different timezones and to support the RedHat/Mandrake init script functions, if available.
  • The scheduler did not properly handle backslashes in banner files; it incorrectly assumed that "\c" should always be replaced by "c", instead of only looking for "{" and replacing it by "{".
  • The texttops filter didn't handle prettyprint=no.
  • The text and HP-GL/2 filters didn't check for other common duplex option names like cupsMarkOptions() did.
  • "lpoptions -x printer" no longer clears the "default printer" status of the printer.
  • cupsTempFd() now stops trying to create a temporary file after 1000 tries, and aborts on any error other than EEXIST. This should prevent lp/lpr hangs due to a bad or missing temporary directory.
  • The lpadmin command did not send the right URI to the scheduler when setting options on classes. This caused a client-error-bad-request error.
  • The CUPS API convenience functions would attempt to connect to the remote server name in a "printer@server" printer name instead of dealing with the default (usually local) server. Aside from causing user confusion, the remote server name might not be resolved properly, causing further problems.
  • "lp -q" would cause the "lp" command to segfault, as the program would try to print the option letter that caused the error using the wrong index into the command-line; bugfix from Debian.
  • Fixed a minor inconsistancy in the encoding of boolean attributes from printer options in cupsEncodeOptions().
  • Added a FilterNice directive which sets the priority of job filter processes that are run by the scheduler.
  • Added Solaris x86 USB printer support.
  • The USB backend now reports both the ulpt and unlpt devices under *BSD.
  • The "lpstat -o" command would truncate the "printer-jobid" string if it was longer than 21 characters.
  • The PJL-based MIME type rules now look in the first 1024 bytes instead of just the first 512 bytes to find the language mode.
  • The image file types are now listed explicitly in the mime.convs file so that additional image file formats do not use the standard CUPS image filters by default.
  • Updated the Software Programmers Manual to include all of the CUPS API functions.
  • ppdOpen*() no longer sorts choices for an option.
  • The web interface now enforces constraints in PPD files when configuring a printer.
  • When stopping a printer, the scheduler didn't set the printer state before stopping the current job.
  • The cupsaddsmb utility now lists all data files for Win9x and WinMe clients when installing that Windows driver.
  • Jobs submitted to a class now bounce immediately to the next available printer rather than waiting until that printer is available.
  • Filters and backends now also get the CLASS environment variable set when a job is printed to a printer class instead of a normal printer.
  • Added French translations of the web interface, CUPS Overview, Software Administrators Manual, and Software Users Manual contributed by Marian REYT-LLABRES.
  • Added several "hint" messages for common configuration problems that are stored in the error_log file.
  • httpSeparate() now unquotes %xx characters in the username:password field of a URI.
  • When starting the scheduler in daemon mode, the parent process now waits for the child to signal it is ready to accept connections.
  • Added -F option to cupsd to run cupsd in the foreground but detach from the controlling terminal and current directory.
  • The scheduler did not reload jobs when receiving a HUP signal; this would cause problems since the pointers into the file type database would no longer be valid for existing jobs.
  • The scheduler did not save the network interface list update time, thus no caching of the network data was actually provided.
  • Updated the SuSE PAM configuration file.
  • The LPD backend now supports a "reserve" option and no longer reserves a priviledged port by default.
  • The cupsaddsmb command now continues past printers that do not have a PPD file to export.
  • The lpstat command didn't treat printer names as case-insensitive.
  • The lpstat command now reports the printer location attribute with "lpstat -l -p".
  • Fixed a bug in the vsnprintf() emulation function, which was used on old versions of HP-UX, IRIX, and Solaris.
  • The number-up option was incorrectly being used when printing banner pages.
  • Added support for Greek and Slovak PPD files.
  • CUPS now supports printer names containing any printable character, e.g. "123-abc", "foo-bar", etc.
  • The null filter was not supported in mime.convs due to a bug in the filter validation code.
  • Changes in the default printer and printer attributes were not always reflected in the generated printcap file.
  • Implicit classes did not inherit the location or description from member printers.
  • The httpGetHostByName() function did not handle hostnames that started with a number.
  • Updated the filters to use the %cupsRotation comment instead of %%Orientation to auto-rotate pages, since the use of %%Orientation is inconsistent.
  • Added the RootCertDuration directive to control how often the root authentication certificate is updated.
  • Increased the size of the IPP write buffer to 32k to allow for larger attribute values and to provide more efficient output of large numbers of attributes.
  • The polling daemon now retries the initial connection to the remote server; this fixes a problem when the remote server is unavailable when the scheduler starts up...
  • The scheduler didn't validate Digest users against the system group(s), so Digest and BasicDigest authentication didn't work for administration operations.
  • The scheduler now passes the SHLIB_PATH environment variable to child processes (HP-UX shared libraries)
  • The scheduler now maps accesses from the loopback interface to "localhost".
  • The cups-lpd mini-daemon sent a status code byte in response to queue state commands, but those commands only return textual data.

v1.1.15

17 Mar 20:51
Compare
Choose a tag to compare

Changes in CUPS v1.1.15:

  • Updated the CUPS license agreement for the new MacOS license exception.
  • The printer-info attribute now defaults to the printer name if no value has been set.
  • ppdOpen() and friends now add an "Auto" InputSlot option if none is provided to automatically select the correct tray.
  • Updated the ppdEmit() and ppdEmitFd() functions to (re)mark the correct PageSize or PageRegion option depending on the selected ManualFeed or InputSlot options.
  • ppdEmitFd() didn't handle custom page sizes.
  • Darwin uses <pam/pam_appl.h> instead of <security/pam_appl.h>.
  • The jobs.cgi web interface now handles all job operations, allowing the administrator to allow "job administrators" or operators to manage jobs (but not queues) on the server.
  • The cupsDoFileRequest() function now checks if the filename passed into the function is a directory, and returns the IPP_NOT_POSSIBLE error if so.
  • New SCSI printer backend.
  • Cleaned up handling of locales with trailing character set definitions.
  • Fixed handling of invalid PPD attributes inside OpenUI/CloseUI.
  • Fixed a problem with SSL and the job, printer, and admin CGIs on ports other than 443.
  • The scheduler didn't handle AuthClass properly.
  • Added French translation of man pages.
  • Updated the text filter to support the const_cast, dynamic_cast, and static_cast keywords in ISO C++.
  • Now use strlcat() and strlcpy() (or emulation functions) for easier string/buffer protection.
  • The auto-generated printcap/printers.conf files now have a small comment header explaining where the file comes from...
  • The PostScript filter now supports 6, 9, and 16-up output, as well as new page-border and number-up-layout options.
  • The lpoptions command didn't set options properly when using the default printer.
  • Added ConfigFilePerm and LogFilePerm directives.
  • Increased maximum size of MIME types to IPP_MAX_NAME to allow for longer printer names.
  • No longer create remote printers when loading job history data.
  • The printer-make-and-model attribute wasn't set when the PPD file didn't contain a NickName attribute.
  • Now handle PPD files with translation strings longer than 80 bytes - they are truncated if they go over...
  • The scheduler didn't handle signals until after it loaded the configuration files the first time; this caused problems on some installations that would restart the scheduler as the system booted into run level 3.
  • Now throttle broadcasts like we do for polling.
  • Fixed a bug in the reading of PPD files using CR's instead of CR LF's or LF's.
  • The scheduler would crash if cupsd.conf contained a BrowseProtocols line with no protocols listed.
  • The HTML job operation templates now link back to the destination printer or class.
  • The serial backend now detects USB serial devices.
  • The LPD mini-daemon (cups-lpd) now passes the job-originating-host-name attribute to the scheduler (cupsd).
  • Updated the IPP backend to reconnect after downgrading from IPP/1.1 to 1.0, and when sending requests to HP JetDirect interfaces that don't support HTTP Keep-Alive like they should.
  • Now pass NLSPATH and DYLD_LIBRARY_PATH environment variables, if defined, to CGI and job processes.
  • Removed the pstoraster filter (based on GNU Ghostscript 5.50) and now provide the raster "driver" and patch file necessary to use the current GNU Ghostscript 7.05 release.
  • Removed unnecessary fonts and updated the Courier and Symbol fonts to the latest versions to better support non-ISOLatin1 text.
  • The text filter now always embeds the Courier and Symbol fonts to ensure that they contain the full set of glyphs.
  • The lp and lpr commands now only override the SIGINT handler if it is not being ignored (patch from Robert Ambrose for some interactive software that catches SIGINT and will gracefully cancel the print...)
  • The PostScript image filter (imagetops) now supports printing CMYK images using the CMYK colorspace.
  • The image filters now support CMYK JPEG files, and correctly handles the inverted files from Photoshop (which seems to save RGBW data, not CMYK...)
  • Added a "check" target to the top-level makefile to conform with GNU standards (same as "test").
  • The IPP code didn't always map the POSIX locale "C" to the proper IPP language code.
  • The cupsaddsmb program was updated to use the setdriver command instead of addprinter.
  • Banner pages were not handled properly for implicit classes.
  • When tunneling to a remote system using SSH, the printer URIs for local printers on the remote system did not reflect the correct port number.
  • The Allow, Deny, BrowseAllow, BrowseDeny, and BrowseAddress directives now support the network interface names "@Local" and "@if(name)" for access control and browsing based on the current interface addresses instead of fixed names or IP addresses.
  • The texttops filter did not properly recognize the "nowrap" (wrap=false) option.
  • The InstallableOptions group name in a PPD file is now translated separately (CUPS_MSG_OPTIONS_INSTALLED) so that UIs can accurately detect the presence of this group.
  • The scheduler no longer keeps job history data for remote printers on the client (just on the server.)
  • The parallel and USB backends now retry if the backend detects that the printer is not connected to the system (rather than stopping the queue...)
  • The network backends now retry if the backend detects that the printer is not connected to the network or is unreachable (rather than stopping the queue...)
  • The cupsGetDests() function no longer lists options and instances for printers that no longer exist.
  • The scheduler now converts the document language to the correct LANG string.
  • The cupsaddsmb program now supports alternative CUPS and SAMBA server names.
  • The PostScript filter now supports the Orientation comment and rotates the page as needed automatically.
  • Revamped the makefiles slightly to use automatically generated dependencies.
  • Build fixes for OS X.
  • The TIFF reading code depended on the newest version of libtiff; now conditionally compile that portion of the loader.
  • The PPD code now decodes all JCL options in the JCLSetup group, not just those options that start with the prefix "JCL".
  • The backends now read print data using the read() system call to ensure that the current page is printed while the next page is being processed.
  • The pdftops filter did not support shading type 3 (radial fill) for the "sh" operator.
  • The cups-polld program now throttles the local broadcasts of polled printers and classes so that the local system is not overwhelmed with hundreds of printers and classes all at once.
  • Updated the serial backend to support 230,400 baud for the Linux PPC port.
  • The cupsGetJobs() function wouldn't report completed jobs that did not have a document-format attribute value.
  • The cupsEncodeOptions() function now maintains a table of known boolean and numeric options, and encodes all other options as strings.
  • Now add a newline before the end-of-page code in the PostScript filter; this fixes a problem with files that don't end with a newline.
  • The image filters looked for the "orientation" option instead of the correctly named "orientation-requested" option.
  • The cupsEncodeOptions() function now handles mixed integers and ranges.
  • New translation guide for developers to provide native language support for CUPS.

v1.1.14

17 Mar 20:51
Compare
Choose a tag to compare

Changes in CUPS v1.1.14:

  • The ippRead() function did not verify that the attribute name length or string with language value was not larger than the read buffer.
  • The scheduler set the signal handlers before loading the configuration files the first time; this prevented the RunAsUser directive from blocking server reloads.
  • Added Swedish message catalog.
  • The parallel backend now recognizes the /dev/printers device directory under Linux 2.4.x.
  • MacOS X fixes.
  • The cupsaddsmb utility sent the server name after the user information when executing the rpcclient program. This caused problems with some versions of SAMBA 2.2.x.
  • The IPP backend did not pass the requesting user name when checking on the print job status. This prevented it from waiting for the job to complete when communicating with some IPP implementations that require it.

v1.1.13

17 Mar 20:51
Compare
Choose a tag to compare

Changes in CUPS v1.1.13:

  • The lpstat command did not report jobs submitted to regular printer classes.
  • The texttops filter didn't use sufficient precision when positioning text with some values of cpi and lpi. This could cause the alignment of text to stray.
  • cupsGetDests() didn't merge the options from the /etc/cups/lpoptions file with ~/.lpoptions - options in ~/.lpoptions overrode them completely.
  • Added support for KOI8-R and KOI8-U character sets, and added several Russian message catalogs.
  • The scheduler put the wrong timezone offset in the log files (e.g. +0500 instead of -0500 for EST...)
  • The scheduler did not ignore trailing whitespace in *.convs files.
  • The scheduler now forces all processes to exit (kill -9) when it is stopped. This prevents parallel and USB devices from running in the background after cupsd goes away.
  • The cupsParseOptions() function didn't skip trailing whitespace after quoted values.
  • More changes to support CUPS on OS/2.
  • Added Simplified Chinese message catalog.
  • Added PAM support for IRIX.
  • The cupsGetPPD() function didn't remove the @server portion of the printer name, and since it would connect immediately to the remote server instead of the local server, the printer would not be found.
  • Classification and page labels were not rotated to match the page orientation.
  • Now set the TCP "no delay" option on network connections to improve performance/response time.
  • Improved the IRIX printing tools support with patches from Andrea Suatoni.
  • Added a new PrintcapGUI directive to specify the GUI option panel program to use for the IRIX printing tools support.
  • The cupsGetDests() function did not check to see if a user-defined default printer (set via lpoptions) still existed.
  • The pstops filter no longer assumes that the default dictionary is writable when doing N-up processing.
  • The pstops filter now supports printing N-up with the page-set option.
  • The imagetoraster filter now supports direct printing of CMYK image data without conversion/correction.
  • The IPP backend now reports printer state/error conditions when possible (toner low, media empty, etc.)
  • The lpstat command now supports the (undocumented) IRIX -l option ("-lprintername") for a compact job listing for a printer.
  • The lpstat command now includes printer date/time information in the output (always Jan 01 00:00) to make third-party tools happy.
  • The text filter now supports non-integer cpi and lpi values.
  • The Margins field in the CUPS raster header was not initialized by the pstoraster filter.
  • Added --with-optim="flags" option to configure script.
  • Updated the Italian message translations.
  • Updated the cups.list file to install the correct files.
  • The pstoraster filter accessed the third element of a 2 element array.
  • The scheduler did not setup a status pipe for polling processes, so error messages went to whatever file descriptor 2 was pointing to when they were started.
  • The httpMD5Final() function didn't put a colon between the password and nonce strings.
  • The pstops filter did not default to Binary data for "%%BeginData:".
  • The pstops filter did not stop processing when a line containing a CTRL-D is seen.
  • The scheduler no longer replaces the JobSheets values from the printers.conf and classes.conf files with the classification level, if set. This way the original banner settings are preserved when classification levels are changed or turned off.
  • The serial backend didn't drain the output queue, nor did it restore the original settings.
  • Updated the default system group under MacOS X.
  • If no SystemGroup was defined in cupsd.conf, the system default group was not used.
  • The cups-lpd mini-daemon now supports LPD clients that send multiple control files.
  • httpConnectEncrypt() now always uses encryption for connections on port 443, since port 443 is reserved for the "https" scheme.
  • Group authentication via certificates did not work from the web interface for accounts other than "root".
  • The serial port backend did not clear the OPOST option, which could cause problems with some printers.
  • The cups-lpd mini-daemon didn't lookup the client IP address properly.
  • The parallel backend now identifies the polled and interrupt-driven devices under *BSD.
  • The scheduler allowed the "always" encryption mode inside a Location, which is not valid.
  • The CUPS startup script now checks for the timezone information under Linux.
  • Now also map the sides attribute to the JCLDuplex option (if present) in PPD files.
  • Updated pdftops to Xpdf 0.93a.
  • Added support for MD5 passwords under Slackware.
  • Added new AuthType BasicDigest that does Basic authentication using the MD5 password file managed by the lppasswd command.
  • The banner page attribute substitution code now retains {name} sequences in banner files when the named attribute is undefined. Use {?name} to conditionally substitute an IPP attribute.
  • The scheduler now ensures that the ServerRoot directory and configuration files are owned by and writable by the User and Group in cupsd.conf.
  • The USB backend now lists all USB printer devices regardless of whether a printer is connected or not. This allows new USB printers to be connected without restarting cupsd.
  • Added some more minor performance tweeks to the IPP protocol code to reduce copying and array indexing.
  • The cupsaddsmb utility now uses the -c option with smbclient and rpcclient to avoid the read length limit for commands on the standard input.
  • Added an include file to the CRD handling code in pstoraster so that it would compile properly on 64-bit pointer platforms...

v1.1.12

17 Mar 20:51
Compare
Choose a tag to compare

Changes in CUPS v1.1.12:

  • Added "Polish" to the list of known languages for PPD files.
  • Added missing directory definition to cups-config.
  • The CUPS-Move-Job operation did not set the destination type for the new destination.
  • The CUPS-Add-Printer operation did not support the allow=all or deny=none values to clear the per-user printer ACLs.
  • The SetPrinterAttrs() function did not handle invalid PPD files that were missing the required NickName attribute. It now looks for NickName, ModelName, and then substitutes the string "Bad PPD File" for the printer-make-and-model attribute.

v1.1.11

17 Mar 20:51
Compare
Choose a tag to compare

Changes in CUPS v1.1.11:

  • Added support for embedded TrueType fonts in PDF files.
  • Added support for PostScript functions in PDF files.
  • Added new "cupsaddsmb" utility for exporting CUPS printer drivers to SAMBA/Windows clients.
  • Added preliminary support for Darwin/MacOS X.
  • The CUPS-Add-Printer operation no longer allows arbitrary scheme names in device URIs to be used - it now restricts the available schemes to those found in the device list (lpinfo -m).
  • The ippRead() and ipp_read_file() functions could not handle more than IPP_MAX_VALUES (100) values in a 1setOf attribute. These functions have been updated to dynamically allocate more memory as needed, and the IPP_MAX_VALUES constant now represents the allocation increment. [this caused some versions of the GIMP-print drivers to fail since the number of media options exceeded 100...]
  • The scheduler could crash when BrowseShortNames was set to "No".
  • The scheduler did not prevent MaxClients from being set to 0, which could cause the scheduler to go in an infinite loop when accepting a request.
  • Made some performance optimizations in the ippRead() functions to make IPP request/response processing faster.
  • The accept/reject/enable/disable command did not support properly support the "-h" or default server name.
  • The scheduler did not save the quota configuration when the job-quota-period attribute was set to 0.
  • The LPDEST and PRINTER environment variables did not support printer instances.
  • The text filter now handles more types of boldface and underline formatting.
  • The cupsTempFd() function did not fail if the temporary directory did not exist; this would cause it to loop indefinitely instead of returning an error (-1).
  • Stopping (disabling) a printer class did not stop jobs from printing to printers in that class.
  • The cupsGetDests() function was sending the requested-attributes attribute as a name instead of a keyword; this caused a serious performance problem on slower systems since more information had to be transferred from server to client.
  • The web interfaces did not always quote < and & in things like the job title. This had the potential for browser-based security violations (on the browser's machine); bug report from SuSE.
  • The scheduler now treats unauthenticated usernames as case-insensitive when doing quota and allow/deny processing.
  • The lp command sent the "request ID is ..." message to stderr instead of stdout...
  • The PostScript filter (pstops) now handles EPS files, adding a showpage command to the files as needed.
  • The configure script checked for the <stdlib.h> header file before the JPEG libraries; since the JPEG headers can define HAVE_STDLIB_H, the configure check would cause the JPEG check to fail on some systems.
  • The scheduler now supports localized banner files, using the subdirectory approach, e.g. the "es" subdirectory under /usr/share/cups/banners is used for the Spanish banner files.
  • Updated the scheduler so it knows the correct language abbreviation to use for all supported PPD LanguageVersion values. The new code also supports country codes as well, so "English-GB" maps to the "en_GB" locale.
  • The cups-lpd mini-daemon did not support anonymous printing (no username specified). While the username is REQUIRED by RFC-1179, MacOS clients do not send the REQUIRED username information when printing via LPD.
  • Added many warning and informational messages to cups-lpd where they were missing.
  • Added Czech message file contributed by SuSE.
  • The cups-lpd mini-daemon now returns a non-zero status if an invalid destination or job ID is provided.
  • The scheduler did not honor the KeepAlive setting in cupsd.conf.
  • Increased the size of the file read/write buffers to 32k.
  • *BSD static library creation fixes.
  • Use mkstemps() instead of tmpnam() in pdftops whenever possible.
  • Added httpGetHostByName() function as a wrapper around gethostbyname() - some implementations of this function do not support IP addresses (e.g. MacOS X.)
  • Added casts to all printf's of file lengths, since there is currently no standard way of formatting long long values.
  • The client filename field was not cleared in all instances, resulting in old form data being submitted to CGIs.
  • The httpConnect*() functions now try all available addresses for a host when connecting for the first time.
  • The pstoraster filter would "lose" all drawing commands when the PageSize was set but the printer bitmap was not reallocated. This was most noticeable with the output from StarOffice 6 beta and would result in a blank page being output...
  • The IPP backend was sending a PAGE comment even when printing the output from a filter (it should only send page comments when printing files directly...)
  • The pdftops filter didn't properly map glyph names of embedded Asian TrueType fonts.
  • Changed the CUPS startup script to look for a program named "cupsd", not just any program with "cupsd" in the name (this caused the apcupsd UPS monitoring daemon to be stopped/restarted...)
  • The CUPS-Move-Job operation did not change the internal destination name for held jobs, so moved (but held) jobs would still show up as queued on the original destination.
  • The cups-polld program didn't send the requested-attributes attribute in the CUPS-Get-Printers and CUPS-Get-Classes requests, which made it use more CPU and bandwidth than required.
  • The scheduler and CUPS API incorrectly added a job-sheets-default attribute for remote printers. This caused banner pages to be omitted from client system prints.

v1.1.1

17 Mar 20:51
Compare
Choose a tag to compare

Changes in CUPS v1.1.1:

  • The pstoraster Makefile still referenced one of the old PDF filter files.
  • The filter Makefile used INSTALL_DATA instead of INSTALL_LIB to install the CUPS image library.
  • The administration CGI didn't work properly with network devices.
  • The BrowseACL variable was not updated after the cupsd.conf file was loaded.
  • The lpd mini-daemon didn't support printer instances.
  • Now use a default umask of 077 for child processes.
  • Now put temp files in /var/spool/cups/tmp for child processes and the root user, unless TMPDIR or TempDir is defined otherwise.
  • cupsGetPPD() no longer uses easy-to-guess filenames.
  • The CUPS-Delete-Class and CUPS-Delete-Printer operations now save classes.conf file as needed.
  • The lppasswd command wouldn't add a user.
  • The ppdOpen() function could cause a segfault if a 0-length PPD file was read.
  • The image filters were not handling images with different X and Y resolutions properly.
  • The imagetoraster filter defaulted to RGB output instead of black output like pstoraster.
  • The pstops filter didn't handle binary data properly.
  • The pstops filter didn't handle copies properly for PS files lacking DSC comments.
  • The pstops filter now appends %%EOF to the end of documents if they don't have it.
  • The cupsGetPPD() function didn't work with remote printers lacking the @server in the name.
  • The configure script didn't work right when only --prefix was specified.
  • The ppdEmit() code now wraps all printer commands so that buggy PostScript printers will still print a file after receiving an option that isn't available.
  • Fixed the DeskJet margin bug, and disabled 600dpi color mode until it can be fixed.
  • The cupsAddDest() function didn't sort instances correctly in all cases.
  • The time-at-xyz attributes now expand to the date and time in banner files.