]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
4 years agoLet snmp backend also use manufacturer-specific MIBs 28/head
Tim Waugh [Tue, 9 Aug 2016 16:11:30 +0000 (18:11 +0200)] 
Let snmp backend also use manufacturer-specific MIBs

 … of HP and Ricoh to obtain the device IDs of network-connected
 printers. This way we get more reliable information about make and model
 and in addition the supported page description languages, which allows one to
 identify whether an optional PostScript add-on is installed or for an
 unsupported printer which generic PPD is the best choice (requested by
 Ricoh).
Bug: https://github.com/apple/cups/issues/3552
Patch-Name: Let-snmp-backend-also-use-manufacturer-specific-MIBs.patch

4 years agoFix whitespace.
Michael R Sweet [Tue, 3 Nov 2020 19:19:07 +0000 (14:19 -0500)] 
Fix whitespace.

4 years agoFix Windows compilation error.
Michael R Sweet [Tue, 3 Nov 2020 19:09:47 +0000 (14:09 -0500)] 
Fix Windows compilation error.

4 years agoBump configure version to 2.3.3op1, update makesrcdist script.
Michael R Sweet [Mon, 2 Nov 2020 16:32:25 +0000 (11:32 -0500)] 
Bump configure version to 2.3.3op1, update makesrcdist script.

4 years agoUse listen backlog of 128, not 5.
Michael R Sweet [Mon, 2 Nov 2020 16:28:55 +0000 (11:28 -0500)] 
Use listen backlog of 128, not 5.

5 years agoFix compile on FreeBSD.
Michael R Sweet [Thu, 9 Jul 2020 16:31:48 +0000 (12:31 -0400)] 
Fix compile on FreeBSD.

4 years agoFix cupsManualCopies values in IPP Everywhere PPDs (Apple issue #5807)
Michael R Sweet [Wed, 28 Oct 2020 16:45:27 +0000 (12:45 -0400)] 
Fix cupsManualCopies values in IPP Everywhere PPDs (Apple issue #5807)

4 years agoFix rastertopwg crash (Apple issue #5773)
Michael R Sweet [Wed, 28 Oct 2020 16:43:42 +0000 (12:43 -0400)] 
Fix rastertopwg crash (Apple issue #5773)

4 years agoIgnore HTTP Date values with invalid year (Apple Issue #5724)
Michael R Sweet [Wed, 28 Oct 2020 16:40:51 +0000 (12:40 -0400)] 
Ignore HTTP Date values with invalid year (Apple Issue #5724)

4 years agoChangelog.
Michael R Sweet [Wed, 28 Oct 2020 16:39:05 +0000 (12:39 -0400)] 
Changelog.

4 years agoUSB quirks (Issue #5789, Issue #5823, Issue #5831)
Michael R Sweet [Wed, 28 Oct 2020 16:38:14 +0000 (12:38 -0400)] 
USB quirks (Issue #5789, Issue #5823, Issue #5831)

4 years agoFix typo in ppdc(1) man page (Apple CUPS PR #5835)
Michael R Sweet [Wed, 28 Oct 2020 16:34:08 +0000 (12:34 -0400)] 
Fix typo in ppdc(1) man page (Apple CUPS PR #5835)

4 years agoFix dnssd (mDNSResponder) on non-Apple platforms, fix from CUPS Apple #5846.
Michael R Sweet [Wed, 28 Oct 2020 16:29:22 +0000 (12:29 -0400)] 
Fix dnssd (mDNSResponder) on non-Apple platforms, fix from CUPS Apple #5846.

4 years agoChangelog.
Michael R Sweet [Wed, 28 Oct 2020 13:12:27 +0000 (09:12 -0400)] 
Changelog.

4 years agoMerge pull request #18 from tsite/master
Michael R Sweet [Wed, 28 Oct 2020 13:11:27 +0000 (09:11 -0400)] 
Merge pull request #18 from tsite/master

Fix handling of the output-bin and print-quality IPP attributes

4 years agoFix handling of the output-bin and print-quality IPP attributes 18/head
Pranav Batra [Wed, 28 Oct 2020 04:14:16 +0000 (04:14 +0000)] 
Fix handling of the output-bin and print-quality IPP attributes

The PPD generation code now works for printers that support a single
output bin. Also the PPD parsing code now parses the cupsPrintQuality
field which is generated by the PPD generation code.

4 years agoChangelog.
Michael R Sweet [Mon, 26 Oct 2020 12:17:54 +0000 (08:17 -0400)] 
Changelog.

4 years agoMinor cleanup for PR #1.
Michael R Sweet [Mon, 26 Oct 2020 12:16:25 +0000 (08:16 -0400)] 
Minor cleanup for PR #1.

4 years agoClean up CSS lint warnings.
Michael R Sweet [Mon, 19 Oct 2020 23:13:21 +0000 (19:13 -0400)] 
Clean up CSS lint warnings.

4 years agoMerge pull request #1 from zdohnal/color-mode-priority
Michael R Sweet [Mon, 26 Oct 2020 12:14:51 +0000 (08:14 -0400)] 
Merge pull request #1 from zdohnal/color-mode-priority

Prioritize print-color-mode-supported over PWG when creating color mo…

4 years agocups/ppd-cache.c: synthetize grayscale if only color is defined 1/head
Zdenek Dohnal [Mon, 26 Oct 2020 09:08:58 +0000 (10:08 +0100)] 
cups/ppd-cache.c: synthetize grayscale if only color is defined

4 years agoChangelog and style cleanup.
Michael R Sweet [Mon, 19 Oct 2020 22:44:19 +0000 (18:44 -0400)] 
Changelog and style cleanup.

4 years agoMerge pull request #5 from zdohnal/ipptool_mdns_uri
Michael R Sweet [Mon, 19 Oct 2020 22:39:41 +0000 (18:39 -0400)] 
Merge pull request #5 from zdohnal/ipptool_mdns_uri

ipptool: support mdns uris

4 years agoMerge pull request #11 from orbea/libtool2
Michael R Sweet [Mon, 19 Oct 2020 22:25:28 +0000 (18:25 -0400)] 
Merge pull request #11 from orbea/libtool2

backend/Makefile: Don't use libtool.

4 years agoMerge pull request #12 from tsite/master
Michael R Sweet [Mon, 19 Oct 2020 22:24:36 +0000 (18:24 -0400)] 
Merge pull request #12 from tsite/master

Fix memory leaks

4 years agoMerge pull request #13 from tsite/ubsan
Michael R Sweet [Mon, 19 Oct 2020 22:23:25 +0000 (18:23 -0400)] 
Merge pull request #13 from tsite/ubsan

undefined behavior: signed integer overflow

4 years agobackend/Makefile: Don't use libtool. 11/head
orbea [Mon, 7 Sep 2020 14:59:19 +0000 (07:59 -0700)] 
backend/Makefile: Don't use libtool.

This is not needed and causes problems with more strict
implementations of libtool.

With slibtool it fails.

  rdlibtool: error: --mode must be specified.

4 years agocups/ipp-vars.c: support mdns URI in _ippVarsSet() 5/head
Zdenek Dohnal [Mon, 19 Oct 2020 05:59:49 +0000 (07:59 +0200)] 
cups/ipp-vars.c: support mdns URI in _ippVarsSet()

4 years agoExclude a bunch of things.
Michael R Sweet [Sun, 18 Oct 2020 04:02:14 +0000 (00:02 -0400)] 
Exclude a bunch of things.

4 years agoEliminate a bunch of sprintf usage (all looked safe, but I'm puzzled why these
Michael R Sweet [Sun, 18 Oct 2020 02:55:54 +0000 (22:55 -0400)] 
Eliminate a bunch of sprintf usage (all looked safe, but I'm puzzled why these
were still there - I did a sweep many years ago...)

4 years agoFix CSS issues found by Codacy.
Michael R Sweet [Sun, 18 Oct 2020 02:55:36 +0000 (22:55 -0400)] 
Fix CSS issues found by Codacy.

4 years agoAdd Codacy configuration file.
Michael R Sweet [Sun, 18 Oct 2020 02:18:09 +0000 (22:18 -0400)] 
Add Codacy configuration file.

4 years agoTry yet another IPv6 workaround for the Linux builds.
Michael R Sweet [Sun, 18 Oct 2020 01:35:49 +0000 (21:35 -0400)] 
Try yet another IPv6 workaround for the Linux builds.

4 years agoTry another IPv6 workaround for the Linux builds.
Michael R Sweet [Sun, 18 Oct 2020 01:28:18 +0000 (21:28 -0400)] 
Try another IPv6 workaround for the Linux builds.

4 years agoTry an IPv6 workaround for the Linux builds.
Michael R Sweet [Sun, 18 Oct 2020 01:18:37 +0000 (21:18 -0400)] 
Try an IPv6 workaround for the Linux builds.

4 years agoUse focal for Linux builds.
Michael R Sweet [Sat, 17 Oct 2020 21:34:12 +0000 (17:34 -0400)] 
Use focal for Linux builds.

4 years agoUse "make check" instead of "make test"
Michael R Sweet [Sat, 17 Oct 2020 21:11:46 +0000 (17:11 -0400)] 
Use "make check" instead of "make test"

4 years agoDon't use -Werror by default (at some point I'll add a maintainer mode)
Michael R Sweet [Sat, 17 Oct 2020 21:04:08 +0000 (17:04 -0400)] 
Don't use -Werror by default (at some point I'll add a maintainer mode)

4 years agoFix CodeQL warnings.
Michael R Sweet [Sat, 17 Oct 2020 21:01:10 +0000 (17:01 -0400)] 
Fix CodeQL warnings.

4 years agoAdd Travis CI config file.
Michael R Sweet [Sat, 17 Oct 2020 20:53:37 +0000 (16:53 -0400)] 
Add Travis CI config file.

4 years agoDelete veracode-analysis.yml
Michael R Sweet [Sat, 17 Oct 2020 13:43:31 +0000 (09:43 -0400)] 
Delete veracode-analysis.yml

4 years agoCreate veracode-analysis.yml
Michael R Sweet [Sat, 17 Oct 2020 03:38:17 +0000 (23:38 -0400)] 
Create veracode-analysis.yml

4 years agoCreate codeql-analysis.yml
Michael R Sweet [Sat, 17 Oct 2020 03:37:16 +0000 (23:37 -0400)] 
Create codeql-analysis.yml

4 years agoCreate codacy-analysis.yml
Michael R Sweet [Sat, 17 Oct 2020 03:34:56 +0000 (23:34 -0400)] 
Create codacy-analysis.yml

4 years agoAdd an OpenPrinting changes file.
Michael R Sweet [Sat, 17 Oct 2020 03:20:11 +0000 (23:20 -0400)] 
Add an OpenPrinting changes file.

Add a banner to the README explaining what this project is for.

4 years agoMerge pull request #7 from tgurr/xinetd
Michael R Sweet [Thu, 15 Oct 2020 16:47:17 +0000 (12:47 -0400)] 
Merge pull request #7 from tgurr/xinetd

Fix installation of xinetd configuration file for cups-lpd

4 years agoFix installation of xinetd configuration file for cups-lpd 7/head
Timo Gurr [Thu, 15 Oct 2020 16:30:53 +0000 (18:30 +0200)] 
Fix installation of xinetd configuration file for cups-lpd

Fix --with-xinetd=/etc/xinetd.d not installing the cups-ldp xinetd
configuration file.

4 years agoMerge pull request #3 from zdohnal/httpAddrConn_errnos
Michael R Sweet [Wed, 14 Oct 2020 12:20:45 +0000 (08:20 -0400)] 
Merge pull request #3 from zdohnal/httpAddrConn_errnos

Generate ETIMEDOUT when remaining_time is reached and EHOSTDOWN when …

4 years agoMerge pull request #4 from zdohnal/webinterface_devuri
Michael R Sweet [Wed, 14 Oct 2020 12:19:20 +0000 (08:19 -0400)] 
Merge pull request #4 from zdohnal/webinterface_devuri

Web interface: Set the actual device uri, not device_uri|make_model s…

4 years agoMerge pull request #6 from zdohnal/lp_lpr_non_existing_queue_error
Michael R Sweet [Wed, 14 Oct 2020 12:04:37 +0000 (08:04 -0400)] 
Merge pull request #6 from zdohnal/lp_lpr_non_existing_queue_error

cups/dests.c: cupsGetNamedDest() - set IPP_STATUS_ERROR_NOT_FOUND err…

4 years agoMerge pull request #2 from zdohnal/covscan_issues
Michael R Sweet [Wed, 14 Oct 2020 12:03:11 +0000 (08:03 -0400)] 
Merge pull request #2 from zdohnal/covscan_issues

Fix leakage of ppd

4 years agoCleanup comments/coding style to match contribution guide...
Michael R Sweet [Tue, 13 Oct 2020 14:20:15 +0000 (10:20 -0400)] 
Cleanup comments/coding style to match contribution guide...

4 years agoResolve DNS-SD URIs correctly also if they are from a service from localhost
Till Kamppeter [Mon, 12 Oct 2020 20:36:35 +0000 (22:36 +0200)] 
Resolve DNS-SD URIs correctly also if they are from a service from localhost

If a service is only available locally, through the loopback device
("lo", "localhost"), like for example the IPP-over-USB daemon ipp-usb
or a Printer Application which is not sharing printers to the network,
the service cannot be accessed through the network host name but only
through the host name "localhost".

To make CUPS' DNS-SD-service-name-based device URIs working also with
these services we check whether the service comes through the loopback
interface and in this case we set the host name in the resolved
standard device URI to "localhost".

4 years agoFix default hostname on macOS - current versions of macOS use new ".lan" domain
Michael R Sweet [Wed, 7 Oct 2020 20:37:52 +0000 (16:37 -0400)] 
Fix default hostname on macOS - current versions of macOS use new ".lan" domain
for mDNS instead of ".local", which causes the IPP Everywhere self-certification
tests to fail.

4 years agoundefined behavior: signed integer overflow 13/head
Pranav Batra [Tue, 29 Sep 2020 21:50:00 +0000 (21:50 +0000)] 
undefined behavior: signed integer overflow

4 years agoFix memory leaks 12/head
Pranav Batra [Sat, 3 Oct 2020 01:19:08 +0000 (01:19 +0000)] 
Fix memory leaks

4 years agocups/dests.c: cupsGetNamedDest() - set IPP_STATUS_ERROR_NOT_FOUND error if queue... 6/head
Zdenek Dohnal [Tue, 21 Jul 2020 10:54:22 +0000 (12:54 +0200)] 
cups/dests.c: cupsGetNamedDest() - set IPP_STATUS_ERROR_NOT_FOUND error if queue was not found
lp.c/lpr.c: check for IPP_STATUS_ERROR_NOT_FOUND and generate a proper message if hit

4 years agoWeb interface: Set the actual device uri, not device_uri|make_model string from html... 4/head
Zdenek Dohnal [Mon, 8 Jun 2020 12:44:24 +0000 (14:44 +0200)] 
Web interface: Set the actual device uri, not device_uri|make_model string from html form

4 years agoGenerate ETIMEDOUT when remaining_time is reached and EHOSTDOWN when all addresses... 3/head
Zdenek Dohnal [Thu, 21 May 2020 05:58:56 +0000 (07:58 +0200)] 
Generate ETIMEDOUT when remaining_time is reached and EHOSTDOWN when all addresses are tried

4 years agoFix leakage of ppd 2/head
Zdenek Dohnal [Fri, 14 Feb 2020 15:48:49 +0000 (16:48 +0100)] 
Fix leakage of ppd

4 years agoMerge ippeveprinter changes:
Michael R Sweet [Sat, 5 Sep 2020 16:30:21 +0000 (12:30 -0400)] 
Merge ippeveprinter changes:

- IPP conformance issues with Create-Job, Send-Document, and Send-URI
- DNS-SD name collision changes
- Use FQDN with Avahi
- Multiple printer icon support
- Support Get-Printer-Attributes on "/"
- Rewrite URIs using Host: field
- Create the printer-uuid value using a deterministic algorithm
- Add "-S" option to define strings file
- Use system sounds on macOS for Identify-Printer
- Add Cancel-My-Jobs support
- Add "finishings-col" support
- Compiler warning fixes

4 years agoipptool changes:
Michael R Sweet [Sat, 5 Sep 2020 16:28:19 +0000 (12:28 -0400)] 
ipptool changes:

- Look for files in ~/Desktop on Windows
- PAUSE now honors SKIP-XXX directives

4 years agoFix sub-type searches with Avahi.
Michael R Sweet [Sat, 5 Sep 2020 16:22:11 +0000 (12:22 -0400)] 
Fix sub-type searches with Avahi.

4 years agoFix compiler warnings.
Michael R Sweet [Sat, 5 Sep 2020 16:06:28 +0000 (12:06 -0400)] 
Fix compiler warnings.

4 years agoFix Windows 10 TLS support.
Michael R Sweet [Sat, 5 Sep 2020 16:02:39 +0000 (12:02 -0400)] 
Fix Windows 10 TLS support.

5 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.

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

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

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

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

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

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

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

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

5 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)

5 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.

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

5 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

5 years agoOff by one error in ipp_finishings_vendor
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.

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

5 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

5 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)

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

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

5 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.

5 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)

5 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)

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

5 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)

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

5 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)

5 years agoFix error in jobs template
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 \'}\'!

5 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.

5 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.

5 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...

5 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.

5 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.

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

5 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)

5 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.