]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
6 years agoFix the interactions between the "print-quality" and "cupsPrintQuality"
Michael Sweet [Tue, 29 Aug 2017 13:33:48 +0000 (09:33 -0400)] 
Fix the interactions between the "print-quality" and "cupsPrintQuality"
options (Issue #5090)

- Make sure print-quality-default does not override cupsPrintQuality
- Make sure print-quality overrides cupsPrintQuality

6 years agoThe CUPS library did not reuse domain sockets (Issue #5098)
Michael Sweet [Mon, 28 Aug 2017 21:59:13 +0000 (17:59 -0400)] 
The CUPS library did not reuse domain sockets (Issue #5098)

6 years agoThe web interface did not support newer language identifiers used by Microsoft 5098/head
Michael Sweet [Mon, 28 Aug 2017 20:18:18 +0000 (16:18 -0400)] 
The web interface did not support newer language identifiers used by Microsoft
web browsers (Issue #5803)

Make sure cupsLangGet supports region codes and that the scheduler uses
cupsLangGet when mapping IPP naturalLanguage values to POSIX locales.

6 years agoMore changes for localization unit test (Issue #5097)
Michael R Sweet [Tue, 25 Jul 2017 23:57:31 +0000 (19:57 -0400)] 
More changes for localization unit test (Issue #5097)

6 years agoUpdate localization information.
Michael Sweet [Mon, 28 Aug 2017 16:29:22 +0000 (12:29 -0400)] 
Update localization information.

Create English locale file from cups.pot for unit tests.

6 years agoFix the localization unit test on Linux (Issue #5097)
Michael Sweet [Mon, 28 Aug 2017 16:19:58 +0000 (12:19 -0400)] 
Fix the localization unit test on Linux (Issue #5097)

Makefile needed to create locale directory for tests.

Also, localization test needs to allow string pointers to match for the POSIX
locale and differ for other languages.

6 years agoUpdate the cups-files.conf and cupsd.conf file documentation for missing
Michael Sweet [Mon, 28 Aug 2017 14:39:18 +0000 (10:39 -0400)] 
Update the cups-files.conf and cupsd.conf file documentation for missing
directives (Issue #5084)

6 years agoFix an Avahi-related crash bug in the scheduler (Issue #5085, Issue #5086)
Michael Sweet [Mon, 28 Aug 2017 14:04:29 +0000 (10:04 -0400)] 
Fix an Avahi-related crash bug in the scheduler (Issue #5085, Issue #5086)

Add NULL pointer check to avoid Avahi assertion in production code.

6 years agoFix compile issue for PID file stuff when no systemd/launchd/upstart is
Michael Sweet [Sun, 27 Aug 2017 14:59:38 +0000 (10:59 -0400)] 
Fix compile issue for PID file stuff when no systemd/launchd/upstart is
available.

Also restructure code slightly so it isn't so convoluted.

6 years agoFix sorting bug.
Michael Sweet [Sun, 27 Aug 2017 14:58:06 +0000 (10:58 -0400)] 
Fix sorting bug.

6 years agoThe IPP Everywhere PPD generator now sorts the supported resolutions before
Michael Sweet [Sun, 27 Aug 2017 14:40:30 +0000 (10:40 -0400)] 
The IPP Everywhere PPD generator now sorts the supported resolutions before
choosing them for draft, normal, and best quality modes (Issue #5091)

Also prefer urf-supported values over pwg-raster-document-xxx-supported values
since the former is more reliable than the latter.

6 years agoSupport internal "only TLS/1.0" option for tlscheck.
Michael Sweet [Fri, 25 Aug 2017 20:38:56 +0000 (16:38 -0400)] 
Support internal "only TLS/1.0" option for tlscheck.

Expand CBC filter on macOS.

Add support for --tls10 and --no-cbc options with tlscheck.

6 years agoMerge pull request #5081 from sblondon/master
Michael R Sweet [Fri, 25 Aug 2017 04:56:08 +0000 (00:56 -0400)] 
Merge pull request #5081 from sblondon/master

Update french translations

6 years agoUpdate changelog.
Michael Sweet [Wed, 9 Aug 2017 17:45:19 +0000 (13:45 -0400)] 
Update changelog.

6 years agoFix the localization fallback code on macOS (rdar://33583699)
Michael Sweet [Wed, 9 Aug 2017 17:43:08 +0000 (13:43 -0400)] 
Fix the localization fallback code on macOS (rdar://33583699)

6 years agoUpdate french translations 5081/head
Stephane Blondon [Sun, 6 Aug 2017 19:58:53 +0000 (21:58 +0200)] 
Update french translations

6 years agoAdd header validation option to ipptool.
Michael Sweet [Fri, 4 Aug 2017 16:52:43 +0000 (12:52 -0400)] 
Add header validation option to ipptool.

Update HTML versions of man pages.

6 years agoFix compiler warning.
Michael Sweet [Thu, 3 Aug 2017 18:00:17 +0000 (14:00 -0400)] 
Fix compiler warning.

6 years agoThe `ippCopyAttribute` function did not copy out-of-band values correctly
Michael Sweet [Wed, 2 Aug 2017 23:53:50 +0000 (19:53 -0400)] 
The `ippCopyAttribute` function did not copy out-of-band values correctly
(rdar://33688003)

6 years agoThe scheduler now creates a PID file when not running on demand with a modern
Michael Sweet [Tue, 1 Aug 2017 23:16:25 +0000 (19:16 -0400)] 
The scheduler now creates a PID file when not running on demand with a modern
service launcher (Issue #5080)

6 years agoUpdate localizations yet again based on IPP sample strings.
Michael Sweet [Tue, 1 Aug 2017 21:09:33 +0000 (17:09 -0400)] 
Update localizations yet again based on IPP sample strings.

6 years agoUpdate copyright.
Michael Sweet [Tue, 1 Aug 2017 04:29:21 +0000 (00:29 -0400)] 
Update copyright.

6 years agoFix default language for multi-language PPDs.
Michael Sweet [Tue, 1 Aug 2017 01:39:13 +0000 (21:39 -0400)] 
Fix default language for multi-language PPDs.

6 years agoFix the adminurl field in the TXT record for fully-qualified `ServerName`
Michael Sweet [Tue, 1 Aug 2017 01:29:20 +0000 (21:29 -0400)] 
Fix the adminurl field in the TXT record for fully-qualified `ServerName`
values (Issue #5074)

6 years agoFix the default ServerAlias value (Issue #5072)
Michael Sweet [Mon, 31 Jul 2017 21:55:01 +0000 (17:55 -0400)] 
Fix the default ServerAlias value (Issue #5072)

6 years agoUpdate localization files with corrections for IPP strings.
Michael Sweet [Mon, 31 Jul 2017 21:34:11 +0000 (17:34 -0400)] 
Update localization files with corrections for IPP strings.

6 years agoFix localizations of some media sizes and remove localizations of operation
Michael Sweet [Mon, 31 Jul 2017 18:59:06 +0000 (14:59 -0400)] 
Fix localizations of some media sizes and remove localizations of operation
names.

6 years agoClean up unit test.
Michael Sweet [Tue, 25 Jul 2017 22:26:20 +0000 (18:26 -0400)] 
Clean up unit test.

6 years agoAdd unit test that loops calling cupsGetDests.
Michael Sweet [Tue, 25 Jul 2017 22:18:14 +0000 (18:18 -0400)] 
Add unit test that loops calling cupsGetDests.

6 years agoAdd error checking for all Bonjour browsing in cupsEnumDests.
Michael Sweet [Tue, 25 Jul 2017 22:11:01 +0000 (18:11 -0400)] 
Add error checking for all Bonjour browsing in cupsEnumDests.

Clean up testcups unit tests.

6 years agoChangelog.
Michael Sweet [Tue, 25 Jul 2017 02:45:46 +0000 (22:45 -0400)] 
Changelog.

6 years agoRemove old API documentation files.
Michael Sweet [Tue, 25 Jul 2017 00:51:11 +0000 (20:51 -0400)] 
Remove old API documentation files.

6 years agoUse a 250ms delay for cupsGetDests - not perfect, but usually gets the full
Michael R Sweet [Tue, 25 Jul 2017 02:43:56 +0000 (22:43 -0400)] 
Use a 250ms delay for cupsGetDests - not perfect, but usually gets the full
list of local network printers (Issue #5049)

6 years agoTry a much shorter enum time for cupsGetDests (Issue #5049)
Michael Sweet [Mon, 24 Jul 2017 22:05:39 +0000 (18:05 -0400)] 
Try a much shorter enum time for cupsGetDests (Issue #5049)

6 years agoFix the `ServerTokens None` option (Issue #5065)
Michael Sweet [Mon, 24 Jul 2017 21:29:07 +0000 (17:29 -0400)] 
Fix the `ServerTokens None` option (Issue #5065)

6 years agoMerge pull request #5066 from sblondon/master
Michael R Sweet [Mon, 24 Jul 2017 15:21:14 +0000 (11:21 -0400)] 
Merge pull request #5066 from sblondon/master

Update french translations

6 years agoFix "DenyCBC" priority string with GNU TLS.
Michael R Sweet [Mon, 24 Jul 2017 00:02:57 +0000 (20:02 -0400)] 
Fix "DenyCBC" priority string with GNU TLS.

6 years agoUpdate french translations 5066/head
Stéphane Blondon [Sat, 22 Jul 2017 13:52:10 +0000 (15:52 +0200)] 
Update french translations

6 years agoThe scheduler's `-t` option did not force all errors to the standard error
Michael Sweet [Wed, 19 Jul 2017 19:37:30 +0000 (15:37 -0400)] 
The scheduler's `-t` option did not force all errors to the standard error
file, making debugging of configuration problems hard (Issue #5041)

6 years agoFix logging when "-t" is used (always to stderr).
Michael Sweet [Wed, 19 Jul 2017 19:29:01 +0000 (15:29 -0400)] 
Fix logging when "-t" is used (always to stderr).

6 years agoLower maximum poll()/select() time to 100ms (possible fix for Issue #5049)
Michael Sweet [Wed, 19 Jul 2017 18:28:11 +0000 (14:28 -0400)] 
Lower maximum poll()/select() time to 100ms (possible fix for Issue #5049)

6 years agoUpdate changelog.
Michael Sweet [Wed, 19 Jul 2017 18:26:08 +0000 (14:26 -0400)] 
Update changelog.

6 years agoChangelog.
Michael Sweet [Wed, 19 Jul 2017 18:19:40 +0000 (14:19 -0400)] 
Changelog.

6 years agoFix a build issue with `--enable-mallinfo` (Issue #5051)
Michael Sweet [Wed, 19 Jul 2017 18:12:41 +0000 (14:12 -0400)] 
Fix a build issue with `--enable-mallinfo` (Issue #5051)

6 years agoImplement standard localizations in cupsLocalizeDest* (Issue #5056)
Michael Sweet [Wed, 19 Jul 2017 17:55:32 +0000 (13:55 -0400)] 
Implement standard localizations in cupsLocalizeDest* (Issue #5056)
Add standard media size names to the localizations, too, since the PPD names
are not the right ones.

6 years agoAdd base IPP attribute/value localizations (Issue #5056)
Michael Sweet [Wed, 19 Jul 2017 16:35:41 +0000 (12:35 -0400)] 
Add base IPP attribute/value localizations (Issue #5056)

6 years agoThe `cupsGetNamedDest` function did not use the local default printer
Michael Sweet [Wed, 19 Jul 2017 12:15:08 +0000 (08:15 -0400)] 
The `cupsGetNamedDest` function did not use the local default printer
(rdar://33228500)

6 years agoChangelog for Issue #5054.
Michael Sweet [Wed, 19 Jul 2017 11:40:41 +0000 (07:40 -0400)] 
Changelog for Issue #5054.

6 years agoCUPS now sends the `Date` HTTP header in IPP requests (rdar://33302034)
Michael Sweet [Tue, 18 Jul 2017 15:55:15 +0000 (11:55 -0400)] 
CUPS now sends the `Date` HTTP header in IPP requests (rdar://33302034)

6 years agoFix the cups.strings file generation (bug in code that generates the Unicode
Michael Sweet [Tue, 18 Jul 2017 15:33:03 +0000 (11:33 -0400)] 
Fix the cups.strings file generation (bug in code that generates the Unicode
quotes), and add support for .strings files in checkpo so that we can validate
the results from now on (rdar://33287650)

6 years agoThe IPP backend incorrectly sent the "job-pages-per-set" attribute to PDF
Michael Sweet [Tue, 18 Jul 2017 14:10:16 +0000 (10:10 -0400)] 
The IPP backend incorrectly sent the "job-pages-per-set" attribute to PDF
printers (rdar://33250434)

Need to save the original number of copies and only send "job-pages-per-set"
when the copy count is reset to 1 (as happens when printing with a raster
format...)

6 years agoMerge pull request #5054 from sanbrother/master
Michael R Sweet [Tue, 18 Jul 2017 12:31:49 +0000 (08:31 -0400)] 
Merge pull request #5054 from sanbrother/master

Fix : dead lock when there is already an active job

6 years agoFix builds without libtool.
Michael R Sweet [Tue, 18 Jul 2017 00:44:20 +0000 (20:44 -0400)] 
Fix builds without libtool.

6 years agoFix more issues with libtool support (Issue #5050)
Michael R Sweet [Mon, 17 Jul 2017 23:58:53 +0000 (19:58 -0400)] 
Fix more issues with libtool support (Issue #5050)

6 years agoFix authorization checks on macOS (no longer /etc/authorization, but now we don't...
Michael R Sweet [Mon, 17 Jul 2017 23:49:27 +0000 (19:49 -0400)] 
Fix authorization checks on macOS (no longer /etc/authorization, but now we don't need
to look for the old names from 10.5...)

6 years agoUpdate help text so everything lines up properly and is consistent and spelled correctly.
Michael R Sweet [Mon, 17 Jul 2017 22:28:27 +0000 (18:28 -0400)] 
Update help text so everything lines up properly and is consistent and spelled correctly.

6 years agoUpdate libtool support to include --mode=foo stuff - surprise, libtool changed in
Michael R Sweet [Mon, 17 Jul 2017 22:23:00 +0000 (18:23 -0400)] 
Update libtool support to include --mode=foo stuff - surprise, libtool changed in
incompatible ways again...  (Issue #5050)

6 years agoMerge pull request #5062 from rohieb/libtool-fixes
Michael R Sweet [Mon, 17 Jul 2017 22:03:35 +0000 (18:03 -0400)] 
Merge pull request #5062 from rohieb/libtool-fixes

configure: don't accidentally set @LIBTOOL@ to 'yes'

I'll also be updating the help string to make this clearer as well.

6 years agoconfigure: don't accidentally set @LIBTOOL@ to 'yes' 5062/head
Roland Hieber [Sun, 9 Jul 2017 21:06:03 +0000 (23:06 +0200)] 
configure: don't accidentally set @LIBTOOL@ to 'yes'

Substituting @LIBTOOL@ with 'yes' would result in a lot of console
output (34 GB in my case, before SIGKILL), without getting anything
compiled at all.

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
6 years agoFix : dead lock when there is already an active job 5054/head
sanbrother [Tue, 11 Jul 2017 06:28:23 +0000 (14:28 +0800)] 
Fix : dead lock when there is already an active job

6 years agoThe IPP backend now always sends the "finishings" attribute for printers that
Michael R Sweet [Fri, 7 Jul 2017 20:12:11 +0000 (16:12 -0400)] 
The IPP backend now always sends the "finishings" attribute for printers that
support it because otherwise the client cannot override printer defaults
(rdar://33169732)

6 years agoThe `cupsGetDests` function incorrectly returned an empty list of printers if there was
Michael R Sweet [Fri, 7 Jul 2017 18:23:21 +0000 (14:23 -0400)] 
The `cupsGetDests` function incorrectly returned an empty list of printers if there was
no default printer (Issue #5046)

6 years agoAdd some more debug printfs to figure out Issue #5046...
Michael R Sweet [Fri, 7 Jul 2017 18:12:09 +0000 (14:12 -0400)] 
Add some more debug printfs to figure out Issue #5046...

6 years agoFix Apple language ID parsing to support three-letter language codes.
Michael Sweet [Tue, 4 Jul 2017 23:34:12 +0000 (19:34 -0400)] 
Fix Apple language ID parsing to support three-letter language codes.

6 years agoUpdate language unit test to iterate over all macOS language IDs to validate
Michael Sweet [Tue, 4 Jul 2017 22:10:34 +0000 (18:10 -0400)] 
Update language unit test to iterate over all macOS language IDs to validate
that libcups can handle them all (which it currently does not...)

6 years agoImplement "default" command (show_default) function for media and other options.
Michael Sweet [Tue, 4 Jul 2017 16:17:37 +0000 (12:17 -0400)] 
Implement "default" command (show_default) function for media and other options.

6 years agoBump CUPS Programming Manual version.
Michael Sweet [Tue, 4 Jul 2017 13:59:01 +0000 (09:59 -0400)] 
Bump CUPS Programming Manual version.

6 years agoFix a typo in the CUPS Programming Manual (Issue #5042)
Michael Sweet [Tue, 4 Jul 2017 13:57:33 +0000 (09:57 -0400)] 
Fix a typo in the CUPS Programming Manual (Issue #5042)

6 years agoUpdate changelog, remove reference to issue number in spec file.
Michael Sweet [Tue, 4 Jul 2017 13:46:28 +0000 (09:46 -0400)] 
Update changelog, remove reference to issue number in spec file.

6 years agoMerge pull request #5044 from kesterriley/patch-1
Michael R Sweet [Tue, 4 Jul 2017 13:45:01 +0000 (09:45 -0400)] 
Merge pull request #5044 from kesterriley/patch-1

Update cups.spec.in

6 years agoUpdate cups.spec.in 5044/head
kesterriley [Tue, 4 Jul 2017 06:34:04 +0000 (07:34 +0100)] 
Update cups.spec.in

To fix issue 5043.

Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/cups-2.2.4-0.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/share/locale/zh_CN/cups_zh_CN.po

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/locale/zh_CN/cups_zh_CN.po

6 years agoAdd some additional debug messages for, um, debugging purposes...
Michael Sweet [Mon, 3 Jul 2017 23:21:42 +0000 (19:21 -0400)] 
Add some additional debug messages for, um, debugging purposes...

6 years agoUpdate Apple language ID mapping to POSIX locale IDs (rdar://32419311)
Michael R Sweet [Fri, 30 Jun 2017 20:34:05 +0000 (16:34 -0400)] 
Update Apple language ID mapping to POSIX locale IDs (rdar://32419311)

6 years agoPrep for 2.2.4 release. v2.2.4
Michael R Sweet [Fri, 30 Jun 2017 15:44:38 +0000 (11:44 -0400)] 
Prep for 2.2.4 release.

6 years agoUpdate initial text concerning where to provide feedback.
Michael Sweet [Thu, 29 Jun 2017 18:20:58 +0000 (14:20 -0400)] 
Update initial text concerning where to provide feedback.

6 years agoUpdate CUPS programming manual to explain what "localization" means.
Michael Sweet [Thu, 29 Jun 2017 18:17:33 +0000 (14:17 -0400)] 
Update CUPS programming manual to explain what "localization" means.

6 years agoDon't support default printers that are not queues.
Michael R Sweet [Wed, 28 Jun 2017 13:29:10 +0000 (09:29 -0400)] 
Don't support default printers that are not queues.

6 years agoPrevent underflow (unlikely, but possible)
Michael Sweet [Tue, 27 Jun 2017 16:58:10 +0000 (12:58 -0400)] 
Prevent underflow (unlikely, but possible)

6 years agoThe `SSLOptions` directive in "client.conf" and "cupsd.conf" now supports `DenyCBC...
Michael R Sweet [Mon, 26 Jun 2017 17:22:57 +0000 (13:22 -0400)] 
The `SSLOptions` directive in "client.conf" and "cupsd.conf" now supports `DenyCBC` and
`DenyTLS1.0` options (Issue #5037)

6 years agoFix typo that slipped in with the changes for Issue #4897.
Michael R Sweet [Mon, 26 Jun 2017 16:28:07 +0000 (12:28 -0400)] 
Fix typo that slipped in with the changes for Issue #4897.

6 years agoAdd cupsCheckDestSupported test to the supported action.
Michael Sweet [Thu, 22 Jun 2017 13:07:47 +0000 (09:07 -0400)] 
Add cupsCheckDestSupported test to the supported action.

6 years agoSave work on CUPS programming manual.
Michael Sweet [Tue, 20 Jun 2017 19:47:45 +0000 (15:47 -0400)] 
Save work on CUPS programming manual.

6 years agoSave resolved device URI back in the "device-uri" option (makes things simpler).
Michael Sweet [Tue, 20 Jun 2017 18:31:03 +0000 (14:31 -0400)] 
Save resolved device URI back in the "device-uri" option (makes things simpler).

6 years agoSave resolved device URI.
Michael Sweet [Tue, 20 Jun 2017 18:01:15 +0000 (14:01 -0400)] 
Save resolved device URI.

6 years agoAdd CUPS_DEST_FLAGS_DEVICE flag for cupsConnectDest.
Michael Sweet [Tue, 20 Jun 2017 17:08:15 +0000 (13:08 -0400)] 
Add CUPS_DEST_FLAGS_DEVICE flag for cupsConnectDest.

6 years agoActually show the reason why PPD creation failed (Issue #5035)
Michael Sweet [Tue, 20 Jun 2017 12:43:09 +0000 (08:43 -0400)] 
Actually show the reason why PPD creation failed (Issue #5035)

6 years agoFix test suite for Linux.
Michael R Sweet [Mon, 19 Jun 2017 16:50:28 +0000 (12:50 -0400)] 
Fix test suite for Linux.

6 years agoUpdate and fix locale files.
Michael Sweet [Mon, 19 Jun 2017 13:13:50 +0000 (09:13 -0400)] 
Update and fix locale files.

6 years agoChangelog.
Michael Sweet [Mon, 19 Jun 2017 13:10:01 +0000 (09:10 -0400)] 
Changelog.

6 years agoChangelog.
Michael Sweet [Mon, 19 Jun 2017 13:07:57 +0000 (09:07 -0400)] 
Changelog.

6 years agoMerge pull request #5029 from AOSC-Dev/master
Michael R Sweet [Mon, 19 Jun 2017 13:10:09 +0000 (09:10 -0400)] 
Merge pull request #5029 from AOSC-Dev/master

locale: introduce cups_zh_CN.po

6 years agoMerge pull request #4996 from psychomario/cupstestppdbof
Michael R Sweet [Mon, 19 Jun 2017 13:07:20 +0000 (09:07 -0400)] 
Merge pull request #4996 from psychomario/cupstestppdbof

cupstestppd Buffer Overflow

6 years agoAdd USB quirk rule for Lexmark E260dn (Issue #4994)
Michael Sweet [Mon, 19 Jun 2017 13:05:12 +0000 (09:05 -0400)] 
Add USB quirk rule for Lexmark E260dn (Issue #4994)

6 years agoReport the value of the printer-is-temporary attribute (Issue #5028)
Michael Sweet [Mon, 19 Jun 2017 12:59:55 +0000 (08:59 -0400)] 
Report the value of the printer-is-temporary attribute (Issue #5028)

6 years agoThe cupsCheckDestSupported function did not support NULL values (Issue #5031)
Michael Sweet [Mon, 19 Jun 2017 12:51:35 +0000 (08:51 -0400)] 
The cupsCheckDestSupported function did not support NULL values (Issue #5031)

6 years agoFix crashes on Linux (Issue #5022)
Michael R Sweet [Sat, 17 Jun 2017 03:15:47 +0000 (23:15 -0400)] 
Fix crashes on Linux (Issue #5022)

6 years agoFix some (bogus) clang warnings.
Michael Sweet [Sat, 17 Jun 2017 02:47:31 +0000 (22:47 -0400)] 
Fix some (bogus) clang warnings.

6 years agoFix compile warning.
Michael R Sweet [Sat, 17 Jun 2017 01:46:04 +0000 (21:46 -0400)] 
Fix compile warning.

Include systemd options.

6 years agoUse --enable/disable-avahi
Michael R Sweet [Sat, 17 Jun 2017 01:29:10 +0000 (21:29 -0400)] 
Use --enable/disable-avahi

6 years agoFix manpage test.
Michael R Sweet [Sat, 17 Jun 2017 01:18:33 +0000 (21:18 -0400)] 
Fix manpage test.