CUPS 1.2svn Weekly Snapshot, r5137

Created at 21:00 Feb 19, 2006 by mike, last modified at 21:00 Feb 19, 2006

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

------------------------------------------------------------------------
r5137 | mike | 2006-02-19 14:44:50 -0500 (Sun, 19 Feb 2006) | 6 lines

Allow printer name to contain spaces in Recieve-Print-Job command,
lookup printer-info from list of available printers.

Lookup LPR printer sharing preference on MacOS X Server.


------------------------------------------------------------------------
r5136 | mike | 2006-02-19 13:46:46 -0500 (Sun, 19 Feb 2006) | 2 lines

Add DBUS config file for CUPS.

------------------------------------------------------------------------
r5135 | mike | 2006-02-19 10:25:29 -0500 (Sun, 19 Feb 2006) | 4 lines

Add separate check for dbus_message_iter_init_append function, and only
enable DBUS support if it is present (STR #1418)


------------------------------------------------------------------------
r5134 | mike | 2006-02-19 10:16:08 -0500 (Sun, 19 Feb 2006) | 6 lines

Add static library check to cups-config script, warning if static
libraries
are not installed.

Move the ACL support library stuff to CUPSDLIBS - not needed for normal
apps.

------------------------------------------------------------------------
r5133 | mike | 2006-02-19 10:01:12 -0500 (Sun, 19 Feb 2006) | 3 lines

Set # copies to 1 when printing PICT files on OSX, otherwise you'll get
N*N copies when printing to a non-OSX server.

------------------------------------------------------------------------
r5132 | mike | 2006-02-19 09:57:11 -0500 (Sun, 19 Feb 2006) | 2 lines

Stop print queue if a filter for the printer is missing.

------------------------------------------------------------------------
r5131 | mike | 2006-02-18 00:31:36 -0500 (Sat, 18 Feb 2006) | 18 lines

Properly support multi-file remote jobs and cancelling of remote jobs.

backend/ipp.c:
    - main(): Check for cancelled job and cancel as needed,
      support multiple files on command-line, using Create-Job +
      Send-Document as needed.
    - cancel_job(): Added.
    - sigterm_handler(): Set "job_cancelled" flag the first time,
      then abort the second time.

scheduler/ipp.c:
    - send_document(): Load job in case it was unloaded.

scheduler/job.c:
    - cupsdStartJob(): Allocate argv array, print all files at once if
      this is a remote job, support URI values.
    - ipp_length(): Support URI values.

------------------------------------------------------------------------
r5130 | mike | 2006-02-17 15:25:33 -0500 (Fri, 17 Feb 2006) | 8 lines

Label printer PPDs should reference rastertolabel, not (deprecated)
rastertodymo filter name.

Ignore PPD files and directories starting with ".".

Fix cupsdSaveJob(): Didn't reset IPP state prior to writing.


------------------------------------------------------------------------
r5129 | mike | 2006-02-17 14:07:08 -0500 (Fri, 17 Feb 2006) | 4 lines

Fix UUID generation to use ServerName in addition to connected server
name (otherwise all local requests will look like they are coming from
localhost and we'll have collisions...)

------------------------------------------------------------------------
r5128 | mike | 2006-02-17 13:59:03 -0500 (Fri, 17 Feb 2006) | 14 lines

Add job-uuid (globally unique job ID, STR #1410)

cups/encode.c:
    - Add job-uuid with type URI.

scheduler/ipp.c:
    - add_job_uuid(): Added, using RFC 4122 UUID named-based algorithm.
    - create_job(): Call add_job_uuid().
    - print_job(): Call add_job_uuid().

scheduler/job.c:
    - cupsdStartJob(): Pass job-uuid to filters and backends.


------------------------------------------------------------------------
r5127 | mike | 2006-02-17 13:08:33 -0500 (Fri, 17 Feb 2006) | 2 lines

Add Japanese index.html to spec file.

------------------------------------------------------------------------
r5126 | mike | 2006-02-17 11:11:30 -0500 (Fri, 17 Feb 2006) | 4 lines

Add "|| true" to chgrp commands when installing a list of config files.
This avoids "make install" errors when installing as a user that is not
in the group. 

------------------------------------------------------------------------
r5125 | mike | 2006-02-17 11:06:28 -0500 (Fri, 17 Feb 2006) | 2 lines

Add missing files.

------------------------------------------------------------------------
r5124 | mike | 2006-02-17 11:05:21 -0500 (Fri, 17 Feb 2006) | 6 lines

Update Japanese translations (thanks Kenshi Muto!)

Update CREDITS.txt to reflect more recent contributors...

Add Japanese web interface home page.

------------------------------------------------------------------------
r5123 | mike | 2006-02-17 10:47:15 -0500 (Fri, 17 Feb 2006) | 11 lines

Revert change in r5044:

cups/dir.c
    - cupsDirRead(): Use lstat() instead of stat(), since we care
      about the permissions of the destination file, not the link
      itself.

This logic is wrong; lstat() returns the link info instead of the
destination info, so we want to use stat()...


------------------------------------------------------------------------
r5122 | mike | 2006-02-17 10:41:40 -0500 (Fri, 17 Feb 2006) | 2 lines

Fix double free of policy location data (STR #1428)

------------------------------------------------------------------------
r5121 | mike | 2006-02-17 10:40:06 -0500 (Fri, 17 Feb 2006) | 6 lines

Revamp LPD support code to group multi-file LPD jobs into a single IPP
job.

Only allow printing to shared printers that are accepting jobs.

Use new ippNewRequest() API and share a HTTP connection for job creation.

------------------------------------------------------------------------
r5120 | mike | 2006-02-16 11:04:38 -0500 (Thu, 16 Feb 2006) | 2 lines

Possible fix for last of Till's crash bugs.

------------------------------------------------------------------------
r5119 | mike | 2006-02-16 10:52:06 -0500 (Thu, 16 Feb 2006) | 50 lines

Update array API to specifically support non-unique elements.  This
allows us to implement a "preserved order" sorting behavior which is
important for some applications (like for attributes in PPD files).

Incorporate various PPD API changes from Apple, and add a separate
sorted array for attributes.

cups/array.c:
    - _cups_array_s: Add "unique" member to track whether the
      array only contains unique elements; this allows for some
      basic lookup optimizations so that non-unique element
      support does not impact performance with arrays containonly
      only unique elements.
    - cups_find(): Renamed to cups_array_find().
    - cups_array_add(): Added with "insert" argument so that
      cupsArrayAdd() and cupsArrayInsert() can share code for
      inserting and appending.
    - cupsArrayAdd(), cupsArrayInsert(): Use cups_array_add()
      private API to do the heavy lifting.
    - cupsArrayClear(): Set unique to 1.
    - cupsArrayDup(): Copy unique value.
    - cupsArrayFind(): If the array is not unique, look backwards
      in the array to find the first occurrence of an element.
    - cupsArrayNew(): Set unique to 1.
    - cupsArrayRemove(): Set unique to 1 if we have 1 or fewer
      elements.

cups/attr.c:
    - ppdFindAttr(), ppdFindNextAttr(): Use sorted_attrs array
      and cupsArray functions.

cups/mark.c:
    - ppdFirstOption(), ppdNextOptions(): Added.

cups/ppd.c:
    - _ppd_attr_compare(): Removed.
    - ppd_compare_attrs(): Added.
    - ppdOpen2(): Only treat PageSize and PageRegion as UI
      keywords, don't create "Extra" group anymore, don't sort
      the attrs array, use the separate sorted_attrs array.
    - ppd_add_attr(): Create and add to the sorted_attrs array.
    - ppd_read(): Stop when we see the beginning of Tioga driver
      data.

cups/ppd.h:
    - ppd_file_t: Mark attr and array members private, add
      sorted_attrs member.
    - ppdFirstOption(), ppdNextOption(): Added.


------------------------------------------------------------------------
r5118 | mike | 2006-02-16 09:29:53 -0500 (Thu, 16 Feb 2006) | 5 lines

The init script now unsets the TMPDIR environment variable to
prevent user temporary directories from being used by cupsd
accidentally (STR #1424)


------------------------------------------------------------------------
r5117 | mike | 2006-02-16 09:10:43 -0500 (Thu, 16 Feb 2006) | 3 lines

Don't re-add remote printer if it already has been added due to membership
in a class.

------------------------------------------------------------------------
r5116 | mike | 2006-02-16 07:52:32 -0500 (Thu, 16 Feb 2006) | 2 lines

Fix packaging and install targets to use the right permissions.

------------------------------------------------------------------------
r5115 | mike | 2006-02-16 07:31:11 -0500 (Thu, 16 Feb 2006) | 2 lines

Fix man page packaging via EPM.

------------------------------------------------------------------------
r5114 | mike | 2006-02-16 07:28:29 -0500 (Thu, 16 Feb 2006) | 10 lines

Fix packaging and installation of new Japanese support files.

Fix installation of localization files.

Use CUPS_SYSTEM_GROUPS instead of CUPS_GROUP in sample cupsd.conf file
and in the edit template.

Remove "lp" group from list of possible system groups.


------------------------------------------------------------------------
r5113 | mike | 2006-02-16 07:02:44 -0500 (Thu, 16 Feb 2006) | 2 lines

Remove extra argument to fprintf debug statement.

------------------------------------------------------------------------
r5112 | mike | 2006-02-15 23:41:59 -0500 (Wed, 15 Feb 2006) | 6 lines

Use LD instead of hardcoded ld when building HP-UX shared libraries.

(note, this does not fix STR #1425, which is caused by yet another
bug in libtool, which we DO NOT SUPPORT)


------------------------------------------------------------------------
r5111 | mike | 2006-02-15 21:08:09 -0500 (Wed, 15 Feb 2006) | 11 lines

Add a bunch of debug support for the template stuff to track down the
bug in ja/jobs.tmpl.

Add template test program.

Fix ja/jobs.tmpl bug (extra brackets)

Update CUPS message catalog with all of the remaining localization
messages.


------------------------------------------------------------------------
r5110 | mike | 2006-02-15 16:42:46 -0500 (Wed, 15 Feb 2006) | 5 lines

Add Japanese web interface files.

Fix the language detection code to work properly in the presence of the
charset in the locale name.

------------------------------------------------------------------------
r5109 | mike | 2006-02-15 15:11:10 -0500 (Wed, 15 Feb 2006) | 2 lines

Fix parsing of .po files with multi-line msgid strings (STR #1400)

------------------------------------------------------------------------
r5108 | mike | 2006-02-15 14:33:09 -0500 (Wed, 15 Feb 2006) | 6 lines

Fix all references to job->state and job->state_value.

Make sure that we initialize job->state_value, otherwise jobs have an
invalid state value of 0...


------------------------------------------------------------------------
r5107 | mike | 2006-02-15 14:14:17 -0500 (Wed, 15 Feb 2006) | 2 lines

Add debugging and use cupsGetPPD2() since we already have a HTTP
connection.

------------------------------------------------------------------------
r5106 | mike | 2006-02-15 13:55:06 -0500 (Wed, 15 Feb 2006) | 5 lines

Fix bug that showed up when running cupstestppd (STR #1420).

cups/mark.c:
    - ppdMarkOptions(): Use "j" to index into arrays instead of "i"...

------------------------------------------------------------------------
r5105 | mike | 2006-02-15 09:14:39 -0500 (Wed, 15 Feb 2006) | 3 lines

Remove invalid "Enabled" key from launchd plist file, the proper name is
"Disabled" and the default value is false, so we don't need it at all.

------------------------------------------------------------------------
r5104 | mike | 2006-02-14 22:21:04 -0500 (Tue, 14 Feb 2006) | 35 lines

Update dependencies, fix some web UI bugs, and fix cupsenable/disable
bug.

systemv/accept.c:
    - main(): Fix cupsenable/cupsdisable name checking.

cgi-bin/jobs.c:
    - do_job_op(): Need to snprintf() the URI before adding it...

cgi-bin/printers.c:
    - Add debugging stuff.

scheduler/ipp.c:
    - authenticate_job(): Send HTTP unauthorized error instead of
      IPP forbidden.
    - cancel_job(): Send HTTP unauthorized error instead of IPP
      forbidden.
    - hold_job(): Send HTTP unauthorized error instead of IPP
      forbidden.
    - move_job(): Send HTTP unauthorized error instead of IPP
      forbidden.
    - release_job(): Send HTTP unauthorized error instead of IPP
      forbidden.
    - restart_job(): Send HTTP unauthorized error instead of IPP
      forbidden.
    - send_document(): Send HTTP unauthorized error instead of
      IPP forbidden.
    - set_job_attrs(): Send HTTP unauthorized error instead of
      IPP forbidden.

scheduler/job.c:
    - cupsdCheckJobs(): Add debug stuff.

Fix printe

------------------------------------------------------------------------
r5103 | mike | 2006-02-14 14:27:42 -0500 (Tue, 14 Feb 2006) | 5 lines

Fix undetected disconnect in cupsGetFd() and related HTTP functions.

Fix check_permissions function to validate all of the permission bits
for directories.

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

Comments

Submit Comment