]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
16 years agoDon't lookup connection address if HostNameLookups is disabled. Instead, get
mike [Wed, 17 Sep 2008 00:21:59 +0000 (00:21 +0000)] 
Don't lookup connection address if HostNameLookups is disabled.  Instead, get
the numerical address to report to the client.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7950 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe IPP backend incorrectly stopped the local queue if the remote server
mike [Wed, 17 Sep 2008 00:04:12 +0000 (00:04 +0000)] 
The IPP backend incorrectly stopped the local queue if the remote server
reported the "paused" state.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7948 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix cupsGetDests() with failed reconnects or other errors.
mike [Tue, 16 Sep 2008 23:27:54 +0000 (23:27 +0000)] 
Fix cupsGetDests() with failed reconnects or other errors.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7946 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler did not always log "job queued" messages (STR #2943)
mike [Tue, 16 Sep 2008 22:32:42 +0000 (22:32 +0000)] 
The scheduler did not always log "job queued" messages (STR #2943)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7944 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate IPP documentation for CUPS-Get-Printers and CUPS-Get-Classes (STR #2944)
mike [Tue, 16 Sep 2008 22:28:33 +0000 (22:28 +0000)] 
Update IPP documentation for CUPS-Get-Printers and CUPS-Get-Classes (STR #2944)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7943 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler did not support destination filtering using the printer-location
mike [Tue, 16 Sep 2008 22:23:07 +0000 (22:23 +0000)] 
The scheduler did not support destination filtering using the printer-location
attribute properly (STR #2945)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7942 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoDrop old printer/class icons.
mike [Tue, 16 Sep 2008 00:46:13 +0000 (00:46 +0000)] 
Drop old printer/class icons.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7941 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoOK, lots of changes to the web interface and CUPS logo graphic.
mike [Tue, 16 Sep 2008 00:45:16 +0000 (00:45 +0000)] 
OK, lots of changes to the web interface and CUPS logo graphic.

Now show 100 printers/classes/jobs per page in a compact list/table format.

Pull-down menu buttons for class/printer actions rather than a dozen or more
buttons.

Improved welcome page.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7940 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoDon't make the /etc/cups directory twice.
mike [Thu, 11 Sep 2008 23:53:59 +0000 (23:53 +0000)] 
Don't make the /etc/cups directory twice.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7938 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate PPD and browsing specs.
mike [Thu, 11 Sep 2008 16:16:41 +0000 (16:16 +0000)] 
Update PPD and browsing specs.

Add new ABNF standard.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7937 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdded support for printer filtering by the cupsfilter command (STR #2562)
mike [Thu, 11 Sep 2008 03:12:59 +0000 (03:12 +0000)] 
Added support for printer filtering by the cupsfilter command (STR #2562)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7936 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd SSLOptions directive (STR #2827).
mike [Thu, 11 Sep 2008 01:54:11 +0000 (01:54 +0000)] 
Add SSLOptions directive (STR #2827).

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7935 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd CUPS browse protocol documentation (STR #2567)
mike [Thu, 11 Sep 2008 01:13:57 +0000 (01:13 +0000)] 
Add CUPS browse protocol documentation (STR #2567)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7934 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd a BrowseWebIF directive that controls whether the web interface is
mike [Thu, 11 Sep 2008 00:44:58 +0000 (00:44 +0000)] 
Add a BrowseWebIF directive that controls whether the web interface is
advertised via DNS-SD.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7933 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoChangelog.
mike [Wed, 10 Sep 2008 22:27:36 +0000 (22:27 +0000)] 
Changelog.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7932 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoInstall man-cupsaccept.html, not man-accept.html.
mike [Wed, 10 Sep 2008 22:26:48 +0000 (22:26 +0000)] 
Install man-cupsaccept.html, not man-accept.html.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7931 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRename man pages.
mike [Wed, 10 Sep 2008 22:25:54 +0000 (22:25 +0000)] 
Rename man pages.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7930 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd support (and symlinks) for cupsaccept and cupsreject (STR #2936)
mike [Wed, 10 Sep 2008 22:23:59 +0000 (22:23 +0000)] 
Add support (and symlinks) for cupsaccept and cupsreject (STR #2936)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7929 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoTweak the default KeepAliveTimeout and other related timeouts to 30 seconds.
mike [Wed, 10 Sep 2008 22:14:22 +0000 (22:14 +0000)] 
Tweak the default KeepAliveTimeout and other related timeouts to 30 seconds.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7928 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix tracking of "busy" status...
mike [Wed, 10 Sep 2008 22:05:29 +0000 (22:05 +0000)] 
Fix tracking of "busy" status...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7927 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoCorrectly set air key in DNS-SD TXT record...
mike [Wed, 10 Sep 2008 20:46:46 +0000 (20:46 +0000)] 
Correctly set air key in DNS-SD TXT record...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7926 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoHave cupsdCleanDirty() update the busy state.
mike [Wed, 10 Sep 2008 17:47:26 +0000 (17:47 +0000)] 
Have cupsdCleanDirty() update the busy state.

cupsdCleanDirty() was logging "no longer busy" when the server was busy and
"busy" when not busy...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7925 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoInstall a symlink from dnssd to mdns.
mike [Wed, 10 Sep 2008 17:36:13 +0000 (17:36 +0000)] 
Install a symlink from dnssd to mdns.

Override the default document-format for jobs submitted via Send-Document.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7924 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoInstall mdns symlink.
mike [Wed, 10 Sep 2008 17:17:03 +0000 (17:17 +0000)] 
Install mdns symlink.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7923 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate translate utility for Google (STR #2882)
mike [Wed, 10 Sep 2008 15:56:47 +0000 (15:56 +0000)] 
Update translate utility for Google (STR #2882)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7922 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd -H option to lpstat (STR #2833)
mike [Wed, 10 Sep 2008 15:42:24 +0000 (15:42 +0000)] 
Add -H option to lpstat (STR #2833)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7921 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix issues with parallel builds.
mike [Wed, 10 Sep 2008 01:04:10 +0000 (01:04 +0000)] 
Fix issues with parallel builds.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7920 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd support for FatalErrors directive (STR #2536)
mike [Mon, 8 Sep 2008 22:03:01 +0000 (22:03 +0000)] 
Add support for FatalErrors directive (STR #2536)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7918 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoDon't add duplicate listen addresses.
mike [Mon, 8 Sep 2008 15:35:31 +0000 (15:35 +0000)] 
Don't add duplicate listen addresses.

Add missing DefaultPaperSize documentation.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7917 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFinal changes for DBUS notifier (STR #2529)
mike [Sun, 7 Sep 2008 22:27:01 +0000 (22:27 +0000)] 
Final changes for DBUS notifier (STR #2529)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7916 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUse php-cgi if available (STR #2923)
mike [Sun, 7 Sep 2008 22:18:29 +0000 (22:18 +0000)] 
Use php-cgi if available (STR #2923)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7915 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler did not send the server-started, server-restarted, or
mike [Sun, 7 Sep 2008 21:56:59 +0000 (21:56 +0000)] 
The scheduler did not send the server-started, server-restarted, or
server-stopped events (STR #2927)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7913 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler no longer enforces configuration file permissions on symlinked
mike [Sun, 7 Sep 2008 21:17:19 +0000 (21:17 +0000)] 
The scheduler no longer enforces configuration file permissions on symlinked
files (STR #2937)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7912 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoCUPS now reinitializes the DNS resolver on failures (STR #2920)
mike [Sat, 6 Sep 2008 00:25:17 +0000 (00:25 +0000)] 
CUPS now reinitializes the DNS resolver on failures (STR #2920)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7910 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe CUPS desktop menu item was broken (STR #2924)
mike [Fri, 5 Sep 2008 13:08:37 +0000 (13:08 +0000)] 
The CUPS desktop menu item was broken (STR #2924)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7909 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoChangelog.
mike [Wed, 3 Sep 2008 20:20:56 +0000 (20:20 +0000)] 
Changelog.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7907 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoOnly complain about missing values in "strict" mode...
mike [Wed, 3 Sep 2008 20:19:43 +0000 (20:19 +0000)] 
Only complain about missing values in "strict" mode...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7906 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd DefaultPaperSize directive (STR #2848)
mike [Wed, 3 Sep 2008 16:11:45 +0000 (16:11 +0000)] 
Add DefaultPaperSize directive (STR #2848)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7904 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd table-of-contents.
mike [Wed, 3 Sep 2008 15:17:18 +0000 (15:17 +0000)] 
Add table-of-contents.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7903 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler now passes the job-originating-host-name value to filters in the
mike [Wed, 3 Sep 2008 14:20:17 +0000 (14:20 +0000)] 
The scheduler now passes the job-originating-host-name value to filters in the
options argument (STR #2558)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7902 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd PDF job ticket support (STR #2903)
mike [Wed, 3 Sep 2008 14:13:26 +0000 (14:13 +0000)] 
Add PDF job ticket support (STR #2903)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7901 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd DBUS notifier (STR #2529)
mike [Wed, 3 Sep 2008 13:47:57 +0000 (13:47 +0000)] 
Add DBUS notifier (STR #2529)

Still need dbus-notifier.xml file...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7900 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoPass document-name in cups-lpd (STR #2482)
mike [Wed, 3 Sep 2008 12:57:17 +0000 (12:57 +0000)] 
Pass document-name in cups-lpd (STR #2482)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7899 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agodistclean target didn't clean desktop or init dirs.
mike [Wed, 3 Sep 2008 01:05:21 +0000 (01:05 +0000)] 
distclean target didn't clean desktop or init dirs.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7898 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoOverride all locale environment variables to ensure we get the correct locale
mike [Tue, 2 Sep 2008 19:33:19 +0000 (19:33 +0000)] 
Override all locale environment variables to ensure we get the correct locale
when running the PPD unit tests.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7897 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd APICADriver keyword.
mike [Tue, 2 Sep 2008 19:23:47 +0000 (19:23 +0000)] 
Add APICADriver keyword.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7896 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate state keyword suffixes to be consistent and match up with the RFC 2911
mike [Tue, 2 Sep 2008 19:19:43 +0000 (19:19 +0000)] 
Update state keyword suffixes to be consistent and match up with the RFC 2911
definitions.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7895 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoDon't treat client-error-not-found as errors unless a URI is specified.
mike [Tue, 2 Sep 2008 19:13:03 +0000 (19:13 +0000)] 
Don't treat client-error-not-found as errors unless a URI is specified.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7894 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd -k option to continue past compile/link errors.
mike [Mon, 1 Sep 2008 06:09:18 +0000 (06:09 +0000)] 
Add -k option to continue past compile/link errors.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7893 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoCleanup "clang" target.
mike [Mon, 1 Sep 2008 05:58:47 +0000 (05:58 +0000)] 
Cleanup "clang" target.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7892 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRelay com.apple.print.recoverable-message messages.
mike [Fri, 29 Aug 2008 22:34:02 +0000 (22:34 +0000)] 
Relay com.apple.print.recoverable-message messages.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7891 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRename mdns backend to "dnssd".
mike [Fri, 29 Aug 2008 22:19:39 +0000 (22:19 +0000)] 
Rename mdns backend to "dnssd".

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7890 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate documentation to explain how the default printer is chosen.
mike [Fri, 29 Aug 2008 22:03:35 +0000 (22:03 +0000)] 
Update documentation to explain how the default printer is chosen.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7889 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd sharing check box to add/modify printer page.
mike [Fri, 29 Aug 2008 21:16:56 +0000 (21:16 +0000)] 
Add sharing check box to add/modify printer page.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7888 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix mirrored landscape output.
mike [Fri, 29 Aug 2008 01:51:57 +0000 (01:51 +0000)] 
Fix mirrored landscape output.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7886 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd error checking to posix_spawnattr_setbinpref_np and initialize ocount to 1.
mike [Thu, 28 Aug 2008 22:56:15 +0000 (22:56 +0000)] 
Add error checking to posix_spawnattr_setbinpref_np and initialize ocount to 1.

Build usb backend with all architectures.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7885 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoCleanup for job-media-progress attribute.
mike [Thu, 28 Aug 2008 22:17:13 +0000 (22:17 +0000)] 
Cleanup for job-media-progress attribute.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7884 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd support for job-media-progress attribute.
mike [Thu, 28 Aug 2008 20:38:13 +0000 (20:38 +0000)] 
Add support for job-media-progress attribute.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7883 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRevise code to wait up to 5 seconds. We'll tune the numbers later...
mike [Thu, 28 Aug 2008 20:21:56 +0000 (20:21 +0000)] 
Revise code to wait up to 5 seconds.  We'll tune the numbers later...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7881 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRevert change - always use printer-name for profile registrations.
mike [Thu, 28 Aug 2008 20:14:34 +0000 (20:14 +0000)] 
Revert change - always use printer-name for profile registrations.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7880 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler did not correctly update the auth-info-required value(s) if the
mike [Thu, 28 Aug 2008 00:08:56 +0000 (00:08 +0000)] 
The scheduler did not correctly update the auth-info-required value(s) if the
AuthType was Default.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7879 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAlso check that printer->info is not the empty string.
mike [Wed, 27 Aug 2008 23:23:18 +0000 (23:23 +0000)] 
Also check that printer->info is not the empty string.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7877 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRegister human-readable name instead of queue ID, if defined.
mike [Wed, 27 Aug 2008 23:19:30 +0000 (23:19 +0000)] 
Register human-readable name instead of queue ID, if defined.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7876 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAlso separate unit tests for drivers and scheduler.
mike [Wed, 27 Aug 2008 22:53:31 +0000 (22:53 +0000)] 
Also separate unit tests for drivers and scheduler.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7875 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAllow a NULL pointer to _httpAddrPort().
mike [Wed, 27 Aug 2008 21:48:41 +0000 (21:48 +0000)] 
Allow a NULL pointer to _httpAddrPort().

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7874 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler required Kerberos authentication for all operations on remote
mike [Wed, 27 Aug 2008 21:30:44 +0000 (21:30 +0000)] 
The scheduler required Kerberos authentication for all operations on remote
Kerberized printers instead of just for the operations that needed it.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7872 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoMake unit tests a configurable build option.
mike [Wed, 27 Aug 2008 21:12:43 +0000 (21:12 +0000)] 
Make unit tests a configurable build option.

Make debug printfs a separate configurable build option.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7871 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUse _cupsStrFree on last status message in thread destructor.
mike [Wed, 27 Aug 2008 18:14:10 +0000 (18:14 +0000)] 
Use _cupsStrFree on last status message in thread destructor.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7870 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe socket backend could wait indefinitely for back-channel data with some
mike [Wed, 27 Aug 2008 17:14:46 +0000 (17:14 +0000)] 
The socket backend could wait indefinitely for back-channel data with some
devices.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7868 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoChangelog.
mike [Wed, 27 Aug 2008 04:12:36 +0000 (04:12 +0000)] 
Changelog.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7866 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate PostScript docos (STR #2904)
mike [Wed, 27 Aug 2008 04:11:52 +0000 (04:11 +0000)] 
Update PostScript docos (STR #2904)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7865 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoPJL panel messages were not reset correctly on older printers (STR #2909)
mike [Tue, 26 Aug 2008 03:39:59 +0000 (03:39 +0000)] 
PJL panel messages were not reset correctly on older printers (STR #2909)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7863 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agocupsfilter used the wrong default path (STR #2908)
mike [Tue, 26 Aug 2008 03:37:33 +0000 (03:37 +0000)] 
cupsfilter used the wrong default path (STR #2908)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7862 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix address matching for "BrowseAddress @IF(name)" (STR #2910)
mike [Tue, 26 Aug 2008 03:15:14 +0000 (03:15 +0000)] 
Fix address matching for "BrowseAddress @IF(name)" (STR #2910)

Fix "make clang" target.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7861 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate API docos.
mike [Mon, 25 Aug 2008 21:21:40 +0000 (21:21 +0000)] 
Update API docos.

Use size_t for launchd functions.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7860 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoDon't apply resolvers when they change the current option/choice.
mike [Mon, 25 Aug 2008 20:54:30 +0000 (20:54 +0000)] 
Don't apply resolvers when they change the current option/choice.

Don't override the current option/choice.

Update test program to check for proper operation with and without passing a
current option.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7859 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRename appleGetLocations to appleCopyLocations to reflect that a new copy is
mike [Sat, 23 Aug 2008 06:06:50 +0000 (06:06 +0000)] 
Rename appleGetLocations to appleCopyLocations to reflect that a new copy is
created.  Also release the locations array.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7858 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoProtect against divide-by-zero when SNMP printer MIB returns invalid values.
mike [Sat, 23 Aug 2008 05:33:25 +0000 (05:33 +0000)] 
Protect against divide-by-zero when SNMP printer MIB returns invalid values.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7857 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate cupsResolveConflicts to try non-default option choices to resolve
mike [Fri, 22 Aug 2008 02:40:57 +0000 (02:40 +0000)] 
Update cupsResolveConflicts to try non-default option choices to resolve
conflicts.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7856 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd cupsResolveConflicts test program.
mike [Fri, 22 Aug 2008 02:37:29 +0000 (02:37 +0000)] 
Add cupsResolveConflicts test program.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7855 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoReorder functions.
mike [Thu, 21 Aug 2008 20:33:06 +0000 (20:33 +0000)] 
Reorder functions.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7854 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoAllow cupsBorderlessScalingFactor to be as low as 0.1.
mike [Thu, 21 Aug 2008 04:19:45 +0000 (04:19 +0000)] 
Allow cupsBorderlessScalingFactor to be as low as 0.1.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7852 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoSet last error to IPP_OK when there are destinations, IPP_INTERNAL_ERROR
mike [Wed, 20 Aug 2008 00:14:36 +0000 (00:14 +0000)] 
Set last error to IPP_OK when there are destinations, IPP_INTERNAL_ERROR
for bad arguments...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7851 7a7537e8-13f0-0310-91df-b6672ffda945

17 years ago_cupsSNMPWrite() incorrectly changed the address that was passed to it.
mike [Wed, 20 Aug 2008 00:07:25 +0000 (00:07 +0000)] 
_cupsSNMPWrite() incorrectly changed the address that was passed to it.

Add _httpAddrPort() function.

Update debug messages and code to use new _httpAddrPort() function.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7850 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoFix one more compile bug when we don't have LDAP+SSL.
mike [Tue, 19 Aug 2008 04:44:07 +0000 (04:44 +0000)] 
Fix one more compile bug when we don't have LDAP+SSL.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7849 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoFix compile error with LDAP.
mike [Tue, 19 Aug 2008 04:40:10 +0000 (04:40 +0000)] 
Fix compile error with LDAP.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7848 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoAdd ippTagString/Value APIs.
mike [Tue, 19 Aug 2008 04:22:14 +0000 (04:22 +0000)] 
Add ippTagString/Value APIs.

Allow no-value tags in 1setOf arrays of string attributes, to work around
a Brother IPP bug.

Add more debug printfs, and make them all consistent.

Reconnect before sending a request if the last response had
"Connection: close" as one of the headers.

The test suite should expect 17 errors since we now log IPP errors in
error_log.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7847 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agocupsAdminGetServerSettings with CUPS_HTTP_DEFAULT immediately connects to
mike [Sat, 16 Aug 2008 01:37:09 +0000 (01:37 +0000)] 
cupsAdminGetServerSettings with CUPS_HTTP_DEFAULT immediately connects to
cupsd instead of trying to read cupsd.conf directly first.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7845 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agocupsdCloseClient() did not clear (free) the HTTP fields, leading to a small
mike [Thu, 14 Aug 2008 06:29:24 +0000 (06:29 +0000)] 
cupsdCloseClient() did not clear (free) the HTTP fields, leading to a small
memory leak for authenticated requests.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7844 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoMake sure "uri" is initialized...
mike [Thu, 14 Aug 2008 06:01:52 +0000 (06:01 +0000)] 
Make sure "uri" is initialized...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7843 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoUse debug log level for all but "forbidden" HTTP statuses.
mike [Thu, 14 Aug 2008 05:52:23 +0000 (05:52 +0000)] 
Use debug log level for all but "forbidden" HTTP statuses.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7842 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoMake IPP and HTTP status reporting consistent.
mike [Thu, 14 Aug 2008 05:49:19 +0000 (05:49 +0000)] 
Make IPP and HTTP status reporting consistent.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7841 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoLog the request URI, too.
mike [Thu, 14 Aug 2008 05:40:26 +0000 (05:40 +0000)] 
Log the request URI, too.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7840 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoFree the line buffer on early errors.
mike [Thu, 14 Aug 2008 05:36:40 +0000 (05:36 +0000)] 
Free the line buffer on early errors.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7839 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoReturn localized strings, and handle HTTP_SERVICE_UNAVAILABLE.
mike [Thu, 14 Aug 2008 04:43:24 +0000 (04:43 +0000)] 
Return localized strings, and handle HTTP_SERVICE_UNAVAILABLE.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7838 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoMake the default config file permissions 0640 on Mac OS X as well.
mike [Thu, 14 Aug 2008 04:28:05 +0000 (04:28 +0000)] 
Make the default config file permissions 0640 on Mac OS X as well.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7837 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoFix --with-access-log-level configure option.
mike [Wed, 13 Aug 2008 23:36:35 +0000 (23:36 +0000)] 
Fix --with-access-log-level configure option.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7836 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoFix cups-lpd man page.
mike [Sat, 9 Aug 2008 06:37:04 +0000 (06:37 +0000)] 
Fix cups-lpd man page.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7835 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoAdd A5 support to rastertohp (STR #2798)
mike [Mon, 4 Aug 2008 21:02:09 +0000 (21:02 +0000)] 
Add A5 support to rastertohp (STR #2798)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7834 7a7537e8-13f0-0310-91df-b6672ffda945

17 years agoUse xdg-open when available (STR #2724)
mike [Mon, 4 Aug 2008 20:55:13 +0000 (20:55 +0000)] 
Use xdg-open when available (STR #2724)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7833 7a7537e8-13f0-0310-91df-b6672ffda945