]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
22 months agoNew IPP and raster APIs, plus cleanup.
Michael R Sweet [Mon, 11 Sep 2023 23:09:39 +0000 (19:09 -0400)] 
New IPP and raster APIs, plus cleanup.

22 months agoChangelog and tweak digest 'qop' parameter change.
Michael R Sweet [Sun, 10 Sep 2023 23:08:47 +0000 (19:08 -0400)] 
Changelog and tweak digest 'qop' parameter change.

22 months agoAdd new array APIs, remove old private array header, update unit tests, update
Michael R Sweet [Sun, 10 Sep 2023 22:48:17 +0000 (18:48 -0400)] 
Add new array APIs, remove old private array header, update unit tests, update
ippfind to use new array and DNS-SD APIs, update other code as needed to not
use deprecated APIs.

22 months agoMerge pull request #260 from mgoppold/http_auth_with_qop
Michael R Sweet [Sun, 10 Sep 2023 23:06:27 +0000 (19:06 -0400)] 
Merge pull request #260 from mgoppold/http_auth_with_qop

use http->qop insted of http->algorithm to decide RFC 2617/7616 or RFC 2069 Digest response

22 months agoMerge branch 'master' into http_auth_with_qop 260/head
Michael R Sweet [Sun, 10 Sep 2023 23:05:54 +0000 (19:05 -0400)] 
Merge branch 'master' into http_auth_with_qop

22 months agoRun unit tests when you do a "make test".
Michael R Sweet [Sun, 10 Sep 2023 21:58:29 +0000 (17:58 -0400)] 
Run unit tests when you do a "make test".

22 months agoSeparate building unit test programs from running them.
Michael R Sweet [Sun, 10 Sep 2023 21:57:57 +0000 (17:57 -0400)] 
Separate building unit test programs from running them.

Fix typo in cupsGetDests unit test.

22 months agoMigrate to DNS-SD API.
Michael R Sweet [Sun, 10 Sep 2023 14:04:43 +0000 (10:04 -0400)] 
Migrate to DNS-SD API.

22 months ago_TIME_BITS and _FILE_OFFSET_BITS (not two __)
Michael R Sweet [Fri, 8 Sep 2023 21:14:30 +0000 (17:14 -0400)] 
_TIME_BITS and _FILE_OFFSET_BITS (not two __)

22 months ago__FILE_OFFSET_BITS
Michael R Sweet [Fri, 8 Sep 2023 21:09:45 +0000 (17:09 -0400)] 
__FILE_OFFSET_BITS

22 months agoChange 64-bit time_t defines.
Michael R Sweet [Fri, 8 Sep 2023 20:59:43 +0000 (16:59 -0400)] 
Change 64-bit time_t defines.

22 months agoFix global lock.
Michael R Sweet [Fri, 8 Sep 2023 20:51:57 +0000 (16:51 -0400)] 
Fix global lock.

22 months agoAdd __TIMESIZE=64
Michael R Sweet [Fri, 8 Sep 2023 20:38:17 +0000 (16:38 -0400)] 
Add __TIMESIZE=64

22 months agoUpdate Windows DLL exports file.
Michael R Sweet [Fri, 8 Sep 2023 20:14:46 +0000 (16:14 -0400)] 
Update Windows DLL exports file.

22 months agoFix GNU TLS builds.
Michael R Sweet [Fri, 8 Sep 2023 20:13:22 +0000 (16:13 -0400)] 
Fix GNU TLS builds.

22 months agoFix other instances of code that looked for HAVE_POLL - poll() is always available.
Michael R Sweet [Fri, 8 Sep 2023 18:22:43 +0000 (14:22 -0400)] 
Fix other instances of code that looked for HAVE_POLL - poll() is always available.

22 months agoAnother missing header.
Michael R Sweet [Fri, 8 Sep 2023 17:11:23 +0000 (13:11 -0400)] 
Another missing header.

22 months agoFix missing include.
Michael R Sweet [Fri, 8 Sep 2023 17:07:25 +0000 (13:07 -0400)] 
Fix missing include.

22 months agoMove strlcat/cpy to cupsConcat/CopyString.
Michael R Sweet [Fri, 8 Sep 2023 16:48:37 +0000 (12:48 -0400)] 
Move strlcat/cpy to cupsConcat/CopyString.

22 months agoMove strlcat/cpy to cupsConcat/CopyString.
Michael R Sweet [Fri, 8 Sep 2023 16:45:20 +0000 (12:45 -0400)] 
Move strlcat/cpy to cupsConcat/CopyString.

22 months agoFix builds...
Michael R Sweet [Fri, 8 Sep 2023 16:37:59 +0000 (12:37 -0400)] 
Fix builds...

22 months agoSynch CodeQL CI with 2.4.x
Zdenek Dohnal [Fri, 8 Sep 2023 08:43:54 +0000 (10:43 +0200)] 
Synch CodeQL CI with 2.4.x

22 months agoCI: Github Actions don't run on 2.4.x
Zdenek Dohnal [Fri, 8 Sep 2023 05:54:17 +0000 (07:54 +0200)] 
CI: Github Actions don't run on 2.4.x

Try a different syntax

22 months agoUpdate CHANGES.md
Zdenek Dohnal [Fri, 8 Sep 2023 05:02:21 +0000 (07:02 +0200)] 
Update CHANGES.md

22 months agoCleanup, removal of deprecated constants, DEBUG_printf modernization.
Michael R Sweet [Thu, 7 Sep 2023 21:58:52 +0000 (17:58 -0400)] 
Cleanup, removal of deprecated constants, DEBUG_printf modernization.

22 months agoFix dependencies.
Michael R Sweet [Mon, 4 Sep 2023 22:28:15 +0000 (18:28 -0400)] 
Fix dependencies.

Update MD5 hash implementation to be provided unconditionally.

22 months agoFix typo.
Michael R Sweet [Mon, 4 Sep 2023 20:33:55 +0000 (16:33 -0400)] 
Fix typo.

22 months agoStart integrating some of the new CUPS APIs from v3 so we have a clean
Michael R Sweet [Sun, 3 Sep 2023 22:11:07 +0000 (18:11 -0400)] 
Start integrating some of the new CUPS APIs from v3 so we have a clean
transition.

22 months agoIgnore new test program.
Michael R Sweet [Sun, 3 Sep 2023 15:24:12 +0000 (11:24 -0400)] 
Ignore new test program.

22 months agoUpdate CHANGES.md
Zdenek Dohnal [Mon, 4 Sep 2023 12:23:53 +0000 (14:23 +0200)] 
Update CHANGES.md

22 months agoscheduler/conf.c: Print to stderr if we can't open cups-files.conf
zdohnal [Mon, 4 Sep 2023 06:44:21 +0000 (08:44 +0200)] 
scheduler/conf.c: Print to stderr if we can't open cups-files.conf

In case cupsd can't open the cups-files.conf, the error message is lost if journal and syslog don't exist or work on system (usually in containers).

Log the error into stderr at this place to get the error message if needed.

22 months agoChangelog.
Michael R Sweet [Sun, 3 Sep 2023 02:24:02 +0000 (22:24 -0400)] 
Changelog.

22 months agoAdd DNS-SD, cupsCopyString, and cupsConcatString APIs from libcups v3.
Michael R Sweet [Sun, 3 Sep 2023 02:22:45 +0000 (22:22 -0400)] 
Add DNS-SD, cupsCopyString, and cupsConcatString APIs from libcups v3.

22 months agoUpdate sample driver version to match CUPS version.
Michael R Sweet [Sun, 3 Sep 2023 01:39:07 +0000 (21:39 -0400)] 
Update sample driver version to match CUPS version.

22 months agoInitial update of TLS support - no more SSPI or Security.framework (CDSA)
Michael R Sweet [Sun, 3 Sep 2023 01:19:10 +0000 (21:19 -0400)] 
Initial update of TLS support - no more SSPI or Security.framework (CDSA)
support.

Require TLS support.

23 months agoscheduler/conf.c: Print to stderr if we don't open cups-files.conf 777/head
Zdenek Dohnal [Fri, 1 Sep 2023 15:11:54 +0000 (17:11 +0200)] 
scheduler/conf.c: Print to stderr if we don't open cups-files.conf

In case cupsd can't open the cups-files.conf, the error message is lost
if journal and syslog don't exist or work on system (usually in
containers).

Log the error into stderr at this place to get the error message if
needed.

23 months agoAdd image/urf and image/pwg-raster filters for test server (for testing AirPrint...
Michael R Sweet [Thu, 10 Aug 2023 21:30:29 +0000 (17:30 -0400)] 
Add image/urf and image/pwg-raster filters for test server (for testing AirPrint/IPP Everywhere compatibility.

2 years agoFix a bug in the copy stack code (Issue #768)
Michael R Sweet [Wed, 2 Aug 2023 12:26:35 +0000 (08:26 -0400)] 
Fix a bug in the copy stack code (Issue #768)

2 years agoscheduler/job.c: Fix extensive logging in scheduler
zdohnal [Thu, 27 Jul 2023 16:48:19 +0000 (18:48 +0200)] 
scheduler/job.c: Fix extensive logging in scheduler

Based on currently unknown trigger scheduler sometimes sets JobHistoryUpdate into past, which causes select() to timeout after one second.

It happens when job->file_time of a job without files to remove gets assigned to JobHistoryUpdate. If we check for job->num_files and assign the job->file_time only if there are any, we will fix extensive logging (and unneeded cupsd execution) in various places, e.g. cleaning jobs, expiring subscriptions, deleting temporary queues...

Fixes #604

2 years agoscheduler/job.c: Fix extensive logging in scheduler 767/head
Zdenek Dohnal [Thu, 27 Jul 2023 10:34:52 +0000 (12:34 +0200)] 
scheduler/job.c: Fix extensive logging in scheduler

Based on currently unknown trigger scheduler sometimes sets
JobHistoryUpdate into past, which causes `select()` to timeout after one
second.

It happens when `job->file_time` of a job without files to remove gets
assigned to `JobHistoryUpdate`. If we check for `job->num_files` and
assign the `job->file_time` only if there are any, we will fix extensive
logging (and unneeded cupsd execution) in various places, e.g. cleaning
jobs, expiring subscriptions, deleting temporary queues...

Fixes #604

2 years agoEnable manual builds.
Michael R Sweet [Tue, 25 Jul 2023 19:17:31 +0000 (15:17 -0400)] 
Enable manual builds.

2 years agoUpdate LibreSSL version used by VC projects.
Michael R Sweet [Tue, 25 Jul 2023 18:58:44 +0000 (14:58 -0400)] 
Update LibreSSL version used by VC projects.

2 years agoUpdate REPORTING_ISSUES.md
zdohnal [Fri, 14 Jul 2023 05:50:54 +0000 (07:50 +0200)] 
Update REPORTING_ISSUES.md

Use `lpstat -l -e` in the document - its output gives easier distinction between temporary and permanent queues.

Thank you Brian Potkin for suggestion!

2 years agoMerge pull request #745 from zdohnal/ippeveprint_man
zdohnal [Thu, 13 Jul 2023 15:28:30 +0000 (17:28 +0200)] 
Merge pull request #745 from zdohnal/ippeveprint_man

Update ippeveprinter documentation

2 years agoApply feedback 745/head
Zdenek Dohnal [Thu, 13 Jul 2023 13:29:25 +0000 (15:29 +0200)] 
Apply feedback

2 years agoUpdate help pages via mantohtml
Zdenek Dohnal [Wed, 28 Jun 2023 12:27:17 +0000 (14:27 +0200)] 
Update help pages via mantohtml

2 years agomantohtml.c: Fix leftovers of strtod()->atof() migration
Zdenek Dohnal [Wed, 28 Jun 2023 12:25:51 +0000 (14:25 +0200)] 
mantohtml.c: Fix leftovers of strtod()->atof() migration

2 years agoman: Fix ippeveprinter man page
Zdenek Dohnal [Wed, 28 Jun 2023 12:22:36 +0000 (14:22 +0200)] 
man: Fix ippeveprinter man page

- explain further parameter `-F` (fixes #744)
- add missing explanation of parameters `-K` and `-a`

2 years agoUpdate pt-BR translation (#613)
Guilherme Gonzaga [Wed, 12 Jul 2023 12:06:25 +0000 (08:06 -0400)] 
Update pt-BR translation (#613)

Translations provided by Guilherme Gonzaga, thanks a lot!

2 years agoUse ASN1_TIME_to_tm when converting X.509 date/time values.
Michael R Sweet [Tue, 11 Jul 2023 20:08:21 +0000 (16:08 -0400)] 
Use ASN1_TIME_to_tm when converting X.509 date/time values.

2 years agoUpdate CHANGES.md
Zdenek Dohnal [Tue, 27 Jun 2023 11:29:50 +0000 (13:29 +0200)] 
Update CHANGES.md

2 years agoUse "purge-job" instead of "purge-jobs" when canceling a single job (#742)
Bryan Mason [Tue, 27 Jun 2023 11:18:46 +0000 (04:18 -0700)] 
Use "purge-job" instead of "purge-jobs" when canceling a single job (#742)

The command "cancel -x <job>" adds "purge-jobs true" to the Cancel-Job
operation; however, the correct attribute to use for Cancel-job is
"purge-job" (singular), not "purge-jobs" (plural).  As a result, job
files are not removed from /var/spool/cups when "cancel -x <job>" is
executed.

This patch resolves the issue by adding "purge-job" when the IPP
operation is Cancel-Job and "purge-jobs" for other IPP operations
(Purge-Jobs, Cancel-Jobs, and Cancel-My-Jobs)

2 years agoUpdate CHANGES.md
Zdenek Dohnal [Tue, 27 Jun 2023 06:21:43 +0000 (08:21 +0200)] 
Update CHANGES.md

2 years agoFix delays in printing to lpd when reserved ports are exhausted (Issue #741)
zdohnal [Mon, 26 Jun 2023 14:24:33 +0000 (16:24 +0200)] 
Fix delays in printing to lpd when reserved ports are exhausted (Issue #741)

We use our internal implementation for BSD resvport() by default in LPD backend, which should act on port ranges 512 - 1023, however we didn't go back to the highest port number once we got under the lowest port number. This caused a delay 511s long until  `lpd_queue()` got the port number to 0, which triggered the assignment of the highest port number.

The highest port number is assigned right after we cross the lowest port number, which eliminates this kind of delay.

PR by Bryan Mason from Red Hat

2 years agoFix delays printing to lpd when reserved ports are exhausted 741/head
Bryan Mason [Sat, 24 Jun 2023 19:31:23 +0000 (12:31 -0700)] 
Fix delays printing to lpd when reserved ports are exhausted

cups_rresvport() doesn't reserve ports less than 512; however,
lpd_queue() continues decrementing the port number to 0.  This leads
to delays of ~511 seconds once all ports between 512-1023 are
exhausted.  Even when ports become available, lpd_queue() still tries
calling cups_rresvport() with port numbers less than 512, waiting one
second between each call.

2 years agoUpdate CHANGES.md
Zdenek Dohnal [Thu, 22 Jun 2023 10:15:20 +0000 (12:15 +0200)] 
Update CHANGES.md

2 years agoMerge pull request from GHSA-qjgh-5hcq-5f25
zdohnal [Thu, 22 Jun 2023 10:00:56 +0000 (12:00 +0200)] 
Merge pull request from GHSA-qjgh-5hcq-5f25

Log result of httpGetHostname BEFORE closing the connection

2 years agoMerge pull request #729 from zdohnal/cupssinglefile
zdohnal [Thu, 15 Jun 2023 07:04:42 +0000 (09:04 +0200)] 
Merge pull request #729 from zdohnal/cupssinglefile

cups/ppd-cache.c: Put cupsSingleFile into generated PPD

2 years agocups/ppd-cache.c: Put cupsSingleFile into generated PPD 729/head
Zdenek Dohnal [Wed, 14 Jun 2023 07:55:33 +0000 (09:55 +0200)] 
cups/ppd-cache.c: Put cupsSingleFile into generated PPD

Some printers are not able to print multiple files in one job via IPP
Everywhere. Adding the PPD keyword enables the feature on all printers
in exchange for performance degradation (there is a 1-2s pause between
printed files).

Fixes #643

2 years agoMerge pull request #726 from AtariDreams/Fix-regression
Till Kamppeter [Sun, 11 Jun 2023 21:31:27 +0000 (23:31 +0200)] 
Merge pull request #726 from AtariDreams/Fix-regression

Regression: Certificate data is corrupted during base64 conversion

2 years agoRegression: Certificate data is corrupted during base64 conversion 726/head
Rose [Sun, 11 Jun 2023 20:09:53 +0000 (16:09 -0400)] 
Regression: Certificate data is corrupted during base64 conversion

The bug during which certificates become corrupt was introduced in a521b235a1abc008cb0b2f490a765bb31e2ec14b. It turns out some data was not being truncated after being promoted to an integer, causing 1s to be ORed into the index number when they should not have been.

I only intended to remove the & 255 from the other side, where the & 63 would have rendered that operation redundant.

I apologize for this error. I made the appropriate changes I intended to make in this new PR.

Please merge and make a new release if possible.

Thank you so much!

2 years agoLog result of httpGetHostname BEFORE closing the connection
Rose [Thu, 1 Jun 2023 15:33:39 +0000 (11:33 -0400)] 
Log result of httpGetHostname BEFORE closing the connection

httpClose frees the memory of con->http. This is problematic because httpGetHostname then tries to access the memory it points to.

We have to log the hostname first.

2 years agoUpdate CHANGES.md
Zdenek Dohnal [Tue, 6 Jun 2023 11:21:00 +0000 (13:21 +0200)] 
Update CHANGES.md

2 years agoMerge pull request #721 from zdohnal/cupsgetnameddest_crash
zdohnal [Tue, 6 Jun 2023 11:15:17 +0000 (13:15 +0200)] 
Merge pull request #721 from zdohnal/cupsgetnameddest_crash

dest.c: Call cupsEnumDests() only if data.name is not NULL (fixes #719)

2 years agoFix indentation 721/head
Zdenek Dohnal [Tue, 6 Jun 2023 08:52:35 +0000 (10:52 +0200)] 
Fix indentation

2 years agodest.c: Call cupsEnumDests() only if data.name is not NULL (fixes #719)
Zdenek Dohnal [Tue, 6 Jun 2023 08:45:37 +0000 (10:45 +0200)] 
dest.c: Call cupsEnumDests() only if data.name is not NULL (fixes #719)

Fixes regression created by #452 - in case there is no default
destination and `cupsGetNamedDest()` is called to get one (by calling it
with argument `name` as NULL), the function crashes.

It happens because we try to look for the default printer on the network
(where we access `data.name`, which is NULL, in callback), but we never
found out the printer's name.

Original fix by Emilio Cobos Alvarez.

2 years agoPrep CUPS 2.5 development.
Michael R Sweet [Fri, 2 Jun 2023 14:10:02 +0000 (10:10 -0400)] 
Prep CUPS 2.5 development.

2 years agoMerge pull request #716 from 10ne1/master
Michael R Sweet [Fri, 2 Jun 2023 13:59:32 +0000 (09:59 -0400)] 
Merge pull request #716 from 10ne1/master

config-scripts/cups-common.m4: fix error message typo

2 years agoconfig-scripts/cups-common.m4: fix error message typo 716/head
Adrian Ratiu [Wed, 29 Mar 2023 19:19:31 +0000 (22:19 +0300)] 
config-scripts/cups-common.m4: fix error message typo

$COMPONENT should be $COMPONENTS to properly print
the bad build component, otherwise it's empty.

2 years agoUpdate CHANGES.md for next release
Zdenek Dohnal [Thu, 1 Jun 2023 15:55:29 +0000 (17:55 +0200)] 
Update CHANGES.md for next release

2 years agoRemove 2.4.4 from CHANGES.md for now v2.4.3
Zdenek Dohnal [Thu, 1 Jun 2023 15:08:01 +0000 (17:08 +0200)] 
Remove 2.4.4 from CHANGES.md for now

2 years ago2.4.3
Zdenek Dohnal [Thu, 1 Jun 2023 15:05:54 +0000 (17:05 +0200)] 
2.4.3

2 years agoMerge pull request #711 from zdohnal/Plombo-printer-conf-strings
Michael R Sweet [Thu, 1 Jun 2023 14:08:55 +0000 (10:08 -0400)] 
Merge pull request #711 from zdohnal/Plombo-printer-conf-strings

Save strings file path in printers.conf by Bryan Cain + feedback applied

2 years agoprinters.c: Set .strings file path if PPD cache is valid (fixes #710) 711/head
Zdenek Dohnal [Thu, 1 Jun 2023 13:57:36 +0000 (15:57 +0200)] 
printers.c: Set .strings file path if PPD cache is valid (fixes #710)

2 years agoUpdate configure script.
Michael R Sweet [Thu, 1 Jun 2023 13:42:22 +0000 (09:42 -0400)] 
Update configure script.

2 years agoMerge pull request #704 from l1gi/master
Michael R Sweet [Thu, 1 Jun 2023 13:41:53 +0000 (09:41 -0400)] 
Merge pull request #704 from l1gi/master

host_os_name value in config-scripts has changed to 'solaris'

2 years agoCI: Fix i386 for now
Zdenek Dohnal [Thu, 1 Jun 2023 12:47:49 +0000 (14:47 +0200)] 
CI: Fix i386 for now

Although Ubuntu is dropping support for i386, this PR fixes build i386
for now. However we have to remove image upgrade, so probably once there
is a new image, i386 will be broken again.

I would remove the job for i386 once it breaks again due removing
support for i386 in Ubuntu.

2 years agohost_os_name value in config-scripts has changed to 'solaris' 704/head
Martin Rehak [Thu, 1 Jun 2023 12:10:23 +0000 (14:10 +0200)] 
host_os_name value in config-scripts has changed to 'solaris'

2 years agohost_os_name value in config-scripts has changed to 'solaris'
Martin Rehak [Fri, 26 May 2023 07:53:07 +0000 (09:53 +0200)] 
host_os_name value in config-scripts has changed to 'solaris'

2 years agoUpdate CHANGES.md
Zdenek Dohnal [Thu, 1 Jun 2023 10:11:38 +0000 (12:11 +0200)] 
Update CHANGES.md

2 years agocups/string.c: Return if `size` is 0 (fixes CVE-2023-32324)
Zdenek Dohnal [Thu, 1 Jun 2023 10:04:00 +0000 (12:04 +0200)] 
cups/string.c: Return if `size` is 0 (fixes CVE-2023-32324)

2 years agoSECURITY.md: Use GitHub private advisories for reporting (fixes #703)
Zdenek Dohnal [Thu, 1 Jun 2023 08:45:25 +0000 (10:45 +0200)] 
SECURITY.md: Use GitHub private advisories for reporting (fixes #703)

2 years agoCHANGES.md: Add pull requests which fix noticeable bugs
Zdenek Dohnal [Wed, 31 May 2023 12:51:02 +0000 (14:51 +0200)] 
CHANGES.md: Add pull requests which fix noticeable bugs

2 years agoMerge pull request #705 from zdohnal/fix_github_actions
Michael R Sweet [Tue, 30 May 2023 15:35:11 +0000 (11:35 -0400)] 
Merge pull request #705 from zdohnal/fix_github_actions

workflows.yaml: Fix Github Actions and various fixes

2 years agoworkflows.yaml: Fix Github Actions on i386 705/head
Zdenek Dohnal [Tue, 30 May 2023 12:57:46 +0000 (14:57 +0200)] 
workflows.yaml: Fix Github Actions on i386

- build i386 was failing due missing dependencies - libgcc-s1:i386 and
  libstdc++6:i386
- use ubuntu-latest, so we automatically use the latest stable, but
  print out the pretty name in workflow to show which version it is
  (dont wanna to look up the names :))
- update the image before testing

2 years agoMerge pull request #709 from nmuggli/media-col-database-custom-size
Michael R Sweet [Sun, 28 May 2023 15:15:19 +0000 (11:15 -0400)] 
Merge pull request #709 from nmuggli/media-col-database-custom-size

Add custom page size values to media-col-database

2 years agoAdd custom page size values to media-col-database 709/head
Nathan Muggli [Fri, 26 May 2023 18:36:45 +0000 (12:36 -0600)] 
Add custom page size values to media-col-database

When creating the IPP attrs based on the PPD file, if the PPD file
supports custom page sizes update our media-col-database to contain a
media-size attr with the min/max range.

2 years agoMerge branch 'master' of https://github.com/l1gi/cups
Martin Rehak [Fri, 26 May 2023 07:53:07 +0000 (09:53 +0200)] 
Merge branch 'master' of https://github.com/l1gi/cups

2 years agohost_os_name value in config-scripts has changed to 'solaris' some time ago
Martin Rehak [Thu, 18 May 2023 13:48:43 +0000 (15:48 +0200)] 
host_os_name value in config-scripts has changed to 'solaris' some time ago

2 years agoMerge pull request #461 from zdohnal/color_override_correction
zdohnal [Thu, 25 May 2023 14:52:53 +0000 (16:52 +0200)] 
Merge pull request #461 from zdohnal/color_override_correction

backend/ipp.c: Adjust job options with similar meaning to the same values

2 years agobackend/ipp.c: Adjust color job options 461/head
Zdenek Dohnal [Mon, 22 May 2023 15:52:43 +0000 (17:52 +0200)] 
backend/ipp.c: Adjust color job options

In case the client doesn't do it, we have to consolidate color options
in the job to prevent opposite options being set at the same time.

2 years agoMerge pull request #688 from Plombo/media-type-no-duplicate-names
Michael R Sweet [Wed, 24 May 2023 18:21:50 +0000 (14:21 -0400)] 
Merge pull request #688 from Plombo/media-type-no-duplicate-names

Fix duplicate PPD->IPP media-type name mappings

2 years agoFix duplicate PPD->IPP media-type name mappings 688/head
Bryan Cain [Fri, 12 May 2023 17:23:24 +0000 (11:23 -0600)] 
Fix duplicate PPD->IPP media-type name mappings

If more than one MediaType in a PPD matched the pattern for a registered
PWG media-type name, they would all be mapped to that name, making it
impossible for a client using CUPS' IPP interface to distinguish between
them or specify a particular one.

This comes up with Epson-provided PPDs, which frequently hit this case
by combining print quality with media type like so:
*MediaType PLAIN_HIGH/Plain paper-High: "
*MediaType PLAIN_NORMAL/Plain paper-Standard: "

Solve this problem by not assigning the standard PWG name to either one
when such duplication occurs.

2 years agoMerge pull request #706 from meshantz/delay-defaults-docs
Michael R Sweet [Fri, 19 May 2023 14:58:43 +0000 (10:58 -0400)] 
Merge pull request #706 from meshantz/delay-defaults-docs

Document default repeat interval

2 years agoDocument default repeat interval 706/head
Mike Shantz [Fri, 19 May 2023 14:41:48 +0000 (10:41 -0400)] 
Document default repeat interval

2 years agoPotential fix for Kyocera driver bug (Issue #619)
Michael R Sweet [Thu, 18 May 2023 20:47:17 +0000 (16:47 -0400)] 
Potential fix for Kyocera driver bug (Issue #619)

2 years agohost_os_name value in config-scripts has changed to 'solaris' some time ago
Martin Rehak [Thu, 18 May 2023 13:48:43 +0000 (15:48 +0200)] 
host_os_name value in config-scripts has changed to 'solaris' some time ago

2 years agoMerge pull request #692 from AtariDreams/inverse-check
Michael R Sweet [Sat, 13 May 2023 21:38:26 +0000 (17:38 -0400)] 
Merge pull request #692 from AtariDreams/inverse-check

Check that the number of trays is consistent before fetching anymore data

2 years agoMerge pull request #695 from ggodlewski/master
Michael R Sweet [Sat, 13 May 2023 21:36:43 +0000 (17:36 -0400)] 
Merge pull request #695 from ggodlewski/master

Fix ipptool JSON output

2 years agoCheck that the number of trays is consistent before fetching anymore data 692/head
Rose [Sat, 13 May 2023 19:14:34 +0000 (15:14 -0400)] 
Check that the number of trays is consistent before fetching anymore data

There is no point in getting this data otherwise if the number of sources defined for the media_sources and for the input_tray differ.