]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
20 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

20 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

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

21 months 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

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

21 months 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!

21 months 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

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

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

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

21 months 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

21 months 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)

21 months 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

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

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

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

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

21 months 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)

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

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

22 months 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

22 months 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

22 months 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>
22 months agoFix indentation
Zdenek Dohnal [Wed, 20 Sep 2023 12:44:17 +0000 (14:44 +0200)] 
Fix indentation

22 months 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

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

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

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

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

22 months 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

22 months 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

22 months 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

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

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

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

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

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

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

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

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

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

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

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

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

22 months 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

22 months 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

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

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

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

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

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

22 months 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

22 months 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

22 months 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".

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

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

22 months 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 __)

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

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

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

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

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

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

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

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

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

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

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

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

22 months 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

22 months 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

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

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

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

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

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

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

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

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

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

23 months agoAdd DNS-SD, cupsCopyString, and cupsConcatString APIs from libcups v3.
Michael R Sweet [Sun, 3 Sep 2023 02:22:45 +0000 (22:22 -0400)] 
Add DNS-SD, cupsCopyString, and cupsConcatString APIs from libcups v3.

23 months agoUpdate sample driver version to match CUPS version.
Michael R Sweet [Sun, 3 Sep 2023 01:39:07 +0000 (21:39 -0400)] 
Update sample driver version to match CUPS version.

23 months agoInitial update of TLS support - no more SSPI or Security.framework (CDSA)
Michael R Sweet [Sun, 3 Sep 2023 01:19:10 +0000 (21:19 -0400)] 
Initial update of TLS support - no more SSPI or Security.framework (CDSA)
support.

Require TLS support.

23 months agoscheduler/conf.c: Print to stderr if we don't open cups-files.conf 777/head
Zdenek Dohnal [Fri, 1 Sep 2023 15:11:54 +0000 (17:11 +0200)] 
scheduler/conf.c: Print to stderr if we don'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.

23 months agoraster-interpret.c: Fix CVE-2023-4504
Zdenek Dohnal [Fri, 1 Sep 2023 14:47:29 +0000 (16:47 +0200)] 
raster-interpret.c: Fix CVE-2023-4504

We didn't check for end of buffer if it looks there is an escaped
character - check for NULL terminator there and if found, return NULL
as return value and in `ptr`, because a lone backslash is not
a valid PostScript character.

23 months agoAdd image/urf and image/pwg-raster filters for test server (for testing AirPrint...
Michael R Sweet [Thu, 10 Aug 2023 21:30:29 +0000 (17:30 -0400)] 
Add image/urf and image/pwg-raster filters for test server (for testing AirPrint/IPP Everywhere compatibility.

2 years agoFix a bug in the copy stack code (Issue #768)
Michael R Sweet [Wed, 2 Aug 2023 12:26:35 +0000 (08:26 -0400)] 
Fix a bug in the copy stack code (Issue #768)

2 years agoscheduler/job.c: Fix extensive logging in scheduler
zdohnal [Thu, 27 Jul 2023 16:48:19 +0000 (18:48 +0200)] 
scheduler/job.c: Fix extensive logging in scheduler

Based on currently unknown trigger scheduler sometimes sets JobHistoryUpdate into past, which causes select() to timeout after one second.

It happens when job->file_time of a job without files to remove gets assigned to JobHistoryUpdate. If we check for job->num_files and assign the job->file_time only if there are any, we will fix extensive logging (and unneeded cupsd execution) in various places, e.g. cleaning jobs, expiring subscriptions, deleting temporary queues...

Fixes #604

2 years agoscheduler/job.c: Fix extensive logging in scheduler 767/head
Zdenek Dohnal [Thu, 27 Jul 2023 10:34:52 +0000 (12:34 +0200)] 
scheduler/job.c: Fix extensive logging in scheduler

Based on currently unknown trigger scheduler sometimes sets
JobHistoryUpdate into past, which causes `select()` to timeout after one
second.

It happens when `job->file_time` of a job without files to remove gets
assigned to `JobHistoryUpdate`. If we check for `job->num_files` and
assign the `job->file_time` only if there are any, we will fix extensive
logging (and unneeded cupsd execution) in various places, e.g. cleaning
jobs, expiring subscriptions, deleting temporary queues...

Fixes #604

2 years agoEnable manual builds.
Michael R Sweet [Tue, 25 Jul 2023 19:17:31 +0000 (15:17 -0400)] 
Enable manual builds.

2 years agoUpdate LibreSSL version used by VC projects.
Michael R Sweet [Tue, 25 Jul 2023 18:58:44 +0000 (14:58 -0400)] 
Update LibreSSL version used by VC projects.

2 years agoUpdate REPORTING_ISSUES.md
zdohnal [Fri, 14 Jul 2023 05:50:54 +0000 (07:50 +0200)] 
Update REPORTING_ISSUES.md

Use `lpstat -l -e` in the document - its output gives easier distinction between temporary and permanent queues.

Thank you Brian Potkin for suggestion!

2 years agoMerge pull request #745 from zdohnal/ippeveprint_man
zdohnal [Thu, 13 Jul 2023 15:28:30 +0000 (17:28 +0200)] 
Merge pull request #745 from zdohnal/ippeveprint_man

Update ippeveprinter documentation

2 years agoApply feedback 745/head
Zdenek Dohnal [Thu, 13 Jul 2023 13:29:25 +0000 (15:29 +0200)] 
Apply feedback

2 years agoUpdate help pages via mantohtml
Zdenek Dohnal [Wed, 28 Jun 2023 12:27:17 +0000 (14:27 +0200)] 
Update help pages via mantohtml

2 years agomantohtml.c: Fix leftovers of strtod()->atof() migration
Zdenek Dohnal [Wed, 28 Jun 2023 12:25:51 +0000 (14:25 +0200)] 
mantohtml.c: Fix leftovers of strtod()->atof() migration

2 years agoman: Fix ippeveprinter man page
Zdenek Dohnal [Wed, 28 Jun 2023 12:22:36 +0000 (14:22 +0200)] 
man: Fix ippeveprinter man page

- explain further parameter `-F` (fixes #744)
- add missing explanation of parameters `-K` and `-a`

2 years agoUpdate pt-BR translation (#613)
Guilherme Gonzaga [Wed, 12 Jul 2023 12:06:25 +0000 (08:06 -0400)] 
Update pt-BR translation (#613)

Translations provided by Guilherme Gonzaga, thanks a lot!

2 years agoUse ASN1_TIME_to_tm when converting X.509 date/time values.
Michael R Sweet [Tue, 11 Jul 2023 20:08:21 +0000 (16:08 -0400)] 
Use ASN1_TIME_to_tm when converting X.509 date/time values.

2 years agoFix behavior of "reserve=rfc1179" in backend/lpd.c 746/head
Bryan Mason [Wed, 28 Jun 2023 19:55:15 +0000 (12:55 -0700)] 
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().