Created at 21:00 Jan 27, 2006 by mike, last modified at 21:00 Jan 27, 2006
A new weekly snapshot of CUPS 1.2svn (r5017) is now available on the download page:
http://www.cups.org/software.php
This snapshot contains pre-release software and should not be used on production systems.
Commit Log:
------------------------------------------------------------------------ r5011 | mike | 2006-01-27 17:31:29 -0500 (Fri, 27 Jan 2006) | 3 lines Fix default permissions substitutions - the defines need a leading 0 but not the substitutions in Makedefs.in and friends. ------------------------------------------------------------------------ r5010 | mike | 2006-01-27 14:53:55 -0500 (Fri, 27 Jan 2006) | 4 lines Update man pages to describe all options. Remove notes that "-m" option is not supported (it is now) ------------------------------------------------------------------------ r5008 | mike | 2006-01-27 14:30:34 -0500 (Fri, 27 Jan 2006) | 14 lines Add configure options to set the default values of various cupsd.conf settings. Fix the OSX test package script to update the web interface files before doing the install into the package directory - that way the revision number appears. Generate template/header.tmpl so that the version number is shown correctly on all pages. In cupsdStartBrowsing(), decouple the socket creation from the socket "broadcast" and "close on exec" options, since launchd will be providing the BrowseSocket for us on MacOS X. ------------------------------------------------------------------------ r5007 | mike | 2006-01-27 13:25:42 -0500 (Fri, 27 Jan 2006) | 5 lines Add system management (power management/sleep, network changes, hostname changes, etc.) interface in cupsd. Fix dylib generation flags for OSX. ------------------------------------------------------------------------ r5006 | mike | 2006-01-27 12:50:38 -0500 (Fri, 27 Jan 2006) | 2 lines Only create BrowseSocket if it hasn't been created before. ------------------------------------------------------------------------ r5004 | mike | 2006-01-27 09:47:00 -0500 (Fri, 27 Jan 2006) | 2 lines Fix RPM spec file. ------------------------------------------------------------------------ r5003 | mike | 2006-01-26 21:33:36 -0500 (Thu, 26 Jan 2006) | 2 lines Add locale to regular make directories. ------------------------------------------------------------------------ r5001 | mike | 2006-01-26 18:39:23 -0500 (Thu, 26 Jan 2006) | 2 lines StateDir is not writable by group... ------------------------------------------------------------------------ r5000 | mike | 2006-01-26 18:38:43 -0500 (Thu, 26 Jan 2006) | 2 lines Fix makefile typos. ------------------------------------------------------------------------ r4999 | mike | 2006-01-26 18:36:22 -0500 (Thu, 26 Jan 2006) | 7 lines Add --enable-static configure option (default = no) to control whether static libraries are installed (they are always built for the test programs) Fix default permissions of scheduler directories. ------------------------------------------------------------------------ r4998 | mike | 2006-01-26 16:59:54 -0500 (Thu, 26 Jan 2006) | 7 lines Rename cupsPageScaling to cupsBorderlessScalingFactor, per Apple usage. Add num_options and options to cupsRasterInterpretPPD, support and option override for cupsBorderlessScalingFactor, and scale the integer versions of the page size and imaging bounding box with the scaling factor. ------------------------------------------------------------------------ r4997 | mike | 2006-01-26 16:43:54 -0500 (Thu, 26 Jan 2006) | 2 lines Log CGIPipes, clear CGI input when client isn't ready to receive. ------------------------------------------------------------------------ r4996 | mike | 2006-01-26 16:38:20 -0500 (Thu, 26 Jan 2006) | 4 lines Don't wake up to regenerate the root certificate. If we don't need to timeout for a day or more, don't use the timeout. ------------------------------------------------------------------------ r4995 | mike | 2006-01-26 15:14:42 -0500 (Thu, 26 Jan 2006) | 3 lines Back out IPP_TAG_COPY_NAME change - too disruptive. ------------------------------------------------------------------------ r4994 | mike | 2006-01-26 14:35:07 -0500 (Thu, 26 Jan 2006) | 2 lines Fix test failures caused by copied name issue. ------------------------------------------------------------------------ r4993 | mike | 2006-01-26 14:27:40 -0500 (Thu, 26 Jan 2006) | 4 lines Add notify_post() support on MacOS X. Fix check_permissions implementation. ------------------------------------------------------------------------ r4992 | mike | 2006-01-26 12:50:58 -0500 (Thu, 26 Jan 2006) | 3 lines Use ippReadIO and ippWriteIO with CUPS files when reading/writing job control files (faster) ------------------------------------------------------------------------ r4991 | mike | 2006-01-26 10:01:46 -0500 (Thu, 26 Jan 2006) | 2 lines #ifdef Apple-specific "recoverable" error stuff. ------------------------------------------------------------------------ r4990 | mike | 2006-01-25 21:21:45 -0500 (Wed, 25 Jan 2006) | 6 lines Add whitespace and line ending checks to cupstestppd. Remove blank line checks in ppd_get_line(). Add requesting-user-name in accept.c requests. ------------------------------------------------------------------------ r4989 | mike | 2006-01-25 19:59:45 -0500 (Wed, 25 Jan 2006) | 6 lines Save printers.conf with mode 0600. Set printer-is-shared to the DefaultShared in AddPrinter. Add printer-is-shared to printer-state-history. ------------------------------------------------------------------------ r4988 | mike | 2006-01-25 19:53:00 -0500 (Wed, 25 Jan 2006) | 7 lines The classes.conf file should be mode 0600. Add "DefaultShared" configure option. Add new check_permissions() function to check the permissions of files and directories, and to create directories as needed. ------------------------------------------------------------------------ r4987 | mike | 2006-01-25 19:25:21 -0500 (Wed, 25 Jan 2006) | 5 lines Fix cupsGetPPD2() for classes containing only classes. Remove debug fprintf from ippSetPort(). ------------------------------------------------------------------------ r4986 | mike | 2006-01-25 18:46:20 -0500 (Wed, 25 Jan 2006) | 2 lines Check all httpReconnect()'s. ------------------------------------------------------------------------ r4985 | mike | 2006-01-25 16:57:18 -0500 (Wed, 25 Jan 2006) | 2 lines Check that we have the CoreFoundation header before including it. ------------------------------------------------------------------------ r4984 | mike | 2006-01-25 16:55:36 -0500 (Wed, 25 Jan 2006) | 2 lines Check to see if httpReconnect() failed and abort if so. ------------------------------------------------------------------------ r4983 | mike | 2006-01-25 16:53:43 -0500 (Wed, 25 Jan 2006) | 3 lines Increase the read/write buffer for CUPS files and optimize the compressed/ decompressed data check for uncompressed data. ------------------------------------------------------------------------ r4982 | mike | 2006-01-25 16:44:44 -0500 (Wed, 25 Jan 2006) | 2 lines Add support for new attributes in page device header. ------------------------------------------------------------------------ r4981 | mike | 2006-01-25 16:34:00 -0500 (Wed, 25 Jan 2006) | 4 lines Add floating point PageSize and ImagingBBox values along with page scaling (used for full-bleed with some CUPS drivers) and the name of the page size that was selected. ------------------------------------------------------------------------ r4980 | mike | 2006-01-25 14:57:45 -0500 (Wed, 25 Jan 2006) | 19 lines Clean up some PostScript output issues and add new order-dependent APIs. cups/emit.c: - ppdCollect2(): Added - ppdEmitAfterOrder(): Added, support floating point page sizes. - ppd_handle_media(): Fix manual feed/input slot detection code so that PageRegion is used as needed. cups/ppd.h: - Add ppdCollect2() and ppdEmitAfterOrder() functions. cups/mark.c: - ppdMarkOption(): Add support for AP_D_InputSlot pseudo-option and fix InputSlot/ManualFeed option issues. cups/options.c: - cupsMarkOptions(): Don't allow an empty PageSize option to override media. ------------------------------------------------------------------------ r4979 | mike | 2006-01-25 12:47:43 -0500 (Wed, 25 Jan 2006) | 2 lines Use notify_post to tell MacOS X apps that the printers have changed. ------------------------------------------------------------------------ r4978 | mike | 2006-01-25 11:17:31 -0500 (Wed, 25 Jan 2006) | 3 lines Add printer description and state attributes as options in destination list so that apps can lookup common info without doing an IPP request. ------------------------------------------------------------------------ r4977 | mike | 2006-01-25 10:52:30 -0500 (Wed, 25 Jan 2006) | 3 lines Add printer description attributes to list (they can then be encoded for lpadmin) and use bsearch to lookup the attributes. ------------------------------------------------------------------------ r4976 | mike | 2006-01-25 10:07:40 -0500 (Wed, 25 Jan 2006) | 19 lines Fix some networking issues, add support for Darwin's SO_NOSIGPIPE socket option, and update the CDSA support. - Use socket option instead of setting SIGPIPE handler (if possible.) <rdar://problem/3307769> CUPS shouldn't use SIGPIPE - SO_NOSIGPIPE is Darwin-specific, so #ifdef SO_NOSIGPIPE to determine whether we fiddle with the signal stuff. - This change appears in http-addrlist.c in the httpAddrConnect function, which is used to create all sockets... - httpFlush(): disable blocking temporarily while flushing? - Yes, but check the state - if we haven't completed the current request/response, close the socket and reset the state. - http_send(): check return value of httpReconnect, abort early if failed - http_wait(): Add fd<0 guard. - http_real_ssl(), http_write_ssl(), CDSAReadFunc(), CDSAWrieFunc(): - Update error handling to match... ------------------------------------------------------------------------ r4975 | mike | 2006-01-25 09:32:33 -0500 (Wed, 25 Jan 2006) | 2 lines Add cupsd.conf.default file to RPM. ------------------------------------------------------------------------ r4974 | mike | 2006-01-25 02:04:33 -0500 (Wed, 25 Jan 2006) | 24 lines Merge features and bug fixes. backend/lpd.c: - Add contimeout option and also look in OSX system preferences for the maximum time we wait to finally connect to the printer. - Add OSX proxy error handling support. - Fix to properly support + and & as separators. backend/socket.c: - Add waiteof option - when set to false/no/off, the backend will no longer shutdown the transmit side of the socket and wait for the printer to close its side. berkeley/lpr.c: - Use ssize_t and off_t variables for read/write and lseek so that things work properly with large file support. systemv/lp.c: - Use ssize_t and off_t variables for read/write and lseek so that things work properly with large file support. - "-m" makes lp silent, per OpenGroup specs. - "--" stops option processing, per OpenGroup specs. ------------------------------------------------------------------------ r4973 | mike | 2006-01-24 21:36:02 -0500 (Tue, 24 Jan 2006) | 36 lines Cleanup and some minor performance optimizations. cups/backend.h: - Remap exit codes to match Apple standard for fax retry. cups/cups.h: - Typos... cups/encode.c: cups/http-private.h: - Include new private IPP header. cups/http.h: - Sync up changes and reset buffer size to 2048 again. cups/ipp-private.h: - Added. cups/ipp.c: - ippReadIO(): Mark name as copied. - _ipp_add_attr(): Move num_values assignment inside test. - _ipp_free_attr(): Don't free copied names. cups/ipp.h: - Add IPP_TAG_COPY_NAME flag to ipp_tag_t. - Fix formatting. cups/ppd.c: - ppd_read(): Fix problem with PPD files ending with CR. test/ipptest.c: - Use httpSeparateURI(). scheduler/main.c: - main(): Fix local/remote browsing bug. ------------------------------------------------------------------------ r4972 | mike | 2006-01-24 09:48:12 -0500 (Tue, 24 Jan 2006) | 3 lines Don't distribute empty classes.conf and printers.conf files, and only show the open errors if the file exists but can't be opened. ------------------------------------------------------------------------ r4971 | mike | 2006-01-24 09:33:18 -0500 (Tue, 24 Jan 2006) | 2 lines Move init scripts and support files to new "init" subdirectory. ------------------------------------------------------------------------ r4970 | mike | 2006-01-24 09:05:45 -0500 (Tue, 24 Jan 2006) | 12 lines Add new cupsArrayInsert() function to insert elements at the beginning of an unsorted array. Make MIME library use cupsArray API, and use it from the scheduler and test program. Make sure we delete the printer-specific MIME type when we delete the printer. Reorganize the mime_type_t structure so that we can do a single allocation for the record and type name. ------------------------------------------------------------------------ r4969 | mike | 2006-01-23 23:05:47 -0500 (Mon, 23 Jan 2006) | 3 lines Use cupsArray API and rename compare() to compare_quotas() for quota support. (STR #1394) ------------------------------------------------------------------------ r4968 | mike | 2006-01-23 22:56:31 -0500 (Mon, 23 Jan 2006) | 3 lines Use cupsArray API and rename compare() to compare_banners() for banner page support. ------------------------------------------------------------------------ r4967 | mike | 2006-01-23 22:42:15 -0500 (Mon, 23 Jan 2006) | 2 lines Fix global destructor in threaded mode (STR #1395) ------------------------------------------------------------------------ r4966 | mike | 2006-01-22 19:41:22 -0500 (Sun, 22 Jan 2006) | 6 lines Set POSIX ACLs on the root certificate when there is more than 1 system group. Update the IPP-related standard/specs. ------------------------------------------------------------------------ r4965 | mike | 2006-01-21 01:12:17 -0500 (Sat, 21 Jan 2006) | 2 lines Add Japanese message catalog (STR #537) ------------------------------------------------------------------------Download · Home Page · Listing