]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
13 years agoSending a document in an unsupported format to an IPP printer now automatically
mike [Wed, 23 May 2012 00:45:51 +0000 (00:45 +0000)] 
Sending a document in an unsupported format to an IPP printer now automatically
cancels the job (STR #4093)

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

13 years agoFix the profiles not registered for existing printers issue (STR #3808)
mike [Wed, 23 May 2012 00:16:54 +0000 (00:16 +0000)] 
Fix the profiles not registered for existing printers issue (STR #3808)

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

13 years agoUpdate the CUPS developer guide to document what is stable (STR #4068)
mike [Tue, 22 May 2012 23:58:31 +0000 (23:58 +0000)] 
Update the CUPS developer guide to document what is stable (STR #4068)

Also took the opportunity to sync up the makefile and source code guidelines,
redirect the SVN repositories, talk about the CUPS mailing lists, and generally
make this document sound less like a specification and more like "this is how
we do things."

Removed unused items from configure/Makedefs.

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

13 years agoFix some error reporting issues when printing from /dev/null and other unusual
mike [Mon, 21 May 2012 22:39:01 +0000 (22:39 +0000)] 
Fix some error reporting issues when printing from /dev/null and other unusual
situations (STR #4015)

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

13 years agoAdd support for cupsSNMPQuirks keyword to handle broken printers (STR #3551)
mike [Mon, 21 May 2012 22:33:19 +0000 (22:33 +0000)] 
Add support for cupsSNMPQuirks keyword to handle broken printers (STR #3551)

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

13 years agoFix typo.
mike [Mon, 21 May 2012 22:00:05 +0000 (22:00 +0000)] 
Fix typo.

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

13 years agoImplement support for colord (STR #3808)
mike [Mon, 21 May 2012 21:50:55 +0000 (21:50 +0000)] 
Implement support for colord (STR #3808)

Also cleanup ColorSync implementation.

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

13 years agoFirst part of color management overhaul - restructure to accept colord changes
mike [Mon, 21 May 2012 17:40:22 +0000 (17:40 +0000)] 
First part of color management overhaul - restructure to accept colord changes
(STR #3808)

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

13 years agoClean up some clang warnings.
mike [Mon, 21 May 2012 16:05:58 +0000 (16:05 +0000)] 
Clean up some clang warnings.

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

13 years agoFix umask
mike [Mon, 21 May 2012 15:35:25 +0000 (15:35 +0000)] 
Fix umask

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

13 years agoFix compile error in install-sh - I forgot that "function" is a bashism.
mike [Mon, 21 May 2012 15:33:01 +0000 (15:33 +0000)] 
Fix compile error in install-sh - I forgot that "function" is a bashism.

Also block running tests as root.

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

13 years agoThe scheduler now sets the CUPS_MAX_MESSAGE environment variable for filters
mike [Fri, 18 May 2012 20:17:41 +0000 (20:17 +0000)] 
The scheduler now sets the CUPS_MAX_MESSAGE environment variable for filters
(STR #4074)

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

13 years agoAdd new StrictConformance directive, fix more usage of Create-Job and add checks.
mike [Fri, 18 May 2012 19:51:02 +0000 (19:51 +0000)] 
Add new StrictConformance directive, fix more usage of Create-Job and add checks.

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

13 years agoFixed a build issue when using older versions of autoconf (STR #4084)
mike [Fri, 18 May 2012 18:02:00 +0000 (18:02 +0000)] 
Fixed a build issue when using older versions of autoconf (STR #4084)

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

13 years agoFix compile error - signed vs. unsigned comparison.
mike [Fri, 18 May 2012 18:00:34 +0000 (18:00 +0000)] 
Fix compile error - signed vs. unsigned comparison.

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

13 years agoReally fix configure script errors with OpenSSL (STR #4084)
mike [Fri, 18 May 2012 17:59:14 +0000 (17:59 +0000)] 
Really fix configure script errors with OpenSSL (STR #4084)

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

13 years agoPossible fix for STR #4084...
mike [Fri, 18 May 2012 16:21:21 +0000 (16:21 +0000)] 
Possible fix for STR #4084...

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

13 years agoThe IPP backend now treats the client-error-not-possible status code as a job
mike [Fri, 18 May 2012 15:22:39 +0000 (15:22 +0000)] 
The IPP backend now treats the client-error-not-possible status code as a job
history issue, allowing IPP printing to Windows to work (STR #4047)

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

13 years agoThe IPP backend incorrectly included the document-format and compression
mike [Fri, 18 May 2012 04:50:19 +0000 (04:50 +0000)] 
The IPP backend incorrectly included the document-format and compression
attributes in Create-Job requests (STR #4086)

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

13 years agoFix libusb-based USB backend on non-Linux platforms (STR #4088)
mike [Fri, 18 May 2012 03:28:51 +0000 (03:28 +0000)] 
Fix libusb-based USB backend on non-Linux platforms (STR #4088)

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

13 years agoFix compile issues with DNS-SD enabled on OS X.
mike [Fri, 18 May 2012 02:25:18 +0000 (02:25 +0000)] 
Fix compile issues with DNS-SD enabled on OS X.

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

13 years agoCleanup builds without DNS-SD (STR #4087)
mike [Wed, 16 May 2012 22:57:03 +0000 (22:57 +0000)] 
Cleanup builds without DNS-SD (STR #4087)

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

13 years agoAdd remaining printer-type bits, location (note), and info (name), and update
mike [Wed, 16 May 2012 22:33:31 +0000 (22:33 +0000)] 
Add remaining printer-type bits, location (note), and info (name), and update
the test program to support filtering (STR #3066)

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

13 years agoFix some compile issues and add in the proper timeout stuff when using Avahi.
mike [Wed, 16 May 2012 20:17:22 +0000 (20:17 +0000)] 
Fix some compile issues and add in the proper timeout stuff when using Avahi.

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

13 years agoHopefully the last of Avahi support - add code for cupsEnumDests (STR #3066)
mike [Wed, 16 May 2012 19:16:08 +0000 (19:16 +0000)] 
Hopefully the last of Avahi support - add code for cupsEnumDests (STR #3066)

Still needs testing...

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

13 years agoDon't allow multiple jobs to be started on the same printer.
mike [Wed, 16 May 2012 03:35:54 +0000 (03:35 +0000)] 
Don't allow multiple jobs to be started on the same printer.

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

13 years agoPropagate the correct error message.
mike [Sat, 12 May 2012 00:07:16 +0000 (00:07 +0000)] 
Propagate the correct error message.

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

13 years agoAdd REPEAT-LIMIT directive for ipptool.
mike [Fri, 11 May 2012 23:01:21 +0000 (23:01 +0000)] 
Add REPEAT-LIMIT directive for ipptool.

Make IPP errors stop retries.

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

13 years agoIgnore generated files.
mike [Fri, 11 May 2012 19:51:18 +0000 (19:51 +0000)] 
Ignore generated files.

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

13 years agoAdd example code for reading and writing binary data in a PPD file.
mike [Wed, 9 May 2012 22:34:27 +0000 (22:34 +0000)] 
Add example code for reading and writing binary data in a PPD file.

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

13 years agoFix web interface bug in job list (missing colon after phone number info...)
mike [Mon, 7 May 2012 23:42:48 +0000 (23:42 +0000)] 
Fix web interface bug in job list (missing colon after phone number info...)

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

13 years agoSupport both IPP and IPPS URIs for shared printers.
mike [Mon, 7 May 2012 23:22:55 +0000 (23:22 +0000)] 
Support both IPP and IPPS URIs for shared printers.

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

13 years agoAdd support for PCL text files.
mike [Mon, 7 May 2012 22:41:42 +0000 (22:41 +0000)] 
Add support for PCL text files.

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

13 years agoClean up ".local" domain checking - would fail for the trailing "." case.
mike [Mon, 7 May 2012 22:41:30 +0000 (22:41 +0000)] 
Clean up ".local" domain checking - would fail for the trailing "." case.

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

13 years agoAdd small test program to list btmm domains.
mike [Mon, 7 May 2012 22:37:44 +0000 (22:37 +0000)] 
Add small test program to list btmm domains.

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

13 years agoBreak out conversion and formatting of PWG dimensions so we get consistent
mike [Fri, 4 May 2012 23:38:53 +0000 (23:38 +0000)] 
Break out conversion and formatting of PWG dimensions so we get consistent
rounding behavior.

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

13 years agoIf we get a client-error-bad-request response from Validate-Job, break out of the
mike [Fri, 4 May 2012 22:59:46 +0000 (22:59 +0000)] 
If we get a client-error-bad-request response from Validate-Job, break out of the
loop and ignore it (STR #4066).

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

13 years agoDead code in ipp_read_http(), cleanup in httpRead2 (STR #4067)
mike [Fri, 4 May 2012 22:51:10 +0000 (22:51 +0000)] 
Dead code in ipp_read_http(), cleanup in httpRead2 (STR #4067)

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

13 years agoAdd some remote printing and IPP/2.1 conformance tests to the test suite.
mike [Fri, 4 May 2012 18:34:39 +0000 (18:34 +0000)] 
Add some remote printing and IPP/2.1 conformance tests to the test suite.

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

13 years agohttpReconnect() did not reset the read/write buffers (STR #4065)
mike [Fri, 4 May 2012 18:33:15 +0000 (18:33 +0000)] 
httpReconnect() did not reset the read/write buffers (STR #4065)

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

13 years agoAdd missing media-size-supported attribute (required for IPP/2.0 conformance)
mike [Fri, 4 May 2012 18:11:48 +0000 (18:11 +0000)] 
Add missing media-size-supported attribute (required for IPP/2.0 conformance)

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

13 years agoRevert change (oops)
mike [Tue, 1 May 2012 22:48:15 +0000 (22:48 +0000)] 
Revert change (oops)

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

13 years agoFix Chinese mappings.
mike [Tue, 1 May 2012 22:46:19 +0000 (22:46 +0000)] 
Fix Chinese mappings.

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

13 years agoCoding style fix.
mike [Mon, 30 Apr 2012 22:30:11 +0000 (22:30 +0000)] 
Coding style fix.

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

13 years agoUpdate PPD documentation to include cupsPageSizeCategory (added in CUPS 1.4)
mike [Mon, 30 Apr 2012 20:59:09 +0000 (20:59 +0000)] 
Update PPD documentation to include cupsPageSizeCategory (added in CUPS 1.4)

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

13 years agoChange wording for ppdPageSize function.
mike [Mon, 30 Apr 2012 18:33:39 +0000 (18:33 +0000)] 
Change wording for ppdPageSize function.

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

13 years agoUse HAVE_SSL_SET_TLSEXT_HOST_NAME so that builds with old versions of OpenSSL
mike [Mon, 23 Apr 2012 23:38:47 +0000 (23:38 +0000)] 
Use HAVE_SSL_SET_TLSEXT_HOST_NAME so that builds with old versions of OpenSSL
still work.

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

13 years agoWhen faxing to a Bonjour IPP printer, choose fax or print based on the presence
mike [Mon, 23 Apr 2012 22:20:09 +0000 (22:20 +0000)] 
When faxing to a Bonjour IPP printer, choose fax or print based on the presence
of a PPD keyword (cupsIPPFaxOut: True).

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

13 years agoFix builds with --disable-threads (STR #4060)
mike [Mon, 23 Apr 2012 21:49:48 +0000 (21:49 +0000)] 
Fix builds with --disable-threads (STR #4060)

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

13 years agoFix some compile errors.
mike [Mon, 23 Apr 2012 21:47:41 +0000 (21:47 +0000)] 
Fix some compile errors.

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

13 years agoFix compiles with --disable-threads (STR #4060)
mike [Mon, 23 Apr 2012 21:36:52 +0000 (21:36 +0000)] 
Fix compiles with --disable-threads (STR #4060)

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

13 years agoAdd NOPRINT option to IPP/1.1 test file.
mike [Mon, 23 Apr 2012 21:36:26 +0000 (21:36 +0000)] 
Add NOPRINT option to IPP/1.1 test file.

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

13 years agoClean up localizations throughout.
mike [Mon, 23 Apr 2012 19:19:19 +0000 (19:19 +0000)] 
Clean up localizations throughout.

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

13 years agoNuke "Ready to print." from orbit...
mike [Mon, 23 Apr 2012 18:07:59 +0000 (18:07 +0000)] 
Nuke "Ready to print." from orbit...

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

13 years agoFix packaging.
mike [Mon, 23 Apr 2012 18:04:24 +0000 (18:04 +0000)] 
Fix packaging.

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

13 years agoUpdate copyrights on all documentation.
mike [Mon, 23 Apr 2012 17:26:57 +0000 (17:26 +0000)] 
Update copyrights on all documentation.

Update Mac OS X -> OS X

CUPS 1.6 -> CUPS 1.6/OS X 10.8

Move snmpbackend(8) to cups-snmp(8), and sync up with cups-snmp.conf(5)

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

13 years agoTrack some name changes:
mike [Mon, 23 Apr 2012 16:37:45 +0000 (16:37 +0000)] 
Track some name changes:

1. Apple Computer, Inc. to Apple Inc.
2. Mac OS X to OS X.

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

13 years agoMake sure we use DNS-SD sharing with Avahi by default.
mike [Mon, 23 Apr 2012 15:06:22 +0000 (15:06 +0000)] 
Make sure we use DNS-SD sharing with Avahi by default.

Don't need HAVE_DNSSD variable for the admin interface anymore...

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

13 years agoPreserve the most serious exit status for logging.
mike [Fri, 20 Apr 2012 03:11:55 +0000 (03:11 +0000)] 
Preserve the most serious exit status for logging.

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

13 years agoFix loading of cached auth info.
mike [Fri, 20 Apr 2012 03:00:48 +0000 (03:00 +0000)] 
Fix loading of cached auth info.

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

13 years agoMake sure test text file uses CR LF line endings.
mike [Wed, 18 Apr 2012 18:49:59 +0000 (18:49 +0000)] 
Make sure test text file uses CR LF line endings.

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

13 years agoChangelog and remove debug logging.
mike [Tue, 17 Apr 2012 23:40:46 +0000 (23:40 +0000)] 
Changelog and remove debug logging.

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

13 years agoAvahi DNS-SD is working! (STR #3066)
mike [Tue, 17 Apr 2012 23:32:52 +0000 (23:32 +0000)] 
Avahi DNS-SD is working! (STR #3066)

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

13 years agoRestructure the DNS-SD code for Avahi; compiles and works on OS X, need to work on
mike [Mon, 16 Apr 2012 23:26:18 +0000 (23:26 +0000)] 
Restructure the DNS-SD code for Avahi; compiles and works on OS X, need to work on
the Linux/Avahi code some more.

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

13 years agoSave work (doesn't compile, sorry...)
mike [Sat, 14 Apr 2012 00:17:22 +0000 (00:17 +0000)] 
Save work (doesn't compile, sorry...)

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

13 years agoDump original Avahi implementation for cupsd.
mike [Fri, 13 Apr 2012 23:27:27 +0000 (23:27 +0000)] 
Dump original Avahi implementation for cupsd.

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

13 years agoImplement _HTTP_RESOLVE_FQDN option, use .local name otherwise (.local stuff
mike [Fri, 13 Apr 2012 22:46:19 +0000 (22:46 +0000)] 
Implement _HTTP_RESOLVE_FQDN option, use .local name otherwise (.local stuff
does work as long as the Linux firewall is configured properly or disabled...)

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

13 years agoReduce the timeout to 500ms; we need to give printers enough time to report
mike [Fri, 13 Apr 2012 21:32:01 +0000 (21:32 +0000)] 
Reduce the timeout to 500ms; we need to give printers enough time to report
all protocols (and some printers can be slow), but we don't want to wait more
than 2 seconds since we might not show the results in the CUPS web interface.

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

13 years agoFix the priority mapping of protocols - avahi_simple_poll_iterate is broken.
mike [Fri, 13 Apr 2012 21:26:59 +0000 (21:26 +0000)] 
Fix the priority mapping of protocols - avahi_simple_poll_iterate is broken.

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

13 years agoMore cleanup.
mike [Fri, 13 Apr 2012 20:35:30 +0000 (20:35 +0000)] 
More cleanup.

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

13 years agoCleanup.
mike [Fri, 13 Apr 2012 20:17:25 +0000 (20:17 +0000)] 
Cleanup.

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

13 years agoOK, fix the missing "got_callback = 1" in browse_callback, and now we are
mike [Fri, 13 Apr 2012 20:16:15 +0000 (20:16 +0000)] 
OK, fix the missing "got_callback = 1" in browse_callback, and now we are
working!

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

13 years agoFix builds for Avahi-based dnssd backend; it's now finding things but not
mike [Fri, 13 Apr 2012 20:08:20 +0000 (20:08 +0000)] 
Fix builds for Avahi-based dnssd backend; it's now finding things but not
querying for the printers like it is supposed to...

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

13 years agoFix compile issues, actually define HAVE_ABS.
mike [Fri, 13 Apr 2012 18:08:40 +0000 (18:08 +0000)] 
Fix compile issues, actually define HAVE_ABS.

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

13 years agoDo a best-match of media sizes, add unit tests to verify this for a known pair (monar...
mike [Fri, 13 Apr 2012 18:01:35 +0000 (18:01 +0000)] 
Do a best-match of media sizes, add unit tests to verify this for a known pair (monarch and you6), and use C99 abs() function when available.

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

13 years agoUpdate documentation on backends and filters to make it explicit that you don't run
mike [Fri, 13 Apr 2012 16:54:44 +0000 (16:54 +0000)] 
Update documentation on backends and filters to make it explicit that you don't run
them directly.

Add snmpbackend man page documenting the one exception to that rule.

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

13 years agoAdd comment to backend makefile about mode 700 backends.
mike [Thu, 12 Apr 2012 22:54:51 +0000 (22:54 +0000)] 
Add comment to backend makefile about mode 700 backends.

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

13 years agoEliminate the worst of the errors; need to fix up the main loop so that we
mike [Thu, 12 Apr 2012 22:51:00 +0000 (22:51 +0000)] 
Eliminate the worst of the errors; need to fix up the main loop so that we
issue queries as needed.

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

13 years agoFix compilation; resolves not working from my VM (but will do some more testing)
mike [Thu, 12 Apr 2012 22:45:06 +0000 (22:45 +0000)] 
Fix compilation; resolves not working from my VM (but will do some more testing)

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

13 years agoMore Avahi integration from STR #3066 (Avahi code untested at the moment, this was to
mike [Thu, 12 Apr 2012 22:19:49 +0000 (22:19 +0000)] 
More Avahi integration from STR #3066 (Avahi code untested at the moment, this was to
make sure the mDNSResponder code built and ran without regressions first...)

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

13 years agoDon't run dymutil.
mike [Wed, 11 Apr 2012 22:32:32 +0000 (22:32 +0000)] 
Don't run dymutil.

Fix Xcode builds.

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

13 years agoFix compiler warnings, bump API version to 1.6.0.
mike [Wed, 11 Apr 2012 18:19:40 +0000 (18:19 +0000)] 
Fix compiler warnings, bump API version to 1.6.0.

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

13 years agoSupport early cancel at device.
mike [Fri, 6 Apr 2012 22:45:19 +0000 (22:45 +0000)] 
Support early cancel at device.

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

13 years agoAdd EnvYou6.
mike [Fri, 6 Apr 2012 05:34:19 +0000 (05:34 +0000)] 
Add EnvYou6.

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

13 years agoUpdate SNMP help.
mike [Thu, 5 Apr 2012 16:59:07 +0000 (16:59 +0000)] 
Update SNMP help.

Use sizeof(bytes) instead of the constant.

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

13 years agoReduce max SNMP string to 1024 since we currently only support single packet
mike [Sat, 31 Mar 2012 05:05:49 +0000 (05:05 +0000)] 
Reduce max SNMP string to 1024 since we currently only support single packet
responses.

Update dependencies.

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

13 years agoCorrect some test failures that shouldn't be.
mike [Fri, 30 Mar 2012 18:56:36 +0000 (18:56 +0000)] 
Correct some test failures that shouldn't be.

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

13 years agoCheck for cancellation in a couple more spots, and return CUPS_BACKEND_OK when we
mike [Fri, 30 Mar 2012 17:17:52 +0000 (17:17 +0000)] 
Check for cancellation in a couple more spots, and return CUPS_BACKEND_OK when we
are canceled since everything is OK.

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

13 years agoForce a reconnect when we try to send a request in an unknown/unexpected state.
mike [Fri, 30 Mar 2012 05:10:31 +0000 (05:10 +0000)] 
Force a reconnect when we try to send a request in an unknown/unexpected state.

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

13 years agoIncrease SNMP string buffer to 65536, new constant for maximum community name length.
mike [Wed, 28 Mar 2012 21:57:29 +0000 (21:57 +0000)] 
Increase SNMP string buffer to 65536, new constant for maximum community name length.

Add unit test code for SNMP side-channel interface to confirm support for up to 64k.

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

13 years agoClarify that both ipp_t and ipp_attribute_t are opaque.
mike [Mon, 26 Mar 2012 21:15:41 +0000 (21:15 +0000)] 
Clarify that both ipp_t and ipp_attribute_t are opaque.

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

13 years agoUpdate IPP documentation to show proper usage (no access to structure).
mike [Mon, 26 Mar 2012 21:13:26 +0000 (21:13 +0000)] 
Update IPP documentation to show proper usage (no access to structure).

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

13 years agoUpdate libcups2 installer
mike [Mon, 26 Mar 2012 18:31:52 +0000 (18:31 +0000)] 
Update libcups2 installer

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

13 years agoFix internal name of project.
mike [Mon, 26 Mar 2012 18:09:48 +0000 (18:09 +0000)] 
Fix internal name of project.

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

13 years agoAdd libcups2-installer project
mike [Mon, 26 Mar 2012 18:08:22 +0000 (18:08 +0000)] 
Add libcups2-installer project

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

13 years agoIgnore generated files.
mike [Mon, 26 Mar 2012 18:01:38 +0000 (18:01 +0000)] 
Ignore generated files.

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

13 years agoInclude ipp private header first.
mike [Fri, 23 Mar 2012 22:40:21 +0000 (22:40 +0000)] 
Include ipp private header first.

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

13 years agoFix private structures included from ipp-private.h.
mike [Fri, 23 Mar 2012 22:24:02 +0000 (22:24 +0000)] 
Fix private structures included from ipp-private.h.

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

13 years agoClean up API/structure availability on OS X.
mike [Fri, 23 Mar 2012 22:20:10 +0000 (22:20 +0000)] 
Clean up API/structure availability on OS X.

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

13 years agoFix a bunch of issues reported by the latest Clang static analyzer.
mike [Fri, 23 Mar 2012 21:38:25 +0000 (21:38 +0000)] 
Fix a bunch of issues reported by the latest Clang static analyzer.

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