]> git.ipfire.org Git - thirdparty/cups-filters.git/log
thirdparty/cups-filters.git
16 years agoDon't marker printcap dirty if we are only changing connecting-to-device
mike [Mon, 11 May 2009 21:19:04 +0000 (21:19 +0000)] 
Don't marker printcap dirty if we are only changing connecting-to-device
state (which isn't saved or restored...)

16 years agoFinal version of RequiresPageRegion code.
mike [Mon, 11 May 2009 21:18:24 +0000 (21:18 +0000)] 
Final version of RequiresPageRegion code.

16 years agoAdd missing ServerAlias documentation.
mike [Mon, 11 May 2009 21:18:01 +0000 (21:18 +0000)] 
Add missing ServerAlias documentation.

16 years agoFix problem with web interface and the new IPv6 address bracketing checks.
mike [Sat, 9 May 2009 03:10:24 +0000 (03:10 +0000)] 
Fix problem with web interface and the new IPv6 address bracketing checks.

16 years agoFix up the last of the regressions for STR #3152)
mike [Fri, 8 May 2009 18:14:27 +0000 (18:14 +0000)] 
Fix up the last of the regressions for STR #3152)

16 years agoStill more tweaks to get new ppdi tests to pass - one last failure to track
mike [Fri, 8 May 2009 17:27:09 +0000 (17:27 +0000)] 
Still more tweaks to get new ppdi tests to pass - one last failure to track
down (STR #3152)

16 years agoWork on ppdi issues (STR #3152)
mike [Fri, 8 May 2009 06:38:30 +0000 (06:38 +0000)] 
Work on ppdi issues (STR #3152)

16 years agoUpdate API documentation.
mike [Fri, 8 May 2009 05:20:44 +0000 (05:20 +0000)] 
Update API documentation.

Use 0 instead of SOL_SOCKET for Mac OS X peer credentials.

16 years agoThe web interface could hang on OpenBSD (STR #3176)
mike [Fri, 8 May 2009 04:53:19 +0000 (04:53 +0000)] 
The web interface could hang on OpenBSD (STR #3176)

Abort on early end-of-file.

16 years agoMirror the page margins on the back side of a duplex job.
mike [Wed, 6 May 2009 23:18:01 +0000 (23:18 +0000)] 
Mirror the page margins on the back side of a duplex job.

16 years agoStill require HTTP authentication if the remote queue needs Kerberos credentials.
mike [Wed, 6 May 2009 23:17:40 +0000 (23:17 +0000)] 
Still require HTTP authentication if the remote queue needs Kerberos credentials.

16 years agoUpdate the Japanese message catalog.
mike [Wed, 6 May 2009 20:49:49 +0000 (20:49 +0000)] 
Update the Japanese message catalog.

16 years agoDon't require HTTP authentication for auth-info-required set by backend.
mike [Wed, 6 May 2009 20:27:18 +0000 (20:27 +0000)] 
Don't require HTTP authentication for auth-info-required set by backend.

16 years agoImplement localization of standard printer-state-reasons in ppdLocalizeIPPReason
mike [Wed, 6 May 2009 19:16:18 +0000 (19:16 +0000)] 
Implement localization of standard printer-state-reasons in ppdLocalizeIPPReason
so that clients don't have to provide their own localizations.

16 years agoDon't try to localize printer-state-reasons in the IPP backend - let the client
mike [Wed, 6 May 2009 19:05:46 +0000 (19:05 +0000)] 
Don't try to localize printer-state-reasons in the IPP backend - let the client
do that (otherwise the localized reason might override a driver-generated
message...)

16 years agoNew Xcode docset support.
mike [Wed, 6 May 2009 04:24:07 +0000 (04:24 +0000)] 
New Xcode docset support.

16 years agoUse pkg-config for GNU TLS (STR #3178)
mike [Mon, 4 May 2009 23:40:10 +0000 (23:40 +0000)] 
Use pkg-config for GNU TLS (STR #3178)

16 years agoMake sure the HTTP connection pointer is initialized.
mike [Mon, 4 May 2009 17:29:40 +0000 (17:29 +0000)] 
Make sure the HTTP connection pointer is initialized.

16 years agoUse -o instead of -u.
mike [Fri, 1 May 2009 17:45:52 +0000 (17:45 +0000)] 
Use -o instead of -u.

16 years agoCreate certs directory with correct ownership.
mike [Fri, 1 May 2009 17:09:02 +0000 (17:09 +0000)] 
Create certs directory with correct ownership.

16 years agoExport new password functions.
mike [Fri, 1 May 2009 00:38:22 +0000 (00:38 +0000)] 
Export new password functions.

16 years agoFix canceling of authentication requests.
mike [Thu, 30 Apr 2009 22:28:54 +0000 (22:28 +0000)] 
Fix canceling of authentication requests.

16 years agoAdd new HTTP_AUTHORIZATION_CANCELED status (internal to CUPS) to indicate when
mike [Thu, 30 Apr 2009 22:15:05 +0000 (22:15 +0000)] 
Add new HTTP_AUTHORIZATION_CANCELED status (internal to CUPS) to indicate when
authentication was canceled.

16 years agoSend peer credentials before certificates, if we can.
mike [Thu, 30 Apr 2009 21:42:59 +0000 (21:42 +0000)] 
Send peer credentials before certificates, if we can.

16 years agoMoving a job now displays an error if you only have one printer or class
mike [Wed, 29 Apr 2009 23:54:48 +0000 (23:54 +0000)] 
Moving a job now displays an error if you only have one printer or class
added (STR #3094)

16 years ago"make check" and "make test" should both build the unit tests.
mike [Wed, 29 Apr 2009 22:56:09 +0000 (22:56 +0000)] 
"make check" and "make test" should both build the unit tests.

16 years agoSince classes have never truly supported the printer-error-policy stuff added
mike [Wed, 29 Apr 2009 22:54:48 +0000 (22:54 +0000)] 
Since classes have never truly supported the printer-error-policy stuff added
in CUPS 1.2, update the code to reflect the current reality and support only
the retry-current-job policy for now (STR #3171)

16 years agoThe scheduler and cupsfilter utility did not handle rules starting with a
mike [Wed, 29 Apr 2009 22:10:31 +0000 (22:10 +0000)] 
The scheduler and cupsfilter utility did not handle rules starting with a
negation operator properly (STR #3160)

16 years agoOne more tweak - previously we wrote the PageRegion code for CUPS-based drivers
mike [Wed, 29 Apr 2009 22:08:12 +0000 (22:08 +0000)] 
One more tweak - previously we wrote the PageRegion code for CUPS-based drivers
if no RequiresPageRegion keyword was seen, not PageSize.

16 years agoOne more pass at RequiresPageRegion code, this time I think I have it right.
mike [Wed, 29 Apr 2009 19:03:27 +0000 (19:03 +0000)] 
One more pass at RequiresPageRegion code, this time I think I have it right.

16 years agoThe scheduler and cupsfilter utility would crash with certain MIME .types rules
mike [Wed, 29 Apr 2009 16:46:35 +0000 (16:46 +0000)] 
The scheduler and cupsfilter utility would crash with certain MIME .types rules
(STR #3159)

16 years agohttpSetField wasn't bracketing IPv6 numeric addresses for the Host: field
mike [Wed, 29 Apr 2009 16:27:44 +0000 (16:27 +0000)] 
httpSetField wasn't bracketing IPv6 numeric addresses for the Host: field
(STR #3164)

16 years agoAdd ServerName as an alias, if specified (STR #3167)
mike [Wed, 29 Apr 2009 15:47:04 +0000 (15:47 +0000)] 
Add ServerName as an alias, if specified (STR #3167)

16 years agoDon't make disable/enable symlinks.
mike [Wed, 29 Apr 2009 15:32:18 +0000 (15:32 +0000)] 
Don't make disable/enable symlinks.

16 years agoRevised the password callback support (STR #2953)
mike [Wed, 29 Apr 2009 05:17:47 +0000 (05:17 +0000)] 
Revised the password callback support (STR #2953)

16 years agoDon't log filter/backend failures for canceled/held jobs.
mike [Wed, 29 Apr 2009 04:35:27 +0000 (04:35 +0000)] 
Don't log filter/backend failures for canceled/held jobs.

16 years agoDon't share scanners.
mike [Wed, 29 Apr 2009 04:30:55 +0000 (04:30 +0000)] 
Don't share scanners.

16 years agoFix PageSize/Region selection code so that it properly marks only one option
mike [Wed, 29 Apr 2009 04:18:35 +0000 (04:18 +0000)] 
Fix PageSize/Region selection code so that it properly marks only one option
(and doesn't try to unmark an option when that won't work...)

16 years agoUse hostname instead of computer name for BTMM hostnames.
mike [Wed, 29 Apr 2009 03:58:30 +0000 (03:58 +0000)] 
Use hostname instead of computer name for BTMM hostnames.

16 years agoFix port number reported when we have a BrowseAddress that is an IP address
mike [Tue, 28 Apr 2009 00:23:38 +0000 (00:23 +0000)] 
Fix port number reported when we have a BrowseAddress that is an IP address
instead of @LOCAL or @IF(name)

16 years agoIf a backend fails after a job being canceled or held, don't stop the queue.
mike [Mon, 27 Apr 2009 23:08:51 +0000 (23:08 +0000)] 
If a backend fails after a job being canceled or held, don't stop the queue.

16 years agoSolaris now supported LD_PRELOAD, but doesn't track that libcupsppdc is C++.
mike [Mon, 27 Apr 2009 21:15:23 +0000 (21:15 +0000)] 
Solaris now supported LD_PRELOAD, but doesn't track that libcupsppdc is C++.

16 years agoFix default state for abort_job recovery point.
mike [Mon, 27 Apr 2009 21:13:22 +0000 (21:13 +0000)] 
Fix default state for abort_job recovery point.

16 years agoStart job immediately after restart.
mike [Mon, 27 Apr 2009 20:57:36 +0000 (20:57 +0000)] 
Start job immediately after restart.

16 years agoAdd missing /usr/share/doc/cups/de subdirectory.
mike [Mon, 27 Apr 2009 20:00:00 +0000 (20:00 +0000)] 
Add missing /usr/share/doc/cups/de subdirectory.

16 years agoDon't return CUPS_BACKEND_STOP when a job is canceled.
mike [Mon, 27 Apr 2009 19:54:43 +0000 (19:54 +0000)] 
Don't return CUPS_BACKEND_STOP when a job is canceled.

16 years agoFix typos for non-Mac OS X and OpenSSL builds.
mike [Mon, 27 Apr 2009 18:01:06 +0000 (18:01 +0000)] 
Fix typos for non-Mac OS X and OpenSSL builds.

16 years agoFix some issues with streaming input - cupsdReadClient was incorrectly closing
mike [Mon, 27 Apr 2009 17:18:37 +0000 (17:18 +0000)] 
Fix some issues with streaming input - cupsdReadClient was incorrectly closing
on old errors, and the HTTP functions were not clearing the error as needed.

Also do some "tuning" of the debug printf code and calls.

16 years agoReally get the cupsdSetBusyState change committed...
mike [Mon, 27 Apr 2009 04:02:46 +0000 (04:02 +0000)] 
Really get the cupsdSetBusyState change committed...

16 years agoMake sure we update the busy state after we remove a client from the active
mike [Fri, 24 Apr 2009 22:43:52 +0000 (22:43 +0000)] 
Make sure we update the busy state after we remove a client from the active
list.

16 years agoFix DNS-SD resolve for IPP Fax queues.
mike [Fri, 24 Apr 2009 22:19:20 +0000 (22:19 +0000)] 
Fix DNS-SD resolve for IPP Fax queues.

16 years agoRemove client from the active list when done writing to it.
mike [Thu, 23 Apr 2009 22:33:53 +0000 (22:33 +0000)] 
Remove client from the active list when done writing to it.

16 years agoMake sure we don't dereference a NULL job->printer...
mike [Thu, 23 Apr 2009 22:08:22 +0000 (22:08 +0000)] 
Make sure we don't dereference a NULL job->printer...

16 years agoDefine cupsd_job_t in printers.h, with the struct in job.h.
mike [Thu, 23 Apr 2009 21:59:07 +0000 (21:59 +0000)] 
Define cupsd_job_t in printers.h, with the struct in job.h.

16 years agoDon't resurrect almost-finished job when stopping a printer.
mike [Thu, 23 Apr 2009 21:56:14 +0000 (21:56 +0000)] 
Don't resurrect almost-finished job when stopping a printer.

16 years agoDon't append to the log file by default.
mike [Wed, 22 Apr 2009 21:53:10 +0000 (21:53 +0000)] 
Don't append to the log file by default.

16 years agoDebug hex stuff needs to be higher level...
mike [Wed, 22 Apr 2009 21:13:43 +0000 (21:13 +0000)] 
Debug hex stuff needs to be higher level...

16 years agoMore cleanup of debug printfs.
mike [Wed, 22 Apr 2009 21:11:28 +0000 (21:11 +0000)] 
More cleanup of debug printfs.

16 years agoFix debug_init and debug_level initializers (swapped, causing debug printfs to
mike [Wed, 22 Apr 2009 20:56:10 +0000 (20:56 +0000)] 
Fix debug_init and debug_level initializers (swapped, causing debug printfs to
be disabled...)

16 years agoDon't install enable/disable commands anymore.
mike [Wed, 22 Apr 2009 17:36:03 +0000 (17:36 +0000)] 
Don't install enable/disable commands anymore.

16 years agoRemove duplicate log message.
mike [Wed, 22 Apr 2009 17:34:49 +0000 (17:34 +0000)] 
Remove duplicate log message.

16 years agoFix child cleanup of aborted jobs - don't dereference NULL printer pointer and
mike [Wed, 22 Apr 2009 17:24:03 +0000 (17:24 +0000)] 
Fix child cleanup of aborted jobs - don't dereference NULL printer pointer and
make sure we have attributes.

16 years agoRemove dead assignments.
mike [Wed, 22 Apr 2009 02:41:23 +0000 (02:41 +0000)] 
Remove dead assignments.

16 years agoMore Kerberos cleanup.
mike [Wed, 22 Apr 2009 02:24:03 +0000 (02:24 +0000)] 
More Kerberos cleanup.

16 years agoDon't report the maintenance bits, just like we don't do the offline bit. Too
mike [Tue, 21 Apr 2009 23:16:11 +0000 (23:16 +0000)] 
Don't report the maintenance bits, just like we don't do the offline bit.  Too
many printers set it when the manual feed tray is empty...

16 years agoFix AccessLogLevel for client-error-not-found errors (don't need to log that
mike [Tue, 21 Apr 2009 23:02:10 +0000 (23:02 +0000)] 
Fix AccessLogLevel for client-error-not-found errors (don't need to log that
we don't have a default printer every time we ask for it...)

Add tests to verify the fix and that the correct number of requests are logged.

16 years agoFix aborted and filter limited job processing.
mike [Tue, 21 Apr 2009 22:14:40 +0000 (22:14 +0000)] 
Fix aborted and filter limited job processing.

16 years agoFix client address check.
mike [Tue, 21 Apr 2009 04:21:27 +0000 (04:21 +0000)] 
Fix client address check.

16 years agoMore debug printf overhaul to cover all of libcups.
mike [Mon, 20 Apr 2009 21:37:14 +0000 (21:37 +0000)] 
More debug printf overhaul to cover all of libcups.

16 years agoAdd contents back in...
mike [Mon, 20 Apr 2009 16:44:13 +0000 (16:44 +0000)] 
Add contents back in...

16 years agoCopy default credentials for UID instead of copying from passed credentials.
mike [Mon, 20 Apr 2009 16:40:37 +0000 (16:40 +0000)] 
Copy default credentials for UID instead of copying from passed credentials.

16 years ago"lpstat -h server" showed non-shared printers (STR #3147)
mike [Mon, 20 Apr 2009 15:55:12 +0000 (15:55 +0000)] 
"lpstat -h server" showed non-shared printers (STR #3147)

16 years agoStart updating DEBUG_printf support again, this time with regex filter and
mike [Mon, 20 Apr 2009 01:10:55 +0000 (01:10 +0000)] 
Start updating DEBUG_printf support again, this time with regex filter and
log level support.

16 years agoRework Kerberos support to not use delegated credentials and support multiple
mike [Sun, 19 Apr 2009 23:09:54 +0000 (23:09 +0000)] 
Rework Kerberos support to not use delegated credentials and support multiple
realms.  Still needs more testing and I want to revise the online help.

16 years agoUse SVN Id keyword in these files.
mike [Sun, 19 Apr 2009 21:18:45 +0000 (21:18 +0000)] 
Use SVN Id keyword in these files.

16 years agoDon't use root certificate when the server doesn't require @SYSTEM
mike [Sun, 19 Apr 2009 20:24:06 +0000 (20:24 +0000)] 
Don't use root certificate when the server doesn't require @SYSTEM
authorization.

16 years agoNeed to use a CFSTR for the BTMM key.
mike [Sun, 19 Apr 2009 19:17:17 +0000 (19:17 +0000)] 
Need to use a CFSTR for the BTMM key.

16 years agoListen for Back to My Mac domain changes so we always have a correct alias
mike [Sun, 19 Apr 2009 19:02:20 +0000 (19:02 +0000)] 
Listen for Back to My Mac domain changes so we always have a correct alias
list.

Add more debug/error reporting when we grab the list, just in case.

16 years agoFix crash on restart.
mike [Sun, 19 Apr 2009 18:27:08 +0000 (18:27 +0000)] 
Fix crash on restart.

16 years agoDon't access job->status_buffer, use job->status_pipes[0] instead.
mike [Sat, 18 Apr 2009 01:26:11 +0000 (01:26 +0000)] 
Don't access job->status_buffer, use job->status_pipes[0] instead.

16 years ago_cupsStrRetain should take a const char *.
mike [Sat, 18 Apr 2009 01:05:04 +0000 (01:05 +0000)] 
_cupsStrRetain should take a const char *.

16 years agoFix resolution of pseudo-multi-way constraints that are present in some PPD
mike [Fri, 17 Apr 2009 16:16:47 +0000 (16:16 +0000)] 
Fix resolution of pseudo-multi-way constraints that are present in some PPD
files.

16 years agoFix crasher - if you deleted a printer while a job was active, finalize_job
mike [Fri, 17 Apr 2009 05:08:13 +0000 (05:08 +0000)] 
Fix crasher - if you deleted a printer while a job was active, finalize_job
would access a freed printer pointer.

16 years agoAP_FIRST_InputSlot did not work with number-up.
mike [Fri, 17 Apr 2009 03:18:14 +0000 (03:18 +0000)] 
AP_FIRST_InputSlot did not work with number-up.

16 years agoSECURITY: Update DNS rebinding protection for all interfaces (STR #3118)
mike [Thu, 16 Apr 2009 19:31:37 +0000 (19:31 +0000)] 
SECURITY: Update DNS rebinding protection for all interfaces (STR #3118)

16 years agoSECURITY: Fixed TIFF integer overflow in image filters (STR #3031)
mike [Thu, 16 Apr 2009 18:28:09 +0000 (18:28 +0000)] 
SECURITY: Fixed TIFF integer overflow in image filters (STR #3031)

16 years agoAlso do a notification when we set these reasons...
mike [Wed, 15 Apr 2009 17:34:48 +0000 (17:34 +0000)] 
Also do a notification when we set these reasons...

16 years agoMake sure we notify everyone when we change the printer-state-reasons attribute.
mike [Wed, 15 Apr 2009 17:30:14 +0000 (17:30 +0000)] 
Make sure we notify everyone when we change the printer-state-reasons attribute.

16 years agoUse host order IP value instead of network IP value.
mike [Tue, 14 Apr 2009 23:10:42 +0000 (23:10 +0000)] 
Use host order IP value instead of network IP value.

16 years agoAllow access from Back-to-My-Mac addresses for @LOCAL.
mike [Tue, 14 Apr 2009 22:29:33 +0000 (22:29 +0000)] 
Allow access from Back-to-My-Mac addresses for @LOCAL.

16 years agoRemove dead assignment.
mike [Tue, 14 Apr 2009 21:25:51 +0000 (21:25 +0000)] 
Remove dead assignment.

16 years agoFix filter permission check.
mike [Tue, 14 Apr 2009 18:27:50 +0000 (18:27 +0000)] 
Fix filter permission check.

16 years agoAdd more EAGAIN checks.
mike [Tue, 14 Apr 2009 18:20:14 +0000 (18:20 +0000)] 
Add more EAGAIN checks.

16 years agoIf we get canceled while resolving the device URI, exit immediately.
mike [Tue, 14 Apr 2009 18:14:02 +0000 (18:14 +0000)] 
If we get canceled while resolving the device URI, exit immediately.

16 years agoAlso check "owned by root" when running as root.
mike [Tue, 14 Apr 2009 17:45:05 +0000 (17:45 +0000)] 
Also check "owned by root" when running as root.

16 years agoFix System V install of cupsaccept and friends.
mike [Mon, 13 Apr 2009 22:53:03 +0000 (22:53 +0000)] 
Fix System V install of cupsaccept and friends.

Install cupsd with mode 0500.

Log what we're installing in System V and Berkeley directories.

16 years agocupsBackChannelRead() and cupsBackChannelWrite() could fail due to a lack of
mike [Mon, 13 Apr 2009 18:28:46 +0000 (18:28 +0000)] 
cupsBackChannelRead() and cupsBackChannelWrite() could fail due to a lack of
kernel buffers.

Check for EAGAIN from select() and write() so that we don't fail for a
retryable reason.

16 years agoClean up default server, port, and encryption so we read the client.conf file
mike [Mon, 13 Apr 2009 17:03:15 +0000 (17:03 +0000)] 
Clean up default server, port, and encryption so we read the client.conf file
only once.

16 years agoRevamp install-sh to do what it is supposed to do.
mike [Sun, 12 Apr 2009 23:04:51 +0000 (23:04 +0000)] 
Revamp install-sh to do what it is supposed to do.

Install programs, documentation, and data files read-only.

Use install-sh to do chmod instead of separate command (and then install-sh
ignores chown/chgrp errors...)

16 years agoUpdate IPP and LPD backends so that SNMP queries can be done while copying print
mike [Thu, 9 Apr 2009 23:31:26 +0000 (23:31 +0000)] 
Update IPP and LPD backends so that SNMP queries can be done while copying print
data.