]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
3 months agocupsd.conf: Remove IdleExitTimeout if no ondemand support 1216/head
Zdenek Dohnal [Thu, 10 Apr 2025 06:14:04 +0000 (08:14 +0200)] 
cupsd.conf: Remove IdleExitTimeout if no ondemand support

There are distributions using CUPS without ondemand support, where
IdleExitTimeout in cupsd.conf causes error in logs...

Related #1215

3 months agoAdd httpGetSecurity API.
Michael R Sweet [Mon, 7 Apr 2025 19:19:30 +0000 (15:19 -0400)] 
Add httpGetSecurity API.

3 months agoMirror ippfind timeout fix from 2.4.x.
Michael R Sweet [Mon, 7 Apr 2025 14:30:52 +0000 (10:30 -0400)] 
Mirror ippfind timeout fix from 2.4.x.

3 months agoUpdate fix for ippDateToTime.
Michael R Sweet [Mon, 7 Apr 2025 12:26:08 +0000 (08:26 -0400)] 
Update fix for ippDateToTime.

4 months agoFix code formatting.
Michael R Sweet [Fri, 4 Apr 2025 16:35:28 +0000 (12:35 -0400)] 
Fix code formatting.

4 months agoBump copyright.
Michael R Sweet [Fri, 4 Apr 2025 15:31:49 +0000 (11:31 -0400)] 
Bump copyright.

4 months agoFix copy/paste error in Avahi cupsDNSSDBrowseNew code.
Michael R Sweet [Fri, 4 Apr 2025 15:26:37 +0000 (11:26 -0400)] 
Fix copy/paste error in Avahi cupsDNSSDBrowseNew code.

Use cupsGetClock API in ippfind to measure time, and timeout if nothing
comes in after 2.5 seconds in "forever" mode.

4 months agoFix snapshot version number.
Michael R Sweet [Tue, 21 May 2024 19:09:56 +0000 (15:09 -0400)] 
Fix snapshot version number.

4 months agoUpdate localizations and fix issues.
Michael R Sweet [Thu, 3 Apr 2025 15:27:24 +0000 (11:27 -0400)] 
Update localizations and fix issues.

4 months agoFix conditional to match.
Michael R Sweet [Thu, 3 Apr 2025 14:52:49 +0000 (10:52 -0400)] 
Fix conditional to match.

4 months agoUse cupsGetClock for cupsEnumDests (Issue #1084)
Michael R Sweet [Thu, 3 Apr 2025 14:45:27 +0000 (10:45 -0400)] 
Use cupsGetClock for cupsEnumDests (Issue #1084)

4 months agoFix language tests on macOS.
Michael R Sweet [Thu, 3 Apr 2025 01:24:54 +0000 (21:24 -0400)] 
Fix language tests on macOS.

4 months agoTemporarily disable string tests on macOS - need to remove bundle localization code.
Michael R Sweet [Thu, 3 Apr 2025 00:53:00 +0000 (20:53 -0400)] 
Temporarily disable string tests on macOS - need to remove bundle localization code.

4 months agoLog debug history if the backend fails (Issue #1205)
Michael R Sweet [Wed, 2 Apr 2025 20:05:03 +0000 (16:05 -0400)] 
Log debug history if the backend fails (Issue #1205)

4 months agoUse cupsdCreateConfFile and friends when updating a PPD file (Issue #1109)
Michael R Sweet [Wed, 2 Apr 2025 19:41:28 +0000 (15:41 -0400)] 
Use cupsdCreateConfFile and friends when updating a PPD file (Issue #1109)

4 months agoIgnore PageSize, PageRegion, InputSlot, and MediaType when media is specified (Issue...
Michael R Sweet [Wed, 2 Apr 2025 19:27:36 +0000 (15:27 -0400)] 
Ignore PageSize, PageRegion, InputSlot, and MediaType when media is specified (Issue #1125)

4 months agoAllow media to override PageSize, InputSlot, and MediaType (Issue #1125)
Michael R Sweet [Wed, 2 Apr 2025 19:22:39 +0000 (15:22 -0400)] 
Allow media to override PageSize, InputSlot, and MediaType (Issue #1125)

4 months agoDrop non-keyword characters from PPD names (Issue #1118)
Michael R Sweet [Wed, 2 Apr 2025 19:13:05 +0000 (15:13 -0400)] 
Drop non-keyword characters from PPD names (Issue #1118)

4 months agoUpdate new Swedish templates for latest web interface changes.
Michael R Sweet [Wed, 2 Apr 2025 15:31:08 +0000 (11:31 -0400)] 
Update new Swedish templates for latest web interface changes.

4 months agoChangelog for translation updates.
Michael R Sweet [Wed, 2 Apr 2025 15:24:39 +0000 (11:24 -0400)] 
Changelog for translation updates.

4 months agoMerge pull request #1153 from multi-stager/patch-1
Michael R Sweet [Wed, 2 Apr 2025 15:24:16 +0000 (11:24 -0400)] 
Merge pull request #1153 from multi-stager/patch-1

Update Dockerfile to Multi-Stage

4 months agoMerge pull request #1161 from Matthaiks/pl
Michael R Sweet [Wed, 2 Apr 2025 15:22:22 +0000 (11:22 -0400)] 
Merge pull request #1161 from Matthaiks/pl

Update Polish translation

4 months agoMerge branch 'master' into pl 1161/head
Michael R Sweet [Wed, 2 Apr 2025 15:21:53 +0000 (11:21 -0400)] 
Merge branch 'master' into pl

4 months agoMerge pull request #1164 from EkaterinePapava/master
Michael R Sweet [Wed, 2 Apr 2025 15:20:46 +0000 (11:20 -0400)] 
Merge pull request #1164 from EkaterinePapava/master

locale: Add Georgian translation

4 months agoMerge pull request #1146 from yeager/master
Michael R Sweet [Wed, 2 Apr 2025 15:19:31 +0000 (11:19 -0400)] 
Merge pull request #1146 from yeager/master

Adding Swedish translation

4 months agoMerge pull request #1120 from zdohnal/no-queue-override
Michael R Sweet [Wed, 2 Apr 2025 15:17:57 +0000 (11:17 -0400)] 
Merge pull request #1120 from zdohnal/no-queue-override

libcups: Don't overwrite permanent queue with network during discovery

4 months agoMerge branch 'master' into no-queue-override 1120/head
Michael R Sweet [Wed, 2 Apr 2025 15:17:35 +0000 (11:17 -0400)] 
Merge branch 'master' into no-queue-override

4 months agoFix job-completed event notifications for jobs that are canceled before they are...
Michael R Sweet [Wed, 2 Apr 2025 14:11:14 +0000 (10:11 -0400)] 
Fix job-completed event notifications for jobs that are canceled before they are started (Issue #1209)

4 months agoMore web interface tweaks (Issue #1207)
Michael R Sweet [Tue, 1 Apr 2025 23:33:30 +0000 (19:33 -0400)] 
More web interface tweaks (Issue #1207)

4 months agoFix heading spacing on the home page.
Michael R Sweet [Tue, 1 Apr 2025 23:29:50 +0000 (19:29 -0400)] 
Fix heading spacing on the home page.

4 months agoMore logging cleanup.
Michael R Sweet [Tue, 1 Apr 2025 23:25:32 +0000 (19:25 -0400)] 
More logging cleanup.

4 months agoMore web interface cleanup (Issue #1207)
Michael R Sweet [Tue, 1 Apr 2025 21:57:20 +0000 (17:57 -0400)] 
More web interface cleanup (Issue #1207)

4 months agoAvoid double make strings (Make Make Model)
Michael R Sweet [Tue, 1 Apr 2025 18:53:22 +0000 (14:53 -0400)] 
Avoid double make strings (Make Make Model)

4 months agoMultiple fixes:
Michael R Sweet [Tue, 1 Apr 2025 17:45:37 +0000 (13:45 -0400)] 
Multiple fixes:

- Fix encryption support (new httpSetEncryption function returns true on success)
- Demote many developer messages to debug2 log level.
- Adopt cupsdLogPrinter in a few places.
- Normalize a few other messages.

4 months agoPublish DNS-SD services and normalize log messages.
Michael R Sweet [Tue, 1 Apr 2025 17:29:54 +0000 (13:29 -0400)] 
Publish DNS-SD services and normalize log messages.

4 months agoAdd cupsdLogPrinter function.
Michael R Sweet [Tue, 1 Apr 2025 17:29:28 +0000 (13:29 -0400)] 
Add cupsdLogPrinter function.

4 months agoUpdate Xcode/VC++ config.h headers.
Michael R Sweet [Sun, 30 Mar 2025 23:32:07 +0000 (19:32 -0400)] 
Update Xcode/VC++ config.h headers.

4 months agoFix ippDateToTime when the timezone is not GMT/UTC (Issue #1208)
Michael R Sweet [Sun, 30 Mar 2025 23:21:30 +0000 (19:21 -0400)] 
Fix ippDateToTime when the timezone is not GMT/UTC (Issue #1208)

4 months agoUpdate the web interface templates for better usability/discoverability
Michael R Sweet [Sun, 30 Mar 2025 13:00:34 +0000 (09:00 -0400)] 
Update the web interface templates for better usability/discoverability
(Issue #1207)

- Made the navbar larger with more space around the link/title content.
- Now use the OpenPrinting CUPS logo rather than the text in the navbar.
- Added proper section titles and links to common admin functions on the
  home page.
- Translations copied from the admin template, may require some tweaking...

4 months agoFix response from Create-Xxx-Subscriptions request to include all Subscription object...
Michael R Sweet [Wed, 26 Mar 2025 19:59:20 +0000 (15:59 -0400)] 
Fix response from Create-Xxx-Subscriptions request to include all Subscription object attributes (Issue #1204)

4 months agoMore VC++ updates.
Michael R Sweet [Tue, 18 Mar 2025 19:04:10 +0000 (15:04 -0400)] 
More VC++ updates.

4 months agoFix VC++ projects.
Michael R Sweet [Tue, 18 Mar 2025 18:56:43 +0000 (14:56 -0400)] 
Fix VC++ projects.

4 months agoUpdate dependencies.
Michael R Sweet [Tue, 18 Mar 2025 18:52:35 +0000 (14:52 -0400)] 
Update dependencies.

4 months agoUpdate Windows DLL exports.
Michael R Sweet [Tue, 18 Mar 2025 18:46:54 +0000 (14:46 -0400)] 
Update Windows DLL exports.

4 months agoMirror Win32 DNS-SD changes from libcups project.
Michael R Sweet [Tue, 18 Mar 2025 18:43:02 +0000 (14:43 -0400)] 
Mirror Win32 DNS-SD changes from libcups project.

4 months agoExtend datwTime validation to UTC+14 (Issue #1201)
Michael R Sweet [Mon, 17 Mar 2025 16:27:56 +0000 (12:27 -0400)] 
Extend datwTime validation to UTC+14 (Issue #1201)

4 months agoAdd Kyocera KM-1635 soft-reset quirk
zdohnal [Fri, 14 Mar 2025 06:15:15 +0000 (07:15 +0100)] 
Add Kyocera KM-1635 soft-reset quirk

This device needs soft-reset, otherwise all data sent to
it is consumed but nothing is printed on occasion.

4 months agobackend/ipp.c: Avoid NULL strcmp argument
zdohnal [Fri, 14 Mar 2025 05:44:45 +0000 (06:44 +0100)] 
backend/ipp.c: Avoid NULL strcmp argument

It is possible for format to be NULL (as described in the function signature) which causes a segmentation fault when it is passed to strcmp. This patch changes the conditional to short-circuit if format is NULL and only call strcmp otherwise.

4 months agoUpdate cups_ka.po 1164/head
Ekaterine Papava [Fri, 14 Mar 2025 03:12:32 +0000 (04:12 +0100)] 
Update cups_ka.po

4 months agoFix duplex mode mapping (Issue #1200)
Michael R Sweet [Thu, 13 Mar 2025 20:51:15 +0000 (16:51 -0400)] 
Fix duplex mode mapping (Issue #1200)

4 months agoAdd Kyocera KM-1635 USB quirks 1198/head
ValdikSS [Thu, 13 Mar 2025 06:28:07 +0000 (09:28 +0300)] 
Add Kyocera KM-1635 USB quirks

This device needs soft-reset, otherwise all data sent to
it is consumed but nothing is printed on occasion.

4 months agoAvoid NULL strcmp argument 1197/head
Erik [Thu, 13 Mar 2025 03:44:39 +0000 (23:44 -0400)] 
Avoid NULL strcmp argument

It is possible for format to be NULL (as described in the function signature) which causes a segmentation fault when it is passed to strcmp. This patch changes the conditional to short-circuit if format is NULL and only call strcmp otherwise.

4 months agocupsd.conf.5: JobRetry* is not used for 'retry-current-job'
zdohnal [Wed, 12 Mar 2025 15:22:43 +0000 (16:22 +0100)] 
cupsd.conf.5: JobRetry* is not used for 'retry-current-job'

JobRetryInterval and JobRetryLimit are not used for 'retry-current-job' error policy.

Fixes #1194

4 months agocupsd.conf.5: JobRetry* is not used for 'retry-current-job' 1195/head
Zdenek Dohnal [Wed, 12 Mar 2025 15:21:21 +0000 (16:21 +0100)] 
cupsd.conf.5: JobRetry* is not used for 'retry-current-job'

JobRetryInterval and JobRetryLimit are not used for 'retry-current-job'
error policy.

Fixes #1194

4 months agobackend/ipp.c: Raise alert if there is issue with cert
zdohnal [Wed, 12 Mar 2025 12:41:44 +0000 (13:41 +0100)] 
backend/ipp.c: Raise alert if there is issue with cert

Currently we show more detailed info about this error in debug logs, but since there are not many desktops to pick up our dBUS notification, it would be great to report it in CUPS log too.

4 months agobackend/ipp.c: Raise alert if there is issue with cert 1194/head
Zdenek Dohnal [Wed, 12 Mar 2025 12:19:04 +0000 (13:19 +0100)] 
backend/ipp.c: Raise alert if there is issue with cert

Currently we show more detailed info about this error in debug logs, but
since there are not many desktops to pick up our dBUS notification, it
would be great to report it in CUPS log too.

4 months agoMerge pull request #1193 from AZero13/API
zdohnal [Tue, 11 Mar 2025 09:38:37 +0000 (10:38 +0100)] 
Merge pull request #1193 from AZero13/API

Use cupsGetFile() API

4 months agoUse cupsGetFile() API 1193/head
Rose [Mon, 10 Mar 2025 00:40:42 +0000 (20:40 -0400)] 
Use cupsGetFile() API

4 months agoraster-interpret.c: Verify base for `strtol()`
zdohnal [Mon, 10 Mar 2025 08:13:10 +0000 (09:13 +0100)] 
raster-interpret.c: Verify base for `strtol()`

Input for atoi() can be bad number for argument base in strtol(), causing returning an incorrect pointer address and later segfault.

Break out from function if the base is incorrect.

Fixes #1188

4 months agoMerge branch 'OpenPrinting:master' into master 1146/head
Daniel Nylander [Fri, 7 Mar 2025 14:50:10 +0000 (15:50 +0100)] 
Merge branch 'OpenPrinting:master' into master

4 months agoraster-interpret.c: Verify base for `strtol()` 1189/head
Zdenek Dohnal [Fri, 7 Mar 2025 09:32:26 +0000 (10:32 +0100)] 
raster-interpret.c: Verify base for `strtol()`

Input for `atoi()` can be bad number for argument `base` in `strtol()`,
causing returning an incorrect pointer address and later segfault.

Break out from function if the base is incorrect.

Fixes #1188

5 months agoUpdate X.509 documentation (Issue #1182)
Michael R Sweet [Tue, 4 Mar 2025 23:00:07 +0000 (18:00 -0500)] 
Update X.509 documentation (Issue #1182)

5 months agoAdd OAuth and X.509 utilities (Issue #1184)
Michael R Sweet [Tue, 4 Mar 2025 18:43:37 +0000 (13:43 -0500)] 
Add OAuth and X.509 utilities (Issue #1184)

5 months agoImplement BrowseDomains, FilterLocation, and FilterType directives in client.conf...
Michael R Sweet [Fri, 28 Feb 2025 20:13:50 +0000 (15:13 -0500)] 
Implement BrowseDomains, FilterLocation, and FilterType directives in client.conf (Issue #1180)

5 months agoDon't ignore cups-config.
Michael R Sweet [Fri, 28 Feb 2025 00:26:12 +0000 (19:26 -0500)] 
Don't ignore cups-config.

5 months agoMake sure math library is in PKGCONFIG_LIBS_STATIC
Michael R Sweet [Thu, 27 Feb 2025 18:51:36 +0000 (13:51 -0500)] 
Make sure math library is in PKGCONFIG_LIBS_STATIC

5 months agoFix --enable-libtool help.
Michael R Sweet [Thu, 27 Feb 2025 18:40:11 +0000 (13:40 -0500)] 
Fix --enable-libtool help.

5 months agoRemove another reference to cups-config.
Michael R Sweet [Thu, 27 Feb 2025 18:32:58 +0000 (13:32 -0500)] 
Remove another reference to cups-config.

5 months agoUpdate man pages.
Michael R Sweet [Thu, 27 Feb 2025 16:10:31 +0000 (11:10 -0500)] 
Update man pages.

5 months agoRemove more references to old cups-config script.
Michael R Sweet [Thu, 27 Feb 2025 16:08:15 +0000 (11:08 -0500)] 
Remove more references to old cups-config script.

5 months agoUpdate documentation.
Michael R Sweet [Thu, 27 Feb 2025 16:06:39 +0000 (11:06 -0500)] 
Update documentation.

5 months agoDrop cups-config script.
Michael R Sweet [Thu, 27 Feb 2025 15:50:10 +0000 (10:50 -0500)] 
Drop cups-config script.

5 months agoUse TLS common name by default, fallback to resolved name.
Michael R Sweet [Wed, 26 Feb 2025 19:40:38 +0000 (14:40 -0500)] 
Use TLS common name by default, fallback to resolved name.

5 months agoUpdate copyright.
Michael R Sweet [Wed, 26 Feb 2025 15:39:02 +0000 (10:39 -0500)] 
Update copyright.

5 months agoMerge pull request #1177 from k-furman/master
Michael R Sweet [Wed, 26 Feb 2025 15:36:52 +0000 (10:36 -0500)] 
Merge pull request #1177 from k-furman/master

Do not allow nul character as delimiter.

5 months agoFix heap overflow in array.c 1177/head
Kirill Furman [Mon, 24 Feb 2025 19:31:45 +0000 (22:31 +0300)] 
Fix heap overflow in array.c
When delim variable has \0 value,
strchr() func switch end var to the end of string,
set it to \0 and shift to next byte, which causes
heap overflow when new cycle runs
Fixes #1176
Signed-off by Kirill Furman <kir.furman@gmail.com>

5 months agoMerge branch 'OpenPrinting:master' into master
Daniel Nylander [Tue, 18 Feb 2025 18:54:41 +0000 (19:54 +0100)] 
Merge branch 'OpenPrinting:master' into master

5 months agolocale: Add Georgian translation
Ekaterine Papava [Fri, 14 Feb 2025 13:15:55 +0000 (14:15 +0100)] 
locale: Add Georgian translation

5 months agoAdd italian translation fixes
Zdenek Dohnal [Thu, 13 Feb 2025 18:59:57 +0000 (19:59 +0100)] 
Add italian translation fixes

5 months agoDelete templates/sv/p.pl
Daniel Nylander [Thu, 13 Feb 2025 18:49:05 +0000 (19:49 +0100)] 
Delete templates/sv/p.pl

5 months agoAdd files via upload
Daniel Nylander [Thu, 13 Feb 2025 18:42:57 +0000 (19:42 +0100)] 
Add files via upload

5 months agoAdding Swedish index.html
Daniel Nylander [Thu, 13 Feb 2025 18:28:01 +0000 (19:28 +0100)] 
Adding Swedish index.html

5 months agoAdding Swedish templates
Daniel Nylander [Thu, 13 Feb 2025 18:25:12 +0000 (19:25 +0100)] 
Adding Swedish templates

5 months agoMerge branch 'OpenPrinting:master' into master
Daniel Nylander [Thu, 13 Feb 2025 12:54:12 +0000 (13:54 +0100)] 
Merge branch 'OpenPrinting:master' into master

5 months agoUpdate Polish translation
Matthaiks [Wed, 12 Feb 2025 22:05:45 +0000 (23:05 +0100)] 
Update Polish translation

5 months agoMerge pull request #1159 from jschwender/patch-1
zdohnal [Wed, 12 Feb 2025 07:10:33 +0000 (08:10 +0100)] 
Merge pull request #1159 from jschwender/patch-1

Update cups_de.po

5 months agoUpdate cups_de.po 1159/head
jschwender [Tue, 11 Feb 2025 19:18:50 +0000 (20:18 +0100)] 
Update cups_de.po

improvement of translation quality

5 months agoUpdate Dockerfile to Multi-Stage 1153/head
multi-stager [Tue, 4 Feb 2025 02:11:48 +0000 (10:11 +0800)] 
Update Dockerfile to Multi-Stage

6 months agoBump copyright.
Michael R Sweet [Mon, 27 Jan 2025 20:01:16 +0000 (15:01 -0500)] 
Bump copyright.

6 months agoFix an edge case in cupsGetResponse so we don't accidentally write a 0-length chunk.
Michael R Sweet [Mon, 27 Jan 2025 19:59:18 +0000 (14:59 -0500)] 
Fix an edge case in cupsGetResponse so we don't accidentally write a 0-length chunk.

6 months agoAdding Swedish translation
Daniel Nylander [Sat, 25 Jan 2025 19:57:43 +0000 (20:57 +0100)] 
Adding Swedish translation

6 months agoAdding Swedish translation
Daniel Nylander [Sat, 25 Jan 2025 18:07:38 +0000 (19:07 +0100)] 
Adding Swedish translation

6 months agoAdd debug printfs for OAuth functions.
Michael R Sweet [Wed, 22 Jan 2025 20:49:05 +0000 (15:49 -0500)] 
Add debug printfs for OAuth functions.

6 months agoDon't send copies for raster jobs.
Michael R Sweet [Tue, 21 Jan 2025 14:58:15 +0000 (09:58 -0500)] 
Don't send copies for raster jobs.

6 months agoForce copies to 1 for banner and raster files (Issue #1143)
Michael R Sweet [Mon, 20 Jan 2025 17:23:55 +0000 (12:23 -0500)] 
Force copies to 1 for banner and raster files (Issue #1143)

6 months agoFix copyright year.
Michael R Sweet [Thu, 16 Jan 2025 13:14:57 +0000 (08:14 -0500)] 
Fix copyright year.

6 months agoFix bug in Get-Notifications content (job-id for printer subcriptions vs. notify...
Michael R Sweet [Thu, 16 Jan 2025 13:11:40 +0000 (08:11 -0500)] 
Fix bug in Get-Notifications content (job-id for printer subcriptions vs. notify-job-id for job subscriptions)

6 months agoMerge pull request #1123 from City-busz/patch-1
zdohnal [Wed, 15 Jan 2025 12:19:27 +0000 (13:19 +0100)] 
Merge pull request #1123 from City-busz/patch-1

desktop: Add Hungarian translation

6 months agoppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported
Zdenek Dohnal [Wed, 15 Jan 2025 12:17:29 +0000 (13:17 +0100)] 
ppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported

resolution-supported has IPP_TAG_RESOLUTION

6 months agoFix support for auth strings and fix ipptool default values bug.
Michael R Sweet [Wed, 8 Jan 2025 17:32:49 +0000 (12:32 -0500)] 
Fix support for auth strings and fix ipptool default values bug.