CUPS 1.2svn Weekly Snapshot, r4823

Created at 21:01 Nov 04, 2005 by mike, last modified at 21:01 Nov 04, 2005

A new weekly snapshot of CUPS 1.2svn (r4823) is now available on the download page:

    http://www.cups.org/software.php

This snapshot contains pre-release software and should not be used on production systems.

Commit Log:

------------------------------------------------------------------------
r4823 | mike | 2005-11-04 17:03:20 -0500 (Fri, 04 Nov 2005) | 10 lines

Fix crash bug when remote printers go away...

scheduler/dirsvc.c:
    - cupsdLoadRemoteCache(): Load printer-make-and-model value.
    - cupsdSaveRemoveCache(): Save printer-make-and-model value.

scheduler/printers.c:
    - cupsdSetPrinterAttrs(): Only create printer-make-and-model
      attribute if value is set.

------------------------------------------------------------------------
r4822 | mike | 2005-11-04 16:13:20 -0500 (Fri, 04 Nov 2005) | 39 lines

Cache remote printers (STR #1295)

Use the ISO date format in the .conf files.

scheduler/classes.c:
    - cupsdSaveAllClasses(): Use new date/time format.

scheduler/conf.c:
    - cupsdReadConfiguration(): Call cupsdLoadRemoteCache() when
      doing a full reload.

scheduler/dirsvc.c:
    - cupsdLoadRemoteCache(), cupsdSaveRemoteCache(): Implemented.
    - cupsdProcessBrowseData(): Move implicit class processing to
      cupsdProcessImplicitClasses().
    - cupsdProcessImplicitClasses(): Added.

scheduler/dirsvc.h:
    - Added cupsdProcessImplicitClasses().

scheduler/job.c:
    - cupsdLoadAllJobs(): Don't create remote printers anymore.

scheduler/log.c:
    - cupsdLogMessage(): Don't log when ErrorLog is NULL.

scheduler/printers.c:
    - cupsdSaveAllPrinters(): Use new date/time format.

scheduler/server.c:
    - cupsdStartServer(): Track server state.
    - cupsdStopServer(): Track server state and call
      cupsdSaveRemoteCache() as needed.

scheduler/subscriptions.c:
    - cupsdSaveAllSubscriptions(): Use new date/time format.



------------------------------------------------------------------------
r4821 | mike | 2005-11-04 14:36:39 -0500 (Fri, 04 Nov 2005) | 19 lines

Add correct support for BrowseRemoteOptions and
BrowseLocalOptions (STR #1272)

scheduler/dirsvc.c:
    - cupsdProcessBrowseData(): Add num_attrs and attrs parameters, and
      construct the local URI using the ipp-options attribute and
      BrowseRemoteOptions.
    - cupsdUpdateCUPSBrowse(): Parse out text-encoded attributes at end
      of browse packet.
    - cupsdLoadRemoteCache(), cupsdSaveRemoveCache(): Added stubs.

scheduler/dirsvc.h:
    - cupsdLoadRemoteCache(), cupsdSaveRemoveCache(): Added.

scheduler/testdirsvc.c:
    - main(): Add ipp-options support for testing via -o option.
    - usage(): Show -o option in help.


------------------------------------------------------------------------
r4820 | mike | 2005-11-04 14:02:40 -0500 (Fri, 04 Nov 2005) | 2 lines

JPX fixes from Derek.

------------------------------------------------------------------------
r4819 | mike | 2005-11-04 13:39:32 -0500 (Fri, 04 Nov 2005) | 2 lines

Deprecate FaxRetry* directives in favor of JobRetry* directives.

------------------------------------------------------------------------
r4818 | mike | 2005-11-04 11:59:52 -0500 (Fri, 04 Nov 2005) | 3 lines

Add logging that AuthClass and AuthGroupName are deprecated, and
suggest the appropriate replacements.

------------------------------------------------------------------------
r4817 | mike | 2005-11-04 11:21:01 -0500 (Fri, 04 Nov 2005) | 2 lines

Remove extra DefaultAuthType line and comment.

------------------------------------------------------------------------
r4816 | mike | 2005-11-04 10:57:50 -0500 (Fri, 04 Nov 2005) | 26 lines

Fix bad add-printer and add-class links (STR #1333)

Add another array API test case, and fix the "expire remote printers
when browsing disabled" bug.

Change the refresh time to 5 seconds for all admin ops so that users
have a chance to read the message before being redirected to the
corresponding page.

doc/index.html.in:
    - Fix add-printer and add-class links (admin?OP=foo, not
      admin/OP=foo)

cgi-bin/admin.c:
    - do_am_printer(), do_config_server(), do_printer_op(): Set
      redirect delay to 5 seconds instead of 2 or 10 seconds.

cups/testarray.c:
    - main(): Test deletion and interation together.

scheduler/printers.c:
    - cupsdUpdatePrinters(): Save and restore the current
      position in the array when deleting a remote printer,
      otherwise we'll lose our place in the array.


------------------------------------------------------------------------
r4815 | mike | 2005-10-31 15:40:17 -0500 (Mon, 31 Oct 2005) | 4 lines

Fix WIN32 IPv6 support.

Cleanup array API sources (missing docos and out-of-order)

------------------------------------------------------------------------
Download  ·  Home Page  ·  Listing

Comments

Submit Comment