]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
4 years agobackend/ipp: Change handling of job_canceled 74/head
Sean Kau [Thu, 17 Dec 2020 19:04:59 +0000 (11:04 -0800)] 
backend/ipp: Change handling of job_canceled

job_canceled can be -1, 0, or 1. 0 indicates no error, 1 indicates
that we were cancelled in normal operations (user cancelled from
computer) and -1 indicates cancelled by printer.  There is clearly
an assumption that -1 is false since there is a check for
job_canceled < 0 a few lines later.

BUG=b:174793115
TEST=Print to printer with malformed PWG-Raster content

Change-Id: I88f504d00e0680507cd439b633c6c288cf7c5390

4 years agoRename systemd service files to match what the Linux distros use (Issue #30)
Michael R Sweet [Sun, 15 Nov 2020 13:03:47 +0000 (08:03 -0500)] 
Rename systemd service files to match what the Linux distros use (Issue #30)

4 years agoChangelog.
Michael R Sweet [Sat, 14 Nov 2020 22:51:31 +0000 (17:51 -0500)] 
Changelog.

4 years agoUpdate cups-lpd man page (Issue #46)
Michael R Sweet [Sat, 14 Nov 2020 22:50:27 +0000 (17:50 -0500)] 
Update cups-lpd man page (Issue #46)

4 years agoUpdate copyright
Michael R Sweet [Sat, 14 Nov 2020 22:50:14 +0000 (17:50 -0500)] 
Update copyright

4 years agoFix typo in configure script.
Michael R Sweet [Sat, 14 Nov 2020 15:09:54 +0000 (10:09 -0500)] 
Fix typo in configure script.

4 years agoAdd LogFileGroup directive (Issue #34)
Michael R Sweet [Sat, 14 Nov 2020 15:04:43 +0000 (10:04 -0500)] 
Add LogFileGroup directive (Issue #34)

4 years agoAdd --enable-sync-on-close configure option (Issue #37)
Michael R Sweet [Sat, 14 Nov 2020 14:58:12 +0000 (09:58 -0500)] 
Add --enable-sync-on-close configure option (Issue #37)

4 years agoAdd --with-error-policy configure option (Issue #38)
Michael R Sweet [Sat, 14 Nov 2020 14:38:09 +0000 (09:38 -0500)] 
Add --with-error-policy configure option (Issue #38)

4 years agoChangelog.
Michael R Sweet [Sat, 14 Nov 2020 14:27:41 +0000 (09:27 -0500)] 
Changelog.

4 years agoDon't use "unknown" default InputSlot value for IPP Everywhere PPDs
Michael R Sweet [Sat, 14 Nov 2020 14:24:51 +0000 (09:24 -0500)] 
Don't use "unknown" default InputSlot value for IPP Everywhere PPDs
(Issue #44)

4 years agoMerge pull request #35 from OdyX/debian/deactivate-logrotation
Michael R Sweet [Sat, 14 Nov 2020 14:26:03 +0000 (09:26 -0500)] 
Merge pull request #35 from OdyX/debian/deactivate-logrotation

Debian: Allow configuration of MaxLogSize at configure-time

4 years agoAdd badges to README.
Michael R Sweet [Sat, 14 Nov 2020 14:13:23 +0000 (09:13 -0500)] 
Add badges to README.

4 years agoRemove a file that is no longer needed.
Michael R Sweet [Sat, 14 Nov 2020 14:10:31 +0000 (09:10 -0500)] 
Remove a file that is no longer needed.

4 years agoMake some changes to allow the automated test suite to run in certain restricted
Michael R Sweet [Sat, 14 Nov 2020 14:09:48 +0000 (09:09 -0500)] 
Make some changes to allow the automated test suite to run in certain restricted
build/CI setups (Issue #25)

4 years agoDon't log errors when IPv6 listeners fail because IPv6 is disabled (Issue #25)
Michael R Sweet [Sat, 14 Nov 2020 13:47:43 +0000 (08:47 -0500)] 
Don't log errors when IPv6 listeners fail because IPv6 is disabled (Issue #25)

4 years agoFix a logging regression that was detected by the automated test suite
Michael R Sweet [Sat, 14 Nov 2020 13:43:58 +0000 (08:43 -0500)] 
Fix a logging regression that was detected by the automated test suite
(Issue #25)

4 years agoAdd configure option to set MaxLogSize 35/head
Didier Raboud [Tue, 9 Aug 2016 16:11:40 +0000 (18:11 +0200)] 
Add configure option to set MaxLogSize

This allows distributions to turn off CUPS' internal logrotation by setting it to "0".

4 years agoFix the "uri-security-supported" value to be based on the current connection
Michael R Sweet [Tue, 10 Nov 2020 01:27:13 +0000 (20:27 -0500)] 
Fix the "uri-security-supported" value to be based on the current connection
(Issue #42)

4 years agoChangelog.
Michael R Sweet [Mon, 9 Nov 2020 13:58:02 +0000 (08:58 -0500)] 
Changelog.

4 years agoMerge pull request #41 from OdyX/debian/fix-rastertopwg-rounding-errors
Michael R Sweet [Mon, 9 Nov 2020 13:57:05 +0000 (08:57 -0500)] 
Merge pull request #41 from OdyX/debian/fix-rastertopwg-rounding-errors

Debian: Let the rastertopwg filter check rounding errors when calculating the page geometry

4 years agoMerge pull request #40 from OdyX/debian/fix-fax-fox
Michael R Sweet [Mon, 9 Nov 2020 13:55:53 +0000 (08:55 -0500)] 
Merge pull request #40 from OdyX/debian/fix-fax-fox

Debian: Fix fax numbers supplied via GTK print dialog

4 years agoMerge pull request #43 from zdohnal/printer-alert-err
Michael R Sweet [Mon, 9 Nov 2020 13:52:34 +0000 (08:52 -0500)] 
Merge pull request #43 from zdohnal/printer-alert-err

backend,scheduler/ipp.c: Fix 'printer-alert' invalid free

4 years agobackend,scheduler/ipp.c: Fix 'printer-alert' invalid free 43/head
Zdenek Dohnal [Mon, 9 Nov 2020 06:40:20 +0000 (07:40 +0100)] 
backend,scheduler/ipp.c: Fix 'printer-alert' invalid free

The fix is created by Bernhard Übelacker from apple/cups #5826.

4 years agoFix fax numbers supplied via GTK print dialog, removing a "Custom." prefix; do not... 40/head
Till Kamppeter [Wed, 26 Aug 2020 11:03:00 +0000 (13:03 +0200)] 
Fix fax numbers supplied via GTK print dialog, removing a "Custom." prefix; do not choke if the GTK dialog sends "None" as phone number or pre-dial prefix

4 years agoLet the rastertopwg filter check rounding errors when calculating the page geometry 41/head
Till Kamppeter [Thu, 27 Aug 2020 08:22:00 +0000 (10:22 +0200)] 
Let the rastertopwg filter check rounding errors when calculating the page geometry

4 years agoChangelog.
Michael R Sweet [Wed, 4 Nov 2020 21:31:13 +0000 (16:31 -0500)] 
Changelog.

4 years agoMerge pull request #32 from OdyX/debian/no-hostnames-for-broadcasting-print-queues
Michael R Sweet [Wed, 4 Nov 2020 21:10:25 +0000 (16:10 -0500)] 
Merge pull request #32 from OdyX/debian/no-hostnames-for-broadcasting-print-queues

Debian: Do not use host names for broadcasting print queues

4 years agoMerge pull request #31 from OdyX/debian/strengthen-systemd-unit-relationships
Michael R Sweet [Wed, 4 Nov 2020 21:07:53 +0000 (16:07 -0500)] 
Merge pull request #31 from OdyX/debian/strengthen-systemd-unit-relationships

Debian: Add Requires=cups.socket to cups.service, to make sure they start in order

4 years agoMerge pull request #30 from OdyX/debian/rename-systemd-files
Michael R Sweet [Wed, 4 Nov 2020 21:06:58 +0000 (16:06 -0500)] 
Merge pull request #30 from OdyX/debian/rename-systemd-files

Debian: Rename the systemd service file from org.cups.cups.* to cups.*

4 years agoMerge pull request #29 from OdyX/debian/disable-timestamps-in-conffiles
Michael R Sweet [Wed, 4 Nov 2020 21:05:45 +0000 (16:05 -0500)] 
Merge pull request #29 from OdyX/debian/disable-timestamps-in-conffiles

Debian: Disable time stamps in conffiles, to avoid ever-changing files in /etc.

4 years agoMerge pull request #28 from OdyX/debian/let-snmp-backend-use-manufacturer-MIBs
Michael R Sweet [Wed, 4 Nov 2020 21:04:22 +0000 (16:04 -0500)] 
Merge pull request #28 from OdyX/debian/let-snmp-backend-use-manufacturer-MIBs

Debian: Let snmp backend also use manufacturer-specific MIBs

4 years agoMerge pull request #24 from OdyX/debian/fix-scheduler-cupsd.conf-load
Michael R Sweet [Wed, 4 Nov 2020 20:38:39 +0000 (15:38 -0500)] 
Merge pull request #24 from OdyX/debian/fix-scheduler-cupsd.conf-load

Debian: Fix scheduler cupsd.conf load

4 years agoMerge pull request #23 from OdyX/debian/fix-conversion-of-PPD-InputSlot-choice-names
Michael R Sweet [Wed, 4 Nov 2020 20:36:31 +0000 (15:36 -0500)] 
Merge pull request #23 from OdyX/debian/fix-conversion-of-PPD-InputSlot-choice-names

Debian: Fix conversion of PPD InputSlot choice names

4 years agoMerge pull request #21 from OdyX/debian/install-root-backends-world-readable
Michael R Sweet [Wed, 4 Nov 2020 20:29:51 +0000 (15:29 -0500)] 
Merge pull request #21 from OdyX/debian/install-root-backends-world-readable

Debian: Install root backends world-readable

4 years agoDo not use host names for broadcasting print queues and 32/head
Till Kampetter [Tue, 9 Aug 2016 16:11:35 +0000 (18:11 +0200)] 
Do not use host names for broadcasting print queues and

 managing print queues broadcasted from other servers by default. Many
 networks do not have valid host names for all machines.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/449586
Patch-Name: do-not-broadcast-with-hostnames.patch

4 years agoAdd Requires=cups.socket to cups.service, to make sure they start in the right order 31/head
Didier Raboud [Mon, 24 Feb 2020 10:46:49 +0000 (11:46 +0100)] 
Add Requires=cups.socket to cups.service, to make sure they start in the right order

4 years agoRename the systemd service file from org.cups.cups.* to cups.* 30/head
Didier Raboud [Tue, 9 Aug 2016 16:11:34 +0000 (18:11 +0200)] 
Rename the systemd service file from org.cups.cups.* to cups.*

4 years agoDisable time stamps in conffiles, to avoid ever-changing files in /etc. 29/head
Joey Hess [Tue, 9 Aug 2016 16:11:31 +0000 (18:11 +0200)] 
Disable time stamps in conffiles, to avoid ever-changing files in /etc.

Bug: https://github.com/apple/cups/issues/3067
Bug-Debian: https://bugs.debian.org/549673

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 scheduler cupsd.conf load 24/head
Till Kamppeter [Sat, 22 Feb 2020 13:28:58 +0000 (14:28 +0100)] 
Fix scheduler cupsd.conf load

When running it without arguments it is supposed to read the local CUPS's
cupsd.conf and show a summary of the setting. in CUPS 2.3.1 it shows a mess
with a lot of HTML inside and this is due to the fact that when loading the
file via HTTP using the /admin/cups/cupsd.conf path the scheduler calls the
admin.cgi program which returns the admin front page of the web admin
interface. cupsctl then tries to interpret that as the config file and displays
garbage. Even worse is if you run cupsctl with command line argument (one of
the five switches or a key=value pair) to change a setting. It seems to load
cupsd.conf again and gets again the HTML code of the web interface page.
cupsctl tries to interpret this again, producing garbage, adds the
user-supplied setting and writes all this back into cupsd.conf. Then it tries
to restart the scheduler which fails due to the broken config file.
The problem is that in the file scheduler/client.conf, in the function
get_file() the URI from the client is at first checked whether it begins with
"/admin/" and in this case the CGI program admin.cgi is responsible. Only after
that the check for "/admin/conf/cupsd.conf" comes and is never reached.
I have changed the order now appropriately and this way cupsctl works again.
Note that the problem only occurs if the web interface is active and the
cupsctl command is issued by a non-root user.
This is a regression caused by issue #5652.

Bug: https://github.com/apple/cups/issues/5744

4 years agoFix conversion of PPD InputSlot choice names 23/head
Till Kamppeter [Mon, 17 Feb 2020 08:05:58 +0000 (09:05 +0100)] 
Fix conversion of PPD InputSlot choice names

When I create a CUPS queue with a PPD file with choice names "Tray-1", "Tray-2",
... in the InputSlot option CUPS translates these names to double-dashed IPP
attribute names: "tray--1", "tray--2", ... in the "media-source" attribute, both
when passing a job to the printer with the IPP backend, making the printer
ignore the tray choice, and also when answering a get-printer-attributes IPP
request from a client. This happens when in the PPD a dash is followed by a
digit, as the pwg_unppdize_name() function in cups/ppd-cache.c inserts a dash
whenever a non-digit is followed by a digit in the PPD name. As IPP attribute
names generally never have double-dashes and also no dashes in the beginning or
the end of the name, I have modified the pwg_unppdize_name() function
appropriately.

Bug: https://github.com/apple/cups/issues/5740
Bug-Debian: https://bugs.debian.org/949315

4 years agoInstall root backends world-readable 21/head
Martin Pitt [Tue, 9 Aug 2016 16:11:06 +0000 (18:11 +0200)] 
Install root backends world-readable

This is needed:
 - to comply with Debian Policy
 - because it is both nonsensical to not do so
 - it also breaks system checkers, bug reporting, etc

Bug: https://github.com/apple/cups/issues/2935
Bug-Debian: https://bugs.debian.org/410171
Patch-Name install-root-backends-world-readable.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