]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
22 months agoWeb Ui: add filter by printer model in PPD driver list 848/head
ValdikSS [Tue, 26 Dec 2023 01:52:53 +0000 (04:52 +0300)] 
Web Ui: add filter by printer model in PPD driver list

Implement JavaScript filter for the PPD list in "Add Printer"
and "Modify Printer" dialogs.

Sometimes there are too many models in the list that it's hard to find
the one you want.

22 months agoUpdate CHANGES.md
Zdenek Dohnal [Fri, 15 Dec 2023 10:02:31 +0000 (11:02 +0100)] 
Update CHANGES.md

22 months agohttpAddrConnect2: Check for error if POLLHUP is in valid revents
zdohnal [Thu, 14 Dec 2023 16:33:40 +0000 (17:33 +0100)] 
httpAddrConnect2: Check for error if POLLHUP is in valid revents

Some Linux kernel versions put POLLOUT|POLLHUP into revents when client tries to connect with httpAddrConnect2(), which makes the connection fail.
Let's check the option SO_ERROR before scratching the attempt - if there is no error, remove POLLHUP from revents.

I've re-purposed previously Solaris-only code to be used everywhere if the conditions are met - this should prevent bigger delays than necessary.

Slightly different issue than #827, but with similar symptoms (kernel sending POLLOUT|POLLHUP).

22 months agohttpAddrConnect2: Check for error if POLLHUP is in valid revents 839/head
Zdenek Dohnal [Thu, 14 Dec 2023 08:37:22 +0000 (09:37 +0100)] 
httpAddrConnect2: Check for error if POLLHUP is in valid revents

Some Linux kernel versions put POLLOUT|POLLHUP into revents when client tries to connect with httpAddrConnect2(), which makes the connection fail.
Let's check the option SO_ERROR before scratching the attempt - if there is no error, remove POLLHUP from revents.

I've re-purposed previously Solaris-only code to be used everywhere if the conditions are met - this should prevent bigger delays than necessary.

Slightly different issue than #827, but with similar symptoms (kernel sending POLLOUT|POLLHUP).

23 months agoscheduler: Fix build failure on Linux with '-Werror -Wall'
zdohnal [Wed, 29 Nov 2023 14:07:18 +0000 (15:07 +0100)] 
scheduler: Fix build failure on Linux with '-Werror -Wall'

The string which we add into array stays const after fixing #814 (because strdup(), which caused memory leak returned char *) and compiler fails because of it if it runs with '-Werror -Wall'.

23 months agoUpdate CHANGES.md
Zdenek Dohnal [Mon, 27 Nov 2023 11:52:01 +0000 (12:52 +0100)] 
Update CHANGES.md

23 months agoscheduler: Set reasons in cupsdSetJobState only if we call finalize_job later
zdohnal [Mon, 27 Nov 2023 09:37:18 +0000 (10:37 +0100)] 
scheduler: Set reasons in cupsdSetJobState only if we call finalize_job later

Before the fix, every successfully printed jobs ended up with 'processing-to-stop-point' as the last reasons message.

Together with #830 fixes #828 .

23 months agoUpdate CHANGES.md
Zdenek Dohnal [Mon, 27 Nov 2023 09:13:39 +0000 (10:13 +0100)] 
Update CHANGES.md

23 months agoraster-interpreter.c: Fix crash in 'scan_ps()' found by fuzzer
zdohnal [Mon, 27 Nov 2023 09:11:52 +0000 (10:11 +0100)] 
raster-interpreter.c: Fix crash in 'scan_ps()' found by fuzzer

Fuzzer using _cupsRasterExecPS() found a way how to pass NULL into scan_ps(), causing crash - we have to sanitize the argument for NULL to fix it.

Fixes #831

23 months agoscheduler: Fix build failure on Linux with '-Werror -Wall' 835/head
Zdenek Dohnal [Mon, 27 Nov 2023 09:05:55 +0000 (10:05 +0100)] 
scheduler: Fix build failure on Linux with '-Werror -Wall'

The string which we add into array stays `const` after fixing #814
(because `strdup()`, which caused memory leak returned `char *`)
and compiler fails because of it if it runs with '-Werror -Wall'.

23 months agoraster-interpreter.c: Fix crash in 'scan_ps()' found by fuzzer 834/head
Zdenek Dohnal [Fri, 24 Nov 2023 10:46:53 +0000 (11:46 +0100)] 
raster-interpreter.c: Fix crash in 'scan_ps()' found by fuzzer

Fuzzer using `_cupsRasterExecPS()` found a way how to pass NULL into
`scan_ps()`, causing crash - we have to sanitize the argument for NULL
to fix it.

Fixes #831

23 months agoUpdate CHANGES.md
Zdenek Dohnal [Fri, 24 Nov 2023 06:32:28 +0000 (07:32 +0100)] 
Update CHANGES.md

23 months agolpstat.c: Implement successful filter for jobs
zdohnal [Fri, 24 Nov 2023 06:26:31 +0000 (07:26 +0100)] 
lpstat.c: Implement successful filter for jobs

Introduce a new argument value 'successful' in lpstat to get jobs which completed successfully without introducing a new IPP value for IPP attribute 'which-jobs'

Together with #832 fixes #828 .

23 months agoscheduler: Set reasons in 'cupsdSetJobState' only if we call finalize_job() later 832/head
Zdenek Dohnal [Fri, 24 Nov 2023 06:19:20 +0000 (07:19 +0100)] 
scheduler: Set reasons in 'cupsdSetJobState' only if we call finalize_job() later

23 months agoscheduler/colorman.c: Fix memory leak during creating color profile
zdohnal [Fri, 24 Nov 2023 05:08:51 +0000 (06:08 +0100)] 
scheduler/colorman.c: Fix memory leak during creating color profile

Since the array profiles is set to use strdup() as a copy function, we don't have to use strdup() on the element which is passed as parameter of cupsArrayAdd() - using the strdup() as we used till now causes memory leak.

Reproducer is the same as #813 .

23 months agoscheduler: Report warning if destination doesn't follow IPP spec
zdohnal [Thu, 23 Nov 2023 15:42:09 +0000 (16:42 +0100)] 
scheduler: Report warning if destination doesn't follow IPP spec

Report warning if the destination can't answer to IPP request containing 'all,media-col-database' combination in one response, which is against RFC. This way we can find out about more devices which have those firmware issues.

23 months agoscheduler: Set reasons in cupsdSetJobState only if we call finalize_job later
Zdenek Dohnal [Thu, 23 Nov 2023 15:07:46 +0000 (16:07 +0100)] 
scheduler: Set reasons in cupsdSetJobState only if we call finalize_job later

23 months agoCheck for value, not name 830/head
Zdenek Dohnal [Thu, 23 Nov 2023 14:42:12 +0000 (15:42 +0100)] 
Check for value, not name

23 months agolpstat.c: Implement successful filter for jobs
Zdenek Dohnal [Thu, 23 Nov 2023 12:02:54 +0000 (13:02 +0100)] 
lpstat.c: Implement successful filter for jobs

23 months agoscheduler/ipp.c: Report warning if the destination can't do \'all,media-col-database... 829/head
Zdenek Dohnal [Thu, 16 Nov 2023 08:10:47 +0000 (09:10 +0100)] 
scheduler/ipp.c: Report warning if the destination can't do \'all,media-col-database\' together

23 months agoMerge branch 'master' into colorprofile-leak 814/head
zdohnal [Thu, 16 Nov 2023 07:39:57 +0000 (08:39 +0100)] 
Merge branch 'master' into colorprofile-leak

2 years agoAdd Weblate link and note for contributors.
Michael R Sweet [Tue, 7 Nov 2023 16:47:45 +0000 (11:47 -0500)] 
Add Weblate link and note for contributors.

2 years agoMerge pull request #816 from ppekala/master
zdohnal [Thu, 2 Nov 2023 06:01:24 +0000 (07:01 +0100)] 
Merge pull request #816 from ppekala/master

Fix broken bold tag

2 years agoFix broken bold tag 816/head
Paweł Pękala [Wed, 1 Nov 2023 20:21:59 +0000 (21:21 +0100)] 
Fix broken bold tag

2 years agoAdd Polish translation (Issue #803)
zdohnal [Wed, 1 Nov 2023 13:27:49 +0000 (14:27 +0100)] 
Add Polish translation (Issue #803)

Provided by Paweł Pękala - thank you very much!

2 years agoAdd translations for some backend strings 803/head
Paweł Pękala [Tue, 31 Oct 2023 15:56:05 +0000 (16:56 +0100)] 
Add translations for some backend strings

2 years agoUpdate CHANGES.md
Zdenek Dohnal [Mon, 30 Oct 2023 10:32:07 +0000 (11:32 +0100)] 
Update CHANGES.md

2 years agoscheduler/job.c: unload job before freeing job history in cupsdDeletejob()
zdohnal [Mon, 30 Oct 2023 10:29:52 +0000 (11:29 +0100)] 
scheduler/job.c: unload job before freeing job history in cupsdDeletejob()

With "PreserveJobHistory Off", LogLevel not set to debug (or debug2), and "LogDebugHistory 200" (the default), cupsdDeleteJob() frees the job history and then unloads the job. However, unload_job() calls cupsdLogJob() which re-creates the job history and puts "Unloading..." into it because level (debug) is greater than LogLevel (warn) and LogDebugHistory is set to 200 messages by default. Unused (and unreachable) job history is left behind, resulting in a memory leak.

The solution seems to be to unload the job before freeing the job history.

2 years agoscheduler/colorman.c: Fix memory leak during creating color profile
Zdenek Dohnal [Mon, 30 Oct 2023 09:21:47 +0000 (10:21 +0100)] 
scheduler/colorman.c: Fix memory leak during creating color profile

Since the array `profiles` is set to use `strdup()` as a copy function, we
don't have to use `strdup()` on the element which is passed as parameter
of `cupsArrayAdd()` - using the `strdup()` as we used till now causes
memory leak.

Reproducer is the same as https://github.com/OpenPrinting/cups/pull/813
.

2 years agoscheduler/job.c: unload job before freeing job history in cupsdDeleteJob() 813/head
Bryan Mason [Fri, 27 Oct 2023 18:37:02 +0000 (11:37 -0700)] 
scheduler/job.c: unload job before freeing job history in cupsdDeleteJob()

With "PreserveJobHistory Off", LogLevel not set to debug (or debug2),
and "LogDebugHistory 200" (the default), cupsdDeleteJob() frees the
job history and then unloads the job.  However, unload_job() calls
cupsdLogJob() which re-creates the job history and puts "Unloading..."
into it because level (debug) is greater than LogLevel (warn) and
LogDebugHistory is set to 200 messages by default.  Unused (and
unreachable) job history is left behind, resulting in a memory leak.

2 years agocups/dest.c: Raise timeout _CUPS_DNSSD_GET_DESTS
zdohnal [Wed, 25 Oct 2023 06:07:43 +0000 (08:07 +0200)] 
cups/dest.c: Raise timeout _CUPS_DNSSD_GET_DESTS

The current timeout is not able to list all network devices if there are many IPP services on mDNS (the tested number is 165 services).

Raising the timeout to 1s does not slow libcups if there are less services (Avahi returns earlier) or if Avahi does not run on the system (libcups cannot create an Avahi client in that case), and provides time frame for getting reasonable amount of IPP services (big enterprise servers will use permanent queues and printer profiles than mDNS).

Fixes #751

2 years agoFix 'make install' for base.h (Issue #809)
Michael R Sweet [Tue, 24 Oct 2023 13:39:12 +0000 (09:39 -0400)] 
Fix 'make install' for base.h (Issue #809)

2 years agocups/dest.c: Raise timeout _CUPS_DNSSD_GET_DESTS 806/head
Zdenek Dohnal [Mon, 23 Oct 2023 07:40:44 +0000 (09:40 +0200)] 
cups/dest.c: Raise timeout _CUPS_DNSSD_GET_DESTS

The current timeout is not able to list all network devices if there are
many IPP services on mDNS (the tested number is 165 services).

Raising the timeout to 1s does not slow libcups if there are less
services (Avahi returns earlier) or if Avahi does not run on the system
(libcups cannot create an Avahi client in that case), and provides time
frame for getting reasonable amount of IPP services (big enterprise
servers will use permanent queues and printer profiles than mDNS).

Fixes #751

2 years agoAdd webui Polish translation
Paweł Pękala [Fri, 20 Oct 2023 13:57:57 +0000 (15:57 +0200)] 
Add webui Polish translation

2 years agoFix test commands to get proper date and time at start and end of tests.
Michael R Sweet [Wed, 18 Oct 2023 16:30:09 +0000 (12:30 -0400)] 
Fix test commands to get proper date and time at start and end of tests.

2 years agoFix httpAssembleURI to not add the standard port number.
Michael R Sweet [Wed, 18 Oct 2023 16:15:30 +0000 (12:15 -0400)] 
Fix httpAssembleURI to not add the standard port number.

2 years agoFix file API unit tests.
Michael R Sweet [Wed, 18 Oct 2023 15:43:06 +0000 (11:43 -0400)] 
Fix file API unit tests.

2 years agoFix Windows builds (Issue #801) 736/head
Michael R Sweet [Tue, 17 Oct 2023 16:40:08 +0000 (12:40 -0400)] 
Fix Windows builds (Issue #801)

2 years agoCUPS_PRINTER_xxx -> CUPS_PTYPE_xxx with source compatibility changes.
Michael R Sweet [Thu, 5 Oct 2023 15:52:42 +0000 (11:52 -0400)] 
CUPS_PRINTER_xxx -> CUPS_PTYPE_xxx with source compatibility changes.

Add CUPS_PTYPE_FOLD to support fold finishing.

2 years agoMirror fix for ECDSA signatures with GNU TLS for JWT.
Michael R Sweet [Wed, 4 Oct 2023 17:20:21 +0000 (13:20 -0400)] 
Mirror fix for ECDSA signatures with GNU TLS for JWT.

2 years agoCHANGES.md: Mention several hash support removals
Zdenek Dohnal [Wed, 4 Oct 2023 07:27:24 +0000 (09:27 +0200)] 
CHANGES.md: Mention several hash support removals

2 years agoMerge pull request #792 from OpenPrinting/dependabot/github_actions/actions/checkout-4
Michael R Sweet [Mon, 2 Oct 2023 09:12:05 +0000 (05:12 -0400)] 
Merge pull request #792 from OpenPrinting/dependabot/github_actions/actions/checkout-4

Bump actions/checkout from 3 to 4

2 years agoBump actions/checkout from 3 to 4 792/head
dependabot[bot] [Sun, 1 Oct 2023 10:06:43 +0000 (10:06 +0000)] 
Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoFix indentation
Zdenek Dohnal [Wed, 20 Sep 2023 12:44:17 +0000 (14:44 +0200)] 
Fix indentation

2 years agoMerge pull request from GHSA-pf5r-86w9-678h
zdohnal [Wed, 20 Sep 2023 12:35:03 +0000 (14:35 +0200)] 
Merge pull request from GHSA-pf5r-86w9-678h

raster-interpret.c: Fix CVE-2023-4504

2 years agoGet rid of some obsolete defines: HAVE_CRYPT_H, HAVE_DNSSD, HAVE_SHADOW_H, and
Michael R Sweet [Mon, 18 Sep 2023 14:58:45 +0000 (10:58 -0400)] 
Get rid of some obsolete defines: HAVE_CRYPT_H, HAVE_DNSSD, HAVE_SHADOW_H, and
HAVE_RRESVPORT_AF.

2 years agoRequire getaddrinfo and getnameinfo.
Michael R Sweet [Mon, 18 Sep 2023 13:20:13 +0000 (09:20 -0400)] 
Require getaddrinfo and getnameinfo.

2 years agoGet rid of the last zlib conditional code.
Michael R Sweet [Mon, 18 Sep 2023 13:02:38 +0000 (09:02 -0400)] 
Get rid of the last zlib conditional code.

2 years agoFix Xcode project, build libcups2.dylib and friends to avoid conflicts with system...
Michael R Sweet [Sun, 17 Sep 2023 15:27:22 +0000 (11:27 -0400)] 
Fix Xcode project, build libcups2.dylib and friends to avoid conflicts with system-supplied libcups.dylib.

2 years agoUpdate CHANGES.md with latest changes in 2.5
Zdenek Dohnal [Fri, 15 Sep 2023 13:02:08 +0000 (15:02 +0200)] 
Update CHANGES.md with latest changes in 2.5

2 years agocups/http-addrlist.c: Fix hanging on Solaris
zdohnal [Fri, 15 Sep 2023 12:26:02 +0000 (14:26 +0200)] 
cups/http-addrlist.c: Fix hanging on Solaris

Solaris behaves differently regarding connecting to a socket, so our current code caused hanging.

The patch is from @l1gi's comment in #156

Fixes #156

2 years agocups/http-addrlist.c: Fix hanging on Solaris 788/head
Zdenek Dohnal [Thu, 14 Sep 2023 15:47:37 +0000 (17:47 +0200)] 
cups/http-addrlist.c: Fix hanging on Solaris

Solaris behaves differently regarding connecting to a socket, so our
current code caused hanging.

The patch is from @l1gi's comment -
https://github.com/OpenPrinting/cups/issues/156#issuecomment-1329212604

Fixes #156

2 years agoFix "make test" and remove debug printf.
Michael R Sweet [Thu, 14 Sep 2023 20:42:43 +0000 (16:42 -0400)] 
Fix "make test" and remove debug printf.

2 years agoDon't ignore built mantohtml now that it is gone.
Michael R Sweet [Wed, 13 Sep 2023 18:25:39 +0000 (14:25 -0400)] 
Don't ignore built mantohtml now that it is gone.

2 years agoUpdate HTML versions of man pages to use external mantohtml utility.
Michael R Sweet [Wed, 13 Sep 2023 18:20:29 +0000 (14:20 -0400)] 
Update HTML versions of man pages to use external mantohtml utility.

Update help CGI to put files with "man-" at the front in the "Man Pages"
section by default.

Drop old mantohtml conversion program.

2 years agoUpdate localization files.
Michael R Sweet [Wed, 13 Sep 2023 17:51:03 +0000 (13:51 -0400)] 
Update localization files.

2 years agoFix Coverity-discovered issues.
Michael R Sweet [Wed, 13 Sep 2023 17:47:55 +0000 (13:47 -0400)] 
Fix Coverity-discovered issues.

2 years agoAddress code scanning issues.
Michael R Sweet [Wed, 13 Sep 2023 14:43:43 +0000 (10:43 -0400)] 
Address code scanning issues.

2 years agoFix Windows VC project (again).
Michael R Sweet [Wed, 13 Sep 2023 14:17:16 +0000 (10:17 -0400)] 
Fix Windows VC project (again).

2 years agoFix Linux build issue.
Michael R Sweet [Wed, 13 Sep 2023 14:02:26 +0000 (10:02 -0400)] 
Fix Linux build issue.

2 years agoUpdate Xcode project.
Michael R Sweet [Wed, 13 Sep 2023 14:00:27 +0000 (10:00 -0400)] 
Update Xcode project.

2 years agoUpdate Windows build files.
Michael R Sweet [Wed, 13 Sep 2023 13:55:54 +0000 (09:55 -0400)] 
Update Windows build files.

2 years agoAdd missing source file and ignore new unit test files.
Michael R Sweet [Wed, 13 Sep 2023 13:53:49 +0000 (09:53 -0400)] 
Add missing source file and ignore new unit test files.

2 years agoUpdate CHANGES.md
Zdenek Dohnal [Wed, 13 Sep 2023 11:55:12 +0000 (13:55 +0200)] 
Update CHANGES.md

2 years agoFix behavior of "reserve=rfc1179" in backend/lpd.c
zdohnal [Wed, 13 Sep 2023 11:49:26 +0000 (13:49 +0200)] 
Fix behavior of "reserve=rfc1179" in backend/lpd.c

In backend/lpd.c, if "reserve=rfc1179" is used in the Device URI, ports from 512-731 will be used instead of only 721=731 as per RFC 1179.

cups_rresvport() starts with the value of lport passed in to the function and decrements lport to 512 until an open port is found. Thus, if all ports from 731-721 are unavailable, cups_rresvport() will start binding to ports between 720-512.

This patch resolves this issue by adding a parameter to cups_rresvport() that defines the minimum port number that should be used and makes the appropriate changes in lpd_queue().

Resolves #743

2 years agoFix lpstat hanging on IBM AIX
Zdenek Dohnal [Wed, 13 Sep 2023 08:28:13 +0000 (10:28 +0200)] 
Fix lpstat hanging on IBM AIX

Some macros and functions weren't defined on IBM AIX, define them.

Update CHANGES.md as well with older fixes.

Fixes #773

2 years agoStop using HAVE_LIBZ.
Michael R Sweet [Tue, 12 Sep 2023 19:52:30 +0000 (15:52 -0400)] 
Stop using HAVE_LIBZ.

2 years agocups/versioning.h -> cups/base.h
Michael R Sweet [Tue, 12 Sep 2023 19:18:45 +0000 (15:18 -0400)] 
cups/versioning.h -> cups/base.h

Drop old _CUPS_API_M_m macros, just use _CUPS_PUBLIC

Add form, JSON, and JWT APIs from libcups v3.

2 years agoNew IPP and raster APIs, plus cleanup.
Michael R Sweet [Mon, 11 Sep 2023 23:09:39 +0000 (19:09 -0400)] 
New IPP and raster APIs, plus cleanup.

2 years agoChangelog and tweak digest 'qop' parameter change.
Michael R Sweet [Sun, 10 Sep 2023 23:08:47 +0000 (19:08 -0400)] 
Changelog and tweak digest 'qop' parameter change.

2 years agoAdd new array APIs, remove old private array header, update unit tests, update
Michael R Sweet [Sun, 10 Sep 2023 22:48:17 +0000 (18:48 -0400)] 
Add new array APIs, remove old private array header, update unit tests, update
ippfind to use new array and DNS-SD APIs, update other code as needed to not
use deprecated APIs.

2 years agoMerge pull request #260 from mgoppold/http_auth_with_qop
Michael R Sweet [Sun, 10 Sep 2023 23:06:27 +0000 (19:06 -0400)] 
Merge pull request #260 from mgoppold/http_auth_with_qop

use http->qop insted of http->algorithm to decide RFC 2617/7616 or RFC 2069 Digest response

2 years agoMerge branch 'master' into http_auth_with_qop 260/head
Michael R Sweet [Sun, 10 Sep 2023 23:05:54 +0000 (19:05 -0400)] 
Merge branch 'master' into http_auth_with_qop

2 years agoRun unit tests when you do a "make test".
Michael R Sweet [Sun, 10 Sep 2023 21:58:29 +0000 (17:58 -0400)] 
Run unit tests when you do a "make test".

2 years agoSeparate building unit test programs from running them.
Michael R Sweet [Sun, 10 Sep 2023 21:57:57 +0000 (17:57 -0400)] 
Separate building unit test programs from running them.

Fix typo in cupsGetDests unit test.

2 years agoMigrate to DNS-SD API.
Michael R Sweet [Sun, 10 Sep 2023 14:04:43 +0000 (10:04 -0400)] 
Migrate to DNS-SD API.

2 years ago_TIME_BITS and _FILE_OFFSET_BITS (not two __)
Michael R Sweet [Fri, 8 Sep 2023 21:14:30 +0000 (17:14 -0400)] 
_TIME_BITS and _FILE_OFFSET_BITS (not two __)

2 years ago__FILE_OFFSET_BITS
Michael R Sweet [Fri, 8 Sep 2023 21:09:45 +0000 (17:09 -0400)] 
__FILE_OFFSET_BITS

2 years agoChange 64-bit time_t defines.
Michael R Sweet [Fri, 8 Sep 2023 20:59:43 +0000 (16:59 -0400)] 
Change 64-bit time_t defines.

2 years agoFix global lock.
Michael R Sweet [Fri, 8 Sep 2023 20:51:57 +0000 (16:51 -0400)] 
Fix global lock.

2 years agoAdd __TIMESIZE=64
Michael R Sweet [Fri, 8 Sep 2023 20:38:17 +0000 (16:38 -0400)] 
Add __TIMESIZE=64

2 years agoUpdate Windows DLL exports file.
Michael R Sweet [Fri, 8 Sep 2023 20:14:46 +0000 (16:14 -0400)] 
Update Windows DLL exports file.

2 years agoFix GNU TLS builds.
Michael R Sweet [Fri, 8 Sep 2023 20:13:22 +0000 (16:13 -0400)] 
Fix GNU TLS builds.

2 years agoFix other instances of code that looked for HAVE_POLL - poll() is always available.
Michael R Sweet [Fri, 8 Sep 2023 18:22:43 +0000 (14:22 -0400)] 
Fix other instances of code that looked for HAVE_POLL - poll() is always available.

2 years agoAnother missing header.
Michael R Sweet [Fri, 8 Sep 2023 17:11:23 +0000 (13:11 -0400)] 
Another missing header.

2 years agoFix missing include.
Michael R Sweet [Fri, 8 Sep 2023 17:07:25 +0000 (13:07 -0400)] 
Fix missing include.

2 years agoMove strlcat/cpy to cupsConcat/CopyString.
Michael R Sweet [Fri, 8 Sep 2023 16:48:37 +0000 (12:48 -0400)] 
Move strlcat/cpy to cupsConcat/CopyString.

2 years agoMove strlcat/cpy to cupsConcat/CopyString.
Michael R Sweet [Fri, 8 Sep 2023 16:45:20 +0000 (12:45 -0400)] 
Move strlcat/cpy to cupsConcat/CopyString.

2 years agoFix builds...
Michael R Sweet [Fri, 8 Sep 2023 16:37:59 +0000 (12:37 -0400)] 
Fix builds...

2 years agoSynch CodeQL CI with 2.4.x
Zdenek Dohnal [Fri, 8 Sep 2023 08:43:54 +0000 (10:43 +0200)] 
Synch CodeQL CI with 2.4.x

2 years agoCI: Github Actions don't run on 2.4.x
Zdenek Dohnal [Fri, 8 Sep 2023 05:54:17 +0000 (07:54 +0200)] 
CI: Github Actions don't run on 2.4.x

Try a different syntax

2 years agoUpdate CHANGES.md
Zdenek Dohnal [Fri, 8 Sep 2023 05:02:21 +0000 (07:02 +0200)] 
Update CHANGES.md

2 years agoCleanup, removal of deprecated constants, DEBUG_printf modernization.
Michael R Sweet [Thu, 7 Sep 2023 21:58:52 +0000 (17:58 -0400)] 
Cleanup, removal of deprecated constants, DEBUG_printf modernization.

2 years agoFix dependencies.
Michael R Sweet [Mon, 4 Sep 2023 22:28:15 +0000 (18:28 -0400)] 
Fix dependencies.

Update MD5 hash implementation to be provided unconditionally.

2 years agoFix typo.
Michael R Sweet [Mon, 4 Sep 2023 20:33:55 +0000 (16:33 -0400)] 
Fix typo.

2 years agoStart integrating some of the new CUPS APIs from v3 so we have a clean
Michael R Sweet [Sun, 3 Sep 2023 22:11:07 +0000 (18:11 -0400)] 
Start integrating some of the new CUPS APIs from v3 so we have a clean
transition.

2 years agoIgnore new test program.
Michael R Sweet [Sun, 3 Sep 2023 15:24:12 +0000 (11:24 -0400)] 
Ignore new test program.

2 years agoUpdate CHANGES.md
Zdenek Dohnal [Mon, 4 Sep 2023 12:23:53 +0000 (14:23 +0200)] 
Update CHANGES.md

2 years agoscheduler/conf.c: Print to stderr if we can't open cups-files.conf
zdohnal [Mon, 4 Sep 2023 06:44:21 +0000 (08:44 +0200)] 
scheduler/conf.c: Print to stderr if we can't open cups-files.conf

In case cupsd can't open the cups-files.conf, the error message is lost if journal and syslog don't exist or work on system (usually in containers).

Log the error into stderr at this place to get the error message if needed.

2 years agoChangelog.
Michael R Sweet [Sun, 3 Sep 2023 02:24:02 +0000 (22:24 -0400)] 
Changelog.