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

4 years agoscheduler/log.c: Use `[Job N]` even for syslog
Zdenek Dohnal [Fri, 19 Mar 2021 08:25:41 +0000 (09:25 +0100)] 
scheduler/log.c: Use `[Job N]` even for syslog

Currently there is a difference in job log format based on where logs
are sent - the message contains `[Job N]` if sent to a file and it
doesn't contain the string if sent to syslog.
Though it can be seen as a duplicate of information, since the main
syslog system used (journald) is capable of filtering messages based on
JID, but having `[Job N]` string in logs in syslog is useful when you
need to debug complex issues and you need to see what happens in the
scheduler and in a specific job at the same time - f.e. at print
servers.

How to reproduce:
0) set error logs to syslog in /etc/cups/cups-files.conf
1) $ cupsctl --debug-logging
2) $ lp -d <queue> <file>
3) $ journalctl -u cups

Actual results:
Cannot distinguish logs from scheduler and from the job

Results after the patch:
Job logs have `[Job N]` at the start of message, where N is a job id.

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.

4 years agoMerge pull request #154 from zdohnal/logs_use_jobid
Michael R Sweet [Fri, 19 Mar 2021 13:00:06 +0000 (09:00 -0400)] 
Merge pull request #154 from zdohnal/logs_use_jobid

scheduler/log.c: Use `[Job N]` even for syslog

4 years agoCoding style:
Michael R Sweet [Fri, 19 Mar 2021 12:16:37 +0000 (08:16 -0400)] 
Coding style:

- Update ipptool to use "ipptool_" prefix for all local types instead of
  "_cups_".
- Fix command name and unwrap some of the errors.

4 years agoscheduler/log.c: Use `[Job N]` even for syslog 154/head
Zdenek Dohnal [Fri, 19 Mar 2021 08:25:41 +0000 (09:25 +0100)] 
scheduler/log.c: Use `[Job N]` even for syslog

Currently there is a difference in job log format based on where logs
are sent - the message contains `[Job N]` if sent to a file and it
doesn't contain the string if sent to syslog.
Though it can be seen as a duplicate of information, since the main
syslog system used (journald) is capable of filtering messages based on
JID, but having `[Job N]` string in logs in syslog is useful when you
need to debug complex issues and you need to see what happens in the
scheduler and in a specific job at the same time - f.e. at print
servers.

How to reproduce:
0) set error logs to syslog in /etc/cups/cups-files.conf
1) $ cupsctl --debug-logging
2) $ lp -d <queue> <file>
3) $ journalctl -u cups

Actual results:
Cannot distinguish logs from scheduler and from the job

Results after the patch:
Job logs have `[Job N]` at the start of message, where N is a job id.

4 years agoChangelog.
Michael R Sweet [Tue, 16 Mar 2021 11:05:27 +0000 (07:05 -0400)] 
Changelog.

4 years agoMerge pull request #146 from jschwender/master
Michael R Sweet [Tue, 16 Mar 2021 11:04:49 +0000 (07:04 -0400)] 
Merge pull request #146 from jschwender/master

notices in localized index pages adjusted

4 years agoadjust localized index files 146/head
jschwender [Mon, 15 Mar 2021 22:18:48 +0000 (23:18 +0100)] 
adjust localized index files

4 years agonotices in localized index pages adjusted to refer to OpenPrinting like in the englis...
jschwender [Mon, 15 Mar 2021 21:19:29 +0000 (22:19 +0100)] 
notices in localized index pages adjusted to refer to OpenPrinting like in the english original

4 years agoMerge pull request #143 from zdohnal/add_multiuser_target
Michael R Sweet [Mon, 15 Mar 2021 12:37:21 +0000 (08:37 -0400)] 
Merge pull request #143 from zdohnal/add_multiuser_target

cups.service.in: Add SYSTEMD_WANTED_BY variable

4 years agocups.service.in: Add `SYSTEMD_WANTED_BY` variable 143/head
Zdenek Dohnal [Mon, 15 Mar 2021 12:15:24 +0000 (13:15 +0100)] 
cups.service.in: Add `SYSTEMD_WANTED_BY` variable

The variable contains `printers.target` by default. If CUPS is
configured with web interface and browsing enabled, `multi-user.target`
is added to the variable.

4 years agoStop using Travis CI.
Michael R Sweet [Mon, 15 Mar 2021 11:26:15 +0000 (07:26 -0400)] 
Stop using Travis CI.

4 years agoChangelog
Michael R Sweet [Mon, 15 Mar 2021 10:45:29 +0000 (06:45 -0400)] 
Changelog

4 years agoMerge pull request #142 from jschwender/master
Michael R Sweet [Mon, 15 Mar 2021 10:44:27 +0000 (06:44 -0400)] 
Merge pull request #142 from jschwender/master

fix for  "jobs in ascending order" never appeared in job list

4 years agomore explicit terms in the job listing templates. 142/head
jschwender [Mon, 15 Mar 2021 07:23:54 +0000 (08:23 +0100)] 
more explicit terms in the job listing templates.
ja,ru,pt_BR,es use identical english terms as they are untranslated so far.
de is translated. da, fr need an update for translation.

4 years agobetter description for the job list, giving both sort order and direction
Joachim Schwender [Sun, 14 Mar 2021 01:11:26 +0000 (02:11 +0100)] 
better description for the job list, giving both sort order and direction

4 years agothe "ascending order" never appeared in job listing, with this change it works as...
Joachim Schwender [Sun, 14 Mar 2021 00:31:12 +0000 (01:31 +0100)] 
the "ascending order" never appeared in job listing, with this change it works as expected.
fixes  #131

4 years agoMerge pull request #1 from OpenPrinting/master
jschwender [Sat, 13 Mar 2021 22:12:57 +0000 (23:12 +0100)] 
Merge pull request #1 from OpenPrinting/master

updating from openprinting paster

4 years agoMerge pull request #128 from jschwender/patch-1
Michael R Sweet [Sat, 13 Mar 2021 20:09:56 +0000 (15:09 -0500)] 
Merge pull request #128 from jschwender/patch-1

table header left aligned

4 years agoChangelog.
Michael R Sweet [Sat, 13 Mar 2021 14:49:53 +0000 (09:49 -0500)] 
Changelog.

4 years agoMerge pull request #134 from fschwa/master
Michael R Sweet [Sat, 13 Mar 2021 14:48:28 +0000 (09:48 -0500)] 
Merge pull request #134 from fschwa/master

proofreading German translation

4 years agoscheduler/cups.service.in: Add 'nslcd.service' back to "After=" list. 141/head
Bryan Mason [Sat, 13 Mar 2021 06:04:14 +0000 (22:04 -0800)] 
scheduler/cups.service.in: Add 'nslcd.service' back to "After=" list.