]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
12 years agoFix compile on Linux.
mike [Wed, 9 Jan 2013 15:47:56 +0000 (15:47 +0000)] 
Fix compile on Linux.

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

12 years agoDon't need ugly header hacks on OS X anymore...
mike [Tue, 8 Jan 2013 16:19:32 +0000 (16:19 +0000)] 
Don't need ugly header hacks on OS X anymore...

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

12 years agoMake httpAssembleURI public API.
mike [Tue, 8 Jan 2013 14:22:22 +0000 (14:22 +0000)] 
Make httpAssembleURI public API.

Some more cleanup for other functions that got promoted and for internal API
that should never be called outside CUPS.

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

12 years agoPrefer gzip over deflate.
mike [Fri, 4 Jan 2013 18:43:59 +0000 (18:43 +0000)] 
Prefer gzip over deflate.

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

12 years agoFix end-of-request processing for chunked, compressed input - need to break out
mike [Sat, 22 Dec 2012 04:39:14 +0000 (04:39 +0000)] 
Fix end-of-request processing for chunked, compressed input - need to break out
of the loop to get the state transition to happen.

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

12 years agoRework the HTTP reader code to better support compressed streams.
mike [Thu, 20 Dec 2012 23:38:13 +0000 (23:38 +0000)] 
Rework the HTTP reader code to better support compressed streams.

Also fix an issue with TempDir checks when running "make check".

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

12 years agoFixed a problem with local Kerberos authentication (STR #4140)
mike [Mon, 17 Dec 2012 22:40:54 +0000 (22:40 +0000)] 
Fixed a problem with local Kerberos authentication (STR #4140)

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

12 years agoSome minor changes to get TOT building on Linux again.
mike [Mon, 17 Dec 2012 22:15:39 +0000 (22:15 +0000)] 
Some minor changes to get TOT building on Linux again.

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

12 years agoClean up Kerberos support to only need GSSAPI.
mike [Mon, 17 Dec 2012 22:04:34 +0000 (22:04 +0000)] 
Clean up Kerberos support to only need GSSAPI.

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

12 years agoWhen doing reverse order duplex with first-page-from, put first page options on
mike [Fri, 14 Dec 2012 19:12:39 +0000 (19:12 +0000)] 
When doing reverse order duplex with first-page-from, put first page options on
the second page (which will get printed first...)

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

12 years agoCheck printer state and report printer-state-message while waiting for the job
mike [Fri, 14 Dec 2012 19:01:47 +0000 (19:01 +0000)] 
Check printer state and report printer-state-message while waiting for the job
to finish...

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

12 years agoDon't log permission issues for other printers' class drivers.
mike [Fri, 14 Dec 2012 18:54:04 +0000 (18:54 +0000)] 
Don't log permission issues for other printers' class drivers.

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

12 years agoDon't allow /private/tmp or /tmp for TempDir on OS X.
mike [Fri, 14 Dec 2012 18:41:13 +0000 (18:41 +0000)] 
Don't allow /private/tmp or /tmp for TempDir on OS X.

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

12 years agoIgnore empty STATE: messages.
mike [Fri, 14 Dec 2012 17:35:17 +0000 (17:35 +0000)] 
Ignore empty STATE: messages.

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

12 years agoMake sure we run dsymutil on all libraries, too.
mike [Fri, 14 Dec 2012 13:06:44 +0000 (13:06 +0000)] 
Make sure we run dsymutil on all libraries, too.

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

12 years agoCoverity scan: fixed some minor issues (STR #4242)
mike [Thu, 13 Dec 2012 21:05:15 +0000 (21:05 +0000)] 
Coverity scan: fixed some minor issues (STR #4242)

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

12 years agoFix permissions put in cups-files.conf.
mike [Thu, 13 Dec 2012 20:36:08 +0000 (20:36 +0000)] 
Fix permissions put in cups-files.conf.

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

12 years agoDrop CUPS browsing document (STR #4234)
mike [Thu, 13 Dec 2012 20:29:45 +0000 (20:29 +0000)] 
Drop CUPS browsing document (STR #4234)

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

12 years agoThe scheduler did not remove color profiles after deleting a printer (STR #4232)
mike [Thu, 13 Dec 2012 20:02:33 +0000 (20:02 +0000)] 
The scheduler did not remove color profiles after deleting a printer (STR #4232)

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

12 years agoThe CUPS library did not always detect a timed out connection to the server
mike [Thu, 13 Dec 2012 19:57:25 +0000 (19:57 +0000)] 
The CUPS library did not always detect a timed out connection to the server
which could cause temporary loss of printing from applications (STR #4187)

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

12 years agoThe ipptool program now supports variable substitution in OPERATION and DELAY
mike [Thu, 13 Dec 2012 19:03:31 +0000 (19:03 +0000)] 
The ipptool program now supports variable substitution in OPERATION and DELAY
directives (STR #4175)

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

12 years agoThe IPP backend now stops queues when the server configuration prevents
mike [Thu, 13 Dec 2012 16:38:56 +0000 (16:38 +0000)] 
The IPP backend now stops queues when the server configuration prevents
successful job submission (STR #4125)

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

12 years agoCheck whether job->state is NULL, which can happen if the job is unloaded after
mike [Thu, 13 Dec 2012 16:24:25 +0000 (16:24 +0000)] 
Check whether job->state is NULL, which can happen if the job is unloaded after
stopping.

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

12 years agoThe XML output of ipptool contained empty dictionaries (STR #4136)
mike [Wed, 12 Dec 2012 20:51:38 +0000 (20:51 +0000)] 
The XML output of ipptool contained empty dictionaries (STR #4136)

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

12 years agoThe scheduler did not delete job control backup files (STR #4244)
mike [Wed, 12 Dec 2012 20:19:43 +0000 (20:19 +0000)] 
The scheduler did not delete job control backup files (STR #4244)

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

12 years agoMore changes for STR #4223:
mike [Wed, 12 Dec 2012 18:02:06 +0000 (18:02 +0000)] 
More changes for STR #4223:

- Fix cupsctl man page
- Generate and install cups-files.conf online help.
- Fix "-t" operation that shows correct filename.
- Use syslog for startup errors.
- Fix installation of cupsd.conf - need to use ConfigurationFile and not ServerRoot/cupsd.conf.
- Check permissions of ConfigurationFile and CupsFilesFile - should be ConfigFilePerm.

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

12 years agoFix logic error in cupsGetPPD3 - was not checking the hostname of the connection.
mike [Wed, 12 Dec 2012 17:31:48 +0000 (17:31 +0000)] 
Fix logic error in cupsGetPPD3 - was not checking the hostname of the connection.

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

12 years agoDon't set auth-info-required all of the time (STR #4205)
mike [Wed, 12 Dec 2012 12:27:27 +0000 (12:27 +0000)] 
Don't set auth-info-required all of the time (STR #4205)

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

12 years agoGenerate full 1284 device ID as needed (STR #3702)
mike [Tue, 11 Dec 2012 20:01:35 +0000 (20:01 +0000)] 
Generate full 1284 device ID as needed (STR #3702)

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

12 years agoStrip trailing slash from regex paths to prevent sandboxing issues.
mike [Tue, 11 Dec 2012 19:24:22 +0000 (19:24 +0000)] 
Strip trailing slash from regex paths to prevent sandboxing issues.

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

12 years agoCheck all support files at the start of a job.
mike [Tue, 11 Dec 2012 16:41:45 +0000 (16:41 +0000)] 
Check all support files at the start of a job.

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

12 years agoFix section references to RFC 2911.
mike [Tue, 11 Dec 2012 15:46:25 +0000 (15:46 +0000)] 
Fix section references to RFC 2911.

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

12 years agoDon't put specific length checks in ippReadIO, instead leave them to the callers
mike [Tue, 11 Dec 2012 01:24:34 +0000 (01:24 +0000)] 
Don't put specific length checks in ippReadIO, instead leave them to the callers
to decide what to validate.

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

12 years agoFix some more issues with cupstestppd, and remove prc_5_110x220mm from the PWG
mike [Mon, 10 Dec 2012 23:31:29 +0000 (23:31 +0000)] 
Fix some more issues with cupstestppd, and remove prc_5_110x220mm from the PWG
media list since it is a duplicate of iso_dl_110x220mm.

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

12 years agoFix an edge case for cupstestppd.
mike [Mon, 10 Dec 2012 23:18:19 +0000 (23:18 +0000)] 
Fix an edge case for cupstestppd.

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

12 years agoFix httpFlush() when in the "waiting" state.
mike [Mon, 10 Dec 2012 23:17:27 +0000 (23:17 +0000)] 
Fix httpFlush() when in the "waiting" state.

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

12 years agoFix allocation check for SSL connections.
mike [Mon, 10 Dec 2012 16:19:55 +0000 (16:19 +0000)] 
Fix allocation check for SSL connections.

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

12 years agoSave some testing code.
mike [Mon, 10 Dec 2012 16:13:53 +0000 (16:13 +0000)] 
Save some testing code.

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

12 years agoFix typo.
mike [Mon, 10 Dec 2012 16:07:00 +0000 (16:07 +0000)] 
Fix typo.

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

12 years agoClean up clang detection to include feature, in case anyone is using an old
mike [Mon, 10 Dec 2012 15:07:04 +0000 (15:07 +0000)] 
Clean up clang detection to include feature, in case anyone is using an old
version of clang...

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

12 years agoDon't copy libbackend.a to SYMROOT.
mike [Fri, 7 Dec 2012 21:45:35 +0000 (21:45 +0000)] 
Don't copy libbackend.a to SYMROOT.

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

12 years agoFix AC_MSG call.
mike [Fri, 7 Dec 2012 21:40:34 +0000 (21:40 +0000)] 
Fix AC_MSG call.

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

12 years agoFix some clang errors.
mike [Fri, 7 Dec 2012 21:33:22 +0000 (21:33 +0000)] 
Fix some clang errors.

Switch over to the newer style SSL functions on OS X and stop supporting the old
stuff.

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

12 years agoAdd new httpSetDefaultField API to set the default values for a few fields.
mike [Fri, 7 Dec 2012 19:49:44 +0000 (19:49 +0000)] 
Add new httpSetDefaultField API to set the default values for a few fields.

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

12 years agoDon't set Accept-Encoding header by default since some printers are broken.
mike [Fri, 7 Dec 2012 13:07:12 +0000 (13:07 +0000)] 
Don't set Accept-Encoding header by default since some printers are broken.

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

12 years agoNeed <sys/fcntl.h>.
mike [Thu, 6 Dec 2012 21:43:35 +0000 (21:43 +0000)] 
Need <sys/fcntl.h>.

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

12 years agoFix logging about FileDevice.
mike [Thu, 6 Dec 2012 12:31:48 +0000 (12:31 +0000)] 
Fix logging about FileDevice.

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

12 years agoDon't map "." in non-size names.
mike [Tue, 4 Dec 2012 20:00:55 +0000 (20:00 +0000)] 
Don't map "." in non-size names.

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

12 years agoRun dsymutil if we are installing symbol-rich binaries to SYMROOT.
mike [Tue, 4 Dec 2012 18:38:31 +0000 (18:38 +0000)] 
Run dsymutil if we are installing symbol-rich binaries to SYMROOT.

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

12 years agoAdd old private APIs back as placeholders to prevent OS X 10.8 and earlier
mike [Tue, 4 Dec 2012 14:21:48 +0000 (14:21 +0000)] 
Add old private APIs back as placeholders to prevent OS X 10.8 and earlier
from failing after a software update...

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

12 years agoImplement httpPeek for compressed streams.
mike [Tue, 4 Dec 2012 14:08:33 +0000 (14:08 +0000)] 
Implement httpPeek for compressed streams.

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

12 years agoFix interop with older CUPS servers by falling back to IPP/1.1 (STR #4231)
mike [Mon, 3 Dec 2012 13:30:07 +0000 (13:30 +0000)] 
Fix interop with older CUPS servers by falling back to IPP/1.1 (STR #4231)

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

12 years agoChangelog.
mike [Mon, 3 Dec 2012 13:08:20 +0000 (13:08 +0000)] 
Changelog.

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

12 years agoDocumentation fixes.
mike [Mon, 3 Dec 2012 13:05:49 +0000 (13:05 +0000)] 
Documentation fixes.

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

12 years agoMake sure we include stdarg.h for va_list definition.
mike [Mon, 3 Dec 2012 12:47:11 +0000 (12:47 +0000)] 
Make sure we include stdarg.h for va_list definition.

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

12 years agoAdd some more chars that need to be escaped in a hostname.
mike [Mon, 3 Dec 2012 12:41:21 +0000 (12:41 +0000)] 
Add some more chars that need to be escaped in a hostname.

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

12 years agoMore fixes for STR #4223...
mike [Fri, 30 Nov 2012 22:16:49 +0000 (22:16 +0000)] 
More fixes for STR #4223...

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

12 years agoMissed this file for some reason (STR #4223)
mike [Mon, 26 Nov 2012 21:54:30 +0000 (21:54 +0000)] 
Missed this file for some reason (STR #4223)

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

12 years agoOne more fix for STR #4223 - default cups-files.conf location and warn about
mike [Mon, 26 Nov 2012 21:53:53 +0000 (21:53 +0000)] 
One more fix for STR #4223 - default cups-files.conf location and warn about
directives that have moved.

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

12 years agoMove file, directory, user, and group configuration to a separate file
mike [Mon, 26 Nov 2012 18:25:58 +0000 (18:25 +0000)] 
Move file, directory, user, and group configuration to a separate file
(STR #4223)

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

12 years agoRemove old private API.
mike [Fri, 16 Nov 2012 19:33:55 +0000 (19:33 +0000)] 
Remove old private API.

Make sure we enable compression for Print-Job, too.

Update doco file.

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

12 years agoAdd support for compressing document data from ipptool.
mike [Fri, 16 Nov 2012 15:28:23 +0000 (15:28 +0000)] 
Add support for compressing document data from ipptool.

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

12 years agoFix HTTP PUT issues preventing cupsctl from working.
mike [Fri, 16 Nov 2012 15:14:03 +0000 (15:14 +0000)] 
Fix HTTP PUT issues preventing cupsctl from working.

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

12 years agoFix typos.
mike [Fri, 16 Nov 2012 01:33:08 +0000 (01:33 +0000)] 
Fix typos.

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

12 years agoNew documentation.
mike [Fri, 16 Nov 2012 00:55:20 +0000 (00:55 +0000)] 
New documentation.

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

12 years agoChangelog.
mike [Fri, 16 Nov 2012 00:54:02 +0000 (00:54 +0000)] 
Changelog.

Prefer deflate over gzip.

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

12 years agoDon't send compression attribute in Validate-Job request.
mike [Fri, 16 Nov 2012 00:31:20 +0000 (00:31 +0000)] 
Don't send compression attribute in Validate-Job request.

Don't automatically start compressing in cupsSendRequest - require the app to
call httpSetField (needs documentation).

Make sure we have a document-format attribute to report when problems happen.

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

12 years agoBack out unintended change.
mike [Thu, 15 Nov 2012 21:01:56 +0000 (21:01 +0000)] 
Back out unintended change.

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

12 years agoSave work.
mike [Thu, 15 Nov 2012 21:01:21 +0000 (21:01 +0000)] 
Save work.

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

12 years agoAdd range checking to ippSetValueTag and ippSetGroupTag.
mike [Thu, 15 Nov 2012 18:20:29 +0000 (18:20 +0000)] 
Add range checking to ippSetValueTag and ippSetGroupTag.

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

12 years agoYay, fixed the make check failure - needed to still limit reads for chunked
mike [Thu, 15 Nov 2012 14:59:07 +0000 (14:59 +0000)] 
Yay, fixed the make check failure - needed to still limit reads for chunked
transfers when we aren't using compression.

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

12 years agoSave work: more fixes for decompression support, add IPP compression support to
mike [Wed, 14 Nov 2012 21:48:51 +0000 (21:48 +0000)] 
Save work: more fixes for decompression support, add IPP compression support to
both cupsSendRequest and ippserver.  "make check" is not passing (yet), probably
a side-effect of some of the changes...

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

12 years agoFix some issues with the new compression support WRT state management.
mike [Tue, 13 Nov 2012 20:50:20 +0000 (20:50 +0000)] 
Fix some issues with the new compression support WRT state management.

Update ippserver to check for EPIPE on input.

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

12 years agoChangelog.
mike [Tue, 13 Nov 2012 19:23:51 +0000 (19:23 +0000)] 
Changelog.

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

12 years agoAdd new httpGetContentEncoding API.
mike [Tue, 13 Nov 2012 19:22:57 +0000 (19:22 +0000)] 
Add new httpGetContentEncoding API.

Support Accept-Encoding in ippserver.

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

12 years agoMore cleanup on deprecation messages (now with messages if the compiler
mike [Tue, 13 Nov 2012 15:43:53 +0000 (15:43 +0000)] 
More cleanup on deprecation messages (now with messages if the compiler
supports it and we have a replacement function).

Switch ippserver to use httpConnect2 instead of httpConnectEncrypt.

Rename IPP_TAG_CUPS_COPY to IPP_TAG_CUPS_CONST since it is more for const
data than copied/retained data.

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

12 years ago"Unable to find printer" is a temporary message, so "INFO" instead of "ERROR".
mike [Tue, 13 Nov 2012 12:57:31 +0000 (12:57 +0000)] 
"Unable to find printer" is a temporary message, so "INFO" instead of "ERROR".

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

12 years agoippserver now builds without using any deprecated constants/enums.
mike [Mon, 12 Nov 2012 17:05:51 +0000 (17:05 +0000)] 
ippserver now builds without using any deprecated constants/enums.

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

12 years agoFix up http_t state stuff now that we are tracking state changes properly.
mike [Sat, 10 Nov 2012 21:39:05 +0000 (21:39 +0000)] 
Fix up http_t state stuff now that we are tracking state changes properly.

Fix cupsGetResponse() to the the right thing when looping.

Update ippserver to support printer-icons.

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

12 years agoFix up IPP enumerations and types to use consistent naming, and provide legacy
mike [Fri, 9 Nov 2012 16:41:25 +0000 (16:41 +0000)] 
Fix up IPP enumerations and types to use consistent naming, and provide legacy
definitions as needed.

Update ippserver code to not require private HTTP stuff.

Add a few missing APIs needed to support HTTP/IPP servers.

Add implementation of httpAddrListen.

Add some error checking for Content-Length values that was missing.

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

12 years agoFix build.
mike [Thu, 8 Nov 2012 22:41:25 +0000 (22:41 +0000)] 
Fix build.

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

12 years agoSave work.
mike [Thu, 8 Nov 2012 22:33:45 +0000 (22:33 +0000)] 
Save work.

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

12 years agoActually map print-color-mode to output-mode.
mike [Thu, 8 Nov 2012 17:24:13 +0000 (17:24 +0000)] 
Actually map print-color-mode to output-mode.

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

12 years agoSave work: now using httpAcceptConnection, httpReadRequest, and httpWriteResponse.
mike [Thu, 8 Nov 2012 17:19:22 +0000 (17:19 +0000)] 
Save work: now using httpAcceptConnection, httpReadRequest, and httpWriteResponse.

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

12 years agoUse print-color-mode or output-mode (deprecated) as needed.
mike [Thu, 8 Nov 2012 17:18:46 +0000 (17:18 +0000)] 
Use print-color-mode or output-mode (deprecated) as needed.

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

12 years agoOnly resolve IPP USB printers locally.
mike [Wed, 7 Nov 2012 21:19:02 +0000 (21:19 +0000)] 
Only resolve IPP USB printers locally.

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

12 years agoSave work on ippserver.
mike [Wed, 7 Nov 2012 14:31:27 +0000 (14:31 +0000)] 
Save work on ippserver.

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

12 years agoUse _CUPS_NO_DEPRECATED instead of CUPS_NO_DEPRECATED.
mike [Tue, 6 Nov 2012 18:40:17 +0000 (18:40 +0000)] 
Use _CUPS_NO_DEPRECATED instead of CUPS_NO_DEPRECATED.

Allow programs to define _IPP_PRIVATE_STRUCTURES to 0 to disable the private
structures.

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

12 years agoEliminate warning from unused vars...
mike [Tue, 6 Nov 2012 16:33:50 +0000 (16:33 +0000)] 
Eliminate warning from unused vars...

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

12 years agoDon't wait for 5 seconds.
mike [Tue, 6 Nov 2012 13:03:57 +0000 (13:03 +0000)] 
Don't wait for 5 seconds.

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

12 years agoFix check for ippusb:
mike [Tue, 6 Nov 2012 12:57:31 +0000 (12:57 +0000)] 
Fix check for ippusb:

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

12 years agoImplement httpReadRequest and httpWriteResponse.
mike [Fri, 2 Nov 2012 14:20:27 +0000 (14:20 +0000)] 
Implement httpReadRequest and httpWriteResponse.

Add ippAddStringf/fv.

Fix Upgrade: headers from scheduler.

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

12 years agoFix EXPECT WITH-VALUE with quoted strings.
mike [Fri, 2 Nov 2012 13:33:19 +0000 (13:33 +0000)] 
Fix EXPECT WITH-VALUE with quoted strings.

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

12 years agoFix error reporting.
mike [Fri, 2 Nov 2012 12:16:24 +0000 (12:16 +0000)] 
Fix error reporting.

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

12 years agoSupport gzip/deflate on HTTP connections.
mike [Thu, 1 Nov 2012 00:57:55 +0000 (00:57 +0000)] 
Support gzip/deflate on HTTP connections.

Add httpConnect2, httpAddrCopyList, and several other new (stub, for now) APIs
to better support network connections and server implementations on top of
public API.

Update _httpCreate to support client/server mode and blocking behavior.

Deprecate httpConnect, httpConnectEncrypt, and httpReconnect.

Promote _httpAddrPort and _httpPeek to public API.

Add HTTP_FIELD_ACCEPT_ENCODING, HTTP_FIELD_ALLOW, and HTTP_FIELD_SERVER fields.

Add HTTP_STATE_ERROR and HTTP_STATE_UNKNOWN http_t states.

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

12 years agoDon't retry Send-Document when printing from stdin, reprocess the whole job.
mike [Mon, 29 Oct 2012 16:39:01 +0000 (16:39 +0000)] 
Don't retry Send-Document when printing from stdin, reprocess the whole job.

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

12 years agoDon't limit octetString values to 1023 octets internally, just in the test tool.
mike [Mon, 29 Oct 2012 16:15:58 +0000 (16:15 +0000)] 
Don't limit octetString values to 1023 octets internally, just in the test tool.

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

12 years agoOnly ignore server-error-internal-error 5 times.
mike [Mon, 29 Oct 2012 15:56:43 +0000 (15:56 +0000)] 
Only ignore server-error-internal-error 5 times.

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

12 years agoDon't abort monitoring on an internal error error...
mike [Mon, 29 Oct 2012 15:51:29 +0000 (15:51 +0000)] 
Don't abort monitoring on an internal error error...

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

12 years agoAllow ipptool to add octetString's to collections, too.
mike [Mon, 29 Oct 2012 11:39:59 +0000 (11:39 +0000)] 
Allow ipptool to add octetString's to collections, too.

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