]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
3 weeks agoscheduler: Fix cleaning jobs by loading times when needed 2.4.x
Zdenek Dohnal [Tue, 15 Jul 2025 11:16:52 +0000 (13:16 +0200)] 
scheduler: Fix cleaning jobs by loading times when needed

Currently if we load jobs from job.cache, we don't set correct times
for `history_time` and `file_time`, resulting them in being 0 and the
jobs avoids the cleanup by cupsd when needed, leading into eating up
memory space.

It happens because none of the functions which set those job members are
not called - `cupsdSetJobState()` is used when changing job states,
`cupsdUpdateJobs()` during partial reload and `cupsdLoadJob()` is
guarded by condition in `load_job_cache()`.

The fix is to change conditional in `load_job_cache()` which will cause
loading of the job if cupsd is set to clean up job history, or if cupsd
should clean up job files and the job still has some.

3 weeks agoUpdate CHANGES.md
Zdenek Dohnal [Tue, 15 Jul 2025 10:59:13 +0000 (12:59 +0200)] 
Update CHANGES.md

4 weeks agoIntroduce print-as-raster as printer/job attribute
Zdenek Dohnal [Tue, 8 Jul 2025 13:26:19 +0000 (15:26 +0200)] 
Introduce print-as-raster as printer/job attribute

Some printers do not take kindly newer PDF versions which results in
omitting font characters in the printout. Such jobs print fine as a
raster, however retrying as raster depends on benevolence of the printer
firmware what it counts as an unrecoverable printing error.

In the past, we preferred raster over PDF in cups-filters, causing other
issues like with finishings, or solutions like generating PCLm PPD were
mentioned, however it would require a way how to define for which models
it should be used, and take of such database.

Thus introducing print-as-raster job attribute, which makes the job
to be printed as raster, and print-as-raster-default printer attributes,
which makes any job coming into the printer object to be printed as raster.

Internally it uses similar mechanism as raster retry, which was adjusted
to match both use cases now.

6 weeks agoUpdate documentation (related to #1086)
Zdenek Dohnal [Thu, 19 Jun 2025 05:36:58 +0000 (07:36 +0200)] 
Update documentation (related to #1086)

8 weeks agoRevert changes to use timeout command (restart was targeting timeout PID
Michael R Sweet [Sun, 8 Jun 2025 15:44:32 +0000 (11:44 -0400)] 
Revert changes to use timeout command (restart was targeting timeout PID

2 months agoUse timeout command on Linux to limit test run time.
Michael R Sweet [Fri, 6 Jun 2025 13:31:57 +0000 (09:31 -0400)] 
Use timeout command on Linux to limit test run time.

2 months agoFix regression in username handling (Issue #1145)
Michael R Sweet [Wed, 4 Jun 2025 14:25:51 +0000 (10:25 -0400)] 
Fix regression in username handling (Issue #1145)

2 months agoChangelog.
Michael R Sweet [Tue, 27 May 2025 19:04:29 +0000 (15:04 -0400)] 
Changelog.

2 months agoUpdate PPD cache private API to support getting custom size names (Issue #1238)
Michael R Sweet [Tue, 27 May 2025 19:02:12 +0000 (15:02 -0400)] 
Update PPD cache private API to support getting custom size names (Issue #1238)

2 months agoMake sure to reopen error log if server name is being substituted (Issue #1277)
Michael R Sweet [Tue, 27 May 2025 16:01:21 +0000 (12:01 -0400)] 
Make sure to reopen error log if server name is being substituted (Issue #1277)

2 months agoRoll back a very old change to complete the freeze fix (Issue #1264)
Michael R Sweet [Wed, 21 May 2025 12:03:35 +0000 (08:03 -0400)] 
Roll back a very old change to complete the freeze fix (Issue #1264)

2 months agoSanitize requesting-user-name as needed (Issue #1145)
Michael R Sweet [Wed, 14 May 2025 16:22:44 +0000 (12:22 -0400)] 
Sanitize requesting-user-name as needed (Issue #1145)

2 months agoSanitize requesting-user-name as needed (Issue #1145)
Michael R Sweet [Wed, 14 May 2025 16:19:16 +0000 (12:19 -0400)] 
Sanitize requesting-user-name as needed (Issue #1145)

2 months agoFix apparent cupsd freeze with zombie clients (Issue #1264)
Michael R Sweet [Wed, 14 May 2025 11:30:13 +0000 (07:30 -0400)] 
Fix apparent cupsd freeze with zombie clients (Issue #1264)

2 months agoUse locale-insensitive decoding of real numbers (Issue #1263)
Michael R Sweet [Tue, 13 May 2025 14:58:39 +0000 (10:58 -0400)] 
Use locale-insensitive decoding of real numbers (Issue #1263)

2 months agoUpdate VC++ projects.
Michael R Sweet [Sun, 11 May 2025 14:55:29 +0000 (10:55 -0400)] 
Update VC++ projects.

2 months agoActually, no crypto issues on the 2.4.x branch, so allow i386 builds for now.
Michael R Sweet [Sun, 11 May 2025 14:49:37 +0000 (10:49 -0400)] 
Actually, no crypto issues on the 2.4.x branch, so allow i386 builds for now.

2 months agoStop doing CI builds on i386 - fails due to old crypto libraries.
Michael R Sweet [Sun, 11 May 2025 14:47:59 +0000 (10:47 -0400)] 
Stop doing CI builds on i386 - fails due to old crypto libraries.

2 months agoSend printer-added/modified events after creating and installing IPP Everywhere PPDs...
Michael R Sweet [Sun, 11 May 2025 14:46:33 +0000 (10:46 -0400)] 
Send printer-added/modified events after creating and installing IPP Everywhere PPDs (Issue #1244)

2 months agoAdd _cupsRWDestroy stub for the no-threading case.
Michael R Sweet [Sat, 10 May 2025 19:56:20 +0000 (15:56 -0400)] 
Add _cupsRWDestroy stub for the no-threading case.

2 months agoUse printer-modified event when changing the default printer (Issue #1246)
Michael R Sweet [Wed, 7 May 2025 15:52:05 +0000 (11:52 -0400)] 
Use printer-modified event when changing the default printer (Issue #1246)

2 months agoFix testppd unit test (wrong fullbleed media size) and also fix the
Michael R Sweet [Wed, 7 May 2025 15:36:30 +0000 (11:36 -0400)] 
Fix testppd unit test (wrong fullbleed media size) and also fix the
custom size support in cupsMarkOptions.

2 months agoBump version to 2.4.13.
Michael R Sweet [Wed, 7 May 2025 15:17:42 +0000 (11:17 -0400)] 
Bump version to 2.4.13.

Drop macOS language bundle support since they don't match CUPS 2.4.x
strings.

2 months agoFix IPP/PPD names with period and underscore (Issue #1249)
Michael R Sweet [Wed, 7 May 2025 14:35:22 +0000 (10:35 -0400)] 
Fix IPP/PPD names with period and underscore (Issue #1249)

3 months agoOnly enable and accept jobs for temporary queues once IPP Everywhere PPD is created...
Michael R Sweet [Thu, 17 Apr 2025 19:29:07 +0000 (15:29 -0400)] 
Only enable and accept jobs for temporary queues once IPP Everywhere PPD is created (Issue #1235)

3 months agoFix typo.
Michael R Sweet [Thu, 17 Apr 2025 19:02:28 +0000 (15:02 -0400)] 
Fix typo.

3 months agoFix dbus notifier (Issue #1235)
Michael R Sweet [Thu, 17 Apr 2025 18:58:04 +0000 (14:58 -0400)] 
Fix dbus notifier (Issue #1235)

3 months agoFix threading issues for subscriptions in cupsd (Issue #1235)
Michael R Sweet [Thu, 17 Apr 2025 18:49:41 +0000 (14:49 -0400)] 
Fix threading issues for subscriptions in cupsd (Issue #1235)

3 months agoMirror missing comma fix (Issue #1234)
Michael R Sweet [Wed, 16 Apr 2025 19:16:20 +0000 (15:16 -0400)] 
Mirror missing comma fix (Issue #1234)

3 months agoFix memory leak in httpClose (Issue #1223)
Michael R Sweet [Fri, 11 Apr 2025 14:40:38 +0000 (10:40 -0400)] 
Fix memory leak in httpClose (Issue #1223)

3 months agoPrepare for 2.4.12 v2.4.12
Zdenek Dohnal [Tue, 8 Apr 2025 10:47:14 +0000 (12:47 +0200)] 
Prepare for 2.4.12

3 months agoAdd other useful change messages before release
Zdenek Dohnal [Tue, 8 Apr 2025 06:38:56 +0000 (08:38 +0200)] 
Add other useful change messages before release

3 months agoMerge pull request #1214 from alexpevzner/2.4.x-ippfind-fix
Michael R Sweet [Mon, 7 Apr 2025 16:38:43 +0000 (12:38 -0400)] 
Merge pull request #1214 from alexpevzner/2.4.x-ippfind-fix

ippfind Avahi API mususe fix and discovery reliability improvement

3 months agoChanged the end-of-search criteria for ippfind -T 0 1214/head
Alexander Pevzner [Sat, 5 Apr 2025 13:08:35 +0000 (16:08 +0300)] 
Changed the end-of-search criteria for ippfind -T 0

Previously, with the -T 0 option ("search quickly with automatic
timeout"), ippfind used the following criteria to determine when the
search was complete:

  1. At least one service was discovered, and
  2. Either all discovered services were resolved or 2.5 seconds had
     passed since the last update.

However, this algorithm caused unreliable behavior when a mix of devices
was present—some that could be discovered quickly (such as cached or
locally published devices via ipp-usb) and others that required more
time (such as network devices). As a result, ippfind often terminated
prematurely, missing network devices in its output.

The updated end-of-search criteria are as follows:

  1. All discovered services must be either resolved or have at least 1.0
      second since their last update, and
  2. The total discovery time of at least 2.5 seconds has passed.

This updated algorithm significantly improves discovery reliability.

3 months agoTweak end-of-scan condition (Issue #1214, Issue #1211)
Michael R Sweet [Mon, 7 Apr 2025 14:28:40 +0000 (10:28 -0400)] 
Tweak end-of-scan condition (Issue #1214, Issue #1211)

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

4 months agoFixed Avahi API misuse in the ippfind
Alexander Pevzner [Sat, 5 Apr 2025 12:28:17 +0000 (15:28 +0300)] 
Fixed Avahi API misuse in the ippfind

  - avahi_simple_poll_set_func and poll_callback removed
  - avahi_simple_poll_iterate timeout reduced to 100 ms

ippfind previously used avahi_simple_poll_set_func() to replace the
system-provided poll() function with a custom poll_callback() that
enforced a fixed 100 ms timeout.

The original code comment claimed that Avahi always calls this callback
with a zero timeout (referencing Avahi #127). However, after
instrumenting poll_callback() with printf to log the actual timeout
values, I observed that Avahi sometimes passes zero and sometimes passes
the timeout provided to avahi_simple_poll_iterate(). Despite this, there
was no CPU overuse—as would be expected if a zero timeout were always
used.

In reality, there is no bug in Avahi.

The timeout passed to the poll callback represents the time remaining
until Avahi's next scheduled time-based event. Avahi may set internal
timers with short or even zero timeouts, causing poll() to be called
with a timeout shorter than the one passed to
avahi_simple_poll_iterate(). This is normal and expected behavior.

Additionally, the Avahi API reference states that
avahi_simple_poll_iterate() blocks for AT MOST the specified timeout. In
practice, it blocks until the nearest event occurs, but never longer
than the given timeout. We cannot assume that this function will always
delay execution for the full duration of its argument.

To improve precision, I also reduced the avahi_simple_poll_iterate()
timeout from 500 ms to 100 ms. This change only affects how accurately
ippfind measures search time when the search ends due to deadline
expiration.

With these adjustments, ippfind maintains the same behavior as before
but no longer misuses the Avahi API.

4 months agoUse a shorter poll/select timeout.
Michael R Sweet [Fri, 4 Apr 2025 19:09:14 +0000 (15:09 -0400)] 
Use a shorter poll/select timeout.

4 months agoAdd missing clock.c to VC++ project.
Michael R Sweet [Fri, 4 Apr 2025 16:33:18 +0000 (12:33 -0400)] 
Add missing clock.c to VC++ project.

4 months agoDon't need the extra usleep since the DNS-SD processing is done in the main thread.
Michael R Sweet [Fri, 4 Apr 2025 16:29:43 +0000 (12:29 -0400)] 
Don't need the extra usleep since the DNS-SD processing is done in the main thread.

4 months agoFix "unreliable" discovery with ippfind as used by driverless backend (Issue #1211)
Michael R Sweet [Fri, 4 Apr 2025 16:20:59 +0000 (12:20 -0400)] 
Fix "unreliable" discovery with ippfind as used by driverless backend (Issue #1211)

- Export _cupsGetClock private API.
- Use _cupsGetClock in ippfind.
- Drop "avahi_have_data" and adopt CUPS 2.5/3.0 processing strategy.

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

4 months agoUse int instead of bool in CUPS 2.4.x.
Michael R Sweet [Thu, 3 Apr 2025 14:49:46 +0000 (10:49 -0400)] 
Use int instead of bool in CUPS 2.4.x.

4 months agoAdd _cupsGetClock private API, use it for cupsEnumDests (Issue #1084)
Michael R Sweet [Thu, 3 Apr 2025 14:44:59 +0000 (10:44 -0400)] 
Add _cupsGetClock private API, use it for cupsEnumDests (Issue #1084)

4 months agoLog debug history if the backend fails (Issue #1205)
Michael R Sweet [Wed, 2 Apr 2025 20:06:37 +0000 (16:06 -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:38:47 +0000 (15:38 -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:30 +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:05 +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:14:58 +0000 (15:14 -0400)] 
Drop non-keyword characters from PPD names (Issue #1118)

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

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

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

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

4 months agoAdd Kyocera KM-1635 USB quirks
Zdenek Dohnal [Fri, 14 Mar 2025 06:43:43 +0000 (07:43 +0100)] 
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
Zdenek Dohnal [Fri, 14 Mar 2025 06:42:25 +0000 (07:42 +0100)] 
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'
Zdenek Dohnal [Wed, 12 Mar 2025 15:35:32 +0000 (16:35 +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
Zdenek Dohnal [Wed, 12 Mar 2025 15:26:55 +0000 (16:26 +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 agoraster-interpret.c: Verify base for `strtol()`
Zdenek Dohnal [Mon, 10 Mar 2025 08:52:55 +0000 (09:52 +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 agoMerge pull request #1058 from luca-vercelli/patch-it
zdohnal [Thu, 13 Feb 2025 12:42:38 +0000 (13:42 +0100)] 
Merge pull request #1058 from luca-vercelli/patch-it

update translation for italian

6 months agoDon't send copies for raster jobs (Issue #1141)
Michael R Sweet [Tue, 21 Jan 2025 14:59:45 +0000 (09:59 -0500)] 
Don't send copies for raster jobs (Issue #1141)

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

6 months agodesktop: Add Hungarian translation
Zdenek Dohnal [Wed, 15 Jan 2025 12:21:33 +0000 (13:21 +0100)] 
desktop: Add Hungarian translation

Add `Settings` into categories as well

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

resolution-supported has IPP_TAG_RESOLUTION

6 months agoppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported 1140/head
Sergio Gómez [Tue, 14 Jan 2025 23:03:15 +0000 (18:03 -0500)] 
ppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported

Signed-off-by: Sergio Gómez <sergio.g.delreal@gmail.com>
6 months agoFix build failure in CI
Zdenek Dohnal [Tue, 7 Jan 2025 17:51:14 +0000 (18:51 +0100)] 
Fix build failure in CI

6 months agoUpdate copyright of relevant files
Zdenek Dohnal [Tue, 7 Jan 2025 16:02:11 +0000 (17:02 +0100)] 
Update copyright of relevant files

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

This reverts commit ac0ca000aae4e594d59454bc4820a0328a060ca6.

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

6 months agoAdd `NoSystem` SSLOptions value
Zdenek Dohnal [Tue, 7 Jan 2025 14:12:15 +0000 (15:12 +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 arguments in mantohtml
Zdenek Dohnal [Tue, 7 Jan 2025 13:54:28 +0000 (14:54 +0100)] 
Fix  arguments in mantohtml

7 months agoscheduler: Fix removing Server header from HTTP if requested
zdohnal [Tue, 17 Dec 2024 12:03:08 +0000 (13:03 +0100)] 
scheduler: Fix removing Server header from HTTP if requested

Fixes #1111

7 months agoscheduler: Fix removing Server header from HTTP if requested 1116/head
Zdenek Dohnal [Mon, 16 Dec 2024 15:35:22 +0000 (16:35 +0100)] 
scheduler: Fix removing Server header from HTTP if requested

Use `httpSetDefaultField()` in `cupsdAcceptClient()` to do the trick.

Fixes #1111

8 months agotls-gnutls.c: Use system crypto policy if available
Zdenek Dohnal [Fri, 6 Dec 2024 06:59:16 +0000 (07:59 +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 agoscheduler: Clean up failed IPP Everywhere permanent queues
Zdenek Dohnal [Mon, 2 Dec 2024 13:20:26 +0000 (14:20 +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 agoFix make-and-model whitespace trimming (Issue #1096)
Michael R Sweet [Fri, 15 Nov 2024 16:55:07 +0000 (11:55 -0500)] 
Fix make-and-model whitespace trimming (Issue #1096)

9 months agoFix dependencies, temporarily downgrade NuGet version numbers.
Michael R Sweet [Tue, 15 Oct 2024 21:21:46 +0000 (17:21 -0400)] 
Fix dependencies, temporarily downgrade NuGet version numbers.

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:47:49 +0000 (11:47 -0400)] 
Make sure we call inflateEnd when there is an error reading or comparing the stream CRC (Issue #1070)

9 months agoFTBFS: Use int instead of bool
Zdenek Dohnal [Wed, 9 Oct 2024 08:42:01 +0000 (10:42 +0200)] 
FTBFS: Use int instead of bool

9 months agodest.c: Don't look for user config in cupsGetNamedDest as root
Zdenek Dohnal [Wed, 9 Oct 2024 08:31:18 +0000 (10:31 +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.

Merged from master

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

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

10 months agoUpdate files for possible next release
Zdenek Dohnal [Mon, 30 Sep 2024 12:19:33 +0000 (14:19 +0200)] 
Update files for possible next release

10 months agoPrepare release 2.4.11 v2.4.11
Zdenek Dohnal [Mon, 30 Sep 2024 11:38:35 +0000 (13:38 +0200)] 
Prepare release 2.4.11

10 months agoFix warnings for unused vars.
Michael R Sweet [Mon, 23 Sep 2024 14:11:31 +0000 (10:11 -0400)] 
Fix warnings for unused vars.

10 months agoQuote PPD localized strings.
Michael R Sweet [Mon, 23 Sep 2024 13:36:39 +0000 (09:36 -0400)] 
Quote PPD localized strings.

10 months agoremoved entries from master 1058/head
Luca Vercelli [Mon, 23 Sep 2024 11:47:29 +0000 (13:47 +0200)] 
removed entries from master

10 months agocups.service.in: Order after time-set.target
Zdenek Dohnal [Mon, 23 Sep 2024 10:55:10 +0000 (12:55 +0200)] 
cups.service.in: Order after time-set.target

Multiple functions that are called either implicitly or explicitly require a "roughly correct" CLOCK_REALTIME to behave.

10 months agoupdate translation for italian
Luca Vercelli [Sun, 22 Sep 2024 08:52:40 +0000 (10:52 +0200)] 
update translation for italian

10 months agoAdd a temporary queue before setting the defaults for lpoptions (Issue #833)
Michael R Sweet [Fri, 20 Sep 2024 17:08:09 +0000 (13:08 -0400)] 
Add a temporary queue before setting the defaults for lpoptions (Issue #833)

10 months agoMirror fix for max-fds from 2.5.
Michael R Sweet [Fri, 20 Sep 2024 15:40:28 +0000 (11:40 -0400)] 
Mirror fix for max-fds from 2.5.

10 months agoPPDize preset and template names.
Michael R Sweet [Mon, 9 Sep 2024 19:59:57 +0000 (15:59 -0400)] 
PPDize preset and template names.

10 months agoRefactor make-and-model code.
Michael R Sweet [Mon, 9 Sep 2024 18:05:42 +0000 (14:05 -0400)] 
Refactor make-and-model code.

10 months agoMirror IPP Everywhere printer changes from master.
Michael R Sweet [Mon, 9 Sep 2024 14:03:10 +0000 (10:03 -0400)] 
Mirror IPP Everywhere printer changes from master.

11 months agocups/dest.c: Set auth as required if not none
Zdenek Dohnal [Mon, 2 Sep 2024 10:38:44 +0000 (12:38 +0200)] 
cups/dest.c: Set auth as required if not none

Fixes #1037

11 months agoscheduler: add a systemd slice
Zdenek Dohnal [Mon, 2 Sep 2024 08:31:13 +0000 (10:31 +0200)] 
scheduler: add a systemd slice

From the systemd documentation[1]:

> A slice unit is a concept for hierarchically managing resources of a group of processes.

Benefits of collecting our two systemd services into a slice include
* ease of configuring resource limits on the entire CUPS system,
* ``systemctl status`` showing the CUPS units in an indented subtree,
  making it more organized,
* and the possibility of viewing all interlaced logs from all of the CUPS
  daemons using ``journalctl -u system-cups.slice``.

[1]:
https://www.freedesktop.org/software/systemd/man/latest/systemd.slice.html
or ``man systemd.slice(5)``

11 months agoFix IPP everywhere printer setup (Issue #1033)
Michael R Sweet [Thu, 15 Aug 2024 01:18:54 +0000 (21:18 -0400)] 
Fix IPP everywhere printer setup (Issue #1033)

11 months agoFixed HTTP PeerCred authentication for domain users (Issue #1001)
Zdenek Dohnal [Wed, 14 Aug 2024 08:11:06 +0000 (10:11 +0200)] 
Fixed HTTP PeerCred authentication for domain users (Issue #1001)

11 months agoFix compile issues.
Michael R Sweet [Wed, 14 Aug 2024 03:29:48 +0000 (23:29 -0400)] 
Fix compile issues.

11 months agoFix "all" support for JobPrivateAccess and SubscriptionPrivateAccess (Issue #990)
Michael R Sweet [Wed, 14 Aug 2024 03:23:56 +0000 (23:23 -0400)] 
Fix "all" support for JobPrivateAccess and SubscriptionPrivateAccess (Issue #990)

11 months agoChangelog.
Michael R Sweet [Wed, 14 Aug 2024 02:48:18 +0000 (22:48 -0400)] 
Changelog.