]>
git.ipfire.org Git - thirdparty/cups.git/log
Rose [Sun, 3 Oct 2021 20:37:02 +0000 (16:37 -0400)]
Replace the last bzeros with memset
bzero has been deprecated since 2008
Michael R Sweet [Fri, 1 Oct 2021 15:25:11 +0000 (11:25 -0400)]
Remove non-functional ListenBackLog directive (Apple #5975)
Michael R Sweet [Fri, 1 Oct 2021 14:01:51 +0000 (10:01 -0400)]
Update changelog.
Michael R Sweet [Fri, 1 Oct 2021 13:57:45 +0000 (09:57 -0400)]
Fix Windows build errors.
Michael R Sweet [Fri, 1 Oct 2021 13:47:08 +0000 (09:47 -0400)]
Add Windows support for cupsHashData using CNG API.
Michael R Sweet [Thu, 30 Sep 2021 23:06:41 +0000 (19:06 -0400)]
Fix Windows TLS bug.
Michael R Sweet [Thu, 30 Sep 2021 22:57:25 +0000 (18:57 -0400)]
Add debugging to Windows TLS code.
Michael R Sweet [Thu, 30 Sep 2021 14:18:16 +0000 (10:18 -0400)]
Merge pull request #264 from speachy/master
Expand whitelist for use of "offline-report"
Solomon Peachy [Thu, 30 Sep 2021 11:25:46 +0000 (07:25 -0400)]
Expand whitelist for use of "offline-report"
The old behavior unconditionally cleared the "offline-report"
printer-reason unless the backend was 'usb:' or 'ippusb:' with the
assumption that these were the only two direct-connect USB backends
in use, with everything else being remote.
This is definitely not the case; putting aside proprietary 3rd-party
backends, there is Gutenprint's USB backend, which identifies itself
with 'gutenprint52+usb:' or 'gutenprint53+usb:' depending on the version.
So, generalize the rule to search for the string 'usb:' in the uri
instead, which will allow all three/four usb backends to use the
'offline-report' printer-reason.
(FWIW, I'm not happy with this approach; It seems to me that the
CorrectSolution(tm) is to track the device-class returned by the backend
at discovery time, and ignore 'offline-report' for anything other than
'direct', but that's going to be a lot more involved..)
Michael R Sweet [Wed, 29 Sep 2021 15:53:40 +0000 (11:53 -0400)]
Bump NuGet versions and fix compiler warning.
Till Kamppeter [Tue, 28 Sep 2021 09:59:23 +0000 (11:59 +0200)]
Fixed typo.
Michael R Sweet [Mon, 27 Sep 2021 21:14:47 +0000 (17:14 -0400)]
Comment out debug printfs for now.
Michael R Sweet [Mon, 27 Sep 2021 20:37:30 +0000 (16:37 -0400)]
Fix X.509 certificate generation and user preferences on Windows.
Michael R Sweet [Sun, 26 Sep 2021 15:03:28 +0000 (11:03 -0400)]
Merge pull request #239 from liuli0217/master
fix _cupsGet1284Values
Michael R Sweet [Wed, 22 Sep 2021 13:24:55 +0000 (09:24 -0400)]
Ignore a 'scratch' directory, if present.
Michael R Sweet [Wed, 22 Sep 2021 11:43:34 +0000 (07:43 -0400)]
Fix 'lp -H restart' when a hold condition is specified (Issue #250)
Michael R Sweet [Tue, 21 Sep 2021 13:59:45 +0000 (09:59 -0400)]
Update mapping of media-source, media-type, and output-bin to match both PPD
and PWG names (Issue #238)
Add printer-privacy-policy-uri, printer-mandatory-job-attributes, and
printer-requested-job-attributes to PPD file.
Michael R Sweet [Tue, 21 Sep 2021 12:11:07 +0000 (08:11 -0400)]
Changelog
Michael R Sweet [Tue, 21 Sep 2021 12:10:03 +0000 (08:10 -0400)]
Merge pull request #250 from bmasonrh/master
scheduler/ipp.c: Change job state to IPP_JOB_HELD when job is restarted with appropriate job-held-until attribute.
Michael R Sweet [Mon, 20 Sep 2021 16:14:01 +0000 (12:14 -0400)]
Fix Codacy-detect error in CSS.
Michael R Sweet [Mon, 20 Sep 2021 12:36:23 +0000 (08:36 -0400)]
Add dark mode CSS for web interface (Issue #152)
Michael R Sweet [Mon, 20 Sep 2021 12:02:42 +0000 (08:02 -0400)]
Fix the generated HTML man pages and mantohtml utility (Issue #256)
Also update the ipptool/ipptoolfile man pages with current operations,
status codes, and tags.
liuli [Sat, 18 Sep 2021 00:19:40 +0000 (08:19 +0800)]
Update options.c
Bryan Mason [Fri, 17 Sep 2021 19:12:29 +0000 (12:12 -0700)]
scheduler/ipp.c: Added requested changes
Michael R Sweet [Fri, 17 Sep 2021 17:51:44 +0000 (13:51 -0400)]
Merge pull request #254 from AtariDreams/patch-3
Use correct argument name
Rose [Fri, 17 Sep 2021 16:13:03 +0000 (12:13 -0400)]
Use correct argument name
Michael R Sweet [Fri, 17 Sep 2021 15:40:54 +0000 (11:40 -0400)]
Fix an interaction between --remote-admin and --remote-any (Issue #158)
Michael R Sweet [Fri, 17 Sep 2021 15:28:22 +0000 (11:28 -0400)]
Show better error messages when a driver interface fails (Issue #148)
Michael R Sweet [Fri, 17 Sep 2021 14:41:46 +0000 (10:41 -0400)]
Merge pull request #253 from AtariDreams/patch-2
Don't use comma after last enum listing
Rose [Fri, 17 Sep 2021 14:33:06 +0000 (10:33 -0400)]
Don't use comma after last enum listing
Michael R Sweet [Fri, 17 Sep 2021 13:45:19 +0000 (09:45 -0400)]
Merge pull request #252 from AtariDreams/patch-1
Fix Macro typo
Michael R Sweet [Fri, 17 Sep 2021 13:40:37 +0000 (09:40 -0400)]
Update all links on ipptool man pages, everywhere.
Rose [Thu, 16 Sep 2021 21:38:35 +0000 (17:38 -0400)]
Fix typo
Wrong macro name was used.
zdohnal [Fri, 17 Sep 2021 04:25:47 +0000 (06:25 +0200)]
Merge pull request #251 from zdohnal/invalid_links
doc/help/man-ipptool.html: Fix links
Michael R Sweet [Fri, 17 Sep 2021 01:50:08 +0000 (21:50 -0400)]
Add security reporting documentation.
Michael R Sweet [Thu, 16 Sep 2021 15:47:36 +0000 (11:47 -0400)]
Fix indentation and add buffer range check.
Michael R Sweet [Thu, 16 Sep 2021 15:39:08 +0000 (11:39 -0400)]
Merge pull request #249 from AtariDreams/comma
Fix missing comma
Zdenek Dohnal [Thu, 16 Sep 2021 12:32:59 +0000 (14:32 +0200)]
doc/help/man-ipptool.html: Fix links
Bryan Mason [Thu, 16 Sep 2021 00:59:22 +0000 (17:59 -0700)]
scheduler/ipp.c: Change job state to IPP_JOB_HELD when job is restarted with appropriate job-held-until attribute.
Alfonso Gregory [Wed, 15 Sep 2021 20:35:55 +0000 (16:35 -0400)]
Fix missing comma
Michael R Sweet [Wed, 15 Sep 2021 20:04:19 +0000 (16:04 -0400)]
Return kDNSServiceErr_ServiceNotRunning when Bonjour for Windows not installed.
Michael R Sweet [Wed, 15 Sep 2021 19:29:09 +0000 (15:29 -0400)]
Merge pull request #247 from AtariDreams/urgent
Fix swapped arguments
Alfonso Gregory [Wed, 15 Sep 2021 17:29:47 +0000 (13:29 -0400)]
Fix swapped arguments
Michael R Sweet [Mon, 13 Sep 2021 12:23:31 +0000 (08:23 -0400)]
Add clarification that OpenPrinting CUPS is the most current, and that Apple CUPS is what ships with macOS and iOS (Issue #215)
Michael R Sweet [Mon, 13 Sep 2021 12:05:18 +0000 (08:05 -0400)]
Fix ippeveprinter on Windows.
Michael R Sweet [Mon, 13 Sep 2021 11:13:07 +0000 (07:13 -0400)]
Merge pull request #231 from AtariDreams/new-configure
Update Xcode and configure.ac files
Alfonso Gregory [Mon, 30 Aug 2021 17:15:12 +0000 (13:15 -0400)]
Update Xcode, configure.ac, and Makefile
Michael R Sweet [Thu, 9 Sep 2021 15:03:13 +0000 (11:03 -0400)]
Update CGI documentation and add testable examples for CGI support (Apple #5940)
Michael R Sweet [Wed, 8 Sep 2021 22:06:07 +0000 (18:06 -0400)]
Merge pull request #222 from evanmiller/patch-1
Only include os/availability.h if needed
Evan Miller [Wed, 8 Sep 2021 12:42:59 +0000 (08:42 -0400)]
Only include os/availability.h if available
Define new _CUPS_API_AVAILABLE and _CUPS_API_DEPRECATED macros to be
empty if <os/availability.h> is not includable (e.g. pre-10.12 Macs)
Zdenek Dohnal [Wed, 8 Sep 2021 06:06:52 +0000 (08:06 +0200)]
Merge branch 'AtariDreams-nullFix'
cgi-bin/admin.c: Prevent accessing ppd_name if ppd_name is NULL
The fix provided by Alfonso Gregory, fixes regression after PR #218.
Zdenek Dohnal [Wed, 8 Sep 2021 06:04:13 +0000 (08:04 +0200)]
cgi-bin/admin.c: Prevent accessing ppd_name if ppd_name is NULL
The fix provided by Alfonso Gregory, fixes regression after PR #218.
Michael R Sweet [Tue, 7 Sep 2021 16:35:42 +0000 (12:35 -0400)]
Merge pull request #218 from zdohnal/webui_driver_deprecated
choose-model.tmpl: Add warning about drivers deprecation
Michael R Sweet [Tue, 7 Sep 2021 16:35:28 +0000 (12:35 -0400)]
Merge branch 'master' into webui_driver_deprecated
Michael R Sweet [Tue, 7 Sep 2021 16:33:40 +0000 (12:33 -0400)]
Merge pull request #230 from AtariDreams/appcode2
Remove redundant code
Michael R Sweet [Tue, 7 Sep 2021 16:31:01 +0000 (12:31 -0400)]
Merge pull request #242 from zdohnal/everywhere_current_model
CUPS Web UI: Fix uninitialized variable during driver selection
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)
Zdenek Dohnal [Mon, 6 Sep 2021 11:24:41 +0000 (13:24 +0200)]
CUPS Web UI: Fix uninitialized variable during driver selection
If device uri doesn't contain model name, `current_make_and_model` is
uninitialized during driver selection in CUPS Web UI.
The issue manifests itself during choosing IPP Everywhere driver, which
has the variable in its name, so it ends up into
`{current_make_and_model} - IPP Everywhere`.
Since we don't have any info about model at the time, I would propose to
just shorten the driver name for such cases. The PR works that way.
Zdenek Dohnal [Mon, 6 Sep 2021 09:27:40 +0000 (11:27 +0200)]
CUPS Web UI: Add warning about printer driver and raw queues deprecation
liuli [Mon, 6 Sep 2021 00:39:43 +0000 (08:39 +0800)]
Update options.c
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...
liuli [Fri, 3 Sep 2021 08:59:26 +0000 (16:59 +0800)]
Update options.c
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
liuli [Fri, 3 Sep 2021 02:23:18 +0000 (10:23 +0800)]
fix _cupsGet1284Values
when 1284id doesn't end with semicolon,_cupsGet1284Values() cannot get last key and value.
eg.
uos@uos-PC:/usr/lib/cups/backend/snmp 10.10.120.220
network socket://10.10.120.220 "Unknown" "FUJI XEROX ApeosPort-V 4070 v 3. 43. 0 Multifunction System" "MANUFACTURER:FUJI XEROX;MODEL:ApeosPort-V 4070" ""
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.