]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
16 years agoUpdate build system to support only building libraries for "install-libs".
mike [Mon, 12 May 2008 23:46:44 +0000 (23:46 +0000)] 
Update build system to support only building libraries for "install-libs".

Build automated test programs with ARCHFLAGS, not just LDARCHFLAGS.

Fix a _ppdLocalizeAttr bug - need to use %2.2s, not %2s for non-country-
specific locale string.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7558 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoNULL check a DEBUG_printf.
mike [Mon, 12 May 2008 20:46:20 +0000 (20:46 +0000)] 
NULL check a DEBUG_printf.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7557 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix encoding of host field, and add a DNS-SD test case.
mike [Mon, 12 May 2008 18:56:06 +0000 (18:56 +0000)] 
Fix encoding of host field, and add a DNS-SD test case.

Revert previous changes to mdns and backendResolveURI.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7556 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRe-enable SNMP supplies support in IPP backend.
mike [Mon, 12 May 2008 18:15:30 +0000 (18:15 +0000)] 
Re-enable SNMP supplies support in IPP backend.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7555 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd DEBUG_printf's to all of the SNMP functions.
mike [Mon, 12 May 2008 18:14:57 +0000 (18:14 +0000)] 
Add DEBUG_printf's to all of the SNMP functions.

Fix timeout in SNMP supplies - 0.5 seconds, not 500 seconds.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7554 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix DEBUG_printf crash.
mike [Mon, 12 May 2008 17:42:15 +0000 (17:42 +0000)] 
Fix DEBUG_printf crash.

Don't allow open/close keywords without string values.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7552 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoTweak tests so that we don't get spurious test errors from timing-related
mike [Mon, 12 May 2008 16:40:40 +0000 (16:40 +0000)] 
Tweak tests so that we don't get spurious test errors from timing-related
issues we don't care about.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7550 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoTemporarily disable SNMP supplies with the IPP backend until we can eliminate
mike [Fri, 9 May 2008 17:38:32 +0000 (17:38 +0000)] 
Temporarily disable SNMP supplies with the IPP backend until we can eliminate
the long delay for CUPS IPP queues.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7549 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoPut DNS-SD service name in resource, not in host field.
mike [Thu, 8 May 2008 00:44:05 +0000 (00:44 +0000)] 
Put DNS-SD service name in resource, not in host field.

Resolve from the resource or hostname fields as needed.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7548 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoDon't fail a build when the driver test programs fail.
mike [Wed, 7 May 2008 22:23:16 +0000 (22:23 +0000)] 
Don't fail a build when the driver test programs fail.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7547 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate comments.
mike [Tue, 6 May 2008 20:47:25 +0000 (20:47 +0000)] 
Update comments.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7546 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoOne more pass at the ppd-type value - default to PostScript, like before,
mike [Mon, 5 May 2008 22:41:13 +0000 (22:41 +0000)] 
One more pass at the ppd-type value - default to PostScript, like before,
and then allow PDF, raster, or fax to trump PostScript.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7544 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler did not set QUERY_STRING all of the time for CGI scripts
mike [Mon, 5 May 2008 21:54:52 +0000 (21:54 +0000)] 
The scheduler did not set QUERY_STRING all of the time for CGI scripts
(STR #2781, STR #2816)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7543 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe web interface "move jobs" operation redirected users to the wrong URL
mike [Mon, 5 May 2008 21:22:58 +0000 (21:22 +0000)] 
The web interface "move jobs" operation redirected users to the wrong URL
(STR #2815)

--This ine, and those below, will be ignored--

M    CHANGES-1.3.txt
M    cgi-bin/ipp-var.c

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7541 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler did not report PostScript printer PPDs with filters as
mike [Mon, 5 May 2008 21:05:17 +0000 (21:05 +0000)] 
The scheduler did not report PostScript printer PPDs with filters as
PostScript devices.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7538 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoChangelog.
mike [Mon, 5 May 2008 20:13:14 +0000 (20:13 +0000)] 
Changelog.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7536 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoprint_job(): Don't mark job as dirty until we create it...
mike [Mon, 5 May 2008 18:36:28 +0000 (18:36 +0000)] 
print_job(): Don't mark job as dirty until we create it...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7535 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agosend_document(): Change the document-format attribute in the job attributes,
mike [Mon, 5 May 2008 18:35:07 +0000 (18:35 +0000)] 
send_document(): Change the document-format attribute in the job attributes,
                 not in the request.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7534 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoMake sure we save any changes made to the job document-format attribute...
mike [Mon, 5 May 2008 18:20:17 +0000 (18:20 +0000)] 
Make sure we save any changes made to the job document-format attribute...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7533 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoWe still need to install the $DATADIR/model directory...
mike [Mon, 5 May 2008 17:05:29 +0000 (17:05 +0000)] 
We still need to install the $DATADIR/model directory...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7532 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoMirror fix from dnssd2 branch.
mike [Fri, 2 May 2008 23:42:26 +0000 (23:42 +0000)] 
Mirror fix from dnssd2 branch.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7531 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoOne more fix for CGI handling (STR #2781)
mike [Thu, 1 May 2008 22:52:35 +0000 (22:52 +0000)] 
One more fix for CGI handling (STR #2781)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7526 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix resolve bug.
mike [Thu, 1 May 2008 22:50:12 +0000 (22:50 +0000)] 
Fix resolve bug.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7525 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoMerge current DNS-SD work from dnssd2 branch - proper support for discovery
mike [Thu, 1 May 2008 21:02:27 +0000 (21:02 +0000)] 
Merge current DNS-SD work from dnssd2 branch - proper support for discovery
and resolution, plus improvements in the scheduler.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7524 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRemove old descriptions for localizations - everything in one now...
mike [Thu, 1 May 2008 17:00:57 +0000 (17:00 +0000)] 
Remove old descriptions for localizations - everything in one now...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7519 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAllow page count on Test1 to be off-by-one since the job we cancel may already
mike [Wed, 30 Apr 2008 19:50:28 +0000 (19:50 +0000)] 
Allow page count on Test1 to be off-by-one since the job we cancel may already
have printed a page...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7510 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoDon't include snmp.h.
mike [Tue, 29 Apr 2008 04:38:47 +0000 (04:38 +0000)] 
Don't include snmp.h.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7506 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoEliminate "shadowed" warnings from PHP headers.
mike [Tue, 29 Apr 2008 03:23:08 +0000 (03:23 +0000)] 
Eliminate "shadowed" warnings from PHP headers.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7505 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd Port Monitor MIB support to the SNMP backend and standard network backend
mike [Tue, 29 Apr 2008 00:18:20 +0000 (00:18 +0000)] 
Add Port Monitor MIB support to the SNMP backend and standard network backend
support.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7504 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd side-channel support to IPP and LPD backends.
mike [Mon, 28 Apr 2008 22:50:47 +0000 (22:50 +0000)] 
Add side-channel support to IPP and LPD backends.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7503 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoMake SNMP API private for now.
mike [Mon, 28 Apr 2008 21:30:12 +0000 (21:30 +0000)] 
Make SNMP API private for now.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7502 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd SNMP supply level monitoring and page accounting to LPD and IPP backends.
mike [Mon, 28 Apr 2008 21:20:09 +0000 (21:20 +0000)] 
Add SNMP supply level monitoring and page accounting to LPD and IPP backends.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7501 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoTweak stylesheet for web interface.
mike [Mon, 28 Apr 2008 19:10:10 +0000 (19:10 +0000)] 
Tweak stylesheet for web interface.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7500 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoLog non-crash statuses as debug messages, not error messages.
mike [Mon, 28 Apr 2008 18:41:43 +0000 (18:41 +0000)] 
Log non-crash statuses as debug messages, not error messages.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7499 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUse access() instead of stat(), and remove unused variable.
mike [Mon, 28 Apr 2008 18:36:35 +0000 (18:36 +0000)] 
Use access() instead of stat(), and remove unused variable.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7498 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoInclude <unistd.h> to get rid of compiler warnings.
mike [Mon, 28 Apr 2008 18:34:30 +0000 (18:34 +0000)] 
Include <unistd.h> to get rid of compiler warnings.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7497 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd commandtops filter for PostScript printer auto-configuration and
mike [Fri, 25 Apr 2008 23:32:37 +0000 (23:32 +0000)] 
Add commandtops filter for PostScript printer auto-configuration and
status reporting.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7496 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUse new drv:///sample.drv reference for deskjet PPD.
mike [Fri, 25 Apr 2008 18:36:46 +0000 (18:36 +0000)] 
Use new drv:///sample.drv reference for deskjet PPD.

Add PPD compiler data files to test suite.

Hopefully get rid of the last of the bogus "PID NNN exited with status 1"
messages for canceled jobs.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7494 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd support for cupsPJLDisplay attribute to control what PJL commands are
mike [Thu, 24 Apr 2008 00:10:34 +0000 (00:10 +0000)] 
Add support for cupsPJLDisplay attribute to control what PJL commands are
used to display the job information.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7493 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agocupsFileTell() did not work for log files opened in append mode (STR #2810)
mike [Wed, 23 Apr 2008 22:07:37 +0000 (22:07 +0000)] 
cupsFileTell() did not work for log files opened in append mode (STR #2810)

Update installation instructions to note new CUPS_DEBUG_LOG stuff.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7491 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd PostScript query mode to testbackend program.
mike [Wed, 23 Apr 2008 18:07:37 +0000 (18:07 +0000)] 
Add PostScript query mode to testbackend program.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7490 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd cupsFileTell() test.
mike [Wed, 23 Apr 2008 00:37:26 +0000 (00:37 +0000)] 
Add cupsFileTell() test.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7489 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUse "unset" instead of "typeset +x" to clear LPDEST and PRINTER environment
mike [Tue, 22 Apr 2008 22:23:10 +0000 (22:23 +0000)] 
Use "unset" instead of "typeset +x" to clear LPDEST and PRINTER environment
variables...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7487 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoDrop static PPD files and install the sample.drv file instead.
mike [Tue, 22 Apr 2008 22:09:19 +0000 (22:09 +0000)] 
Drop static PPD files and install the sample.drv file instead.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7486 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler did not set QUERY_STRING all of the time for CGI scripts
mike [Mon, 21 Apr 2008 23:12:00 +0000 (23:12 +0000)] 
The scheduler did not set QUERY_STRING all of the time for CGI scripts
(STR #2781)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7484 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd RFC 3875 to the standards directory.
mike [Mon, 21 Apr 2008 22:59:45 +0000 (22:59 +0000)] 
Add RFC 3875 to the standards directory.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7483 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler now returns an error for bad job-sheets values (STR #2775)
mike [Mon, 21 Apr 2008 22:51:31 +0000 (22:51 +0000)] 
The scheduler now returns an error for bad job-sheets values (STR #2775)

Add Print-Job test with a common error case ("none,none" as a single
job-sheets value)

Free the job when we can't copy the banner (memory leak fix)

Make free_jobs() global again as cupsdDeleteJob().

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7482 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoWait for the child process and kill if the job is cancelled (avoid Zombies!)
mike [Mon, 21 Apr 2008 22:27:32 +0000 (22:27 +0000)] 
Wait for the child process and kill if the job is cancelled (avoid Zombies!)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7481 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAuthenticated remote printing did not work over domain sockets (STR #2750)
mike [Mon, 21 Apr 2008 22:21:02 +0000 (22:21 +0000)] 
Authenticated remote printing did not work over domain sockets (STR #2750)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7480 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler incorrectly logged errors for print filters when a job was
mike [Mon, 21 Apr 2008 22:16:17 +0000 (22:16 +0000)] 
The scheduler incorrectly logged errors for print filters when a job was
canceled (STR #2806, #2808)

Show the job-printer-state-message for a job, if defined.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7479 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler not long allows multiple RSS subscriptions with the same URI
mike [Mon, 21 Apr 2008 21:57:07 +0000 (21:57 +0000)] 
The scheduler not long allows multiple RSS subscriptions with the same URI
(STR #2789)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7478 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler now supports Kerberized printing with multiple server names
mike [Mon, 21 Apr 2008 21:37:27 +0000 (21:37 +0000)] 
The scheduler now supports Kerberized printing with multiple server names
(STR #2783)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7477 7a7537e8-13f0-0310-91df-b6672ffda945

16 years ago"Satisfy any" did not work in IPP policies (STR #2782)
mike [Mon, 21 Apr 2008 21:32:23 +0000 (21:32 +0000)] 
"Satisfy any" did not work in IPP policies (STR #2782)

Use auth-info-required values, not CUPS_PRINTER_AUTHENTICATED.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7476 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAllow driver information files in /Library/Printers/PPDs.drv.
mike [Mon, 21 Apr 2008 18:34:53 +0000 (18:34 +0000)] 
Allow driver information files in /Library/Printers/PPDs.drv.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7475 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoCompare client pointers, not the file descriptors.
mike [Mon, 21 Apr 2008 18:06:37 +0000 (18:06 +0000)] 
Compare client pointers, not the file descriptors.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7474 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix libcupsimage so that we can read images larger than 2GB (move away from
mike [Mon, 21 Apr 2008 17:51:58 +0000 (17:51 +0000)] 
Fix libcupsimage so that we can read images larger than 2GB (move away from
stdio and use off_t for tile positions...)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7473 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoSwitch calloc arguments to allow calloc() to detect when xtiles * ytiles is
mike [Mon, 21 Apr 2008 17:31:54 +0000 (17:31 +0000)] 
Switch calloc arguments to allow calloc() to detect when xtiles * ytiles is
too large to fit in memory (STR #2805)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7472 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix EPM list file.
mike [Mon, 21 Apr 2008 16:54:09 +0000 (16:54 +0000)] 
Fix EPM list file.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7471 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRevamp "busy" API to account for active HTTP requests, too.
mike [Fri, 18 Apr 2008 23:24:24 +0000 (23:24 +0000)] 
Revamp "busy" API to account for active HTTP requests, too.

Add "ActiveClients" array to track active client connections.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7470 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUse cupsdCleanDirty instead of saving all jobs on sleep.
mike [Fri, 18 Apr 2008 21:54:13 +0000 (21:54 +0000)] 
Use cupsdCleanDirty instead of saving all jobs on sleep.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7469 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler now delays writing config and state files to reduce disk activity
mike [Fri, 18 Apr 2008 18:31:59 +0000 (18:31 +0000)] 
The scheduler now delays writing config and state files to reduce disk activity
(STR #2684)

Added cupsdCleanDirty, cupsdMarkDirty, and cupsdSetBusy functions in the
scheduler for managing the writing of all config and state files to disk.

Instead of calling cupsdSave* or cupsdWritePrintcap directly, now we call
cupsdMarkDirty and (for jobs) set the "dirty" flag on the job.  The main
loop then calls cupsdCleanDirty periodically as needed.

In addition, we now track the jobs that are currently printing in the
PrintingJobs array - this will allow for better power management support
in the future through the cupsdSetBusy function.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7468 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler did not limit the total number of filters.
mike [Fri, 18 Apr 2008 16:34:54 +0000 (16:34 +0000)] 
The scheduler did not limit the total number of filters.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7466 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoDon't override DEBUG now that it includes special functions.
mike [Fri, 18 Apr 2008 16:20:11 +0000 (16:20 +0000)] 
Don't override DEBUG now that it includes special functions.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7465 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate documentation for new cupsGetDevices API.
mike [Thu, 17 Apr 2008 00:48:34 +0000 (00:48 +0000)] 
Update documentation for new cupsGetDevices API.

Move get/put file APIs to the HTTP/IPP docs.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7464 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix a streaming issue from cupsd - wasn't flushing the output buffer after
mike [Thu, 17 Apr 2008 00:24:25 +0000 (00:24 +0000)] 
Fix a streaming issue from cupsd - wasn't flushing the output buffer after
a write.

Fix some DEBUG_printf's.

_cups_debug_printf now quotes C strings so that the log doesn't contain extra
newlines.

ippRead() no longer overrides the blocking flag if there is pending data.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7463 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoStub _cups_debug_* functions on Mac OS X when we aren't building with
mike [Wed, 16 Apr 2008 20:03:24 +0000 (20:03 +0000)] 
Stub _cups_debug_* functions on Mac OS X when we aren't building with
debug enabled.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7461 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd cupsGetDevices API (still issues with streaming).
mike [Wed, 16 Apr 2008 02:19:54 +0000 (02:19 +0000)] 
Add cupsGetDevices API (still issues with streaming).

Revamp DEBUG_printf/puts stuff to support logging to a file, and to include
a timestamp with every message.

Update Server: header to report CUPS/1.4 by default.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7460 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd support for timeout and exclude-schemes attributes in CUPS-Get-Devices
mike [Tue, 15 Apr 2008 00:59:26 +0000 (00:59 +0000)] 
Add support for timeout and exclude-schemes attributes in CUPS-Get-Devices
requests.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7458 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoClean up the end-of-file handling for poll() on Linux.
mike [Mon, 14 Apr 2008 23:22:54 +0000 (23:22 +0000)] 
Clean up the end-of-file handling for poll() on Linux.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7457 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoClean up cups-deviced to do proper signal handling of child processes and
mike [Mon, 14 Apr 2008 22:32:26 +0000 (22:32 +0000)] 
Clean up cups-deviced to do proper signal handling of child processes and
to log more debugging info.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7456 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUse pipe for cupsFileOpenFd test.
mike [Mon, 14 Apr 2008 21:53:36 +0000 (21:53 +0000)] 
Use pipe for cupsFileOpenFd test.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7455 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd cupsFileOpenFd test with no read.
mike [Mon, 14 Apr 2008 21:06:27 +0000 (21:06 +0000)] 
Add cupsFileOpenFd test with no read.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7454 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler now ensures that the RSS directory has the correct permissions.
mike [Mon, 14 Apr 2008 20:16:30 +0000 (20:16 +0000)] 
The scheduler now ensures that the RSS directory has the correct permissions.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7452 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe RSS notifier did not quote the feed URL in the RSS file it created
mike [Mon, 14 Apr 2008 20:02:39 +0000 (20:02 +0000)] 
The RSS notifier did not quote the feed URL in the RSS file it created
(STR #2801)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7451 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRemove unused variables.
mike [Mon, 14 Apr 2008 19:39:02 +0000 (19:39 +0000)] 
Remove unused variables.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7450 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd support for Ghostscript PDF to PostScript conversion.
mike [Mon, 14 Apr 2008 18:27:53 +0000 (18:27 +0000)] 
Add support for Ghostscript PDF to PostScript conversion.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7449 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe default MaxCopies on Mac OS X should be 9999.
mike [Mon, 14 Apr 2008 18:07:40 +0000 (18:07 +0000)] 
The default MaxCopies on Mac OS X should be 9999.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7447 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoRun backends in parallel to get results faster and to stream devices
mike [Sat, 12 Apr 2008 00:37:21 +0000 (00:37 +0000)] 
Run backends in parallel to get results faster and to stream devices
instead of providing them at the end of the scan...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7446 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoSigh... Solaris defines strrchr as returning const char * instead of char *.
mike [Fri, 11 Apr 2008 22:02:13 +0000 (22:02 +0000)] 
Sigh...  Solaris defines strrchr as returning const char * instead of char *.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7445 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoImprove signal handling in pdftops wrapper.
mike [Wed, 9 Apr 2008 18:12:32 +0000 (18:12 +0000)] 
Improve signal handling in pdftops wrapper.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7443 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate APHelpBook documentation.
mike [Wed, 9 Apr 2008 17:52:09 +0000 (17:52 +0000)] 
Update APHelpBook documentation.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7442 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler did not reject requests with an empty Content-Length field
mike [Wed, 9 Apr 2008 03:38:24 +0000 (03:38 +0000)] 
The scheduler did not reject requests with an empty Content-Length field
(STR #2787)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7440 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoDocumentation update (STR #2785)
mike [Wed, 9 Apr 2008 03:30:46 +0000 (03:30 +0000)] 
Documentation update (STR #2785)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7439 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe web interface allowed the creation and cancellation of RSS subscriptions
mike [Wed, 9 Apr 2008 03:27:37 +0000 (03:27 +0000)] 
The web interface allowed the creation and cancellation of RSS subscriptions
without a username (STR #2774)

Remove unused "hex" variable.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7438 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe PNG image loading code would crash with large images (STR #2790)
mike [Wed, 9 Apr 2008 03:16:10 +0000 (03:16 +0000)] 
The PNG image loading code would crash with large images (STR #2790)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7437 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe scheduler did not log the current date and time and did not escape special
mike [Wed, 9 Apr 2008 02:50:12 +0000 (02:50 +0000)] 
The scheduler did not log the current date and time and did not escape special
characters in request URIs when logging bad requests to the access_log file
(STR #2788)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7436 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd --enable-pap configure option.
mike [Wed, 9 Apr 2008 01:20:37 +0000 (01:20 +0000)] 
Add --enable-pap configure option.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7435 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd "authenticated" policy for shared printers.
mike [Tue, 1 Apr 2008 23:13:01 +0000 (23:13 +0000)] 
Add "authenticated" policy for shared printers.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7433 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUse a smaller image file.
mike [Tue, 1 Apr 2008 21:58:31 +0000 (21:58 +0000)] 
Use a smaller image file.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7431 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoCVE-2008-0047: cgiCompileSearch buffer overflow (STR #2729)
mike [Tue, 1 Apr 2008 20:32:00 +0000 (20:32 +0000)] 
CVE-2008-0047: cgiCompileSearch buffer overflow (STR #2729)
CVE-2008-1373: CUPS GIF image filter overflow (STR #2765)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7420 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoWhen making parent directories, change the owner and group as needed.
mike [Tue, 1 Apr 2008 01:14:17 +0000 (01:14 +0000)] 
When making parent directories, change the owner and group as needed.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7419 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUse INSTALL_BIN for root backends.
mike [Tue, 1 Apr 2008 00:58:45 +0000 (00:58 +0000)] 
Use INSTALL_BIN for root backends.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7418 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAlways use our own install-sh script which understands how to strip shared
mike [Tue, 1 Apr 2008 00:48:09 +0000 (00:48 +0000)] 
Always use our own install-sh script which understands how to strip shared
libraries.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7417 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoFix job-sheets test (extra file == extra page...)
mike [Mon, 31 Mar 2008 22:33:20 +0000 (22:33 +0000)] 
Fix job-sheets test (extra file == extra page...)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7415 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoOnly hide missing PPD directories.
mike [Mon, 31 Mar 2008 22:13:14 +0000 (22:13 +0000)] 
Only hide missing PPD directories.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7414 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agocups-driverd complained about missing directories (STR #2777)
mike [Mon, 31 Mar 2008 22:01:10 +0000 (22:01 +0000)] 
cups-driverd complained about missing directories (STR #2777)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7412 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUnlink the auth file when no drivers are found.
mike [Mon, 31 Mar 2008 17:31:45 +0000 (17:31 +0000)] 
Unlink the auth file when no drivers are found.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7411 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoUpdate the automated test suite to count pages and log messages, and treat
mike [Sat, 29 Mar 2008 00:26:03 +0000 (00:26 +0000)] 
Update the automated test suite to count pages and log messages, and treat
mismatches as failures.

Always do some amount of "flood" testing.

Restructure some tests so they are deterministic.

Add tests for banner page and other job options that have been problematic
lately.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7409 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoAdd Czech and Hungarian support in PPD files (STR #2735, STR #2736)
mike [Thu, 27 Mar 2008 23:43:54 +0000 (23:43 +0000)] 
Add Czech and Hungarian support in PPD files (STR #2735, STR #2736)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7408 7a7537e8-13f0-0310-91df-b6672ffda945

16 years agoThe PPD compiler tools now support Mac OS X .strings files for localization
mike [Thu, 27 Mar 2008 20:47:11 +0000 (20:47 +0000)] 
The PPD compiler tools now support Mac OS X .strings files for localization
(STR #2737)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7407 7a7537e8-13f0-0310-91df-b6672ffda945