]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
17 years agoUpdate install and readme.
mike [Fri, 3 Aug 2007 18:10:35 +0000 (18:10 +0000)] 
Update install and readme.

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

17 years ago(Hopefully) final changes for save_krb5_creds(), now that I have a better
mike [Fri, 3 Aug 2007 18:06:29 +0000 (18:06 +0000)] 
(Hopefully) final changes for save_krb5_creds(), now that I have a better
understanding of how the MIT Kerberos library works (and doesn't...)

Delegated credentials require recent (currently bleeding-edge) MIT or
pretty much any version of Heimdal; otherwise you can use Kerberos locally,
just not for remote printers.

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

17 years agoAccept Kerberos credentials on printer URIs that need them, even if
mike [Thu, 2 Aug 2007 18:59:02 +0000 (18:59 +0000)] 
Accept Kerberos credentials on printer URIs that need them, even if
DefaultAuthType is Basic...

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

17 years ago"GPL Ghostscript", not "GNU Ghostscript".
mike [Thu, 2 Aug 2007 18:37:09 +0000 (18:37 +0000)] 
"GPL Ghostscript", not "GNU Ghostscript".

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

17 years agoAlso set the auth-info-required attribute.
mike [Thu, 2 Aug 2007 18:36:05 +0000 (18:36 +0000)] 
Also set the auth-info-required attribute.

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

17 years agoReturn CUPS_BACKEND_AUTH_REQUIRED when we get an authorization failure
mike [Thu, 2 Aug 2007 18:33:43 +0000 (18:33 +0000)] 
Return CUPS_BACKEND_AUTH_REQUIRED when we get an authorization failure
(needed for Kerberos)

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

17 years agoRemove old debug message.
mike [Thu, 2 Aug 2007 18:29:58 +0000 (18:29 +0000)] 
Remove old debug message.

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

17 years agoThe scheduler (cups-driverd actually) was not looking in the right LSB
mike [Thu, 2 Aug 2007 18:05:03 +0000 (18:05 +0000)] 
The scheduler (cups-driverd actually) was not looking in the right LSB
PPD directories (STR #2464)

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

17 years agoUpdate all references to ESP Ghostscript to point to GPL Ghostscript.
mike [Thu, 2 Aug 2007 17:58:59 +0000 (17:58 +0000)] 
Update all references to ESP Ghostscript to point to GPL Ghostscript.

Update product and PS version strings in PPD files.

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

17 years agoAdd cups_pt_PT.po to install list.
mike [Thu, 2 Aug 2007 04:34:41 +0000 (04:34 +0000)] 
Add cups_pt_PT.po to install list.

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

17 years agoAdd missing "action" variable for POSIX signal handlers.
mike [Thu, 2 Aug 2007 04:10:23 +0000 (04:10 +0000)] 
Add missing "action" variable for POSIX signal handlers.

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

17 years agoDon't stop asking for Negotiate credentials because of failure - otherwise
mike [Thu, 2 Aug 2007 00:13:44 +0000 (00:13 +0000)] 
Don't stop asking for Negotiate credentials because of failure - otherwise
we end up falling back on local certificates and other methods that just
don't work.

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

17 years agoCleanly terminate the pstops filter when canceled/stopped.
mike [Wed, 1 Aug 2007 22:30:05 +0000 (22:30 +0000)] 
Cleanly terminate the pstops filter when canceled/stopped.

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

17 years agoClean up log messages (at log level debug)
mike [Wed, 1 Aug 2007 20:43:37 +0000 (20:43 +0000)] 
Clean up log messages (at log level debug)

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

17 years agoRedo Kerberos cached credentials so they work.
mike [Wed, 1 Aug 2007 19:02:47 +0000 (19:02 +0000)] 
Redo Kerberos cached credentials so they work.

scheduler/ipp.c:
    - save_krb5_creds(): Use global KerberosContext, pass full path when
      using krb5_cc_resolve(), and add support for new krb5_cc_new_unique()
      API, when available.

scheduler/job.c:
    - free_job(): Use krb5_cc_destroy() to unlink the cache file.

scheduler/job.h:
    - Add ccache to job structure.

scheduler/cupsd.h:
    - Add server-wide Kerberos context.

scheduler/main.c:
    - main(): Initialize and free Kerberos context.

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

17 years agoFix configure script output (missing results for user and group tests).
mike [Wed, 1 Aug 2007 19:00:07 +0000 (19:00 +0000)] 
Fix configure script output (missing results for user and group tests).

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

17 years agoAdd updated Italian message catalog.
mike [Wed, 1 Aug 2007 16:31:58 +0000 (16:31 +0000)] 
Add updated Italian message catalog.

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

17 years agoCollect ret_flags from gss_accept_sec_context(), since apparently you
mike [Tue, 31 Jul 2007 23:11:38 +0000 (23:11 +0000)] 
Collect ret_flags from gss_accept_sec_context(), since apparently you
won't get the delegated credentials if you don't supply a variable for
this.

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

17 years agoAdd Portugeuse/Portugal message catalog...
mike [Tue, 31 Jul 2007 21:23:56 +0000 (21:23 +0000)] 
Add Portugeuse/Portugal message catalog...

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

17 years agoPrep for 1.3rc2 release.
mike [Tue, 31 Jul 2007 00:00:21 +0000 (00:00 +0000)] 
Prep for 1.3rc2 release.

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

17 years agoAdd more range checking to pdftops.
mike [Mon, 30 Jul 2007 19:53:15 +0000 (19:53 +0000)] 
Add more range checking to pdftops.

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

17 years agoThe scheduler would crash if a remote IPP queue was stopped (STR #2460)
mike [Mon, 30 Jul 2007 16:47:44 +0000 (16:47 +0000)] 
The scheduler would crash if a remote IPP queue was stopped (STR #2460)

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

17 years agoAllow "DefaultAuthType None"...
mike [Mon, 30 Jul 2007 16:47:10 +0000 (16:47 +0000)] 
Allow "DefaultAuthType None"...

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

17 years agoFinal updates for cups.pot and merging of those changes into the message
mike [Fri, 27 Jul 2007 21:55:31 +0000 (21:55 +0000)] 
Final updates for cups.pot and merging of those changes into the message
catalogs.

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

17 years agoPrep for 1.3rc1 release.
mike [Fri, 27 Jul 2007 21:24:22 +0000 (21:24 +0000)] 
Prep for 1.3rc1 release.

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

17 years agoUpdate German localization (STR #2443)
mike [Fri, 27 Jul 2007 21:19:56 +0000 (21:19 +0000)] 
Update German localization (STR #2443)

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

17 years agocupsAdminGetServerSettings() did not handle </Foo> properly.
mike [Fri, 27 Jul 2007 19:26:53 +0000 (19:26 +0000)] 
cupsAdminGetServerSettings() did not handle </Foo> properly.

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

17 years agoFix typo in Mac OS X user and group checks.
mike [Thu, 26 Jul 2007 23:07:46 +0000 (23:07 +0000)] 
Fix typo in Mac OS X user and group checks.

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

17 years agoFix check for stopped jobs in cancel_job (didn't set jobid).
mike [Thu, 26 Jul 2007 19:30:03 +0000 (19:30 +0000)] 
Fix check for stopped jobs in cancel_job (didn't set jobid).

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

17 years agoWhen canceling the current job, check for stopped jobs if there are no
mike [Thu, 26 Jul 2007 19:12:18 +0000 (19:12 +0000)] 
When canceling the current job, check for stopped jobs if there are no
pending or processing jobs in the queue.

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

17 years agoClean up DEBUG messages, moving some to DEBUG2.
mike [Thu, 26 Jul 2007 19:08:40 +0000 (19:08 +0000)] 
Clean up DEBUG messages, moving some to DEBUG2.

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

17 years agoUpdate changelog.
mike [Thu, 26 Jul 2007 18:46:10 +0000 (18:46 +0000)] 
Update changelog.

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

17 years agoMake filter errors errors, not info.
mike [Thu, 26 Jul 2007 18:38:29 +0000 (18:38 +0000)] 
Make filter errors errors, not info.

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

17 years agoAdd some more LogLevel info logging for jobs (STR #2458)
mike [Thu, 26 Jul 2007 18:37:21 +0000 (18:37 +0000)] 
Add some more LogLevel info logging for jobs (STR #2458)

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

17 years agoRename "List Available Printers" button to "Find New Printers" (STR #2453)
mike [Thu, 26 Jul 2007 18:09:46 +0000 (18:09 +0000)] 
Rename "List Available Printers" button to "Find New Printers" (STR #2453)

Use 32 color palette for button images to make the button images
smaller (STR #2457)

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

17 years agoLog usernames at log level debug (STR #2448)
mike [Thu, 26 Jul 2007 16:50:20 +0000 (16:50 +0000)] 
Log usernames at log level debug (STR #2448)

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

17 years agoMake sure all PPDs are installed.
mike [Thu, 26 Jul 2007 00:37:48 +0000 (00:37 +0000)] 
Make sure all PPDs are installed.

Update the ZPL PPD.

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

17 years agoAdd more label sizes to the ZPL driver (STR #2442)
mike [Thu, 26 Jul 2007 00:35:07 +0000 (00:35 +0000)] 
Add more label sizes to the ZPL driver (STR #2442)

Add CPCL driver to the list of installed drivers.

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

17 years agoAdd support for 64-bit Windows printer drivers.
mike [Thu, 26 Jul 2007 00:30:52 +0000 (00:30 +0000)] 
Add support for 64-bit Windows printer drivers.

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

17 years agoUpdate Korean, Japanese, and Chinese translations.
mike [Thu, 26 Jul 2007 00:13:49 +0000 (00:13 +0000)] 
Update Korean, Japanese, and Chinese translations.

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

17 years agoMoving a job that was printing did not stop the job on the original printer
mike [Wed, 25 Jul 2007 21:02:30 +0000 (21:02 +0000)] 
Moving a job that was printing did not stop the job on the original printer
(STR #2262)

scheduler/job.c:
    - cupsdMoveJob(): Call cupsdStopJob() if the job is processing.

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

17 years agoDrop mention of cupsFlipDuplex in APDuplexRequiresFlippedMargin docos.
mike [Wed, 25 Jul 2007 20:50:26 +0000 (20:50 +0000)] 
Drop mention of cupsFlipDuplex in APDuplexRequiresFlippedMargin docos.

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

17 years agoFix typo.
mike [Wed, 25 Jul 2007 20:48:17 +0000 (20:48 +0000)] 
Fix typo.

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

17 years agoAlways initialize authstring pointer...
mike [Wed, 25 Jul 2007 20:39:33 +0000 (20:39 +0000)] 
Always initialize authstring pointer...

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

17 years agoFix parsing of Mac OS X server LPD sharing preferences.
mike [Wed, 25 Jul 2007 17:29:58 +0000 (17:29 +0000)] 
Fix parsing of Mac OS X server LPD sharing preferences.

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

17 years agoAdd httpSetAuthString() API to set the current authorization string, and
mike [Wed, 25 Jul 2007 17:19:09 +0000 (17:19 +0000)] 
Add httpSetAuthString() API to set the current authorization string, and
add a note that you still have to call httpSetField() to use it.

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

17 years agoAdd httpGetAuthString() function to CUPS API.
mike [Wed, 25 Jul 2007 05:56:33 +0000 (05:56 +0000)] 
Add httpGetAuthString() function to CUPS API.

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

17 years agoSeparate out the printer operations from the administration (add/modify/
mike [Wed, 25 Jul 2007 00:40:03 +0000 (00:40 +0000)] 
Separate out the printer operations from the administration (add/modify/
delete/set-default) operations, and allow members of the lpadmin group
on Mac OS X to do printer operations.

Update all of the corresponding help files.

Update the cupsAdminSetServerSettings() to export the new
CUPS_DEFAULT_PRINTADMIN_AUTH string rather than just @SYSTEM for
the Cancel-Job policy.

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

17 years agoMake the default language level 2, not 1.
mike [Wed, 25 Jul 2007 00:08:49 +0000 (00:08 +0000)] 
Make the default language level 2, not 1.

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

17 years agoCast length of compression buffer to int for 64-bit platforms.
mike [Wed, 25 Jul 2007 00:02:41 +0000 (00:02 +0000)] 
Cast length of compression buffer to int for 64-bit platforms.

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

17 years agoInsert cupsd.conf.default dynamically rather than at configure-time.
mike [Tue, 24 Jul 2007 23:47:12 +0000 (23:47 +0000)] 
Insert cupsd.conf.default dynamically rather than at configure-time.
(this also eliminates faulty translation of the default config file
comments...)

Add special-case for cupsdconf_default so that we don't use HTML quoting
on what is placed in JavaScript code...

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

17 years agoAdd Kerberos help file to packages.
mike [Tue, 24 Jul 2007 20:46:39 +0000 (20:46 +0000)] 
Add Kerberos help file to packages.

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

17 years agoAdd Kerberos help document.
mike [Tue, 24 Jul 2007 20:45:34 +0000 (20:45 +0000)] 
Add Kerberos help document.

Add link to Kerberos help document on admin page.

Update policy documentation to use AuthType Default.

Add debug info when delegated credentials are not available.

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

17 years agoFix Kerberos authentication - comment out the client SPNEGO code and strip
mike [Tue, 24 Jul 2007 18:27:57 +0000 (18:27 +0000)] 
Fix Kerberos authentication - comment out the client SPNEGO code and strip
the @KDC portion of the Kerberos username since we can't really do group
lookups with it.

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

17 years agoFix packaging files to include new localizations.
mike [Tue, 24 Jul 2007 05:39:07 +0000 (05:39 +0000)] 
Fix packaging files to include new localizations.

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

17 years agoUse the authorization data we get back from the server to "continue" the
mike [Tue, 24 Jul 2007 00:13:05 +0000 (00:13 +0000)] 
Use the authorization data we get back from the server to "continue" the
authentication dialog.

Set cupsLastError() and cupsLastErrorString() values based on the HTTP
status (needed by the cupsGetFile/Fd and cupsPutFile/Fd APIs).

Look at cupsLastError() for auth failures since Kerberos will not trigger
the password callback.

Make sure that we don't stick the "authkey" info in the WWW-Authenticate
header when Kerberos is being used.

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

17 years agoMove CGI template debug stuff to DEBUG2.
mike [Mon, 23 Jul 2007 22:44:01 +0000 (22:44 +0000)] 
Move CGI template debug stuff to DEBUG2.

Add more debug log messages for authorization to the scheduler.

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

17 years agoAdd debug logging of auth type and user instead of just the user.
mike [Mon, 23 Jul 2007 22:08:14 +0000 (22:08 +0000)] 
Add debug logging of auth type and user instead of just the user.

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

17 years agoUpdate version number.
mike [Mon, 23 Jul 2007 22:01:54 +0000 (22:01 +0000)] 
Update version number.

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

17 years agoFix typo (--debug_logging instead of --debug-logging)
mike [Mon, 23 Jul 2007 22:00:06 +0000 (22:00 +0000)] 
Fix typo (--debug_logging instead of --debug-logging)

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

17 years agoUpdate message catalogs one last time; also stop adding fuzzy translations.
mike [Mon, 23 Jul 2007 17:49:41 +0000 (17:49 +0000)] 
Update message catalogs one last time; also stop adding fuzzy translations.

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

17 years agoMore speling mistaks.
mike [Mon, 23 Jul 2007 17:27:32 +0000 (17:27 +0000)] 
More speling mistaks.

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

17 years agoFix the cups-lpd test program.
mike [Fri, 20 Jul 2007 22:25:31 +0000 (22:25 +0000)] 
Fix the cups-lpd test program.

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

17 years agoGenerate org.cups.cups-lpd.plist file...
mike [Fri, 20 Jul 2007 22:25:12 +0000 (22:25 +0000)] 
Generate org.cups.cups-lpd.plist file...

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

17 years agocupsMarkOptions() could (incorrectly) leave multiple option choices marked.
mike [Fri, 20 Jul 2007 21:28:10 +0000 (21:28 +0000)] 
cupsMarkOptions() could (incorrectly) leave multiple option choices marked.

The "mirror" option wasn't handled properly.

cups/mark.c:
    - ppdConflicts(): Save and restore the current array pointers.

cups/options.c:
    - cupsMarkOptions(): Fix "mirror" option handling and add debugs.

cups/ppd.c:
    - ppd_compare_choices: Use strcmp() instead of comparing pointers.

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

17 years agoUse old auth key for now...
mike [Fri, 20 Jul 2007 20:51:09 +0000 (20:51 +0000)] 
Use old auth key for now...

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

17 years agoDon't show an error when removing auth files if they don't exist...
mike [Fri, 20 Jul 2007 18:16:11 +0000 (18:16 +0000)] 
Don't show an error when removing auth files if they don't exist...

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

17 years agoIgnore generated file.
mike [Fri, 20 Jul 2007 17:24:33 +0000 (17:24 +0000)] 
Ignore generated file.

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

17 years agoUse CUPS_USER in cups-lpd plist file on Mac OS X.
mike [Fri, 20 Jul 2007 17:24:00 +0000 (17:24 +0000)] 
Use CUPS_USER in cups-lpd plist file on Mac OS X.

Look for "_lp" as well as "lp" users.

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

17 years agoFix speling mistak.
mike [Fri, 20 Jul 2007 14:15:44 +0000 (14:15 +0000)] 
Fix speling mistak.

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

17 years agoOnly use --with-*order value if the file exists.
mike [Fri, 20 Jul 2007 00:19:07 +0000 (00:19 +0000)] 
Only use --with-*order value if the file exists.

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

17 years agoAdd dependency on libcupsimage.order file.
mike [Thu, 19 Jul 2007 23:27:49 +0000 (23:27 +0000)] 
Add dependency on libcupsimage.order file.

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

17 years agoActually read cupsd.conf and set the RIPCache value.
mike [Thu, 19 Jul 2007 21:59:30 +0000 (21:59 +0000)] 
Actually read cupsd.conf and set the RIPCache value.

Add some additional debug stuff.

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

17 years agoFix support for '-o' option when running as "convert" command.
mike [Thu, 19 Jul 2007 21:35:11 +0000 (21:35 +0000)] 
Fix support for '-o' option when running as "convert" command.

Ignore convert symlink.

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

17 years agoBackends could incorrectly run as root during discovery (STR #2454)
mike [Thu, 19 Jul 2007 21:02:36 +0000 (21:02 +0000)] 
Backends could incorrectly run as root during discovery (STR #2454)

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

17 years agoAdd Apple "convert" utility emulation to cupsfilter.
mike [Thu, 19 Jul 2007 19:28:16 +0000 (19:28 +0000)] 
Add Apple "convert" utility emulation to cupsfilter.

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

17 years agoAdd Avahi support using dns_sd wrapper library (STR #2455)
mike [Thu, 19 Jul 2007 19:09:46 +0000 (19:09 +0000)] 
Add Avahi support using dns_sd wrapper library (STR #2455)

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

17 years agoThe default cupsd.conf file had typos and old operation names (STR #2450)
mike [Wed, 18 Jul 2007 23:58:37 +0000 (23:58 +0000)] 
The default cupsd.conf file had typos and old operation names (STR #2450)

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

17 years ago"Securely" delete authentication files in the scheduler.
mike [Wed, 18 Jul 2007 23:52:15 +0000 (23:52 +0000)] 
"Securely" delete authentication files in the scheduler.

Use FILE: based Kerberos credentials, since MEMORY: credentials are only
good in the same process.

Remove temp files once on cupsd startup, not every reload as before.

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

17 years agoClear job-printer-state-message and -reasons pointers when unloading the
mike [Wed, 18 Jul 2007 20:04:20 +0000 (20:04 +0000)] 
Clear job-printer-state-message and -reasons pointers when unloading the
job.

Don't treat NOTICE as a high-priority message from filters.

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

17 years agoAdd support for libcupsimage sectorder file.
mike [Wed, 18 Jul 2007 19:49:45 +0000 (19:49 +0000)] 
Add support for libcupsimage sectorder file.

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

17 years agoUpdate the ppdLocalize() and ppdLocalizeIPPReason() documentation.
mike [Mon, 16 Jul 2007 23:11:59 +0000 (23:11 +0000)] 
Update the ppdLocalize() and ppdLocalizeIPPReason() documentation.

Update the API doco help files.

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

17 years agoIgnore cupsfilter utility.
mike [Mon, 16 Jul 2007 21:26:10 +0000 (21:26 +0000)] 
Ignore cupsfilter utility.

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

17 years agoForce Mac OS X installs to the boot volume.
mike [Mon, 16 Jul 2007 21:16:13 +0000 (21:16 +0000)] 
Force Mac OS X installs to the boot volume.

Add InstallationCheck script for 10.4.x and higher packages.

Use sudo in the pre/postflight scripts when running launchctl - otherwise
it will try to add the cupsd stuff to the user session instead of the
system services.

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

17 years agoClean up message catalogs - lots of old messages removed.
mike [Mon, 16 Jul 2007 20:35:14 +0000 (20:35 +0000)] 
Clean up message catalogs - lots of old messages removed.

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

17 years agoUse system.print.admin for the CUPS authorization key.
mike [Mon, 16 Jul 2007 20:22:37 +0000 (20:22 +0000)] 
Use system.print.admin for the CUPS authorization key.

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

17 years agoDon't add AuthRef stuff when using Kerberos...
mike [Mon, 16 Jul 2007 20:11:52 +0000 (20:11 +0000)] 
Don't add AuthRef stuff when using Kerberos...

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

17 years agoFix side-channel deadlock issue on Mac OS X.
mike [Mon, 16 Jul 2007 18:46:16 +0000 (18:46 +0000)] 
Fix side-channel deadlock issue on Mac OS X.

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

17 years agoChangelog.
mike [Mon, 16 Jul 2007 18:03:57 +0000 (18:03 +0000)] 
Changelog.

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

17 years agoFix <rdar://problem/5336434> Bonjour Shared printers are automatically shared
mike [Mon, 16 Jul 2007 18:03:35 +0000 (18:03 +0000)] 
Fix <rdar://problem/5336434> Bonjour Shared printers are automatically shared

scheduler/ipp.c:
    - Multiple: test for discovered when renaming queues so that hardwired
      queues can be updated.

scheduler/printers.c:
    - cupsdSetPrinterAttrs(): Force all remote printers to have
      printer-is-shared=false.

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

17 years agoRemove temp file on IPP auth errors.
mike [Mon, 16 Jul 2007 17:14:10 +0000 (17:14 +0000)] 
Remove temp file on IPP auth errors.

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

17 years agoExport ppdLocalizeIPPReason() in libcups.2.dylib.
mike [Mon, 16 Jul 2007 17:09:09 +0000 (17:09 +0000)] 
Export ppdLocalizeIPPReason() in libcups.2.dylib.

Add support for "file" references in IPP reasons.

Add support for "scheme:" scheme names in ppdLocalizeIPPReason().

Add tests for ppdLocalizeIPPReason() to testppd.

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

17 years agoAdd warning about this being a beta release.
mike [Sat, 14 Jul 2007 00:18:33 +0000 (00:18 +0000)] 
Add warning about this being a beta release.

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

17 years agoFix comment in cups_local_auth(), and log the WWW-Authorization header we
mike [Sat, 14 Jul 2007 00:16:39 +0000 (00:16 +0000)] 
Fix comment in cups_local_auth(), and log the WWW-Authorization header we
send when LogLevel is debug2...

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

17 years agoDon't use the root certificate when Kerberos is needed, but *do* use PID
mike [Fri, 13 Jul 2007 23:43:07 +0000 (23:43 +0000)] 
Don't use the root certificate when Kerberos is needed, but *do* use PID
certificates since they are needed for the web interface.

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

17 years agoClear printer-state-message and printer-state-reasons when we start a job.
mike [Fri, 13 Jul 2007 23:35:24 +0000 (23:35 +0000)] 
Clear printer-state-message and printer-state-reasons when we start a job.
(<rdar://problem/5332815>)

scheduler/printers.c:
    - cupsdSetPrinterReasons(): Add a special case for the reason "none"
      to leave an empty reason array (optimization)

scheduler/job.c:
    - cupsdCheckJobs(): Clear state_message and reasons before calling
      start_job().

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

17 years agoChange the code to lookup the printer-name and then fall back on printer-info
mike [Fri, 13 Jul 2007 23:15:02 +0000 (23:15 +0000)] 
Change the code to lookup the printer-name and then fall back on printer-info
(<rdar://problem/5329111>)

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

17 years agoAdd -p option documentation.
mike [Fri, 13 Jul 2007 23:10:40 +0000 (23:10 +0000)] 
Add -p option documentation.

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

17 years agoFinish implementation of cupsfilter utility (STR #1734)
mike [Fri, 13 Jul 2007 23:09:49 +0000 (23:09 +0000)] 
Finish implementation of cupsfilter utility (STR #1734)

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

17 years agoUpdate CMP with new ownership.
mike [Fri, 13 Jul 2007 20:02:59 +0000 (20:02 +0000)] 
Update CMP with new ownership.

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