]>
git.ipfire.org Git - thirdparty/cups.git/log
Michael R Sweet [Tue, 7 Jul 2026 22:46:57 +0000 (18:46 -0400)]
Merge pull request #1645 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Américo Monteiro [Tue, 7 Jul 2026 21:48:17 +0000 (23:48 +0200)]
Translated using Weblate (Portuguese)
Currently translated at 99.9% (4184 of 4188 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/
Américo Monteiro [Mon, 6 Jul 2026 23:13:42 +0000 (01:13 +0200)]
Translated using Weblate (Portuguese)
Currently translated at 97.0% (4063 of 4188 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/
Américo Monteiro [Sun, 5 Jul 2026 21:13:28 +0000 (23:13 +0200)]
Translated using Weblate (Portuguese)
Currently translated at 95.6% (4005 of 4188 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/
Michael R Sweet [Sat, 4 Jul 2026 23:35:32 +0000 (19:35 -0400)]
Merge pull request #1643 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Américo Monteiro [Sat, 4 Jul 2026 21:49:25 +0000 (23:49 +0200)]
Translated using Weblate (Portuguese)
Currently translated at 95.4% (3999 of 4188 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/
Michael R Sweet [Sat, 4 Jul 2026 15:21:22 +0000 (11:21 -0400)]
Fix section parsing in web help index code (Issue #1641)
Michael R Sweet [Sat, 4 Jul 2026 15:00:35 +0000 (11:00 -0400)]
Merge pull request #1642 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Américo Monteiro [Sat, 4 Jul 2026 00:13:57 +0000 (02:13 +0200)]
Translated using Weblate (Portuguese)
Currently translated at 95.4% (3999 of 4188 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/
hyperflint [Fri, 3 Jul 2026 09:02:46 +0000 (11:02 +0200)]
Translated using Weblate (Russian)
Currently translated at 29.6% (1241 of 4188 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ru/
Michael R Sweet [Thu, 2 Jul 2026 16:53:14 +0000 (12:53 -0400)]
Merge pull request #1637 from aizu-m/commandtops-skip-terminator
stop response skip loop at nul in commandtops
Michael R Sweet [Thu, 2 Jul 2026 16:52:16 +0000 (12:52 -0400)]
Merge pull request #1638 from OpenPrinting/dependabot/github_actions/actions/checkout-7
Bump actions/checkout from 6 to 7
dependabot[bot] [Wed, 1 Jul 2026 10:42:29 +0000 (10:42 +0000)]
Bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [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/v6...v7)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Aizal Khan [Wed, 1 Jul 2026 07:59:30 +0000 (13:29 +0530)]
stop response skip loop at nul in commandtops
Michael R Sweet [Mon, 29 Jun 2026 17:10:27 +0000 (13:10 -0400)]
Merge pull request #1628 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
luca-vercelli [Mon, 29 Jun 2026 07:08:08 +0000 (09:08 +0200)]
Translated using Weblate (Italian)
Currently translated at 78.6% (3294 of 4188 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/
Remus-Gabriel Chelu [Fri, 26 Jun 2026 07:29:25 +0000 (09:29 +0200)]
Translated using Weblate (Romanian)
Currently translated at 100.0% (4188 of 4188 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ro/
Matthaiks [Thu, 25 Jun 2026 19:18:06 +0000 (21:18 +0200)]
Translated using Weblate (Polish)
Currently translated at 46.3% (1943 of 4188 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/
Libre [Fri, 26 Jun 2026 18:10:56 +0000 (20:10 +0200)]
Translated using Weblate (Spanish)
Currently translated at 100.0% (4188 of 4188 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
தமிழ்நேரம் [Wed, 24 Jun 2026 08:59:56 +0000 (10:59 +0200)]
Translated using Weblate (Tamil)
Currently translated at 99.4% (4158 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ta/
தமிழ்நேரம் [Mon, 22 Jun 2026 07:33:52 +0000 (09:33 +0200)]
Added translation using Weblate (Tamil)
Michael R Sweet [Mon, 29 Jun 2026 17:06:12 +0000 (13:06 -0400)]
Make sure we don't report invalid printer-state-reasons or printer-mandatory-job-attributes strings (Issue #1632)
Michael R Sweet [Mon, 29 Jun 2026 16:44:19 +0000 (12:44 -0400)]
Changelog.
Michael R Sweet [Mon, 29 Jun 2026 16:43:34 +0000 (12:43 -0400)]
Merge pull request #1635 from liushuyu/master
Add PWG media sizes for PRC D0-D6 and PRC ZL
liushuyu [Mon, 29 Jun 2026 14:20:40 +0000 (22:20 +0800)]
Add PWG media sizes for PRC D0-D6 and PRC ZL.
Also moves the Japanese media sizes from the Chinese block to the
Japanese block.
Michael R Sweet [Sat, 27 Jun 2026 14:25:05 +0000 (10:25 -0400)]
Fix escaping of spaces in options (Issue #1630)
Michael R Sweet [Thu, 25 Jun 2026 19:03:19 +0000 (15:03 -0400)]
Update message catalogs, packaging files, changelog.
Michael R Sweet [Thu, 25 Jun 2026 18:50:48 +0000 (14:50 -0400)]
Merge pull request #1535 from jackadam1981/i18n-chinese
Add Chinese (zh_CN/zh_TW) web UI, static doc home pages, and packaging
Michael R Sweet [Thu, 25 Jun 2026 18:45:42 +0000 (14:45 -0400)]
Merge pull request #1631 from aizu-m/collection-string-terminator
fix out-of-bounds write in cups_collection_string
Aizal Khan [Thu, 25 Jun 2026 17:15:13 +0000 (22:45 +0530)]
bound the nul terminator in cups_collection_string
The serialiser advances bufptr past bufend to report the length needed, so the final *bufptr = '\0' could terminate out of bounds once a collection overflows the buffer. Clamp it the way ippAttributeString already does, and keep the bufsize==0 sub-collection call safe.
Michael R Sweet [Tue, 23 Jun 2026 19:26:50 +0000 (15:26 -0400)]
Handle empty POST/PUT request message bodies.
Michael R Sweet [Tue, 23 Jun 2026 15:03:11 +0000 (11:03 -0400)]
Merge pull request #1629 from zdohnal/ppcache-template-free
ppd-cache.c: Free memory leaks when loading caches
Michael R Sweet [Tue, 23 Jun 2026 14:56:35 +0000 (10:56 -0400)]
Validate attributes-natural-language, and normalize the logging punctuation.
Zdenek Dohnal [Tue, 23 Jun 2026 14:40:48 +0000 (16:40 +0200)]
ppd-cache.c: Free memory leaks when loading caches
When we create temp queue for service shared by ippeveprinter, there are
several leaks in cupsd.
Michael R Sweet [Mon, 22 Jun 2026 21:23:05 +0000 (17:23 -0400)]
Y2038 fixes (Issue #1592)
- Use dateTime attribute variants.
- Use CUPS_LLFMT and CUPS_LLCAST for printing and saving time_t values.
- Use strtoll to read time_t values.
- Update web interface to request and display dateTime values.
Michael R Sweet [Mon, 22 Jun 2026 18:38:22 +0000 (14:38 -0400)]
Merge pull request #1618 from abubakarsabir924-cell/fix-1531-signed
cups: Fix use-after-free in cups_enum_dests() for local destinations (issue #1531)
Michael R Sweet [Mon, 22 Jun 2026 18:38:12 +0000 (14:38 -0400)]
Mirror temporary device URI changes from 2.4.x.
Michael R Sweet [Sun, 21 Jun 2026 16:41:22 +0000 (12:41 -0400)]
Merge pull request #1623 from aizu-m/client-ctype-mask
mask request bytes before ctype calls in client.c
aizu-m [Sun, 21 Jun 2026 08:22:11 +0000 (13:52 +0530)]
mask request bytes before ctype calls in client.c
Michael R Sweet [Sun, 21 Jun 2026 00:34:12 +0000 (20:34 -0400)]
Clear USB fault when getting device ID (Issue #1606)
Michael R Sweet [Sun, 21 Jun 2026 00:03:39 +0000 (20:03 -0400)]
Clean up Dependencies file.
Michael R Sweet [Sat, 20 Jun 2026 23:42:26 +0000 (19:42 -0400)]
Refactor PackBits code (Issue #1613)
Michael R Sweet [Sat, 20 Jun 2026 21:20:05 +0000 (17:20 -0400)]
Merge pull request #1614 from aizu-m/mime-char-bounds
fix out-of-bounds read in mime_check_rules char test
Michael R Sweet [Fri, 19 Jun 2026 15:22:30 +0000 (11:22 -0400)]
Save PPD cache in testcache unit test.
abubakarsabir924-cell [Mon, 15 Jun 2026 19:48:05 +0000 (15:48 -0400)]
cups: Fix use-after-free in cups_enum_dests() for local destinations (Issue #1531)
aizu-m [Sun, 14 Jun 2026 16:57:49 +0000 (22:27 +0530)]
fix out-of-bounds read in mime_check_rules char test
Michael R Sweet [Sat, 13 Jun 2026 16:21:46 +0000 (12:21 -0400)]
Fix JSON and PPD/PS long number error handling (Issue #1608)
Michael R Sweet [Sat, 13 Jun 2026 15:58:24 +0000 (11:58 -0400)]
Fix SNMP hex string debug output (Issue #1610)
Michael R Sweet [Fri, 12 Jun 2026 21:24:12 +0000 (17:24 -0400)]
Protect against bad JOB_PRINTER_URI variable (Issue #1611)
Michael R Sweet [Fri, 12 Jun 2026 21:18:05 +0000 (17:18 -0400)]
Protect against NULL variables (Issue #1611)
Michael R Sweet [Fri, 12 Jun 2026 21:00:18 +0000 (17:00 -0400)]
Fix cgiFormEncode error (Issue #1611)
Michael R Sweet [Fri, 12 Jun 2026 20:15:48 +0000 (16:15 -0400)]
Open temporary PPD files more securely.
Michael R Sweet [Fri, 12 Jun 2026 19:43:15 +0000 (15:43 -0400)]
Sanitizer destination-uri and pre-dial-string values.
Michael R Sweet [Fri, 12 Jun 2026 18:45:40 +0000 (14:45 -0400)]
Sanitize IPP attribute strings.
Michael R Sweet [Fri, 12 Jun 2026 15:56:07 +0000 (11:56 -0400)]
Use case insensitive comparisons since the PPD API does.
Zdenek Dohnal [Fri, 12 Jun 2026 07:18:36 +0000 (09:18 +0200)]
tls-gnutls.c: Fix type in debug message
StartTLS - > TLSStart
Michael R Sweet [Wed, 10 Jun 2026 22:27:59 +0000 (18:27 -0400)]
Make sure we have room for another space (Issue #1607)
Michael R Sweet [Wed, 10 Jun 2026 19:01:45 +0000 (15:01 -0400)]
Merge pull request #1605 from aizu-m/import-ppd-font-sscanf
bound Font attribute sscanf in import_ppd
jack [Wed, 10 Jun 2026 07:31:36 +0000 (15:31 +0800)]
Use ASCII strings in base zh_TW locale
jack [Wed, 10 Jun 2026 07:19:14 +0000 (15:19 +0800)]
Add base Traditional Chinese locale
aizu-m [Wed, 10 Jun 2026 06:18:34 +0000 (11:48 +0530)]
bound Font attribute sscanf in import_ppd
The four char[256] destinations were filled by width-less %s/%[ conversions, so a *Font value with a token over 255 bytes (reachable via a multi-line quoted version field) overflowed the stack. Cap each field at 255 chars.
Michael R Sweet [Tue, 9 Jun 2026 21:06:24 +0000 (17:06 -0400)]
Update requirements for language and country codes.
Michael R Sweet [Tue, 9 Jun 2026 20:40:04 +0000 (16:40 -0400)]
Merge pull request #1603 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Michael R Sweet [Tue, 9 Jun 2026 12:07:51 +0000 (14:07 +0200)]
Deleted translation using Weblate (Kabyle)
ButterflyOfFire [Mon, 8 Jun 2026 17:49:39 +0000 (19:49 +0200)]
Translated using Weblate (Kabyle)
Currently translated at 1.9% (80 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/kab/
ButterflyOfFire [Mon, 8 Jun 2026 17:23:40 +0000 (19:23 +0200)]
Added translation using Weblate (Kabyle)
Michael R Sweet [Tue, 9 Jun 2026 20:36:27 +0000 (16:36 -0400)]
Increase supply name buffer by 1 byte (Issue #1604)
Michael R Sweet [Tue, 9 Jun 2026 12:27:28 +0000 (08:27 -0400)]
Changelog.
Michael R Sweet [Tue, 9 Jun 2026 12:20:35 +0000 (08:20 -0400)]
Merge pull request #1587 from ValdikSS/1375-fix-ppd-cache
Fix PageSize/media to PPD mapping for non-Adobe names. Fixes #1375
Michael R Sweet [Tue, 9 Jun 2026 11:37:24 +0000 (07:37 -0400)]
Copyright, whitespace.
Michael R Sweet [Tue, 9 Jun 2026 11:35:17 +0000 (07:35 -0400)]
Merge pull request #1598 from aizu-m/encode-string-bounds
fix out-of-bounds write in encode_string
aizu-m [Tue, 9 Jun 2026 06:42:08 +0000 (12:12 +0530)]
fix out-of-bounds write in encode_string
Michael R Sweet [Mon, 8 Jun 2026 11:37:27 +0000 (07:37 -0400)]
Merge pull request #1595 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Américo Monteiro [Sun, 7 Jun 2026 19:33:26 +0000 (21:33 +0200)]
Translated using Weblate (Portuguese)
Currently translated at 95.6% (4003 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/
Michael R Sweet [Sat, 6 Jun 2026 15:17:01 +0000 (11:17 -0400)]
Merge pull request #1594 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Américo Monteiro [Fri, 5 Jun 2026 21:41:32 +0000 (23:41 +0200)]
Translated using Weblate (Portuguese)
Currently translated at 95.4% (3994 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/
ValdikSS [Thu, 28 May 2026 18:05:44 +0000 (21:05 +0300)]
Fix PageSize/media to PPD mapping for non-Adobe names. Fixes #1375
If the client software sends only PageSize using Adobe name (common
when printer is shared), but the PPD file uses non-Adobe name,
default page size was used, which is incorrect.
The previous attempt in commit
226f509 to fix this issue have
missed loading PPD cache if no media is supplied.
Jack Adam [Sat, 11 Apr 2026 13:05:10 +0000 (21:05 +0800)]
Add Chinese web UI templates
Add Simplified and Traditional Chinese templates for the CUPS web interface, including the CUPS 2.5 home.tmpl template.
Update desktop and packaging metadata for zh_CN and zh_TW template installation.
Michael R Sweet [Sun, 24 May 2026 18:41:21 +0000 (14:41 -0400)]
Fix whitespace.
Michael R Sweet [Sun, 24 May 2026 18:32:58 +0000 (14:32 -0400)]
Fix test suite crash caused by changes for duplicate printers (Issue #1531)
Michael R Sweet [Sun, 24 May 2026 17:29:13 +0000 (13:29 -0400)]
Changelog.
Michael R Sweet [Sun, 24 May 2026 17:28:22 +0000 (13:28 -0400)]
Merge pull request #1573 from abubakarsabir924-cell/fix-local-printer-duplicate-1531
Fix duplicate local printers in DNS-SD discovery (Issue #1531)
Michael R Sweet [Sun, 24 May 2026 17:25:13 +0000 (13:25 -0400)]
Merge pull request #1577 from abubakarsabir924-cell/fix/issue-1304-satisfy-all
Fix: Satisfy all with multiple Require directives (issue #1304)
Michael R Sweet [Sun, 24 May 2026 17:16:05 +0000 (13:16 -0400)]
Merge pull request #1582 from abubakarsabir924-cell/fix/docker-libcups-runtime-issue-1275
Fix Docker: embed rpath and copy libcups.so.2 into runtime stage (issue #1275)
abubakarsabir924-cell [Sat, 23 May 2026 15:32:15 +0000 (11:32 -0400)]
Fix duplicate local printers using UUID comparison (Issue #1531)
Updated fix based on michaelrsweet feedback:
- Added printer-uuid to pattrs array in _cupsGetDests()
- Compare UUID from DNS-SD TXT record against local queue
printer-uuid values in cups_dest_query_cb()
- UUID is guaranteed unique unlike rp value
abubakarsabir924-cell [Sat, 23 May 2026 14:47:16 +0000 (10:47 -0400)]
Remove redundant libgnutls packages and translate comments to English
abubakarsabir924-cell [Sat, 23 May 2026 03:40:06 +0000 (23:40 -0400)]
Fix review comments: use bool, English comments, collapse else-if
Michael R Sweet [Fri, 22 May 2026 20:14:33 +0000 (16:14 -0400)]
Don't strip '@domain' portion of username if StripUserDomain isn't enabled (Issue #1584)
abubakarsabir924-cell [Tue, 19 May 2026 03:44:03 +0000 (23:44 -0400)]
Fix: use --libdir=/usr/lib to ensure library installs to standard path
Previous approach used /usr/lib64 which is x86_64 specific and
not present in Ubuntu's ldconfig search path. Using --libdir=/usr/lib
at configure time ensures libcups.so.2 installs to the standard
location that ldconfig finds on all architectures.
Also using make install DESTDIR=/buildroot as suggested by
@michaelrsweet to copy the entire build root instead of
individual files.
Tested: container stays Up, curl returns HTTP 200
abubakarsabir924-cell [Tue, 19 May 2026 02:21:06 +0000 (22:21 -0400)]
Address review feedback from @michaelrsweet
- Remove LDFLAGS rpath (not needed, not portable across architectures)
- Use make install DESTDIR=/buildroot instead of copying individual files
- Add lib64->lib symlink and run ldconfig for library discovery
Tested: container stays Up, curl returns HTTP 200
abubakarsabir924-cell [Mon, 18 May 2026 22:10:23 +0000 (18:10 -0400)]
Fix Docker: embed rpath and copy runtime files (issue #1275)
PR #1153 introduced a multi-stage Dockerfile but left two bugs:
1. libcups.so.2 was not copied into the runtime stage, causing:
error while loading shared libraries: libcups.so.2: cannot open
shared object file: No such file or directory
2. Runtime apt dependencies (openssl, libavahi-client3, etc.)
were missing from the runtime stage.
Fix:
- Pass LDFLAGS='-Wl,-rpath,/usr/lib64' at configure time
- Explicitly COPY libcups.so.2 into runtime stage
- Install correct runtime packages in runtime stage
- Add Browsing No to prevent avahi crash in container
- Run ldconfig in runtime stage
Fixes #1275
Michael R Sweet [Fri, 15 May 2026 18:51:55 +0000 (14:51 -0400)]
Merge pull request #1579 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Pierfrancesco Passerini [Thu, 14 May 2026 18:17:48 +0000 (20:17 +0200)]
Translated using Weblate (Italian)
Currently translated at 78.4% (3281 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/
abubakarsabir924-cell [Fri, 15 May 2026 00:42:34 +0000 (20:42 -0400)]
Fix: Satisfy all with multiple Require directives
- conf.c: Prevent level overwrite when multiple Require
directives are used in same Location block
- auth.c: Implement AND logic for Satisfy all with
multiple Require conditions instead of OR logic
Fixes #1304
abubakarsabir924-cell [Sun, 10 May 2026 06:07:31 +0000 (02:07 -0400)]
fix duplicate local printers in DNS-SD discovery (Issue #1531)
Michael R Sweet [Thu, 7 May 2026 14:36:23 +0000 (10:36 -0400)]
Merge pull request #1571 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Pierfrancesco Passerini [Thu, 7 May 2026 13:27:43 +0000 (15:27 +0200)]
Translated using Weblate (Italian)
Currently translated at 78.1% (3267 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/
Michael R Sweet [Wed, 6 May 2026 16:16:58 +0000 (12:16 -0400)]
Merge pull request #1567 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Pierfrancesco Passerini [Wed, 6 May 2026 13:19:56 +0000 (15:19 +0200)]
Translated using Weblate (Italian)
Currently translated at 76.9% (3217 of 4183 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/
Michael R Sweet [Mon, 4 May 2026 20:18:44 +0000 (16:18 -0400)]
Support standard PPD, PWG, and legacy names for media/PageSize regardless of the PPD file (Issue #1375)