]> git.ipfire.org Git - thirdparty/cups-filters.git/log
thirdparty/cups-filters.git
16 years agoFix favicon stuff in web interface.
mike [Thu, 9 Apr 2009 21:22:42 +0000 (21:22 +0000)] 
Fix favicon stuff in web interface.

16 years agoFix SSL support on Mac OS X - we need to lookup the certificate using the
mike [Thu, 9 Apr 2009 19:01:40 +0000 (19:01 +0000)] 
Fix SSL support on Mac OS X - we need to lookup the certificate using the
hostname and not the IP address, so if sharing is enabled we need to lookup
the local address of the client connection...

16 years agoReduce timeout to 5 seconds after the first read (initial timeout is large to
mike [Thu, 9 Apr 2009 18:38:08 +0000 (18:38 +0000)] 
Reduce timeout to 5 seconds after the first read (initial timeout is large to
allow for connection delays), and update comments...

16 years agoDon't copy data when we write exactly HTTP_MAX_BUFFER bytes.
mike [Tue, 7 Apr 2009 20:56:07 +0000 (20:56 +0000)] 
Don't copy data when we write exactly HTTP_MAX_BUFFER bytes.

16 years agoAdd an additional performance optimization - only check for response data if
mike [Tue, 7 Apr 2009 20:53:23 +0000 (20:53 +0000)] 
Add an additional performance optimization - only check for response data if
we have written data.

16 years agoDrop CUPS version numbers from sample driver NickName's.
mike [Tue, 7 Apr 2009 17:39:06 +0000 (17:39 +0000)] 
Drop CUPS version numbers from sample driver NickName's.

16 years agoCatch SIGTERM so we don't stop a queue because the resolve was canceled.
mike [Tue, 7 Apr 2009 17:27:09 +0000 (17:27 +0000)] 
Catch SIGTERM so we don't stop a queue because the resolve was canceled.

16 years agoDon't cause the write buffer to be flushed in cupsWriteRequestData.
mike [Tue, 7 Apr 2009 15:48:14 +0000 (15:48 +0000)] 
Don't cause the write buffer to be flushed in cupsWriteRequestData.

Make "http_wait" available within libcups, and use that API instead of
httpCheck or httpWait, both of which flush the write buffer as needed.

16 years agoFix test program.
mike [Fri, 3 Apr 2009 23:58:57 +0000 (23:58 +0000)] 
Fix test program.

16 years agoWait 2 seconds before trying the domain lookup.
mike [Fri, 3 Apr 2009 21:33:41 +0000 (21:33 +0000)] 
Wait 2 seconds before trying the domain lookup.

16 years agoMake sure we always deallocate main service ref.
mike [Fri, 3 Apr 2009 20:38:52 +0000 (20:38 +0000)] 
Make sure we always deallocate main service ref.

16 years agoMove all of the debug stuff and string.h references to a private header.
mike [Fri, 3 Apr 2009 17:35:17 +0000 (17:35 +0000)] 
Move all of the debug stuff and string.h references to a private header.

Use the standard DEBUG_printf support.

Make sure debug.h is ready for C++...

16 years agoAdd German translations of the web interface (STR #3141)
mike [Fri, 3 Apr 2009 15:55:28 +0000 (15:55 +0000)] 
Add German translations of the web interface (STR #3141)

16 years agoMake changes to support "wide-area Bonjour" printing.
mike [Fri, 3 Apr 2009 02:10:20 +0000 (02:10 +0000)] 
Make changes to support "wide-area Bonjour" printing.

16 years agoAdd missing printer filters, and track the cups-insecure-filter-warning and
mike [Thu, 2 Apr 2009 22:53:56 +0000 (22:53 +0000)] 
Add missing printer filters, and track the cups-insecure-filter-warning and
cups-missing-filter-warning states more dynamically.

16 years agoAdd additional logging.
mike [Thu, 2 Apr 2009 22:16:42 +0000 (22:16 +0000)] 
Add additional logging.

16 years agoSend a notification when we change the default printer.
mike [Wed, 1 Apr 2009 21:40:25 +0000 (21:40 +0000)] 
Send a notification when we change the default printer.

16 years agoFix prototype for cupsGetDevices (include and exclude swapped).
mike [Wed, 1 Apr 2009 20:59:06 +0000 (20:59 +0000)] 
Fix prototype for cupsGetDevices (include and exclude swapped).

ippTagString and ippTagValue were not exported.

Update pipe_command to generate debug messages and use a [CGI] prefix for
consistency.

16 years agoFix another edge case for the "CGI program exits before sending data" fix.
mike [Tue, 31 Mar 2009 22:18:24 +0000 (22:18 +0000)] 
Fix another edge case for the "CGI program exits before sending data" fix.

16 years agoDon't report serial ports that aren't async serial ports.
mike [Mon, 30 Mar 2009 19:18:43 +0000 (19:18 +0000)] 
Don't report serial ports that aren't async serial ports.

16 years agoRemove unused variable.
mike [Fri, 27 Mar 2009 18:51:59 +0000 (18:51 +0000)] 
Remove unused variable.

16 years agoMore cleanup of the default printer stuff; move all of the user default stuff
mike [Fri, 27 Mar 2009 18:15:05 +0000 (18:15 +0000)] 
More cleanup of the default printer stuff; move all of the user default stuff
to a separate function that is used by cupsGetDefault*, cupsGetDests*, and
cupsGetNamedDest.

16 years agoMake sure the location-specific default is used over ~/.cups/lpoptions or
mike [Fri, 27 Mar 2009 16:48:59 +0000 (16:48 +0000)] 
Make sure the location-specific default is used over ~/.cups/lpoptions or
/etc/cups/lpoptions defaults, but doesn't override LPDEST or PRINTER.

16 years agoClear job-printer-state-message when starting a job.
mike [Thu, 26 Mar 2009 22:36:25 +0000 (22:36 +0000)] 
Clear job-printer-state-message when starting a job.

16 years agoDon't limit DNS-SD registrations to .local.
mike [Wed, 25 Mar 2009 18:09:27 +0000 (18:09 +0000)] 
Don't limit DNS-SD registrations to .local.

16 years agoMove class_name method to a compile-time debugging macro so we don't waste
mike [Wed, 25 Mar 2009 00:35:16 +0000 (00:35 +0000)] 
Move class_name method to a compile-time debugging macro so we don't waste
space for it on production builds.

Also make sure C++ code gets the same DEBUG and DEBUG_GUARD flags as C code.

16 years agoFix memory leaks caused by ppdcArray retaining on add.
mike [Wed, 25 Mar 2009 00:20:49 +0000 (00:20 +0000)] 
Fix memory leaks caused by ppdcArray retaining on add.

16 years agoFix bug in previous helper fix.
mike [Tue, 24 Mar 2009 05:38:23 +0000 (05:38 +0000)] 
Fix bug in previous helper fix.

16 years agoRemove abort() used for testing.
mike [Mon, 23 Mar 2009 21:58:15 +0000 (21:58 +0000)] 
Remove abort() used for testing.

16 years agoIf a CGI process died before sending its MIME headers, the request would hang
mike [Mon, 23 Mar 2009 21:57:42 +0000 (21:57 +0000)] 
If a CGI process died before sending its MIME headers, the request would hang
on the client.

16 years agoFix search template for printer/class/job pages (STR #3132)
mike [Mon, 23 Mar 2009 15:52:46 +0000 (15:52 +0000)] 
Fix search template for printer/class/job pages (STR #3132)

16 years ago<rdar://problem/6705402> marker-message attribute missing after cupsd restart
mike [Sun, 22 Mar 2009 23:21:58 +0000 (23:21 +0000)] 
<rdar://problem/6705402> marker-message attribute missing after cupsd restart

Copy marker-message from old attributes.

16 years agoFix memory leak.
mike [Sat, 21 Mar 2009 05:54:04 +0000 (05:54 +0000)] 
Fix memory leak.

16 years agoMore logging fixes.
mike [Fri, 20 Mar 2009 21:32:16 +0000 (21:32 +0000)] 
More logging fixes.

16 years agoFix some error reporting bugs.
mike [Fri, 20 Mar 2009 17:41:55 +0000 (17:41 +0000)] 
Fix some error reporting bugs.

16 years agoMake sure we log things.
mike [Fri, 20 Mar 2009 16:45:12 +0000 (16:45 +0000)] 
Make sure we log things.

16 years agoWrite Printer lines in classes.conf...
mike [Fri, 20 Mar 2009 16:36:38 +0000 (16:36 +0000)] 
Write Printer lines in classes.conf...

16 years agoUpdate documentation on the CUPS-Authenticate-Job operation.
mike [Fri, 20 Mar 2009 16:22:12 +0000 (16:22 +0000)] 
Update documentation on the CUPS-Authenticate-Job operation.

16 years agoAdd a TODO note - we need to respond with the same IPP version as the requestor.
mike [Fri, 20 Mar 2009 01:55:54 +0000 (01:55 +0000)] 
Add a TODO note - we need to respond with the same IPP version as the requestor.

Also add a "drv" ppd-type string that should be unused.

16 years agoFix order of PAM calls.
mike [Fri, 20 Mar 2009 01:34:02 +0000 (01:34 +0000)] 
Fix order of PAM calls.

16 years agoFix filtering of drivers (STR #3136)
mike [Wed, 18 Mar 2009 17:08:22 +0000 (17:08 +0000)] 
Fix filtering of drivers (STR #3136)

16 years agoMake sure we leave space for "*CustomKeyword True"...
mike [Wed, 18 Mar 2009 17:02:14 +0000 (17:02 +0000)] 
Make sure we leave space for "*CustomKeyword True"...

16 years agoAnother update of the Spanish localization (STR #3135)
mike [Wed, 18 Mar 2009 16:32:22 +0000 (16:32 +0000)] 
Another update of the Spanish localization (STR #3135)

16 years agoThe scheduler did not support the job-hold-until attribute with the Restart-Job
mike [Wed, 18 Mar 2009 16:22:34 +0000 (16:22 +0000)] 
The scheduler did not support the job-hold-until attribute with the Restart-Job
operation (STR #3130)

16 years agoMake sure we wake up at the right time to kill unresponsive job filters.
mike [Mon, 16 Mar 2009 23:29:41 +0000 (23:29 +0000)] 
Make sure we wake up at the right time to kill unresponsive job filters.

16 years agoKill unresponsive job filters 30 seconds (or as set by JobKillDelay) after
mike [Mon, 16 Mar 2009 22:51:43 +0000 (22:51 +0000)] 
Kill unresponsive job filters 30 seconds (or as set by JobKillDelay) after
canceling or holding the job.

16 years agoAdd 1284 Device ID (sometimes synthesized) for all Bonjour-discovered printers.
mike [Mon, 16 Mar 2009 21:08:37 +0000 (21:08 +0000)] 
Add 1284 Device ID (sometimes synthesized) for all Bonjour-discovered printers.

16 years agoThe rastertohp driver did not set the 1-sided printing mode when needed
mike [Mon, 16 Mar 2009 15:56:44 +0000 (15:56 +0000)] 
The rastertohp driver did not set the 1-sided printing mode when needed
(STR #3131)

16 years agoUpdate RTF license file.
mike [Fri, 13 Mar 2009 22:11:48 +0000 (22:11 +0000)] 
Update RTF license file.

16 years agoAdd new cupstestppd messages.
mike [Fri, 13 Mar 2009 22:08:34 +0000 (22:08 +0000)] 
Add new cupstestppd messages.

16 years agoLanguageVersion comparisons need to be case-insensitive (STR #3124)
mike [Fri, 13 Mar 2009 22:04:02 +0000 (22:04 +0000)] 
LanguageVersion comparisons need to be case-insensitive (STR #3124)

16 years agoComplain about common misspellings.
mike [Fri, 13 Mar 2009 21:55:31 +0000 (21:55 +0000)] 
Complain about common misspellings.

16 years agoMake sure we send a job-progress event for new printer-state-messages...
mike [Fri, 13 Mar 2009 21:07:58 +0000 (21:07 +0000)] 
Make sure we send a job-progress event for new printer-state-messages...

16 years agoAdd APScanAppPath checks in cupstestppd.
mike [Fri, 13 Mar 2009 20:51:21 +0000 (20:51 +0000)] 
Add APScanAppPath checks in cupstestppd.

Update message catalogs (again), including a fix to cups_it.po.

16 years agoRe-word trademark section - same meaning, just more precise legal terminology.
mike [Fri, 13 Mar 2009 18:07:53 +0000 (18:07 +0000)] 
Re-word trademark section - same meaning, just more precise legal terminology.

16 years agoFix Japanese translations of some cupstestppd messages.
mike [Fri, 13 Mar 2009 17:23:19 +0000 (17:23 +0000)] 
Fix Japanese translations of some cupstestppd messages.

16 years agoAdd ReportStatus command as a subset of ReportLevels.
mike [Thu, 12 Mar 2009 23:09:13 +0000 (23:09 +0000)] 
Add ReportStatus command as a subset of ReportLevels.

16 years agoUpdate message catalogs based on new messages.
mike [Thu, 12 Mar 2009 23:02:31 +0000 (23:02 +0000)] 
Update message catalogs based on new messages.

16 years agoFix numerous \ escape errors, and add checks to checkpo for that.
mike [Thu, 12 Mar 2009 22:59:58 +0000 (22:59 +0000)] 
Fix numerous \ escape errors, and add checks to checkpo for that.

Update _cupsMessageLoad() to take a second argument to control whether the
message catalog strings are unquoted.

16 years agoDisplay "copying print data" status message when copying print data to a temp
mike [Thu, 12 Mar 2009 21:50:44 +0000 (21:50 +0000)] 
Display "copying print data" status message when copying print data to a temp
file in the IPP and LPD backends.

Sync up copy code between LPD and IPP backends.

Copyright update on cups-pdf.m4.

16 years agoFix another potential 100% CPU bug.
mike [Wed, 11 Mar 2009 22:20:38 +0000 (22:20 +0000)] 
Fix another potential 100% CPU bug.

16 years agoLong job names caused problems with some PJL printers (STR #3125)
mike [Wed, 11 Mar 2009 22:05:03 +0000 (22:05 +0000)] 
Long job names caused problems with some PJL printers (STR #3125)

16 years agoDon't override job state when it is something other than processing or
mike [Wed, 11 Mar 2009 21:13:00 +0000 (21:13 +0000)] 
Don't override job state when it is something other than processing or
completed.

16 years agoFix changelog.
mike [Wed, 11 Mar 2009 21:03:29 +0000 (21:03 +0000)] 
Fix changelog.

Remove loglevel from log message.

16 years agoMore places where Common UNIX Printing System is used.
mike [Mon, 9 Mar 2009 22:12:14 +0000 (22:12 +0000)] 
More places where Common UNIX Printing System is used.

16 years agoMore places where we use Common UNIX Printing System instead of CUPS.
mike [Mon, 9 Mar 2009 21:59:55 +0000 (21:59 +0000)] 
More places where we use Common UNIX Printing System instead of CUPS.

16 years agoFix installer images.
mike [Mon, 9 Mar 2009 21:28:18 +0000 (21:28 +0000)] 
Fix installer images.

16 years agoUpdate a couple more icon files.
mike [Mon, 9 Mar 2009 21:12:31 +0000 (21:12 +0000)] 
Update a couple more icon files.

16 years agoRevert changes to CUPS logo images.
mike [Mon, 9 Mar 2009 21:05:33 +0000 (21:05 +0000)] 
Revert changes to CUPS logo images.

Remove trademark assertions on "Common UNIX Printing System".

Update nav bar image.

16 years agoForce a re-check for dead children when we see EOF in update_job.
mike [Mon, 9 Mar 2009 18:02:59 +0000 (18:02 +0000)] 
Force a re-check for dead children when we see EOF in update_job.

16 years agoAdd some "private" command-line options for testing purposes.
mike [Sat, 7 Mar 2009 16:33:25 +0000 (16:33 +0000)] 
Add some "private" command-line options for testing purposes.

Remove some excess debug2 messages.

Update contents in jobs.c header.

16 years agoFix "stop printer" case - wasn't preserving the stop state when a job was
mike [Sat, 7 Mar 2009 15:56:50 +0000 (15:56 +0000)] 
Fix "stop printer" case - wasn't preserving the stop state when a job was
printing.

Also make sure that start_job resets the current_file to 0.

16 years agoAdd check for cupsUIResolvers to ensure at least two options are set.
mike [Fri, 6 Mar 2009 23:32:43 +0000 (23:32 +0000)] 
Add check for cupsUIResolvers to ensure at least two options are set.

16 years agoAllow option to not be marked as well as None/Off/False in constraints.
mike [Fri, 6 Mar 2009 23:26:21 +0000 (23:26 +0000)] 
Allow option to not be marked as well as None/Off/False in constraints.

16 years agoSilence a bogus compiler warning by adding a default to the job state switch.
mike [Fri, 6 Mar 2009 17:22:08 +0000 (17:22 +0000)] 
Silence a bogus compiler warning by adding a default to the job state switch.

16 years agoFix finalize_job so it doesn't change the job state for canceled or held jobs.
mike [Fri, 6 Mar 2009 01:45:42 +0000 (01:45 +0000)] 
Fix finalize_job so it doesn't change the job state for canceled or held jobs.

Add another request validation check.

16 years agoThe lpq command did not work when showing all destinations (STR #3117)
mike [Thu, 5 Mar 2009 18:42:58 +0000 (18:42 +0000)] 
The lpq command did not work when showing all destinations (STR #3117)

16 years agoUse UTF-8 for codeset instead of UTF8 (STR #3113)
mike [Thu, 5 Mar 2009 18:32:55 +0000 (18:32 +0000)] 
Use UTF-8 for codeset instead of UTF8 (STR #3113)

16 years agoUse title_size and copies_size instead of sizeof(title)...
mike [Thu, 5 Mar 2009 00:38:39 +0000 (00:38 +0000)] 
Use title_size and copies_size instead of sizeof(title)...

16 years agoUpdate conflict resolution code to try each option pair in the cupsUIResolver
mike [Wed, 4 Mar 2009 23:44:55 +0000 (23:44 +0000)] 
Update conflict resolution code to try each option pair in the cupsUIResolver
in order, so that we can actually do nice conflict resolution.

Update documentation to reflect this.

Update unit test program and files.

16 years agoUpdate dependencies.
mike [Wed, 4 Mar 2009 21:45:54 +0000 (21:45 +0000)] 
Update dependencies.

Add path validation and checks for APPrinterLowInkTool and APPrinterUtilityPath
to cupstestppd.

16 years agoAdd debug messages before calls to httpAddrGetList.
mike [Tue, 3 Mar 2009 20:29:23 +0000 (20:29 +0000)] 
Add debug messages before calls to httpAddrGetList.

16 years agoDon't build unit tests unless requested.
mike [Tue, 3 Mar 2009 19:39:21 +0000 (19:39 +0000)] 
Don't build unit tests unless requested.

Give initial side-channel and back-channel tests up to 60 seconds to complete
for backends that take a long time to connect.

Fix header comments for dnssd.

16 years agoAdd additional information to CUPS PPD API test program.
mike [Tue, 3 Mar 2009 19:18:26 +0000 (19:18 +0000)] 
Add additional information to CUPS PPD API test program.

Add support for "-W sizes" in cupstestppd.

16 years agoValidate media sizes.
mike [Mon, 2 Mar 2009 23:13:37 +0000 (23:13 +0000)] 
Validate media sizes.

16 years agoRemove prototype for cupsFileReady - not implemented.
mike [Sun, 1 Mar 2009 14:54:08 +0000 (14:54 +0000)] 
Remove prototype for cupsFileReady - not implemented.

16 years agoAllow marker-message to be cleared.
mike [Thu, 26 Feb 2009 23:45:07 +0000 (23:45 +0000)] 
Allow marker-message to be cleared.

16 years agoDon't use PPD filters by default in cupsfilter - new "-e" option turns them on.
mike [Thu, 26 Feb 2009 23:17:27 +0000 (23:17 +0000)] 
Don't use PPD filters by default in cupsfilter - new "-e" option turns them on.

16 years agocgiGetArray() incorrectly returned the same value for any index when there was
mike [Wed, 25 Feb 2009 23:26:09 +0000 (23:26 +0000)] 
cgiGetArray() incorrectly returned the same value for any index when there was
only 1 value associated with a variable.

16 years agoFix the printer-uri passed in a Get-Jobs request for cupsGetJobs2 or the
mike [Wed, 25 Feb 2009 23:24:18 +0000 (23:24 +0000)] 
Fix the printer-uri passed in a Get-Jobs request for cupsGetJobs2 or the
jobs.cgi program with no printer name (STR #3107)

Don't use sandboxing when running as an ordinary user.

Fix signal handling (again) in process_children - was breaking out before
we reported the signal for jobs, and did not filter out SIGTERM/SIGKILL.

Check for more jobs to print immediately after we finalize a job.

16 years agoRemove the two noisiest debug2 messages (drops error_log to 1/100th the size
mike [Wed, 25 Feb 2009 22:08:36 +0000 (22:08 +0000)] 
Remove the two noisiest debug2 messages (drops error_log to 1/100th the size
for a "make check") and increase the "waitjobs" default timeout to give more
time for printing.

16 years agoFix HTML doctype and copyrights.
mike [Wed, 25 Feb 2009 16:50:33 +0000 (16:50 +0000)] 
Fix HTML doctype and copyrights.

16 years agoAdd complete Polish localization (STR #3111)
mike [Wed, 25 Feb 2009 16:48:35 +0000 (16:48 +0000)] 
Add complete Polish localization (STR #3111)

16 years agoAnother update to the Japanese message catalog (STR #3109)
mike [Wed, 25 Feb 2009 16:41:46 +0000 (16:41 +0000)] 
Another update to the Japanese message catalog (STR #3109)

16 years agoThe cups-deviced helper program could miss reporting some backend devices
mike [Wed, 25 Feb 2009 16:37:27 +0000 (16:37 +0000)] 
The cups-deviced helper program could miss reporting some backend devices
(STR #3108)

Move private cups_file_s structure to file-private.h so that cups-deviced can
check for pending lines of output.

16 years agoMore debug2 cleanup.
mike [Tue, 24 Feb 2009 07:07:10 +0000 (07:07 +0000)] 
More debug2 cleanup.

16 years agoAdd support for scanner-only devices.
mike [Mon, 23 Feb 2009 13:09:06 +0000 (13:09 +0000)] 
Add support for scanner-only devices.

16 years agoPreserve low/high level values.
mike [Mon, 23 Feb 2009 12:55:51 +0000 (12:55 +0000)] 
Preserve low/high level values.

16 years agoUpdate packaging files.
mike [Mon, 23 Feb 2009 12:43:07 +0000 (12:43 +0000)] 
Update packaging files.

16 years agoClean up debug2 logging so we don't get 2GB logs for a "make check".
mike [Mon, 23 Feb 2009 01:06:14 +0000 (01:06 +0000)] 
Clean up debug2 logging so we don't get 2GB logs for a "make check".