]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
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

10 years agoIgnore generated testcache unit test program.
msweet [Wed, 29 Jan 2014 01:53:42 +0000 (01:53 +0000)] 
Ignore generated testcache unit test program.

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

10 years agoAdd PPD cache unit test program.
msweet [Wed, 29 Jan 2014 01:52:38 +0000 (01:52 +0000)] 
Add PPD cache unit test program.

(Current focus is on finishings)

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

10 years agocupsRasterInterpretPPD now supports the Orientation header in order to support long...
msweet [Wed, 22 Jan 2014 01:40:13 +0000 (01:40 +0000)] 
cupsRasterInterpretPPD now supports the Orientation header in order to support long-edge feed raster printers (<rdar://problem/15837926>)

Rotate page size and margins based on Orientation key in page device dictionary.  Note that this requires support in the RIP filter as well.

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

10 years agoUpdate Xcode config.h file.
msweet [Wed, 15 Jan 2014 19:07:03 +0000 (19:07 +0000)] 
Update Xcode config.h file.

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

10 years agoAdd more debug stuff.
msweet [Wed, 15 Jan 2014 19:04:56 +0000 (19:04 +0000)] 
Add more debug stuff.

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

10 years agoAlso create detached PGP signature of tarballs.
msweet [Wed, 8 Jan 2014 16:36:57 +0000 (16:36 +0000)] 
Also create detached PGP signature of tarballs.

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

10 years agoFix typo in spec file.
msweet [Wed, 8 Jan 2014 16:24:25 +0000 (16:24 +0000)] 
Fix typo in spec file.

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

10 years agoUpdate copyrights.
msweet [Wed, 8 Jan 2014 16:08:47 +0000 (16:08 +0000)] 
Update copyrights.

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

10 years agoCUPS incorrectly used the USER environment variable when the name did not match
msweet [Wed, 8 Jan 2014 16:00:10 +0000 (16:00 +0000)] 
CUPS incorrectly used the USER environment variable when the name did not match
the user ID (STR #4327)

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

10 years agoChangelog update.
msweet [Wed, 8 Jan 2014 13:59:19 +0000 (13:59 +0000)] 
Changelog update.

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

10 years agoThe D-BUS notifier did not remove its lockfile (STR #4314)
msweet [Mon, 6 Jan 2014 22:17:44 +0000 (22:17 +0000)] 
The D-BUS notifier did not remove its lockfile (STR #4314)

Add signal handler and remove lockfile.

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

10 years agolpq and lpstat did not list jobs in the correct order when priorities were specified...
msweet [Mon, 6 Jan 2014 22:05:26 +0000 (22:05 +0000)] 
lpq and lpstat did not list jobs in the correct order when priorities were specified (STR #4326)

The default list should be ActiveJobs, not Jobs.

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

10 years agoUsing "@IF(name)" in an Allow or Deny rule did not work (STR #4328)
msweet [Mon, 6 Jan 2014 21:59:35 +0000 (21:59 +0000)] 
Using "@IF(name)" in an Allow or Deny rule did not work (STR #4328)

Move the cupsdNetIFUpdate call before the name check - we need to update for all names.

Add debug logging to show interfaces that are skipped and other "errors".

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

10 years agoCUPS did not support "auto-monochrome" or "process-monochrome" for the "print-color...
msweet [Sun, 22 Dec 2013 05:29:06 +0000 (05:29 +0000)] 
CUPS did not support "auto-monochrome" or "process-monochrome" for the "print-color-mode" option (<rdar://problem/15482520>)

Map monochrome to auto-monochrome or process-monochrome as needed.

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

10 years agoThe IPP backend did not wait for a busy printer to become available before attempting...
msweet [Sun, 22 Dec 2013 05:17:53 +0000 (05:17 +0000)] 
The IPP backend did not wait for a busy printer to become available before attempting to print (<rdar://problem/15465667>)

When busy, set the last IPP status to busy so we retry.

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

10 years agoShared printers could become inaccessible after a few days on OS X (<rdar://problem...
msweet [Sun, 22 Dec 2013 05:04:29 +0000 (05:04 +0000)] 
Shared printers could become inaccessible after a few days on OS X (<rdar://problem/15426838>)

Need to set TMPDIR so that the sandbox profiles are created in a safe temporary directory.

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

10 years agoSecurity: the lppasswd program incorrectly used settings from ~/.cups/client.conf...
msweet [Sun, 22 Dec 2013 00:44:02 +0000 (00:44 +0000)] 
Security: the lppasswd program incorrectly used settings from ~/.cups/client.conf (STR #4319)

Don't use the HOME environment variable when running setuid, setgid, or as root.

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

10 years agoDon't do TLS upgrade unless the Upgrade header says to...
msweet [Sat, 21 Dec 2013 18:39:06 +0000 (18:39 +0000)] 
Don't do TLS upgrade unless the Upgrade header says to...

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

10 years agoRemove commented-out code.
msweet [Sat, 21 Dec 2013 17:39:24 +0000 (17:39 +0000)] 
Remove commented-out code.

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

10 years agoDon't try to access non-existent keychain.
msweet [Thu, 19 Dec 2013 20:29:32 +0000 (20:29 +0000)] 
Don't try to access non-existent keychain.

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

10 years agoMake sure we don't use functions that are not available.
msweet [Thu, 19 Dec 2013 20:25:35 +0000 (20:25 +0000)] 
Make sure we don't use functions that are not available.

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

10 years agoUpdate CMP to reflect current CUPS.org web site.
msweet [Thu, 19 Dec 2013 16:41:53 +0000 (16:41 +0000)] 
Update CMP to reflect current CUPS.org web site.

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

10 years agoFix appearance on Firefox.
msweet [Wed, 18 Dec 2013 23:56:11 +0000 (23:56 +0000)] 
Fix appearance on Firefox.

Fix link to CUPS.org.

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

10 years agoUse translucent header/footer.
msweet [Wed, 18 Dec 2013 23:36:28 +0000 (23:36 +0000)] 
Use translucent header/footer.

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

10 years agoTweak web interface content.
msweet [Wed, 18 Dec 2013 20:20:32 +0000 (20:20 +0000)] 
Tweak web interface content.

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

10 years agoServer-side TLS is now working (yay!)
msweet [Wed, 18 Dec 2013 20:20:04 +0000 (20:20 +0000)] 
Server-side TLS is now working (yay!)

Still need to finish up the load/save/compare function for certs, and do the
corresponding code for GNU TLS.

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

10 years agoSave work...
msweet [Thu, 12 Dec 2013 17:55:04 +0000 (17:55 +0000)] 
Save work...

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

10 years agoDrop support for ServerCertificate and ServerKey directives; now we just support
msweet [Wed, 11 Dec 2013 02:23:54 +0000 (02:23 +0000)] 
Drop support for ServerCertificate and ServerKey directives; now we just support
ServerKeychain on all platforms.

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

10 years agoThe libusb-based USB backend incorrectly used write timeouts
msweet [Mon, 9 Dec 2013 19:26:39 +0000 (19:26 +0000)] 
The libusb-based USB backend incorrectly used write timeouts
(<rdar://problem/15564888>)

Closer to final server TLS APIs.

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

10 years agoSync up with IPP Finishings 2.0 values.
msweet [Fri, 6 Dec 2013 01:58:28 +0000 (01:58 +0000)] 
Sync up with IPP Finishings 2.0 values.

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

10 years agoChangelog.
msweet [Thu, 5 Dec 2013 20:01:42 +0000 (20:01 +0000)] 
Changelog.

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

10 years agoFix builds.
msweet [Thu, 5 Dec 2013 19:51:58 +0000 (19:51 +0000)] 
Fix builds.

Fix tel: URIs (<rdar://problem/15418463>)

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

10 years agoSave work on TLS stuff (does not compile)
msweet [Thu, 21 Nov 2013 17:33:57 +0000 (17:33 +0000)] 
Save work on TLS stuff (does not compile)

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

10 years agoChangelog.
msweet [Tue, 12 Nov 2013 14:11:33 +0000 (14:11 +0000)] 
Changelog.

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

10 years agoSave work.
msweet [Fri, 8 Nov 2013 20:42:05 +0000 (20:42 +0000)] 
Save work.

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

10 years agoFix typo.
msweet [Fri, 8 Nov 2013 19:50:52 +0000 (19:50 +0000)] 
Fix typo.

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

10 years agoCurrent iconv uses "SHIFTJIS_X0213" instead of "jis-x0213".
msweet [Fri, 8 Nov 2013 19:43:56 +0000 (19:43 +0000)] 
Current iconv uses "SHIFTJIS_X0213" instead of "jis-x0213".

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

10 years agoFix crash bug with GNU TLS.
msweet [Fri, 8 Nov 2013 16:01:19 +0000 (16:01 +0000)] 
Fix crash bug with GNU TLS.

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

10 years agoDrop OpenSSL support.
msweet [Fri, 8 Nov 2013 15:35:27 +0000 (15:35 +0000)] 
Drop OpenSSL support.

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

10 years agoFix free of argv values in cupsdContinueJob.
msweet [Fri, 8 Nov 2013 15:16:53 +0000 (15:16 +0000)] 
Fix free of argv values in cupsdContinueJob.

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

10 years agoEliminate compiler warning.
msweet [Thu, 7 Nov 2013 23:23:23 +0000 (23:23 +0000)] 
Eliminate compiler warning.

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