]>
git.ipfire.org Git - thirdparty/cups.git/log
mike [Fri, 27 Jan 2006 14:47:00 +0000 (14:47 +0000)]
Fix RPM spec file.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@5004
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 27 Jan 2006 02:33:36 +0000 (02:33 +0000)]
Add locale to regular make directories.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@5003
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 23:39:23 +0000 (23:39 +0000)]
StateDir is not writable by group...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@5001
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 23:38:43 +0000 (23:38 +0000)]
Fix makefile typos.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@5000
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 23:36:22 +0000 (23:36 +0000)]
Add --enable-static configure option (default = no) to control whether
static libraries are installed (they are always built for the test
programs)
Fix default permissions of scheduler directories.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4999
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 21:59:54 +0000 (21:59 +0000)]
Rename cupsPageScaling to cupsBorderlessScalingFactor, per Apple usage.
Add num_options and options to cupsRasterInterpretPPD, support and
option override for cupsBorderlessScalingFactor, and scale the
integer versions of the page size and imaging bounding box with the
scaling factor.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4998
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 21:43:54 +0000 (21:43 +0000)]
Log CGIPipes, clear CGI input when client isn't ready to receive.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4997
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 21:38:20 +0000 (21:38 +0000)]
Don't wake up to regenerate the root certificate.
If we don't need to timeout for a day or more, don't use the timeout.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4996
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 20:14:42 +0000 (20:14 +0000)]
Back out IPP_TAG_COPY_NAME change - too disruptive.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4995
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 19:35:07 +0000 (19:35 +0000)]
Fix test failures caused by copied name issue.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4994
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 19:27:40 +0000 (19:27 +0000)]
Add notify_post() support on MacOS X.
Fix check_permissions implementation.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4993
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 17:50:58 +0000 (17:50 +0000)]
Use ippReadIO and ippWriteIO with CUPS files when reading/writing
job control files (faster)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4992
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 15:01:46 +0000 (15:01 +0000)]
#ifdef Apple-specific "recoverable" error stuff.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4991
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 02:21:45 +0000 (02:21 +0000)]
Add whitespace and line ending checks to cupstestppd.
Remove blank line checks in ppd_get_line().
Add requesting-user-name in accept.c requests.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4990
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 00:59:45 +0000 (00:59 +0000)]
Save printers.conf with mode 0600.
Set printer-is-shared to the DefaultShared in AddPrinter.
Add printer-is-shared to printer-state-history.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4989
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 00:53:00 +0000 (00:53 +0000)]
The classes.conf file should be mode 0600.
Add "DefaultShared" configure option.
Add new check_permissions() function to check the permissions of files
and directories, and to create directories as needed.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4988
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 26 Jan 2006 00:25:21 +0000 (00:25 +0000)]
Fix cupsGetPPD2() for classes containing only classes.
Remove debug fprintf from ippSetPort().
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4987
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 23:46:20 +0000 (23:46 +0000)]
Check all httpReconnect()'s.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4986
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 21:57:18 +0000 (21:57 +0000)]
Check that we have the CoreFoundation header before including it.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4985
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 21:55:36 +0000 (21:55 +0000)]
Check to see if httpReconnect() failed and abort if so.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4984
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 21:53:43 +0000 (21:53 +0000)]
Increase the read/write buffer for CUPS files and optimize the compressed/
decompressed data check for uncompressed data.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4983
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 21:44:44 +0000 (21:44 +0000)]
Add support for new attributes in page device header.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4982
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 21:34:00 +0000 (21:34 +0000)]
Add floating point PageSize and ImagingBBox values along with page
scaling (used for full-bleed with some CUPS drivers) and the name of
the page size that was selected.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4981
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 19:57:45 +0000 (19:57 +0000)]
Clean up some PostScript output issues and add new order-dependent APIs.
cups/emit.c:
- ppdCollect2(): Added
- ppdEmitAfterOrder(): Added, support floating point page sizes.
- ppd_handle_media(): Fix manual feed/input slot detection code
so that PageRegion is used as needed.
cups/ppd.h:
- Add ppdCollect2() and ppdEmitAfterOrder() functions.
cups/mark.c:
- ppdMarkOption(): Add support for AP_D_InputSlot pseudo-option
and fix InputSlot/ManualFeed option issues.
cups/options.c:
- cupsMarkOptions(): Don't allow an empty PageSize option to
override media.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4980
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 17:47:43 +0000 (17:47 +0000)]
Use notify_post to tell MacOS X apps that the printers have changed.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4979
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 16:17:31 +0000 (16:17 +0000)]
Add printer description and state attributes as options in destination
list so that apps can lookup common info without doing an IPP request.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4978
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 15:52:30 +0000 (15:52 +0000)]
Add printer description attributes to list (they can then be encoded for
lpadmin) and use bsearch to lookup the attributes.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4977
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 15:07:40 +0000 (15:07 +0000)]
Fix some networking issues, add support for Darwin's SO_NOSIGPIPE
socket option, and update the CDSA support.
- Use socket option instead of setting SIGPIPE handler (if possible.)
<rdar://problem/
3307769 > CUPS shouldn't use SIGPIPE
- SO_NOSIGPIPE is Darwin-specific, so #ifdef SO_NOSIGPIPE
to determine whether we fiddle with the signal stuff.
- This change appears in http-addrlist.c in the httpAddrConnect
function, which is used to create all sockets...
- httpFlush(): disable blocking temporarily while flushing?
- Yes, but check the state - if we haven't completed the
current request/response, close the socket and reset the
state.
- http_send(): check return value of httpReconnect, abort early if failed
- http_wait(): Add fd<0 guard.
- http_real_ssl(), http_write_ssl(), CDSAReadFunc(), CDSAWrieFunc():
- Update error handling to match...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4976
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 14:32:33 +0000 (14:32 +0000)]
Add cupsd.conf.default file to RPM.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4975
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 07:04:33 +0000 (07:04 +0000)]
Merge features and bug fixes.
backend/lpd.c:
- Add contimeout option and also look in OSX system preferences for
the maximum time we wait to finally connect to the printer.
- Add OSX proxy error handling support.
- Fix to properly support + and & as separators.
backend/socket.c:
- Add waiteof option - when set to false/no/off, the backend will
no longer shutdown the transmit side of the socket and wait for
the printer to close its side.
berkeley/lpr.c:
- Use ssize_t and off_t variables for read/write and lseek so
that things work properly with large file support.
systemv/lp.c:
- Use ssize_t and off_t variables for read/write and lseek so
that things work properly with large file support.
- "-m" makes lp silent, per OpenGroup specs.
- "--" stops option processing, per OpenGroup specs.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4974
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 25 Jan 2006 02:36:02 +0000 (02:36 +0000)]
Cleanup and some minor performance optimizations.
cups/backend.h:
- Remap exit codes to match Apple standard for fax retry.
cups/cups.h:
- Typos...
cups/encode.c:
cups/http-private.h:
- Include new private IPP header.
cups/http.h:
- Sync up changes and reset buffer size to 2048 again.
cups/ipp-private.h:
- Added.
cups/ipp.c:
- ippReadIO(): Mark name as copied.
- _ipp_add_attr(): Move num_values assignment inside test.
- _ipp_free_attr(): Don't free copied names.
cups/ipp.h:
- Add IPP_TAG_COPY_NAME flag to ipp_tag_t.
- Fix formatting.
cups/ppd.c:
- ppd_read(): Fix problem with PPD files ending with CR.
test/ipptest.c:
- Use httpSeparateURI().
scheduler/main.c:
- main(): Fix local/remote browsing bug.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4973
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 24 Jan 2006 14:48:12 +0000 (14:48 +0000)]
Don't distribute empty classes.conf and printers.conf files, and only
show the open errors if the file exists but can't be opened.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4972
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 24 Jan 2006 14:33:18 +0000 (14:33 +0000)]
Move init scripts and support files to new "init" subdirectory.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4971
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 24 Jan 2006 14:05:45 +0000 (14:05 +0000)]
Add new cupsArrayInsert() function to insert elements at the beginning of
an unsorted array.
Make MIME library use cupsArray API, and use it from the scheduler and
test program.
Make sure we delete the printer-specific MIME type when we delete the
printer.
Reorganize the mime_type_t structure so that we can do a single allocation
for the record and type name.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4970
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 24 Jan 2006 04:05:47 +0000 (04:05 +0000)]
Use cupsArray API and rename compare() to compare_quotas() for quota support.
(STR #1394)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4969
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 24 Jan 2006 03:56:31 +0000 (03:56 +0000)]
Use cupsArray API and rename compare() to compare_banners() for banner page
support.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4968
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 24 Jan 2006 03:42:15 +0000 (03:42 +0000)]
Fix global destructor in threaded mode (STR #1395)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4967
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 23 Jan 2006 00:41:22 +0000 (00:41 +0000)]
Set POSIX ACLs on the root certificate when there is more than 1 system
group.
Update the IPP-related standard/specs.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4966
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sat, 21 Jan 2006 06:12:17 +0000 (06:12 +0000)]
Add Japanese message catalog (STR #537)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4965
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 20 Jan 2006 22:19:13 +0000 (22:19 +0000)]
Add mailto: notifier and fix some notification bugs.
berkeley/lpr.c:
systemv/lp.c:
- main(): Fix email address for notifications (mailto:user@hostname)
cups/cups.h:
- Add cupsNotifySubject() and cupsNotifyText() APIs.
cups/http-support.c:
- httpDecode64_2(): Initialize "out" buffer when "in" is empty.
cups/notify.c:
- Added.
notifier/mailto.c:
- Added - previous file was just the skeleton.
scheduler/env.c:
- Add SERVER_ADMIN environment variable for setting the default
administrator's email address.
scheduler/subscriptions.c:
- cupsdAddEvent(): Add job-name, if set, and use proper attribute
names for notify-printer-uri and notify-job-id.
- cupsdExpireSubscriptions(): Don't expire job subcriptions based
on time, just on the life of the job.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4961
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 20 Jan 2006 16:41:20 +0000 (16:41 +0000)]
Add more Darwin/MacOS X config checks, and update the OS version sed
magic.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4960
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 19 Jan 2006 20:30:48 +0000 (20:30 +0000)]
Make -fpie a configure option (apparently doesn't work for AMD64 systems)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4953
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 19 Jan 2006 20:15:57 +0000 (20:15 +0000)]
Update when job control buttons are shown.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4952
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 19 Jan 2006 19:02:38 +0000 (19:02 +0000)]
Add a missing check in the stream predictor code.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4951
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 19 Jan 2006 16:07:57 +0000 (16:07 +0000)]
Merge in some clean-up changes from Apple.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4950
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 19 Jan 2006 03:27:09 +0000 (03:27 +0000)]
Update message catalogs...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4949
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 19 Jan 2006 03:23:41 +0000 (03:23 +0000)]
Update all command-line programs to support -h and -U (STR #1028,
STR #1029, STR #1087)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4948
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 19 Jan 2006 01:49:29 +0000 (01:49 +0000)]
Update message catalog template, etc.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4947
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 19 Jan 2006 01:45:50 +0000 (01:45 +0000)]
Sort attributes alphabetically to improve attribute lookup speeds.
Add job-preserved attribute for all jobs that still have data
files (STR #1376)
scheduler/ipp.c:
- copy_job_attrs(): Sort attributes and add job-preserved
attributes.
- copy_printer_attrs(): Sort attributes.
- copy_subscription_attrs(): Sort attributes.
templates/jobs.tmpl:
- Use job_preserved to control whether the "reprint job"
button is shown.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4946
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 18 Jan 2006 21:41:17 +0000 (21:41 +0000)]
Add support for moving all jobs on a queue to another printer (STR #56)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4945
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 18 Jan 2006 21:21:35 +0000 (21:21 +0000)]
Apply missing range checks to Xpdf code (STR #1381)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4944
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 18 Jan 2006 20:30:42 +0000 (20:30 +0000)]
Fix device URIs for printers added via the "Add This Printer" button in
the web interface.
cgi-bin/admin.c:
- do_am_printer(): Add debug fprintf for device URI.
cups/http-support.c:
- httpAssembleURIf(): Only encode characters up to the first
question mark (?) in the resource string, as this indicates
the beginning of query data which is separately encoded and
decoded.
- httpSeparateURI(): Only decode characters up to the first
question mark (?) in the resource string, as this indicates
the beginning of query data which is separately encoded and
decoded.
cups/testhttp.c:
- Add a query string test URI.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4943
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 18 Jan 2006 19:49:15 +0000 (19:49 +0000)]
Fix truncated PPD file problem (STR #1378)
cups/file.c:
- cups_fill(): Change end-of-compressed-data detection code to
still use the remaining uncompressed data.
cups/testfile.c:
- If run with arguments, "cat" the first filename to stdout.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4942
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 18 Jan 2006 13:16:40 +0000 (13:16 +0000)]
Default ICC profile uses "..", not "..." (thanks Johannes!)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4941
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 17 Jan 2006 20:46:49 +0000 (20:46 +0000)]
Fix crash bug.
cups/ipp.c:
- ippWriteIO(): Ignore multiple separators.
cgi-bin/admin.c:
- main(): Always close HTTP connection.
scheduler/ipp.c:
- get_jobs(): Fix check for when to add separator.
scheduler/printers.c:
- cupsdSetPrinterAttrs(): Always set device-uri attribute to
something logical.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4940
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 17 Jan 2006 18:54:33 +0000 (18:54 +0000)]
Start new PPD API test harness to test API functions.
Fix some memory management issues with the new custom option support.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4939
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 17 Jan 2006 15:11:15 +0000 (15:11 +0000)]
Add missing file.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4938
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 17 Jan 2006 04:03:22 +0000 (04:03 +0000)]
Add basic custom option support (just single value, non-JCL custom options)
Add ppdLocalize() API and use it in the web interface.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4937
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 16 Jan 2006 18:34:35 +0000 (18:34 +0000)]
Add new ops to CUPS IPP spec and clean up HTML.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4936
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 16 Jan 2006 06:09:37 +0000 (06:09 +0000)]
Add IPP implementation help file.
Update CUPS_ADD_PRINTER and CUPS_ADD_CLASS to be CUPS_ADD_MODIFY_* with
back-compatibility defines.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4935
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 16 Jan 2006 03:21:08 +0000 (03:21 +0000)]
Reimplement requested-attributes processing for jobs and printers.
Add "all" as an accepted argument for lpstat "-W" option.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4934
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 16 Jan 2006 00:26:57 +0000 (00:26 +0000)]
Add cupsFileFind() function to find a file using a path.
Add default (configured) bindir and sbindir to default PATH
environment variable provided by the scheduler.
Add "export printers to samba" function to web interface.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4933
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sat, 14 Jan 2006 20:44:08 +0000 (20:44 +0000)]
Add links to Easy Software Products web site and products.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4932
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sat, 14 Jan 2006 20:37:40 +0000 (20:37 +0000)]
Localize the rest of the web interface.
Update the sort button images.
Clean up paging support for printers, classes, and jobs.
Fix admin functions to redirect to the correct page for classes.
Make sure we aren't using "continue" button for final pages.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4931
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sat, 14 Jan 2006 16:54:03 +0000 (16:54 +0000)]
The web interface now supports moving of a job or jobs to another
queue.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4930
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 13 Jan 2006 16:38:43 +0000 (16:38 +0000)]
Fix user validation problem reported by Martin Pitt - basically, make sure
we check user and group stuff for unauthenticated access via the IPP
requesting-user-name attribute.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4929
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 13 Jan 2006 16:05:50 +0000 (16:05 +0000)]
Add paging and searching for printers and classes.
Update printer/class job listings to support searching, too.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4928
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 13 Jan 2006 13:52:24 +0000 (13:52 +0000)]
Add support for moving all jobs via CUPS_MOVE_JOB.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4927
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 13 Jan 2006 03:12:13 +0000 (03:12 +0000)]
Use new ippNewRequest() function.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4926
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 13 Jan 2006 02:52:47 +0000 (02:52 +0000)]
Use new ippNewRequest() and cupsLastErrorString() functions.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4925
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 13 Jan 2006 01:55:20 +0000 (01:55 +0000)]
Simplify the _cupsLangPuts/Printf functions - we just need the FILE *, as
we'll always be using a single language for console apps.
Also cache the current (default) locale the first time we call one of those
functions.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4924
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Fri, 13 Jan 2006 01:28:40 +0000 (01:28 +0000)]
Add standard label sizes for Zebra EPL and ZPL printers.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4923
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 12 Jan 2006 22:05:06 +0000 (22:05 +0000)]
Add new ippNewRequest() function, and use it in lpstat.
Look for LOCALEDIR, not LOCALDIR, environment variable, for locale directory.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4922
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 12 Jan 2006 21:26:26 +0000 (21:26 +0000)]
Add paging, searching, sort order, etc. to the jobs page, with the
infrastructure for the printers and classes pages, too.
Simplify cupsGetAttributes() and cupsCopyTemplateLang() since we are
always calling them with the same arguments.
Add cgiGetIPPObjects() and cgiSetIPPObjectVars() to support the paged
and sorted output modes.
Add cupsArrayIndex() function to return the Nth element.
Add/update job templates for paged output.
Add "pages" column in job output.
Add "show all jobs" mode.
Add new button images.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4921
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 12 Jan 2006 15:12:12 +0000 (15:12 +0000)]
Fix typos in Zebra EPL and ZPL PPDs.
Add Zebra CPCL PPD.
Fix bugs in CPCL code.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4920
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 12 Jan 2006 14:13:01 +0000 (14:13 +0000)]
Fix password stuff.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4919
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 12 Jan 2006 05:14:40 +0000 (05:14 +0000)]
Update API documentation.
Add cupsLastErrorString() function which returns the status-message
attribute value, if any, from the last request.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4918
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Thu, 12 Jan 2006 03:32:52 +0000 (03:32 +0000)]
Fix example code.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4917
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 11 Jan 2006 21:42:55 +0000 (21:42 +0000)]
cupsaddsmb now accepts a password on the command-line and
supports passwords with special characters (STR #822, STR #1236)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4916
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 11 Jan 2006 15:57:53 +0000 (15:57 +0000)]
Fix arch check on MacOS PPC (which has spaces in the arch name...)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4915
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 11 Jan 2006 02:04:22 +0000 (02:04 +0000)]
Make sure User-Agent field is set for all requests (STR #1366)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4914
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Wed, 11 Jan 2006 01:42:04 +0000 (01:42 +0000)]
Check for <security/pam_appl.h> header first, then <pam/pam_appl.h>, so
that users are not confused by the results of the PAM checks (STR #1371)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4913
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 21:43:56 +0000 (21:43 +0000)]
Oops, fix httpSeparateURI() check to allow "file" scheme name...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4912
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 21:33:36 +0000 (21:33 +0000)]
Add DLink DP-301P+ and Linksys PSUS4 references.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4911
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 21:30:48 +0000 (21:30 +0000)]
ppdLoad*() no longer tries to "fix" bad characters in UI text
(STR #1101)
cups/ppd.c:
- ppdOpen2(): Remove calls to ppd_fix().
- ppd_fix(): Removed.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4910
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 21:22:30 +0000 (21:22 +0000)]
Fix Universal binary stuff - need it in DSOFLAGS, and the machine name is
"i386", not "x86"...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4909
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 21:08:08 +0000 (21:08 +0000)]
Printer names can now (reliably) contain Unicode characters (STR
#896)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4908
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 21:06:57 +0000 (21:06 +0000)]
Add Universal binary support on OSX...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4907
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 20:53:28 +0000 (20:53 +0000)]
Mark old APIs as "deprecated", and remove use of those APIs from the CUPS
code.
Also update the copyrights on the Berkeley and System V commands.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4906
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 20:07:15 +0000 (20:07 +0000)]
Update copyrights, install new Zebra PPDs.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4905
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 20:04:50 +0000 (20:04 +0000)]
Web interface files...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4904
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 20:02:46 +0000 (20:02 +0000)]
Update copyrights on changed files.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4903
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 19:33:38 +0000 (19:33 +0000)]
Validate 1284 description value to work around common HP USB bug
(STR #1372)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4902
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Tue, 10 Jan 2006 15:34:32 +0000 (15:34 +0000)]
Zebra label printer driver updates: fixed EPL1 and EPL2 mode problems, and
added EPL1 and EPL2 specific PPD files.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4901
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 9 Jan 2006 04:22:13 +0000 (04:22 +0000)]
Add/update PPD extensions spec to help documents.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4900
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Mon, 9 Jan 2006 02:26:39 +0000 (02:26 +0000)]
Fix compiler warnings.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4899
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sun, 8 Jan 2006 23:13:20 +0000 (23:13 +0000)]
Fix some problems with the cupsLangPrintf/Puts and the transcode code
(buffer size limit way too small)
Localize the System V commands.
In the scheduler: "doesn't" to "does not"...
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4898
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sun, 8 Jan 2006 05:33:36 +0000 (05:33 +0000)]
Add preliminary localization of Berkeley commands.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4897
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sun, 8 Jan 2006 03:57:45 +0000 (03:57 +0000)]
Update translate program for new message catalog format, and to use Google
instead.
Move _cups_message_s structure to i18n.h.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4896
7a7537e8 -13f0-0310-91df-
b6672ffda945
mike [Sun, 8 Jan 2006 01:43:44 +0000 (01:43 +0000)]
Documentation updates (mark CUPS 1.2 functions, structures, and constants...)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4895
7a7537e8 -13f0-0310-91df-
b6672ffda945