CUPS 1.3svn Weekly Snapshot, r6605

Created at 21:00 Jun 24, 2007 by mike, last modified at 21:00 Jun 24, 2007

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

------------------------------------------------------------------------
r6605 | mike | 2007-06-22 20:18:52 -0400 (Fri, 22 Jun 2007) | 2 lines

Add start of new DDK-based sample driver PPDs.

------------------------------------------------------------------------
r6604 | mike | 2007-06-22 19:06:14 -0400 (Fri, 22 Jun 2007) | 2 lines

Ignore testcups program.

------------------------------------------------------------------------
r6603 | mike | 2007-06-22 18:23:21 -0400 (Fri, 22 Jun 2007) | 4 lines

Add testcups program to do basic tests of the CUPS API.

Update Mac OS X export list for libcups.

------------------------------------------------------------------------
r6602 | mike | 2007-06-22 18:13:13 -0400 (Fri, 22 Jun 2007) | 2 lines

Localize APPrinterPreset attributes, too.

------------------------------------------------------------------------
r6601 | mike | 2007-06-22 17:27:22 -0400 (Fri, 22 Jun 2007) | 3 lines

Implement support for cupsIPPFinishings attribute which maps IPP
finishings
values to PPD options and choices (STR #655)

------------------------------------------------------------------------
r6600 | mike | 2007-06-22 14:19:20 -0400 (Fri, 22 Jun 2007) | 3 lines

Only force queueing of jobs on discovered printers (side-effect of
previous
change to enable bonjour printers...)

------------------------------------------------------------------------
r6599 | mike | 2007-06-22 14:11:12 -0400 (Fri, 22 Jun 2007) | 2 lines

Remove extra brace...

------------------------------------------------------------------------
r6598 | mike | 2007-06-22 13:47:00 -0400 (Fri, 22 Jun 2007) | 4 lines

Put root temp files in /tmp (or /private/tmp) by default, since the
scheduler
clears its temp directory on a reload which can cause problems for
independent
apps run by root...

------------------------------------------------------------------------
r6597 | mike | 2007-06-22 12:41:58 -0400 (Fri, 22 Jun 2007) | 2 lines

Fix packaging of accounting.html.

------------------------------------------------------------------------
r6596 | mike | 2007-06-21 18:42:25 -0400 (Thu, 21 Jun 2007) | 2 lines

Fix bad XML close tag.

------------------------------------------------------------------------
r6595 | mike | 2007-06-21 18:29:57 -0400 (Thu, 21 Jun 2007) | 2 lines

Don't use local variable anymore...

------------------------------------------------------------------------
r6594 | mike | 2007-06-21 17:51:15 -0400 (Thu, 21 Jun 2007) | 2 lines

Add accounting help (STR #2397)

------------------------------------------------------------------------
r6593 | mike | 2007-06-21 17:30:49 -0400 (Thu, 21 Jun 2007) | 2 lines

Fix timeout handling and banner pages (STR #1711)

------------------------------------------------------------------------
r6592 | mike | 2007-06-21 17:04:40 -0400 (Thu, 21 Jun 2007) | 2 lines

Rename "wide" variable to eliminate compiler warning on Mac OS X.

------------------------------------------------------------------------
r6591 | mike | 2007-06-21 16:35:28 -0400 (Thu, 21 Jun 2007) | 5 lines

Fix implementation of CUPS_SC_CMD_DRAIN_OUTPUT for all of the sample
backends.
They now drain pending input as well as flushing the output, as required.

Add new USB backend code for Mac OS X that supports the side channel API.

------------------------------------------------------------------------
r6590 | mike | 2007-06-21 14:22:22 -0400 (Thu, 21 Jun 2007) | 3 lines

Implement CUPS_PRINTER_DISCOVERED printer-type bit and re-enable the
CUPS_PRINTER_REMOTE bit for Bonjour shared printers (STR #2384)

------------------------------------------------------------------------
r6589 | mike | 2007-06-21 14:01:28 -0400 (Thu, 21 Jun 2007) | 2 lines

STATE: paused did not work from a filter (STR #2341)

------------------------------------------------------------------------
r6588 | mike | 2007-06-21 13:56:37 -0400 (Thu, 21 Jun 2007) | 3 lines

Only update the printer-state-message attribute for filter messages at
the same or higher log level (STR #2422)

------------------------------------------------------------------------
r6587 | mike | 2007-06-21 13:47:20 -0400 (Thu, 21 Jun 2007) | 2 lines

Fix bug in PHP makefile that prevented installs from working.

------------------------------------------------------------------------
r6586 | mike | 2007-06-21 13:44:22 -0400 (Thu, 21 Jun 2007) | 2 lines

Initialize groupidx to eliminate a (bogus) GCC warning...

------------------------------------------------------------------------
r6584 | mike | 2007-06-21 13:22:26 -0400 (Thu, 21 Jun 2007) | 4 lines

Byte swapping code did not work with some versions of GCC, which would
optimize the union-based byte shuffle away.  Changed to use more
traditional
temp mask & shift approach.

------------------------------------------------------------------------
r6582 | mike | 2007-06-20 18:07:38 -0400 (Wed, 20 Jun 2007) | 3 lines

Send document-format when it matches one of the formats supported by the
server (STR #2411)

------------------------------------------------------------------------
r6580 | mike | 2007-06-20 17:11:43 -0400 (Wed, 20 Jun 2007) | 4 lines

Fix ppdOpen2() crash bug with custom options (STR #2408)

Fix memory leak in test program.

------------------------------------------------------------------------
r6579 | mike | 2007-06-20 16:42:41 -0400 (Wed, 20 Jun 2007) | 2 lines

Make all job-specific log messages use the [Job N] prefix (STR #2420)

------------------------------------------------------------------------
r6578 | mike | 2007-06-20 13:46:04 -0400 (Wed, 20 Jun 2007) | 16 lines

Map "mirror" option to PPD "MirrorPrint" option, and then disable emitting
of MirrorPrint from pstops, imagetops, and imagetoraster since they
implement
mirroring themselves.

cups/options.c:
    - cupsMarkOptions(): Support "mirror" as an alias for "MirrorPrint".

filter/imagetoraster.c
    - main(): Add handling of MirrorPrint PPD option.

filter/imagetops.c
    - main(): Add handling of MirrorPrint PPD option.

filter/pstops.c:
    - set_pstops_options(): Add handling of MirrorPrint PPD option.

------------------------------------------------------------------------
r6577 | mike | 2007-06-19 20:26:42 -0400 (Tue, 19 Jun 2007) | 2 lines

Also clear the env vars when we remove the auth cache file.

------------------------------------------------------------------------
r6576 | mike | 2007-06-19 20:23:32 -0400 (Tue, 19 Jun 2007) | 20 lines

Add new AUTH_USERNAME, AUTH_DOMAIN, and AUTH_PASSWORD environment
variables
when printing a job.  This allows us to run the IPP backend as "lp" and
will
allow other backends to support proxy authentication without running as
root.

backend/ipp.c:
    - main(): Use AUTH_USERNAME and AUTH_PASSWORD instead of reading the
auth
      file.

scheduler/ipp.c:
    - save_auth_info(): Create AUTH_USERNAME, AUTH_DOMAIN, and
AUTH_PASSWORD
      environment variables as needed for the job.

scheduler/job.c:
    - cupsdLoadJob(): Load AUTH_* env vars from the auth file.
    - start_job(): Add AUTH_* env vars to the environment.

scheduler/job.h:
    - Add auth_username, auth_domain, and auth_password members to
      cupsd_job_s structure.

------------------------------------------------------------------------
r6575 | mike | 2007-06-19 19:56:24 -0400 (Tue, 19 Jun 2007) | 2 lines

Update comment about cupsMediaPosition to be less ambiguous.

------------------------------------------------------------------------
r6574 | mike | 2007-06-19 19:52:37 -0400 (Tue, 19 Jun 2007) | 10 lines

Don't complain about missing translations for PageRegion (STR #2413)

Don't complain about DefaultHalftoneType, DefaultLeadingEdge, or
DefaultResolution.

Run cupsRasterInterpretPPD() to check the default option choices for
CUPS raster printers.

List UIConstraints in very verbose mode.

------------------------------------------------------------------------
r6573 | mike | 2007-06-19 19:10:37 -0400 (Tue, 19 Jun 2007) | 5 lines

Pritner -> Printer...

Add documentation on port-monitor and port-monitor-supported attributes.


------------------------------------------------------------------------
r6572 | mike | 2007-06-19 19:04:16 -0400 (Tue, 19 Jun 2007) | 4 lines

Fix port-monitor handling - port-monitor should be a name and not a
keyword.

Also, port-monitor was not set automatically when device-uri was set.

------------------------------------------------------------------------
r6571 | mike | 2007-06-19 18:37:38 -0400 (Tue, 19 Jun 2007) | 2 lines

Update documentation on cupsFlipDuplex.

------------------------------------------------------------------------
r6570 | mike | 2007-06-19 14:10:48 -0400 (Tue, 19 Jun 2007) | 16 lines

Fix crash bug when saving credentials with no Kerberos auth data.

scheduler/client.c:
    - cupsdReadClient(): Reset gss_have_creds to 0.

scheduler/client.h:
    - Add gss_have_creds to cupsd_client_s.

scheduler/ipp.c:
    - save_auth_info(): Only call save_krb5_creds() if we have credential
      info, and clear previous info if it is available for that job.

scheduler/auth.c:
    - cupsdAuthorize(): Set gss_have_creds to 1 on a successful GSS
      negotiation.

------------------------------------------------------------------------
r6569 | mike | 2007-06-18 20:16:59 -0400 (Mon, 18 Jun 2007) | 4 lines

Fix HP-UX compiles with Kerberos support (STR #2331)

Use krb5_cc_resolve() whenever possible (STR #2404)

------------------------------------------------------------------------
r6568 | mike | 2007-06-18 19:58:08 -0400 (Mon, 18 Jun 2007) | 2 lines

Fix wording of configure message.

------------------------------------------------------------------------
r6567 | mike | 2007-06-18 19:57:01 -0400 (Mon, 18 Jun 2007) | 2 lines

Ignore generated mime.convs file.

------------------------------------------------------------------------
r6566 | mike | 2007-06-18 19:56:23 -0400 (Mon, 18 Jun 2007) | 2 lines

Add configure-time option to enable/disable raw printing by default.

------------------------------------------------------------------------
r6565 | mike | 2007-06-18 19:50:16 -0400 (Mon, 18 Jun 2007) | 4 lines

Some more cleanup of the Makefile for SYMROOT support.

Don't install /private/var/run/cups/* directories on Mac OS X.

------------------------------------------------------------------------
r6564 | mike | 2007-06-18 19:40:38 -0400 (Mon, 18 Jun 2007) | 9 lines

Cleanup help text for configure script.

Add support for Mac OS X sectorder files for the scheduler and CUPS
libraries.

Add support for CUPSD_LAUNCHD environment variable in scheduler so that
we can do basic profiling to optimize launch times.


------------------------------------------------------------------------
r6563 | mike | 2007-06-18 18:18:46 -0400 (Mon, 18 Jun 2007) | 5 lines

Don't build/install fonts directory on Mac OS X.

Add some build system magic to copy all generated executables into a
"SYMROOT" directory for inspection after installing.

------------------------------------------------------------------------
r6562 | mike | 2007-06-18 17:51:10 -0400 (Mon, 18 Jun 2007) | 2 lines

Build programs 32-bit only on Mac OS X.

------------------------------------------------------------------------
r6561 | mike | 2007-06-18 17:36:16 -0400 (Mon, 18 Jun 2007) | 2 lines

Drop parallel and scsi from Mac packaging list.

------------------------------------------------------------------------
r6560 | mike | 2007-06-18 17:31:26 -0400 (Mon, 18 Jun 2007) | 2 lines

Don't build scsi or parallel backends on Mac OS X.

------------------------------------------------------------------------
r6559 | mike | 2007-06-18 17:09:03 -0400 (Mon, 18 Jun 2007) | 4 lines

Merge Apple changes to pap backend and lpstat command (to show
printer-state-reasons)

More launchd changes.

------------------------------------------------------------------------
r6558 | mike | 2007-06-18 14:11:49 -0400 (Mon, 18 Jun 2007) | 4 lines

Fix ppdConflicts() - wasn't checking that the marked choice was the one we
were interested in...


------------------------------------------------------------------------
r6557 | mike | 2007-06-18 13:41:11 -0400 (Mon, 18 Jun 2007) | 4 lines

Fix PPD files to not use unsupported PostScript operators.

Update version numbers to CUPS 1.3...

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

Comments

Submit Comment