]>
git.ipfire.org Git - thirdparty/cups.git/log
mike [Mon, 18 Jun 2007 22:18:46 +0000 (22:18 +0000)]
Don't build/install fonts directory on Mac OS X.
Add some build system magic to copy all generated executables into a
"SYMROOT" directory for inspection after installing.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6563
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 18 Jun 2007 21:51:10 +0000 (21:51 +0000)]
Build programs 32-bit only on Mac OS X.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6562
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 18 Jun 2007 21:36:16 +0000 (21:36 +0000)]
Drop parallel and scsi from Mac packaging list.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6561
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 18 Jun 2007 21:31:26 +0000 (21:31 +0000)]
Don't build scsi or parallel backends on Mac OS X.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6560
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 18 Jun 2007 21:09:03 +0000 (21:09 +0000)]
Merge Apple changes to pap backend and lpstat command (to show printer-state-reasons)
More launchd changes.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6559
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 18 Jun 2007 18:11:49 +0000 (18:11 +0000)]
Fix ppdConflicts() - wasn't checking that the marked choice was the one we
were interested in...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6558
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 18 Jun 2007 17:41:11 +0000 (17:41 +0000)]
Fix PPD files to not use unsupported PostScript operators.
Update version numbers to CUPS 1.3...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6557
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 8 Jun 2007 00:50:17 +0000 (00:50 +0000)]
Update CUPS_PRINTER_AUTHENTICATED bit in printer-type as needed.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6556
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 7 Jun 2007 01:33:44 +0000 (01:33 +0000)]
Fix implementation of testdriver sample to produce and consume valid
URIs...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6555
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 7 Jun 2007 01:19:07 +0000 (01:19 +0000)]
When a backend returns CUPS_BACKEND_AUTH_REQUIRED (2), we need to set the
job-hold-until value to "auth-info-required" and not just hold the job.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6554
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 7 Jun 2007 00:58:37 +0000 (00:58 +0000)]
The IPP backend didn't decode the cached auth info properly.
The scheduler didn't advance the value pointer when parsing an
auth-info-required string from a backend or the printers.conf file.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6553
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 5 Jun 2007 14:20:18 +0000 (14:20 +0000)]
Add missing comment for cupsdSetAuthInfoRequired()...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6552
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 5 Jun 2007 13:32:22 +0000 (13:32 +0000)]
Don't output Content-Type unless we are responding to a "CUPS_GET_PPD"
request...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6551
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 4 Jun 2007 15:32:58 +0000 (15:32 +0000)]
Fix writing of remote/shared settings (STR #2393)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6549
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 4 Jun 2007 14:38:43 +0000 (14:38 +0000)]
Fix log message to use correct syntax (STR #2400)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6547
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 4 Jun 2007 14:24:01 +0000 (14:24 +0000)]
Increase size of buffer used for PS/PJL and HPGL checks.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6545
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 4 Jun 2007 14:17:16 +0000 (14:17 +0000)]
D'oh! Forgot to compile test this, and thus missed a typo.
(printer -> pclass in add_class()...)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6544
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sun, 3 Jun 2007 21:13:54 +0000 (21:13 +0000)]
CUPS_ADD_MODIFY_CLASS and CUPS_ADD_MODIFY_PRINTER did not support setting
the auth-info-required attribute...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6543
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 25 May 2007 14:04:51 +0000 (14:04 +0000)]
Update custom option text and add dict/put note.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6542
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 23 May 2007 20:18:00 +0000 (20:18 +0000)]
Fix some Mac OS X errors caught by the compiler...
scheduler/ipp.c:
- add_job(): "q" was not initialized, call cupsdFindQuota()
- get_ppd(): The log message used the i'th value, but we only
have a single value.
scheduler/printers.h:
- Add cupsdFindQuota().
scheduler/quotas.c:
- Rename find_quota to (global) cupsdFindQuota.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6541
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 23 May 2007 15:25:48 +0000 (15:25 +0000)]
Use case-insensitive comparison for cupsFax value...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6540
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 23 May 2007 15:08:29 +0000 (15:08 +0000)]
Don't tag CUPS Bonjour printers as remote by default, to work around a
bug in the Mac OS X print dialog.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6539
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 17 May 2007 18:26:05 +0000 (18:26 +0000)]
More Bonjour shared printer fixes for STR #2384.
scheduler/dirsvc.c:
- cupsdDeregisterPrinter(): Don't deregister hardwired remote printers.
- cupsdRegisterPrinter(): Don't register hardwired remote printers.
- cupsdSendBrowseList(): Don't share hardwired remote printers.
scheduler/ipp.c:
- copy_printer_attrs(): Use external_type as the base value
for the printer-type attribute we send.
scheduler/printers.c:
- cupsdSetPrinterAttrs(): Save printer_type value in external_type.
scheduler/printers.h:
- Add external_type to cupsd_printer_t structure.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6538
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 17 May 2007 13:25:17 +0000 (13:25 +0000)]
Don't add CUPS_PRINTER_REMOTE to p->type, as then the printer will get
timed out. Just add it the printer-type attribute that gets reported
to clients (more for STR #2384)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6537
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 16 May 2007 20:47:31 +0000 (20:47 +0000)]
Treat Bonjour shared printers as (mostly) remote (STR #2384)
scheduler/printers.c:
- cupsdSetPrinterAttrs(): Look for APRemoteQueueID attribute as
a sign that the printer is a shared Bonjour printer.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6536
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 16 May 2007 20:35:05 +0000 (20:35 +0000)]
Improvements to CUPS_GET_PPDS (STR #2383)
Add ppd-model-number and ppd-type attributes.
Update CUPS_GET_PPDS to return the PPD ModelName attribute in the
ppd-products array.
Update documentation.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6535
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 16 May 2007 17:51:03 +0000 (17:51 +0000)]
Add APRemoteQueueID and cupsFax documentation.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6534
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 15 May 2007 15:54:23 +0000 (15:54 +0000)]
Make functions static to reduce global symbol footprint.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6533
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 9 May 2007 18:54:23 +0000 (18:54 +0000)]
<rdar://problem/
4534557 > Wrong localization in CUPS Filter selected
On Mac OS X, use the language specified by LANG, if present, before using
the current (GUI) language preference. Otherwise the wrong language is used
for error messages in filters.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6532
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 8 May 2007 19:48:20 +0000 (19:48 +0000)]
Add Chinese translation.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6529
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 8 May 2007 19:47:23 +0000 (19:47 +0000)]
Update installer images to show "1.3".
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6527
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 8 May 2007 16:28:32 +0000 (16:28 +0000)]
Fix cupsRotation comment to correspond to the actual required
rotation for the labels (STR #2348)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6523
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 8 May 2007 13:35:07 +0000 (13:35 +0000)]
Sync changelog.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6522
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 8 May 2007 02:11:10 +0000 (02:11 +0000)]
Add missing templates.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6521
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 8 May 2007 01:57:14 +0000 (01:57 +0000)]
Add missing button image.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6520
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 8 May 2007 01:55:27 +0000 (01:55 +0000)]
Add missing buttons.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6519
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 7 May 2007 22:17:53 +0000 (22:17 +0000)]
Fix "relaying from" message (STR #2376)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6518
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 7 May 2007 19:10:40 +0000 (19:10 +0000)]
Fix launchd/StartupItem install stuff for Mac OS X.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6515
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 7 May 2007 18:59:25 +0000 (18:59 +0000)]
Remove excess whitespace.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6514
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sun, 6 May 2007 23:50:25 +0000 (23:50 +0000)]
Add dummy startup script for cupsd on Mac OS X 10.4.x.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6513
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sun, 6 May 2007 11:25:09 +0000 (11:25 +0000)]
Ignore generated file.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6512
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 4 May 2007 13:08:05 +0000 (13:08 +0000)]
Disable USB backchannel on all BSD derivatives.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6510
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 3 May 2007 22:58:41 +0000 (22:58 +0000)]
Add -W option to cupstestppd.
Document changes in usage() and man page.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6509
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 3 May 2007 20:07:14 +0000 (20:07 +0000)]
Add support for more PPD filtering with CUPS-Get-PPDs (STR #1901)
Add tests for new functionality.
Fix PSVersion (ppd-psversion) values.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6508
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 3 May 2007 18:36:42 +0000 (18:36 +0000)]
Add documentation on lpmove command (STR #2263)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6507
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 3 May 2007 18:12:35 +0000 (18:12 +0000)]
Add cupsGetServerPPD() function that uses CUPS_GET_PPD operation (STR #2334)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6506
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 3 May 2007 17:44:22 +0000 (17:44 +0000)]
Fix compile problems...
scheduler/conf.c:
- Always include <syslog.h> now.
scheduler/cups-driverd.c:
- list_ppds(): Don't take sizeof(sync), but sizeof(ppdsync).
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6505
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 2 May 2007 00:14:56 +0000 (00:14 +0000)]
Implement CUPS-Get-PPDs with printer-uri (STR #2334)
scheduler/client.c:
- cupsdWriteClient(): Make sure we stick around after all
attributes have been written if we have a file to write.
scheduler/ipp.c:
- cupsdProcessIPPRequest(): Add file size to length as needed.
- get_ppd(): Add code to get printer PPD and do redirects.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6504
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 1 May 2007 23:06:44 +0000 (23:06 +0000)]
Added a new cupsDoIORequest() function for reading and writing files
via IPP requests (STR #2334)
Added a new CUPS_GET_PPD operation for getting an available PPD file
on the server (STR #2334)
cups/ipp.h:
- Add CUPS_GET_PPD operation and CUPS_SEE_OTHER status.
cups/ipp-support.c:
- Add CUPS-Get-PPD and cups-see-other names/constants.
cups/cups.h:
- Add cupsDoIORequest() function.
cups/request.c:
- cupsDoFileRequest(): Use cupsDoIORequest().
- cupsDoIORequest(): Added.
test/ipptest.c:
- Add support for defining variables on the command-line and
showing the file downloaded by a request (-v to show).
scheduler/client.c:
- Add support for returning both IPP and file data in the same
request.
scheduler/ipp.c:
- cupsdProcessIPPRequest(): Add support for CUPS-Get-PPD.
- get_ppd(): Added.
- url_encode_attr(): Call url_encode_string().
- url_encode_string(): Added.
scheduler/cups-driverd.c:
- Add "get request-id ppd-name" mode to return a PPD along
with an IPP status message.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6503
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 1 May 2007 14:18:29 +0000 (14:18 +0000)]
Implement first part of STR #2334 - add support for multiple Product
and PSVersion strings, and list PPDs in Mac OS X standard locations.
Also add virtual LSB locations "lsb/usr", "lsb/opt", and "lsb/local"
corresponding to /usr/share/ppd, /opt/share/ppd, and /usr/local/share/ppd,
respectively.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6502
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 21:53:15 +0000 (21:53 +0000)]
Add cups-version attribute (STR #2240)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6501
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 21:47:48 +0000 (21:47 +0000)]
Add "ctags" target (STR #1875)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6500
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 21:44:43 +0000 (21:44 +0000)]
Fix Mac OS X AuthRef authorization (STR #2375)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6499
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 21:40:33 +0000 (21:40 +0000)]
Abort immediately if no data has been written and we get a SIGTERM signal
(STR #2103)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6498
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 21:36:33 +0000 (21:36 +0000)]
Use "Printer Driver" instead of "Make and Model" in the web interface
(STR #2256)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6497
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 21:29:44 +0000 (21:29 +0000)]
Add documentation for the new DeviceURI directive.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6496
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 21:23:04 +0000 (21:23 +0000)]
Add support for DeviceURI in snmp.conf; documentation to follow (STR #2035)
Also drop support for IPP probes, as it seems like very few devices
actually support IPP properly. Instead, IPP-capable devices will need
to be listed separately in the snmp.conf file.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6495
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 19:52:26 +0000 (19:52 +0000)]
Also handle chown/chmod errors for check_log_file() calls to create the
CUPS_LOGDIR directory...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6494
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 19:33:31 +0000 (19:33 +0000)]
Don't rewrite cupsd.plist file anymore, just use KeepAlive file instead.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6493
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 19:31:36 +0000 (19:31 +0000)]
Don't log errors using cupsdLogMessage() when creating the log directory.
scheduler/conf.c:
- cupsdCheckPermissions(): create_dir<0 means no logging; errors
go to syslog.
scheduler/log.c:
- check_log_file(): Pass -1 for create_dir passed to
cupsdCheckPermissions.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6492
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 18:21:52 +0000 (18:21 +0000)]
Sync length check fix.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6491
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 18:09:30 +0000 (18:09 +0000)]
Create the CUPS log directory as needed (STR #2353)
scheduler/conf.c:
- cupsdCheckPermissions(): Added.
- cupsdReadConfiguration(): Call the new function.
- check_permissions(): Removed.
scheduler/conf.h:
- Add prototype for cupsdCheckPermissions().
scheduler/log.c:
- check_log_file(): Call cupsdCheckPermissions() if the log
file is in CUPS_LOGDIR.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6490
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 17:55:15 +0000 (17:55 +0000)]
cupsLangDefault() now maps new-style Apple locale name to the
traditional ll_CC form (STR #2357)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6489
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 17:45:57 +0000 (17:45 +0000)]
Generate the cupsd.conf reference help file (STR #2356)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6488
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 17:21:28 +0000 (17:21 +0000)]
Update 1.2 changelog.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6487
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 17:19:45 +0000 (17:19 +0000)]
Don't forget to remove generated client.conf.man file (STR #2366)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6485
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 17:16:16 +0000 (17:16 +0000)]
Fix format string bug (STR #2373)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6483
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 30 Apr 2007 17:05:59 +0000 (17:05 +0000)]
Don't stop waiting for a job if it is stopped or held (STR #2352)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6482
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 27 Apr 2007 18:53:20 +0000 (18:53 +0000)]
Don't install templates as config files anymore.
Do a killall on cupsd between the launchctl commands to avoid
having to do a reboot.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6480
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 27 Apr 2007 11:44:10 +0000 (11:44 +0000)]
Drop toupper - we don't need it.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6479
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 27 Apr 2007 11:08:57 +0000 (11:08 +0000)]
Map option names to lowercase when hashing.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6478
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Apr 2007 19:55:45 +0000 (19:55 +0000)]
Merge ppdConflicts() optimizations and new hashed array support
(STR #2358)
cups/array.c:
- Add hash data to _cups_array_s.
- cupsArrayDelete(): Free hash array.
- cupsArrayFind(): Use hash array.
- cupsArrayNew(): Call cupsArrayNew2().
- cupsArrayNew2(): Added.
cups/array.h:
- Add cups_ahash_func_t definition for hash functions.
- Add cupsArrayNew2() with hash function and hash size
arguments.
cups/mark.c:
- ppdConflicts(): Cache the last
cups/ppd.c:
- ppdClose(): Destroy "marked" array.
- ppdOpen2(): Create "marked" array for marked options, use a
hash for the options array for faster lookups, and sort the
UIConstraints.
- ppd_compare_choices(): Added.
- ppd_compare_consts(): Added.
- ppd_hash_option(): Added.
cups/ppd.h:
- Add "marked" array to ppd_file_t.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6477
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 23 Apr 2007 20:35:44 +0000 (20:35 +0000)]
Changelog...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6464
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 23 Apr 2007 20:34:38 +0000 (20:34 +0000)]
Fix PDF rotation bug (STR #2348)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6463
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 23 Apr 2007 19:25:13 +0000 (19:25 +0000)]
Fix crash when a printer points to a bad file: URL...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6462
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 23 Apr 2007 19:14:47 +0000 (19:14 +0000)]
Return notify-lease-duration from renew_subscription (STR #2346)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6461
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 23 Apr 2007 17:33:45 +0000 (17:33 +0000)]
Fix IPP printing for Xerox printers (STR #2349)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6459
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 17 Apr 2007 18:40:55 +0000 (18:40 +0000)]
ppdLocalize() now also tries a country-specific localization for
when localizing to a generic locale name.
The cupstestppd program now allows for partial localizations to
reduce the size of universal PPD files.
Chinese PPD files were incorrectly tagged with the "cn" locale
(should have been "zh")
Update PPD documentation WRT locale name usage.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6457
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 16 Apr 2007 14:26:36 +0000 (14:26 +0000)]
The backends now manage the printer-state-reasons attribute more
accurately (STR #2345)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6455
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 12 Apr 2007 20:43:54 +0000 (20:43 +0000)]
Java, PHP, Perl, and Python scripts did not work properly (STR
#2342)
scheduler/client.c:
- is_cgi(): Add space to start of options string so that
pipe_command() knows to pass the script name as an argument
instead of as path information.
- pipe_command(): Add AUTH_TYPE, GATEWAY_INTERFACE, and
SCRIPT_FILENAME environment variables, and discard leading
space in option string.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6453
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 12 Apr 2007 16:43:18 +0000 (16:43 +0000)]
Don't close more than 1024 file descriptors when going in
"daemon" mode (STR #2329)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6452
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 12 Apr 2007 16:39:05 +0000 (16:39 +0000)]
The page-ranges option was incorrectly applied to the banner
pages (STR #2336)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6451
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 11 Apr 2007 13:18:26 +0000 (13:18 +0000)]
Fix strict aliasing warning (STR #2340)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6449
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Apr 2007 18:02:00 +0000 (18:02 +0000)]
Add _HPUX_SOURCE definition on HP-UX - needed for IPv6 header (STR #2331)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6447
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 4 Apr 2007 23:43:26 +0000 (23:43 +0000)]
Fix CustomPageSize constraints and CustomFoo options that are not
custom options.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6445
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 4 Apr 2007 22:13:58 +0000 (22:13 +0000)]
Add checks for valid constraints...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6444
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 4 Apr 2007 21:41:29 +0000 (21:41 +0000)]
Add checks for pre-filters.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6443
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 4 Apr 2007 14:28:59 +0000 (14:28 +0000)]
Add checks for existing filters, etc. (STR #2326)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6442
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 3 Apr 2007 23:17:17 +0000 (23:17 +0000)]
Move list of new printers to a separate page.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6440
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 3 Apr 2007 21:02:15 +0000 (21:02 +0000)]
Add support for setting banner and policy options for raw queues and
classes (STR #2238)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6439
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 3 Apr 2007 17:52:41 +0000 (17:52 +0000)]
Add pre-shutdown wait for back-channel data (STR #2325)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6438
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 3 Apr 2007 17:38:10 +0000 (17:38 +0000)]
Disable USB back-channel on NetBSD (STR #2324)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6437
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 2 Apr 2007 23:24:02 +0000 (23:24 +0000)]
Add ErrorPolicy directive (STR #1871)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6436
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 2 Apr 2007 22:43:39 +0000 (22:43 +0000)]
Fix JCL order dependency values (STR #1985)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6435
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 2 Apr 2007 22:07:10 +0000 (22:07 +0000)]
Relay printer-state-message strings from server to client (STR #2109)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6434
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 2 Apr 2007 21:50:50 +0000 (21:50 +0000)]
Add support for PSX printer-alert and printer-alert-description
attributes (STR #2088)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6433
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 2 Apr 2007 21:50:28 +0000 (21:50 +0000)]
I18N stuff.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6432
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 2 Apr 2007 14:31:49 +0000 (14:31 +0000)]
Add Hebrew localization (STR #2148)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6431
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 2 Apr 2007 14:01:55 +0000 (14:01 +0000)]
Add base language checks to cupstestppd (STR #2313)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6430
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 2 Apr 2007 13:44:52 +0000 (13:44 +0000)]
Add support for STATE: paused (STR #1903)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6429
7a7537e8 -13f0-0310-91df-
b6672ffda945