Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove redundant code | Alfonso Gregory | 2021-09-07 | 1 | -4/+0 |
| | |||||
* | Import all of the bug fixes from the OpenPrinting CUPS repository. | Michael R Sweet | 2021-04-05 | 1 | -1/+1 |
| | | | | | | Import the improvements to ippeveprinter from OpenPrinting/ippsample. Import the improvements to ippfind and ipptool from OpenPrinting/ippsample. | ||||
* | Add workaround for systemd's lack of true launch-on-demand support (Issue #5640) | Michael R Sweet | 2019-09-05 | 1 | -0/+2 |
| | |||||
* | The scheduler would restart continuously when idle and printers were not | Michael R Sweet | 2019-07-16 | 1 | -2/+23 |
| | | | | shared (rdar://52561199) | ||||
* | More clang warning fixes. | Michael R Sweet | 2019-04-20 | 1 | -0/+1 |
| | |||||
* | Fix typo. | Michael R Sweet | 2019-02-21 | 1 | -1/+0 |
| | |||||
* | Rework idle exit fix after some discussion. | Michael R Sweet | 2019-02-21 | 1 | -40/+18 |
| | |||||
* | The scheduler did not always idle exit as quickly as it could... | Michael R Sweet | 2019-02-21 | 1 | -4/+3 |
| | |||||
* | Fix service_idle_exit build issue with -Werror=maybe-unitialized | Didier Raboud | 2018-12-14 | 1 | -1/+1 |
| | |||||
* | Fix compile errors - not sure why these didn't show up before... | Michael R Sweet | 2018-12-08 | 1 | -1/+1 |
| | |||||
* | Normalize --help usage for cupsd (Issue #5326) | Michael R Sweet | 2018-12-06 | 1 | -10/+18 |
| | |||||
* | Revert os_transaction changes. | Michael R Sweet | 2018-12-05 | 1 | -14/+4 |
| | |||||
* | Switch from xpc_transaction_begin to os_transaction_create. | Michael R Sweet | 2018-11-08 | 1 | -4/+14 |
| | |||||
* | Fix stuck multi-file jobs (Issue #5359, Issue #5413) | Michael R Sweet | 2018-11-07 | 1 | -0/+7 |
| | |||||
* | Set QoS priority class for the main thread when running from launchd. | Michael R Sweet | 2018-09-27 | 1 | -0/+9 |
| | |||||
* | Fix regression in fix for rdar://40436080. | Michael R Sweet | 2018-08-19 | 1 | -12/+1 |
| | |||||
* | The scheduler was being backgrounded on macOS, causing applications to spin | Michael R Sweet | 2018-07-17 | 1 | -1/+14 |
| | | | | | | | | | | (rdar://40436080) scheduler/main.c: - Start/end transactions on startup/shutdown. scheduler/sysman.c: - Remove transactions from cupsdSetBusy. | ||||
* | Replace the rest of the uses of __attribute__ that need to be portable ↵ | Michael R Sweet | 2018-07-09 | 1 | -1/+1 |
| | | | | (Issue #5349) | ||||
* | Support idle exit, even when printer sharing is enabled but no printers are ↵ | Michael R Sweet | 2018-06-18 | 1 | -6/+17 |
| | | | | shared (Issue #5319) | ||||
* | The scheduler did not write out dirty configuration and state files if there | Michael R Sweet | 2017-11-08 | 1 | -6/+3 |
| | | | | | | were open client connections (Issue #5118) (reverted b393bc2) | ||||
* | The scheduler did not run with a high enough priority, causing problems on | Michael Sweet | 2017-10-02 | 1 | -0/+8 |
| | | | | | | | | busy systems (rdar://33789342) - Change ProcessType to Adaptive for both cupsd and cups-lpd - Add "working" parameter to cupsdSetBusyState - Call cupsdSetBusyState on startup to boost the priority on startup. | ||||
* | The scheduler (incorrectly) woke up once per second to remove stale temporary | Michael Sweet | 2017-09-11 | 1 | -3/+6 |
| | | | | | | | | | queues (Issue #5100). - scheduler/main.c: Update local_timeout to start at 0 and only get updated as needed. Fixes: #5100 | ||||
* | Fix compile issue for PID file stuff when no systemd/launchd/upstart is | Michael Sweet | 2017-08-27 | 1 | -18/+24 |
| | | | | | | available. Also restructure code slightly so it isn't so convoluted. | ||||
* | The scheduler now creates a PID file when not running on demand with a modern | Michael Sweet | 2017-08-01 | 1 | -111/+126 |
| | | | | service launcher (Issue #5080) | ||||
* | Fix a build issue with `--enable-mallinfo` (Issue #5051) | Michael Sweet | 2017-07-19 | 1 | -12/+0 |
| | |||||
* | Make local printer deletion independent of job history updates. | Michael Sweet | 2017-05-26 | 1 | -3/+27 |
| | |||||
* | Delete temporary printers periodically and on shutdown (Issue #5003) | Michael Sweet | 2017-05-25 | 1 | -2/+11 |
| | |||||
* | The scheduler could pause responding to client requests in order to save state | Michael Sweet | 2017-03-08 | 1 | -2/+2 |
| | | | | changes to disk (<rdar://problem/28690656>) | ||||
* | Drop remainder of ASL logging code since it is deprecated in macOS Sierra. | Michael R Sweet | 2016-10-20 | 1 | -9/+2 |
| | |||||
* | Do some cleanup for the on-demand support - remove old launchd support (no | Michael Sweet | 2016-06-21 | 1 | -144/+44 |
| | | | | longer needed), naming/style updates, fix compiler warnings. | ||||
* | Merge pull request #4825 from computersforpeace/upstart | Michael R Sweet | 2016-06-21 | 1 | -180/+140 |
|\ | | | | | Add Upstart socket activation support | ||||
| * | support Upstart socket activation | Brian Norris | 2016-05-27 | 1 | -6/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | Inspired by code here: https://bugs.launchpad.net/upstart/+bug/1276713 With significant refactoring and bug-fixing. Notably, Upstart only supports passing a single file descriptor via UPSTART_FDS, so systems that want to use this support will need to configure CUPS appropriately in order to use this. | ||||
| * | Refactor common on-demand socket setup code | Brian Norris | 2016-05-27 | 1 | -162/+78 |
| | | | | | | | | | | This really can be in its own function, to avoid duplicating the same code for various init methods. | ||||
| * | Factor out generic 'HAVE_ONDEMAND' macro flag | Brian Norris | 2016-05-27 | 1 | -18/+18 |
| | | | | | | | | | | | | HAVE_SYSTEMD and HAVE_LAUNCHD use very similar code for on-demand launching of cupsd, and if we want to add one more (e.g., upstart) it's easier to just use a single common flag: HAVE_ONDEMAND. | ||||
* | | Exit with keep-alive instead of doing a in-place restart when on-demand | Michael Sweet | 2016-05-31 | 1 | -0/+6 |
|/ | | | | launching is in use (Issue #4760) | ||||
* | Fix cancel of jobs with multiple documents (<rdar://problem/24854834>) | msweet | 2016-03-10 | 1 | -20/+13 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13131 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Update documentation for cupsd - "-s" option was not mentioned (STR #4772) | msweet | 2016-02-12 | 1 | -4/+3 |
| | | | | | | | Also update usage (-h) output. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13086 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Add (undocumented) -T option to print the current sandbox profile to stdout. | msweet | 2016-01-25 | 1 | -1/+31 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13055 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Pending subscriptions would prevent the scheduler from idle exiting (STR #4754) | msweet | 2016-01-11 | 1 | -15/+1 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13039 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Security: Fix CERT VU #810572 exploiting the dynamic linker (STR #4609) | msweet | 2015-06-08 | 1 | -9/+8 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12700 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Add support for logging to stderr (STR #4505) | msweet | 2015-06-03 | 1 | -3/+22 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12689 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | The scheduler no longer listens on the loopback interface unless the web | msweet | 2015-02-06 | 1 | -3/+1 |
| | | | | | | | | interface or printer sharing are enabled (<rdar://problem/9136448>) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12497 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Fix a random crash in the scheduler when not using systemd (STR #4484) | msweet | 2014-11-12 | 1 | -75/+83 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12245 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Printer sharing did not work when systemd was being used (STR #4497) | msweet | 2014-10-20 | 1 | -1/+8 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12216 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Re-introduce dark wake support, but this time while monitoring the current | msweet | 2014-08-30 | 1 | -3/+2 |
| | | | | | | | | | power source (<rdar://problem/17325852>) This allows printing to work while the system is visibly asleep. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12140 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Free the sockets array returned by launch_activate_socket. | msweet | 2014-08-04 | 1 | -0/+2 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12082 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Don't call launch_activate_socket multiple times (<rdar://problem/17523218>) | msweet | 2014-08-04 | 1 | -13/+0 |
| | | | | | | | Bump version to 2.0rc1. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12080 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Fix systemd build on Linux. | msweet | 2014-03-21 | 1 | -1/+2 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11722 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Fix builds on Linux. | msweet | 2014-03-21 | 1 | -1/+5 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11720 a1ca3aef-8c08-0410-bb20-df032aa958be | ||||
* | Add systemd support to cupsd (STR #3282) | msweet | 2014-03-21 | 1 | -335/+411 |
| | | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11717 a1ca3aef-8c08-0410-bb20-df032aa958be |