summaryrefslogtreecommitdiff
path: root/scheduler/ipp.c
Commit message (Collapse)AuthorAgeFilesLines
* Change job state to IPP_JOB_HELD when job is restarted with appropriate ↵Rose2021-09-271-5/+4
| | | | job-held-until attribute.
* Move 'everywhere' model support into cupsd (Issue #5919)Michael R Sweet2021-06-231-2/+18
|
* Import all of the bug fixes from the OpenPrinting CUPS repository.Michael R Sweet2021-04-051-13/+9
| | | | | | Import the improvements to ippeveprinter from OpenPrinting/ippsample. Import the improvements to ippfind and ipptool from OpenPrinting/ippsample.
* Resolve new compiler warnings.Michael R Sweet2019-10-021-1/+1
|
* Eliminate new GCC compiler warnings (Issue #5591)Michael R Sweet2019-06-131-22/+13
|
* Eliminate use of private macOS security headers/APIs (Issue #5516)Michael R Sweet2019-02-141-7/+0
| | | | | | | | Eliminate use of deprecated cssmErrorString function. Switch to using SecCertificateCreateWithData. Clean out unused private header availability checks.
* Clean out some more _cupsStr cruft that might potentially cause anMichael R Sweet2019-01-211-3/+2
| | | | | | unaligned memory access (Issue #5474) Don't directly use the string pool in the CGI programs or scheduler.
* Switch to using "all" and "media-col-database" because some vendors apparentlyMichael R Sweet2019-01-211-3/+1
| | | | do not know how to read (Issue #5484)
* Use the same requested-attributes values for all IPP Everywhere setupMichael R Sweet2019-01-211-2/+9
| | | | requests (Issue #5484)
* Fix more compiler warnings (Issue #5423)Michael R Sweet2018-11-061-1/+1
|
* Fix a scheduler crash bug (rdar://42198057)Michael R Sweet2018-08-271-12/+7
|
* Sync up with changes from 2.2.x.Michael R Sweet2018-08-181-11/+10
|
* Replace the rest of the uses of __attribute__ that need to be portable ↵Michael R Sweet2018-07-091-3/+1
| | | | (Issue #5349)
* Validate notify-recipient-uri values.Michael R Sweet2018-06-051-1/+1
|
* Mirror validation changes from 2.2 branch.Michael R Sweet2018-05-111-89/+75
|
* Fix another CUPS-Create-Local-Printer crash (Issue #5290)Michael R Sweet2018-04-091-0/+4
|
* The scheduler could crash while adding an IPP Everywhere printer (Issue #5258)Michael R Sweet2018-03-081-0/+4
|
* Support IPP/1.1 printers with CUPS-Create-Local-Printer operation (Issue #5241)Michael R Sweet2018-02-201-1/+25
|
* Additional changes for the scheduler to substitute default values for invalidMichael R Sweet2018-01-311-317/+266
| | | | job attributes when running in "relaxed conformance" mode (Issue #5229)
* Generate strings files for localizing PPD options (Issue #5194)Michael R Sweet2017-12-191-82/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | cups/language-private.h: - New _cupsMessageAdd and _cupsMessageSave private APIs. cups/language.c: - Implement new _cupsMessageAdd and _cupsMessageSave private APIs. cups/ppd-cache.c: - Generate strings array when loading cache from PPD. - Remove strings_uri (just pulling strings from PPD now). cups/ppd-private.h: - Remove strings_uri and add strings array to cache. scheduler/client.c: - Add support for /strings/NAME.strings - Cleanup implementation of GET/HEAD/POST to files. scheduler/ipp.c: - Return local strings file URI. - Clean up copy_printer_attrs implementation. scheduler/printers.c: - Save strings array to cache file, drop support for strings_uri. scheduler/printers.h: - Add strings filename to cupsd_printer_t structure.
* Fix typo (Issue #5190)Michael R Sweet2017-12-141-1/+1
|
* The scheduler now substitutes default values for invalid job attributes whenMichael R Sweet2017-12-131-4/+27
| | | | running in "relaxed conformance" mode (Issue #5186)
* License change: Apache License, Version 2.0.Michael R Sweet2017-11-071-5/+1
|
* Add support for "printer-id" attribute (Issue #4868)Michael R Sweet2017-11-011-1/+26
|
* DBUS notifications could crash the scheduler (Issue #5143)Michael Sweet2017-10-231-2/+10
| | | | - scheduler/ipp.c: Make sure requesting-user-name string is valid UTF-8.
* Fix mapping and defaulting of print-quality/cupsPrintQuality (Issue #5090)Michael Sweet2017-09-111-3/+28
| | | | | | | | | | | | - cups/dest.c: Don't include empty default media or print-quality in dest options. - cups/options.c: When setting cupsPrintQuality, clear print-quality and vise- versa. - cups/testipp.c: Use current API to show attribute values. - scheduler/ipp.c: Log request attributes, defaults. - scheduler/job.c: Add/map print-quality/cupsPrintQuality, log mapped options. Fixes: #5090
* Fix the interactions between the "print-quality" and "cupsPrintQuality"Michael Sweet2017-08-291-2/+4
| | | | | | | options (Issue #5090) - Make sure print-quality-default does not override cupsPrintQuality - Make sure print-quality overrides cupsPrintQuality
* Actually show the reason why PPD creation failed (Issue #5035)Michael Sweet2017-06-201-1/+1
|
* Make sure printer-is-temporary flag is set when creating a local queueMichael Sweet2017-05-261-1/+2
| | | | (Issue #5009)
* Clear the shared flag on local queues (Issue #5008)Michael Sweet2017-05-251-0/+2
|
* Fix source file header text duplication text duplication.Michael R Sweet2017-01-161-1/+1
| | | | Bump copyright to 2017 in web interface and README files.
* The CUPS-Add-Modify-Class and CUPS-Add-Modify-Printer operations did not alwaysMichael R Sweet2016-07-191-28/+70
| | | | return an error for failed adds (Issue #4854)
* Improve performance of web interface with large numbers of jobs (Issue #3819)Michael Sweet2016-05-251-11/+9
| | | | | | Also re-work web interface to not allow the order to be changed (since that will negatively impact performance) but instead add first/last buttons to the pager.
* Fix Hold-New-Jobs implementation (Issue #4767)Michael Sweet2016-05-111-1/+20
|
* The cups-lpd mini-daemon incorrectly included the document-name attribute whenMichael R Sweet2016-03-241-7/+0
| | | | creating a job. It should only be included when sending a job (Issue #4790)
* Implement more of testdest unit test.msweet2016-02-181-2/+24
| | | | | | | | | Fix mapping of CUPS-Create-Local-Printer operation code. Add logging to background thread. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13105 a1ca3aef-8c08-0410-bb20-df032aa958be
* More work on temporary queues - implement support for them in the cupsDest APIs,msweet2016-02-171-0/+12
| | | | | | | add some duplicate printer checking code, and implement the --enum unit test. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13099 a1ca3aef-8c08-0410-bb20-df032aa958be
* Implement CUPS-Create-Local-Printer operation and add test file.msweet2016-02-161-2/+213
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13095 a1ca3aef-8c08-0410-bb20-df032aa958be
* First half of new "local temporary printer" queues, to support on-demand IPPmsweet2016-02-151-14/+45
| | | | | | | Everywhere printers. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13088 a1ca3aef-8c08-0410-bb20-df032aa958be
* Pending subscriptions would prevent the scheduler from idle exiting (STR #4754)msweet2016-01-111-1/+13
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13039 a1ca3aef-8c08-0410-bb20-df032aa958be
* Changing the printer-is-shared value for a remote queue did not produce anmsweet2015-11-171-0/+20
| | | | | | | | error (STR #4738) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12977 a1ca3aef-8c08-0410-bb20-df032aa958be
* Interface scripts are no longer supported for security reasonsmsweet2015-10-191-116/+62
| | | | | | | (<rdar://problem/23135640>) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12904 a1ca3aef-8c08-0410-bb20-df032aa958be
* The scheduler did not use the ConfigFilePerm setting when copying PPD files ormsweet2015-08-281-8/+7
| | | | | | | | | | interface scripts attached to a request (STR #4703) Use cupsdCreateConfFile when copying attached files, and use ConfigFilePerm. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12851 a1ca3aef-8c08-0410-bb20-df032aa958be
* The scheduler incorrectly started jobs while canceling multiple jobs (STR #4648)msweet2015-07-071-0/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12777 a1ca3aef-8c08-0410-bb20-df032aa958be
* Security: Fix CERT VU #810572 exploiting the dynamic linker (STR #4609)msweet2015-06-081-72/+23
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12700 a1ca3aef-8c08-0410-bb20-df032aa958be
* Add support for job-impressions[-completed].msweet2015-05-271-24/+49
| | | | | | | | Fix regression in remote printing (needed to block date-time-at-xxx attrs) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12668 a1ca3aef-8c08-0410-bb20-df032aa958be
* Support many new attributes and fix some IPP conformance issues (STR #4630)msweet2015-05-251-11/+76
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12666 a1ca3aef-8c08-0410-bb20-df032aa958be
* Check the return value of rename() (STR #4589)msweet2015-05-061-6/+17
| | | | | | | Add some & in front of function names. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12619 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix Linux builds without normal prerequisite libraries installed.msweet2014-08-281-2/+6
| | | | | | | Also correct GCC 4.8 compiler warnings. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12124 a1ca3aef-8c08-0410-bb20-df032aa958be
* Allow access to cupsd-created files with non-world-readable permissions via themsweet2014-08-251-3/+2
| | | | | | | | | | web interface (STR #4461). Use cupsdCreateConfFile API to create PPD files, and use the ConfigFilePerm for PPD files. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12113 a1ca3aef-8c08-0410-bb20-df032aa958be