]> git.ipfire.org Git - thirdparty/cups-filters.git/log
thirdparty/cups-filters.git
17 years agoAdd ppdPageSizeLimits API.
mike [Thu, 24 Jul 2008 00:55:30 +0000 (00:55 +0000)] 
Add ppdPageSizeLimits API.

17 years agoAdd side-channel support to the libusb-based USB backend (STR #1575).
mike [Wed, 23 Jul 2008 23:57:29 +0000 (23:57 +0000)] 
Add side-channel support to the libusb-based USB backend (STR #1575).

Still no back-channel support, which may require a newer version of libusb.

17 years agoFix fputs calls.
mike [Wed, 23 Jul 2008 23:51:26 +0000 (23:51 +0000)] 
Fix fputs calls.

17 years agoClean up Darwin USB errors so they are understandable, with debug messages
mike [Wed, 23 Jul 2008 23:32:48 +0000 (23:32 +0000)] 
Clean up Darwin USB errors so they are understandable, with debug messages
to provide the details to techs.

17 years agoFix ppdEmit* for custom JCL options.
mike [Wed, 23 Jul 2008 22:42:55 +0000 (22:42 +0000)] 
Fix ppdEmit* for custom JCL options.

17 years agoOnly report duplex-capable when Duplex is not conflicting with an installable
mike [Wed, 23 Jul 2008 22:13:49 +0000 (22:13 +0000)] 
Only report duplex-capable when Duplex is not conflicting with an installable
option.

17 years agoHandle Collate option differently in cupsResolveConflicts.
mike [Wed, 23 Jul 2008 22:04:01 +0000 (22:04 +0000)] 
Handle Collate option differently in cupsResolveConflicts.

17 years agoFix checks for invalid constraints so we don't try to use them.
mike [Wed, 23 Jul 2008 16:52:02 +0000 (16:52 +0000)] 
Fix checks for invalid constraints so we don't try to use them.

17 years agoRemove unnecessary pointer change.
mike [Wed, 23 Jul 2008 16:01:52 +0000 (16:01 +0000)] 
Remove unnecessary pointer change.

Mirror conflicts fixes to cupstestppd.

Debugging update in cupsd.

17 years agoFix memory leak - wasn't freeing new constraints array.
mike [Wed, 23 Jul 2008 00:48:44 +0000 (00:48 +0000)] 
Fix memory leak - wasn't freeing new constraints array.

17 years agoDon't report translation errors for English (en).
mike [Wed, 23 Jul 2008 00:06:25 +0000 (00:06 +0000)] 
Don't report translation errors for English (en).

17 years agoGenerate MD5 sums after making tarballs.
mike [Tue, 22 Jul 2008 20:46:55 +0000 (20:46 +0000)] 
Generate MD5 sums after making tarballs.

17 years agoChangelog.
mike [Mon, 21 Jul 2008 19:57:09 +0000 (19:57 +0000)] 
Changelog.

17 years agoReleasing a job did not always add the trailing banner.
mike [Mon, 21 Jul 2008 19:51:02 +0000 (19:51 +0000)] 
Releasing a job did not always add the trailing banner.

17 years agoFix crash bug caused by reuse of argument pointer in format_log_line.
mike [Mon, 21 Jul 2008 18:33:35 +0000 (18:33 +0000)] 
Fix crash bug caused by reuse of argument pointer in format_log_line.

17 years agoAdd Chinese localization of GNOME/KDE menu item (STR #2880)
mike [Fri, 18 Jul 2008 21:43:36 +0000 (21:43 +0000)] 
Add Chinese localization of GNOME/KDE menu item (STR #2880)

17 years agojob-impressions is not read-only, just job-impressions-completed.
mike [Fri, 18 Jul 2008 21:03:23 +0000 (21:03 +0000)] 
job-impressions is not read-only, just job-impressions-completed.

Pass job-impressions and job-originating-host-name to filters.

17 years agoStop the build when clang produces any issues.
mike [Fri, 18 Jul 2008 20:29:30 +0000 (20:29 +0000)] 
Stop the build when clang produces any issues.

17 years agoAdd clang scans of C++ code, even if the C++ support isn't 100% there yet.
mike [Fri, 18 Jul 2008 20:18:53 +0000 (20:18 +0000)] 
Add clang scans of C++ code, even if the C++ support isn't 100% there yet.

17 years agoFix some clang-detected issues.
mike [Fri, 18 Jul 2008 19:32:51 +0000 (19:32 +0000)] 
Fix some clang-detected issues.

17 years agoUpdate PPD API help.
mike [Fri, 18 Jul 2008 18:46:13 +0000 (18:46 +0000)] 
Update PPD API help.

17 years agoAdd note for cupsUIConstraints without resolver.
mike [Fri, 18 Jul 2008 18:39:41 +0000 (18:39 +0000)] 
Add note for cupsUIConstraints without resolver.

17 years agoFix constraints against custom options and PageSize/PageRegion.
mike [Fri, 18 Jul 2008 18:20:02 +0000 (18:20 +0000)] 
Fix constraints against custom options and PageSize/PageRegion.

Fix conflict resolution to not automatically change the page size.

Fix testppd tests to account for PageSize/PageRegion changes.

17 years agoChangelog.
mike [Fri, 18 Jul 2008 16:45:22 +0000 (16:45 +0000)] 
Changelog.

17 years agoMerge changes from constraints branch.
mike [Fri, 18 Jul 2008 16:43:43 +0000 (16:43 +0000)] 
Merge changes from constraints branch.

17 years agoFix crash bug - need to allocate PPD files separately so that we can free
mike [Wed, 16 Jul 2008 17:45:16 +0000 (17:45 +0000)] 
Fix crash bug - need to allocate PPD files separately so that we can free
old PPDs.

Also protect against bogus ppd-type values.

17 years agoNote change to 1284 device ID max size change.
mike [Wed, 16 Jul 2008 04:01:20 +0000 (04:01 +0000)] 
Note change to 1284 device ID max size change.

17 years agoSwitch to CUPS arrays.
mike [Wed, 16 Jul 2008 04:00:08 +0000 (04:00 +0000)] 
Switch to CUPS arrays.

17 years agoFix compile problem in testhttp.c.
mike [Tue, 15 Jul 2008 20:23:09 +0000 (20:23 +0000)] 
Fix compile problem in testhttp.c.

17 years agoAdd new AccessLogLevel directive to limit access_log verbosity.
mike [Tue, 15 Jul 2008 01:20:41 +0000 (01:20 +0000)] 
Add new AccessLogLevel directive to limit access_log verbosity.

17 years agoShow progress while we resolve a DNS-SD hostname...
mike [Mon, 14 Jul 2008 23:58:05 +0000 (23:58 +0000)] 
Show progress while we resolve a DNS-SD hostname...

Check for a NULL return indicating failure.

17 years agoImplement Bonjour printing spec priority key, even though it may cause problems
mike [Mon, 14 Jul 2008 23:34:41 +0000 (23:34 +0000)] 
Implement Bonjour printing spec priority key, even though it may cause problems
with printers that report the wrong "best" protocol to use...

17 years agoFix typo.
mike [Mon, 14 Jul 2008 23:34:03 +0000 (23:34 +0000)] 
Fix typo.

17 years agoDon't try to print files with 0 or 1 bytes.
mike [Mon, 14 Jul 2008 23:04:27 +0000 (23:04 +0000)] 
Don't try to print files with 0 or 1 bytes.

17 years agoChange the default LogLevel to "warn", and add a configure option to override
mike [Mon, 14 Jul 2008 21:28:18 +0000 (21:28 +0000)] 
Change the default LogLevel to "warn", and add a configure option to override
the default.

17 years agoFix default auth key stuff on Mac OS X, and add --with options to override.
mike [Mon, 14 Jul 2008 21:17:38 +0000 (21:17 +0000)] 
Fix default auth key stuff on Mac OS X, and add --with options to override.

17 years agoThe IPP backend did not relay marker-* attributes.
mike [Mon, 14 Jul 2008 20:33:49 +0000 (20:33 +0000)] 
The IPP backend did not relay marker-* attributes.

backend/ipp.c:
    - main(): Add marker attributes to requested attributes list.
    - check_printer_state(): Ditto.
    - report_attr(): Added.
    - report_printer_state(): Call report_attr() for all marker
      attributes we find.

17 years agoFix resolving of mDNS service names with periods.
mike [Mon, 14 Jul 2008 20:10:29 +0000 (20:10 +0000)] 
Fix resolving of mDNS service names with periods.

17 years agoThe CUPS GNOME/KDE menu item was not localized for Japanese (STR #2876)
mike [Mon, 14 Jul 2008 18:04:50 +0000 (18:04 +0000)] 
The CUPS GNOME/KDE menu item was not localized for Japanese (STR #2876)

17 years agoThe cupstestppd utility reported mixed line endings for Mac OS and Windows PPD
mike [Mon, 14 Jul 2008 18:02:21 +0000 (18:02 +0000)] 
The cupstestppd utility reported mixed line endings for Mac OS and Windows PPD
files (STR #2874)

systemv/cupstestppd.c:
    - check_basics(): Only set mixed if we don't have the right eol mode.

scheduler/testspeed.c:
    - Remove hold on jobs that are queued.

17 years agoThe scheduler did not handle expiring of implicit classes or their members
mike [Mon, 14 Jul 2008 06:06:06 +0000 (06:06 +0000)] 
The scheduler did not handle expiring of implicit classes or their members
properly, leading to a configuration where one of the members would have a
short name (STR #2766)

scheduler/classes.c:
    - cupsdDeletePrinterFromClasses(): Do not remove implicit class from
      ImplicitPrinters array, let cupsdDeletePrinter() handle that.

scheduler/dirsvc.c:
    - cupsdSendBrowseList(): Don't return if there are no local browse
      protocols, we still need to timeout queues; also ignore implicit
      classes.
    - process_browse_data(): Rework to share code between classes and
      printers; try the long name first, then the short name.

scheduler/main.c:
    - main(): Call cupsdSendBrowseList() even if there are not local
      browse protocols.

scheduler/printers.c:
    - Add useful debug2 log messages.

17 years agoThe scheduler and cupstestppd utilities did not support cupsFilter and
mike [Sat, 12 Jul 2008 16:44:15 +0000 (16:44 +0000)] 
The scheduler and cupstestppd utilities did not support cupsFilter and
cupsPreFilter programs with spaces in their names (STR #2866)

17 years agoIgnore clang directory.
mike [Fri, 11 Jul 2008 22:49:12 +0000 (22:49 +0000)] 
Ignore clang directory.

17 years agoRemoved unused variables and assignments found by the LLVM "clang" tool.
mike [Fri, 11 Jul 2008 22:46:21 +0000 (22:46 +0000)] 
Removed unused variables and assignments found by the LLVM "clang" tool.

Added NULL checks recommended by the LLVM "clang" tool.

17 years agoHide test main from tools.
mike [Fri, 11 Jul 2008 21:23:35 +0000 (21:23 +0000)] 
Hide test main from tools.

17 years agoRemove "drv" program from package lists.
mike [Thu, 10 Jul 2008 23:04:22 +0000 (23:04 +0000)] 
Remove "drv" program from package lists.

17 years agoAdd a simple web search program we can use for the cups.org web site.
mike [Fri, 4 Jul 2008 02:35:33 +0000 (02:35 +0000)] 
Add a simple web search program we can use for the cups.org web site.

17 years agoDon't copy debug messages to the printer-state-message attribute.
mike [Fri, 4 Jul 2008 01:41:19 +0000 (01:41 +0000)] 
Don't copy debug messages to the printer-state-message attribute.

17 years agoAlways update printer-state-message, but make sure that
mike [Thu, 3 Jul 2008 05:20:08 +0000 (05:20 +0000)] 
Always update printer-state-message, but make sure that
job-printer-state-message reflects the last most serious message.

17 years agoFix ?OID query keyword support (STR #2871)
mike [Wed, 2 Jul 2008 07:02:16 +0000 (07:02 +0000)] 
Fix ?OID query keyword support (STR #2871)

17 years agoFix loading of .strings files.
mike [Wed, 2 Jul 2008 06:09:39 +0000 (06:09 +0000)] 
Fix loading of .strings files.

17 years agoMerge cups-driverd changes from development branch.
mike [Wed, 2 Jul 2008 04:39:27 +0000 (04:39 +0000)] 
Merge cups-driverd changes from development branch.

17 years agoSupport apple.types in /private/etc/cups or /usr/share/cups/mime.
mike [Tue, 1 Jul 2008 22:16:17 +0000 (22:16 +0000)] 
Support apple.types in /private/etc/cups or /usr/share/cups/mime.

17 years agoMake util.h C++-safe.
mike [Tue, 1 Jul 2008 21:33:37 +0000 (21:33 +0000)] 
Make util.h C++-safe.

17 years agoMove PS prolog and trailer code to separate functions.
mike [Mon, 30 Jun 2008 21:19:31 +0000 (21:19 +0000)] 
Move PS prolog and trailer code to separate functions.

Disable CTRL-D to eliminate the last of the "UNDEFINED" pages.

17 years agoExport _cups_debug_fd even on non-debug builds...
mike [Fri, 27 Jun 2008 22:37:23 +0000 (22:37 +0000)] 
Export _cups_debug_fd even on non-debug builds...

17 years agoSpeed up debug mode by not using per-thread globals for the debug file
mike [Fri, 27 Jun 2008 22:35:04 +0000 (22:35 +0000)] 
Speed up debug mode by not using per-thread globals for the debug file
descriptor.  Instead, a single mutex can be used to provide a significant
speedup (4x on my Mac Book Pro...)

17 years agoRemove duplicate test.
mike [Fri, 27 Jun 2008 20:44:23 +0000 (20:44 +0000)] 
Remove duplicate test.

17 years agoMake sure "report levels" job runs at least one PostScript operator, otherwise
mike [Fri, 27 Jun 2008 16:29:09 +0000 (16:29 +0000)] 
Make sure "report levels" job runs at least one PostScript operator, otherwise
we get undefined/timeout errors on some printers.

17 years agoFix page_log output.
mike [Fri, 27 Jun 2008 15:56:00 +0000 (15:56 +0000)] 
Fix page_log output.

17 years agoEncode job-impressions as an integer.
mike [Thu, 26 Jun 2008 00:54:42 +0000 (00:54 +0000)] 
Encode job-impressions as an integer.

17 years agoFirst working USB backend based on libusb 0.1 - no backchannel or sidechannel
mike [Thu, 26 Jun 2008 00:46:24 +0000 (00:46 +0000)] 
First working USB backend based on libusb 0.1 - no backchannel or sidechannel
support yet, but it does work to print unidirectionally.

Make the default for Mac OS X to use the IOKit implementation - can be
overridden with "--enable-libusb" configure option.

17 years agoFix MIME database support for multiple directories - we need to read all of
mike [Thu, 26 Jun 2008 00:23:20 +0000 (00:23 +0000)] 
Fix MIME database support for multiple directories - we need to read all of
the types and then all of the filters.

Removed mimeMerge() and mimeNew().

Added mimeLoadFilters() and mimeLoadTypes().

Updated test suite to put mime.types and mime.convs in the DataDir/mime
location.

17 years agoMark all of the old localization packages as replaced by the main CUPS 1.4
mike [Wed, 25 Jun 2008 17:12:28 +0000 (17:12 +0000)] 
Mark all of the old localization packages as replaced by the main CUPS 1.4
package.

17 years agoPull serial number from device as needed.
mike [Tue, 24 Jun 2008 22:45:12 +0000 (22:45 +0000)] 
Pull serial number from device as needed.

Don't retry connections in open_device(), since we'll get stuck on a busy
printer.  Instead, do the retry in print_device().

Don't map manufacturer names for the device URI on Mac OS X.

Make and pass the device URI to the callback function from find_device().

Start implementing print_device().

17 years agoFix number-up problem with cgpdftops output.
mike [Tue, 24 Jun 2008 20:50:57 +0000 (20:50 +0000)] 
Fix number-up problem with cgpdftops output.

17 years agoInclude CUPS string header for strlcat/cpy.
mike [Tue, 24 Jun 2008 04:34:52 +0000 (04:34 +0000)] 
Include CUPS string header for strlcat/cpy.

17 years agoSave work on new libusb-based USB backend.
mike [Tue, 24 Jun 2008 01:28:36 +0000 (01:28 +0000)] 
Save work on new libusb-based USB backend.

17 years agoShow the hostname we are trying to resolve in the test.
mike [Mon, 23 Jun 2008 16:49:18 +0000 (16:49 +0000)] 
Show the hostname we are trying to resolve in the test.

17 years agoDocumentation fixes for typos reported by Detlef Riekenberg.
mike [Mon, 23 Jun 2008 16:47:38 +0000 (16:47 +0000)] 
Documentation fixes for typos reported by Detlef Riekenberg.

17 years agoThe scheduler would crash if you started a printer that pointed to a backend
mike [Sat, 21 Jun 2008 00:06:02 +0000 (00:06 +0000)] 
The scheduler would crash if you started a printer that pointed to a backend
that did not exist (STR #2865)

scheduler/ipp.c:
    - send_document(): Delay calling cupsdCheckJobs() until after we add
      the response info.

scheduler/job.c:
    - start_job(): Always reset filters pointer after calling cupsArrayDelete()
      if we don't return right away.

17 years agoUse unlink() when cleaning temporary directory, since cupsdRemoveFile() can
mike [Fri, 20 Jun 2008 21:06:02 +0000 (21:06 +0000)] 
Use unlink() when cleaning temporary directory, since cupsdRemoveFile() can
take a long time on large files.

17 years agoMake authenticated policy always authenticate - local users will probably
mike [Fri, 20 Jun 2008 17:37:43 +0000 (17:37 +0000)] 
Make authenticated policy always authenticate - local users will probably
get to use peer credentials...

17 years agoAdd ppdLocalizeAttr function and update docos.
mike [Thu, 19 Jun 2008 23:37:45 +0000 (23:37 +0000)] 
Add ppdLocalizeAttr function and update docos.

17 years agoAdd cupsMarkerNotice PPD keyword.
mike [Thu, 19 Jun 2008 23:22:19 +0000 (23:22 +0000)] 
Add cupsMarkerNotice PPD keyword.

Add support for marker-message keyword.

Document these things.

17 years agoRemove unnecessary globals.
mike [Wed, 18 Jun 2008 23:42:37 +0000 (23:42 +0000)] 
Remove unnecessary globals.

17 years agoMake sure we log job filter messages in update_job() since cupsdStatBufUpdate
mike [Wed, 18 Jun 2008 23:20:52 +0000 (23:20 +0000)] 
Make sure we log job filter messages in update_job() since cupsdStatBufUpdate
no longer does it for us.

17 years agoMore logging cleanup - let cupsdLogJob add the [Job NNN].
mike [Wed, 18 Jun 2008 23:18:32 +0000 (23:18 +0000)] 
More logging cleanup - let cupsdLogJob add the [Job NNN].

17 years agoStart cleanup of logging.
mike [Wed, 18 Jun 2008 22:31:26 +0000 (22:31 +0000)] 
Start cleanup of logging.

17 years agoUse a dynamically-allocated printf buffer in cupsFilePrintf().
mike [Wed, 18 Jun 2008 22:03:02 +0000 (22:03 +0000)] 
Use a dynamically-allocated printf buffer in cupsFilePrintf().

17 years agoJust echo the whole results in one command since "echo -n" vs. "echo \c" is
mike [Wed, 18 Jun 2008 18:03:22 +0000 (18:03 +0000)] 
Just echo the whole results in one command since "echo -n" vs. "echo \c" is
such a pain to deal with...

17 years agoAdd support for MIME type priorities and files in DataDir/mime (STR #2719)
mike [Tue, 17 Jun 2008 22:42:08 +0000 (22:42 +0000)] 
Add support for MIME type priorities and files in DataDir/mime (STR #2719)

Default priority is 100.

When auto-typing, scan all types and return the matching one with the highest
priority.

17 years agoDon't show PageRegion option.
mike [Tue, 17 Jun 2008 22:02:33 +0000 (22:02 +0000)] 
Don't show PageRegion option.

17 years agoDescribe custom option choices in terms of their parameter(s) and value(s)
mike [Tue, 17 Jun 2008 21:58:03 +0000 (21:58 +0000)] 
Describe custom option choices in terms of their parameter(s) and value(s)
(STR #2660)

17 years agoLog ATTR:, PAGE:, PPD:, and STATE: messages in debug log level.
mike [Tue, 17 Jun 2008 20:51:52 +0000 (20:51 +0000)] 
Log ATTR:, PAGE:, PPD:, and STATE: messages in debug log level.

17 years agoDon't map every generic locale to a country-specific version (specifically
mike [Tue, 17 Jun 2008 19:22:54 +0000 (19:22 +0000)] 
Don't map every generic locale to a country-specific version (specifically
to fix a problem with Portuguese on Mac OS X...)

17 years ago"Deny" denies access, not allows.
mike [Tue, 17 Jun 2008 18:26:54 +0000 (18:26 +0000)] 
"Deny" denies access, not allows.

17 years agoUse .SS for subheadings instead of .Sh.
mike [Tue, 17 Jun 2008 14:34:20 +0000 (14:34 +0000)] 
Use .SS for subheadings instead of .Sh.

17 years agoOptimize http_debug_hex() so we don't waste time doing a hex dump when
mike [Mon, 16 Jun 2008 21:46:51 +0000 (21:46 +0000)] 
Optimize http_debug_hex() so we don't waste time doing a hex dump when
debug logging is disabled.

17 years agoUse elapsed time instead of showing raw time...
mike [Mon, 16 Jun 2008 21:28:50 +0000 (21:28 +0000)] 
Use elapsed time instead of showing raw time...

17 years agoMore cleanup.
mike [Mon, 16 Jun 2008 21:13:31 +0000 (21:13 +0000)] 
More cleanup.

17 years agofork() and exec() child processes to ensure that no frameworks or libraries
mike [Mon, 16 Jun 2008 21:08:11 +0000 (21:08 +0000)] 
fork() and exec() child processes to ensure that no frameworks or libraries
are using stale data from the parent.

17 years agoMore cleanup.
mike [Mon, 16 Jun 2008 20:48:39 +0000 (20:48 +0000)] 
More cleanup.

17 years agoFlush output before forking to avoid multiplied output.
mike [Mon, 16 Jun 2008 20:43:36 +0000 (20:43 +0000)] 
Flush output before forking to avoid multiplied output.

17 years agoUpdate the testspeed program to support port numbers in the server name and
mike [Mon, 16 Jun 2008 20:34:02 +0000 (20:34 +0000)] 
Update the testspeed program to support port numbers in the server name and
to better report things in "really verbose" mode.

17 years agoChangelog.
mike [Mon, 16 Jun 2008 17:57:38 +0000 (17:57 +0000)] 
Changelog.

17 years agoAdd simplified and traditional chinese language versions (STR #2851)
mike [Mon, 16 Jun 2008 17:56:27 +0000 (17:56 +0000)] 
Add simplified and traditional chinese language versions (STR #2851)

17 years agoAdd Citra Paska to the credits file.
mike [Mon, 16 Jun 2008 17:50:17 +0000 (17:50 +0000)] 
Add Citra Paska to the credits file.

17 years agoAdd Indonesian translation.
mike [Mon, 16 Jun 2008 17:46:57 +0000 (17:46 +0000)] 
Add Indonesian translation.

17 years agoFixed a timing issue in the backends that could cause data corruption with the
mike [Mon, 16 Jun 2008 17:39:40 +0000 (17:39 +0000)] 
Fixed a timing issue in the backends that could cause data corruption with the
CUPS_SC_CMD_DRAIN_OUTPUT side-channel command (STR #2858)

backend/runloop.c:
    - backendRunLoop(): Only check for side-channel commands when there
      is no pending data to write, and recheck input after doing a side
      channel command.

backend/serial.c:
    - main(): See above.