]> git.ipfire.org Git - thirdparty/cups-filters.git/log
thirdparty/cups-filters.git
17 years agoOnly complain about missing values in "strict" mode...
mike [Wed, 3 Sep 2008 20:19:43 +0000 (20:19 +0000)] 
Only complain about missing values in "strict" mode...

17 years agoAdd DefaultPaperSize directive (STR #2848)
mike [Wed, 3 Sep 2008 16:11:45 +0000 (16:11 +0000)] 
Add DefaultPaperSize directive (STR #2848)

17 years agoAdd table-of-contents.
mike [Wed, 3 Sep 2008 15:17:18 +0000 (15:17 +0000)] 
Add table-of-contents.

17 years agoThe scheduler now passes the job-originating-host-name value to filters in the
mike [Wed, 3 Sep 2008 14:20:17 +0000 (14:20 +0000)] 
The scheduler now passes the job-originating-host-name value to filters in the
options argument (STR #2558)

17 years agoAdd PDF job ticket support (STR #2903)
mike [Wed, 3 Sep 2008 14:13:26 +0000 (14:13 +0000)] 
Add PDF job ticket support (STR #2903)

17 years agoAdd DBUS notifier (STR #2529)
mike [Wed, 3 Sep 2008 13:47:57 +0000 (13:47 +0000)] 
Add DBUS notifier (STR #2529)

Still need dbus-notifier.xml file...

17 years agoPass document-name in cups-lpd (STR #2482)
mike [Wed, 3 Sep 2008 12:57:17 +0000 (12:57 +0000)] 
Pass document-name in cups-lpd (STR #2482)

17 years agodistclean target didn't clean desktop or init dirs.
mike [Wed, 3 Sep 2008 01:05:21 +0000 (01:05 +0000)] 
distclean target didn't clean desktop or init dirs.

17 years agoOverride all locale environment variables to ensure we get the correct locale
mike [Tue, 2 Sep 2008 19:33:19 +0000 (19:33 +0000)] 
Override all locale environment variables to ensure we get the correct locale
when running the PPD unit tests.

17 years agoAdd APICADriver keyword.
mike [Tue, 2 Sep 2008 19:23:47 +0000 (19:23 +0000)] 
Add APICADriver keyword.

17 years agoUpdate state keyword suffixes to be consistent and match up with the RFC 2911
mike [Tue, 2 Sep 2008 19:19:43 +0000 (19:19 +0000)] 
Update state keyword suffixes to be consistent and match up with the RFC 2911
definitions.

17 years agoDon't treat client-error-not-found as errors unless a URI is specified.
mike [Tue, 2 Sep 2008 19:13:03 +0000 (19:13 +0000)] 
Don't treat client-error-not-found as errors unless a URI is specified.

17 years agoAdd -k option to continue past compile/link errors.
mike [Mon, 1 Sep 2008 06:09:18 +0000 (06:09 +0000)] 
Add -k option to continue past compile/link errors.

17 years agoCleanup "clang" target.
mike [Mon, 1 Sep 2008 05:58:47 +0000 (05:58 +0000)] 
Cleanup "clang" target.

17 years agoRelay com.apple.print.recoverable-message messages.
mike [Fri, 29 Aug 2008 22:34:02 +0000 (22:34 +0000)] 
Relay com.apple.print.recoverable-message messages.

17 years agoRename mdns backend to "dnssd".
mike [Fri, 29 Aug 2008 22:19:39 +0000 (22:19 +0000)] 
Rename mdns backend to "dnssd".

17 years agoUpdate documentation to explain how the default printer is chosen.
mike [Fri, 29 Aug 2008 22:03:35 +0000 (22:03 +0000)] 
Update documentation to explain how the default printer is chosen.

17 years agoAdd sharing check box to add/modify printer page.
mike [Fri, 29 Aug 2008 21:16:56 +0000 (21:16 +0000)] 
Add sharing check box to add/modify printer page.

17 years agoFix mirrored landscape output.
mike [Fri, 29 Aug 2008 01:51:57 +0000 (01:51 +0000)] 
Fix mirrored landscape output.

17 years agoAdd error checking to posix_spawnattr_setbinpref_np and initialize ocount to 1.
mike [Thu, 28 Aug 2008 22:56:15 +0000 (22:56 +0000)] 
Add error checking to posix_spawnattr_setbinpref_np and initialize ocount to 1.

Build usb backend with all architectures.

17 years agoCleanup for job-media-progress attribute.
mike [Thu, 28 Aug 2008 22:17:13 +0000 (22:17 +0000)] 
Cleanup for job-media-progress attribute.

17 years agoAdd support for job-media-progress attribute.
mike [Thu, 28 Aug 2008 20:38:13 +0000 (20:38 +0000)] 
Add support for job-media-progress attribute.

17 years agoRevise code to wait up to 5 seconds. We'll tune the numbers later...
mike [Thu, 28 Aug 2008 20:21:56 +0000 (20:21 +0000)] 
Revise code to wait up to 5 seconds.  We'll tune the numbers later...

17 years agoRevert change - always use printer-name for profile registrations.
mike [Thu, 28 Aug 2008 20:14:34 +0000 (20:14 +0000)] 
Revert change - always use printer-name for profile registrations.

17 years agoThe scheduler did not correctly update the auth-info-required value(s) if the
mike [Thu, 28 Aug 2008 00:08:56 +0000 (00:08 +0000)] 
The scheduler did not correctly update the auth-info-required value(s) if the
AuthType was Default.

17 years agoAlso check that printer->info is not the empty string.
mike [Wed, 27 Aug 2008 23:23:18 +0000 (23:23 +0000)] 
Also check that printer->info is not the empty string.

17 years agoRegister human-readable name instead of queue ID, if defined.
mike [Wed, 27 Aug 2008 23:19:30 +0000 (23:19 +0000)] 
Register human-readable name instead of queue ID, if defined.

17 years agoAlso separate unit tests for drivers and scheduler.
mike [Wed, 27 Aug 2008 22:53:31 +0000 (22:53 +0000)] 
Also separate unit tests for drivers and scheduler.

17 years agoAllow a NULL pointer to _httpAddrPort().
mike [Wed, 27 Aug 2008 21:48:41 +0000 (21:48 +0000)] 
Allow a NULL pointer to _httpAddrPort().

17 years agoThe scheduler required Kerberos authentication for all operations on remote
mike [Wed, 27 Aug 2008 21:30:44 +0000 (21:30 +0000)] 
The scheduler required Kerberos authentication for all operations on remote
Kerberized printers instead of just for the operations that needed it.

17 years agoMake unit tests a configurable build option.
mike [Wed, 27 Aug 2008 21:12:43 +0000 (21:12 +0000)] 
Make unit tests a configurable build option.

Make debug printfs a separate configurable build option.

17 years agoUse _cupsStrFree on last status message in thread destructor.
mike [Wed, 27 Aug 2008 18:14:10 +0000 (18:14 +0000)] 
Use _cupsStrFree on last status message in thread destructor.

17 years agoThe socket backend could wait indefinitely for back-channel data with some
mike [Wed, 27 Aug 2008 17:14:46 +0000 (17:14 +0000)] 
The socket backend could wait indefinitely for back-channel data with some
devices.

17 years agoChangelog.
mike [Wed, 27 Aug 2008 04:12:36 +0000 (04:12 +0000)] 
Changelog.

17 years agoUpdate PostScript docos (STR #2904)
mike [Wed, 27 Aug 2008 04:11:52 +0000 (04:11 +0000)] 
Update PostScript docos (STR #2904)

17 years agoPJL panel messages were not reset correctly on older printers (STR #2909)
mike [Tue, 26 Aug 2008 03:39:59 +0000 (03:39 +0000)] 
PJL panel messages were not reset correctly on older printers (STR #2909)

17 years agocupsfilter used the wrong default path (STR #2908)
mike [Tue, 26 Aug 2008 03:37:33 +0000 (03:37 +0000)] 
cupsfilter used the wrong default path (STR #2908)

17 years agoFix address matching for "BrowseAddress @IF(name)" (STR #2910)
mike [Tue, 26 Aug 2008 03:15:14 +0000 (03:15 +0000)] 
Fix address matching for "BrowseAddress @IF(name)" (STR #2910)

Fix "make clang" target.

17 years agoUpdate API docos.
mike [Mon, 25 Aug 2008 21:21:40 +0000 (21:21 +0000)] 
Update API docos.

Use size_t for launchd functions.

17 years agoDon't apply resolvers when they change the current option/choice.
mike [Mon, 25 Aug 2008 20:54:30 +0000 (20:54 +0000)] 
Don't apply resolvers when they change the current option/choice.

Don't override the current option/choice.

Update test program to check for proper operation with and without passing a
current option.

17 years agoRename appleGetLocations to appleCopyLocations to reflect that a new copy is
mike [Sat, 23 Aug 2008 06:06:50 +0000 (06:06 +0000)] 
Rename appleGetLocations to appleCopyLocations to reflect that a new copy is
created.  Also release the locations array.

17 years agoProtect against divide-by-zero when SNMP printer MIB returns invalid values.
mike [Sat, 23 Aug 2008 05:33:25 +0000 (05:33 +0000)] 
Protect against divide-by-zero when SNMP printer MIB returns invalid values.

17 years agoUpdate cupsResolveConflicts to try non-default option choices to resolve
mike [Fri, 22 Aug 2008 02:40:57 +0000 (02:40 +0000)] 
Update cupsResolveConflicts to try non-default option choices to resolve
conflicts.

17 years agoAdd cupsResolveConflicts test program.
mike [Fri, 22 Aug 2008 02:37:29 +0000 (02:37 +0000)] 
Add cupsResolveConflicts test program.

17 years agoReorder functions.
mike [Thu, 21 Aug 2008 20:33:06 +0000 (20:33 +0000)] 
Reorder functions.

17 years agoAllow cupsBorderlessScalingFactor to be as low as 0.1.
mike [Thu, 21 Aug 2008 04:19:45 +0000 (04:19 +0000)] 
Allow cupsBorderlessScalingFactor to be as low as 0.1.

17 years agoSet last error to IPP_OK when there are destinations, IPP_INTERNAL_ERROR
mike [Wed, 20 Aug 2008 00:14:36 +0000 (00:14 +0000)] 
Set last error to IPP_OK when there are destinations, IPP_INTERNAL_ERROR
for bad arguments...

17 years ago_cupsSNMPWrite() incorrectly changed the address that was passed to it.
mike [Wed, 20 Aug 2008 00:07:25 +0000 (00:07 +0000)] 
_cupsSNMPWrite() incorrectly changed the address that was passed to it.

Add _httpAddrPort() function.

Update debug messages and code to use new _httpAddrPort() function.

17 years agoFix one more compile bug when we don't have LDAP+SSL.
mike [Tue, 19 Aug 2008 04:44:07 +0000 (04:44 +0000)] 
Fix one more compile bug when we don't have LDAP+SSL.

17 years agoFix compile error with LDAP.
mike [Tue, 19 Aug 2008 04:40:10 +0000 (04:40 +0000)] 
Fix compile error with LDAP.

17 years agoAdd ippTagString/Value APIs.
mike [Tue, 19 Aug 2008 04:22:14 +0000 (04:22 +0000)] 
Add ippTagString/Value APIs.

Allow no-value tags in 1setOf arrays of string attributes, to work around
a Brother IPP bug.

Add more debug printfs, and make them all consistent.

Reconnect before sending a request if the last response had
"Connection: close" as one of the headers.

The test suite should expect 17 errors since we now log IPP errors in
error_log.

17 years agocupsAdminGetServerSettings with CUPS_HTTP_DEFAULT immediately connects to
mike [Sat, 16 Aug 2008 01:37:09 +0000 (01:37 +0000)] 
cupsAdminGetServerSettings with CUPS_HTTP_DEFAULT immediately connects to
cupsd instead of trying to read cupsd.conf directly first.

17 years agocupsdCloseClient() did not clear (free) the HTTP fields, leading to a small
mike [Thu, 14 Aug 2008 06:29:24 +0000 (06:29 +0000)] 
cupsdCloseClient() did not clear (free) the HTTP fields, leading to a small
memory leak for authenticated requests.

17 years agoMake sure "uri" is initialized...
mike [Thu, 14 Aug 2008 06:01:52 +0000 (06:01 +0000)] 
Make sure "uri" is initialized...

17 years agoUse debug log level for all but "forbidden" HTTP statuses.
mike [Thu, 14 Aug 2008 05:52:23 +0000 (05:52 +0000)] 
Use debug log level for all but "forbidden" HTTP statuses.

17 years agoMake IPP and HTTP status reporting consistent.
mike [Thu, 14 Aug 2008 05:49:19 +0000 (05:49 +0000)] 
Make IPP and HTTP status reporting consistent.

17 years agoLog the request URI, too.
mike [Thu, 14 Aug 2008 05:40:26 +0000 (05:40 +0000)] 
Log the request URI, too.

17 years agoFree the line buffer on early errors.
mike [Thu, 14 Aug 2008 05:36:40 +0000 (05:36 +0000)] 
Free the line buffer on early errors.

17 years agoReturn localized strings, and handle HTTP_SERVICE_UNAVAILABLE.
mike [Thu, 14 Aug 2008 04:43:24 +0000 (04:43 +0000)] 
Return localized strings, and handle HTTP_SERVICE_UNAVAILABLE.

17 years agoMake the default config file permissions 0640 on Mac OS X as well.
mike [Thu, 14 Aug 2008 04:28:05 +0000 (04:28 +0000)] 
Make the default config file permissions 0640 on Mac OS X as well.

17 years agoFix --with-access-log-level configure option.
mike [Wed, 13 Aug 2008 23:36:35 +0000 (23:36 +0000)] 
Fix --with-access-log-level configure option.

17 years agoFix cups-lpd man page.
mike [Sat, 9 Aug 2008 06:37:04 +0000 (06:37 +0000)] 
Fix cups-lpd man page.

17 years agoAdd A5 support to rastertohp (STR #2798)
mike [Mon, 4 Aug 2008 21:02:09 +0000 (21:02 +0000)] 
Add A5 support to rastertohp (STR #2798)

17 years agoUse xdg-open when available (STR #2724)
mike [Mon, 4 Aug 2008 20:55:13 +0000 (20:55 +0000)] 
Use xdg-open when available (STR #2724)

17 years agoAdd -h option to cups-lpd (STR #2794)
mike [Mon, 4 Aug 2008 20:50:04 +0000 (20:50 +0000)] 
Add -h option to cups-lpd (STR #2794)

17 years agoAdd --enable/disable-acl configure option so ACL support can be disabled
mike [Mon, 4 Aug 2008 20:44:16 +0000 (20:44 +0000)] 
Add --enable/disable-acl configure option so ACL support can be disabled
(STR #2723)

17 years agoThe scheduler now sets the PAM_TTY parameter and the PAM_ESTABLISH_CRED
mike [Mon, 4 Aug 2008 20:38:50 +0000 (20:38 +0000)] 
The scheduler now sets the PAM_TTY parameter and the PAM_ESTABLISH_CRED
credential flag (STR #2745)

17 years agoLog unsuccessful requests as errors (STR #2616)
mike [Mon, 4 Aug 2008 20:27:51 +0000 (20:27 +0000)] 
Log unsuccessful requests as errors (STR #2616)

17 years agoAlso add retry-current-job to valid printer-error-policy checks.
mike [Mon, 4 Aug 2008 20:20:06 +0000 (20:20 +0000)] 
Also add retry-current-job to valid printer-error-policy checks.

17 years agoAdded support for a "retry-current-job" error policy that retries the current
mike [Mon, 4 Aug 2008 20:19:01 +0000 (20:19 +0000)] 
Added support for a "retry-current-job" error policy that retries the current
job immediately when the backend encounters an error (STR #2555)

scheduler/job.c:
    - cupsdFinishJob(): Add handling of retry-current-job error policy.

scheduler/printers.c:
    - cupsdSetPrinterAttrs(): Add retry-current-job to the list of policies.

17 years agoThe scheduler now returns a "forbidden" error when a user correctly
mike [Mon, 4 Aug 2008 20:08:01 +0000 (20:08 +0000)] 
The scheduler now returns a "forbidden" error when a user correctly
authenticates but does not have permission to continue further (STR #2101)

scheduler/auth.c:
    - cupsdIsAuthorized(): Return HTTP_FORBIDDEN for unauthorized but
      authenticated access.

17 years agoUse SSL_CTX_use_certificate_chain_file to load certificates from the
mike [Mon, 4 Aug 2008 18:09:00 +0000 (18:09 +0000)] 
Use SSL_CTX_use_certificate_chain_file to load certificates from the
ServerCertificate file (STR #2146)

17 years agoNew RSS subscriptions now create their feed files immediately (STR #2853)
mike [Fri, 1 Aug 2008 21:11:55 +0000 (21:11 +0000)] 
New RSS subscriptions now create their feed files immediately (STR #2853)

notifier/rss.c:
    - main(): Create RSS file at beginning of loop and use a "changed"
      flag so we can create missing RSS files in one place.  Also add a
      30 second idle timeout.

scheduler/subscriptions.c:
    - cupsdAddSubscription(): Start RSS notifiers immediately when added
      (doesn't auto-start when starting cupsd...)

17 years agoDon't retry requests if we are unable to reconnect to the server.
mike [Fri, 1 Aug 2008 19:59:00 +0000 (19:59 +0000)] 
Don't retry requests if we are unable to reconnect to the server.

17 years agoFirefox 3 did not work with the CUPS web interface in SSL mode (STR #2892)
mike [Fri, 1 Aug 2008 18:31:05 +0000 (18:31 +0000)] 
Firefox 3 did not work with the CUPS web interface in SSL mode (STR #2892)

cups/http.c:
    - http_wait(): Fix line wrapping.

scheduler/client.c:
    - cupsdReadClient(): Use data_ready() instead of con->http.used.
    - data_ready(): Added, largely copied from http_wait()...

17 years agoCustom options with multiple parameters were not emitted correctly.
mike [Fri, 1 Aug 2008 00:27:24 +0000 (00:27 +0000)] 
Custom options with multiple parameters were not emitted correctly.

cups/emit.c:
    - ppdEmitString(): Sort custom parameters in the order specified in
      the PPD file.
    - ppd_compare_cparams(): Added.

cups/mark.c:
    - ppdMarkOption(): Pass full choice string to cupsParseOptions for
      "{param=value ... param=value}" choices.

cups/options.c:
    - cupsParseOptions(): Handle "{param=value ... param=value}" strings
      properly.

cups/test.ppd:
    - Add second parameter to custom StringOption with reversed order.

cups/testppd.c:
    - Add custom StringOption to custom option test.

17 years agoAdd datarootdir to SMF file to silence autoconf warning.
mike [Thu, 31 Jul 2008 17:16:48 +0000 (17:16 +0000)] 
Add datarootdir to SMF file to silence autoconf warning.

17 years agoMore clang fixes.
mike [Wed, 30 Jul 2008 23:40:24 +0000 (23:40 +0000)] 
More clang fixes.

17 years agoDon't need to increment pointer (dead store).
mike [Wed, 30 Jul 2008 20:53:31 +0000 (20:53 +0000)] 
Don't need to increment pointer (dead store).

17 years agoDon't leak the memory used by the network name.
mike [Wed, 30 Jul 2008 20:52:07 +0000 (20:52 +0000)] 
Don't leak the memory used by the network name.

17 years agoAdd "-Werror-implicit-function-declaration" to developer mode compiler flags.
mike [Wed, 30 Jul 2008 18:53:57 +0000 (18:53 +0000)] 
Add "-Werror-implicit-function-declaration" to developer mode compiler flags.

17 years agoUse AvailabilityMacros.h on Mac OS X so that both the minimum and maximum OS
mike [Wed, 30 Jul 2008 18:17:20 +0000 (18:17 +0000)] 
Use AvailabilityMacros.h on Mac OS X so that both the minimum and maximum OS
versions are accounted for.

17 years agoRemove deprecated hue and saturation options from the printing options help.
mike [Wed, 30 Jul 2008 16:26:10 +0000 (16:26 +0000)] 
Remove deprecated hue and saturation options from the printing options help.

Mark brightness, gamma, hue, and saturation options as deprecated in the
CUPS IPP spec.

17 years agoFix cups-deviced - was chopping up the wrong string.
mike [Tue, 29 Jul 2008 04:55:49 +0000 (04:55 +0000)] 
Fix cups-deviced - was chopping up the wrong string.

17 years agoAdd device-location attribute.
mike [Tue, 29 Jul 2008 01:11:15 +0000 (01:11 +0000)] 
Add device-location attribute.

Add cupsBackendReport() API.

Update cupsGetDevices() to pass device-location.

Update cups-deviced to support quoted strings and device-location.

17 years agoChangelog.
mike [Mon, 28 Jul 2008 22:03:45 +0000 (22:03 +0000)] 
Changelog.

17 years agoDon't add "custom" choice more than once.
mike [Mon, 28 Jul 2008 21:54:24 +0000 (21:54 +0000)] 
Don't add "custom" choice more than once.

Refine cupstestppd:
    - Only fail duplex checks for Duplex keyword.
    - Change the warning message for non-Duplex duplex keywords.
    - Add checks for option duplicates - mainly for "Foo" and "foo"
      (not allowed!), but it looks like we have PPDs with real duplicate
      choices.
    - Disable translation checks for numbers - in most cases we don't need
      to localize them.

17 years agoOne more spot to not copy testnotifier.
mike [Mon, 28 Jul 2008 21:14:34 +0000 (21:14 +0000)] 
One more spot to not copy testnotifier.

17 years agoDon't install "testnotifier".
mike [Mon, 28 Jul 2008 20:51:49 +0000 (20:51 +0000)] 
Don't install "testnotifier".

17 years agoUpdate all usage of _cupsSetError to result in a localized message.
mike [Mon, 28 Jul 2008 18:50:45 +0000 (18:50 +0000)] 
Update all usage of _cupsSetError to result in a localized message.

Use string pool for message.

17 years agoAdd support for custom options in the web interface (STR #1729)
mike [Fri, 25 Jul 2008 23:50:14 +0000 (23:50 +0000)] 
Add support for custom options in the web interface (STR #1729)

17 years agoAdded support for Mozilla LDAP, reconnection to LDAP servers, and improved LDAP
mike [Fri, 25 Jul 2008 21:01:34 +0000 (21:01 +0000)] 
Added support for Mozilla LDAP, reconnection to LDAP servers, and improved LDAP
performance (STR #1962)

17 years agoAdded Solaris SMF support (STR #1477)
mike [Fri, 25 Jul 2008 20:06:08 +0000 (20:06 +0000)] 
Added Solaris SMF support (STR #1477)

17 years agoAdd TCP wrapper support (STR #263)
mike [Fri, 25 Jul 2008 19:47:20 +0000 (19:47 +0000)] 
Add TCP wrapper support (STR #263)

17 years agoUpdate Kerberos help.
mike [Fri, 25 Jul 2008 17:12:35 +0000 (17:12 +0000)] 
Update Kerberos help.

17 years agoDocument new cupsMediaQualifier2, cupsMediaQualifier3, cupsMaxSize, and
mike [Fri, 25 Jul 2008 04:46:52 +0000 (04:46 +0000)] 
Document new cupsMediaQualifier2, cupsMediaQualifier3, cupsMaxSize, and
cupsMinSize attributes.

17 years agoFix PAGE: message, simplify offline message.
mike [Fri, 25 Jul 2008 04:41:31 +0000 (04:41 +0000)] 
Fix PAGE: message, simplify offline message.

17 years agoFix one more x86_64 path in usb-darwin.c.
mike [Fri, 25 Jul 2008 04:35:23 +0000 (04:35 +0000)] 
Fix one more x86_64 path in usb-darwin.c.

Use off_t for the cached PPD file size.

17 years agoFix conditional compile for x86_64.
mike [Thu, 24 Jul 2008 19:09:46 +0000 (19:09 +0000)] 
Fix conditional compile for x86_64.

17 years agoSupport fallback to both ppc and i386.
mike [Thu, 24 Jul 2008 17:56:40 +0000 (17:56 +0000)] 
Support fallback to both ppc and i386.