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

10 years ago<rdar://problem/15313228> "Canceling stuck job after XXX seconds" message should...
msweet [Thu, 7 Nov 2013 14:33:00 +0000 (14:33 +0000)] 
<rdar://problem/15313228> "Canceling stuck job after XXX seconds" message should use "job-cancel-after" value

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

10 years agoChange new keyword to "cups-waiting-for-job-completed" (<rdar://problem/14323704>)
msweet [Thu, 7 Nov 2013 12:47:57 +0000 (12:47 +0000)] 
Change new keyword to "cups-waiting-for-job-completed" (<rdar://problem/14323704>)

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

10 years agoDropped "dark wake" support on OS X, which was preventing portables from going
msweet [Thu, 7 Nov 2013 01:20:23 +0000 (01:20 +0000)] 
Dropped "dark wake" support on OS X, which was preventing portables from going
to sleep when there was a stuck job. We now use a variation of the CUPS 1.4
sleep support to do a cleaner sleep (<rdar://problem/14323704>)

Aside from removing all of the power assertions, we now track a new
"cups-waiting-for-completed" state keyword that tells cupsd it can SIGKILL a
backend without side-effects - then if we are just waiting for the job to
complete we can go to sleep immediately.

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

10 years agoMore changelog.
msweet [Wed, 6 Nov 2013 21:38:03 +0000 (21:38 +0000)] 
More changelog.

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

10 years agoChangelog.
msweet [Wed, 6 Nov 2013 21:36:43 +0000 (21:36 +0000)] 
Changelog.

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

10 years agoFix "make check" on Linux (<rdar://problem/14292998>)
msweet [Wed, 6 Nov 2013 20:11:11 +0000 (20:11 +0000)] 
Fix "make check" on Linux (<rdar://problem/14292998>)

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

10 years agoGet builds going again with GNU TLS.
msweet [Wed, 6 Nov 2013 01:57:02 +0000 (01:57 +0000)] 
Get builds going again with GNU TLS.

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

10 years agoPrinting to a raw queue could result in corrupt output due to opportunistic
msweet [Tue, 5 Nov 2013 15:12:57 +0000 (15:12 +0000)] 
Printing to a raw queue could result in corrupt output due to opportunistic
compression (<rdar://problem/15008524>)

(a similar fix needs to be applied to older CUPS distributions)

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

10 years agoOne more tweak - pull in gnutls-devel and pam-devel unconditionally.
msweet [Tue, 5 Nov 2013 02:23:49 +0000 (02:23 +0000)] 
One more tweak - pull in gnutls-devel and pam-devel unconditionally.

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

10 years agoThe RPM spec file did not list the build requirements; this was on purpose, but
msweet [Tue, 5 Nov 2013 02:15:43 +0000 (02:15 +0000)] 
The RPM spec file did not list the build requirements; this was on purpose, but
now we are listing the Red Hat package names (<rdar://problem/15375760>)

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

10 years ago<rdar://problem/15382819> cups.org: String pool corruption bug
msweet [Tue, 5 Nov 2013 01:05:00 +0000 (01:05 +0000)] 
<rdar://problem/15382819> cups.org: String pool corruption bug

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

10 years ago<rdar://problem/15332672> cups.org: Always use cupsdLogJob for job log messages
msweet [Tue, 5 Nov 2013 00:45:40 +0000 (00:45 +0000)] 
<rdar://problem/15332672> cups.org: Always use cupsdLogJob for job log messages

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

10 years ago<rdar://problem/15386424> cups.org: gunzip bug prevents use of some gzip'd PPD files...
msweet [Mon, 4 Nov 2013 23:47:03 +0000 (23:47 +0000)] 
<rdar://problem/15386424> cups.org: gunzip bug prevents use of some gzip'd PPD files (and other issues)

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

10 years agoFix another STACK-detected bug.
msweet [Fri, 1 Nov 2013 18:21:42 +0000 (18:21 +0000)] 
Fix another STACK-detected bug.

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

10 years agoFix a few STACK-detected issues:
msweet [Wed, 30 Oct 2013 15:08:07 +0000 (15:08 +0000)] 
Fix a few STACK-detected issues:

backend/ipp.c: Off-by-one error in quote_string
test/ipptool.c: Avoid possible optimizer error by using ippSetCollection API.

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

10 years agoVerify that the lpadmin command lays down a PPD from a driver info file.
msweet [Mon, 28 Oct 2013 16:00:50 +0000 (16:00 +0000)] 
Verify that the lpadmin command lays down a PPD from a driver info file.

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

10 years agoFix <rdar://problem/15331639> cups.org: Regression in auto-debug logging
msweet [Mon, 28 Oct 2013 15:35:44 +0000 (15:35 +0000)] 
Fix <rdar://problem/15331639> cups.org: Regression in auto-debug logging

Need to use memcpy instead of strlcpy or strcpy.

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

10 years agoFix potential crasher if a compressed request is interrupted.
msweet [Wed, 23 Oct 2013 20:33:10 +0000 (20:33 +0000)] 
Fix potential crasher if a compressed request is interrupted.

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

10 years agoFix IPP backend to send print-color-mode (<rdar://problem/15259768>)
msweet [Wed, 23 Oct 2013 19:53:00 +0000 (19:53 +0000)] 
Fix IPP backend to send print-color-mode (<rdar://problem/15259768>)

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

10 years agoSome more tweaks for the mobile css...
msweet [Mon, 21 Oct 2013 22:24:07 +0000 (22:24 +0000)] 
Some more tweaks for the mobile css...

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

10 years agoFix httpWriteResponse state values after a 0-length response.
msweet [Mon, 21 Oct 2013 21:41:21 +0000 (21:41 +0000)] 
Fix httpWriteResponse state values after a 0-length response.

Fix text/css MIME type rules (so css files don't get mistaken for C source)

New web interface templates and stylesheet that works better on mobile
browsers like the iPhone.

Touch icon for mobile bookmarks.

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

10 years agoRemove web interface localizations (they will no longer be valid in 2.0...)
msweet [Mon, 21 Oct 2013 16:25:09 +0000 (16:25 +0000)] 
Remove web interface localizations (they will no longer be valid in 2.0...)

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

10 years agoFix some state transition breakage.
msweet [Mon, 21 Oct 2013 16:22:14 +0000 (16:22 +0000)] 
Fix some state transition breakage.

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

10 years agoThe lpadmin command did not send the PPD name from the "-m" option
msweet [Fri, 18 Oct 2013 21:14:44 +0000 (21:14 +0000)] 
The lpadmin command did not send the PPD name from the "-m" option
(<rdar://problem/15264697>)

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

10 years agoFix some issues detected by clang.
msweet [Fri, 18 Oct 2013 20:55:33 +0000 (20:55 +0000)] 
Fix some issues detected by clang.

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

10 years agoRemove support for AIX, HP-UX, and OSF/1.
msweet [Fri, 18 Oct 2013 20:36:01 +0000 (20:36 +0000)] 
Remove support for AIX, HP-UX, and OSF/1.

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

10 years agoDrop old private APIs that are no longer used/supported.
msweet [Fri, 18 Oct 2013 17:18:20 +0000 (17:18 +0000)] 
Drop old private APIs that are no longer used/supported.

Sync up exports file for Windows.

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

10 years agoGet builds working again (still need to fill in the server-side stuff for TLS)
msweet [Thu, 17 Oct 2013 16:44:47 +0000 (16:44 +0000)] 
Get builds working again (still need to fill in the server-side stuff for TLS)

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

10 years agoSave work to move all of the TLS support code into libcups (this does not compile)
msweet [Thu, 17 Oct 2013 15:53:07 +0000 (15:53 +0000)] 
Save work to move all of the TLS support code into libcups (this does not compile)

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

10 years agoUse httpAddrListen and new httpAddrClose in cupsd and other places that need it.
msweet [Thu, 17 Oct 2013 00:23:06 +0000 (00:23 +0000)] 
Use httpAddrListen and new httpAddrClose in cupsd and other places that need it.

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

10 years agoFix "make check".
msweet [Wed, 16 Oct 2013 01:27:57 +0000 (01:27 +0000)] 
Fix "make check".

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

10 years agoSave work - almost have "make check" working again (some logging and cups-driverd
msweet [Tue, 15 Oct 2013 17:49:31 +0000 (17:49 +0000)] 
Save work - almost have "make check" working again (some logging and cups-driverd
issues to work out...)

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

10 years agoSave work on cupsd - almost there...
msweet [Wed, 9 Oct 2013 22:44:03 +0000 (22:44 +0000)] 
Save work on cupsd - almost there...

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

10 years agoRe-enable name resolution of client addresses.
msweet [Fri, 4 Oct 2013 15:54:22 +0000 (15:54 +0000)] 
Re-enable name resolution of client addresses.

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

10 years agoSave work; public accessors for more stuff, continue transition away from private
msweet [Fri, 4 Oct 2013 03:11:42 +0000 (03:11 +0000)] 
Save work; public accessors for more stuff, continue transition away from private
APIs.

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

10 years agoNew APIs for servers.
msweet [Tue, 1 Oct 2013 03:39:09 +0000 (03:39 +0000)] 
New APIs for servers.

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

10 years agoSave work.
msweet [Mon, 30 Sep 2013 21:29:56 +0000 (21:29 +0000)] 
Save work.

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

10 years agoChangelog.
msweet [Fri, 27 Sep 2013 16:17:50 +0000 (16:17 +0000)] 
Changelog.

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

10 years ago<rdar://problem/14302628> SNMP: Use prtMarkerSuppliesClass property to determine...
msweet [Fri, 27 Sep 2013 16:16:45 +0000 (16:16 +0000)] 
<rdar://problem/14302628> SNMP: Use prtMarkerSuppliesClass property to determine fillable/consumed value

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

10 years agoLog power messages.
msweet [Fri, 27 Sep 2013 15:08:17 +0000 (15:08 +0000)] 
Log power messages.

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

10 years ago<rdar://problem/15065555> CUPS sometimes leaves behind a zombie file
msweet [Fri, 27 Sep 2013 14:22:51 +0000 (14:22 +0000)] 
<rdar://problem/15065555> CUPS sometimes leaves behind a zombie file

Delete backup PPD and interface script files.

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

10 years ago<rdar://problem/15090332> CUPS responds to HEAD requests with incorrect content-type...
msweet [Fri, 27 Sep 2013 14:08:59 +0000 (14:08 +0000)] 
<rdar://problem/15090332> CUPS responds to HEAD requests with incorrect content-type header, responds with request

Don't pass request line as content type.

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

10 years agoDrop "contents" requirement from source file header. Most IDEs now provide a list of
msweet [Fri, 27 Sep 2013 14:00:08 +0000 (14:00 +0000)] 
Drop "contents" requirement from source file header. Most IDEs now provide a list of
functions and it is getting harder and harder to actually get IDEs to run external
scripts these days to generate the list.

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

10 years ago<rdar://problem/14323704> J90 PreEVT/Schooner: HP Photosmart Prem C310 prevents syste...
msweet [Mon, 23 Sep 2013 12:00:42 +0000 (12:00 +0000)] 
<rdar://problem/14323704> J90 PreEVT/Schooner: HP Photosmart Prem C310 prevents system from going to sleep.

Log when we wake.

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

10 years ago<rdar://problem/13655599> Seed: Print queue JOBS disappear after computer Wakes up...
msweet [Wed, 11 Sep 2013 17:55:16 +0000 (17:55 +0000)] 
<rdar://problem/13655599> Seed: Print queue JOBS disappear after computer Wakes up from Sleep.

Need to provide -default and -supported attributes, map job-cancel-after-xxx
to integer.

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

10 years ago<rdar://problem/13655599> Seed: Print queue JOBS disappear after computer Wakes up...
msweet [Wed, 11 Sep 2013 17:45:56 +0000 (17:45 +0000)] 
<rdar://problem/13655599> Seed: Print queue JOBS disappear after computer Wakes up from Sleep.

Reset cancel time after wake from sleep, support job-cancel-after Job Template
attribute to allow command jobs to be canceled after a suitable amount of time.

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

10 years agoFix build failures.
msweet [Tue, 10 Sep 2013 21:59:52 +0000 (21:59 +0000)] 
Fix build failures.

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

10 years ago<rdar://problem/14672918> Use UUID from dnssd URI to identify instance of printer
msweet [Tue, 10 Sep 2013 19:52:13 +0000 (19:52 +0000)] 
<rdar://problem/14672918> Use UUID from dnssd URI to identify instance of printer

Don't log the "still looking for xxx" message, let Jim screen those bugs :)

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

10 years agoFix memory leak of regular expression.
msweet [Tue, 10 Sep 2013 19:19:26 +0000 (19:19 +0000)] 
Fix memory leak of regular expression.

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

10 years ago<rdar://problem/11131245> PDF detection in cups needs to be tightened up
msweet [Tue, 10 Sep 2013 19:15:36 +0000 (19:15 +0000)] 
<rdar://problem/11131245> PDF detection in cups needs to be tightened up

Add regex() rule support.

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

10 years ago<rdar://problem/14672918> Use UUID from dnssd URI to identify instance of printer
msweet [Wed, 4 Sep 2013 20:35:42 +0000 (20:35 +0000)] 
<rdar://problem/14672918> Use UUID from dnssd URI to identify instance of printer

Report UUID (if any) and use it to find a matching printer.

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

10 years ago<rdar://problem/11044332> CUPS: Stop using certtool
msweet [Tue, 3 Sep 2013 18:50:01 +0000 (18:50 +0000)] 
<rdar://problem/11044332> CUPS: Stop using certtool

Conditional code to use SecGenerateSelfSignedCertificate, however this API is
not yet available on OS X.

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

10 years agoUpdate Japanese localization.
msweet [Thu, 29 Aug 2013 20:10:15 +0000 (20:10 +0000)] 
Update Japanese localization.

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

10 years agoRemoved some duplicate size definitions for some ISO sizes that were causing
msweet [Wed, 14 Aug 2013 20:33:42 +0000 (20:33 +0000)] 
Removed some duplicate size definitions for some ISO sizes that were causing
problems (<rdar://problem/14722721>)

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

10 years agoUpdate tests to report v2.0 now.
msweet [Mon, 12 Aug 2013 19:52:43 +0000 (19:52 +0000)] 
Update tests to report v2.0 now.

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

10 years agoLocalize HTTP status codes based on Accept-Lanaguage (<rdar://problem/14201195>)
msweet [Mon, 12 Aug 2013 19:49:44 +0000 (19:49 +0000)] 
Localize HTTP status codes based on Accept-Lanaguage (<rdar://problem/14201195>)

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

10 years agoAdd API version 2.0 constants.
msweet [Mon, 12 Aug 2013 19:33:47 +0000 (19:33 +0000)] 
Add API version 2.0 constants.

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