]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
4 years agoWhen log messages with 'write' function it could be an inconsistency between the... 167/head
Danil Korotenko [Fri, 2 Apr 2021 14:59:24 +0000 (17:59 +0300)] 
When log messages with 'write' function it could be an inconsistency between the log message string and the string length.

To avoid this situation, added 'backendMessage' function that will count the log message string length automatically.

4 years agoFixed string length.
Danil Korotenko [Fri, 2 Apr 2021 14:43:54 +0000 (17:43 +0300)] 
Fixed string length.

4 years agoUpdate references from RFC 2911 to RFC 8011.
Michael R Sweet [Thu, 1 Apr 2021 19:58:30 +0000 (15:58 -0400)] 
Update references from RFC 2911 to RFC 8011.

4 years agoMerge pull request #165 from OpenPrinting/ipptool
Michael R Sweet [Thu, 1 Apr 2021 18:12:03 +0000 (14:12 -0400)] 
Merge pull request #165 from OpenPrinting/ipptool

ipptool enhancement and fixes

4 years agoMerge branch 'master' into ipptool 165/head
Michael R Sweet [Thu, 1 Apr 2021 18:11:54 +0000 (14:11 -0400)] 
Merge branch 'master' into ipptool

4 years agoThe request ID did not increment for each attempt in a repeated test (Issue #153)
Michael R Sweet [Thu, 1 Apr 2021 18:07:42 +0000 (14:07 -0400)] 
The request ID did not increment for each attempt in a repeated test (Issue #153)

4 years agoAdd support for limits in OF-TYPE syntax strings (Issue #153)
Michael R Sweet [Thu, 1 Apr 2021 17:57:16 +0000 (13:57 -0400)] 
Add support for limits in OF-TYPE syntax strings (Issue #153)

4 years agoAdd -R option to repeat on server-error-busy (Issue #153)
Michael R Sweet [Thu, 1 Apr 2021 17:12:22 +0000 (13:12 -0400)] 
Add -R option to repeat on server-error-busy (Issue #153)

4 years agoAdd WITH-DISTINCT-VALUES predicate (Issue #153)
Michael R Sweet [Wed, 31 Mar 2021 21:22:31 +0000 (17:22 -0400)] 
Add WITH-DISTINCT-VALUES predicate (Issue #153)

4 years agoFix some variable propagation issues, fix "make test" target.
Michael R Sweet [Wed, 31 Mar 2021 20:41:22 +0000 (16:41 -0400)] 
Fix some variable propagation issues, fix "make test" target.

4 years agoFix clang analyzer issues.
Michael R Sweet [Wed, 31 Mar 2021 18:21:06 +0000 (14:21 -0400)] 
Fix clang analyzer issues.

4 years agoUpdate man page.
Michael R Sweet [Wed, 31 Mar 2021 18:09:38 +0000 (14:09 -0400)] 
Update man page.

4 years agoImplement EXPECT handling for MONITOR-PRINTER-STATE.
Michael R Sweet [Wed, 31 Mar 2021 17:50:14 +0000 (13:50 -0400)] 
Implement EXPECT handling for MONITOR-PRINTER-STATE.

4 years agoImplement MONITOR-PRINTER-STATE parsing and skeleton of thread code.
Michael R Sweet [Wed, 31 Mar 2021 14:38:44 +0000 (10:38 -0400)] 
Implement MONITOR-PRINTER-STATE parsing and skeleton of thread code.

4 years agoProtect against group tags inside collections.
Michael R Sweet [Mon, 29 Mar 2021 00:57:55 +0000 (20:57 -0400)] 
Protect against group tags inside collections.

4 years agoAdd write test and more transformations in fuzz function.
Michael R Sweet [Mon, 29 Mar 2021 00:55:52 +0000 (20:55 -0400)] 
Add write test and more transformations in fuzz function.

4 years agoAdd missing file.
Michael R Sweet [Sat, 27 Mar 2021 21:21:02 +0000 (17:21 -0400)] 
Add missing file.

4 years agoAdd simple fuzzer for IPP parser.
Michael R Sweet [Sat, 27 Mar 2021 03:17:40 +0000 (23:17 -0400)] 
Add simple fuzzer for IPP parser.

4 years agoFix spelling error (Issue #161)
Michael R Sweet [Fri, 26 Mar 2021 20:59:53 +0000 (16:59 -0400)] 
Fix spelling error (Issue #161)

4 years agoProtect against group tags inside collections.
Michael R Sweet [Mon, 29 Mar 2021 00:57:55 +0000 (20:57 -0400)] 
Protect against group tags inside collections.

4 years agoAdd write test and more transformations in fuzz function.
Michael R Sweet [Mon, 29 Mar 2021 00:55:52 +0000 (20:55 -0400)] 
Add write test and more transformations in fuzz function.

4 years agoAdd missing file.
Michael R Sweet [Sat, 27 Mar 2021 21:21:02 +0000 (17:21 -0400)] 
Add missing file.

4 years agoAdd simple fuzzer for IPP parser.
Michael R Sweet [Sat, 27 Mar 2021 03:17:40 +0000 (23:17 -0400)] 
Add simple fuzzer for IPP parser.

4 years agoFix spelling error (Issue #161)
Michael R Sweet [Fri, 26 Mar 2021 20:59:53 +0000 (16:59 -0400)] 
Fix spelling error (Issue #161)

4 years agoFix pkg-config destination directory.
Michael R Sweet [Thu, 25 Mar 2021 15:00:12 +0000 (11:00 -0400)] 
Fix pkg-config destination directory.

4 years agoThrow an error if a member attribute occurs outside a collection.
Michael R Sweet [Wed, 24 Mar 2021 19:15:16 +0000 (15:15 -0400)] 
Throw an error if a member attribute occurs outside a collection.

4 years agoAdd GB18030 charset support for localization (Issue #159)
Michael R Sweet [Tue, 23 Mar 2021 19:00:07 +0000 (15:00 -0400)] 
Add GB18030 charset support for localization (Issue #159)

4 years agoChangelog
Michael R Sweet [Fri, 19 Mar 2021 13:05:49 +0000 (09:05 -0400)] 
Changelog

4 years agoTry repairing the i386 build environment, which is causing the i386 builds
Michael R Sweet [Fri, 19 Mar 2021 13:04:56 +0000 (09:04 -0400)] 
Try repairing the i386 build environment, which is causing the i386 builds
to fail.

4 years agoscheduler/log.c: Use `[Job N]` even for syslog
Zdenek Dohnal [Fri, 19 Mar 2021 08:25:41 +0000 (09:25 +0100)] 
scheduler/log.c: Use `[Job N]` even for syslog

Currently there is a difference in job log format based on where logs
are sent - the message contains `[Job N]` if sent to a file and it
doesn't contain the string if sent to syslog.
Though it can be seen as a duplicate of information, since the main
syslog system used (journald) is capable of filtering messages based on
JID, but having `[Job N]` string in logs in syslog is useful when you
need to debug complex issues and you need to see what happens in the
scheduler and in a specific job at the same time - f.e. at print
servers.

How to reproduce:
0) set error logs to syslog in /etc/cups/cups-files.conf
1) $ cupsctl --debug-logging
2) $ lp -d <queue> <file>
3) $ journalctl -u cups

Actual results:
Cannot distinguish logs from scheduler and from the job

Results after the patch:
Job logs have `[Job N]` at the start of message, where N is a job id.

4 years agoFix pkg-config destination directory.
Michael R Sweet [Thu, 25 Mar 2021 15:00:12 +0000 (11:00 -0400)] 
Fix pkg-config destination directory.

4 years agoThrow an error if a member attribute occurs outside a collection.
Michael R Sweet [Wed, 24 Mar 2021 19:15:16 +0000 (15:15 -0400)] 
Throw an error if a member attribute occurs outside a collection.

4 years agoAdd GB18030 charset support for localization (Issue #159)
Michael R Sweet [Tue, 23 Mar 2021 19:00:07 +0000 (15:00 -0400)] 
Add GB18030 charset support for localization (Issue #159)

4 years agoChangelog
Michael R Sweet [Fri, 19 Mar 2021 13:05:49 +0000 (09:05 -0400)] 
Changelog

4 years agoTry repairing the i386 build environment, which is causing the i386 builds
Michael R Sweet [Fri, 19 Mar 2021 13:04:56 +0000 (09:04 -0400)] 
Try repairing the i386 build environment, which is causing the i386 builds
to fail.

4 years agoMerge pull request #154 from zdohnal/logs_use_jobid
Michael R Sweet [Fri, 19 Mar 2021 13:00:06 +0000 (09:00 -0400)] 
Merge pull request #154 from zdohnal/logs_use_jobid

scheduler/log.c: Use `[Job N]` even for syslog

4 years agoCoding style:
Michael R Sweet [Fri, 19 Mar 2021 12:16:37 +0000 (08:16 -0400)] 
Coding style:

- Update ipptool to use "ipptool_" prefix for all local types instead of
  "_cups_".
- Fix command name and unwrap some of the errors.

4 years agoscheduler/log.c: Use `[Job N]` even for syslog 154/head
Zdenek Dohnal [Fri, 19 Mar 2021 08:25:41 +0000 (09:25 +0100)] 
scheduler/log.c: Use `[Job N]` even for syslog

Currently there is a difference in job log format based on where logs
are sent - the message contains `[Job N]` if sent to a file and it
doesn't contain the string if sent to syslog.
Though it can be seen as a duplicate of information, since the main
syslog system used (journald) is capable of filtering messages based on
JID, but having `[Job N]` string in logs in syslog is useful when you
need to debug complex issues and you need to see what happens in the
scheduler and in a specific job at the same time - f.e. at print
servers.

How to reproduce:
0) set error logs to syslog in /etc/cups/cups-files.conf
1) $ cupsctl --debug-logging
2) $ lp -d <queue> <file>
3) $ journalctl -u cups

Actual results:
Cannot distinguish logs from scheduler and from the job

Results after the patch:
Job logs have `[Job N]` at the start of message, where N is a job id.

4 years agoChangelog.
Michael R Sweet [Tue, 16 Mar 2021 11:05:27 +0000 (07:05 -0400)] 
Changelog.

4 years agoMerge pull request #146 from jschwender/master
Michael R Sweet [Tue, 16 Mar 2021 11:04:49 +0000 (07:04 -0400)] 
Merge pull request #146 from jschwender/master

notices in localized index pages adjusted

4 years agoadjust localized index files 146/head
jschwender [Mon, 15 Mar 2021 22:18:48 +0000 (23:18 +0100)] 
adjust localized index files

4 years agonotices in localized index pages adjusted to refer to OpenPrinting like in the englis...
jschwender [Mon, 15 Mar 2021 21:19:29 +0000 (22:19 +0100)] 
notices in localized index pages adjusted to refer to OpenPrinting like in the english original

4 years agoMerge pull request #143 from zdohnal/add_multiuser_target
Michael R Sweet [Mon, 15 Mar 2021 12:37:21 +0000 (08:37 -0400)] 
Merge pull request #143 from zdohnal/add_multiuser_target

cups.service.in: Add SYSTEMD_WANTED_BY variable

4 years agocups.service.in: Add `SYSTEMD_WANTED_BY` variable 143/head
Zdenek Dohnal [Mon, 15 Mar 2021 12:15:24 +0000 (13:15 +0100)] 
cups.service.in: Add `SYSTEMD_WANTED_BY` variable

The variable contains `printers.target` by default. If CUPS is
configured with web interface and browsing enabled, `multi-user.target`
is added to the variable.

4 years agoStop using Travis CI.
Michael R Sweet [Mon, 15 Mar 2021 11:26:15 +0000 (07:26 -0400)] 
Stop using Travis CI.

4 years agoChangelog
Michael R Sweet [Mon, 15 Mar 2021 10:45:29 +0000 (06:45 -0400)] 
Changelog

4 years agoMerge pull request #142 from jschwender/master
Michael R Sweet [Mon, 15 Mar 2021 10:44:27 +0000 (06:44 -0400)] 
Merge pull request #142 from jschwender/master

fix for  "jobs in ascending order" never appeared in job list

4 years agomore explicit terms in the job listing templates. 142/head
jschwender [Mon, 15 Mar 2021 07:23:54 +0000 (08:23 +0100)] 
more explicit terms in the job listing templates.
ja,ru,pt_BR,es use identical english terms as they are untranslated so far.
de is translated. da, fr need an update for translation.

4 years agobetter description for the job list, giving both sort order and direction
Joachim Schwender [Sun, 14 Mar 2021 01:11:26 +0000 (02:11 +0100)] 
better description for the job list, giving both sort order and direction

4 years agothe "ascending order" never appeared in job listing, with this change it works as...
Joachim Schwender [Sun, 14 Mar 2021 00:31:12 +0000 (01:31 +0100)] 
the "ascending order" never appeared in job listing, with this change it works as expected.
fixes  #131

4 years agoMerge pull request #1 from OpenPrinting/master
jschwender [Sat, 13 Mar 2021 22:12:57 +0000 (23:12 +0100)] 
Merge pull request #1 from OpenPrinting/master

updating from openprinting paster

4 years agoMerge pull request #128 from jschwender/patch-1
Michael R Sweet [Sat, 13 Mar 2021 20:09:56 +0000 (15:09 -0500)] 
Merge pull request #128 from jschwender/patch-1

table header left aligned

4 years agoChangelog.
Michael R Sweet [Sat, 13 Mar 2021 14:49:53 +0000 (09:49 -0500)] 
Changelog.

4 years agoMerge pull request #134 from fschwa/master
Michael R Sweet [Sat, 13 Mar 2021 14:48:28 +0000 (09:48 -0500)] 
Merge pull request #134 from fschwa/master

proofreading German translation

4 years agoAdd USB quirk for Lexmark printer (Apple #5766)
Michael R Sweet [Fri, 12 Mar 2021 19:20:58 +0000 (14:20 -0500)] 
Add USB quirk for Lexmark printer (Apple #5766)

4 years agoDon't reattach DesignJet 130 (Apple #5838)
Michael R Sweet [Fri, 12 Mar 2021 14:55:50 +0000 (09:55 -0500)] 
Don't reattach DesignJet 130 (Apple #5838)

4 years agoDon't make Dymo unidirectional (Apple #5843)
Michael R Sweet [Fri, 12 Mar 2021 14:47:03 +0000 (09:47 -0500)] 
Don't make Dymo unidirectional (Apple #5843)

4 years agoAdd USB quirk rule for Arkscan label printers (Apple #5867)
Michael R Sweet [Fri, 12 Mar 2021 12:33:45 +0000 (07:33 -0500)] 
Add USB quirk rule for Arkscan label printers (Apple #5867)

4 years agoMerge pull request #126 from OpenPrinting/apmo
Michael R Sweet [Thu, 11 Mar 2021 17:41:38 +0000 (12:41 -0500)] 
Merge pull request #126 from OpenPrinting/apmo

Add AirPrint and Mopria Compatibility

4 years agoUpdate cupsd.conf.5 man page to address feedback from Till. 126/head
Michael R Sweet [Thu, 11 Mar 2021 17:40:58 +0000 (12:40 -0500)] 
Update cupsd.conf.5 man page to address feedback from Till.

4 years agoFix typo
Michael R Sweet [Thu, 11 Mar 2021 17:04:17 +0000 (12:04 -0500)] 
Fix typo

4 years agoAddress review by Till Kamppeter:
Michael R Sweet [Thu, 11 Mar 2021 16:31:03 +0000 (11:31 -0500)] 
Address review by Till Kamppeter:

- Add mopria-certified and printer-wifi-xxx to list of Printer Description
  attributes.
- Bump the PPD cache version to reflect the additional attributes we are adding.
- Update the documentation to note that DefaultPaperSize and ReadyPaperSizes
  contain a list of PPD size names.
- Update urf-supported/URF values to include copies (CP), finishings (FN), and
  print-quality (PQ) values.

4 years agoChangelog.
Michael R Sweet [Thu, 11 Mar 2021 11:34:37 +0000 (06:34 -0500)] 
Changelog.

4 years agoUpdate pager.tmpl
jschwender [Thu, 11 Mar 2021 09:39:55 +0000 (10:39 +0100)] 
Update pager.tmpl

this adds a missing translation

4 years agoproofreading German translation 134/head
Frederik Schwarzer [Thu, 11 Mar 2021 14:20:04 +0000 (15:20 +0100)] 
proofreading German translation

4 years agoChangelog.
Michael R Sweet [Thu, 11 Mar 2021 11:34:37 +0000 (06:34 -0500)] 
Changelog.

4 years agoMerge pull request #129 from jschwender/patch-2
Michael R Sweet [Thu, 11 Mar 2021 11:29:23 +0000 (06:29 -0500)] 
Merge pull request #129 from jschwender/patch-2

Update pager.tmpl

4 years agoUpdate pager.tmpl 129/head
jschwender [Thu, 11 Mar 2021 09:39:55 +0000 (10:39 +0100)] 
Update pager.tmpl

this adds a missing translation

4 years agotable header left aligned 128/head
jschwender [Thu, 11 Mar 2021 09:09:45 +0000 (10:09 +0100)] 
table header left aligned

see issue #127

4 years agoFix localization of InputSlot/media-source (Issue #120)
Michael R Sweet [Thu, 11 Mar 2021 00:25:21 +0000 (19:25 -0500)] 
Fix localization of InputSlot/media-source (Issue #120)

4 years agoUpdate Xcode project file.
Michael R Sweet [Wed, 10 Mar 2021 15:05:00 +0000 (10:05 -0500)] 
Update Xcode project file.

4 years agoDo some cleanup of the pkg-config support.
Michael R Sweet [Wed, 10 Mar 2021 22:01:22 +0000 (17:01 -0500)] 
Do some cleanup of the pkg-config support.

4 years agoDeprecate cups-config (Issue #97)
Michael R Sweet [Wed, 10 Mar 2021 21:12:03 +0000 (16:12 -0500)] 
Deprecate cups-config (Issue #97)

4 years agoadding pkgconfig file
surajkulriya [Mon, 8 Mar 2021 18:34:03 +0000 (00:04 +0530)] 
adding pkgconfig file

4 years agoscheduler: Admin task check: Grant access when client is our Snap
Till Kamppeter [Wed, 10 Mar 2021 20:48:18 +0000 (21:48 +0100)] 
scheduler: Admin task check: Grant access when client is our Snap

If the client Snap is the same as our cupsd is snapped in, grant
access without calling "snapctl". This makes the checks faster and
less resource-consuming if the inquiries are from the command line
tools or the included cups-browsed.

4 years agochange web page reference to openprinting web page
jschwender [Mon, 8 Mar 2021 23:09:09 +0000 (00:09 +0100)] 
change web page reference to openprinting web page

4 years agotranslation fix
jschwender [Mon, 8 Mar 2021 22:53:36 +0000 (23:53 +0100)] 
translation fix

4 years agoadded new translations
jschwender [Mon, 8 Mar 2021 22:39:04 +0000 (23:39 +0100)] 
added new translations

4 years agoFree emulations (Issue #124)
Michael R Sweet [Wed, 10 Mar 2021 20:30:54 +0000 (15:30 -0500)] 
Free emulations (Issue #124)

4 years agoInstall the USB backend to run as root.
Michael R Sweet [Wed, 10 Mar 2021 20:19:08 +0000 (15:19 -0500)] 
Install the USB backend to run as root.

4 years agoThe CUPS Snap uses "cups--control" and not "admin" any more as admin slot
Till Kamppeter [Tue, 9 Mar 2021 13:36:01 +0000 (14:36 +0100)] 
The CUPS Snap uses "cups--control" and not "admin" any more as admin slot

Renamed the default for "--with-cups-control-slot" from "admin" to
"cups-control".

4 years agoDo some cleanup of the pkg-config support.
Michael R Sweet [Wed, 10 Mar 2021 22:01:22 +0000 (17:01 -0500)] 
Do some cleanup of the pkg-config support.

4 years agoDeprecate cups-config (Issue #97)
Michael R Sweet [Wed, 10 Mar 2021 21:12:03 +0000 (16:12 -0500)] 
Deprecate cups-config (Issue #97)

4 years agoMerge pull request #122 from surajkulriya/pkgconfig2
Michael R Sweet [Wed, 10 Mar 2021 21:05:56 +0000 (16:05 -0500)] 
Merge pull request #122 from surajkulriya/pkgconfig2

adding pkgconfig file

4 years agoscheduler: Admin task check: Grant access when client is our Snap
Till Kamppeter [Wed, 10 Mar 2021 20:48:18 +0000 (21:48 +0100)] 
scheduler: Admin task check: Grant access when client is our Snap

If the client Snap is the same as our cupsd is snapped in, grant
access without calling "snapctl". This makes the checks faster and
less resource-consuming if the inquiries are from the command line
tools or the included cups-browsed.

4 years agoMerge pull request #123 from jschwender/master
Michael R Sweet [Wed, 10 Mar 2021 20:43:57 +0000 (15:43 -0500)] 
Merge pull request #123 from jschwender/master

added new translations

4 years agoFree emulations (Issue #124)
Michael R Sweet [Wed, 10 Mar 2021 20:30:54 +0000 (15:30 -0500)] 
Free emulations (Issue #124)

4 years agoInstall the USB backend to run as root.
Michael R Sweet [Wed, 10 Mar 2021 20:19:08 +0000 (15:19 -0500)] 
Install the USB backend to run as root.

4 years agoThe CUPS Snap uses "cups--control" and not "admin" any more as admin slot
Till Kamppeter [Tue, 9 Mar 2021 13:36:01 +0000 (14:36 +0100)] 
The CUPS Snap uses "cups--control" and not "admin" any more as admin slot

Renamed the default for "--with-cups-control-slot" from "admin" to
"cups-control".

4 years agoFix TXT record.
Michael R Sweet [Tue, 9 Mar 2021 01:20:34 +0000 (20:20 -0500)] 
Fix TXT record.

Don't include application/octet-stream in pdl value.

4 years agochange web page reference to openprinting web page 123/head
jschwender [Mon, 8 Mar 2021 23:09:09 +0000 (00:09 +0100)] 
change web page reference to openprinting web page

4 years agotranslation fix
jschwender [Mon, 8 Mar 2021 22:53:36 +0000 (23:53 +0100)] 
translation fix

4 years agoadded new translations
jschwender [Mon, 8 Mar 2021 22:39:04 +0000 (23:39 +0100)] 
added new translations

4 years agoadding pkgconfig file 122/head
surajkulriya [Mon, 8 Mar 2021 18:34:03 +0000 (00:04 +0530)] 
adding pkgconfig file

4 years agoRefactor the media[-col]-ready code to loop through the printer's media sizes and...
Michael R Sweet [Mon, 8 Mar 2021 12:47:45 +0000 (07:47 -0500)] 
Refactor the media[-col]-ready code to loop through the printer's media sizes and lookup the (smaller) list of ready sizes.

4 years agoFix scheduler crash when iterating supported sizes.
Michael R Sweet [Mon, 8 Mar 2021 12:10:37 +0000 (07:10 -0500)] 
Fix scheduler crash when iterating supported sizes.

4 years agoAdd media-col-ready and media-ready.
Michael R Sweet [Mon, 8 Mar 2021 00:58:57 +0000 (19:58 -0500)] 
Add media-col-ready and media-ready.

4 years agoAdd document-format-preferred and include image/urf in the TXT record.
Michael R Sweet [Mon, 8 Mar 2021 00:46:26 +0000 (19:46 -0500)] 
Add document-format-preferred and include image/urf in the TXT record.

4 years agoFix some clang-reported warnings.
Michael R Sweet [Mon, 8 Mar 2021 00:39:57 +0000 (19:39 -0500)] 
Fix some clang-reported warnings.

4 years agoAdd mopria-certified and URF/urf-supported keys/attributes.
Michael R Sweet [Mon, 8 Mar 2021 00:39:30 +0000 (19:39 -0500)] 
Add mopria-certified and URF/urf-supported keys/attributes.