]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
2 years agoFix path to libcupsimage.so.2 in EPM packaging 5956/head
Rose [Mon, 6 Sep 2021 16:33:54 +0000 (12:33 -0400)] 
Fix path to libcupsimage.so.2 in EPM packaging

Cherry picked from OpenPrinting CUPS

2 years agoFix potential deadlock (OpenPrinting #243)
Michael R Sweet [Tue, 7 Sep 2021 13:29:23 +0000 (09:29 -0400)] 
Fix potential deadlock (OpenPrinting #243)

2 years agoMerge pull request #5952 from AtariDreams/modern-c
Michael R Sweet [Sun, 5 Sep 2021 13:02:05 +0000 (09:02 -0400)] 
Merge pull request #5952 from AtariDreams/modern-c

Add _CUPS_NORETURN to missing functions

2 years agoAdd _CUPS_NORETURN to missing functions 5952/head
Alfonso Gregory [Mon, 30 Aug 2021 21:32:38 +0000 (17:32 -0400)] 
Add _CUPS_NORETURN to missing functions

2 years agoFix lpc prompt (Issue #5946)
Michael R Sweet [Mon, 30 Aug 2021 20:27:44 +0000 (16:27 -0400)] 
Fix lpc prompt (Issue #5946)

2 years agoMerge pull request #5948 from AtariDreams/clion
Michael R Sweet [Mon, 30 Aug 2021 20:11:08 +0000 (16:11 -0400)] 
Merge pull request #5948 from AtariDreams/clion

Sync usb-darwin to upstream

2 years agoMerge pull request #5949 from AtariDreams/null
Michael R Sweet [Mon, 30 Aug 2021 20:10:15 +0000 (16:10 -0400)] 
Merge pull request #5949 from AtariDreams/null

Prevent writing to NULL if buffer is NULL

2 years agoMerge pull request #5950 from AtariDreams/langcode
Michael R Sweet [Mon, 30 Aug 2021 20:09:31 +0000 (16:09 -0400)] 
Merge pull request #5950 from AtariDreams/langcode

Fix bug that removes language instead of country code

2 years agoFix bug that removes language instead of country code 5950/head
Alfonso Gregory [Mon, 30 Aug 2021 19:06:40 +0000 (15:06 -0400)] 
Fix bug that removes language instead of country code

2 years agoPrevent writing to NULL if buffer is NULL 5949/head
Alfonso Gregory [Mon, 30 Aug 2021 19:00:29 +0000 (15:00 -0400)] 
Prevent writing to NULL if buffer is NULL

2 years agoSync usb-darwin to upstream 5948/head
Alfonso Gregory [Mon, 30 Aug 2021 18:52:36 +0000 (14:52 -0400)] 
Sync usb-darwin to upstream

2 years agoAdd more LGTM exclusions.
Michael R Sweet [Tue, 24 Aug 2021 16:09:05 +0000 (12:09 -0400)] 
Add more LGTM exclusions.

2 years agoMirror IPP fuzzing fixes from OpenPrinting CUPS.
Michael R Sweet [Fri, 16 Jul 2021 11:32:45 +0000 (07:32 -0400)] 
Mirror IPP fuzzing fixes from OpenPrinting CUPS.

2 years agoMirror IPP Everywhere "everywhere" model fix from OpenPrinting CUPS.
Michael R Sweet [Fri, 16 Jul 2021 11:27:42 +0000 (07:27 -0400)] 
Mirror IPP Everywhere "everywhere" model fix from OpenPrinting CUPS.

2 years agoMove 'everywhere' model support into cupsd (Issue #5919)
Michael R Sweet [Wed, 23 Jun 2021 21:49:31 +0000 (17:49 -0400)] 
Move 'everywhere' model support into cupsd (Issue #5919)

2 years agoSilence bogus LGTM warning.
Michael R Sweet [Tue, 18 May 2021 23:58:27 +0000 (19:58 -0400)] 
Silence bogus LGTM warning.

2 years agoAdd DISPLAY-MATCH to ipptool.
Michael R Sweet [Wed, 12 May 2021 13:32:24 +0000 (09:32 -0400)] 
Add DISPLAY-MATCH to ipptool.

HTML man page updates.

3 years agoPass CONTENT_TYPE and FINAL_CONTENT_TYPE env vars to XPC service.
Michael R Sweet [Fri, 7 May 2021 10:50:12 +0000 (06:50 -0400)] 
Pass CONTENT_TYPE and FINAL_CONTENT_TYPE env vars to XPC service.

3 years agoFix printer instances (OpenPrinting #71)
Michael R Sweet [Mon, 3 May 2021 12:38:52 +0000 (08:38 -0400)] 
Fix printer instances (OpenPrinting #71)

3 years agoMake sure monitor_done is initialized before running the monitor thread (thanks,...
Michael R Sweet [Sun, 2 May 2021 12:18:24 +0000 (08:18 -0400)] 
Make sure monitor_done is initialized before running the monitor thread (thanks, Smith!)

3 years agoFix a DISPLAY bug in ipptool (OpenPrinting #139)
Michael R Sweet [Thu, 29 Apr 2021 13:03:36 +0000 (09:03 -0400)] 
Fix a DISPLAY bug in ipptool (OpenPrinting #139)

Also bring over improvements to the MONITOR-PRINTER-STATE support.

3 years agoFix job-pages-per-set for duplex/number-up jobs.
Michael R Sweet [Tue, 27 Apr 2021 20:29:17 +0000 (16:29 -0400)] 
Fix job-pages-per-set for duplex/number-up jobs.

3 years agoFix @IF(name) handling (Issue #5918)
Michael R Sweet [Mon, 26 Apr 2021 20:20:25 +0000 (16:20 -0400)] 
Fix @IF(name) handling (Issue #5918)

3 years agoUpdate README.
Michael R Sweet [Mon, 26 Apr 2021 20:17:45 +0000 (16:17 -0400)] 
Update README.

3 years agoMerge pull request #5913 from apple/bug-fix-rollup-1
Michael R Sweet [Mon, 26 Apr 2021 20:15:00 +0000 (16:15 -0400)] 
Merge pull request #5913 from apple/bug-fix-rollup-1

Import select bug fixes and improvements from the OpenPrinting CUPS repository.

3 years agoAdd WITH-DISTINCT-VALUES support for collections. 5913/head
Michael R Sweet [Wed, 21 Apr 2021 15:39:06 +0000 (11:39 -0400)] 
Add WITH-DISTINCT-VALUES support for collections.

3 years agoSome USB printers (notably DYMO printers) report a bogus serial number in their
Michael R Sweet [Mon, 19 Apr 2021 12:44:48 +0000 (08:44 -0400)] 
Some USB printers (notably DYMO printers) report a bogus serial number in their
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.

3 years agoEliminate unused variables.
Michael R Sweet [Mon, 12 Apr 2021 20:37:28 +0000 (16:37 -0400)] 
Eliminate unused variables.

3 years agoRetry Validate-Job operation as needed (OpenPrinting #132)
Michael R Sweet [Fri, 9 Apr 2021 14:20:54 +0000 (10:20 -0400)] 
Retry Validate-Job operation as needed (OpenPrinting #132)

3 years agoFix backend logging from signal handlers (OpenPrinting #167)
Michael R Sweet [Fri, 9 Apr 2021 14:09:12 +0000 (10:09 -0400)] 
Fix backend logging from signal handlers (OpenPrinting #167)

3 years agoAutomatically choose an available port.
Michael R Sweet [Fri, 9 Apr 2021 13:11:00 +0000 (09:11 -0400)] 
Automatically choose an available port.

3 years agoFix one other spot where http->fd isn't reset to -1 (Issue #5915)
Michael R Sweet [Thu, 8 Apr 2021 12:46:49 +0000 (08:46 -0400)] 
Fix one other spot where http->fd isn't reset to -1 (Issue #5915)

3 years agoRemove unused KeepAliveTimeout directive (Issue #5733)
Michael R Sweet [Wed, 7 Apr 2021 21:58:29 +0000 (17:58 -0400)] 
Remove unused KeepAliveTimeout directive (Issue #5733)

3 years agoChangelog.
Michael R Sweet [Wed, 7 Apr 2021 21:51:23 +0000 (17:51 -0400)] 
Changelog.

3 years ago`httpReconnect2` did not reset the socket file descriptor when the TLS
Michael R Sweet [Wed, 7 Apr 2021 21:50:08 +0000 (17:50 -0400)] 
`httpReconnect2` did not reset the socket file descriptor when the TLS
negotiation failed (Apple #5907)

3 years ago`httpReconnect2` did not reset the socket file descriptor when the TLS
Michael R Sweet [Wed, 7 Apr 2021 21:50:08 +0000 (17:50 -0400)] 
`httpReconnect2` did not reset the socket file descriptor when the TLS
negotiation failed (Apple #5907)

3 years agoImport all of the bug fixes from the OpenPrinting CUPS repository.
Michael R Sweet [Mon, 5 Apr 2021 19:57:50 +0000 (15:57 -0400)] 
Import all of the bug fixes from the OpenPrinting CUPS repository.

Import the improvements to ippeveprinter from OpenPrinting/ippsample.

Import the improvements to ippfind and ipptool from OpenPrinting/ippsample.

3 years agoUpdate Github repository to match macOS 11.2 CUPS sources (cups-494.1).
Michael R Sweet [Mon, 5 Apr 2021 19:09:07 +0000 (15:09 -0400)] 
Update Github repository to match macOS 11.2 CUPS sources (cups-494.1).

3 years agoMerge pull request #5690 from neheb/bzero
Michael R Sweet [Thu, 11 Mar 2021 12:02:35 +0000 (07:02 -0500)] 
Merge pull request #5690 from neheb/bzero

treewide: Replace bzero with memset

4 years agoUpdate version to 2.3.3 for: v2.3.3
steve algernon [Fri, 24 Apr 2020 20:37:30 +0000 (13:37 -0700)] 
Update version to 2.3.3 for:

CVE-2020-3898 - cups/ppd.c, ppdc/ppdc-source.cxx
CVE-2019-8842 - cups/ipp.c: ippReadIO

And build issues due to warnings.

4 years agoUpdate more IPP strings.
Michael R Sweet [Thu, 19 Dec 2019 01:19:20 +0000 (20:19 -0500)] 
Update more IPP strings.

4 years agoUpdate more IPP strings.
Michael R Sweet [Thu, 19 Dec 2019 01:01:36 +0000 (20:01 -0500)] 
Update more IPP strings.

4 years agoUpdate more IPP strings.
Michael R Sweet [Thu, 19 Dec 2019 00:53:45 +0000 (19:53 -0500)] 
Update more IPP strings.

4 years agoUpdate more IPP strings.
Michael R Sweet [Thu, 19 Dec 2019 00:47:31 +0000 (19:47 -0500)] 
Update more IPP strings.

4 years agoBump version.
Michael R Sweet [Wed, 18 Dec 2019 23:06:01 +0000 (18:06 -0500)] 
Bump version.

4 years agoUpdate localization files.
Michael R Sweet [Wed, 18 Dec 2019 23:05:19 +0000 (18:05 -0500)] 
Update localization files.

4 years agoAdd build/test script.
Michael R Sweet [Wed, 18 Dec 2019 22:02:42 +0000 (17:02 -0500)] 
Add build/test script.

4 years agoBump versions. v2.3.1
Michael R Sweet [Fri, 13 Dec 2019 14:44:10 +0000 (09:44 -0500)] 
Bump versions.

4 years agoFix some new compiler warnings (Issue #5700)
Michael R Sweet [Fri, 13 Dec 2019 14:38:13 +0000 (09:38 -0500)] 
Fix some new compiler warnings (Issue #5700)

4 years agoCVE-2019-2228: Fix ippSetValueTag validation of default language.
Michael R Sweet [Fri, 13 Dec 2019 14:27:14 +0000 (09:27 -0500)] 
CVE-2019-2228: Fix ippSetValueTag validation of default language.

4 years agoChangelog.
Michael R Sweet [Wed, 4 Dec 2019 18:44:15 +0000 (13:44 -0500)] 
Changelog.

4 years agoMerge pull request #5695 from IslandCow/vendor_finishings
Michael R Sweet [Wed, 4 Dec 2019 18:43:28 +0000 (13:43 -0500)] 
Merge pull request #5695 from IslandCow/vendor_finishings

Off by one error in ipp_finishings_vendor

4 years agoOff by one error in ipp_finishings_vendor 5695/head
Sean Kau [Wed, 4 Dec 2019 18:19:18 +0000 (10:19 -0800)] 
Off by one error in ipp_finishings_vendor

When enumvalue is 101 and attrname is "finsishings-supported"
we were getting the memory after ipp_finishings_vendor
in the ipp_job_collation_types array.

4 years agoChangelog.
Michael R Sweet [Wed, 4 Dec 2019 17:00:14 +0000 (12:00 -0500)] 
Changelog.

4 years agoMerge pull request #5694 from gaaf/patch-1
Michael R Sweet [Wed, 4 Dec 2019 16:49:25 +0000 (11:49 -0500)] 
Merge pull request #5694 from gaaf/patch-1

Fix error in jobs template

4 years agoUpdate default PAM service (cups instead of other)
Michael R Sweet [Tue, 3 Dec 2019 02:27:47 +0000 (21:27 -0500)] 
Update default PAM service (cups instead of other)

4 years agoClean up authentication support.
Michael R Sweet [Tue, 3 Dec 2019 02:26:04 +0000 (21:26 -0500)] 
Clean up authentication support.

4 years agoAlso authenticate web IF.
Michael R Sweet [Mon, 2 Dec 2019 21:47:22 +0000 (16:47 -0500)] 
Also authenticate web IF.

4 years agoUpdate HTML version of man page.
Michael R Sweet [Mon, 2 Dec 2019 21:40:48 +0000 (16:40 -0500)] 
Update HTML version of man page.

4 years agoLimit DNS-SD advertisements to the loopback interface for "localhost" and
Michael R Sweet [Mon, 2 Dec 2019 21:39:48 +0000 (16:39 -0500)] 
Limit DNS-SD advertisements to the loopback interface for "localhost" and
support "off" for subtypes to turn off advertisements (Issue #5666)

4 years agoAdd authentication support to ippeveprinter (Issue #5665)
Michael R Sweet [Mon, 2 Dec 2019 21:24:39 +0000 (16:24 -0500)] 
Add authentication support to ippeveprinter (Issue #5665)

4 years agoFix compiler warnings.
Michael R Sweet [Mon, 2 Dec 2019 19:29:18 +0000 (14:29 -0500)] 
Fix compiler warnings.

4 years agoUse pwgMediaForSize when looking up PPD sizes (Issue #5633)
Michael R Sweet [Mon, 2 Dec 2019 19:28:09 +0000 (14:28 -0500)] 
Use pwgMediaForSize when looking up PPD sizes (Issue #5633)

4 years agoChangelog.
Michael R Sweet [Mon, 2 Dec 2019 15:37:50 +0000 (10:37 -0500)] 
Changelog.

4 years agoFix a few issues with Apple Raster support (rdar://55301114)
Michael R Sweet [Mon, 2 Dec 2019 15:19:36 +0000 (10:19 -0500)] 
Fix a few issues with Apple Raster support (rdar://55301114)

4 years agoFix error in jobs template 5694/head
Alex Hermann [Thu, 28 Nov 2019 15:59:20 +0000 (16:59 +0100)] 
Fix error in jobs template

Fixes error:

E [28/Nov/2019:16:55:51 +0100] [CGI] Saw EOF, expected \':\'!
E [28/Nov/2019:16:55:51 +0100] [CGI] Saw EOF, expected \'}\'!
E [28/Nov/2019:16:55:51 +0100] [CGI] Saw EOF, expected \'}\'!
E [28/Nov/2019:16:55:51 +0100] [CGI] Saw EOF, expected \'}\'!

4 years agoAlways send roll select command.
Michael R Sweet [Wed, 27 Nov 2019 17:23:48 +0000 (12:23 -0500)] 
Always send roll select command.

4 years agoAdd support for the second roll in DYMO Twin/DUO label printers.
Michael R Sweet [Wed, 27 Nov 2019 17:15:51 +0000 (12:15 -0500)] 
Add support for the second roll in DYMO Twin/DUO label printers.

4 years agotreewide: Replace bzero with memset 5690/head
Rosen Penev [Sat, 23 Nov 2019 04:39:27 +0000 (20:39 -0800)] 
treewide: Replace bzero with memset

bzero has been deprecated by POSIX 2008. It recommends the use of memset
instead.

4 years agoLGTM only supports C++ style comments...
Michael R Sweet [Tue, 19 Nov 2019 16:19:24 +0000 (11:19 -0500)] 
LGTM only supports C++ style comments...

4 years agoFix name of LGTM config file.
Michael R Sweet [Tue, 19 Nov 2019 15:53:08 +0000 (10:53 -0500)] 
Fix name of LGTM config file.

4 years agoDon't wait for held jobs to complete.
Michael R Sweet [Mon, 18 Nov 2019 20:39:32 +0000 (15:39 -0500)] 
Don't wait for held jobs to complete.

4 years agoChangelog
Michael R Sweet [Mon, 18 Nov 2019 18:21:45 +0000 (13:21 -0500)] 
Changelog

4 years agoRefactor the defaults code so that the correct order of precedence is
Michael R Sweet [Mon, 18 Nov 2019 18:20:34 +0000 (13:20 -0500)] 
Refactor the defaults code so that the correct order of precedence is
respected in all cases (Issue #5683)

4 years agoFix up HOME environment variable support on macOS - only exclude containers.
Michael R Sweet [Mon, 18 Nov 2019 18:10:09 +0000 (13:10 -0500)] 
Fix up HOME environment variable support on macOS - only exclude containers.

4 years agoAddress multiple minor issues reported by the LGTM security scanner:
Michael R Sweet [Sun, 17 Nov 2019 15:18:09 +0000 (10:18 -0500)] 
Address multiple minor issues reported by the LGTM security scanner:

- Lots of usage of localtime and gmtime (use _r/_s versions instead -
  Issue #5685)
- Some unnecessary comparisons
- Suppress checks that are not useful (header guards, short global names, and
  the integer overflow checks which don't reflect the actual range of values)

4 years agoRemove debug fprintf that was accidentally left in...
Michael R Sweet [Mon, 18 Nov 2019 16:12:02 +0000 (11:12 -0500)] 
Remove debug fprintf that was accidentally left in...

4 years agoMore LGTM changes.
Michael R Sweet [Mon, 18 Nov 2019 16:03:28 +0000 (11:03 -0500)] 
More LGTM changes.

4 years agoDon't generate certificates that expire on Feb 29th (Issue #5643)
Michael R Sweet [Thu, 14 Nov 2019 20:34:34 +0000 (15:34 -0500)] 
Don't generate certificates that expire on Feb 29th (Issue #5643)

4 years agoSandboxed applications were not able to get the default printer (Issue #5676)
Michael R Sweet [Thu, 14 Nov 2019 20:30:00 +0000 (15:30 -0500)] 
Sandboxed applications were not able to get the default printer (Issue #5676)

- Add "home" global pointing to the user's home directory.
- Use it instead of getenv("HOME") everywhere we needed it.

4 years agoFix lpoptions defaults (Issue #5681)
Michael R Sweet [Thu, 14 Nov 2019 18:00:12 +0000 (13:00 -0500)] 
Fix lpoptions defaults (Issue #5681)

4 years agoFix example source filename in CUPS PM (Issue #5682)
Michael R Sweet [Thu, 14 Nov 2019 15:26:13 +0000 (10:26 -0500)] 
Fix example source filename in CUPS PM (Issue #5682)

4 years agoChangelog.
Michael R Sweet [Thu, 7 Nov 2019 14:06:02 +0000 (09:06 -0500)] 
Changelog.

4 years agoMerge pull request #5677 from reddevillg/patch-2
Michael R Sweet [Thu, 7 Nov 2019 14:04:17 +0000 (09:04 -0500)] 
Merge pull request #5677 from reddevillg/patch-2

Fix /admin/log section

4 years agoUpdate adminutil.c 5677/head
reddevillg [Thu, 7 Nov 2019 12:05:02 +0000 (20:05 +0800)] 
Update adminutil.c

fix /admin/log section

4 years agoUpdate documentation of auth-info-required values (Issue #5674)
Michael R Sweet [Thu, 31 Oct 2019 15:33:55 +0000 (11:33 -0400)] 
Update documentation of auth-info-required values (Issue #5674)

4 years agoSupport trim finishing options.
Michael R Sweet [Thu, 24 Oct 2019 19:00:15 +0000 (15:00 -0400)] 
Support trim finishing options.

4 years agoAnother fix for DBUSDIR (Issue #5671)
Michael R Sweet [Mon, 21 Oct 2019 15:12:11 +0000 (11:12 -0400)] 
Another fix for DBUSDIR (Issue #5671)

4 years agoFix --with-dbusdir (Issue #5671)
Michael R Sweet [Mon, 21 Oct 2019 14:55:57 +0000 (10:55 -0400)] 
Fix --with-dbusdir (Issue #5671)

4 years agoChangelog.
Michael R Sweet [Thu, 17 Oct 2019 14:15:06 +0000 (10:15 -0400)] 
Changelog.

4 years agoUpdate finishings support to use standard (or standard-inspired) PPD option
Michael R Sweet [Thu, 17 Oct 2019 14:13:34 +0000 (10:13 -0400)] 
Update finishings support to use standard (or standard-inspired) PPD option
keywords, and include all finishing templates (except "none").

4 years agoAdd support for DigestOptions directive in client.conf (Issue #5647)
Michael R Sweet [Tue, 15 Oct 2019 21:34:21 +0000 (17:34 -0400)] 
Add support for DigestOptions directive in client.conf (Issue #5647)

4 years agoChangelog
Michael R Sweet [Tue, 15 Oct 2019 21:08:05 +0000 (17:08 -0400)] 
Changelog

4 years agoMerge pull request #5621 from zdohnal/cgigetarray-sigsegv
Michael R Sweet [Tue, 15 Oct 2019 21:06:53 +0000 (17:06 -0400)] 
Merge pull request #5621 from zdohnal/cgigetarray-sigsegv

SIGSEGV in CUPS web ui when adding a printer

4 years agoPPD files containing custom option keywords did not work (Issue #5639)
Michael R Sweet [Tue, 15 Oct 2019 21:05:55 +0000 (17:05 -0400)] 
PPD files containing custom option keywords did not work (Issue #5639)

4 years agoAdd paint can label size (Issue #5662)
Michael R Sweet [Tue, 15 Oct 2019 20:58:24 +0000 (16:58 -0400)] 
Add paint can label size (Issue #5662)

4 years agoNormalize lp/lpr help text.
Michael R Sweet [Tue, 15 Oct 2019 20:54:45 +0000 (16:54 -0400)] 
Normalize lp/lpr help text.

4 years agoAdd missing "-d" help string (Issue #5661)
Michael R Sweet [Tue, 15 Oct 2019 20:51:07 +0000 (16:51 -0400)] 
Add missing "-d" help string (Issue #5661)

4 years agoFix typos (Issue #5657)
Michael R Sweet [Tue, 8 Oct 2019 00:01:47 +0000 (20:01 -0400)] 
Fix typos (Issue #5657)

4 years agoThe IPP backend did not detect all cases where a job should be retried using
Michael R Sweet [Mon, 7 Oct 2019 19:03:54 +0000 (15:03 -0400)] 
The IPP backend did not detect all cases where a job should be retried using
a raster format (rdar://56021091)

- Look for document-xxx reason keywords and client-error-document-xxx status
  codes after a Send-Document or Print-Job request.