]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
4 years agoscheduler/job.c: use gziptoany for raw files (not just raw printers) 209/head
Bryan Mason [Thu, 15 Jul 2021 23:26:27 +0000 (16:26 -0700)] 
scheduler/job.c: use gziptoany for raw files (not just raw printers)

4 years agoFix regression caused by change for Issue #201.
Michael R Sweet [Wed, 14 Jul 2021 13:50:37 +0000 (09:50 -0400)] 
Fix regression caused by change for Issue #201.

4 years agoStart working on adding multiple language support to IPP Everywhere PPDs.
Michael R Sweet [Fri, 25 Jun 2021 19:39:14 +0000 (15:39 -0400)] 
Start working on adding multiple language support to IPP Everywhere PPDs.

4 years agoSupport the 'everywhere' model in cupsd (Issue #201)
Michael R Sweet [Wed, 23 Jun 2021 21:45:40 +0000 (17:45 -0400)] 
Support the 'everywhere' model in cupsd (Issue #201)

4 years agoMerge pull request #200 from OpenPrinting/ipptool
Michael R Sweet [Fri, 18 Jun 2021 14:54:26 +0000 (10:54 -0400)] 
Merge pull request #200 from OpenPrinting/ipptool

Merge changes for issue #196, fuzzipp improvements, and USB quirks (Issue #192) that mistakenly got added to ipptool branch...

4 years agoMerge branch 'master' into ipptool 200/head
Michael R Sweet [Fri, 18 Jun 2021 14:53:29 +0000 (10:53 -0400)] 
Merge branch 'master' into ipptool

4 years agoAdd USB quirk for Canon MP480 (Issue #192)
Michael R Sweet [Fri, 18 Jun 2021 14:45:16 +0000 (10:45 -0400)] 
Add USB quirk for Canon MP480 (Issue #192)

4 years agoAdd more attribute types to the initial fuzzing message.
Michael R Sweet [Fri, 18 Jun 2021 14:39:15 +0000 (10:39 -0400)] 
Add more attribute types to the initial fuzzing message.

Update fuzzdata to do more replacements.

4 years agoFurther harden ippReadIO to prevent invalid IPP message data from being
Michael R Sweet [Fri, 18 Jun 2021 14:24:22 +0000 (10:24 -0400)] 
Further harden ippReadIO to prevent invalid IPP message data from being
preserved (Issue #196)

4 years agoDelete an empty attribute if we aren't able to get the value length, otherwise
Michael R Sweet [Mon, 7 Jun 2021 13:16:39 +0000 (09:16 -0400)] 
Delete an empty attribute if we aren't able to get the value length, otherwise
the IPP message will contain a truncated attribute that cannot be written
(Issue #195)

4 years agoMake sure Windows socket stuff is initialized before calling getaddrinfo...
Michael R Sweet [Mon, 7 Jun 2021 11:51:26 +0000 (07:51 -0400)] 
Make sure Windows socket stuff is initialized before calling getaddrinfo...

4 years agoFix some Windows issues:
Michael R Sweet [Tue, 1 Jun 2021 15:43:25 +0000 (11:43 -0400)] 
Fix some Windows issues:

- cupsDirRead wasn't working - missing wildcard for FindFirst/FindNext.
- httpAddrListen/httpAddrConnect2 were missing the socket initialization code.

4 years agoUse localhost host header for loopback/domain sockets (Issue #185)
Michael R Sweet [Wed, 26 May 2021 22:43:19 +0000 (18:43 -0400)] 
Use localhost host header for loopback/domain sockets (Issue #185)

4 years agoMerge pull request #190 from zdohnal/dbus_threading
Michael R Sweet [Wed, 19 May 2021 12:55:05 +0000 (08:55 -0400)] 
Merge pull request #190 from zdohnal/dbus_threading

cups-common.m4: Check for dbus_thread_init_default()

4 years agocups-common.m4: Check for dbus_thread_init_default() 190/head
Zdenek Dohnal [Wed, 19 May 2021 06:16:22 +0000 (08:16 +0200)] 
cups-common.m4: Check for dbus_thread_init_default()

We actually use dbus_thread_init_default() in the code, so we should
check for it during configuration.

4 years agoSilence bogus LGTM warning.
Michael R Sweet [Tue, 18 May 2021 23:58:09 +0000 (19:58 -0400)] 
Silence bogus LGTM warning.

4 years agoMerge pull request #188 from zdohnal/cleanjob_restart_test
Michael R Sweet [Thu, 13 May 2021 14:56:41 +0000 (10:56 -0400)] 
Merge pull request #188 from zdohnal/cleanjob_restart_test

run-stp-tests.sh: Add regression test for JobHistoryupdate after restart

4 years agorun-stp-tests.sh: Add regression test for JobHistoryupdate after restart 188/head
Zdenek Dohnal [Thu, 13 May 2021 08:41:49 +0000 (10:41 +0200)] 
run-stp-tests.sh: Add regression test for JobHistoryupdate after restart

Regression test for MR #187.

4 years agoChangelog.
Michael R Sweet [Wed, 12 May 2021 19:29:23 +0000 (15:29 -0400)] 
Changelog.

4 years agoMerge pull request #187 from zdohnal/cleanfiles_after_restart
Michael R Sweet [Wed, 12 May 2021 19:13:38 +0000 (15:13 -0400)] 
Merge pull request #187 from zdohnal/cleanfiles_after_restart

scheduler/main.c: Set select timeout to JobHistoryUpdate again

4 years agoTry resolving 64-bit Linux build issues.
Michael R Sweet [Wed, 12 May 2021 16:04:00 +0000 (12:04 -0400)] 
Try resolving 64-bit Linux build issues.

4 years agoscheduler/main.c: Set select timeout to JobHistoryUpdate again 187/head
Zdenek Dohnal [Wed, 12 May 2021 14:27:21 +0000 (16:27 +0200)] 
scheduler/main.c: Set select timeout to JobHistoryUpdate again

The commit 9bdea94b145 introduced a regression in job control and data
files cleanup. If user sets PreserveJobHistory and PreserveJobFiles,
prints a file and stops cupsd before files are cleaned up, the files
aren't removed after cupsd restarts and the timeouts for removal are
reached.

The files will be removed if user uses command 'lpstat -W completed -o'
or by another cupsd restart after time passes JobHistoryUpdate, so
workarounds exist, however the current behavior is strange :( .

4 years agoAdd DISPLAY-MATCH predicate to ipptool.
Michael R Sweet [Wed, 12 May 2021 13:29:28 +0000 (09:29 -0400)] 
Add DISPLAY-MATCH predicate to ipptool.

4 years agoChangelog.
Michael R Sweet [Fri, 7 May 2021 11:06:12 +0000 (07:06 -0400)] 
Changelog.

4 years agoMerge pull request #184 from DanilKorotenko/fixDocumentation
Michael R Sweet [Fri, 7 May 2021 11:05:30 +0000 (07:05 -0400)] 
Merge pull request #184 from DanilKorotenko/fixDocumentation

Fixed attribute name in documentation.

4 years agoPass CONTENT_TYPE and FINAL_CONTENT_TYPE to Apple XPC service.
Michael R Sweet [Fri, 7 May 2021 10:49:43 +0000 (06:49 -0400)] 
Pass CONTENT_TYPE and FINAL_CONTENT_TYPE to Apple XPC service.

4 years agoFixed attribute name in documentation. 184/head
Danil Korotenko [Thu, 6 May 2021 16:02:41 +0000 (19:02 +0300)] 
Fixed attribute name in documentation.

4 years agoFix printer instances (Issue #71)
Michael R Sweet [Mon, 3 May 2021 12:34:51 +0000 (08:34 -0400)] 
Fix printer instances (Issue #71)

4 years agoMake sure monitor_done is initialized before running the monitor thread (thanks,...
Michael R Sweet [Sun, 2 May 2021 12:16:52 +0000 (08:16 -0400)] 
Make sure monitor_done is initialized before running the monitor thread (thanks, Smith!)

4 years agoFix DISPLAY bug in ipptool (Issue #139)
Michael R Sweet [Thu, 29 Apr 2021 13:00:35 +0000 (09:00 -0400)] 
Fix DISPLAY bug in ipptool (Issue #139)

4 years agoSet request-id for monitoring threads.
Michael R Sweet [Thu, 29 Apr 2021 12:00:58 +0000 (08:00 -0400)] 
Set request-id for monitoring threads.

4 years agoBuild MONITOR-PRINTER-STATE requested-attributes list from EXPECT directives
Michael R Sweet [Thu, 29 Apr 2021 11:51:07 +0000 (07:51 -0400)] 
Build MONITOR-PRINTER-STATE requested-attributes list from EXPECT directives

4 years agoMerge pull request #181 from zdohnal/sockerr_serr
Michael R Sweet [Thu, 29 Apr 2021 11:08:09 +0000 (07:08 -0400)] 
Merge pull request #181 from zdohnal/sockerr_serr

cups/http-addrlist.c: serr not defined, use sockerr

4 years agocups/http-addrlist.c: serr not defined, use sockerr 181/head
Zdenek Dohnal [Thu, 29 Apr 2021 06:49:25 +0000 (08:49 +0200)] 
cups/http-addrlist.c: serr not defined, use sockerr

4 years agoAdd a workaround for Solaris in httpAddrConnect2 (Issue #156)
Michael R Sweet [Wed, 28 Apr 2021 15:57:14 +0000 (11:57 -0400)] 
Add a workaround for Solaris in httpAddrConnect2 (Issue #156)

4 years agoFix errant find/replace that messed up the jobs documentation (Issue #177)
Michael R Sweet [Wed, 28 Apr 2021 13:11:13 +0000 (09:11 -0400)] 
Fix errant find/replace that messed up the jobs documentation (Issue #177)

4 years agoFix compile error, add number-up checks.
Michael R Sweet [Tue, 27 Apr 2021 20:28:11 +0000 (16:28 -0400)] 
Fix compile error, add number-up checks.

4 years agoFix the job-pages-per-set value for duplex printing.
Michael R Sweet [Tue, 27 Apr 2021 20:25:52 +0000 (16:25 -0400)] 
Fix the job-pages-per-set value for duplex printing.

4 years agoAdd missing MaxSubscriptionsXxx docos (Issue #177)
Michael R Sweet [Tue, 27 Apr 2021 19:55:36 +0000 (15:55 -0400)] 
Add missing MaxSubscriptionsXxx docos (Issue #177)

4 years agoFix @IF(name) handling (Apple #5918)
Michael R Sweet [Mon, 26 Apr 2021 20:21:15 +0000 (16:21 -0400)] 
Fix @IF(name) handling (Apple #5918)

4 years agoMerge pull request #179 from proski/non-interactive-mv
Michael R Sweet [Mon, 26 Apr 2021 20:47:10 +0000 (16:47 -0400)] 
Merge pull request #179 from proski/non-interactive-mv

Use mv with the -f (force) argument in makefiles

4 years agoUse mv with the -f (force) argument in makefiles 179/head
Pavel Roskin [Sat, 24 Apr 2021 06:53:23 +0000 (23:53 -0700)] 
Use mv with the -f (force) argument in makefiles

That way users are not asked whether to override files when reinstalling
CUPS to the same location.

4 years agoAdd WITH-DISTINCT-VALUES support for collections.
Michael R Sweet [Wed, 21 Apr 2021 15:37:34 +0000 (11:37 -0400)] 
Add WITH-DISTINCT-VALUES support for collections.

4 years agoMirror USB serial number change to macOS USB backend.
Michael R Sweet [Mon, 19 Apr 2021 12:44:29 +0000 (08:44 -0400)] 
Mirror USB serial number change to macOS USB backend.

4 years ago(Testing) Don't use serial number from 1284 device ID.
Michael R Sweet [Fri, 16 Apr 2021 14:01:13 +0000 (10:01 -0400)] 
(Testing) Don't use serial number from 1284 device ID.

4 years agoPrefer USB serial number over 1284 serial number (#170)
Michael R Sweet [Thu, 15 Apr 2021 20:23:16 +0000 (16:23 -0400)] 
Prefer USB serial number over 1284 serial number (#170)

4 years agoUse the device serial number if the 1284 serial number is empty (Issue #170)
Michael R Sweet [Thu, 15 Apr 2021 20:06:01 +0000 (16:06 -0400)] 
Use the device serial number if the 1284 serial number is empty (Issue #170)

4 years agoChangelog.
Michael R Sweet [Tue, 13 Apr 2021 14:31:56 +0000 (10:31 -0400)] 
Changelog.

4 years agoMerge pull request #174 from zdohnal/usb_read_timeout_final
Michael R Sweet [Tue, 13 Apr 2021 14:30:10 +0000 (10:30 -0400)] 
Merge pull request #174 from zdohnal/usb_read_timeout_final

Use 60s timeout for read_thread, revert read limits

4 years agobackend/usb-libusb.c: Revert enforcing read limits 174/head
Zdenek Dohnal [Tue, 13 Apr 2021 13:47:37 +0000 (15:47 +0200)] 
backend/usb-libusb.c: Revert enforcing read limits

This commit reverts the change introduced by 2.2.12 [1] - its
implementation caused a regression with Lexmark filters.

[1]
https://github.com/apple/cups/commit/35e927f83529cd9b4bc37bcd418c50e307fced35

4 years agobackend/usb-libusb.c: Use 60s timeout for reading at backchannel
Zdenek Dohnal [Tue, 13 Apr 2021 13:44:14 +0000 (15:44 +0200)] 
backend/usb-libusb.c: Use 60s timeout for reading at backchannel

Some older models malfunction if timeout is too short.

4 years agoEliminate unused variables.
Michael R Sweet [Mon, 12 Apr 2021 20:37:03 +0000 (16:37 -0400)] 
Eliminate unused variables.

4 years agoMerge pull request #141 from bmasonrh/master
Michael R Sweet [Mon, 12 Apr 2021 18:11:48 +0000 (14:11 -0400)] 
Merge pull request #141 from bmasonrh/master

scheduler/cups.service.in: Use nss-user-lookup.target in "After="

4 years agoMerge pull request #173 from proski/configure-variables
Michael R Sweet [Sun, 11 Apr 2021 18:45:33 +0000 (14:45 -0400)] 
Merge pull request #173 from proski/configure-variables

Fix misspelled variable names in configure script

4 years agoFix misspelled variable names in configure script 173/head
Pavel Roskin [Sun, 11 Apr 2021 18:22:03 +0000 (11:22 -0700)] 
Fix misspelled variable names in configure script

have_system should be have_systemd. have_thread should be have_pthread.

4 years agoAdd missing yes/no translations in the new Danish message catalog.
Michael R Sweet [Fri, 9 Apr 2021 14:34:28 +0000 (10:34 -0400)] 
Add missing yes/no translations in the new Danish message catalog.

4 years agoRetry Validate-Job once, if needed (Issue #132)
Michael R Sweet [Fri, 9 Apr 2021 14:20:04 +0000 (10:20 -0400)] 
Retry Validate-Job once, if needed (Issue #132)

4 years agoFix typo in example code (Issue #163)
Michael R Sweet [Fri, 9 Apr 2021 14:12:45 +0000 (10:12 -0400)] 
Fix typo in example code (Issue #163)

4 years agoChangelog.
Michael R Sweet [Fri, 9 Apr 2021 14:10:31 +0000 (10:10 -0400)] 
Changelog.

4 years agoMerge pull request #164 from scootergrisen/patch-1
Michael R Sweet [Fri, 9 Apr 2021 14:10:21 +0000 (10:10 -0400)] 
Merge pull request #164 from scootergrisen/patch-1

Add cups_da.po (2.3.0)

4 years agoCleanup for Issue #167
Michael R Sweet [Fri, 9 Apr 2021 14:08:41 +0000 (10:08 -0400)] 
Cleanup for Issue #167

4 years agoMerge pull request #167 from DanilKorotenko/loggingEnhancement2
Michael R Sweet [Fri, 9 Apr 2021 13:59:01 +0000 (09:59 -0400)] 
Merge pull request #167 from DanilKorotenko/loggingEnhancement2

Logging enhancement.

4 years agoAutomatically choose an available port.
Michael R Sweet [Fri, 9 Apr 2021 13:08:53 +0000 (09:08 -0400)] 
Automatically choose an available port.

4 years agoChangelog.
Michael R Sweet [Thu, 8 Apr 2021 12:44:04 +0000 (08:44 -0400)] 
Changelog.

4 years agoFix one other spot where http->fd isn't reset to -1 (Issue #5915)
Michael R Sweet [Thu, 8 Apr 2021 12:43:21 +0000 (08:43 -0400)] 
Fix one other spot where http->fd isn't reset to -1 (Issue #5915)

4 years agoFix MONITOR-PRINTER-STATE directive.
Michael R Sweet [Wed, 7 Apr 2021 23:24:32 +0000 (19:24 -0400)] 
Fix MONITOR-PRINTER-STATE directive.

4 years agoRemove KeepAliveTimeout directive since it hasn't been wired up for years
Michael R Sweet [Wed, 7 Apr 2021 21:56:34 +0000 (17:56 -0400)] 
Remove KeepAliveTimeout directive since it hasn't been wired up for years
(Apple #5733)

4 years ago`httpReconnect2` did not reset the socket file descriptor when the TLS negotiation...
Michael R Sweet [Wed, 7 Apr 2021 21:52:59 +0000 (17:52 -0400)] 
`httpReconnect2` did not reset the socket file descriptor when the TLS negotiation failed (Apple #5907)

4 years agoReport an error when the test file cannot be found.
Michael R Sweet [Wed, 7 Apr 2021 13:44:22 +0000 (09:44 -0400)] 
Report an error when the test file cannot be found.

4 years agoAdd PASS-IF-[NOT-]DEFINED directive to ipptool.
Michael R Sweet [Wed, 7 Apr 2021 13:35:15 +0000 (09:35 -0400)] 
Add PASS-IF-[NOT-]DEFINED directive to ipptool.

4 years agoWhen log messages with 'write' function it could be an inconsistency between the... 167/head
Danil Korotenko [Fri, 2 Apr 2021 14:59:24 +0000 (17:59 +0300)] 
When log messages with 'write' function it could be an inconsistency between the log message string and the string length.

To avoid this situation, added 'backendMessage' function that will count the log message string length automatically.

4 years agoFixed string length.
Danil Korotenko [Fri, 2 Apr 2021 14:43:54 +0000 (17:43 +0300)] 
Fixed string length.

4 years agoUpdate references from RFC 2911 to RFC 8011.
Michael R Sweet [Thu, 1 Apr 2021 19:58:30 +0000 (15:58 -0400)] 
Update references from RFC 2911 to RFC 8011.

4 years agoMerge pull request #165 from OpenPrinting/ipptool
Michael R Sweet [Thu, 1 Apr 2021 18:12:03 +0000 (14:12 -0400)] 
Merge pull request #165 from OpenPrinting/ipptool

ipptool enhancement and fixes

4 years agoMerge branch 'master' into ipptool 165/head
Michael R Sweet [Thu, 1 Apr 2021 18:11:54 +0000 (14:11 -0400)] 
Merge branch 'master' into ipptool

4 years agoThe request ID did not increment for each attempt in a repeated test (Issue #153)
Michael R Sweet [Thu, 1 Apr 2021 18:07:42 +0000 (14:07 -0400)] 
The request ID did not increment for each attempt in a repeated test (Issue #153)

4 years agoAdd support for limits in OF-TYPE syntax strings (Issue #153)
Michael R Sweet [Thu, 1 Apr 2021 17:57:16 +0000 (13:57 -0400)] 
Add support for limits in OF-TYPE syntax strings (Issue #153)

4 years agoAdd -R option to repeat on server-error-busy (Issue #153)
Michael R Sweet [Thu, 1 Apr 2021 17:12:22 +0000 (13:12 -0400)] 
Add -R option to repeat on server-error-busy (Issue #153)

4 years agoAdd cups_da.po (2.3.0) 164/head
scootergrisen [Thu, 1 Apr 2021 11:22:21 +0000 (13:22 +0200)] 
Add cups_da.po (2.3.0)

4 years agoAdd WITH-DISTINCT-VALUES predicate (Issue #153)
Michael R Sweet [Wed, 31 Mar 2021 21:22:31 +0000 (17:22 -0400)] 
Add WITH-DISTINCT-VALUES predicate (Issue #153)

4 years agoFix some variable propagation issues, fix "make test" target.
Michael R Sweet [Wed, 31 Mar 2021 20:41:22 +0000 (16:41 -0400)] 
Fix some variable propagation issues, fix "make test" target.

4 years agoFix clang analyzer issues.
Michael R Sweet [Wed, 31 Mar 2021 18:21:06 +0000 (14:21 -0400)] 
Fix clang analyzer issues.

4 years agoUpdate man page.
Michael R Sweet [Wed, 31 Mar 2021 18:09:38 +0000 (14:09 -0400)] 
Update man page.

4 years agoImplement EXPECT handling for MONITOR-PRINTER-STATE.
Michael R Sweet [Wed, 31 Mar 2021 17:50:14 +0000 (13:50 -0400)] 
Implement EXPECT handling for MONITOR-PRINTER-STATE.

4 years agoImplement MONITOR-PRINTER-STATE parsing and skeleton of thread code.
Michael R Sweet [Wed, 31 Mar 2021 14:38:44 +0000 (10:38 -0400)] 
Implement MONITOR-PRINTER-STATE parsing and skeleton of thread code.

4 years agoProtect against group tags inside collections.
Michael R Sweet [Mon, 29 Mar 2021 00:57:55 +0000 (20:57 -0400)] 
Protect against group tags inside collections.

4 years agoAdd write test and more transformations in fuzz function.
Michael R Sweet [Mon, 29 Mar 2021 00:55:52 +0000 (20:55 -0400)] 
Add write test and more transformations in fuzz function.

4 years agoAdd missing file.
Michael R Sweet [Sat, 27 Mar 2021 21:21:02 +0000 (17:21 -0400)] 
Add missing file.

4 years agoAdd simple fuzzer for IPP parser.
Michael R Sweet [Sat, 27 Mar 2021 03:17:40 +0000 (23:17 -0400)] 
Add simple fuzzer for IPP parser.

4 years agoFix spelling error (Issue #161)
Michael R Sweet [Fri, 26 Mar 2021 20:59:53 +0000 (16:59 -0400)] 
Fix spelling error (Issue #161)

4 years agoProtect against group tags inside collections.
Michael R Sweet [Mon, 29 Mar 2021 00:57:55 +0000 (20:57 -0400)] 
Protect against group tags inside collections.

4 years agoAdd write test and more transformations in fuzz function.
Michael R Sweet [Mon, 29 Mar 2021 00:55:52 +0000 (20:55 -0400)] 
Add write test and more transformations in fuzz function.

4 years agoAdd missing file.
Michael R Sweet [Sat, 27 Mar 2021 21:21:02 +0000 (17:21 -0400)] 
Add missing file.

4 years agoAdd simple fuzzer for IPP parser.
Michael R Sweet [Sat, 27 Mar 2021 03:17:40 +0000 (23:17 -0400)] 
Add simple fuzzer for IPP parser.

4 years agoFix spelling error (Issue #161)
Michael R Sweet [Fri, 26 Mar 2021 20:59:53 +0000 (16:59 -0400)] 
Fix spelling error (Issue #161)

4 years agoFix pkg-config destination directory.
Michael R Sweet [Thu, 25 Mar 2021 15:00:12 +0000 (11:00 -0400)] 
Fix pkg-config destination directory.

4 years agoThrow an error if a member attribute occurs outside a collection.
Michael R Sweet [Wed, 24 Mar 2021 19:15:16 +0000 (15:15 -0400)] 
Throw an error if a member attribute occurs outside a collection.

4 years agoAdd GB18030 charset support for localization (Issue #159)
Michael R Sweet [Tue, 23 Mar 2021 19:00:07 +0000 (15:00 -0400)] 
Add GB18030 charset support for localization (Issue #159)

4 years agoChangelog
Michael R Sweet [Fri, 19 Mar 2021 13:05:49 +0000 (09:05 -0400)] 
Changelog

4 years agoTry repairing the i386 build environment, which is causing the i386 builds
Michael R Sweet [Fri, 19 Mar 2021 13:04:56 +0000 (09:04 -0400)] 
Try repairing the i386 build environment, which is causing the i386 builds
to fail.