]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
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 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 agoAdd italian translation fixes
Zdenek Dohnal [Thu, 13 Feb 2025 18:59:57 +0000 (19:59 +0100)] 
Add italian translation fixes

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

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 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.

6 months agosearch.c: newer free() accepts NULL
Zdenek Dohnal [Tue, 7 Jan 2025 17:49:53 +0000 (18:49 +0100)] 
search.c: newer free() accepts NULL

6 months agosearch.c: Fix build failure due new GCC
zdohnal [Tue, 7 Jan 2025 17:41:52 +0000 (18:41 +0100)] 
search.c: Fix build failure due new GCC

The warning by GCC is false positive because we don't access the freed memory in the scope, only the pointer memory which contained address of allocated memory on the heap, and used that for updating index pointer.

Using ptrdiff_t struct before realloc works the warning around.

6 months agosearch.c: Fix build failure due new GCC 1132/head
Zdenek Dohnal [Tue, 7 Jan 2025 16:44:30 +0000 (17:44 +0100)] 
search.c: Fix build failure due new GCC

The warning by GCC is false positive because we don't access the freed
memory in the scope, only the pointer memory which contained address of
allocated memory on the heap, and used that for updating index pointer.

Using ptrdiff_t struct before realloc works the warning around.

6 months agoDEVELOPING.md: add list of files with always updated copyright
Zdenek Dohnal [Tue, 7 Jan 2025 16:04:23 +0000 (17:04 +0100)] 
DEVELOPING.md: add list of files with always updated copyright

6 months agoUpdate copyrights of changed files
Zdenek Dohnal [Tue, 7 Jan 2025 15:51:28 +0000 (16:51 +0100)] 
Update copyrights of changed files

6 months agoRevert "Update copyrights"
Zdenek Dohnal [Tue, 7 Jan 2025 15:33:28 +0000 (16:33 +0100)] 
Revert "Update copyrights"

This reverts commit d91cfb1c26c4d70ecfb62e64d897c8ae0ed97c5f.

6 months agoUpdate copyrights
Zdenek Dohnal [Tue, 7 Jan 2025 14:22:52 +0000 (15:22 +0100)] 
Update copyrights

6 months agoAdd `NoSystem` SSLOptions value
zdohnal [Tue, 7 Jan 2025 13:27:02 +0000 (14:27 +0100)] 
Add `NoSystem` SSLOptions value

In case using system crypto policy breaks communication with device irreversibly (f.e. if device does not support better key exchange algorithm), the new option value gives a way how to opt-out from crypto policy if user do not want to change default system crypto policy for the whole machine.

6 months agoFix cupsSaveCredentials - NULL path wasn't updated to the default path.
Michael R Sweet [Tue, 7 Jan 2025 02:10:35 +0000 (21:10 -0500)] 
Fix cupsSaveCredentials - NULL path wasn't updated to the default path.

6 months agoAdd `NoSystem` SSLOptions value 1130/head
Zdenek Dohnal [Mon, 6 Jan 2025 17:34:30 +0000 (18:34 +0100)] 
Add `NoSystem` SSLOptions value

In case using system crypto policy breaks communication with device
irreversibly (f.e. if device does not support better key exchange
algorithm), the new option value gives a way how to opt-out from crypto
policy if user do not want to change default system crypto policy for
the whole machine.

7 months agoForce userconfig to sysconfig when running as root.
Michael R Sweet [Sun, 29 Dec 2024 19:37:01 +0000 (14:37 -0500)] 
Force userconfig to sysconfig when running as root.

7 months agodesktop: Add Hungarian translation 1123/head
Balló György [Sun, 22 Dec 2024 21:50:14 +0000 (22:50 +0100)] 
desktop: Add Hungarian translation

Also add to the Settings category, which is the recommended main category for hardware management tools. Reference:
https://specifications.freedesktop.org/menu-spec/latest/additional-category-registry.html

7 months agoIgnore ldconfig errors (Issue #1122)
Michael R Sweet [Fri, 20 Dec 2024 00:14:40 +0000 (19:14 -0500)] 
Ignore ldconfig errors (Issue #1122)

7 months agoDrop stderr logging of global alloc/free.
Michael R Sweet [Thu, 19 Dec 2024 18:24:00 +0000 (13:24 -0500)] 
Drop stderr logging of global alloc/free.

7 months agoFix handling of finishings/finishings-col and media/media-col in ippeveprinter.
Michael R Sweet [Wed, 18 Dec 2024 15:29:21 +0000 (10:29 -0500)] 
Fix handling of finishings/finishings-col and media/media-col in ippeveprinter.

7 months agoscheduler: Fix `ServerTokens None`
Zdenek Dohnal [Tue, 17 Dec 2024 12:23:48 +0000 (13:23 +0100)] 
scheduler: Fix `ServerTokens None`

Fixes #1111

7 months agoFix memory leak in OpenSSL hashing code.
Michael R Sweet [Mon, 16 Dec 2024 17:29:10 +0000 (12:29 -0500)] 
Fix memory leak in OpenSSL hashing code.

7 months agoLoosen the clock test a bit to allow for larger errors (seems like the Github
Michael R Sweet [Mon, 9 Dec 2024 20:59:36 +0000 (15:59 -0500)] 
Loosen the clock test a bit to allow for larger errors (seems like the Github
CI VMs don't provide accurate clocks...)

7 months agotls-gnutls.c: Use system crypto policy if available
zdohnal [Fri, 6 Dec 2024 06:51:45 +0000 (07:51 +0100)] 
tls-gnutls.c: Use system crypto policy if available

Some Linux systems provide a way how to control cryptography on system or service level via cryptographic policies. OpenSSL implementation reflects system changes to some degree, however GnuTLS implementation does not take system policy into account.

GnuTLS supports fallback mechanism, so we can fallback to NORMAL if @System is not defined on the system.

Fortunately, the current GnuTLS implementation allows overrides via priority strings (so no "this cipher/hash is disabled" if we enabled them in our application by priority string), so allowing to honor system policy can save us work if someone wants to disable a specific cipher, so we don't have to implement it in libcups.

8 months agotls-gnutls.c: Use system crypto policy if available 1105/head
Zdenek Dohnal [Wed, 4 Dec 2024 18:20:21 +0000 (19:20 +0100)] 
tls-gnutls.c: Use system crypto policy if available

Some Linux systems provide a way how to control cryptography on system
or service level via cryptographic policies. OpenSSL implementation
reflects system changes to some degree, however GnuTLS implementation
does not take system policy into account.

GnuTLS supports fallback mechanism, so we can fallback to NORMAL if
@SYSTEM is not defined on the system.

Fortunately, the current GnuTLS implementation allows overrides via
priority strings (so no "this cipher/hash is disabled" if we enabled
them in our application by priority string), so allowing to honor system
policy can save us work if someone wants to disable a specific cipher,
so we don't have to implement it in libcups.

8 months agoMerge pull request #1103 from bcvieira/Pt_Br_Translation.fix
zdohnal [Mon, 2 Dec 2024 16:44:35 +0000 (17:44 +0100)] 
Merge pull request #1103 from bcvieira/Pt_Br_Translation.fix

Update jobs.tmpl pt_BR template

8 months agoscheduler: Add missing line (related #1102)
Zdenek Dohnal [Mon, 2 Dec 2024 13:22:11 +0000 (14:22 +0100)] 
scheduler: Add missing line (related #1102)

8 months agoscheduler: Clean up failed IPP Everywhere permanent queues
zdohnal [Mon, 2 Dec 2024 12:53:48 +0000 (13:53 +0100)] 
scheduler: Clean up failed IPP Everywhere permanent queues

If creating of permanent queue with IPP Everywhere model fails in separate thread, the print queue is created as raw.

It would be great if we remove such queue if creation fails, and marking them as temporary would make them to be removed automatically.

8 months agoUpdate jobs.tmpl pt_BR template 1103/head
bcvieira [Thu, 28 Nov 2024 17:31:48 +0000 (14:31 -0300)] 
Update jobs.tmpl pt_BR template

Corrected from &Atilde;&Acirc;¡ to the correct &aacute; pt_BR translation for jobs.tmpl. To verify check printer.tmpl which is right. usuário (user) and páginas (pages).

8 months agoscheduler: Clean up failed IPP Everywhere permanent queues 1102/head
Zdenek Dohnal [Thu, 28 Nov 2024 14:37:18 +0000 (15:37 +0100)] 
scheduler: Clean up failed IPP Everywhere permanent queues

If creating of permanent queue with IPP Everywhere model fails in
separate thread, the print queue is created as raw.

It would be great if we remove such queue if creation fails, and marking
them as temporary would make them to be removed automatically.

8 months agoAdd cupsJWTLoadCredentials API.
Michael R Sweet [Mon, 25 Nov 2024 21:19:46 +0000 (16:19 -0500)] 
Add cupsJWTLoadCredentials API.

Update JWT/JWS support code to handle X.509 certificates in addition to the
raw public/private key stuff - needed for some OAuth applications.

8 months agoFix compiler error.
Michael R Sweet [Thu, 21 Nov 2024 19:26:38 +0000 (14:26 -0500)] 
Fix compiler error.

8 months agoAdd macOS-specific compiler options.
Michael R Sweet [Thu, 21 Nov 2024 18:39:26 +0000 (13:39 -0500)] 
Add macOS-specific compiler options.

8 months agoDrop reference to po2strings.
Michael R Sweet [Thu, 21 Nov 2024 18:32:17 +0000 (13:32 -0500)] 
Drop reference to po2strings.

Update localized strings.

8 months agoAdd --bearer-token and --client-name options to ipptool.
Michael R Sweet [Wed, 20 Nov 2024 18:57:49 +0000 (13:57 -0500)] 
Add --bearer-token and --client-name options to ipptool.

8 months agoUpdate default includedir to ${prefix}/include/libcups2
Michael R Sweet [Mon, 18 Nov 2024 16:13:31 +0000 (11:13 -0500)] 
Update default includedir to ${prefix}/include/libcups2

Fix default domain socket on macOS.

8 months agoHarden debug printf PID support (Issue #1066)
Michael R Sweet [Fri, 15 Nov 2024 17:33:34 +0000 (12:33 -0500)] 
Harden debug printf PID support (Issue #1066)

8 months agoFix make-and-model whitespace trimming (Issue #1096)
Michael R Sweet [Fri, 15 Nov 2024 16:54:01 +0000 (11:54 -0500)] 
Fix make-and-model whitespace trimming (Issue #1096)

8 months agoMerge pull request #1094 from yetamrra/staple-bind
zdohnal [Wed, 6 Nov 2024 11:48:24 +0000 (12:48 +0100)] 
Merge pull request #1094 from yetamrra/staple-bind

Support bare staple and bind finishings values

8 months agoFix cupsd.conf man page defaults (Issue #1086)
Michael R Sweet [Tue, 5 Nov 2024 01:17:10 +0000 (20:17 -0500)] 
Fix cupsd.conf man page defaults (Issue #1086)

8 months agoAppend .well-known paths to the oauth URI's resource path.
Michael R Sweet [Mon, 4 Nov 2024 18:15:34 +0000 (13:15 -0500)] 
Append .well-known paths to the oauth URI's resource path.

9 months agoSupport bare staple and bind finishings values 1094/head
Benjamin Gordon [Fri, 1 Nov 2024 19:51:42 +0000 (13:51 -0600)] 
Support bare staple and bind finishings values

In the generated PPD, IPP finishings "bind" is supposed to map to
"StapleLocation: BindAuto".  Similarly, "staple" is supposed to map to
"StapleLocation: SingleAuto".  The code already handles this, except
the lookup is blocked by a check that only accepts "staple-*" and
"bind-*" prefixed versions.  Fix this by adding the bare versions to the
existing checks.

Fixes issue #1073.

9 months agoMore GNU TLS updates.
Michael R Sweet [Wed, 30 Oct 2024 13:50:23 +0000 (09:50 -0400)] 
More GNU TLS updates.

9 months agoGNU TLS updates.
Michael R Sweet [Wed, 30 Oct 2024 13:49:44 +0000 (09:49 -0400)] 
GNU TLS updates.

9 months agoDisable testpage unit test for now until we can figure out why it fails on the CI...
Michael R Sweet [Tue, 22 Oct 2024 23:29:58 +0000 (19:29 -0400)] 
Disable testpage unit test for now until we can figure out why it fails on the CI systems.

9 months agoAdd fcntl.h on Windows.
Michael R Sweet [Tue, 22 Oct 2024 20:30:12 +0000 (16:30 -0400)] 
Add fcntl.h on Windows.

9 months agoAdd cupsGetClock API.
Michael R Sweet [Tue, 22 Oct 2024 20:25:50 +0000 (16:25 -0400)] 
Add cupsGetClock API.

9 months agoAdd cupsGetClock API.
Michael R Sweet [Tue, 22 Oct 2024 20:24:44 +0000 (16:24 -0400)] 
Add cupsGetClock API.

9 months agoFix bug introduced in cupsRasterReadHeader* - was always returning 0.
Michael R Sweet [Mon, 21 Oct 2024 16:35:31 +0000 (12:35 -0400)] 
Fix bug introduced in cupsRasterReadHeader* - was always returning 0.

Add a raster error for I/O errors.

Migrate testraster to the test-internal.h framework.

9 months agoAdd missing OAuth sources to VC project.
Michael R Sweet [Mon, 21 Oct 2024 15:39:04 +0000 (11:39 -0400)] 
Add missing OAuth sources to VC project.

9 months agoMove more of the page header checks to the cups_raster_update function and add error...
Michael R Sweet [Mon, 21 Oct 2024 14:11:07 +0000 (10:11 -0400)] 
Move more of the page header checks to the cups_raster_update function and add error messages for all detected issues.

9 months agotls-gnutls.c: Fix tls_credentials -> credentials
Zdenek Dohnal [Mon, 21 Oct 2024 11:30:15 +0000 (13:30 +0200)] 
tls-gnutls.c: Fix tls_credentials -> credentials

9 months agoUse client credentials, if set.
Michael R Sweet [Sat, 19 Oct 2024 21:05:48 +0000 (17:05 -0400)] 
Use client credentials, if set.

9 months agoFix bug in new cupsParseOptions2 implementation.
Michael R Sweet [Sat, 19 Oct 2024 20:45:53 +0000 (16:45 -0400)] 
Fix bug in new cupsParseOptions2 implementation.

Fix bug in run-stp-tests.sh script.

9 months agoMore libraries needed for static builds
Michael R Sweet [Sat, 19 Oct 2024 19:31:18 +0000 (15:31 -0400)] 
More libraries needed for static builds

9 months agoAdd support for libcups v3 client credentials API.
Michael R Sweet [Sat, 19 Oct 2024 19:26:35 +0000 (15:26 -0400)] 
Add support for libcups v3 client credentials API.

9 months agoconfigure and pkg-config changes:
Michael R Sweet [Sat, 19 Oct 2024 19:09:54 +0000 (15:09 -0400)] 
configure and pkg-config changes:

- Revert default prefix to autoconf default (/usr/local)
- Fix pkg-config libraries when just building static libraries

9 months agoAdd cupsParseOptions2.
Michael R Sweet [Sat, 19 Oct 2024 16:36:42 +0000 (12:36 -0400)] 
Add cupsParseOptions2.

9 months agoDump remainder of old macOS localization support.
Michael R Sweet [Fri, 18 Oct 2024 21:14:22 +0000 (17:14 -0400)] 
Dump remainder of old macOS localization support.

9 months agoUpdate DNS-SD registrations to work over localhost.
Michael R Sweet [Fri, 18 Oct 2024 16:19:28 +0000 (12:19 -0400)] 
Update DNS-SD registrations to work over localhost.

9 months agoFix crash in unit tests.
Michael R Sweet [Fri, 18 Oct 2024 00:52:40 +0000 (20:52 -0400)] 
Fix crash in unit tests.

Fix mapping of HTTP_STATUS_NOT_MODIFIED to IPP_STATUS_OK_EVENTS_COMPLETE.

Only test pinning for self-signed certs.

Fix sanity check for cupsSaveCredentials (copy/paste error)

9 months agoMirror X.509 updates from libcups v3:
Michael R Sweet [Fri, 18 Oct 2024 00:07:18 +0000 (20:07 -0400)] 
Mirror X.509 updates from libcups v3:

- cupsCreateCredentialsRequest now stores the new private key separately
- cupsSaveCredentials now uses the CSR private key when saving just the new
  certificate
- cupsSaveCredentials now does some sanity checks on the input values.
- cupsSaveCredentials now supports credential removal as documented.

9 months agoMirror fixes from libcups:
Michael R Sweet [Tue, 15 Oct 2024 15:27:48 +0000 (11:27 -0400)] 
Mirror fixes from libcups:

- Allow empty resolution values in ipptool files.
- Fix memory leak in httpConnectAgain.
- Remove dead code in ipp_read_io.

9 months agoChangelog.
Michael R Sweet [Sat, 12 Oct 2024 16:08:17 +0000 (12:08 -0400)] 
Changelog.

9 months agoUpdated to re-validate the server's X.509 certificate (Issue #1061)
Michael R Sweet [Sat, 12 Oct 2024 16:08:05 +0000 (12:08 -0400)] 
Updated  to re-validate the server's X.509 certificate (Issue #1061)

9 months agoMake sure we call inflateEnd when there is an error reading or comparing the stream...
Michael R Sweet [Sat, 12 Oct 2024 15:45:13 +0000 (11:45 -0400)] 
Make sure we call inflateEnd when there is an error reading or comparing the stream CRC (Issue #1070)

9 months agoFix type mixup (should be bool)
Michael R Sweet [Wed, 9 Oct 2024 15:18:00 +0000 (11:18 -0400)] 
Fix type mixup (should be bool)

9 months agoMerge pull request #1076 from zdohnal/use-etc-as-root
zdohnal [Wed, 9 Oct 2024 06:24:39 +0000 (08:24 +0200)] 
Merge pull request #1076 from zdohnal/use-etc-as-root

dest.c: Don't look for user config in cupsGetNamedDest as root

9 months agodest.c: Don't look for user config in cupsGetNamedDest as root 1076/head
Zdenek Dohnal [Tue, 8 Oct 2024 10:35:43 +0000 (12:35 +0200)] 
dest.c: Don't look for user config in cupsGetNamedDest as root

We were still looking into ~/.cups/lpoptions as root in the function,
which IMHO is not expected.

9 months agoLimit ippReadIO recursion.
Michael R Sweet [Sun, 6 Oct 2024 02:00:40 +0000 (22:00 -0400)] 
Limit ippReadIO recursion.

10 months agoFix the default User-Agent string sent in requests.
Michael R Sweet [Thu, 3 Oct 2024 21:51:21 +0000 (17:51 -0400)] 
Fix the default User-Agent string sent in requests.

10 months agoEscape localized strings in PPDs.
Michael R Sweet [Mon, 23 Sep 2024 13:17:42 +0000 (09:17 -0400)] 
Escape localized strings in PPDs.

10 months agoMerge pull request #1055 from crrodriguez/patch-1
zdohnal [Mon, 23 Sep 2024 10:48:12 +0000 (12:48 +0200)] 
Merge pull request #1055 from crrodriguez/patch-1

cups.service.in: Order after time-set.target

10 months agoMerge pull request #1056 from RSilicon/Dictionary
Michael R Sweet [Sat, 21 Sep 2024 14:36:45 +0000 (10:36 -0400)] 
Merge pull request #1056 from RSilicon/Dictionary

Use xpc_dictionary_create_empty to create empty dictionaries