thirdparty/cups.git
16 hours agoFix clang errors on Linux. master
Michael R Sweet [Sun, 21 Apr 2019 00:02:16 +0000 (20:02 -0400)]
Fix clang errors on Linux.

Fix subtype support on Linux/Avahi.

26 hours agoMore clang warning fixes.
Michael R Sweet [Sat, 20 Apr 2019 13:13:32 +0000 (09:13 -0400)]
More clang warning fixes.

27 hours agoClean up Clang analyzer warnings.
Michael R Sweet [Sat, 20 Apr 2019 12:41:16 +0000 (08:41 -0400)]
Clean up Clang analyzer warnings.

Update Xcode project file for ippeveprinter and friends.

43 hours agoFix Avahi/Linux build error (Issue #5566)
Michael R Sweet [Fri, 19 Apr 2019 20:38:15 +0000 (16:38 -0400)]
Fix Avahi/Linux build error (Issue #5566)

43 hours agoUpdate man page and localization strings.
Michael R Sweet [Fri, 19 Apr 2019 20:35:00 +0000 (16:35 -0400)]
Update man page and localization strings.

43 hours agoMore cleanup of web interfaces, add --no-web-forms option to disable the web
Michael R Sweet [Fri, 19 Apr 2019 20:32:11 +0000 (16:32 -0400)]
More cleanup of web interfaces, add --no-web-forms option to disable the web
forms.

3 days agoBump version, and make it absolutely clear that CUPS 2.3 is not yet production
Michael R Sweet [Thu, 18 Apr 2019 11:59:23 +0000 (07:59 -0400)]
Bump version, and make it absolutely clear that CUPS 2.3 is not yet production
code.

3 days agoFix a memory reallocation bug in HTTP header value expansion
Michael R Sweet [Thu, 18 Apr 2019 11:52:54 +0000 (07:52 -0400)]
Fix a memory reallocation bug in HTTP header value expansion
(rdar://problem/50000749)

3 days agoAnother typo.
Michael R Sweet [Wed, 17 Apr 2019 21:38:30 +0000 (17:38 -0400)]
Another typo.

3 days agoFix typo in makefile.
Michael R Sweet [Wed, 17 Apr 2019 21:36:13 +0000 (17:36 -0400)]
Fix typo in makefile.

3 days agoDon't regenerate cups.strings during a build.
Michael R Sweet [Wed, 17 Apr 2019 19:09:22 +0000 (15:09 -0400)]
Don't regenerate cups.strings during a build.

3 days agoFix broken indentation.
Michael R Sweet [Wed, 17 Apr 2019 11:51:58 +0000 (07:51 -0400)]
Fix broken indentation.

4 days agoSupport B&W raster as well.
Michael R Sweet [Tue, 16 Apr 2019 21:55:10 +0000 (17:55 -0400)]
Support B&W raster as well.

4 days agoClean up IPP Everywhere conformance issues.
Michael R Sweet [Tue, 16 Apr 2019 20:55:16 +0000 (16:55 -0400)]
Clean up IPP Everywhere conformance issues.

4 days agoCleanup to use copy_hex_string, and fix a bug in that function.
Michael R Sweet [Tue, 16 Apr 2019 20:29:28 +0000 (16:29 -0400)]
Cleanup to use copy_hex_string, and fix a bug in that function.

4 days agoFix regular expression matching on octetString attributes.
Michael R Sweet [Tue, 16 Apr 2019 20:23:47 +0000 (16:23 -0400)]
Fix regular expression matching on octetString attributes.

5 days agoAdd UserAgentTokens config directive (Issue #5555)
Michael R Sweet [Mon, 15 Apr 2019 21:22:25 +0000 (17:22 -0400)]
Add UserAgentTokens config directive (Issue #5555)

cups/cups-private.h:
- Add enum and value for UserAgentTokens directive.

cups/usersys.c:
- _cups_finalize_conf(): Copy UserAgentTokens value to globals.
- _cups_init_conf(): Set default UserAgentTokens value and grab prefs.
- _cups_read_conf(): Look for UserAgentTokens value.
- _cups_set_uatokens(): Set UserAgentTokens value.
- cupsSetUserAgent(): Support UserAgentTokens values.

5 days agoAdd a workaround for old Samsung drivers (Issue #5562)
Michael R Sweet [Mon, 15 Apr 2019 20:50:04 +0000 (16:50 -0400)]
Add a workaround for old Samsung drivers (Issue #5562)

5 days agoFor octetString values, compare the length against the -supported value
Michael R Sweet [Mon, 15 Apr 2019 20:26:46 +0000 (16:26 -0400)]
For octetString values, compare the length against the -supported value
(Issue #5557)

5 days agoUpdate systemd service file for cupsd (Issue #5551)
Michael R Sweet [Mon, 15 Apr 2019 20:15:58 +0000 (16:15 -0400)]
Update systemd service file for cupsd (Issue #5551)

5 days agoCorrectly encode octetString values for print filters (Issue #5558)
Michael R Sweet [Mon, 15 Apr 2019 20:03:03 +0000 (16:03 -0400)]
Correctly encode octetString values for print filters (Issue #5558)

scheduler/job.c:
- get_options(): Handle IPP_TAG_STRING separately and either provide a quoted
  string or a hex string, depending on the value.
- ipp_length(): Handle IPP_TAG_STRING separately.

5 days agoThe IPP/2.2 test file tested booleans against value "1" instead of "true", but
Michael R Sweet [Mon, 15 Apr 2019 16:11:36 +0000 (12:11 -0400)]
The IPP/2.2 test file tested booleans against value "1" instead of "true", but
ipptool was updated a while back to look for "true".

test/ipp-2.2.test:
- Change WITH-VALUE for booleans from '1' to 'true'

test/ipptool.c:
- Update with_value() to support both "true" and "1" for boolean true values.

6 days agoFix changelog.
Michael R Sweet [Mon, 15 Apr 2019 13:24:31 +0000 (09:24 -0400)]
Fix changelog.

6 days agoRemove Travis CI file since we can't enable it for the CUPS repository.
Michael R Sweet [Mon, 15 Apr 2019 13:22:25 +0000 (09:22 -0400)]
Remove Travis CI file since we can't enable it for the CUPS repository.

6 days agoIgnore generated ippeveprinter commands.
Michael R Sweet [Mon, 15 Apr 2019 13:22:07 +0000 (09:22 -0400)]
Ignore generated ippeveprinter commands.

3 weeks agoFix compile errors.
Michael R Sweet [Wed, 27 Mar 2019 01:28:04 +0000 (21:28 -0400)]
Fix compile errors.

4 weeks agoSave work.
Michael R Sweet [Sat, 23 Mar 2019 00:49:01 +0000 (20:49 -0400)]
Save work.

4 weeks agoDirectory output now uses the same naming algorithm as is used for the spool
Michael R Sweet [Fri, 22 Mar 2019 21:44:59 +0000 (17:44 -0400)]
Directory output now uses the same naming algorithm as is used for the spool
directory.

4 weeks agoPoint stdout to the output device or spool directory.
Michael R Sweet [Fri, 22 Mar 2019 21:24:18 +0000 (17:24 -0400)]
Point stdout to the output device or spool directory.

4 weeks agoFix up some more of the web interface, add colored status indicator, add auto
Michael R Sweet [Fri, 22 Mar 2019 21:03:57 +0000 (17:03 -0400)]
Fix up some more of the web interface, add colored status indicator, add auto
refresh on the status page.

4 weeks agoUpdate supply and media pages to be based on attributes instead of member
Michael R Sweet [Fri, 22 Mar 2019 19:09:28 +0000 (15:09 -0400)]
Update supply and media pages to be based on attributes instead of member
variables.

4 weeks agoUpdate icon image to use "ippeve-printer"
Michael R Sweet [Fri, 22 Mar 2019 18:21:32 +0000 (14:21 -0400)]
Update icon image to use "ippeve-printer"

4 weeks agoUpdate ippeveprinter to use internal copy of printer.png.
Michael R Sweet [Fri, 22 Mar 2019 18:18:23 +0000 (14:18 -0400)]
Update ippeveprinter to use internal copy of printer.png.

Fix a crash bug in load_legacy_attributes.

4 weeks agoAdd man page for and installation of ippeveprinter commands.
Michael R Sweet [Fri, 22 Mar 2019 17:21:05 +0000 (13:21 -0400)]
Add man page for and installation of ippeveprinter commands.

4 weeks agoStub out the PS and PCL print commands for ippeveprinter.
Michael R Sweet [Fri, 22 Mar 2019 17:01:16 +0000 (13:01 -0400)]
Stub out the PS and PCL print commands for ippeveprinter.

Add a "corelite" value for --with-components that builds the tools as well as
the PPD-free libcups.

Add a "CUPS_LITE" define in config.h.

4 weeks agoMake the default get-printer-attributes test request media-col-database.
Michael R Sweet [Fri, 22 Mar 2019 17:00:54 +0000 (13:00 -0400)]
Make the default get-printer-attributes test request media-col-database.

4 weeks agoNormalize/update program help, error messages.
Michael R Sweet [Fri, 22 Mar 2019 16:35:31 +0000 (12:35 -0400)]
Normalize/update program help, error messages.

4 weeks agoUpdate dependencies.
Michael R Sweet [Fri, 22 Mar 2019 01:13:18 +0000 (21:13 -0400)]
Update dependencies.

4 weeks agoSame changes for Print-URI/Send-URI.
Michael R Sweet [Fri, 22 Mar 2019 01:12:02 +0000 (21:12 -0400)]
Same changes for Print-URI/Send-URI.

4 weeks agoOne more spot needs attention.
Michael R Sweet [Thu, 21 Mar 2019 22:28:41 +0000 (18:28 -0400)]
One more spot needs attention.

4 weeks agoMerge common document processing code.
Michael R Sweet [Thu, 21 Mar 2019 22:24:32 +0000 (18:24 -0400)]
Merge common document processing code.

4 weeks agoNormalize filename generation and print file creation.
Michael R Sweet [Thu, 21 Mar 2019 20:52:01 +0000 (16:52 -0400)]
Normalize filename generation and print file creation.

4 weeks agoippeveprinter building again...
Michael R Sweet [Thu, 21 Mar 2019 19:06:54 +0000 (15:06 -0400)]
ippeveprinter building again...

4 weeks agoClean up some build issues on certain platforms.
Michael R Sweet [Thu, 21 Mar 2019 22:20:40 +0000 (18:20 -0400)]
Clean up some build issues on certain platforms.

4 weeks agoSave work.
Michael R Sweet [Thu, 21 Mar 2019 13:34:44 +0000 (09:34 -0400)]
Save work.

4 weeks agoSave work, take ippeveprinter out of the regular build until it is
Michael R Sweet [Thu, 21 Mar 2019 01:59:20 +0000 (21:59 -0400)]
Save work, take ippeveprinter out of the regular build until it is
compiling again...

4 weeks agoSave work.
Michael R Sweet [Wed, 20 Mar 2019 18:11:51 +0000 (14:11 -0400)]
Save work.

4 weeks agoUpdate copyright.
Michael R Sweet [Wed, 20 Mar 2019 14:17:51 +0000 (10:17 -0400)]
Update copyright.

4 weeks agoMake ippserver sample code a supported program called "ippeveprinter", which
Michael R Sweet [Wed, 20 Mar 2019 13:59:24 +0000 (09:59 -0400)]
Make ippserver sample code a supported program called "ippeveprinter", which
can serve as a wrapper for "printer applications".

4 weeks agoUse ALL_DSOFLAGS and ALL_LDFLAGS to avoid issues with some build frameworks.
Michael R Sweet [Tue, 19 Mar 2019 20:36:24 +0000 (16:36 -0400)]
Use ALL_DSOFLAGS and ALL_LDFLAGS to avoid issues with some build frameworks.

5 weeks agoMake --image a no-op, just link libcups.
Michael R Sweet [Fri, 15 Mar 2019 16:54:11 +0000 (12:54 -0400)]
Make --image a no-op, just link libcups.

5 weeks agoStop advertising the HTTP methods that are supported (Issue #5540)
Michael R Sweet [Mon, 11 Mar 2019 18:01:21 +0000 (14:01 -0400)]
Stop advertising the HTTP methods that are supported (Issue #5540)

5 weeks agoFix an issue with `PreserveJobHistory` and time values (Issue #5538)
Michael R Sweet [Mon, 11 Mar 2019 17:46:22 +0000 (13:46 -0400)]
Fix an issue with `PreserveJobHistory` and time values (Issue #5538)

5 weeks agoUpdate test suite to test PreserveJobHistory setting using time (30 seconds)
Michael R Sweet [Mon, 11 Mar 2019 16:05:03 +0000 (12:05 -0400)]
Update test suite to test PreserveJobHistory setting using time (30 seconds)

7 weeks agoFix PPD caching and IPP Everywhere PPDs (Issue #5535)
Michael R Sweet [Wed, 27 Feb 2019 20:22:55 +0000 (15:22 -0500)]
Fix PPD caching and IPP Everywhere PPDs (Issue #5535)

7 weeks agoFix another compiler warning.
Michael R Sweet [Mon, 25 Feb 2019 20:12:16 +0000 (15:12 -0500)]
Fix another compiler warning.

7 weeks agoUse iterator for CRL (Issue #5532)
Michael R Sweet [Mon, 25 Feb 2019 20:08:40 +0000 (15:08 -0500)]
Use iterator for CRL (Issue #5532)

7 weeks agoFix compiler warning from newer GCC (Issue #5533)
Michael R Sweet [Mon, 25 Feb 2019 16:57:23 +0000 (11:57 -0500)]
Fix compiler warning from newer GCC (Issue #5533)

7 weeks agoFix compiler warning from newer GCC (Issue #5533)
Michael R Sweet [Mon, 25 Feb 2019 16:39:09 +0000 (11:39 -0500)]
Fix compiler warning from newer GCC (Issue #5533)

8 weeks agoMedia size matching now uses a tolerance of 0.5mm (rdar://33822024)
Michael R Sweet [Thu, 21 Feb 2019 17:45:33 +0000 (12:45 -0500)]
Media size matching now uses a tolerance of 0.5mm (rdar://33822024)

8 weeks agoFix typo.
Michael R Sweet [Thu, 21 Feb 2019 17:33:31 +0000 (12:33 -0500)]
Fix typo.

8 weeks agoRework idle exit fix after some discussion.
Michael R Sweet [Thu, 21 Feb 2019 17:31:10 +0000 (12:31 -0500)]
Rework idle exit fix after some discussion.

8 weeks agoUpdate localization strings.
Michael R Sweet [Thu, 21 Feb 2019 16:13:39 +0000 (11:13 -0500)]
Update localization strings.

8 weeks agoThe lpadmin command would hang with a bad PPD file (rdar://41495016)
Michael R Sweet [Thu, 21 Feb 2019 16:13:20 +0000 (11:13 -0500)]
The lpadmin command would hang with a bad PPD file (rdar://41495016)

8 weeks agoThe scheduler did not always idle exit as quickly as it could...
Michael R Sweet [Thu, 21 Feb 2019 16:03:50 +0000 (11:03 -0500)]
The scheduler did not always idle exit as quickly as it could...

8 weeks agoDon't stop a printer after a job is canceled/aborted (Issue #5517)
Michael R Sweet [Thu, 21 Feb 2019 15:43:16 +0000 (10:43 -0500)]
Don't stop a printer after a job is canceled/aborted (Issue #5517)

8 weeks agoAdd a USB quirks rule for the DYMO 450 Turbo (Issue #5521)
Michael R Sweet [Thu, 21 Feb 2019 14:54:28 +0000 (09:54 -0500)]
Add a USB quirks rule for the DYMO 450 Turbo (Issue #5521)

2 months agoAdd subject alternate names for self-signed certificates (Issue #5525)
Michael R Sweet [Tue, 19 Feb 2019 20:04:36 +0000 (15:04 -0500)]
Add subject alternate names for self-signed certificates (Issue #5525)

2 months agoAdd "-I" option to usage notes.
Michael R Sweet [Tue, 19 Feb 2019 19:15:05 +0000 (14:15 -0500)]
Add "-I" option to usage notes.

2 months agoAdd ipptool test file for testing Get-Printer-Attributes conformance with the
Michael R Sweet [Tue, 19 Feb 2019 19:09:53 +0000 (14:09 -0500)]
Add ipptool test file for testing Get-Printer-Attributes conformance with the
requested-attributes operation attribute (Issue #5512)

2 months agoAdd missing cups_en.po.
Michael R Sweet [Tue, 19 Feb 2019 17:38:48 +0000 (12:38 -0500)]
Add missing cups_en.po.

2 months agoMerge pull request #5519 from IslandCow/small
Michael R Sweet [Tue, 19 Feb 2019 16:12:25 +0000 (11:12 -0500)]
Merge pull request #5519 from IslandCow/small

Make explicit cast from enum to integer

2 months agoAdd USB quirks rule for Xerox printers (Issue #5523)
Michael R Sweet [Tue, 19 Feb 2019 16:11:35 +0000 (11:11 -0500)]
Add USB quirks rule for Xerox printers (Issue #5523)

2 months agoUse interactive priority for cupsd now.
Michael R Sweet [Tue, 19 Feb 2019 14:41:29 +0000 (09:41 -0500)]
Use interactive priority for cupsd now.

2 months agoDocumentation updates.
Michael R Sweet [Mon, 18 Feb 2019 15:33:49 +0000 (10:33 -0500)]
Documentation updates.

2 months agoMake explicit cast from enum to integer 5519/head
Sean Kau [Mon, 18 Feb 2019 06:56:47 +0000 (06:56 +0000)]
Make explicit cast from enum to integer

2 months agoNon-Kerberized IPP printing to Windows was broken (Issue #5515)
Michael R Sweet [Fri, 15 Feb 2019 22:06:35 +0000 (17:06 -0500)]
Non-Kerberized IPP printing to Windows was broken (Issue #5515)

2 months agoChangelog.
Michael R Sweet [Thu, 14 Feb 2019 17:55:37 +0000 (12:55 -0500)]
Changelog.

2 months agoEliminate use of private macOS security headers/APIs (Issue #5516)
Michael R Sweet [Thu, 14 Feb 2019 16:53:23 +0000 (11:53 -0500)]
Eliminate use of private macOS security headers/APIs (Issue #5516)

Eliminate use of deprecated cssmErrorString function.

Switch to using SecCertificateCreateWithData.

Clean out unused private header availability checks.

2 months agoFix compiler warnings.
Michael R Sweet [Thu, 14 Feb 2019 16:10:56 +0000 (11:10 -0500)]
Fix compiler warnings.

2 months agoUpdate Danish localization (Issue #5504)
Michael R Sweet [Wed, 13 Feb 2019 21:33:14 +0000 (16:33 -0500)]
Update Danish localization (Issue #5504)

2 months agoRemove log buttons from admin page since most Linux distros use systemd logging
Michael R Sweet [Wed, 13 Feb 2019 21:29:55 +0000 (16:29 -0500)]
Remove log buttons from admin page since most Linux distros use systemd logging
(Issue #5513)

2 months agoFix a GNU TLS certificate problem (Issue #5506)
Michael R Sweet [Tue, 5 Feb 2019 18:03:22 +0000 (13:03 -0500)]
Fix a GNU TLS certificate problem (Issue #5506)

2 months agoFix UTF-8 validation (Issue #5509)
Michael R Sweet [Tue, 5 Feb 2019 17:02:49 +0000 (12:02 -0500)]
Fix UTF-8 validation (Issue #5509)

2 months agoUpdate the translation guide to reflect current links, files, etc. (Issue #5497)
Michael R Sweet [Thu, 24 Jan 2019 19:33:06 +0000 (14:33 -0500)]
Update the translation guide to reflect current links, files, etc. (Issue #5497)

Also add some examples of localizing the HTML templates (what to localize and
what to leave alone...)

2 months agoFix online help through web interface...
Michael R Sweet [Thu, 24 Jan 2019 19:31:28 +0000 (14:31 -0500)]
Fix online help through web interface...

2 months agoFix compile warning.
Michael R Sweet [Thu, 24 Jan 2019 19:23:46 +0000 (14:23 -0500)]
Fix compile warning.

2 months agoRemove remaining references to subscriptions and samba.
Michael R Sweet [Thu, 24 Jan 2019 17:46:23 +0000 (12:46 -0500)]
Remove remaining references to subscriptions and samba.

2 months agoShow number of translated messages, not number of untranslated ones...
Michael R Sweet [Thu, 24 Jan 2019 17:22:44 +0000 (12:22 -0500)]
Show number of translated messages, not number of untranslated ones...

2 months agoDon't generate synthetic cups_en.po, we have a real one now...
Michael R Sweet [Thu, 24 Jan 2019 17:17:19 +0000 (12:17 -0500)]
Don't generate synthetic cups_en.po, we have a real one now...

2 months agoFix typo.
Michael R Sweet [Thu, 24 Jan 2019 17:11:59 +0000 (12:11 -0500)]
Fix typo.

2 months agoUpdate localization of IPP attribute/value pairs (Issue #5495)
Michael R Sweet [Thu, 24 Jan 2019 17:06:34 +0000 (12:06 -0500)]
Update localization of IPP attribute/value pairs (Issue #5495)

Note: This adds a cups_en.po file containing the real localized strings, with
cups.pot pulling from ipp-strings.c which is generated from the IANA IPP
registry.  Localizer comments are included to help translators do all of those
string...

After the "purge", all of the non-English localization files are well below the
90% goal for translating... :(

2 months agoAdd _CUPS_MESSAGE_EMPTY flag to allow loading of empty localizations (needed
Michael R Sweet [Thu, 24 Jan 2019 17:05:21 +0000 (12:05 -0500)]
Add _CUPS_MESSAGE_EMPTY flag to allow loading of empty localizations (needed
for checkpo program)

2 months agoUpdate usage and localized message about the URL to use for secure access.
Michael R Sweet [Thu, 24 Jan 2019 17:04:57 +0000 (12:04 -0500)]
Update usage and localized message about the URL to use for secure access.

2 months agoChangelog.
Michael R Sweet [Thu, 24 Jan 2019 14:39:06 +0000 (09:39 -0500)]
Changelog.

2 months agoMerge pull request #5499 from scootergrisen/patch-4
Michael R Sweet [Thu, 24 Jan 2019 14:38:28 +0000 (09:38 -0500)]
Merge pull request #5499 from scootergrisen/patch-4

Remove newline

2 months agoMerge pull request #5500 from scootergrisen/patch-5
Michael R Sweet [Thu, 24 Jan 2019 14:37:25 +0000 (09:37 -0500)]
Merge pull request #5500 from scootergrisen/patch-5

Remove newline

2 months agoMerge pull request #5501 from scootergrisen/patch-6
Michael R Sweet [Thu, 24 Jan 2019 14:36:57 +0000 (09:36 -0500)]
Merge pull request #5501 from scootergrisen/patch-6

Add "# German message catalog for CUPS."

2 months agoAdd "# German message catalog for CUPS." 5501/head
scootergrisen [Thu, 24 Jan 2019 05:54:56 +0000 (06:54 +0100)]
Add "# German message catalog for CUPS."

2 months agoRemove newline 5500/head
scootergrisen [Thu, 24 Jan 2019 05:49:26 +0000 (06:49 +0100)]
Remove newline

So it matches the source/template file