]>
git.ipfire.org Git - thirdparty/cups.git/log
Richard Lescak [Fri, 28 Jan 2022 15:29:20 +0000 (16:29 +0100)]
Fix uninit value based jump in ppd.c
Zdenek Dohnal [Thu, 27 Jan 2022 11:11:42 +0000 (12:11 +0100)]
README.md: update version
Zdenek Dohnal [Thu, 27 Jan 2022 11:10:08 +0000 (12:10 +0100)]
Prepare for 2.4.1
Zdenek Dohnal [Thu, 27 Jan 2022 10:55:13 +0000 (11:55 +0100)]
Update copyrights
Zdenek Dohnal [Thu, 27 Jan 2022 07:01:48 +0000 (08:01 +0100)]
Removed purge-jobs legacy code from CGI scripts and templates
Fixes #325
Michael R Sweet [Wed, 12 Jan 2022 13:44:01 +0000 (08:44 -0500)]
Fix print-color-mode-default support so that it can be configured and defaults
to the printer's value (Issue #277)
Michael R Sweet [Wed, 12 Jan 2022 13:37:11 +0000 (08:37 -0500)]
Bump copyright.
Michael R Sweet [Wed, 12 Jan 2022 13:33:58 +0000 (08:33 -0500)]
Also fix cupsfilter (Issue #323)
Michael R Sweet [Wed, 12 Jan 2022 13:32:45 +0000 (08:32 -0500)]
Don't run fuzzing tests for every build.
Michael R Sweet [Wed, 12 Jan 2022 13:29:49 +0000 (08:29 -0500)]
Update copyright.
Michael R Sweet [Wed, 12 Jan 2022 13:12:24 +0000 (08:12 -0500)]
Remove legacy code for RIP_MAX_CACHE environment variable (Issue #323)
Zdenek Dohnal [Wed, 12 Jan 2022 07:19:52 +0000 (08:19 +0100)]
Merge branch 'rikylescak-memleak-fixes'
Richard Lescak [Tue, 11 Jan 2022 09:53:34 +0000 (10:53 +0100)]
cups/http.c,encode.c: Fix memory leaks
Zdenek Dohnal [Tue, 4 Jan 2022 07:43:23 +0000 (08:43 +0100)]
Makefile: Clean the correct generated files
This is a remain of renaming systemd services from org.cups* to cups.
Cleanup target in Makefile still expected the old names.
Zdenek Dohnal [Mon, 3 Jan 2022 14:56:51 +0000 (15:56 +0100)]
Update CHANGES.md
zdohnal [Mon, 3 Jan 2022 14:56:12 +0000 (15:56 +0100)]
Merge pull request #316 from lunaryorn/patch-1
Fix default wanted-by target to printer.target
Zdenek Dohnal [Mon, 3 Jan 2022 13:41:43 +0000 (14:41 +0100)]
Update CHANGES.md
zdohnal [Mon, 3 Jan 2022 13:37:07 +0000 (14:37 +0100)]
Merge pull request #317 from jwatt/master
Fix leak of data.devices in cups_enum_dests
zdohnal [Mon, 3 Jan 2022 13:36:14 +0000 (14:36 +0100)]
Merge pull request #313 from ryancaicse/master
Fix some minor resource leaks
Jonathan Watt [Sat, 1 Jan 2022 17:29:45 +0000 (17:29 +0000)]
Fix leak of data.devices in cups_enum_dests
lunaryorn [Sat, 1 Jan 2022 14:22:36 +0000 (15:22 +0100)]
Fix default wanted-by target to printer.target
There is no printers.target in systemd, only printer.target (see man bootup).
This regression was introduced in #143
ryancaicse [Tue, 21 Dec 2021 04:12:27 +0000 (12:12 +0800)]
Fix some minor resource leaks
Fix some minor resource leaks in test18n.c
Michael R Sweet [Fri, 17 Dec 2021 18:14:50 +0000 (13:14 -0500)]
Bump NuGet version.
Zdenek Dohnal [Fri, 17 Dec 2021 09:21:14 +0000 (10:21 +0100)]
templates: Apply fix from #242 to localized templates
Michael R Sweet [Wed, 15 Dec 2021 23:48:39 +0000 (18:48 -0500)]
Bump NuGet version.
Michael R Sweet [Wed, 15 Dec 2021 23:47:37 +0000 (18:47 -0500)]
Normalize debug logging.
Zdenek Dohnal [Tue, 7 Dec 2021 06:43:09 +0000 (07:43 +0100)]
Update configure after latest configuration fixes
Zdenek Dohnal [Tue, 7 Dec 2021 06:42:24 +0000 (07:42 +0100)]
Update CHANGES.md
zdohnal [Tue, 7 Dec 2021 06:37:00 +0000 (07:37 +0100)]
Merge pull request #304 from evanmiller/patch-4
Fix configure syntax error
zdohnal [Tue, 7 Dec 2021 06:36:11 +0000 (07:36 +0100)]
Merge pull request #303 from evanmiller/patch-3
Confirm that `-Wl,-pie` links on Darwin
Evan Miller [Mon, 6 Dec 2021 15:52:24 +0000 (10:52 -0500)]
Fix configure syntax error
Fixes https://github.com/OpenPrinting/cups/issues/301
Evan Miller [Mon, 6 Dec 2021 14:58:28 +0000 (09:58 -0500)]
Confirm that -Wl,-pie links on Darwin
The flag compiles but fails to link when the deployment target is OS X 10.4.
zdohnal [Fri, 3 Dec 2021 06:20:43 +0000 (07:20 +0100)]
Merge pull request #300 from tgurr/remove-deprecated
Remove obsolete config & server variables
Timo Gurr [Thu, 2 Dec 2021 16:51:09 +0000 (17:51 +0100)]
Remove obsolete server variables
Removed in
20d8b4bd361216edaa1b9d1c8289d20710c91afb .
Timo Gurr [Thu, 2 Dec 2021 16:47:21 +0000 (17:47 +0100)]
Remove obsolete config variables
As
20d8b4bd361216edaa1b9d1c8289d20710c91afb removed the relevant
parts from configure these variables never get substituted.
Zdenek Dohnal [Wed, 1 Dec 2021 11:00:16 +0000 (12:00 +0100)]
de/index.html: Fix missing bracket (fixes issue #299)
The bracket was unintentionally removed by commit
b76a97a .
Zdenek Dohnal [Mon, 29 Nov 2021 14:27:31 +0000 (15:27 +0100)]
Prepare for 2.4.0
zdohnal [Mon, 29 Nov 2021 14:07:25 +0000 (15:07 +0100)]
Merge pull request #298 from zdohnal/conf-timeoutstartsec
Add --with-systemd-timeoutstartsec configure option
Zdenek Dohnal [Mon, 29 Nov 2021 12:18:18 +0000 (13:18 +0100)]
Add --with-systemd-timeoutstartsec configure option
cupsd can be killed by systemd if the daemon takes too much time when
starting - f.e. when loading many queues and/or not enough memory for
loading the daemon quicker.
TimeoutStartSec directive for systemd services defines the time after
which the daemon is killed - if set to 'infinity', a service is not
killed.
zdohnal [Mon, 29 Nov 2021 13:50:02 +0000 (14:50 +0100)]
Merge pull request #294 from zdohnal/idletimeexit-unlimited
Add --with-idle-exit-timeout configure option
Zdenek Dohnal [Mon, 29 Nov 2021 08:30:26 +0000 (09:30 +0100)]
Add --with-idle-exit-timeout configure option
The option enables setting IdleExitTimeout to a desired value - f.e.
setting to zero will disable automatic shutdown, which is useful on servers,
where cupsd is expected to run even if there is no web interface, no jobs
and CUPS doesn't share queues.
Zdenek Dohnal [Mon, 29 Nov 2021 07:43:37 +0000 (08:43 +0100)]
Update CHANGES.md
zdohnal [Mon, 29 Nov 2021 07:35:52 +0000 (08:35 +0100)]
Merge pull request #297 from Atalanttore/patch-3
Improve German translation
zdohnal [Mon, 29 Nov 2021 05:40:58 +0000 (06:40 +0100)]
Merge pull request #296 from Atalanttore/patch-1
Fix typo in German translation
Ettore Atalan [Sun, 28 Nov 2021 16:15:40 +0000 (17:15 +0100)]
Improve German translation
I have partially corrected existing translations and added new translations.
Ettore Atalan [Sun, 28 Nov 2021 15:13:01 +0000 (16:13 +0100)]
Fix typo in German translation
zdohnal [Fri, 26 Nov 2021 05:03:27 +0000 (06:03 +0100)]
Merge pull request #293 from pekdon/master
cups/getifaddrs-internal.h: Include versioning.h if ! HAVE_GETIFADDRS
Claes Nästén [Wed, 24 Nov 2021 09:39:07 +0000 (10:39 +0100)]
cups/getifaddrs-internal.h: Include versioning.h for ! HAVE_GETIFADDRS
Without this compile fails on systems withou getifaddrs as _CUPS_PRIVATE
is undefined. Found on Solaris 10.
Zdenek Dohnal [Mon, 22 Nov 2021 08:35:21 +0000 (09:35 +0100)]
Update CHANGES.md
zdohnal [Mon, 22 Nov 2021 08:30:37 +0000 (09:30 +0100)]
Merge pull request #287 from zdohnal/digestoptions_rfc2069
cups/http-support.c: Apply DigestOptions to RFC 2069 support
Zdenek Dohnal [Fri, 19 Nov 2021 11:23:08 +0000 (12:23 +0100)]
cups/http-support.c: Apply DigestOptions to RFC 2069 support
Earlier we applied DigestOptions only for devices which implement RFC
2617 or RFC 7616, this commit applies it even for RFC 2069 support.
This issue came up during CentOS Stream/RHEL 9 development, where MD5
digest is marked as insecure for authentication/authorization, so it
should be turned off in default configurations to prevent security
issues.
Zdenek Dohnal [Fri, 12 Nov 2021 08:55:11 +0000 (09:55 +0100)]
systemv/lpadmin.c: Don't generate deprecation warning for driverless:
Zdenek Dohnal [Fri, 12 Nov 2021 06:44:38 +0000 (07:44 +0100)]
Prepare for 2.4rc1
Zdenek Dohnal [Thu, 11 Nov 2021 12:09:43 +0000 (13:09 +0100)]
run-stp-tests.sh: Update number of warning
Needed due issue #286.
Zdenek Dohnal [Thu, 11 Nov 2021 11:17:01 +0000 (12:17 +0100)]
configure: regenerate the file
We need to regenerate by 'autoconf -f' after PR for cups-compiler.m4.
Zdenek Dohnal [Thu, 11 Nov 2021 11:11:29 +0000 (12:11 +0100)]
Update CHANGES.md
zdohnal [Thu, 11 Nov 2021 09:12:50 +0000 (10:12 +0100)]
Merge pull request #285 from zdohnal/fstack-protector-strong
cups-compiler.m4: Check for -fstack-protector-strong
Zdenek Dohnal [Thu, 11 Nov 2021 09:11:13 +0000 (10:11 +0100)]
Update CHANGES.md
zdohnal [Thu, 11 Nov 2021 09:08:41 +0000 (10:08 +0100)]
Merge pull request #286 from zdohnal/printer_load_deprecation_warn
scheduler/printers.c: Add warning when loading printers
Zdenek Dohnal [Thu, 11 Nov 2021 08:14:44 +0000 (09:14 +0100)]
scheduler/printers.c: Add warning when loading printers
Since drivers and raw queues going are deprecated and going to be
removed, this change will introduce a warning during cupsd's start.
This way we have all print queue installation options covered - lpadmin
and web ui were enhanced with warning in the past.
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