]>
git.ipfire.org Git - thirdparty/cups.git/log
Alfonso Gregory [Mon, 30 Aug 2021 16:23:00 +0000 (12:23 -0400)]
Remove redundant code
Michael R Sweet [Tue, 7 Sep 2021 13:28:35 +0000 (09:28 -0400)]
Fix potential deadlock (Issue #243)
Michael R Sweet [Sun, 5 Sep 2021 13:01:38 +0000 (09:01 -0400)]
Merge pull request #240 from tbigby-kristin/master
Fix path to libcupsimage.so.2 in EPM packaging
Michael R Sweet [Sun, 5 Sep 2021 12:56:15 +0000 (08:56 -0400)]
Merge pull request #235 from AtariDreams/Noreturn
Add _CUPS_NORETURN to missing functions
Michael R Sweet [Sun, 5 Sep 2021 12:51:56 +0000 (08:51 -0400)]
Merge pull request #241 from AtariDreams/cups_revision
Removed last remnants of CUPS_REVISION, since it is not used anymore
Alfonso Gregory [Sat, 4 Sep 2021 15:50:13 +0000 (11:50 -0400)]
Removed last remnants of CUPS_REVISION, since it is not used anymore
Alfonso Gregory [Mon, 30 Aug 2021 21:48:43 +0000 (17:48 -0400)]
Add _CUPS_NORETURN to missing functions
Michael R Sweet [Fri, 3 Sep 2021 12:31:12 +0000 (08:31 -0400)]
Update NuGet version numbers, again...
Tony Bigby [Fri, 3 Sep 2021 06:34:15 +0000 (18:34 +1200)]
Fix another path in EPM packaging
Tony Bigby [Fri, 3 Sep 2021 03:45:19 +0000 (15:45 +1200)]
Fix path to libcupsimage.so.2 in EPM packaging
Michael R Sweet [Thu, 2 Sep 2021 23:04:56 +0000 (19:04 -0400)]
Bump NuGet package versions.
Michael R Sweet [Mon, 30 Aug 2021 20:28:57 +0000 (16:28 -0400)]
Fix lpc prompt (Apple #5946)
Michael R Sweet [Mon, 30 Aug 2021 20:12:32 +0000 (16:12 -0400)]
Merge pull request #234 from AtariDreams/downstream-sync
Sync improvements from downstream darwin-usb
Michael R Sweet [Mon, 30 Aug 2021 20:11:56 +0000 (16:11 -0400)]
Merge pull request #229 from evanmiller/tiger-tempfile
Fall back to /private/tmp on Mac OS X 10.4
Alfonso Gregory [Mon, 30 Aug 2021 18:55:06 +0000 (14:55 -0400)]
Sync improvements from downstream
Evan Miller [Mon, 30 Aug 2021 13:35:19 +0000 (09:35 -0400)]
Workaround for tempfiles on OS X 10.4
_CS_DARWIN_USER_TEMP_DIR was introduced in the 10.5 SDK. Fall back to
/private/tmp on earlier OS versions.
Michael R Sweet [Mon, 30 Aug 2021 18:11:04 +0000 (14:11 -0400)]
Merge pull request #233 from AtariDreams/null
Prevent writing to NULL if buffer is NULL
Michael R Sweet [Mon, 30 Aug 2021 18:10:21 +0000 (14:10 -0400)]
Merge pull request #232 from AtariDreams/patch-1
Fix bug that removes language instead of country code
Alfonso Gregory [Mon, 30 Aug 2021 18:07:05 +0000 (14:07 -0400)]
Prevent writing to NULL if buffer is NULL
Rose [Mon, 30 Aug 2021 18:05:53 +0000 (14:05 -0400)]
Fix bug that removes language instead of country code
Because of this bug, the two if branches were identical and the do while loop was only running once.
Michael R Sweet [Sat, 28 Aug 2021 17:39:16 +0000 (13:39 -0400)]
Merge pull request #209 from bmasonrh/master
scheduler/job.c: use gziptoany for raw files (not just raw printers)
Michael R Sweet [Sat, 28 Aug 2021 17:28:36 +0000 (13:28 -0400)]
Merge pull request #228 from AtariDreams/gnu
Fix undefined behavior regarding pData
Alfonso Gregory [Sat, 28 Aug 2021 16:04:53 +0000 (12:04 -0400)]
Fix undefined behavior regarding pData
pData is a void pointer, and even though the address at request.pData[2] is being cast to that of a const UInt8 pointer, the request.pData has to be converted first BEFORE doing any pointer arithmetic. For this reason, it is best to write this it as a pointer sum, rather than an array.
Michael R Sweet [Sat, 28 Aug 2021 14:03:55 +0000 (10:03 -0400)]
Merge pull request #225 from evanmiller/patch-3
Fix build on ancient macOS lacking SHA224
Michael R Sweet [Sat, 28 Aug 2021 13:09:34 +0000 (09:09 -0400)]
Fix testclient handling of multiple threads.
Michael R Sweet [Sat, 28 Aug 2021 12:07:14 +0000 (08:07 -0400)]
Silence bogus LGTM alerts.
Evan Miller [Fri, 27 Aug 2021 18:40:01 +0000 (14:40 -0400)]
Fix build on ancient platforms lacking SHA224
Michael R Sweet [Fri, 27 Aug 2021 12:08:22 +0000 (08:08 -0400)]
Merge pull request #217 from zdohnal/remove_httpMD5
libcups: Remove httpMD5 functions
Michael R Sweet [Thu, 26 Aug 2021 22:53:12 +0000 (18:53 -0400)]
Use __int64 for ssize_t on Windows.
Bump NuGet version.
Zdenek Dohnal [Thu, 26 Aug 2021 13:45:40 +0000 (15:45 +0200)]
cups/md5passwd.c: Stub out httpMD5* functions
Michael R Sweet [Tue, 24 Aug 2021 14:09:40 +0000 (10:09 -0400)]
Merge pull request #223 from evanmiller/patch-2
libcups: Fix unused-function error with SSL disabled
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.
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)
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.