]>
git.ipfire.org Git - thirdparty/cups.git/log
Evan Miller [Tue, 24 Aug 2021 13:28:50 +0000 (09:28 -0400)]
libcups: Fix unused-function error with SSL disabled
Michael R Sweet [Tue, 17 Aug 2021 13:51:20 +0000 (09:51 -0400)]
Merge pull request #212 from Swyter/master
Add the Canon PIXMA MP240 to the USB quirk list
Michael R Sweet [Tue, 3 Aug 2021 21:34:50 +0000 (17:34 -0400)]
Fix up VS props file.
Swyter [Sat, 31 Jul 2021 23:04:11 +0000 (01:04 +0200)]
Move the two out-of-order Canon PIXMA entries and sort them. Remove the now-duplicated MP280 entry, and fill the holes in the MP 4xx and MP5xx series.
Michael R Sweet [Sat, 31 Jul 2021 22:31:41 +0000 (18:31 -0400)]
Update NuGet packages.
Swyter [Sat, 31 Jul 2021 22:13:09 +0000 (00:13 +0200)]
Add the `unidir` quirk to the rest of the Canon PIXMA MP 2xx series; they all seem to share the same issues
The other USB PIDs were found via http://www.linux-usb.org/usb.ids. It should be harmless at worst; fill the holes in the list.
Swyter [Sat, 31 Jul 2021 17:56:33 +0000 (19:56 +0200)]
Add the Canon PIXMA MP240 to the USB quirk list
Without it the printer gets stuck waiting for some kind of USB response from the computer 3/4 into the page. Right at the end of the job.
Sometimes it moves the printing head once every few minutes, if we wait for 20-30 minutes it often finishes correctly. Which is unacceptable.
Using `no-reattach unidir` instead of only `unidir` seems to also work fine, but is seemed superfluous in my case, so try that if things are still wonky.
Disconnecting the USB cable makes it stop the job instantly, spitting the rest of the page.
The same setup works on Windows just fine. Maybe adding the other MP2XX models into the list should be considered.
In my case, until a few months ago printing via CUPS without any kinds of quirks seemed to work fine, so it seems like some kind of regression.
The credit goes to @mounaiban for the original solution:
https://github.com/agalakhov/captdriver/issues/7#issuecomment-
602004919
More information here:
https://github.com/agalakhov/captdriver/issues/7#issuecomment-
890380405
Michael R Sweet [Sat, 31 Jul 2021 01:22:39 +0000 (21:22 -0400)]
Try using .targets file in NuGet package.
Tweak spec files.
Michael R Sweet [Sat, 31 Jul 2021 01:05:37 +0000 (21:05 -0400)]
Update CUPS logo to new OpenPrinting CUPS logo.
Michael R Sweet [Sat, 31 Jul 2021 01:04:45 +0000 (21:04 -0400)]
Update CUPS icons to new OpenPrinting CUPS logo.
Michael R Sweet [Sat, 31 Jul 2021 00:34:40 +0000 (20:34 -0400)]
Add zlib_native to libcups2_native.redist.
Michael R Sweet [Sat, 31 Jul 2021 00:06:31 +0000 (20:06 -0400)]
Fix NuGet spec files.
Michael R Sweet [Fri, 30 Jul 2021 23:59:00 +0000 (19:59 -0400)]
Don't bother with Win32 (32-bit intel) versions for now.
Michael R Sweet [Fri, 30 Jul 2021 23:57:43 +0000 (19:57 -0400)]
Need to include regex.dll in redistributable package.
Michael R Sweet [Fri, 30 Jul 2021 23:52:35 +0000 (19:52 -0400)]
Add NuGet packaging files for libcups2.
Michael R Sweet [Fri, 30 Jul 2021 23:08:31 +0000 (19:08 -0400)]
Fix ippeveprinter dependencies
Michael R Sweet [Fri, 30 Jul 2021 23:03:02 +0000 (19:03 -0400)]
Remove bogus package reference.
Michael R Sweet [Fri, 30 Jul 2021 22:55:50 +0000 (18:55 -0400)]
Merge branch 'master' of github.com:OpenPrinting/cups
Michael R Sweet [Fri, 30 Jul 2021 22:55:45 +0000 (18:55 -0400)]
Try fixing VS project.
Michael R Sweet [Wed, 28 Jul 2021 00:33:28 +0000 (20:33 -0400)]
No longer have snprintf emulation functions in libcups2.
Michael R Sweet [Wed, 28 Jul 2021 00:17:54 +0000 (20:17 -0400)]
Add Windows CI target.
Michael R Sweet [Wed, 14 Jul 2021 13:50:37 +0000 (09:50 -0400)]
Fix regression caused by change for Issue #201.
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.
Michael R Sweet [Wed, 23 Jun 2021 21:45:40 +0000 (17:45 -0400)]
Support the 'everywhere' model in cupsd (Issue #201)
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...
Michael R Sweet [Fri, 18 Jun 2021 14:53:29 +0000 (10:53 -0400)]
Merge branch 'master' into ipptool
Michael R Sweet [Fri, 18 Jun 2021 14:45:16 +0000 (10:45 -0400)]
Add USB quirk for Canon MP480 (Issue #192)
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.
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)
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)
Michael R Sweet [Mon, 7 Jun 2021 11:51:26 +0000 (07:51 -0400)]
Make sure Windows socket stuff is initialized before calling getaddrinfo...
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.
Michael R Sweet [Wed, 26 May 2021 22:43:19 +0000 (18:43 -0400)]
Use localhost host header for loopback/domain sockets (Issue #185)
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()
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.
Michael R Sweet [Tue, 18 May 2021 23:58:09 +0000 (19:58 -0400)]
Silence bogus LGTM warning.
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
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.
Michael R Sweet [Wed, 12 May 2021 19:29:23 +0000 (15:29 -0400)]
Changelog.
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
Michael R Sweet [Wed, 12 May 2021 16:04:00 +0000 (12:04 -0400)]
Try resolving 64-bit Linux build issues.
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 [Wed, 12 May 2021 13:29:28 +0000 (09:29 -0400)]
Add DISPLAY-MATCH predicate to ipptool.
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)