summaryrefslogtreecommitdiff
path: root/backend/usb-darwin.c
Commit message (Collapse)AuthorAgeFilesLines
* Sync usb-darwin to upstreamAlfonso Gregory2021-08-301-11/+7
|
* Some USB printers (notably DYMO printers) report a bogus serial number in theirMichael R Sweet2021-04-191-14/+37
| | | | | | IEEE-1284 device ID. This change forces the USB backend to prefer the USB serial number string over the one in the 1284 ID so that we can properly handle printing to different USB-connected printers of the same model.
* Fix backend logging from signal handlers (OpenPrinting #167)Michael R Sweet2021-04-091-2/+4
|
* Update Github repository to match macOS 11.2 CUPS sources (cups-494.1).Michael R Sweet2021-04-051-37/+18
|
* treewide: Replace bzero with memsetRosen Penev2019-11-221-5/+5
| | | | | bzero has been deprecated by POSIX 2008. It recommends the use of memset instead.
* Fix trailing whitespace.Michael R Sweet2019-08-161-1/+1
|
* Fix a USB printing issue on macOS (rdar://31433931)Michael R Sweet2019-08-161-9/+9
|
* Support AddressSanitizer in builds.Michael R Sweet2018-12-041-1/+1
| | | | Fix a compiler warning on macOS.
* Replace the rest of the uses of __attribute__ that need to be portable ↵Michael R Sweet2018-07-091-2/+2
| | | | (Issue #5349)
* Remove unnecessary logging.Michael R Sweet2016-10-201-34/+0
| | | | Fix compiler warning for group ID comparisons.
* Switch USB implementation to handle iterating with multiple interfaces.Michael Sweet2016-04-131-215/+183
|
* Remove all of the Subversion keywords from various source files.Michael R Sweet2016-04-111-7/+0
|
* Do some code reorganization so that all of the PPD code is separate from the ↵msweet2015-12-091-0/+1
| | | | | | | | | | | rest. Note: cupsGetPPD* and friends are now in cups/ppd.h now - should not be an issue but was necessary to leave a clean break for future code. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13007 a1ca3aef-8c08-0410-bb20-df032aa958be
* Add missing length check (<rdar://problem/23133230>)msweet2015-10-231-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12921 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix the signal handlers in the dnssd and usb backends to only use async-safemsweet2015-07-311-4/+4
| | | | | | | functions (STR #4671) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12818 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix a USB memory leak and update to the most recent interfacemsweet2015-07-221-24/+24
| | | | | | | | (<rdar://problem/21421966>) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12800 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix a USB race condition (<rdar://problem/21882551>)msweet2015-07-211-5/+28
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12798 a1ca3aef-8c08-0410-bb20-df032aa958be
* USB and IPP backend fixes.msweet2015-05-281-55/+71
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12672 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix some clang issues.msweet2015-04-031-5/+5
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12583 a1ca3aef-8c08-0410-bb20-df032aa958be
* Eliminate Clang warnings.msweet2015-03-231-5/+6
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12559 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix USB backend for compatibility with IPP USB.msweet2015-02-231-401/+550
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12528 a1ca3aef-8c08-0410-bb20-df032aa958be
* Don't provide human-readable log message.msweet2014-03-041-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11669 a1ca3aef-8c08-0410-bb20-df032aa958be
* Only log when we aren't using the generic class driver.msweet2014-02-281-4/+5
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11653 a1ca3aef-8c08-0410-bb20-df032aa958be
* Log 32-bit vs. 64-bit class driver usage.msweet2014-02-271-1/+36
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11649 a1ca3aef-8c08-0410-bb20-df032aa958be
* Full sweep of all Clang warnings, plus some bug fixes for incorrect memcpy ↵msweet2014-02-061-12/+13
| | | | | | usage. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11558 a1ca3aef-8c08-0410-bb20-df032aa958be
* Change new keyword to "cups-waiting-for-job-completed" ↵msweet2013-11-071-1/+1
| | | | | | (<rdar://problem/14323704>) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11406 a1ca3aef-8c08-0410-bb20-df032aa958be
* Dropped "dark wake" support on OS X, which was preventing portables from goingmsweet2013-11-071-74/+46
| | | | | | | | | | | | | | 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
* Update svn:keyword properties.msweet2013-05-291-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10996 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.7b1-r10947.msweet2013-04-091-10/+24
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4274 a1ca3aef-8c08-0410-bb20-df032aa958be
* Sync up with CUPS 1.7svn-r10893msweet2013-03-111-4/+4
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4216 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.7svn-r10791.msweet2013-01-101-4/+9
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4120 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.7svn-r10704.msweet2012-11-161-4/+59
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4027 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.7svn-r10629.msweet2012-10-011-5/+5
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3933 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.6svn-r10437.msweet2012-04-231-6/+6
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3794 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.6svn-r9939.msweet2011-08-311-51/+23
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3392 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5b1-r9798.msweet2011-05-201-11/+11
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3275 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5b1-r9774.msweet2011-05-121-17/+30
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3247 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9763.msweet2011-05-111-5/+5
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3242 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9717.msweet2011-04-221-36/+8
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3171 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9675.msweet2011-04-111-4/+10
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3122 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9641msweet2011-03-231-29/+51
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3071 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9631.msweet2011-03-201-7/+21
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3062 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9385.msweet2010-11-301-17/+26
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@2873 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9323.msweet2010-10-011-33/+39
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@2733 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9313.msweet2010-09-221-2/+123
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@2683 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9198.msweet2010-07-081-112/+11
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@2309 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9049 (private header support)msweet2010-03-241-3/+3
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1992 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r8916.msweet2009-12-091-4/+16
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1766 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r8857.msweet2009-11-071-3/+3
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1736 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r8849.msweet2009-10-151-23/+23
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1725 a1ca3aef-8c08-0410-bb20-df032aa958be