]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
22 years agoAdd support for -u allow/deny:@groupname.
mike [Tue, 4 Mar 2003 21:41:40 +0000 (21:41 +0000)] 
Add support for -u allow/deny:@groupname.

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

22 years agoLog the client hostname in page_log, and use "-" for any empty fields.
mike [Tue, 4 Mar 2003 15:34:34 +0000 (15:34 +0000)] 
Log the client hostname in page_log, and use "-" for any empty fields.

Use a different looping variable so that "lpoptions -l" doesn't get in
an infinite loop.

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

22 years agoFix WIN32 compiles.
mike [Mon, 3 Mar 2003 17:59:56 +0000 (17:59 +0000)] 
Fix WIN32 compiles.

Make sure we clear the fd_set, since future connections for this HTTP
object might use a different file descriptor.

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

22 years agoScale PDF pages within the imageable area of the page.
mike [Mon, 3 Mar 2003 17:10:24 +0000 (17:10 +0000)] 
Scale PDF pages within the imageable area of the page.

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

22 years agoUpdate PPD attribute API to return ppd_attr_t pointers and to separate
mike [Fri, 28 Feb 2003 21:06:09 +0000 (21:06 +0000)] 
Update PPD attribute API to return ppd_attr_t pointers and to separate
the translation text from the option keyword (spec).

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

22 years agoUpdateJob fix for job history...
mike [Fri, 28 Feb 2003 20:18:08 +0000 (20:18 +0000)] 
UpdateJob fix for job history...

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

22 years agoAdd page labels for EPS and non-conformant PS files.
mike [Fri, 28 Feb 2003 16:38:11 +0000 (16:38 +0000)] 
Add page labels for EPS and non-conformant PS files.

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

22 years agoDon't append / to attribute specification string if no / is in the
mike [Fri, 28 Feb 2003 10:28:25 +0000 (10:28 +0000)] 
Don't append / to attribute specification string if no / is in the
original attribute line in the file.

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

22 years agoFix add-printer bug.
mike [Wed, 26 Feb 2003 19:49:24 +0000 (19:49 +0000)] 
Fix add-printer bug.

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

22 years agoHandle PPD filenames with spaces...
mike [Wed, 26 Feb 2003 01:19:07 +0000 (01:19 +0000)] 
Handle PPD filenames with spaces...

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

22 years agoFix trailing whitespace support.
mike [Tue, 25 Feb 2003 19:06:40 +0000 (19:06 +0000)] 
Fix trailing whitespace support.

Make sure "cupstestppd -q" is totally silent.

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

22 years agoFix landscape printing bug in image filter.
mike [Mon, 24 Feb 2003 20:09:12 +0000 (20:09 +0000)] 
Fix landscape printing bug in image filter.

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

22 years agoFix line number reporting for initial read of the entire line (now reports
mike [Thu, 20 Feb 2003 16:52:16 +0000 (16:52 +0000)] 
Fix line number reporting for initial read of the entire line (now reports
the starting line number...)

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

22 years agoDon't write any FAIL messages in quiet mode.
mike [Thu, 20 Feb 2003 16:00:16 +0000 (16:00 +0000)] 
Don't write any FAIL messages in quiet mode.

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

22 years agoOnly treat UI keywords as options when they contain all of the necessary
mike [Thu, 20 Feb 2003 14:49:50 +0000 (14:49 +0000)] 
Only treat UI keywords as options when they contain all of the necessary
information.

Allow DefaultFoo keywords after and outside an option definition.

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

22 years agoTreat common option name prefixes as a warning and not an error.
mike [Thu, 20 Feb 2003 14:19:30 +0000 (14:19 +0000)] 
Treat common option name prefixes as a warning and not an error.

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

22 years agoIndent references for load errors.
mike [Thu, 20 Feb 2003 14:11:40 +0000 (14:11 +0000)] 
Indent references for load errors.

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

22 years agoOnly convert PICTWPS files when printing to a server without support for
mike [Thu, 20 Feb 2003 03:49:50 +0000 (03:49 +0000)] 
Only convert PICTWPS files when printing to a server without support for
PICTWPS files.

Allow trailing whitespace on a line.

Add additional checks for main keywords with a common prefix.

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

22 years agoCompare ui_keywords against keyword string...
mike [Wed, 19 Feb 2003 22:02:39 +0000 (22:02 +0000)] 
Compare ui_keywords against keyword string...

Set default choice from existing DefaultXYZ attributes, if any.  This
allows the defaults to be set prior to the UI option being defined...

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

22 years agoMake sure we un-set the "options" pointer after adding a UI keyword without
mike [Wed, 19 Feb 2003 18:08:10 +0000 (18:08 +0000)] 
Make sure we un-set the "options" pointer after adding a UI keyword without
an OpenUI/CloseUI around it...

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

22 years agoLanguageEncoding warning needs to be printed when language_encoding is
mike [Wed, 19 Feb 2003 17:38:20 +0000 (17:38 +0000)] 
LanguageEncoding warning needs to be printed when language_encoding is
NULL, not when it is not NULL (e.g. already specified... :)

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

22 years agoMake ppdOpen() error output consistent with the rest of the tests.
mike [Wed, 19 Feb 2003 16:09:29 +0000 (16:09 +0000)] 
Make ppdOpen() error output consistent with the rest of the tests.

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

22 years agoDon't need to look for SetResolution option.
mike [Wed, 19 Feb 2003 14:46:10 +0000 (14:46 +0000)] 
Don't need to look for SetResolution option.

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

22 years agoRemove non-UI keywords from the list.
mike [Wed, 19 Feb 2003 14:43:36 +0000 (14:43 +0000)] 
Remove non-UI keywords from the list.

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

22 years agoGroup all of the OS errors together for ease of use.
mike [Tue, 18 Feb 2003 22:43:09 +0000 (22:43 +0000)] 
Group all of the OS errors together for ease of use.

Updated the scheduler to log the OS error or PPD error as appropriate.

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

22 years agoppdEmit() and friends now use the RequiresPageRegion attribute (along with
mike [Tue, 18 Feb 2003 22:23:39 +0000 (22:23 +0000)] 
ppdEmit() and friends now use the RequiresPageRegion attribute (along with
the presence of CUPS filters) to determine whether to include PageRegion
commands along with InputSlot commands.

Added additional PPD status codes and messages.

Updated ppdOpen() and friends to support standard options outside of
OpenUI/CloseUI, to conform to the PPD spec.

Updated cupstestppd for a better default (concise) report, which shows
pass/fail on the first line and any error and warning conditions after.
The new reports now also reference the corresponding section and pages
in the spec for the failure/warning in question.

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

22 years agoMake sure 8-bit chars are allowed as translation strings on all platforms.
mike [Tue, 18 Feb 2003 18:25:13 +0000 (18:25 +0000)] 
Make sure 8-bit chars are allowed as translation strings on all platforms.

Allow CTRL-Z as an EOF character.

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

22 years agoLanguageEncoding was introduced in PPD version 4.1.
mike [Fri, 14 Feb 2003 21:23:51 +0000 (21:23 +0000)] 
LanguageEncoding was introduced in PPD version 4.1.

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

22 years agoUpdate cupstestppd to support the FormatVersion attribute, since the
mike [Fri, 14 Feb 2003 21:08:29 +0000 (21:08 +0000)] 
Update cupstestppd to support the FormatVersion attribute, since the
Manufacturer and ShortNickName attributes were added/made required in
version 4.3 but not in previous versions of the PPD spec.  This allows
otherwise conformant files to pass...

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

22 years agoAllow lines consisting of all whitespace...
mike [Fri, 14 Feb 2003 20:25:04 +0000 (20:25 +0000)] 
Allow lines consisting of all whitespace...

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

22 years agoOff-by-one for some PPD errors...
mike [Fri, 14 Feb 2003 20:12:53 +0000 (20:12 +0000)] 
Off-by-one for some PPD errors...

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

22 years agoUse new PPD API to show PPD errors in the scheduler error_log file.
mike [Fri, 14 Feb 2003 20:09:15 +0000 (20:09 +0000)] 
Use new PPD API to show PPD errors in the scheduler error_log file.

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

22 years agoUpgrade PPD loader and cupstestppd for better conformance testing and
mike [Fri, 14 Feb 2003 20:01:26 +0000 (20:01 +0000)] 
Upgrade PPD loader and cupstestppd for better conformance testing and
requiring a valid PPD file.

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

22 years agoRemove debug stuff.
mike [Fri, 14 Feb 2003 03:06:39 +0000 (03:06 +0000)] 
Remove debug stuff.

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

22 years agoFix ppd_read() bug.
mike [Fri, 14 Feb 2003 03:04:07 +0000 (03:04 +0000)] 
Fix ppd_read() bug.

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

22 years agoFix reporting of line numbers in PPD file - we didn't handle trailing
mike [Thu, 13 Feb 2003 21:02:29 +0000 (21:02 +0000)] 
Fix reporting of line numbers in PPD file - we didn't handle trailing
newlines after a quoted string, so the line number would get out of sync.

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

22 years agoUse SIG_DFL instead of SIG_IGN.
mike [Thu, 13 Feb 2003 03:32:54 +0000 (03:32 +0000)] 
Use SIG_DFL instead of SIG_IGN.

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

22 years agoFix cupsEncodeOptions() function.
mike [Thu, 13 Feb 2003 03:23:13 +0000 (03:23 +0000)] 
Fix cupsEncodeOptions() function.

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

22 years agoMake the maximum number of files a configure-time setting, for operating
mike [Wed, 12 Feb 2003 19:31:12 +0000 (19:31 +0000)] 
Make the maximum number of files a configure-time setting, for operating
systems (OSX) that report 2^31-1 for the upper limit on file descriptors.

The default is 4096, which will support 1365 simultaneous clients.
The new --with-maxfiles=N option can override the default value of 4096.

Also, make the FD_SETSIZE stuff applicable only to Solaris, which needs
it to use the "big" select function.

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

22 years agoFix nbytes type - needs to be int to get errors...
mike [Wed, 12 Feb 2003 16:32:42 +0000 (16:32 +0000)] 
Fix nbytes type - needs to be int to get errors...

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

22 years agoFix HP-UX fix.
mike [Wed, 12 Feb 2003 14:13:12 +0000 (14:13 +0000)] 
Fix HP-UX fix.

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

22 years agoHP-UX needs a define to get the h_errno definition.
mike [Tue, 11 Feb 2003 20:20:26 +0000 (20:20 +0000)] 
HP-UX needs a define to get the h_errno definition.

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

22 years agoDon't log every packet we send...
mike [Tue, 11 Feb 2003 19:20:38 +0000 (19:20 +0000)] 
Don't log every packet we send...

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

22 years agoDo all printers and classes, *then* sleep for any remaining time.
mike [Tue, 11 Feb 2003 19:18:55 +0000 (19:18 +0000)] 
Do all printers and classes, *then* sleep for any remaining time.

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

22 years agoMake httpGets() non-blocking so that a client can't send a partial HTTP
mike [Tue, 11 Feb 2003 16:23:55 +0000 (16:23 +0000)] 
Make httpGets() non-blocking so that a client can't send a partial HTTP
chunk and cause a DoS of the scheduler.

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

22 years agoSides is a keyword value (as is media, normally...)
mike [Mon, 10 Feb 2003 17:58:12 +0000 (17:58 +0000)] 
Sides is a keyword value (as is media, normally...)

Check the page-ranges attribute for correct ordering of values.

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

22 years agoCheck for and error out on IPP_NOT_FOUND errors...
mike [Fri, 7 Feb 2003 12:03:43 +0000 (12:03 +0000)] 
Check for and error out on IPP_NOT_FOUND errors...

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

22 years agoMake sure device_uri is initialized.
mike [Wed, 5 Feb 2003 21:18:56 +0000 (21:18 +0000)] 
Make sure device_uri is initialized.

Don't need backend string (not used).

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

22 years agoBump the Copyright to year 2003. Some reason, it went back to 2002.
swdev [Wed, 5 Feb 2003 21:18:53 +0000 (21:18 +0000)] 
Bump the Copyright to year 2003.  Some reason, it went back to 2002.

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

22 years agoAllocate fd_sets to support more than 1024 file descriptors...
mike [Wed, 5 Feb 2003 21:10:18 +0000 (21:10 +0000)] 
Allocate fd_sets to support more than 1024 file descriptors...

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

22 years agoUpdate color space list.
mike [Wed, 5 Feb 2003 03:17:27 +0000 (03:17 +0000)] 
Update color space list.

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

22 years agoMinor tweeks so that ICC1-ICCF colorspaces are Lab, not XYZ.
mike [Wed, 5 Feb 2003 03:10:21 +0000 (03:10 +0000)] 
Minor tweeks so that ICC1-ICCF colorspaces are Lab, not XYZ.

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

22 years agoReally fix OSX compile error...
mike [Tue, 4 Feb 2003 20:33:18 +0000 (20:33 +0000)] 
Really fix OSX compile error...

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

22 years agoOSX compile fixes.
mike [Tue, 4 Feb 2003 19:02:25 +0000 (19:02 +0000)] 
OSX compile fixes.

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

22 years agoServerKey isn't needed for CDSA.
mike [Tue, 4 Feb 2003 05:44:53 +0000 (05:44 +0000)] 
ServerKey isn't needed for CDSA.

TempDir initialization was wrong.

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

22 years agoGet locale info from CoreFoundation.
mike [Tue, 4 Feb 2003 05:27:23 +0000 (05:27 +0000)] 
Get locale info from CoreFoundation.

Pass CFProcessPath env var...

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

22 years agoFix httpSeparate() handling of file:///path.
mike [Tue, 4 Feb 2003 05:08:43 +0000 (05:08 +0000)] 
Fix httpSeparate() handling of file:///path.

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

22 years agoAdd check for PCFileName attribute, now that we have it...
mike [Mon, 3 Feb 2003 15:01:50 +0000 (15:01 +0000)] 
Add check for PCFileName attribute, now that we have it...

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

22 years ago* is a valid filename for OPTIONS...
mike [Mon, 3 Feb 2003 02:33:42 +0000 (02:33 +0000)] 
* is a valid filename for OPTIONS...

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

22 years agoThe pictwpstops filter needs to be able to read the PPD file... Make
swdev [Fri, 31 Jan 2003 21:22:53 +0000 (21:22 +0000)] 
The pictwpstops filter needs to be able to read the PPD file...  Make
sure it is owned by the filter user...

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

22 years agoAdd support for cupsProtocol attribute and the corresponding checks in
mike [Fri, 31 Jan 2003 20:09:24 +0000 (20:09 +0000)] 
Add support for cupsProtocol attribute and the corresponding checks in
lpadmin; this allows for user control of whether a particular queue should
use BCP/TBCP with a printer, since some printers need it and some don't,
independent of the PPD file Protocols attribute...

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

22 years agoFix parsing of SystemGroup directive.
mike [Fri, 31 Jan 2003 17:48:23 +0000 (17:48 +0000)] 
Fix parsing of SystemGroup directive.

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

22 years agolppasswd needs group write permission to the /etc/cups directory.
mike [Fri, 31 Jan 2003 17:20:02 +0000 (17:20 +0000)] 
lppasswd needs group write permission to the /etc/cups directory.

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

22 years agoSpool directory now needs 710 perms...
mike [Fri, 31 Jan 2003 17:08:44 +0000 (17:08 +0000)] 
Spool directory now needs 710 perms...

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

22 years agoFixes from Apple.
mike [Fri, 31 Jan 2003 01:26:32 +0000 (01:26 +0000)] 
Fixes from Apple.

Don't need job->title.

get_printers() should look for a printer-location attribute.

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

22 years agoMake sure ConfigurationFile is set...
mike [Wed, 29 Jan 2003 20:36:01 +0000 (20:36 +0000)] 
Make sure ConfigurationFile is set...

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

22 years agoDon't forget to free username, dest, and title in job structure.
mike [Wed, 29 Jan 2003 20:10:47 +0000 (20:10 +0000)] 
Don't forget to free username, dest, and title in job structure.

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

22 years agoAllocate all strings in the scheduler; this yields substantial memory
mike [Wed, 29 Jan 2003 19:54:53 +0000 (19:54 +0000)] 
Allocate all strings in the scheduler; this yields substantial memory
savings for large numbers of jobs and printers.

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

22 years agoAdd new ppdLastError() and ppdErrorString() functions to provide better
mike [Wed, 29 Jan 2003 17:03:38 +0000 (17:03 +0000)] 
Add new ppdLastError() and ppdErrorString() functions to provide better
feedback about PPD errors.

Add missing PPD attribute functions from 1.2.

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

22 years agoNot all platforms have hstrerror()...
mike [Wed, 29 Jan 2003 15:35:56 +0000 (15:35 +0000)] 
Not all platforms have hstrerror()...

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

22 years agoAdd debugging output of the backchannel data so that it is logged...
mike [Wed, 29 Jan 2003 14:44:46 +0000 (14:44 +0000)] 
Add debugging output of the backchannel data so that it is logged...

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

22 years agoMake -q really -q...
mike [Wed, 29 Jan 2003 01:40:16 +0000 (01:40 +0000)] 
Make -q really -q...

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

22 years agoFix CDSA compile probs.
mike [Wed, 29 Jan 2003 00:19:42 +0000 (00:19 +0000)] 
Fix CDSA compile probs.

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

22 years agoD'oh! Need 0 values for separator...
mike [Tue, 28 Jan 2003 21:43:29 +0000 (21:43 +0000)] 
D'oh!  Need 0 values for separator...

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

22 years agoFix TrueType sorting function...
mike [Tue, 28 Jan 2003 21:18:17 +0000 (21:18 +0000)] 
Fix TrueType sorting function...

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

22 years agoSupport filtering of PJL commands, too.
mike [Tue, 28 Jan 2003 20:36:43 +0000 (20:36 +0000)] 
Support filtering of PJL commands, too.

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

22 years agoOne more OSX fix.
mike [Tue, 28 Jan 2003 20:21:53 +0000 (20:21 +0000)] 
One more OSX fix.

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

22 years agoFix OSX build...
mike [Tue, 28 Jan 2003 20:20:19 +0000 (20:20 +0000)] 
Fix OSX build...

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

22 years agoBinary PostScript support!
mike [Tue, 28 Jan 2003 19:26:44 +0000 (19:26 +0000)] 
Binary PostScript support!

Use the application/postscript MIME type for the pictwps output format,
since we'll need to filter it on the receiving end...

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

22 years agoPart 1 of arbitrary binary data support in pstops.
mike [Tue, 28 Jan 2003 16:23:32 +0000 (16:23 +0000)] 
Part 1 of arbitrary binary data support in pstops.

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

22 years agoAdd support for multiple *Product lines.
mike [Tue, 28 Jan 2003 15:37:35 +0000 (15:37 +0000)] 
Add support for multiple *Product lines.

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

22 years agoBump DSO versions...
mike [Tue, 28 Jan 2003 15:33:18 +0000 (15:33 +0000)] 
Bump DSO versions...

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

22 years agoAdd CUPS 1.2 attribute, protocol, and pc filename stuff to 1.1.x.
mike [Tue, 28 Jan 2003 15:29:14 +0000 (15:29 +0000)] 
Add CUPS 1.2 attribute, protocol, and pc filename stuff to 1.1.x.

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

22 years agoFix OpenSSL/GNUTLS/CDSA tests.
mike [Tue, 28 Jan 2003 13:35:56 +0000 (13:35 +0000)] 
Fix OpenSSL/GNUTLS/CDSA tests.

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

22 years agoSolaris Intel uses <sys/ecppsys.h> instead of <sys/ecppio.h>.
mike [Mon, 27 Jan 2003 17:12:08 +0000 (17:12 +0000)] 
Solaris Intel uses <sys/ecppsys.h> instead of <sys/ecppio.h>.

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

22 years agoDocument -u option and the way to prevent abuse.
mike [Mon, 27 Jan 2003 14:44:41 +0000 (14:44 +0000)] 
Document -u option and the way to prevent abuse.

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

22 years agoAdd -q option to cupstestppd.
mike [Fri, 24 Jan 2003 21:32:14 +0000 (21:32 +0000)] 
Add -q option to cupstestppd.

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

22 years agoMore accurately compute the required size of the option buffer.
mike [Fri, 24 Jan 2003 21:11:51 +0000 (21:11 +0000)] 
More accurately compute the required size of the option buffer.

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

22 years agoReduce the memory footprint of CUPS (changes donated by Apple)
mike [Fri, 24 Jan 2003 20:39:44 +0000 (20:39 +0000)] 
Reduce the memory footprint of CUPS (changes donated by Apple)

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

22 years agoMake reference to the cupsd.conf file as the holder of the authoritative
mike [Fri, 24 Jan 2003 19:31:58 +0000 (19:31 +0000)] 
Make reference to the cupsd.conf file as the holder of the authoritative
user and directory information.

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

22 years agoCDSA encryption library support from Apple.
mike [Fri, 24 Jan 2003 19:16:33 +0000 (19:16 +0000)] 
CDSA encryption library support from Apple.

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

22 years agoUpdate CUPS list file so that PAM files are optional.
mike [Fri, 24 Jan 2003 18:10:04 +0000 (18:10 +0000)] 
Update CUPS list file so that PAM files are optional.

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

22 years agoAdd support for implicit classes of regular classes.
mike [Fri, 24 Jan 2003 17:55:06 +0000 (17:55 +0000)] 
Add support for implicit classes of regular classes.

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

22 years agoAdd -H restart support to lp command.
mike [Fri, 24 Jan 2003 16:52:41 +0000 (16:52 +0000)] 
Add -H restart support to lp command.

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

22 years agoSupport URIs in HTTP requests, per HTTP/1.1 spec.
mike [Fri, 24 Jan 2003 15:06:03 +0000 (15:06 +0000)] 
Support URIs in HTTP requests, per HTTP/1.1 spec.

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

22 years agoMake sure that the locale stuff matches language.h for porting purposes.
mike [Fri, 24 Jan 2003 14:43:51 +0000 (14:43 +0000)] 
Make sure that the locale stuff matches language.h for porting purposes.

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

22 years agoFix banner substitution of time-at attributes.
mike [Fri, 24 Jan 2003 13:53:53 +0000 (13:53 +0000)] 
Fix banner substitution of time-at attributes.

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

22 years agoGerman button images for CUPS web interface...
mike [Thu, 23 Jan 2003 21:53:38 +0000 (21:53 +0000)] 
German button images for CUPS web interface...

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

22 years agoUpdate German translation of web interface...
mike [Thu, 23 Jan 2003 21:36:05 +0000 (21:36 +0000)] 
Update German translation of web interface...

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

22 years agoFix compile warnings and allow PPD not to be found...
mike [Thu, 23 Jan 2003 20:16:08 +0000 (20:16 +0000)] 
Fix compile warnings and allow PPD not to be found...

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