CUPS 1.2.x Weekly Snapshot, r4608

Created at 21:01 Aug 26, 2005 by mike, last modified at 21:01 Aug 26, 2005

A new weekly snapshot of CUPS 1.2.x (r4608) 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:

------------------------------------------------------------------------
r4608 | mike | 2005-08-26 23:40:05 -0400 (Fri, 26 Aug 2005) | 2 lines

Fix AND logic by adding reciprocal regex (word1 AND word2 OR word2 AND
word1)

------------------------------------------------------------------------
r4607 | mike | 2005-08-26 23:04:24 -0400 (Fri, 26 Aug 2005) | 2 lines

Add autoconf-generated RPM spec file.

------------------------------------------------------------------------
r4606 | mike | 2005-08-26 19:45:06 -0400 (Fri, 26 Aug 2005) | 2 lines

Use extended POSIX regular expressions.

------------------------------------------------------------------------
r4605 | mike | 2005-08-26 19:42:54 -0400 (Fri, 26 Aug 2005) | 2 lines

Don't install French man pages (for now)

------------------------------------------------------------------------
r4604 | mike | 2005-08-26 19:40:29 -0400 (Fri, 26 Aug 2005) | 10 lines

Fix directories on Linux RPM installations.

config-scripts/cups-directories.m4:
    - Prefer /etc/init.d over /etc/rc.d/init.d on Linux.

cups.spec:
    - enable and disable moved to /usr/sbin...
    - Remove French and Spanish man pages (for now)


------------------------------------------------------------------------
r4603 | mike | 2005-08-26 18:30:50 -0400 (Fri, 26 Aug 2005) | 2 lines

Fix "make install" target to install correct files.

------------------------------------------------------------------------
r4602 | mike | 2005-08-26 17:10:18 -0400 (Fri, 26 Aug 2005) | 2 lines

Make all HR's solid and thin.

------------------------------------------------------------------------
r4601 | mike | 2005-08-26 16:47:35 -0400 (Fri, 26 Aug 2005) | 23 lines

Finish up on-line help CGI...

cgi-bin/help.c:
    - Add file display, show links, and do searching.

cgi-bin/help-index.c:
    - Remove help_find_node().
    - Change helpFindNode() to return help_node_t **.
    - Cleanup helpSearchIndex() and use filename to limit search.
    - help_load_file(): Don't add empty targets, 

cgi-bin/help-index.h:
    - Change helpFindNode() to return help_node_t **.

scheduler/client.c:
    - ReadClient(): fix /admin check.
    - get_file(): don't localize log files.

templates/help-header.tmpl
templates/help-trailer.tmpl
    - Added


------------------------------------------------------------------------
r4600 | mike | 2005-08-26 10:59:30 -0400 (Fri, 26 Aug 2005) | 16 lines

Implement index search using regular expressions.

cgi-bin/help-index.c:
    - helpSearchIndex(): Implement
    - help_compile_search(): Add
    - help_insert_node(): Fix binary insertion for 1-node case
    - help_load_file(): Add whitespace to text when continuing
      lines, and close the file at the end.

cgi-bin/help-index.h:
    - Add filename argument to helpSearchIndex()

cgi-bin/testhi.c:
    - Add tests for helpSearchIndex()


------------------------------------------------------------------------
r4599 | mike | 2005-08-25 21:59:24 -0400 (Thu, 25 Aug 2005) | 22 lines

Save work on help indexing, and remove use of NAMLEN macro.

cgi-bin/help.c:
    - Remove old code.

cgi-bin/help-index.c:
    - Finish up implementation of all core routines except search.

cgi-bin/help-index.h:
    - Fix up includes.

cgi-bin/testhi.c:
    - Implement basic load tests.

cgi-bin/testhi.html:
    - Move anchors around to better test insertion sort.

scheduler/job.c:
scheduler/mime.c:
    - Use strlen() instead of NAMLEN macro.


------------------------------------------------------------------------
r4598 | mike | 2005-08-25 17:36:26 -0400 (Thu, 25 Aug 2005) | 32 lines

Start adding on-line help...

Remove all of the workaround code for directory support - we'll stick
with the POSIX API on UNIX/Linux/OSX from now on...

cups/file.c:
cups/file.h:
    - Add cupsFileLock() and cupsFileUnlock() APIs.

cgi-bin/help.c:
cgi-bin/help-index.c:
cgi-bin/help-index.h:
cgi-bin/Makefile:
cgi-bin/testhi.c:
cgi-bin/testhi.html:
    - Add indexing code (still incomplete)
    - Add test program and data.

doc/help/*:
    - Add some basic reference files.

scheduler/banners.c:
scheduler/client.c:
scheduler/cups-deviced.c:
scheduler/cupsd.h:
scheduler/job.c:
scheduler/mime.c:
scheduler/ppds.c:
scheduler/util.h:
    - Use POSIX directory functions exclusively.


------------------------------------------------------------------------
r4597 | mike | 2005-08-25 11:35:19 -0400 (Thu, 25 Aug 2005) | 7 lines

Fix OpenBSD signalling bug that would cause the system to shutdown (STR
#1258)

scheduler/main.c:
    - Only send the SIGUSR1 signal to the parent process if the
      PID is not 1.


------------------------------------------------------------------------
r4596 | mike | 2005-08-25 11:23:08 -0400 (Thu, 25 Aug 2005) | 16 lines

Remove old documentation page, and make "edit configuration file" page
generated like the cupsd.conf file.

configure.in:
    - Automatically generate edit-config.tmpl.
    - Remove documentation.html.

doc/documentation.html.in:
    - Remove

templates/edit-config.tmpl:
templates/edit-config.tmpl.in:
    - Rename to edit-config.tmpl.in, and use cupsd.conf.in
      template.


------------------------------------------------------------------------
r4595 | mike | 2005-08-25 08:15:35 -0400 (Thu, 25 Aug 2005) | 20 lines

Add support for dynamic, on-line help CGI.

cgi-bin/Dependencies:
    - Add help.o.

cgi-bin/help.c:
    - Added with skeleton output code for now.

cgi-bin/Makefile:
    - Added help.cgi target.

doc/index.html.in:
templates/header.tmpl:
    - Change documentation.html links to /help

scheduler/client.c:
    - Add support for mapping /help links to help.cgi.
    - Clean up checks for /admin/log.


------------------------------------------------------------------------
r4594 | mike | 2005-08-24 23:24:08 -0400 (Wed, 24 Aug 2005) | 8 lines

templates/jobs.tmpl:
templates/printers.tmpl:
    - Update ALT attributes to match button text.

cgi-bin/printers.c:
    - Pass printer-type and printer-type-mask when asking for the
      list of printers.

------------------------------------------------------------------------
r4593 | mike | 2005-08-24 23:18:12 -0400 (Wed, 24 Aug 2005) | 25 lines

doc/index.html.in:
    - Update web interface home page.

doc/images/config-printer.gif:
    - Change to "Set Printer Options".

doc/images/esp-logo.gif
    - Add ESP logo.

doc/images/help.gif
    - Add "Help" button.

doc/images/manage-server.gif
    - Add "Manage Server" button.

doc/images/restart-job.gif
    - Change to "Reprint Job".

doc/images/search.gif
    - Add "Search" button.

doc/images/use-default-config.gif
    - Add "Use Default Configuration File" button.


------------------------------------------------------------------------
r4592 | mike | 2005-08-24 17:09:34 -0400 (Wed, 24 Aug 2005) | 35 lines

cups/cups.h:
    - Add CUPS_PRINTER_SHARED printer type bit.

scheduler/classes.c:
    - Load and save the shared attribute.

scheduler/cups-polld.c:
    - Only poll for shared printers.

scheduler/dirsvc.c:
    - Only broadcast shared printers.

scheduler/ipp.c:
    - Support get/set of printer-is-shared attribute.
    - Only allow remote print jobs on shared printers.
    - CUPS-Get-Printers now includes all printers and
      classes by default.

scheduler/job.c:
    - Honor the error policy for a printer.

scheduler/printers.c:
    - Load and save the shared attribute.
    - Set/clear the shared printer type bit as needed.

scheduler/printers.h:
    - Add printer_t::shared field.

scheduler/main.c:
    - Call CatchChildSignals() so that child signals are caught.

scheduler/statbuf.c:
    - "NOTICE:" is 7 characters, not 6.


------------------------------------------------------------------------
r4591 | mike | 2005-08-24 16:15:15 -0400 (Wed, 24 Aug 2005) | 18 lines

cgi-bin/cgi.h:
cgi-bin/html.c:
cgi-bin/var.c:
    - Add cgiStartHTML(), cgiEndHTML(), and cgiFormEncode()
      functions from admin.c for general use.
    - Add authentication hooks, such that a HTTP/IPP request that
      requires authentication will kick out a 401 status header
      instead of asking for a password.  This functionality is
      disabled after the HTML header is sent.

cgi-bin/admin.c:
    - Move form_encode(), html_end(), and html_start() to CGI
      library, and update code to use the new CGI calls.

cgi-bin/Dependencies:
cgi-bin/Makefile:
    - Add html.c/o to library build.

------------------------------------------------------------------------
r4590 | mike | 2005-08-24 15:25:49 -0400 (Wed, 24 Aug 2005) | 45 lines

*/Dependencies:
    - Update dependencies.

cgi-bin/admin.c:
    - Use new cupsTempFile2() API.
    - Drop old get_line() function.
    - Implement general URL redirector function, and use it for
      all successful admin ops (2 second delay).
    - 

conf/mime.types:
    - Add text/css MIME type for stylesheet.

cups/cups.h:
cups/tempfile.c:
    - Add new cupsTempFile2() API (for CUPS files)

cups/file.h:
    - Fix multiple include guard.
    - Add <sys/types.h> include.

cups/ppd.h:
    - Include "file.h".

doc/cups.css:
    - Add "conflict" style.
    - Don't force TD/TH to be left-aligned.
    - Add padding to page style.
    - Add "data" style for rounded info boxes.

doc/documentation.html.in:
doc/index.html.in:
    - Correctly spell administration.

doc/images/hdr*.gif:
    - Add new box corners.

doc/images/left.gif:
doc/images/right.gif:
    - Remove old left/right graphics.

templates/*.tmpl:
    - Update to use new rounded boxes.


------------------------------------------------------------------------
r4589 | mike | 2005-08-24 08:01:10 -0400 (Wed, 24 Aug 2005) | 4 lines

Remove old images.

Update button images using new GIMP 2.2 scripts.

------------------------------------------------------------------------
r4588 | mike | 2005-08-24 00:28:41 -0400 (Wed, 24 Aug 2005) | 4 lines

Add new GIMP 2.2 scripts to create new button images.

Fix tab spacing.

------------------------------------------------------------------------
r4587 | mike | 2005-08-23 17:49:20 -0400 (Tue, 23 Aug 2005) | 2 lines

Auto-general index.html and documentation.html.

------------------------------------------------------------------------
r4586 | mike | 2005-08-23 16:51:02 -0400 (Tue, 23 Aug 2005) | 2 lines

Minor spacing tweak.

------------------------------------------------------------------------
r4585 | mike | 2005-08-23 16:32:31 -0400 (Tue, 23 Aug 2005) | 3 lines

Update CUPS web interface to use new tabbed interface, a la the CUPS
home page.  (Still need to update button images and some content...)

------------------------------------------------------------------------
r4584 | mike | 2005-08-23 15:48:07 -0400 (Tue, 23 Aug 2005) | 3 lines

Add simple device URI check to add_printer(); basically, now all device
URIs must use a method that has a corresponding backend.

------------------------------------------------------------------------
r4583 | mike | 2005-08-23 15:30:08 -0400 (Tue, 23 Aug 2005) | 45 lines

backend/usb-unix.c:
        - Add some more checking to ensure we don't get "HP hp
          designjet..." model strings, and remove some unused
          code.

cgi-bin/admin.c:
        - Set PRINTER_INFO (printer-description) value to make
          and model so that MacOS X clients see a reasonable
          printer name.

doc/images/accept-jobs.gif:
doc/images/reject-jobs.gif:
        - Change colors to green and red, respectively.

scheduler/client.c:
        - Support IPP requests that use subprocesses (cups-deviced for now)

scheduler/conf.c:
scheduler/cupsd.h:
scheduler/devices.c:
        - Remove static device initialization data.

scheduler/cups-deviced.c:
        - Add new external (CGI-style) program to list devices
          dynamically.

scheduler/ipp.c:
        - get_devices(): use new external cups-deviced command.
        - Remove extra looping variables.
        - ProcessIPPRequest(): add code to handle subprocess responses.

scheduler/job.c:
        - Add CUPS_SERVERBIN environment variable.

scheduler/Makefile:
        - Add cups-deviced targets, remove devices.o.

scheduler/util.c:
scheduler/util.h:
        - Added new utility functions for cups-deviced and others.

test/run-stp-tests.sh:
        - Add symlink for daemon directory (now required for testing)


------------------------------------------------------------------------
r4582 | mike | 2005-08-22 16:54:27 -0400 (Mon, 22 Aug 2005) | 42 lines

cgi-bin/admin.c:
    - Finalize basic settings support.
    - Add manual cupsd.conf editing form.
    - Delay HTML header until last moment.

cgi-bin/Makefile:
cgi-bin/html.c:
    - Remove unused HTML header/trailer functions.

cgi-bin/cgi.h:
cgi-bin/var.c:
    - Added "cgiIsPOST()" function.

conf/mime.types:
    - Add image/x-icon MIME type for favicon.ico support.

doc/favicon.ico:
    - Add "favorites" icon file with CUPS logo for web interface.

doc/images/*.gif:
    - Add new buttons for server configuration/information pages.

scheduler/client.c:
scheduler/client.h:
    - Add "sent_header" field to client structure.
    - Delay sending of header until first HTTP header from
      CGI script/program.
    - Add support for Location: and Status: CGI headers.

templates/admin.tmpl:
    - Add edit and view buttons.

templates/edit-config.tmpl:
    - Added to support web-based config file editing.

templates/header.tmpl:
    - Update support HTTP refresh meta attribute.

templates/restart.tmpl:
    - Added to show "please stand by while server restarts" message.


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

Comments

Submit Comment