]>
git.ipfire.org Git - thirdparty/cups.git/log
Zdenek Dohnal [Wed, 10 Nov 2021 16:06:27 +0000 (17:06 +0100)]
cups-compiler.m4: Check for -fstack-protector-strong
GCC can provide even stronger stack protection, let's use it if
available. Otherwise fall back to -fstack-protector.
Till Kamppeter [Tue, 2 Nov 2021 23:10:03 +0000 (00:10 +0100)]
Client Snap support in cupsd: Additional NULL check
When testing the newest snapd whether it works correctly together
with CUPS, I hit a segfault in the chackwhether the client is a Snap
plugging cups-control, for the case when CUPS is not snapped.
Fixed this with an additional NULL check.
Michael R Sweet [Tue, 2 Nov 2021 20:05:09 +0000 (16:05 -0400)]
Rework change for coverity.
Michael R Sweet [Tue, 2 Nov 2021 19:39:28 +0000 (15:39 -0400)]
Another set of changes to resolve Coverity-detected issues.
Michael R Sweet [Tue, 2 Nov 2021 15:23:31 +0000 (11:23 -0400)]
More coverity fixes.
Michael R Sweet [Mon, 1 Nov 2021 21:37:28 +0000 (17:37 -0400)]
Apply some minor fixes from a Coverity scan.
Michael R Sweet [Wed, 27 Oct 2021 13:26:23 +0000 (09:26 -0400)]
Snapshots should be 2.4git
Zdenek Dohnal [Wed, 27 Oct 2021 07:11:19 +0000 (09:11 +0200)]
CHANGES.md: Update the style to match makesrcdist script
Zdenek Dohnal [Wed, 27 Oct 2021 07:04:33 +0000 (09:04 +0200)]
CHANGES.md: Update the style
Zdenek Dohnal [Wed, 27 Oct 2021 07:00:07 +0000 (09:00 +0200)]
Prepare the project for 2.4b1
Zdenek Dohnal [Wed, 27 Oct 2021 06:19:25 +0000 (08:19 +0200)]
scripts/makesrcdist: Update cupsversion to 2.4
Zdenek Dohnal [Wed, 27 Oct 2021 06:05:34 +0000 (08:05 +0200)]
makesrcdist: Update parsing of AC_INIT
The newest autoconf removed the spaces, so we need to check for ','
Zdenek Dohnal [Wed, 27 Oct 2021 05:55:31 +0000 (07:55 +0200)]
configure.ac: Update AC_INIT to 2.4b1
zdohnal [Wed, 27 Oct 2021 05:24:06 +0000 (07:24 +0200)]
Merge pull request #208 from zdohnal/page_range_undef_test
test suite: Add tests for undefined page range limits
Zdenek Dohnal [Wed, 27 Oct 2021 04:58:42 +0000 (06:58 +0200)]
Test suite: Add tests for undefined page range limits
Originally pdftopdf from cups-filters doesn't support page range with
undefined upper limit (f.e. '5-'), but I found out these page ranges
aren't checked in CUPS test suite neither.
It would be great if we could cover the use case in test suite to
prevent possible regressions in the future.
zdohnal [Tue, 26 Oct 2021 15:35:23 +0000 (17:35 +0200)]
Merge pull request #276 from zdohnal/test_cupssnmpsupplies
Test suite: Add regression test for cupsSNMP/IPPSupplies
Zdenek Dohnal [Tue, 26 Oct 2021 15:33:40 +0000 (17:33 +0200)]
Test suite: Add regression test for cupsSNMP/IPPSupplies
lpadmin can set cupsSNMPSupplies and cupsIPPSupplies keywords in the PPD
file which was broken in the past (Apple Issue #5610).
Until we get rid of PPD files completely or if we use the options in the
no-PPD future, it would be great if we had a regression test in the test
suite.
Michael R Sweet [Tue, 26 Oct 2021 00:54:08 +0000 (20:54 -0400)]
Merge pull request #279 from AlaskanEmily/master
Avoid a crash when an Avahi or mDNS printer has neither device-uri nor printer-uri-supported set.
AlaskanEmily [Mon, 25 Oct 2021 22:14:44 +0000 (15:14 -0700)]
Avoid a crash when an Avahi or mDNS printer has neither device-uri nor printer-uri-supported set.
Michael R Sweet [Wed, 20 Oct 2021 21:38:27 +0000 (17:38 -0400)]
Increase the size of the attribute value buffer to 1MB for large media-col-database values.
Michael R Sweet [Wed, 20 Oct 2021 21:32:30 +0000 (17:32 -0400)]
Add JSON output support to ipptool.
zdohnal [Mon, 18 Oct 2021 16:28:42 +0000 (18:28 +0200)]
Update CHANGES.md
Add 'Issue' word to keep the style
Zdenek Dohnal [Mon, 18 Oct 2021 15:03:53 +0000 (17:03 +0200)]
Update CHANGES.md
zdohnal [Mon, 18 Oct 2021 14:57:06 +0000 (16:57 +0200)]
Merge pull request #274 from pablofsf/pwdnam-thread-safe
Use getpwnam_r instead of getpwnam in multi-threaded code
Pablo Correa Gómez [Sat, 16 Oct 2021 22:09:16 +0000 (00:09 +0200)]
Use thread-safe getpwnam_r and getpwuid_r in multi-threaded code
getpwnam and getpwuid are thread-unsafe and potentially dangerous
in multi-threaded code. Substitue all their occurrences in
multi-threaded code with getpwnam_r and getpwuid_r, which are
thread-safe.
Michael R Sweet [Tue, 12 Oct 2021 12:16:47 +0000 (08:16 -0400)]
Merge pull request #271 from zdohnal/scx-3405w-no-quirks
org.cups.usb-quirks: Samsung SCX-3405W works without quirks
Zdenek Dohnal [Tue, 12 Oct 2021 04:31:15 +0000 (06:31 +0200)]
org.cups.usb-quirks: Samsung SCX-3405W works without quirks
Till Kamppeter [Sun, 10 Oct 2021 07:37:21 +0000 (09:37 +0200)]
Use cast for snapd_client_run_snapctl2_sync() not remove "const" from args
Till Kamppeter [Sat, 9 Oct 2021 22:34:43 +0000 (00:34 +0200)]
cupsd: Added debug log message if admin access from own utility is accepted
On Snap mediation there is always a debug message telling why the
administrative task was accepted or denied, it was only missing if the
client is our CUPS Snap itself.
Till Kamppeter [Sat, 9 Oct 2021 17:47:00 +0000 (19:47 +0200)]
More copy/paste fixes for the "Snap redux" ...
This time also checked in Snap mode ("--with-container=snap") and also
doing a test with unsnapped CUPS vs. snapped client.
Till Kamppeter [Sat, 9 Oct 2021 15:06:36 +0000 (17:06 +0200)]
Fixed Copy/Paste errors of "Snap redux" (PR #269)
Some variable declarations got lost by the changes which made the code
not building.
Michael R Sweet [Thu, 7 Oct 2021 16:29:10 +0000 (12:29 -0400)]
Use have_qdraft for draft preset.
Michael R Sweet [Thu, 7 Oct 2021 16:04:27 +0000 (12:04 -0400)]
Fix gray/color presets for IPP Everywhere PPDs (Issue #262)
zdohnal [Thu, 7 Oct 2021 05:13:14 +0000 (07:13 +0200)]
Merge pull request #257 from bmasonrh/master
cgi-bin/ipp-var.c: Use "guest" user for Move Job when no REMOTE_USER given
Michael R Sweet [Wed, 6 Oct 2021 20:52:29 +0000 (16:52 -0400)]
Fix configure test.
Michael R Sweet [Wed, 6 Oct 2021 19:11:06 +0000 (15:11 -0400)]
Merge pull request #269 from OpenPrinting/snap-redux
Snap redux
Bryan Mason [Wed, 6 Oct 2021 18:12:29 +0000 (11:12 -0700)]
Remove braces.
Michael R Sweet [Wed, 6 Oct 2021 15:58:09 +0000 (11:58 -0400)]
Fix Codacy-detected issue - not using path variable.
Michael R Sweet [Wed, 6 Oct 2021 15:56:39 +0000 (11:56 -0400)]
Add badges for Codacy, Coverity, and LGTM.
Michael R Sweet [Wed, 6 Oct 2021 15:05:55 +0000 (11:05 -0400)]
Merge branch 'master' into snap-redux
Michael R Sweet [Wed, 6 Oct 2021 14:42:34 +0000 (10:42 -0400)]
Clean up and simplify snap support.
Michael R Sweet [Wed, 6 Oct 2021 12:13:11 +0000 (08:13 -0400)]
Save work on simplifying snap support.
Michael R Sweet [Tue, 5 Oct 2021 22:53:23 +0000 (18:53 -0400)]
Add Coverity scan action.
Michael R Sweet [Mon, 4 Oct 2021 21:37:41 +0000 (17:37 -0400)]
Initial implementation of OAuth client callback (Issue #100)
Michael R Sweet [Tue, 5 Oct 2021 20:50:39 +0000 (16:50 -0400)]
Fix some clang-reported issues.
Michael R Sweet [Tue, 5 Oct 2021 14:45:47 +0000 (10:45 -0400)]
Add support for CORS/HSTS/OSCORE/Interative Client security headers (Issue #266)
All this does is add HTTP_FIELD_xxx enumerations and the corresponding strings
to allow libcups implementations of HTTP clients/servers that send/receive them.
For the subject bug we'll still need to do a bunch of work in cupsd (later).
Michael R Sweet [Tue, 5 Oct 2021 22:53:23 +0000 (18:53 -0400)]
Add Coverity scan action.
Michael R Sweet [Tue, 5 Oct 2021 21:50:05 +0000 (17:50 -0400)]
Merge pull request #268 from OpenPrinting/oauth
Initial implementation of OAuth client callback (Issue #100)
Michael R Sweet [Tue, 5 Oct 2021 20:50:39 +0000 (16:50 -0400)]
Fix some clang-reported issues.
Michael R Sweet [Tue, 5 Oct 2021 14:45:47 +0000 (10:45 -0400)]
Add support for CORS/HSTS/OSCORE/Interative Client security headers (Issue #266)
All this does is add HTTP_FIELD_xxx enumerations and the corresponding strings
to allow libcups implementations of HTTP clients/servers that send/receive them.
For the subject bug we'll still need to do a bunch of work in cupsd (later).
Michael R Sweet [Tue, 5 Oct 2021 13:57:42 +0000 (09:57 -0400)]
Save work on snap support changes.
Michael R Sweet [Tue, 5 Oct 2021 11:40:18 +0000 (07:40 -0400)]
Merge pull request #267 from AtariDreams/patch-4
Replace the last bzeros with memset
Michael R Sweet [Mon, 4 Oct 2021 21:37:41 +0000 (17:37 -0400)]
Initial implementation of OAuth client callback (Issue #100)
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
Bryan Mason [Wed, 22 Sep 2021 18:20:16 +0000 (11:20 -0700)]
cgi-bin/ipp-var.c: Use "guest" user for Move Job when no REMOTE_USER given
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