]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
10 years agoSave work.
msweet [Fri, 4 Apr 2014 21:28:49 +0000 (21:28 +0000)] 
Save work.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11796 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoMore man page updates.
msweet [Fri, 4 Apr 2014 19:02:20 +0000 (19:02 +0000)] 
More man page updates.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11793 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years ago<rdar://problem/16495000> CUPS: Disable gratuitous logging by default
msweet [Wed, 2 Apr 2014 16:52:53 +0000 (16:52 +0000)] 
<rdar://problem/16495000> CUPS: Disable gratuitous logging by default

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11789 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAdd support for hierarchical searches (STR #4395)
msweet [Mon, 31 Mar 2014 14:10:13 +0000 (14:10 +0000)] 
Add support for hierarchical searches (STR #4395)

- Add "atend" and "curindex" members to ipp_t to track position in search.
- Update ippFindAttribute and ippFindNextAttribute to search collections.
- Add unit tests to testipp for it.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11783 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAllow backends to have group read + execute permissions and still run as root
msweet [Fri, 28 Mar 2014 21:03:43 +0000 (21:03 +0000)] 
Allow backends to have group read + execute permissions and still run as root
(STR #2935)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11782 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoUse </DefaultPrinter> and </DefaultClass> to close the default printer/class (STR...
msweet [Fri, 28 Mar 2014 20:57:22 +0000 (20:57 +0000)] 
Use </DefaultPrinter> and </DefaultClass> to close the default printer/class (STR #4153)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11781 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoUse _httpDecodeURI private API to remove percent encoding of phone number and
msweet [Fri, 28 Mar 2014 20:48:28 +0000 (20:48 +0000)] 
Use _httpDecodeURI private API to remove percent encoding of phone number and
prefix (pre-dial) strings.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11778 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoRemove lppasswd man page, and clean up dependencies.
msweet [Fri, 28 Mar 2014 19:18:10 +0000 (19:18 +0000)] 
Remove lppasswd man page, and clean up dependencies.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11777 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoDrop lppasswd and (server-side) Digest authentication (STR #4321)
msweet [Fri, 28 Mar 2014 19:16:05 +0000 (19:16 +0000)] 
Drop lppasswd and (server-side) Digest authentication (STR #4321)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11776 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAdd a "how do I get help?" section, and make these headings subsections under the...
msweet [Fri, 28 Mar 2014 16:01:14 +0000 (16:01 +0000)] 
Add a "how do I get help?" section, and make these headings subsections under the DESCRIPTION section.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11774 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAdd cups(1) man page with CUPS overview information and relevant links.
msweet [Fri, 28 Mar 2014 15:55:05 +0000 (15:55 +0000)] 
Add cups(1) man page with CUPS overview information and relevant links.

Fix link embedding for man pages.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11773 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAdd --list-filters options to cupsfilter (STR #4325)
msweet [Fri, 28 Mar 2014 14:49:58 +0000 (14:49 +0000)] 
Add --list-filters options to cupsfilter (STR #4325)

Also update cupsfilter to look for cups-files.conf instead of cupsd.conf (this
was never updated after the security changes to use cups-files.conf)

Update the man page to use the "modern" markup and sections.

Prep for future cups(1) man page that provides an overview of CUPS and the
standard environment.

Update man page converter to not add whitespace before punctuation.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11770 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix changelog.
msweet [Fri, 28 Mar 2014 13:59:52 +0000 (13:59 +0000)] 
Fix changelog.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11769 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoChangelog.
msweet [Fri, 28 Mar 2014 13:52:25 +0000 (13:52 +0000)] 
Changelog.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11768 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoApply changes from 1.7 branch; still need to migrate the SSPI code to the new
msweet [Fri, 28 Mar 2014 13:05:06 +0000 (13:05 +0000)] 
Apply changes from 1.7 branch; still need to migrate the SSPI code to the new
TLS infrastructure.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11762 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoUpdate CUPS filter/backend programming guide (STR #4355)
msweet [Thu, 27 Mar 2014 20:57:18 +0000 (20:57 +0000)] 
Update CUPS filter/backend programming guide (STR #4355)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11758 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix a memory leak in the label printer driver (STR #4393)
msweet [Thu, 27 Mar 2014 17:06:12 +0000 (17:06 +0000)] 
Fix a memory leak in the label printer driver (STR #4393)

Make sure we free CompBuffer and LastBuffer as needed in EndPage.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11755 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoPrinter classes were not accessible on OS X (<rdar://problem/16385643>)
msweet [Thu, 27 Mar 2014 14:35:02 +0000 (14:35 +0000)] 
Printer classes were not accessible on OS X (<rdar://problem/16385643>)

Map localhost access to the domain socket when the port number matches.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11749 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix install failure.
msweet [Thu, 27 Mar 2014 01:15:48 +0000 (01:15 +0000)] 
Fix install failure.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11747 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoChangelog.
msweet [Wed, 26 Mar 2014 21:16:52 +0000 (21:16 +0000)] 
Changelog.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11744 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years ago<rdar://problem/16351701> Dial string is escaped twice by the parcent mark in IPPFAXOUT.
msweet [Wed, 26 Mar 2014 21:15:32 +0000 (21:15 +0000)] 
<rdar://problem/16351701> Dial string is escaped twice by the parcent mark in IPPFAXOUT.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11743 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix early 200 response bug.
msweet [Wed, 26 Mar 2014 21:05:19 +0000 (21:05 +0000)] 
Fix early 200 response bug.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11738 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoDon't add // to geo: URIs.
msweet [Wed, 26 Mar 2014 19:51:59 +0000 (19:51 +0000)] 
Don't add // to geo: URIs.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11736 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix documentation and naming of subscription operations (STR #4389)
msweet [Tue, 25 Mar 2014 18:01:41 +0000 (18:01 +0000)] 
Fix documentation and naming of subscription operations (STR #4389)

(also maintaining compatibility mappings for names and enums...)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11733 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix cups-exec calling bug on Linux.
msweet [Fri, 21 Mar 2014 19:14:42 +0000 (19:14 +0000)] 
Fix cups-exec calling bug on Linux.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11729 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoTry again...
msweet [Fri, 21 Mar 2014 18:46:35 +0000 (18:46 +0000)] 
Try again...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11728 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAnd no testprint file either.
msweet [Fri, 21 Mar 2014 18:45:11 +0000 (18:45 +0000)] 
And no testprint file either.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11727 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoDon't package the banner files on Linux.
msweet [Fri, 21 Mar 2014 18:41:55 +0000 (18:41 +0000)] 
Don't package the banner files on Linux.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11726 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoOne more file...
msweet [Fri, 21 Mar 2014 18:37:13 +0000 (18:37 +0000)] 
One more file...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11725 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAnother fix.
msweet [Fri, 21 Mar 2014 18:35:59 +0000 (18:35 +0000)] 
Another fix.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11724 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoWork on fixing RPM builds.
msweet [Fri, 21 Mar 2014 18:34:38 +0000 (18:34 +0000)] 
Work on fixing RPM builds.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11723 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix systemd build on Linux.
msweet [Fri, 21 Mar 2014 18:28:30 +0000 (18:28 +0000)] 
Fix systemd build on Linux.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11722 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix builds on Linux.
msweet [Fri, 21 Mar 2014 18:17:50 +0000 (18:17 +0000)] 
Fix builds on Linux.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11720 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoRemove AppleTalk header checks (wow, that should have been removed 4 years ago!)
msweet [Fri, 21 Mar 2014 18:07:23 +0000 (18:07 +0000)] 
Remove AppleTalk header checks (wow, that should have been removed 4 years ago!)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11719 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix makefile tab issues.
msweet [Fri, 21 Mar 2014 18:04:48 +0000 (18:04 +0000)] 
Fix makefile tab issues.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11718 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAdd systemd support to cupsd (STR #3282)
msweet [Fri, 21 Mar 2014 16:42:53 +0000 (16:42 +0000)] 
Add systemd support to cupsd (STR #3282)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11717 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoSave work on generalizing startup of cupsd…
msweet [Fri, 21 Mar 2014 14:50:24 +0000 (14:50 +0000)] 
Save work on generalizing startup of cupsd…

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11716 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoRename configure.in to configure.ac.
msweet [Fri, 21 Mar 2014 13:52:34 +0000 (13:52 +0000)] 
Rename configure.in to configure.ac.

Rename cups-launchd.m4 to cups-ondemand.m4 in preparation for systemd support.

Add more files to the Xcode project.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11715 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix handling of default username.
msweet [Wed, 19 Mar 2014 18:33:23 +0000 (18:33 +0000)] 
Fix handling of default username.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11705 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoMore sandbox tweaking for IOKit access of USB/Bluetooth.
msweet [Tue, 18 Mar 2014 17:50:41 +0000 (17:50 +0000)] 
More sandbox tweaking for IOKit access of USB/Bluetooth.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11702 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoMore sandbox tweaks for Fax.
msweet [Mon, 17 Mar 2014 18:28:28 +0000 (18:28 +0000)] 
More sandbox tweaks for Fax.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11701 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoUpdate the localizations for some printer-state-reasons (<rdar://problem/16340893>)
msweet [Mon, 17 Mar 2014 11:58:18 +0000 (11:58 +0000)] 
Update the localizations for some printer-state-reasons (<rdar://problem/16340893>)

This changes the paper and output area/tray messages to be indefinite about
the number of trays, since these reasons are "roll-up" values for all trays.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11698 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoMore Avahi changes to make cupsd resiliant to Avahi failures (STR #4373)
msweet [Wed, 5 Mar 2014 21:10:04 +0000 (21:10 +0000)] 
More Avahi changes to make cupsd resiliant to Avahi failures (STR #4373)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11687 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agocupsEnumDests did not set the "is_default" field (STR #4332)
msweet [Wed, 5 Mar 2014 20:11:06 +0000 (20:11 +0000)] 
cupsEnumDests did not set the "is_default" field (STR #4332)

Copy the default code from cupsGetDests2...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11686 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix typo (STR #3252)
msweet [Wed, 5 Mar 2014 20:03:29 +0000 (20:03 +0000)] 
Fix typo (STR #3252)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11685 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoUpdate Linux "relro" support (STR #4349)
msweet [Wed, 5 Mar 2014 20:00:54 +0000 (20:00 +0000)] 
Update Linux "relro" support (STR #4349)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11683 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoScheduler crash due to unknown circumstances leading to NULL policy pointer (STR...
msweet [Wed, 5 Mar 2014 19:07:24 +0000 (19:07 +0000)] 
Scheduler crash due to unknown circumstances leading to NULL policy pointer (STR #4378)

This should never happen, but could be due to a patch applied for Debian/Ubuntu.

This change logs the occurrence and uses the default policy if the policy is
NULL.  If DefaultPolicyPtr is NULL (something that definitely should never
happen when cupsd is accepting client connections) then we will still crash.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11681 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agocupsDoIORequest could miss the server status, causing failed lpadmin and other admini...
msweet [Wed, 5 Mar 2014 18:51:44 +0000 (18:51 +0000)] 
cupsDoIORequest could miss the server status, causing failed lpadmin and other administrative commands (STR #4386)

Look for 100-continue or lower, and get the final status code if so.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11680 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agocupsEnumDests didn't always call the callback function (STR #4380)
msweet [Wed, 5 Mar 2014 12:52:57 +0000 (12:52 +0000)] 
cupsEnumDests didn't always call the callback function (STR #4380)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11674 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoInitial work on man page modernization (STR #4372)
msweet [Tue, 4 Mar 2014 18:16:46 +0000 (18:16 +0000)] 
Initial work on man page modernization (STR #4372)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11671 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoDon't provide human-readable log message.
msweet [Tue, 4 Mar 2014 14:53:34 +0000 (14:53 +0000)] 
Don't provide human-readable log message.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11669 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoTweak.
msweet [Mon, 3 Mar 2014 18:55:03 +0000 (18:55 +0000)] 
Tweak.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11666 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoTweak.
msweet [Mon, 3 Mar 2014 18:52:14 +0000 (18:52 +0000)] 
Tweak.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11664 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoMore tweakage.
msweet [Mon, 3 Mar 2014 18:40:35 +0000 (18:40 +0000)] 
More tweakage.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11663 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoMore sandbox tweaks.
msweet [Mon, 3 Mar 2014 16:53:05 +0000 (16:53 +0000)] 
More sandbox tweaks.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11661 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoMore sandbox tweaks.
msweet [Mon, 3 Mar 2014 16:49:32 +0000 (16:49 +0000)] 
More sandbox tweaks.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11659 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoRemove SVN Id keywords from config files.
msweet [Mon, 3 Mar 2014 16:46:23 +0000 (16:46 +0000)] 
Remove SVN Id keywords from config files.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11658 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoDon't use launchd_activate_socket on 10.9.
msweet [Fri, 28 Feb 2014 19:29:29 +0000 (19:29 +0000)] 
Don't use launchd_activate_socket on 10.9.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11656 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoOnly log when we aren't using the generic class driver.
msweet [Fri, 28 Feb 2014 17:19:43 +0000 (17:19 +0000)] 
Only log when we aren't using the generic class driver.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11653 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoLog 32-bit vs. 64-bit class driver usage.
msweet [Thu, 27 Feb 2014 17:06:06 +0000 (17:06 +0000)] 
Log 32-bit vs. 64-bit class driver usage.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11649 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoChangelog update.
msweet [Thu, 27 Feb 2014 15:58:44 +0000 (15:58 +0000)] 
Changelog update.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11644 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years ago"lp -i job-id -H hold" did not work (STR #nnn)
msweet [Mon, 24 Feb 2014 16:09:05 +0000 (16:09 +0000)] 
"lp -i job-id -H hold" did not work (STR #nnn)

Add Set-Job-Attributes and Set-Document-Attributes to job and document
creation operation lists.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11640 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoDon't show error message when we are just canceling a job to reprocess it.
msweet [Fri, 21 Feb 2014 19:49:30 +0000 (19:49 +0000)] 
Don't show error message when we are just canceling a job to reprocess it.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11637 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoResend jobs as raster if the original format fails, e.g., PDF (<rdar://problem/15583721>)
msweet [Fri, 21 Feb 2014 19:42:14 +0000 (19:42 +0000)] 
Resend jobs as raster if the original format fails, e.g., PDF (<rdar://problem/15583721>)

Add retry_as_raster flag to job object.

Add new JOBSTATE: cups-retry-as-raster message.

When starting a job, check whether the flag is set, and if so use image/urf
or image/pwg-raster as the alternate format.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11635 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoRemove the deprecated ServiceIPC key and add the recommended EnableTransactions
msweet [Fri, 21 Feb 2014 13:05:19 +0000 (13:05 +0000)] 
Remove the deprecated ServiceIPC key and add the recommended EnableTransactions
key.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11633 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoSandbox tweaking.
msweet [Fri, 21 Feb 2014 12:56:34 +0000 (12:56 +0000)] 
Sandbox tweaking.

ipptool man page tweak.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11631 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoipptool doco updates (STR #3259, STR #4346)
msweet [Thu, 20 Feb 2014 16:42:16 +0000 (16:42 +0000)] 
ipptool doco updates (STR #3259, STR #4346)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11629 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoSeveral libcups files did not have the Apple license exception notice (STR #4361)
msweet [Thu, 20 Feb 2014 16:29:50 +0000 (16:29 +0000)] 
Several libcups files did not have the Apple license exception notice (STR #4361)

VEOL2 isn't available on older System V versions, apparently...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11628 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoSeveral libcups files did not have the Apple license exception notice (STR #4361)
msweet [Thu, 20 Feb 2014 16:15:09 +0000 (16:15 +0000)] 
Several libcups files did not have the Apple license exception notice (STR #4361)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11627 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix a D-BUS threading issue that caused the scheduler to crash (STR #4347)
msweet [Thu, 20 Feb 2014 16:09:55 +0000 (16:09 +0000)] 
Fix a D-BUS threading issue that caused the scheduler to crash (STR #4347)

Apparently D-BUS is not thread-safe by default...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11626 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoThe scheduler now automatically reconnects to Avahi as needed (STR #4370)
msweet [Thu, 20 Feb 2014 16:01:02 +0000 (16:01 +0000)] 
The scheduler now automatically reconnects to Avahi as needed (STR #4370)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11625 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoThe scheduler did not handle GET requests for the log files properly (STR #3265)
msweet [Thu, 20 Feb 2014 15:21:05 +0000 (15:21 +0000)] 
The scheduler did not handle GET requests for the log files properly (STR #3265)

Limit the number of bytes read to the original file size.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11624 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoThe dnssd backend did not always report all discovered printers using Avahi
msweet [Wed, 19 Feb 2014 20:15:53 +0000 (20:15 +0000)] 
The dnssd backend did not always report all discovered printers using Avahi
(STR #4365)

Keep track of active browsers, don't stop until Avahi gives up.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11622 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoThe Zebra printer driver did not properly handle negative "label top" values
msweet [Wed, 19 Feb 2014 20:07:09 +0000 (20:07 +0000)] 
The Zebra printer driver did not properly handle negative "label top" values
(STR #4354)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11621 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoProtect against HTML in the URL (STR #4356)
msweet [Wed, 19 Feb 2014 19:56:56 +0000 (19:56 +0000)] 
Protect against HTML in the URL (STR #4356)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11620 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoThe scheduler did not always update the MakeModel value in printers.conf after
msweet [Wed, 19 Feb 2014 19:21:18 +0000 (19:21 +0000)] 
The scheduler did not always update the MakeModel value in printers.conf after
updating the driver (STR #4264)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11618 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoRemove old logging of IPP conformance issues.
msweet [Wed, 19 Feb 2014 19:16:36 +0000 (19:16 +0000)] 
Remove old logging of IPP conformance issues.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11617 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoChangelog for STR #4351 (cups-lpd doesn't support large files)
msweet [Wed, 19 Feb 2014 19:07:31 +0000 (19:07 +0000)] 
Changelog for STR #4351 (cups-lpd doesn't support large files)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11616 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix a bug in the status reading code when sending a compressed data stream to an...
msweet [Wed, 19 Feb 2014 16:49:29 +0000 (16:49 +0000)] 
Fix a bug in the status reading code when sending a compressed data stream to an IPP printer/server (<rdar://problem/16019623>)

Don't use the compression buffer when reading, don't use the decompression
buffer when writing.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11613 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoDon't use numeric hostnames for certificates (always a hostname).
msweet [Wed, 19 Feb 2014 16:36:17 +0000 (16:36 +0000)] 
Don't use numeric hostnames for certificates (always a hostname).

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11612 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoMore sandbox profile tweaks.
msweet [Wed, 19 Feb 2014 16:04:18 +0000 (16:04 +0000)] 
More sandbox profile tweaks.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11609 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoTweak SMB rules again.
msweet [Tue, 18 Feb 2014 20:13:58 +0000 (20:13 +0000)] 
Tweak SMB rules again.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11607 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoTweak SMB rule.
msweet [Tue, 18 Feb 2014 19:50:46 +0000 (19:50 +0000)] 
Tweak SMB rule.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11605 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix typo.
msweet [Tue, 18 Feb 2014 19:21:40 +0000 (19:21 +0000)] 
Fix typo.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11602 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAdd more exceptions to the sandbox profile.
msweet [Tue, 18 Feb 2014 18:58:40 +0000 (18:58 +0000)] 
Add more exceptions to the sandbox profile.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11599 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix clang warning.
msweet [Tue, 18 Feb 2014 18:58:19 +0000 (18:58 +0000)] 
Fix clang warning.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11598 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAdd debug logging for launchd checkin.
msweet [Tue, 18 Feb 2014 18:12:23 +0000 (18:12 +0000)] 
Add debug logging for launchd checkin.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11596 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix build errors on Fedora.
msweet [Fri, 14 Feb 2014 20:09:01 +0000 (20:09 +0000)] 
Fix build errors on Fedora.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11594 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoSupport new launch_activate_socket API on OS X (<rdar://problem/16069952>)
msweet [Fri, 14 Feb 2014 16:07:13 +0000 (16:07 +0000)] 
Support new launch_activate_socket API on OS X (<rdar://problem/16069952>)

Check for new function at configure time.

Define prototype pending public API header.

Use it to get the list of Listeners sockets in launchd_checkin.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11591 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoMake sure job template attributes are included in Validate-Job requests.
msweet [Thu, 13 Feb 2014 19:49:51 +0000 (19:49 +0000)] 
Make sure job template attributes are included in Validate-Job requests.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11587 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years ago<rdar://problem/16041820> Initial edit of a new document on Syrah hangs, apparently...
msweet [Thu, 13 Feb 2014 19:37:53 +0000 (19:37 +0000)] 
<rdar://problem/16041820> Initial edit of a new document on Syrah hangs, apparently waiting for printing info

Increase default idle exit timeout to 60 seconds, as 10 seconds can make launchd
throttle cupsd relaunches.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11585 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoCorrectly log the connected client from a domain socket.
msweet [Wed, 12 Feb 2014 16:15:46 +0000 (16:15 +0000)] 
Correctly log the connected client from a domain socket.

Update the comment in the launchd plist to avoid a BBEdit syntax coloring bug.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11581 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years ago<rdar://problem/15939788> Improve CUPS sandboxing
msweet [Wed, 12 Feb 2014 01:27:42 +0000 (01:27 +0000)] 
<rdar://problem/15939788> Improve CUPS sandboxing

Fix a bug in cups-exec where (for some reason) the call to execv was missing...

Update cups-exec to take real options (-u uid, -g gid, -n nice-value) so that
existing applications that use cups-exec won't need changes.  This will also
allow for future changes without breaking things.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11578 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix whitespace.
msweet [Tue, 11 Feb 2014 19:51:56 +0000 (19:51 +0000)] 
Fix whitespace.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11577 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years ago<rdar://problem/15939788> Improve CUPS sandboxing
msweet [Tue, 11 Feb 2014 15:06:01 +0000 (15:06 +0000)] 
<rdar://problem/15939788> Improve CUPS sandboxing

- Use separate profiles for filters and backends.
- Add Sandboxing configuration directive to control whether a strict or relaxed
  profile is used.
- The new strict profile is a whitelist profile that does not allow unlimited
  networking, among other things.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11576 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoAdd missing IPP definitions.
msweet [Tue, 11 Feb 2014 15:04:31 +0000 (15:04 +0000)] 
Add missing IPP definitions.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11575 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix double-include that caused problems.
msweet [Tue, 11 Feb 2014 15:04:16 +0000 (15:04 +0000)] 
Fix double-include that caused problems.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11574 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years ago<rdar://problem/15958253> 14A125b: cupsd console output when launching AddPrinter
msweet [Fri, 7 Feb 2014 21:34:06 +0000 (21:34 +0000)] 
<rdar://problem/1595825314A125b: cupsd console output when launching AddPrinter

Use posix_spawn and move all of the setuid/setgid/setgroups/nice stuff to
cups-exec.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11564 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFull sweep of all Clang warnings, plus some bug fixes for incorrect memcpy usage.
msweet [Thu, 6 Feb 2014 18:33:34 +0000 (18:33 +0000)] 
Full sweep of all Clang warnings, plus some bug fixes for incorrect memcpy usage.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11558 a1ca3aef-8c08-0410-bb20-df032aa958be

10 years agoFix clang-reported issues (<rdar://problem/15936066>)
msweet [Wed, 29 Jan 2014 16:29:50 +0000 (16:29 +0000)] 
Fix clang-reported issues (<rdar://problem/15936066>)

- httpAddrGetList could leak memory.
- cupsRasterInterpretPPD could access freed memory.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11550 a1ca3aef-8c08-0410-bb20-df032aa958be