]>
git.ipfire.org Git - thirdparty/cups.git/log
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 :( .
Michael R Sweet [Fri, 7 May 2021 11:06:12 +0000 (07:06 -0400)]
Changelog.
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.
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.
Danil Korotenko [Thu, 6 May 2021 16:02:41 +0000 (19:02 +0300)]
Fixed attribute name in documentation.
Michael R Sweet [Mon, 3 May 2021 12:34:51 +0000 (08:34 -0400)]
Fix printer instances (Issue #71)
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!)
Michael R Sweet [Thu, 29 Apr 2021 13:00:35 +0000 (09:00 -0400)]
Fix DISPLAY bug in ipptool (Issue #139)
Michael R Sweet [Thu, 29 Apr 2021 12:00:58 +0000 (08:00 -0400)]
Set request-id for monitoring threads.
Michael R Sweet [Thu, 29 Apr 2021 11:51:07 +0000 (07:51 -0400)]
Build MONITOR-PRINTER-STATE requested-attributes list from EXPECT directives
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
Zdenek Dohnal [Thu, 29 Apr 2021 06:49:25 +0000 (08:49 +0200)]
cups/http-addrlist.c: serr not defined, use sockerr
Michael R Sweet [Wed, 28 Apr 2021 15:57:14 +0000 (11:57 -0400)]
Add a workaround for Solaris in httpAddrConnect2 (Issue #156)
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)
Michael R Sweet [Tue, 27 Apr 2021 20:28:11 +0000 (16:28 -0400)]
Fix compile error, add number-up checks.
Michael R Sweet [Tue, 27 Apr 2021 20:25:52 +0000 (16:25 -0400)]
Fix the job-pages-per-set value for duplex printing.
Michael R Sweet [Tue, 27 Apr 2021 19:55:36 +0000 (15:55 -0400)]
Add missing MaxSubscriptionsXxx docos (Issue #177)
Michael R Sweet [Mon, 26 Apr 2021 20:21:15 +0000 (16:21 -0400)]
Fix @IF(name) handling (Apple #5918)
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
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.
Michael R Sweet [Wed, 21 Apr 2021 15:37:34 +0000 (11:37 -0400)]
Add WITH-DISTINCT-VALUES support for collections.
Michael R Sweet [Mon, 19 Apr 2021 12:44:29 +0000 (08:44 -0400)]
Mirror USB serial number change to macOS USB backend.
Michael R Sweet [Fri, 16 Apr 2021 14:01:13 +0000 (10:01 -0400)]
(Testing) Don't use serial number from 1284 device ID.
Michael R Sweet [Thu, 15 Apr 2021 20:23:16 +0000 (16:23 -0400)]
Prefer USB serial number over 1284 serial number (#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)
Michael R Sweet [Tue, 13 Apr 2021 14:31:56 +0000 (10:31 -0400)]
Changelog.
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
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
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.
Michael R Sweet [Mon, 12 Apr 2021 20:37:03 +0000 (16:37 -0400)]
Eliminate unused variables.
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="
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
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.
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.
Michael R Sweet [Fri, 9 Apr 2021 14:20:04 +0000 (10:20 -0400)]
Retry Validate-Job once, if needed (Issue #132)
Michael R Sweet [Fri, 9 Apr 2021 14:12:45 +0000 (10:12 -0400)]
Fix typo in example code (Issue #163)
Michael R Sweet [Fri, 9 Apr 2021 14:10:31 +0000 (10:10 -0400)]
Changelog.
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)
Michael R Sweet [Fri, 9 Apr 2021 14:08:41 +0000 (10:08 -0400)]
Cleanup for Issue #167
Michael R Sweet [Fri, 9 Apr 2021 13:59:01 +0000 (09:59 -0400)]
Merge pull request #167 from DanilKorotenko/loggingEnhancement2
Logging enhancement.
Michael R Sweet [Fri, 9 Apr 2021 13:08:53 +0000 (09:08 -0400)]
Automatically choose an available port.
Michael R Sweet [Thu, 8 Apr 2021 12:44:04 +0000 (08:44 -0400)]
Changelog.
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)
Michael R Sweet [Wed, 7 Apr 2021 23:24:32 +0000 (19:24 -0400)]
Fix MONITOR-PRINTER-STATE directive.
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)
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)
Michael R Sweet [Wed, 7 Apr 2021 13:44:22 +0000 (09:44 -0400)]
Report an error when the test file cannot be found.
Michael R Sweet [Wed, 7 Apr 2021 13:35:15 +0000 (09:35 -0400)]
Add PASS-IF-[NOT-]DEFINED directive to ipptool.
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.
Danil Korotenko [Fri, 2 Apr 2021 14:43:54 +0000 (17:43 +0300)]
Fixed string length.
Michael R Sweet [Thu, 1 Apr 2021 19:58:30 +0000 (15:58 -0400)]
Update references from RFC 2911 to RFC 8011.
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
Michael R Sweet [Thu, 1 Apr 2021 18:11:54 +0000 (14:11 -0400)]
Merge branch 'master' into ipptool
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)
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)
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)
scootergrisen [Thu, 1 Apr 2021 11:22:21 +0000 (13:22 +0200)]
Add cups_da.po (2.3.0)
Michael R Sweet [Wed, 31 Mar 2021 21:22:31 +0000 (17:22 -0400)]
Add WITH-DISTINCT-VALUES predicate (Issue #153)
Michael R Sweet [Wed, 31 Mar 2021 20:41:22 +0000 (16:41 -0400)]
Fix some variable propagation issues, fix "make test" target.
Michael R Sweet [Wed, 31 Mar 2021 18:21:06 +0000 (14:21 -0400)]
Fix clang analyzer issues.
Michael R Sweet [Wed, 31 Mar 2021 18:09:38 +0000 (14:09 -0400)]
Update man page.
Michael R Sweet [Wed, 31 Mar 2021 17:50:14 +0000 (13:50 -0400)]
Implement EXPECT handling for MONITOR-PRINTER-STATE.
Michael R Sweet [Wed, 31 Mar 2021 14:38:44 +0000 (10:38 -0400)]
Implement MONITOR-PRINTER-STATE parsing and skeleton of thread code.
Michael R Sweet [Mon, 29 Mar 2021 00:57:55 +0000 (20:57 -0400)]
Protect against group tags inside collections.
Michael R Sweet [Mon, 29 Mar 2021 00:55:52 +0000 (20:55 -0400)]
Add write test and more transformations in fuzz function.
Michael R Sweet [Sat, 27 Mar 2021 21:21:02 +0000 (17:21 -0400)]
Add missing file.
Michael R Sweet [Sat, 27 Mar 2021 03:17:40 +0000 (23:17 -0400)]
Add simple fuzzer for IPP parser.
Michael R Sweet [Fri, 26 Mar 2021 20:59:53 +0000 (16:59 -0400)]
Fix spelling error (Issue #161)
Michael R Sweet [Mon, 29 Mar 2021 00:57:55 +0000 (20:57 -0400)]
Protect against group tags inside collections.
Michael R Sweet [Mon, 29 Mar 2021 00:55:52 +0000 (20:55 -0400)]
Add write test and more transformations in fuzz function.
Michael R Sweet [Sat, 27 Mar 2021 21:21:02 +0000 (17:21 -0400)]
Add missing file.
Michael R Sweet [Sat, 27 Mar 2021 03:17:40 +0000 (23:17 -0400)]
Add simple fuzzer for IPP parser.
Michael R Sweet [Fri, 26 Mar 2021 20:59:53 +0000 (16:59 -0400)]
Fix spelling error (Issue #161)
Michael R Sweet [Thu, 25 Mar 2021 15:00:12 +0000 (11:00 -0400)]
Fix pkg-config destination directory.
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.
Michael R Sweet [Tue, 23 Mar 2021 19:00:07 +0000 (15:00 -0400)]
Add GB18030 charset support for localization (Issue #159)
Michael R Sweet [Fri, 19 Mar 2021 13:05:49 +0000 (09:05 -0400)]
Changelog
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.
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.
Michael R Sweet [Thu, 25 Mar 2021 15:00:12 +0000 (11:00 -0400)]
Fix pkg-config destination directory.
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.
Michael R Sweet [Tue, 23 Mar 2021 19:00:07 +0000 (15:00 -0400)]
Add GB18030 charset support for localization (Issue #159)
Michael R Sweet [Fri, 19 Mar 2021 13:05:49 +0000 (09:05 -0400)]
Changelog
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.
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
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.
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.
Michael R Sweet [Tue, 16 Mar 2021 11:05:27 +0000 (07:05 -0400)]
Changelog.
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
jschwender [Mon, 15 Mar 2021 22:18:48 +0000 (23:18 +0100)]
adjust localized index files
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
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
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.
Michael R Sweet [Mon, 15 Mar 2021 11:26:15 +0000 (07:26 -0400)]
Stop using Travis CI.
Michael R Sweet [Mon, 15 Mar 2021 10:45:29 +0000 (06:45 -0400)]
Changelog
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
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.
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
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
jschwender [Sat, 13 Mar 2021 22:12:57 +0000 (23:12 +0100)]
Merge pull request #1 from OpenPrinting/master
updating from openprinting paster