CUPS 1.3svn Weekly Snapshot, r5595

Created at 21:01 May 28, 2006 by mike, last modified at 21:01 May 28, 2006

A new weekly snapshot of CUPS 1.3svn (r5595) 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:

------------------------------------------------------------------------
r5593 | mike | 2006-05-26 23:13:38 -0400 (Fri, 26 May 2006) | 2 lines

Fix compiler warnings.

------------------------------------------------------------------------
r5590 | mike | 2006-05-26 15:48:26 -0400 (Fri, 26 May 2006) | 31 lines

First part of back-channel fix for STR #1724.

Add new libbackend.a library for the backends to use for common functions.

backend/backend-private.h:
    - Added.

backend/runloop.c:
    - Added.

backend/ieee1284.c:
    - Rename functions to use "backend" prefix.

backend/parallel.c:
    - Use new backendRunLoop() and backendGetDeviceID() functions.

backend/snmp.c:
    - Use new backendGetMakeModel() function.

backend/socket.c:
    - Use new backendRunLoop() function.

backend/test1284.c:
    - Use new backendGetDeviceID() function.

backend/usb-unix.c:
    - Use new backendRunLoop() and backendGetDeviceID() functions.

backend/usb.c:
    - Rename "fp" arguments/variables to "print_fd" for clarity.

------------------------------------------------------------------------
r5583 | mike | 2006-05-24 07:17:28 -0400 (Wed, 24 May 2006) | 2 lines

Add cups_pl.po to packages.

------------------------------------------------------------------------
r5581 | mike | 2006-05-23 21:00:20 -0400 (Tue, 23 May 2006) | 2 lines

Expand libdir and friends when we substitute.

------------------------------------------------------------------------
r5579 | mike | 2006-05-23 15:27:28 -0400 (Tue, 23 May 2006) | 2 lines

Rework math library checks so that -lm goes into LIBS.

------------------------------------------------------------------------
r5578 | mike | 2006-05-23 15:21:23 -0400 (Tue, 23 May 2006) | 2 lines

Fix order of image libraries.

------------------------------------------------------------------------
r5576 | mike | 2006-05-23 15:01:26 -0400 (Tue, 23 May 2006) | 2 lines

Remove old RC_CFLAGS reference.

------------------------------------------------------------------------
r5575 | mike | 2006-05-23 14:47:50 -0400 (Tue, 23 May 2006) | 3 lines

Drop automatic Universal binary building on OSX - use --with-archflags to
force it.

------------------------------------------------------------------------
r5574 | mike | 2006-05-23 14:36:20 -0400 (Tue, 23 May 2006) | 6 lines

The TIFF library uses ATAN2, so look for pow and atan2 in the math
library.

Older Sun C compilers fail to compile scheduler/ipp.c with -xO4, so
just use -xO2...

------------------------------------------------------------------------
r5571 | mike | 2006-05-22 14:46:55 -0400 (Mon, 22 May 2006) | 24 lines

The web interface did not handle reloads properly for MSIE (STR
#1716)

cgi-bin/admin.c:
    - do_am_class(): Add URL= to refresh link.
    - do_am_printer(): Add URL= to refresh link.
    - do_config_printer(): Add URL= to refresh link.
    - do_config_server(): Add URL= to refresh link.
    - do_printer_op(): Add URL= to refresh link.
    - do_set_allowed_users(): Add URL= to refresh link.
    - do_set_sharing(): Add URL= to refresh link.

cgi-bin/classes.c:
    - show_class(): Add URL= to refresh link.

cgi-bin/ipp-var.c:
    - cgiMoveJobs(): Add URL= to refresh link.
    - cgiPrintTestPage(): Add URL= to refresh link.

cgi-bin/printers.c:
    - print_command(): Add URL= to refresh link.
    - show_printer(): Add URL= to refresh link.


------------------------------------------------------------------------
r5569 | mike | 2006-05-22 14:30:52 -0400 (Mon, 22 May 2006) | 7 lines

Secondary fix for STR #1698: restore showpage operator after end of last
page.

filter/pstops.c:
    - copy_dsc(): Add showpage restore commands.
    - copy_non_dsc(): Add showpage restore commands.

------------------------------------------------------------------------
r5567 | mike | 2006-05-22 11:33:11 -0400 (Mon, 22 May 2006) | 12 lines

Drop rpath stuff when installing under /usr on platforms that don't need
it.

Fix scheduler crashes on Solaris when printing debug messages (STR #1714)

scheduler/auth.c:
    - cupsdIsAuthorized(): con->best->location might be NULL.

scheduler/client.c:
    - cupsdReadClient(): con->options might be NULL.
    - pipe_command(): options might be NULL.


------------------------------------------------------------------------
r5565 | mike | 2006-05-21 21:08:19 -0400 (Sun, 21 May 2006) | 2 lines

More 32/64-bit build system tweaks.

------------------------------------------------------------------------
r5563 | mike | 2006-05-21 13:18:40 -0400 (Sun, 21 May 2006) | 1 line

Fix 64-bit Solaris builds.
------------------------------------------------------------------------
r5562 | mike | 2006-05-21 10:48:26 -0400 (Sun, 21 May 2006) | 2 lines

First pass at a fix for 32/64-bit library builds.

------------------------------------------------------------------------
r5560 | mike | 2006-05-21 10:07:55 -0400 (Sun, 21 May 2006) | 2 lines

Update message catalogs.

------------------------------------------------------------------------
r5558 | mike | 2006-05-21 09:58:56 -0400 (Sun, 21 May 2006) | 6 lines

The password prompt showed the domain socket address instead of
"localhost" for local authentication (STR #1706)

cups/auth.c:
    - cupsDoAuthentication(): Use "localhost" for domain socket addresses.

------------------------------------------------------------------------
r5556 | mike | 2006-05-21 09:55:23 -0400 (Sun, 21 May 2006) | 17 lines

Expect: changes that didn't get committed to trunk before.

Don't default the requesting-user-name to "guest" when listing
printers or classes.

cgi-bin/classes.c:
    - main(): Don't default user to guest.
    - show_all_classes(): Don't pass requesting-user-name unless set.

cgi-bin/printers.c:
    - main(): Don't default user to guest.
    - show_all_printers(): Don't pass requesting-user-name unless set.

cups/request.c:
    - cupsDoFileRequest(): Expect: handling.


------------------------------------------------------------------------
r5553 | mike | 2006-05-20 08:22:27 -0400 (Sat, 20 May 2006) | 15 lines

Disable backchannel when printing to Canon USB printers.

The serial and IPP backends didn't skip over & separators between options.

backend/ipp.c:
    - main(): Fix support for & as a separator between options.

backend/serial.c:
    - main(): Fix support for & as a separator between options.

backend/usb-unix.c:
    - print_device(): If the hostname part of the URI is "Canon", disable
      backchannel support.


------------------------------------------------------------------------
r5552 | mike | 2006-05-20 08:00:37 -0400 (Sat, 20 May 2006) | 6 lines

Fix missing trailing banner for jobs submitted via Print-Job (STR #1698)

scheduler/ipp.c:
    - print_job(): Get a fresh copy of the job-sheets attribute
      before seeing if we need to add a trailing banner.

------------------------------------------------------------------------
r5550 | mike | 2006-05-19 16:20:15 -0400 (Fri, 19 May 2006) | 5 lines

Error out on EGAIN.

cups/backchannel.c:
    - cupsBackChannelWrite(): Don't retry on EGAIN.

------------------------------------------------------------------------
r5548 | mike | 2006-05-19 15:38:31 -0400 (Fri, 19 May 2006) | 55 lines

The web interface support programs crashed on Solaris (STR #1699)

cupstestppd incorrectly reported problems with *1284DeviceID
attributes (STR #1710)

Browsing could get disabled after a restart (STR #1670)

Custom page sizes were not parsed properly (STR #1709)

cgi-bin/admin.c:
    - main(): Check for NULL string pointer in fprintf() call.
    - do_am_printer(): Check for NULL string pointer in fprintf()
      call.

cgi-bin/help.c:
    - main(): Check for NULL string pointer in fprintf() call.

cgi-bin/html.c:
    - cgi_null_passwd(): Check for NULL string pointer in
      fprintf() call.

cgi-bin/ipp-var.c:
    - cgiSetIPPObjectVars(): Check for NULL string pointer in
      fprintf() call.
    - cgiSetIPPVars(): Check for NULL string pointer in fprintf()
      call.

cgi-bin/printers.c:
    - show_all_printers(): Check for NULL string pointer in
      fprintf() call.
    - show_printer(): Check for NULL string pointer in fprintf()
      call.

cgi-bin/template.c:
    - cgiCopyTemplateFile(): Check for NULL string pointer in
      fprintf() call.
    - cgiCopyTemplateLang(): Check for NULL string pointer in
      fprintf() call.

cgi-bin/var.c:
    - cgi_passwd(): Check for NULL string pointer in fprintf()
      call.

cups/page.c:
    - ppdPageSize(): Skip "x" between width and height values.

scheduler/dirsvc.c:
    - cupsdSendBrowseDelete(): Check that the browse socket
      and/or SLP handles are active.

systemv/cupstestppd.c:
    - main(): Only print an error if we find *1284DeviceID with
      the wrong case.


------------------------------------------------------------------------
r5546 | mike | 2006-05-19 08:44:15 -0400 (Fri, 19 May 2006) | 2 lines

Fix launchd detection on OSX.

------------------------------------------------------------------------
r5544 | mike | 2006-05-18 17:00:16 -0400 (Thu, 18 May 2006) | 12 lines

The -U option wasn't supported by lpadmin (STR #1702)

The -u option didn't work with lpadmin (STR #1703)

cups/encode.c:
    - Add requesting-user-name-allowed and requesting-user-name-denied
      attributes to list.

systemv/lpadmin.c:
    - main(): Add -U case and corresponding code.


------------------------------------------------------------------------
r5543 | mike | 2006-05-18 16:51:33 -0400 (Thu, 18 May 2006) | 7 lines

The scheduler did not create non-blocking back-channel pipes,
which caused problems when the printer driver did not read the
back-channel data (STR #1705)

scheduler/job.c:
    - cupsdStartJob(): Set O_NONBLOCK on back_pipes.

------------------------------------------------------------------------
r5541 | mike | 2006-05-18 10:10:20 -0400 (Thu, 18 May 2006) | 7 lines

Fix 6-up printing...

filter/pstops.c:
    - start_nup(): Revert 6-up printing to (working) 1.1.x code with
      modifications for the variable names and use of page-specific
      size.

------------------------------------------------------------------------
r5539 | mike | 2006-05-17 17:01:56 -0400 (Wed, 17 May 2006) | 3 lines

Don't use chunking in the response, as older CUPS clients (1.1.17 and
older
for sure) don't handle chunking properly.

------------------------------------------------------------------------
r5537 | mike | 2006-05-16 19:52:30 -0400 (Tue, 16 May 2006) | 2 lines

Fix initialized variable.

------------------------------------------------------------------------
r5534 | mike | 2006-05-16 15:45:22 -0400 (Tue, 16 May 2006) | 2 lines

Changelog...

------------------------------------------------------------------------
r5533 | mike | 2006-05-16 15:45:14 -0400 (Tue, 16 May 2006) | 78 lines

Add document-format-default and notify-events-default to the list
of attributes with a specific value tag.

Some stuff to test application/octet-stream defaulting.

Add support for a read-write document-format-default attribute.

Fix printing of raw files without the "raw" option.

Fix doubling up of notify-notify-foo (instead of notify-foo).

cups/encode.c:
    - Add document-format-default to the list.

scheduler/ipp.c:
    - accept_jobs(): Use new cupsdValidatePrinter() calling
      convention.
    - add_class(): Use new cupsdValidatePrinter() calling
      convention.
    - add_job(): Accept printer pointer.
    - cancel_all_jobs(): Use new cupsdValidatePrinter() calling
      convention.
    - cancel_job(): Use new cupsdValidatePrinter() calling
      convention.
    - create_job(): Use new cupsdValidatePrinter() and add_job()
      calling convention.
    - create_requested_array(): Fix notify-notify-foo to be
      notify-foo.
    - create_subscription(): Use new cupsdValidatePrinter()
      calling convention.
    - delete_printer(): Use new cupsdValidatePrinter() calling
      convention.
    - get_jobs(): Use new cupsdValidatePrinter() calling
      convention.
    - get_printer_attrs(): Use new cupsdValidatePrinter() calling
      convention.
    - get_subscriptions(): Use new cupsdValidatePrinter() calling
      convention.
    - move_job(): Use new cupsdValidatePrinter() calling
      convention.
    - print_job(): Use new cupsdValidatePrinter() and add_job()
      calling convention, use document-format-default option if
      set.
    - reject_jobs(): Use new cupsdValidatePrinter() calling
      convention.
    - send_document(): Use document-format-default option if set.
    - set_default(): Use new cupsdValidatePrinter() calling
      convention.
    - set_printer_defaults(): Allow document-format-default to be
      set.
    - start_printer(): Use new cupsdValidatePrinter() calling
      convention.
    - stop_printer(): Use new cupsdValidatePrinter() calling
      convention.
    - validate_job(): Use new cupsdValidatePrinter() calling
      convention.

scheduler/job.c:
    - cupsdLoadJob(): Use new cupsdValidatePrinter() calling
      convention.

scheduler/printers.c:
    - cupsdCreateCommon(): Remove document-format-default.
    - cupsdValidateDest(): Accept URI as parameter instead of
      host/resource strings.
    - add_printer_defaults(): Add document-format-default as
      needed.
    - add_printer_formats(): Add application/octet-stream
      as a supported format if allowed by the driver.

scheduler/printers.h:
    - Update cupsdValidateDest() prototype.

scheduler/testmime.c:
    - main(): Try using application/octet-stream type as a fallback.
    - type_dir(): Skip files and directories starting with ".".


------------------------------------------------------------------------
r5531 | mike | 2006-05-16 13:47:08 -0400 (Tue, 16 May 2006) | 9 lines

6-up printing was broken.

The pstops filter did not disable CTRL-D processing on the
printer/RIP.

filter/pstops.c:
    - do_setup(): Add CTRL-D disabling code.
    - start_nup(): Fix 6-up transforms.

------------------------------------------------------------------------
r5530 | mike | 2006-05-15 16:26:25 -0400 (Mon, 15 May 2006) | 5 lines

Add beginnings of application/vnd.cups-pdf MIME type
specification, for use in a future version of CUPS that provides
an end-to-end PDF workflow.


------------------------------------------------------------------------
r5528 | mike | 2006-05-15 16:03:12 -0400 (Mon, 15 May 2006) | 6 lines

ppdOpen*() did not load custom options properly (STR #1680)

cups/mark.c:
    - ppdFindOption(): If the options array has not yet been
      initialized, do a brute-force linear lookup in all groups.

------------------------------------------------------------------------
r5527 | mike | 2006-05-15 15:37:11 -0400 (Mon, 15 May 2006) | 30 lines

"Set Printer Options" in the web interface did not update the
DefaultImageableArea or DefaultPaperDimension attributes in the
PPD file (STR #1689)

Fixed compile errors (STR #1682, STR #1684, STR #1685, STR #1690)

The lpstat command displayed the wrong error message for a
missing destination (STR #1683)

cgi-bin/admin.c:
    - do_config_printer(): Set DefaultImageableArea and
      DefaultPaperDimension as needed.

cups/snprintf.c:
    - _cups_vsnprintf(): Don't use C99/C++ style comments.

scheduler/auth.c:
    - Fix conditional compile of HP-UX and HAVE_PAM.

scheduler/dirsvc.c:
    - Fix conditional compile of HAVE_LDAP.

scheduler/printers.c:
    - write_irix_state(): Add missing attr variable.

systemv/lpstat.c:
    - main(): Use _cupsLangPrintf() instead of _cupsLangPuts()
      for one error message.


------------------------------------------------------------------------
r5526 | mike | 2006-05-15 15:05:22 -0400 (Mon, 15 May 2006) | 4 lines

Update the Polish translation (STR #1669)

Stopped jobs are active (STR #1676)

------------------------------------------------------------------------
r5524 | mike | 2006-05-15 09:52:09 -0400 (Mon, 15 May 2006) | 4 lines

The configure script did not use the GNU TLS "libgnutls-config"
script to find the proper compiler and linker options.


------------------------------------------------------------------------
r5523 | mike | 2006-05-15 01:02:43 -0400 (Mon, 15 May 2006) | 29 lines

Fix imagetoraster generation of 1/2/4-bit raster data.

Fix cupsRasterWritePixels() - bad double line termination.

filter/imagetoraster.c:
    - Floyd16xc16 renamed back to Floyd16x16.
    - main(): Use CUPS_IMAGE_BLACK/CUPS_IMAGE_CMY for 1/2/4-bit
      output, set high-resolution page attributes and
      cupsPageSizeName attribute, use cupsNumColors attribute for
      number of planes, only use format_KCMYcm for 1-bit output.
    - format_CMY(): Fix 2-bit output.
    - format_CMYK(): Map CMY to CMYK for 1-bit output, fix 2-bit
      output.
    - format_K(): Fix 2-bit output.
    - format_KCMY(): Map CMY to KCMY for 1-bit output, fix 2-bit
      output.
    - format_KCMYcm(): Drop 8-bit output, map CMY to KCMYcm.
    - format_RGBA(): Don't clear alpha/white bits, fix 2-bit
      output.
    - format_W(): Fix 2-bit output.
    - format_YMC(): Fix 2-bit output.
    - format_YMC(): Map CMY to YMCK for 1-bit output, fix 2-bit
      output.

filter/raster.c:
    - cupsRasterWritePixels(): Fix loop so that remaining count
      is correct.


------------------------------------------------------------------------
r5520 | mike | 2006-05-12 12:37:36 -0400 (Fri, 12 May 2006) | 4 lines

Fix encoding and conversion of CIE values.

Always update cupsNumColors if it is 0.

------------------------------------------------------------------------
r5518 | mike | 2006-05-12 10:44:24 -0400 (Fri, 12 May 2006) | 2 lines

Make sure we swap 12/16 bit chunky data.

------------------------------------------------------------------------
r5517 | mike | 2006-05-12 08:58:37 -0400 (Fri, 12 May 2006) | 2 lines

Fix cupstestppd failures with new PPD file.

------------------------------------------------------------------------
r5516 | mike | 2006-05-11 19:54:05 -0400 (Thu, 11 May 2006) | 2 lines

Move private _cups_raster_s structure to raster.c.

------------------------------------------------------------------------
r5514 | mike | 2006-05-11 16:06:35 -0400 (Thu, 11 May 2006) | 2 lines

Update raster specifications to clarify confusing parts...

------------------------------------------------------------------------
r5512 | mike | 2006-05-11 14:06:58 -0400 (Thu, 11 May 2006) | 6 lines

Fix bug in KCMYcm handling.

filter/interpret.c:
    - cupsRasterInterpretPPD(): Look at cupsBitsPerColor, not
      cupsBitsPerPixel, for KCMYcm depth.

------------------------------------------------------------------------
r5510 | mike | 2006-05-11 13:41:54 -0400 (Thu, 11 May 2006) | 4 lines

Add support for IntelliBar printers.

Fix typos in Zebra PPDs.

------------------------------------------------------------------------
r5508 | mike | 2006-05-11 07:41:16 -0400 (Thu, 11 May 2006) | 2 lines

Fix RGB processing so that CIE colorspaces actually get used.

------------------------------------------------------------------------
r5506 | mike | 2006-05-10 23:41:26 -0400 (Wed, 10 May 2006) | 2 lines

Fix last of the rgb-to-CIE conversion bugs.

------------------------------------------------------------------------
r5505 | mike | 2006-05-10 23:29:55 -0400 (Wed, 10 May 2006) | 2 lines

Fix some errors in the CIE colorspace support...

------------------------------------------------------------------------
r5503 | mike | 2006-05-10 14:55:39 -0400 (Wed, 10 May 2006) | 17 lines

The cups-config script did not work when invoked from a source
directory (STR #1673)

The SNMP backend did not compile on systems that used the
getifaddrs emulation functions (STR #1668)

cups-config.in:
   - Check script path for CUPS source and use it as the prefix if
     so...
   - Also check for /usr/lib64 in addition to /usr/lib and /usr/lib32.

cups/getifaddrs.c:
   - _cups_getifaddrs(): Use ifa_broadaddr instead of ifa_dstaddr.

cups/http-private.h:
   - Add ifa_broadaddr and union to hold broadcast address.

------------------------------------------------------------------------
r5502 | mike | 2006-05-08 17:09:15 -0400 (Mon, 08 May 2006) | 2 lines

Bump trunk to 1.3.x.

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

Comments

Submit Comment

From Anonymous, 20:27 May 30, 2006 (score=3)

good job Reply