]>
git.ipfire.org Git - thirdparty/cups.git/log
Francisco Serrador [Fri, 14 Nov 2025 22:13:03 +0000 (23:13 +0100)]
Translated using Weblate (Spanish)
Currently translated at 100.0% (4174 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Michael R Sweet [Fri, 14 Nov 2025 22:36:51 +0000 (17:36 -0500)]
Return false if we have an unterminated quoted string token, and do a better job
validating "$ENV[name]" and "${name}" expansions (Issue #1422)
Also update the documentation comments.
Michael R Sweet [Fri, 14 Nov 2025 22:12:41 +0000 (17:12 -0500)]
Add debug logging of supported formats.
Michael R Sweet [Fri, 14 Nov 2025 21:56:34 +0000 (16:56 -0500)]
Document that the USB backend supports other "quirks" files in the same
directory as "org.cups.usb-quirks", and where to report issues.
Michael R Sweet [Thu, 13 Nov 2025 17:58:41 +0000 (12:58 -0500)]
Fix memory leak in cups-oauth.
Michael R Sweet [Thu, 13 Nov 2025 20:04:39 +0000 (15:04 -0500)]
Merge pull request #1421 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Remus-Gabriel Chelu [Thu, 13 Nov 2025 19:41:47 +0000 (20:41 +0100)]
Translated using Weblate (Romanian)
Currently translated at 35.9% (1500 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ro/
Michael R Sweet [Thu, 13 Nov 2025 17:54:18 +0000 (12:54 -0500)]
Fix NULL checks in home.cgi.
Michael R Sweet [Thu, 13 Nov 2025 17:45:10 +0000 (12:45 -0500)]
Report a debug message if we are unable to get the device descriptor when making the URI.
Michael R Sweet [Thu, 13 Nov 2025 17:41:54 +0000 (12:41 -0500)]
Fix Coverity-reported locking issue for subscriptions.
Michael R Sweet [Thu, 13 Nov 2025 16:52:28 +0000 (11:52 -0500)]
Fix format errors in Swedish localization.
Report WARNING when we don't have a complete localization.
Michael R Sweet [Thu, 13 Nov 2025 15:56:02 +0000 (10:56 -0500)]
Add new HTML/CSS developer test page for CUPS web interface (not installed), fix some CSS issues.
Michael R Sweet [Wed, 12 Nov 2025 21:48:32 +0000 (16:48 -0500)]
Add a new mimeGetFilterTypes function for getting the list of supported document
formats for a printer. The new algorithm is O(n log n) vs. the old O(n^4) (Issue #1392)
Michael R Sweet [Wed, 12 Nov 2025 21:48:30 +0000 (16:48 -0500)]
Fix typo in documentation.
Michael R Sweet [Wed, 12 Nov 2025 19:01:02 +0000 (14:01 -0500)]
Fix regression in cupsResolveConflicts.
Michael R Sweet [Wed, 12 Nov 2025 18:53:36 +0000 (13:53 -0500)]
Don't use custom prefix for non-standard sizes - use oe or om (Issue #1388)
Michael R Sweet [Wed, 12 Nov 2025 18:18:47 +0000 (13:18 -0500)]
Add custom default size to media-supported, media-size-supported, and media-col-database as well (Issue #1388)
Michael R Sweet [Tue, 11 Nov 2025 23:04:10 +0000 (18:04 -0500)]
Report default media in media/-col/-ready (Issue #1388)
Michael R Sweet [Tue, 11 Nov 2025 21:28:46 +0000 (16:28 -0500)]
Fix potential crash in cups-driverd due to duplicate PPDs (Issue #1355)
Michael R Sweet [Mon, 10 Nov 2025 22:52:01 +0000 (17:52 -0500)]
Don't error out when scanning for PPDs (Issue #1416)
Michael R Sweet [Mon, 10 Nov 2025 20:13:33 +0000 (15:13 -0500)]
Fix clang warnings.
Michael R Sweet [Mon, 10 Nov 2025 20:13:05 +0000 (15:13 -0500)]
Validate referer URL before using it (Issue #1419)
Michael R Sweet [Mon, 10 Nov 2025 19:04:08 +0000 (14:04 -0500)]
Merge pull request #1418 from snejok/usb-quirks-Samsung-M337x-387x-407x-
04e83460
usb-quirks: disable soft-reset for Samsung M337x 387x 407x Series
Michael R Sweet [Fri, 7 Nov 2025 15:12:27 +0000 (10:12 -0500)]
Merge pull request #1417 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Francisco Serrador [Fri, 7 Nov 2025 12:36:33 +0000 (13:36 +0100)]
Translated using Weblate (Spanish)
Currently translated at 100.0% (4174 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Francisco Serrador [Wed, 5 Nov 2025 14:31:32 +0000 (15:31 +0100)]
Translated using Weblate (Spanish)
Currently translated at 86.0% (3592 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Michael R Sweet [Tue, 4 Nov 2025 16:47:11 +0000 (11:47 -0500)]
Make sure options pointer is not NULL.
Michael R Sweet [Tue, 4 Nov 2025 01:04:25 +0000 (20:04 -0500)]
Merge pull request #1408 from AZero13/cve
Do not allow negative file descriptors to be closed
AZero13 [Tue, 4 Nov 2025 00:55:13 +0000 (19:55 -0500)]
Do not allow negative file descriptors to be closed
Especially
Michael R Sweet [Tue, 4 Nov 2025 00:36:49 +0000 (19:36 -0500)]
Merge pull request #1405 from AZero13/refactor
Refactor finish_document_data to use goto better
AZero13 [Tue, 4 Nov 2025 00:22:51 +0000 (19:22 -0500)]
Set fd to -1
AZero13 [Mon, 3 Nov 2025 23:47:08 +0000 (18:47 -0500)]
Refactor finish_document_data to use goto better
Michael R Sweet [Sat, 1 Nov 2025 19:20:52 +0000 (15:20 -0400)]
Merge pull request #1399 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Francisco Serrador [Fri, 31 Oct 2025 19:21:56 +0000 (20:21 +0100)]
Translated using Weblate (Spanish)
Currently translated at 79.0% (3301 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Michael R Sweet [Sat, 1 Nov 2025 14:11:15 +0000 (10:11 -0400)]
Merge pull request #1398 from OpenPrinting/dependabot/github_actions/github/codeql-action-4
Bump github/codeql-action from 3 to 4
dependabot[bot] [Sat, 1 Nov 2025 10:01:44 +0000 (10:01 +0000)]
Bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Lenar Shakirov [Fri, 31 Oct 2025 16:25:32 +0000 (19:25 +0300)]
usb-quirks: disable soft-reset for Samsung M337x 387x 407x Series
04e8:3460 Samsung Electronics Co., Ltd M337x 387x 407x Series
I noticed that after first page is printed in CUPS scanner stops responding
Michael R Sweet [Fri, 31 Oct 2025 15:22:58 +0000 (11:22 -0400)]
Fix cupsJWTSign for EC with GNU TLS.
Michael R Sweet [Thu, 30 Oct 2025 23:51:38 +0000 (19:51 -0400)]
Update list of attributes for each group.
Michael R Sweet [Wed, 29 Oct 2025 18:37:07 +0000 (14:37 -0400)]
Pick up fixed from libcups for cupsCreateCredentials, cupsCreateCredentialsRequest, and httpGetDateTime.
Michael R Sweet [Thu, 23 Oct 2025 21:55:46 +0000 (17:55 -0400)]
Add "WITH-VALUE !number" comparison for ipptool.
Clean up man pages.
Michael R Sweet [Wed, 22 Oct 2025 22:15:32 +0000 (18:15 -0400)]
Update/sync docos.
Michael R Sweet [Wed, 22 Oct 2025 21:55:34 +0000 (17:55 -0400)]
Cleanup and sync with changes from libcups.
Michael R Sweet [Tue, 21 Oct 2025 23:23:00 +0000 (19:23 -0400)]
Sync up documentation and other changes from libcups.
Michael R Sweet [Tue, 21 Oct 2025 20:38:24 +0000 (16:38 -0400)]
Sync up documentation and other changes from libcups.
Michael R Sweet [Tue, 21 Oct 2025 16:09:03 +0000 (12:09 -0400)]
Add 'install' sub-command to cups-x509 command (Issue #1227)
Michael R Sweet [Fri, 17 Oct 2025 17:43:32 +0000 (13:43 -0400)]
Show PPD load errors, stop test early for hard errors.
Michael R Sweet [Fri, 17 Oct 2025 17:30:00 +0000 (13:30 -0400)]
Update MIME unit test:
- Use test-internal.h header.
- Add support for finding list of source formats for a given dest
format, like cupsd does, and include timing information.
- Migrate to C99 comments.
- Modernize CUPS array API usage.
Michael R Sweet [Thu, 16 Oct 2025 14:24:25 +0000 (10:24 -0400)]
Fix whitespace.
Michael R Sweet [Wed, 8 Oct 2025 18:18:05 +0000 (14:18 -0400)]
Amend the SECURITY.md file to add a section on how reports are processed.
Zdenek Dohnal [Tue, 7 Oct 2025 11:47:44 +0000 (13:47 +0200)]
select.c: Ajust indentation due code guidelines
Michael R Sweet [Sun, 5 Oct 2025 22:30:21 +0000 (18:30 -0400)]
Merge pull request #1381 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Francisco Serrador [Sat, 4 Oct 2025 22:51:52 +0000 (00:51 +0200)]
Translated using Weblate (Spanish)
Currently translated at 78.9% (3297 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Michael R Sweet [Thu, 2 Oct 2025 22:23:33 +0000 (18:23 -0400)]
Merge pull request #1380 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Ettore Atalan [Wed, 1 Oct 2025 21:18:37 +0000 (23:18 +0200)]
Translated using Weblate (German)
Currently translated at 74.5% (3113 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/de/
Michael R Sweet [Sun, 28 Sep 2025 12:34:18 +0000 (08:34 -0400)]
Merge pull request #1376 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Ettore Atalan [Sat, 27 Sep 2025 09:22:58 +0000 (11:22 +0200)]
Translated using Weblate (German)
Currently translated at 74.1% (3097 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/de/
Michael R Sweet [Thu, 25 Sep 2025 21:50:53 +0000 (17:50 -0400)]
Fix clang warnings, clean up cupsArray usage.
Michael R Sweet [Thu, 25 Sep 2025 19:14:44 +0000 (15:14 -0400)]
Fix clang-detected issues.
Michael R Sweet [Thu, 25 Sep 2025 13:52:43 +0000 (09:52 -0400)]
Bump copyright.
Michael R Sweet [Thu, 25 Sep 2025 13:51:56 +0000 (09:51 -0400)]
Merge pull request #1373 from houranled/rename
Use correct parameter name : rename 'value' to 'key'.Rename
李浩然 [Thu, 25 Sep 2025 09:52:22 +0000 (17:52 +0800)]
Merge branch 'OpenPrinting:master' into rename
houranled [Thu, 25 Sep 2025 09:50:51 +0000 (17:50 +0800)]
Use correct parameter name : rename 'value' to 'key'.
Michael R Sweet [Wed, 24 Sep 2025 17:02:15 +0000 (13:02 -0400)]
Merge pull request #1372 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Максим Горпиніч [Wed, 24 Sep 2025 16:01:22 +0000 (18:01 +0200)]
Added translation using Weblate (Ukrainian)
Michael R Sweet [Tue, 23 Sep 2025 22:27:27 +0000 (18:27 -0400)]
Fix typo.
Michael R Sweet [Tue, 23 Sep 2025 22:24:35 +0000 (18:24 -0400)]
Update locking for Avahi.
zdohnal [Tue, 23 Sep 2025 08:47:50 +0000 (10:47 +0200)]
Merge pull request #1370 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Sadaharu Wakisaka [Mon, 22 Sep 2025 07:35:13 +0000 (09:35 +0200)]
Translated using Weblate (Japanese)
Currently translated at 40.4% (1689 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ja/
luca-vercelli [Mon, 22 Sep 2025 07:37:42 +0000 (09:37 +0200)]
Translated using Weblate (Italian)
Currently translated at 73.4% (3064 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/
zdohnal [Tue, 23 Sep 2025 06:20:58 +0000 (08:20 +0200)]
scheduler: Fix applying print-as-raster default
Currently, the default was applied only when present in the request, which is how lp behaves. However the application does not have to include defaults in the request, so we have to apply it in scheduler.
Additionally, this covers a case when print-as-raster is set by default, but we want to disable it in a specific request.
Michael R Sweet [Mon, 22 Sep 2025 17:19:30 +0000 (13:19 -0400)]
_httpWait's usessl parameter wasn't being used.
Zdenek Dohnal [Mon, 22 Sep 2025 12:33:45 +0000 (14:33 +0200)]
scheduler: Fix applying print-as-raster default
Currently, the default was applied only when present in the request,
which is how `lp` behaves. However the application does not have to
include defaults in the request, so we have to apply it in scheduler.
Additionally, this covers a case when print-as-raster is set by default,
but we want to disable it in a specific request.
Michael R Sweet [Fri, 19 Sep 2025 16:14:30 +0000 (12:14 -0400)]
Merge pull request #1368 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Matthaiks [Thu, 18 Sep 2025 15:31:09 +0000 (17:31 +0200)]
Translated using Weblate (Polish)
Currently translated at 46.0% (1924 of 4174 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/
Sadaharu Wakisaka [Thu, 18 Sep 2025 01:27:51 +0000 (03:27 +0200)]
Translated using Weblate (Japanese)
Currently translated at 40.4% (1687 of 4172 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ja/
Michael R Sweet [Thu, 18 Sep 2025 15:14:55 +0000 (11:14 -0400)]
Update localization files.
Michael R Sweet [Thu, 18 Sep 2025 15:14:22 +0000 (11:14 -0400)]
Add a --user-agent option to the ipptool command.
zdohnal [Tue, 16 Sep 2025 14:26:43 +0000 (16:26 +0200)]
Merge pull request #1367 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Sadaharu Wakisaka [Tue, 16 Sep 2025 07:09:17 +0000 (09:09 +0200)]
Translated using Weblate (Japanese)
Currently translated at 40.3% (1684 of 4172 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ja/
luca-vercelli [Mon, 15 Sep 2025 11:05:19 +0000 (13:05 +0200)]
Translated using Weblate (Italian)
Currently translated at 73.3% (3062 of 4172 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/
Michael R Sweet [Mon, 15 Sep 2025 13:22:13 +0000 (09:22 -0400)]
Merge pull request #1365 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Matthaiks [Sun, 14 Sep 2025 06:10:22 +0000 (08:10 +0200)]
Translated using Weblate (Polish)
Currently translated at 46.0% (1922 of 4172 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/
Michael R Sweet [Sat, 13 Sep 2025 20:39:34 +0000 (16:39 -0400)]
Merge OAuth device authorization grant stuff from 3.0.
Michael R Sweet [Thu, 11 Sep 2025 14:47:20 +0000 (10:47 -0400)]
Add a write check in cupsFileOpen/Fd (Issue #1360)
zdohnal [Thu, 11 Sep 2025 13:02:32 +0000 (15:02 +0200)]
Merge commit from fork
Block authentication using alternate method.
Michael R Sweet [Tue, 9 Sep 2025 15:32:08 +0000 (11:32 -0400)]
Some test suite cleanup.
Michael R Sweet [Tue, 2 Sep 2025 23:46:02 +0000 (19:46 -0400)]
Report error when unable to read attribute name.
Report validation errors, if any, when reading an IPP message in the unit test
program.
Michael R Sweet [Tue, 9 Sep 2025 15:18:34 +0000 (11:18 -0400)]
Merge pull request #1359 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
marcelocripe [Tue, 9 Sep 2025 14:01:08 +0000 (16:01 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (4155 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
Michael R Sweet [Wed, 3 Sep 2025 13:13:02 +0000 (09:13 -0400)]
Merge pull request #1356 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Francisco Serrador [Tue, 2 Sep 2025 12:07:52 +0000 (14:07 +0200)]
Translated using Weblate (Spanish)
Currently translated at 78.4% (3260 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Zdenek Dohnal [Wed, 3 Sep 2025 06:17:33 +0000 (08:17 +0200)]
Update changes.md
Zdenek Dohnal [Wed, 3 Sep 2025 06:09:21 +0000 (08:09 +0200)]
Merge branch 'dhejyuyr-fix-memory-leak'
Elizaveta Tereshkina [Tue, 2 Sep 2025 13:25:34 +0000 (16:25 +0300)]
ppd-cache: fix memory leak in `_cupsConvertOptions()`
Add `ippDelete()` after `ippAddCollection()` to avoid memory leak.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: f099325eb (Move _cupsConvertOptions to ppd-cache since it depends on PPDs.)
Signed-off-by: Elizaveta Tereshkina <etereshkina@astralinux.ru>
Zdenek Dohnal [Tue, 2 Sep 2025 06:23:18 +0000 (08:23 +0200)]
Merge branch 'dhejyuyr-fix-unreachable-code'
Fix unreachable block in IPP backend
Zdenek Dohnal [Tue, 2 Sep 2025 06:20:52 +0000 (08:20 +0200)]
Fix indentation
Elizaveta Tereshkina [Mon, 1 Sep 2025 15:18:48 +0000 (18:18 +0300)]
ipp.c: fix unreachable else-if block in main()
Incorrect if-else structure leads to unreachable code.
When the value of `ipp_status` is equal to `IPP_STATUS_ERROR_INTERNAL`
the variable `waitjob_tries` is incremented and `ippDelete()` function
will be called depending on its value.
In current ipp.c if `ipp_status` is equal to `IPP_STATUS_ERROR_INTERNAL`
it falls into `if` block, because it's not equal to
`IPP_STATUS_ERROR_SERVICE_UNAVAILABLE` and `IPP_STATUS_ERROR_BUSY`.
So `else if` block with `waitjob_tries` is always unreachable
and the function is called unconditionally.
Swap the conditions to correct handling of
`IPP_STATUS_ERROR_INTERNAL` status.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: a469f8a57 (Merge changes from CUPS 1.7svn-r10704.)
Signed-off-by: Elizaveta Tereshkina <etereshkina@astralinux.ru>
Michael R Sweet [Tue, 2 Sep 2025 00:07:15 +0000 (20:07 -0400)]
Merge pull request #1352 from OpenPrinting/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
dependabot[bot] [Mon, 1 Sep 2025 19:58:06 +0000 (19:58 +0000)]
Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>