Created at 21:01 Nov 18, 2005 by mike, last modified at 21:01 Nov 18, 2005
A new weekly snapshot of CUPS 1.2svn (r4843) 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:
------------------------------------------------------------------------ r4843 | mike | 2005-11-18 10:39:07 -0500 (Fri, 18 Nov 2005) | 3 lines Fix "lpc status" to show the number of queued jobs regardless of the printer state. ------------------------------------------------------------------------ r4842 | mike | 2005-11-17 19:04:31 -0500 (Thu, 17 Nov 2005) | 7 lines Fix CPU pegging when serving a static file. scheduler/client.c: - cupsdWriteClient(): Check HTTP state after write - if the state changes to HTTP_WAITING, then we are done serving the file. ------------------------------------------------------------------------ r4841 | mike | 2005-11-15 15:39:31 -0500 (Tue, 15 Nov 2005) | 2 lines Explicitly show -d, -p, and -x options next to descriptions. ------------------------------------------------------------------------ r4840 | mike | 2005-11-14 16:53:30 -0500 (Mon, 14 Nov 2005) | 36 lines Clean up notification and printer attributes. Add notification configuration directives to cupsd.conf. scheduler/conf.c: - Add MaxEvents, MaxLeaseDuration, MaxSubscriptions, MaxSubscriptionsPerJob, MaxSubscriptionsPerPrinter, and MaxSubscriptionsPerUser directives. - cupsdReadConfiguration(): Initialize new directives to default values. scheduler/ipp.c: - add_job_subscriptions(), create_subscription(): Change notify-lease-time to notify-lease-duration and add better error checking to notify-language value. - get_default(), get_printer_attrs(), get_printers(): Change printer-state-time to printer-state-change-time. scheduler/printers.c: - cupsdCreateCommonData(): Add all printer and notification attributes in sorted order. Also, don't reset policy pointers here... - cupsdUpdatePrinters(): Reset policy pointers, too. scheduler/subscriptions.c: - cupsdLoadAllSubscriptions(), cupsdSaveAllSubscriptions(): change LeaseTime to LeaseDuration. scheduler/subscriptions.h: - Change *LeaseTime to *LeaseDuration. test/4.4-subscription-ops.test: - notify-lease-time -> notify-lease-duration. ------------------------------------------------------------------------ r4839 | mike | 2005-11-14 14:20:25 -0500 (Mon, 14 Nov 2005) | 17 lines Fix names of notify-lease-duration and notify-time-interval attributes. Start adding new cupsArray-based requested-attributes support. scheduler/ipp.c: - copy_subscription_attrs(): Add cups_array_t * argument for requested attributes and use it. Also, rename "notify-lease-time" to "notify-lease-duration" and "notify-interval" to "notify-time-interval". - create_requested_array(): Added. - get_subscription_attrs(): Use create_request_array(). - get_subscriptions(): Use create_request_array(). scheduler/subscriptions.h: - Fix comments for lease and interval members. ------------------------------------------------------------------------ r4838 | mike | 2005-11-14 13:34:27 -0500 (Mon, 14 Nov 2005) | 2 lines Use cupsArray API for subscription array. ------------------------------------------------------------------------ r4837 | mike | 2005-11-13 23:13:13 -0500 (Sun, 13 Nov 2005) | 51 lines Add most of the remaining notification code. cups/ipp.c: - ippAddOctetString(): Added. - ipp_length(): Make sure we skip attributes with NULL names. cups/ipp.h: - ippAddOctetString(): Added. scheduler/ipp.c: - cupsdProcessIPPRequest(): Handle requests with separators. - add_job_subscriptions(): Add notify-subscription-id attributes to response, and save subscriptions. - copy_subscription_attrs(): Added. - create_job(): Add job attributes prior to adding subscriptions. - create_subscription(): Implemented. - get_jobs(): Use case-insensitive comparison for username. - get_subscription_attrs(): Implemented. - get_subscriptions(): Implemented. - print_job(): Add job attributes prior to adding subscriptions. scheduler/main.c: - main(): Do subscription expiration and optimize time() calls. - select_timeout(): Check next subscription expiration time. scheduler/subscriptions.c: - cupsdLoadAllSubscriptions(): Remove name variable and incorrect usage. test/4.2-cups-printer-ops.test: - Added printer subscriptions. test/4.3-job-ops.test: - Added job subscriptions. test/4.4-subscription-ops.test: - Added. test/ipptest.c: - do_tests(): Add DELAY and DISPLAY commands, support multiple GROUP sections w/separator, support multi-value string attributes delimited by commas, add notify-subscription-id attribute support. - get_tag(): Add subscription and event-notification group tag names. - get_token(): Add line number argument. ------------------------------------------------------------------------ r4836 | mike | 2005-11-13 01:14:46 -0500 (Sun, 13 Nov 2005) | 4 lines Fix RPM spec file and man page installation. Add makesrcdist script and use it to create the snapshot for testrpm. ------------------------------------------------------------------------ r4835 | mike | 2005-11-12 17:00:16 -0500 (Sat, 12 Nov 2005) | 5 lines Add notifier dir to top-level makefile and to RPM spec file. Remove generated cups.spec from repo - we always generate it in tools/testrpm or in the tarball maker script. ------------------------------------------------------------------------ r4834 | mike | 2005-11-12 16:55:57 -0500 (Sat, 12 Nov 2005) | 4 lines Add notifiers and new directories to EPM list file. Drop indp notifier, since indp is dead. ------------------------------------------------------------------------ r4833 | mike | 2005-11-12 16:46:52 -0500 (Sat, 12 Nov 2005) | 68 lines Integrate several Debian CUPS patches. Clean up packaging and fix EPM list file. Change man page installation to no longer install "cat" files, since all current OS's now include some version of nroff to format them. This change also allows us to install compressed man page files to conform with Debian packaging guidelines. Install the enable/disable commands as /usr/sbin/cupsenable and /usr/sbin/cupsdisable (with symlinks to the old /usr/bin/enable and /usr/bin/disable) to avoid the Bash command of the same name. backend/lpd.c: - lpd_queue(): Limit username and job name lengths per RFC 1179. cgi-bin/ipp-var.c: - ippRewriteURL(): Make sure servername is always set (mainly a convenience for testing - SERVER_NAME is always set when run from cupsd. config-scripts/cups-common.m4: - Drop nroff/groff checks. config-scripts/cups-manpages.m4: - Drop cat page support and add compressed man page support. config-scripts/cups-opsys.m4: - Look for "lpadmin" group - used on some Linux distros as the default print admin group. cups/file.c: - cupsFileOpen(): Add O_LARGEFILE support. Makedefs.in: - Remove cat pages stuff and add compressed man page support. Makefile: - Build via EPM from packages subdir. man/cupsenable.man: man/enable.man: - Rename enable to cupsenable. man/Makefile: - Remove the cat man page installations. packaging/cups.list.in: - Remove the cat man pages. - Add subpackages and dependencies for each format/OS. packaging/cups.spec: packaging/cups.spec.in: - Remove the cat man pages. - Move the cups-lpd man page to the cups-lpd subpackage. scheduler/filter.c: - mimeFilter(): Use the correct start cost when computing the total cost for the current filter. systemv/lppasswd.c: - main(): Only use CUPS_DEFAULT_GROUP instead of looking for one of the standard groups. ------------------------------------------------------------------------ r4832 | mike | 2005-11-12 14:13:35 -0500 (Sat, 12 Nov 2005) | 2 lines Fix substitution for cups.list. ------------------------------------------------------------------------ r4831 | mike | 2005-11-12 13:48:19 -0500 (Sat, 12 Nov 2005) | 4 lines Remove old VC6 project files. Move packaging files to new packaging subdir. ------------------------------------------------------------------------Download · Home Page · Listing