]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
16 years agoAdd start of PostScript printer driver docos.
mike [Fri, 17 Oct 2008 16:28:18 +0000 (16:28 +0000)] 
Add start of PostScript printer driver docos.

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

16 years agoLoad both UIConstraints and cupsUIConstraints from a PPD file.
mike [Fri, 17 Oct 2008 04:52:34 +0000 (04:52 +0000)] 
Load both UIConstraints and cupsUIConstraints from a PPD file.

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

16 years agoAdd "Introduction to the PPD Compiler" document.
mike [Fri, 17 Oct 2008 04:44:53 +0000 (04:44 +0000)] 
Add "Introduction to the PPD Compiler" document.

Add DDK examples.

Fix drv man page.

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

16 years agoFix banner PostScript output and font embeddeding.
mike [Thu, 16 Oct 2008 19:16:15 +0000 (19:16 +0000)] 
Fix banner PostScript output and font embeddeding.

Fix stylesheet for web interface.

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

16 years agoDon't set app preference for AppleLanguages.
mike [Wed, 15 Oct 2008 21:30:07 +0000 (21:30 +0000)] 
Don't set app preference for AppleLanguages.

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

16 years agoUpdate ppdFindAttr and ppdFindNextAttr to return named attributes in the order
mike [Wed, 15 Oct 2008 19:00:25 +0000 (19:00 +0000)] 
Update ppdFindAttr and ppdFindNextAttr to return named attributes in the order
they appear in the PPD file.

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

16 years ago"offline*" is another "printer offline" state...
mike [Wed, 15 Oct 2008 18:27:45 +0000 (18:27 +0000)] 
"offline*" is another "printer offline" state...

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

16 years agoRename testprint.ps to testprint to avoid mis-typing as PostScript.
mike [Wed, 15 Oct 2008 18:21:56 +0000 (18:21 +0000)] 
Rename testprint.ps to testprint to avoid mis-typing as PostScript.

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

16 years agoRemove dead store.
mike [Mon, 13 Oct 2008 21:13:20 +0000 (21:13 +0000)] 
Remove dead store.

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

16 years agoFix cupsaccept/cupsreject man pages.
mike [Sat, 11 Oct 2008 23:38:59 +0000 (23:38 +0000)] 
Fix cupsaccept/cupsreject man pages.

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

16 years agoUpdate API documentation.
mike [Fri, 10 Oct 2008 21:10:20 +0000 (21:10 +0000)] 
Update API documentation.

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

16 years agoPrep for CUPS 1.4b1 release.
mike [Fri, 10 Oct 2008 20:57:30 +0000 (20:57 +0000)] 
Prep for CUPS 1.4b1 release.

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

16 years agoThe PPD compiler now allows local message catalogs to override the standard
mike [Fri, 10 Oct 2008 20:49:55 +0000 (20:49 +0000)] 
The PPD compiler now allows local message catalogs to override the standard
CUPS translations (STR #2642)

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

16 years agoThe ppdmerge command did not merge custom option strings (STR #2863)
mike [Fri, 10 Oct 2008 19:22:59 +0000 (19:22 +0000)] 
The ppdmerge command did not merge custom option strings (STR #2863)

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

16 years agoRemove all of the current message catalogs - after merging, most have less than
mike [Fri, 10 Oct 2008 18:50:03 +0000 (18:50 +0000)] 
Remove all of the current message catalogs - after merging, most have less than
half of the messages localized, making them less than useless.

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

16 years agoAdd charset lines to top.
mike [Fri, 10 Oct 2008 18:47:00 +0000 (18:47 +0000)] 
Add charset lines to top.

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

16 years agoMerge PPD compiler localization with CUPS (STR #2826)
mike [Fri, 10 Oct 2008 18:37:33 +0000 (18:37 +0000)] 
Merge PPD compiler localization with CUPS (STR #2826)

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

16 years agoLocalize all user messages.
mike [Fri, 10 Oct 2008 18:09:14 +0000 (18:09 +0000)] 
Localize all user messages.

Add support for "Duplex Rotated" and "Duplex ManualTumble", and output
cupsBackSide attribute.

Fix some output bugs (using printf instead of puts for plain strings).

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

16 years agoAdd program to generate localization file that GNU gettext can (re)scan to
mike [Fri, 10 Oct 2008 15:57:16 +0000 (15:57 +0000)] 
Add program to generate localization file that GNU gettext can (re)scan to
maintain the CUPS message catalogs (STR #2826)

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

16 years agoThe scheduler now supports the Hold-New-Jobs and Release-Held-New-Jobs
mike [Fri, 10 Oct 2008 05:28:15 +0000 (05:28 +0000)] 
The scheduler now supports the Hold-New-Jobs and Release-Held-New-Jobs
operations; these are exposed via the cupsdisable and cupsenable commands
(STR #2332)

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

16 years agoThe lpstat command is now much faster when displaying the status of a single
mike [Fri, 10 Oct 2008 04:41:31 +0000 (04:41 +0000)] 
The lpstat command is now much faster when displaying the status of a single
printer (STR #2843)

Also do a lot of code simplification to put common matching code in the
match_list() function and use CUPS_HTTP_DEFAULT instead of a dedicated HTTP
connection for the default usage.

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

16 years agoFix cached load of filters.
mike [Fri, 10 Oct 2008 03:06:56 +0000 (03:06 +0000)] 
Fix cached load of filters.

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

16 years agoSecurity-related integer overflow fixes (STR #2911, STR #2918, and
mike [Thu, 9 Oct 2008 20:13:21 +0000 (20:13 +0000)] 
Security-related integer overflow fixes (STR #2911, STR #2918, and
STR #2919)

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

16 years agoChangelog.
mike [Thu, 9 Oct 2008 14:35:32 +0000 (14:35 +0000)] 
Changelog.

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

16 years agoImplement PPD caching.
mike [Thu, 9 Oct 2008 06:57:35 +0000 (06:57 +0000)] 
Implement PPD caching.

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

16 years agoRemove generated package files.
mike [Wed, 8 Oct 2008 22:47:29 +0000 (22:47 +0000)] 
Remove generated package files.

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

16 years agoDon't ignore PS and HTML files here.
mike [Wed, 8 Oct 2008 22:45:38 +0000 (22:45 +0000)] 
Don't ignore PS and HTML files here.

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

16 years agoAlso remove unit test directories with "make distclean".
mike [Wed, 8 Oct 2008 22:40:12 +0000 (22:40 +0000)] 
Also remove unit test directories with "make distclean".

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

16 years ago"make distclean" did not remove the "clang" directory.
mike [Wed, 8 Oct 2008 22:21:34 +0000 (22:21 +0000)] 
"make distclean" did not remove the "clang" directory.

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

16 years agoCUPS-Get-Driver now provides much better driver matching based on the
mike [Wed, 8 Oct 2008 21:07:45 +0000 (21:07 +0000)] 
CUPS-Get-Driver now provides much better driver matching based on the
IEEE-1284 device ID and make/model strings (STR #2707)

Fix banner filter destination type.

systemv/lpinfo.c:
    - main(): Add support for --device-id, --language, --make-and-model,
      --product, and --timeout options.
    - show_devices(): Use timeout option.
    - show_models(): Use device_id, language, make_model, and product
      strings when listing drivers.

cgi-bin/admin.c:
    - do_am_printer(): Pass make and model to CUPS-Get-PPDs to get a list
      sorted by relevance to the current device.

scheduler/cups-driverd.cxx:
    - ppd_info_t: Add matches field.
    - compare_matches(): Added.
    - list_ppds(): Use regex to match make-and-model and device-id data,
      and create an array of matches sorted by score and make/model.
    - regex_device_id(): Added.
    - regex_string(): Added.

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

16 years agoFix OpenSSL compile problems.
mike [Wed, 8 Oct 2008 18:27:52 +0000 (18:27 +0000)] 
Fix OpenSSL compile problems.

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

16 years agoDon't support the SSLOptions directive when there is no SSL library.
mike [Wed, 8 Oct 2008 16:34:03 +0000 (16:34 +0000)] 
Don't support the SSLOptions directive when there is no SSL library.

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

16 years agoFirst half of PPD/attributes caching (STR #1293)
mike [Wed, 8 Oct 2008 04:26:38 +0000 (04:26 +0000)] 
First half of PPD/attributes caching (STR #1293)

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

16 years agoAllow device-uri to point to DNS-SD CUPS URI and still work as a hard-wired
mike [Tue, 7 Oct 2008 23:53:14 +0000 (23:53 +0000)] 
Allow device-uri to point to DNS-SD CUPS URI and still work as a hard-wired
remote printer.

Correctly map printer-more-info attribute to connected address rather than
hardcoding with the server name.

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

16 years agoMake sure images_width is initialized.
mike [Tue, 7 Oct 2008 22:22:23 +0000 (22:22 +0000)] 
Make sure images_width is initialized.

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

16 years agoUse DNSServiceConstructFullName to construct fullName.
mike [Tue, 7 Oct 2008 19:10:35 +0000 (19:10 +0000)] 
Use DNSServiceConstructFullName to construct fullName.

Report error status in error_log as debug message.

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

16 years agoDon't collect supply levels via SNMP if cupsSNMPSupplies is not true in PPD.
mike [Mon, 6 Oct 2008 22:50:57 +0000 (22:50 +0000)] 
Don't collect supply levels via SNMP if cupsSNMPSupplies is not true in PPD.

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

16 years agoDoco changes.
mike [Mon, 6 Oct 2008 21:27:52 +0000 (21:27 +0000)] 
Doco changes.

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

16 years agoDon't build USB backend with raw ARCHFLAGS.
mike [Mon, 6 Oct 2008 21:08:27 +0000 (21:08 +0000)] 
Don't build USB backend with raw ARCHFLAGS.

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

16 years agoUpdate overview page.
mike [Mon, 6 Oct 2008 17:09:28 +0000 (17:09 +0000)] 
Update overview page.

Remove outdated snapshots of web interface.

More tweaking of web interface.

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

16 years agoDon't allow hostname lookups to fail the HTTP tests when the hostname starts
mike [Mon, 6 Oct 2008 15:30:04 +0000 (15:30 +0000)] 
Don't allow hostname lookups to fail the HTTP tests when the hostname starts
with a number (for ISP-defined numeric addresses)

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

16 years agoOnly show activity image when job is active.
mike [Sun, 5 Oct 2008 19:41:06 +0000 (19:41 +0000)] 
Only show activity image when job is active.

Only show job-printer-state-message when job-state != completed.

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

16 years agoDon't need to set "cupscommand" variable anymore.
mike [Sun, 5 Oct 2008 19:34:21 +0000 (19:34 +0000)] 
Don't need to set "cupscommand" variable anymore.

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

16 years agoMore web UI cleanup.
mike [Sun, 5 Oct 2008 19:33:44 +0000 (19:33 +0000)] 
More web UI cleanup.

- Make sure all templates have proper titles and indentation.
- Move all printer command processing to a common function, and make all
  commands set the default user to "anonymous", job-hold-until to no-hold,
  and wait for the job to complete.
- Move all maintenance commands to printers.cgi and classes.cgi.
- cgiGetAttributes did not understand regular expressions.

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

16 years agoDon't send device updates all at once. Instead, limit them to 1 per second
mike [Sun, 5 Oct 2008 16:54:25 +0000 (16:54 +0000)] 
Don't send device updates all at once.  Instead, limit them to 1 per second
since otherwise some browsers crash trying to keep up...

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

16 years agoGet/set port-monitor instead of old cupsProtocol attribute.
mike [Sun, 5 Oct 2008 04:50:17 +0000 (04:50 +0000)] 
Get/set port-monitor instead of old cupsProtocol attribute.

Attempt at tabbed option interface.

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

16 years agoMake auto-configure wait for auto-configure job to complete.
mike [Sat, 4 Oct 2008 15:34:08 +0000 (15:34 +0000)] 
Make auto-configure wait for auto-configure job to complete.

More UI cleanup.

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

16 years agoChange animation speed so that it works with more browsers...
mike [Sat, 4 Oct 2008 06:18:55 +0000 (06:18 +0000)] 
Change animation speed so that it works with more browsers...

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

16 years agoUpdate wait image and position of it and the text.
mike [Sat, 4 Oct 2008 05:57:54 +0000 (05:57 +0000)] 
Update wait image and position of it and the text.

Add support for multipart pages.

Use multipart pages to incrementally update the device chooser page when
adding or modifying a printer.

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

16 years agoFix issues with the server settings web UI:
mike [Fri, 3 Oct 2008 23:50:18 +0000 (23:50 +0000)] 
Fix issues with the server settings web UI:

- Didn't detect settings changes properly for the advanced settings.
- Accumulated "allow all" lines.
- Didn't remove any trailing whitespace in CGI variables, only spaces.
- The norestart template didn't indent.
- Both norestart and restart didn't have a page title.

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

16 years agoAdd animated "wait" image for restart.
mike [Fri, 3 Oct 2008 21:58:28 +0000 (21:58 +0000)] 
Add animated "wait" image for restart.

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

16 years agoTest page results were not formatted correctly.
mike [Fri, 3 Oct 2008 21:20:18 +0000 (21:20 +0000)] 
Test page results were not formatted correctly.

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

16 years agoDon't disable installation of fonts.
mike [Fri, 3 Oct 2008 21:00:46 +0000 (21:00 +0000)] 
Don't disable installation of fonts.

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

16 years agoFix NULL printer name bug.
mike [Fri, 3 Oct 2008 20:34:07 +0000 (20:34 +0000)] 
Fix NULL printer name bug.

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

16 years agoDon't set document format of test page now that it is no longer PostScript.
mike [Fri, 3 Oct 2008 18:38:56 +0000 (18:38 +0000)] 
Don't set document format of test page now that it is no longer PostScript.

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

16 years agoTweak stylesheet.
mike [Fri, 3 Oct 2008 15:32:19 +0000 (15:32 +0000)] 
Tweak stylesheet.

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

16 years agoDon't ignore bytes written when we get a timeout - some data may have been
mike [Thu, 2 Oct 2008 21:18:06 +0000 (21:18 +0000)] 
Don't ignore bytes written when we get a timeout - some data may have been
sent.

Enable class driver loading debug output.

Use CUPS_SERVERBIN to locate the USB backend.

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

16 years agoFix transcoding bug caused by removal of BOM in UTF32 output.
mike [Thu, 2 Oct 2008 16:00:40 +0000 (16:00 +0000)] 
Fix transcoding bug caused by removal of BOM in UTF32 output.

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

16 years agoDeprecate "columns" attribute.
mike [Thu, 2 Oct 2008 02:00:36 +0000 (02:00 +0000)] 
Deprecate "columns" attribute.

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

16 years agoAdd image support to bannertops filter.
mike [Thu, 2 Oct 2008 00:50:29 +0000 (00:50 +0000)] 
Add image support to bannertops filter.

Update all of the bundled cover pages and test page to use the new banner
file format.

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

16 years agoPreliminary implementation of new bannertops filter, sans image support
mike [Wed, 1 Oct 2008 23:56:42 +0000 (23:56 +0000)] 
Preliminary implementation of new bannertops filter, sans image support
(coming next!)

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

16 years agoPrint the value of TMPDIR in the test notifier (used for "make check" to
mike [Wed, 1 Oct 2008 21:20:33 +0000 (21:20 +0000)] 
Print the value of TMPDIR in the test notifier (used for "make check" to
verify that cupsd is passing the TMPDIR environment variable...)

Don't try to register/unregister profiles on Mac OS X when we are not
running as root.

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

16 years agoSave work on banners.
mike [Wed, 1 Oct 2008 18:10:10 +0000 (18:10 +0000)] 
Save work on banners.

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

16 years agoAdd application/vnd.cups-banner MIME type and filter.
mike [Wed, 1 Oct 2008 04:48:33 +0000 (04:48 +0000)] 
Add application/vnd.cups-banner MIME type and filter.

Add new common PostScript text code.

Banner filter needs common.o and pstext.o.

Need to use _cupsLangPrintf for localized messages.

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

16 years agoAdd special handling for the "none" reason.
mike [Mon, 29 Sep 2008 17:14:53 +0000 (17:14 +0000)] 
Add special handling for the "none" reason.

Remove bannertops from normal builds until it is completed.

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

16 years agoTransition to the Vera-based Monospace font for text printing.
mike [Mon, 29 Sep 2008 16:12:12 +0000 (16:12 +0000)] 
Transition to the Vera-based Monospace font for text printing.

Continue work on banner filter.

Add PRINTER_INFO and PRINTER_LOCATION environment variables to job filter
environment.

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

16 years agoRename accept sources to cupsaccept.
mike [Mon, 29 Sep 2008 13:51:54 +0000 (13:51 +0000)] 
Rename accept sources to cupsaccept.

Install man page symlinks from cupsaccept to accept and reject.

Update packaging files.

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

16 years agoAdd start of CUPS banner file spec.
mike [Sun, 28 Sep 2008 23:04:05 +0000 (23:04 +0000)] 
Add start of CUPS banner file spec.

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

16 years agoThe ippRead*() and ippWrite*() functions no longer use a stack-based buffer
mike [Sun, 28 Sep 2008 04:42:10 +0000 (04:42 +0000)] 
The ippRead*() and ippWrite*() functions no longer use a stack-based buffer
(STR #2388)

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

16 years agoFix test script.
mike [Sat, 27 Sep 2008 15:40:15 +0000 (15:40 +0000)] 
Fix test script.

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

16 years agoAdd support for setting printer-state-reasons via CUPS-Add-Modify-Printer.
mike [Sat, 27 Sep 2008 00:01:52 +0000 (00:01 +0000)] 
Add support for setting printer-state-reasons via CUPS-Add-Modify-Printer.

Fix some free/_cupsStrFree bugs with printer-state-reasons.

Add job-settable-attributes-supported since it is required by the
Set-Job-Attributes operation.

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

16 years agoThe IPP backend did not retry print jobs when the printer reported itself as
mike [Fri, 26 Sep 2008 21:58:03 +0000 (21:58 +0000)] 
The IPP backend did not retry print jobs when the printer reported itself as
busy or unavailable (STR #2951)

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

16 years agoAdd support for setting MaxClients from the admin page.
mike [Fri, 26 Sep 2008 15:52:03 +0000 (15:52 +0000)] 
Add support for setting MaxClients from the admin page.

Clean up UI for advanced/basic - make it work like a disclosure triangle
common on most GUIs.

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

16 years agoThe "Set Allowed Users" web interface did not handle trailing whitespace
mike [Fri, 26 Sep 2008 15:28:18 +0000 (15:28 +0000)] 
The "Set Allowed Users" web interface did not handle trailing whitespace
correctly (STR #2956)

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

16 years agoFix GSSAPI builds.
mike [Thu, 25 Sep 2008 17:54:05 +0000 (17:54 +0000)] 
Fix GSSAPI builds.

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

16 years agoFix typos.
mike [Wed, 24 Sep 2008 23:24:43 +0000 (23:24 +0000)] 
Fix typos.

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

16 years agoAdd support for auto-configuration (STR #1440)
mike [Wed, 24 Sep 2008 23:08:34 +0000 (23:08 +0000)] 
Add support for auto-configuration (STR #1440)

Fix modify-printer usage.

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

16 years agoFix bug in classes.conf error handling.
mike [Tue, 23 Sep 2008 23:57:52 +0000 (23:57 +0000)] 
Fix bug in classes.conf error handling.

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

16 years agoFix typo.
mike [Tue, 23 Sep 2008 23:44:33 +0000 (23:44 +0000)] 
Fix typo.

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

16 years agoThe PostScript filter did not work with Adobe applications using custom page
mike [Tue, 23 Sep 2008 22:06:55 +0000 (22:06 +0000)] 
The PostScript filter did not work with Adobe applications using custom page
sizes.

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

16 years agoThe Mac OS X USB backend did not work with some printers that reported a bad
mike [Tue, 23 Sep 2008 20:06:53 +0000 (20:06 +0000)] 
The Mac OS X USB backend did not work with some printers that reported a bad
1284 device ID.

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

16 years agoAdd advanced server settings form/support.
mike [Sat, 20 Sep 2008 23:20:48 +0000 (23:20 +0000)] 
Add advanced server settings form/support.

Use localhost for any local accesses, even when hostname lookups are disabled.

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

16 years agoAvoid writing Browse*Protocols twice.
mike [Sat, 20 Sep 2008 23:10:11 +0000 (23:10 +0000)] 
Avoid writing Browse*Protocols twice.

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

16 years agoFix parsing error in scheduler.
mike [Sat, 20 Sep 2008 22:27:58 +0000 (22:27 +0000)] 
Fix parsing error in scheduler.

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

16 years agoThe web interface's "modify printer" pages now make it easier to change just
mike [Sat, 20 Sep 2008 03:33:59 +0000 (03:33 +0000)] 
The web interface's "modify printer" pages now make it easier to change just
one setting (STR #1919)

Update the rest of the pages to use the new indented layout.

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

16 years agoMinor improvements to the printcap support.
mike [Fri, 19 Sep 2008 23:03:01 +0000 (23:03 +0000)] 
Minor improvements to the printcap support.

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

16 years agoSave and restore printer-state-reasons.
mike [Fri, 19 Sep 2008 20:52:46 +0000 (20:52 +0000)] 
Save and restore printer-state-reasons.

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

16 years agoDon't stop reading printer config files on syntax errors.
mike [Fri, 19 Sep 2008 20:47:07 +0000 (20:47 +0000)] 
Don't stop reading printer config files on syntax errors.

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

16 years agoInitialize KerberosContext prior to first use.
mike [Fri, 19 Sep 2008 20:26:49 +0000 (20:26 +0000)] 
Initialize KerberosContext prior to first use.

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

16 years agoAdd plist PrintcapFormat support.
mike [Fri, 19 Sep 2008 20:03:36 +0000 (20:03 +0000)] 
Add plist PrintcapFormat support.

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

16 years agoThe scheduler now supports multiple addresses in Allow and Deny lines, just
mike [Thu, 18 Sep 2008 17:43:37 +0000 (17:43 +0000)] 
The scheduler now supports multiple addresses in Allow and Deny lines, just
like Apache (STR #2947)

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

16 years agoAdded CUPS_JOBTYPE environment variable for job filters so they know whether
mike [Thu, 18 Sep 2008 17:31:33 +0000 (17:31 +0000)] 
Added CUPS_JOBTYPE environment variable for job filters so they know whether
they are printing a banner or document file (STR #2799)

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

16 years agoMissed removing drv.man on a "make distclean".
mike [Wed, 17 Sep 2008 19:52:46 +0000 (19:52 +0000)] 
Missed removing drv.man on a "make distclean".

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

16 years agoFix some bugs in the PAM configure stuff..
mike [Wed, 17 Sep 2008 19:42:02 +0000 (19:42 +0000)] 
Fix some bugs in the PAM configure stuff..

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

16 years agoRedo previous change, since pam_opendirectory.so is not available on older
mike [Wed, 17 Sep 2008 19:30:58 +0000 (19:30 +0000)] 
Redo previous change, since pam_opendirectory.so is not available on older
Mac OS X releases.  Now a configure-time check and option (--with-pam-module).

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

16 years agoUse opendirectory PAM plug-in on Mac OS X.
mike [Wed, 17 Sep 2008 19:16:04 +0000 (19:16 +0000)] 
Use opendirectory PAM plug-in on Mac OS X.

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

16 years agoChangelog
mike [Wed, 17 Sep 2008 17:10:09 +0000 (17:10 +0000)] 
Changelog

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

16 years agoFix search template width.
mike [Wed, 17 Sep 2008 05:23:09 +0000 (05:23 +0000)] 
Fix search template width.

"make test" now creates a runcups test script which runs command against
test server.

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

16 years agoFix POSIX attribute calls.
mike [Wed, 17 Sep 2008 01:43:19 +0000 (01:43 +0000)] 
Fix POSIX attribute calls.

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

16 years agoFix clang-reported errors.
mike [Wed, 17 Sep 2008 00:56:20 +0000 (00:56 +0000)] 
Fix clang-reported errors.

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