Code sync
[external/cups.git] / CHANGES-1.0.txt
1 CHANGES-1.0.txt
2 ---------------
3
4 CHANGES IN CUPS v1.0.5
5
6         - The HP-GL/2 filter did not correctly set the pen color
7           for pens other than #1.
8         - The scheduler would only accept 26 simultaneous jobs
9           under some OS releases (mkstemp() limitation.)  It now
10           handles up to 2^32 simultaneous jobs.
11         - The PostScript filter loaded the printer's PPD file
12           twice.
13         - The PAM authentication code now uses pam_strerror() to
14           provide a textual error message in the error_log file.
15         - The scheduler now copies PPD and interface script
16           files instead of moving them; this fixes installations
17           with a separate requests directory.
18         - The PostScript RIP did not generate correct 6-color
19           output.
20         - Several filters were marking PPD options twice when
21           they didn't need to.
22         - The scheduler did not save the printer or class state
23           after an accept-jobs or reject-jobs operation.
24         - The cupsGetDefault() function now ignores the PRINTER
25           environment variable if it is set to "lp".
26         - New ippErrorString() function to get textual error
27           messages.
28         - Better error reporting in the System V commands.
29         - The lpadmin and lpstat commands always tried to
30           connect to the default server.
31         - The text filter didn't load the charset files from the
32           correct location.
33         - Wasn't sending a WWW-Authenticate: field to HTTP
34           clients when authentication was required.
35         - httpSeparate() didn't always set the default port
36           number for known methods.
37         - The HP-GL/2 filter now looks for "PSwidth,length"
38           instead of (the correct) "PSlength,width" as
39           documented by HP.  It appears that many major CAD
40           applications are broken and this change allows the
41           auto-rotation to work with them.
42         - The IPP "printer-resolution" option was not being
43           translated.
44         - The charset files did not include the Microsoft
45           "standard" characters from 128 to 159 (unused by the
46           ISO-8859-x charsets)
47         - The scheduler was chunking the Content-Type field from
48           CGI programs; this problem was most noticeable with
49           Microsoft Internet Explorer 5.
50         - By popular demand, the printers, jobs, and classes
51           CGIs no longer force a reload of the page every 10/30
52           seconds.
53         - The scheduler incorrectly required that the IPP client
54           provide a document-format attribute for the
55           validate-job operation.
56         - Clients that sent bad IPP requests without the
57           required attributes-natural-language and
58           attributes-charset attributes would crash the
59           scheduler.
60
61
62 CHANGES IN CUPS v1.0.4
63
64         - Documentation updates.
65         - Jobs would get stuck in the queue and wouldn't print
66           until you enabled the queue.
67         - The lp and lpr commands now catch SIGHUP and SIGINTR.
68         - The lp and lpr commands now use sigaction or sigset
69           when available.
70         - CUPS library updates for WIN32/OS-2
71
72
73 CHANGES IN CUPS v1.0.3
74
75         - Documentation updates.
76         - The lpq man page was missing.
77         - The configure script was not properly detecting the
78           image libraries.
79         - The top-level makefile was calling "make" instead of
80           "$(MAKE)".
81         - PostScript filter fixes for number-up, OutputOrder,
82           and %Trailer.
83         - The imagetops filter didn't end the base-85 encoding
84           properly if the image data was not a multiple of 4
85           bytes in length.
86         - The imagetoraster filter didn't generate good banded
87           RGB or CMY data (was dividing the line width by 4
88           instead of 3...)
89         - The imagetoraster filter now records the bounding
90           box of the image on the page.
91         - The CUPS image library cache code wasn't working as
92           designed; images larger than the maximum RIP cache
93           would eventually thrash using the same cache tile.
94         - The CUPS image library TIFF loading code didn't
95           handle unknown resolution units properly; the fixed
96           code uses a default resolution of 128 PPI.
97         - cupsGetClasses() and cupsGetPrinters() did not free
98           existing strings if they ran out of memory.
99         - The scheduler logs incorrectly contained 3 digits for
100           the timezone offset instead of 4.
101         - The scheduler now does a lookup for the default user
102           and group ID; the previous hardcoded values caused
103           problems with the LPD backend.
104         - The cancel-job operation now allows any user in the
105           system group to cancel any job.
106         - The cancel-job operation stopped the print queue if
107           the job was being printed.
108         - Now only stop printers if the backend fails. If the
109           filter fails then the failure is noted in the
110           error_log and printing continues with the next file in
111           the queue.
112         - Now log whether a filter fails because of a signal
113           or because it returned a non-zero exit status.
114         - The root user now always passes the system group test.
115         - Printers with an interface script and remote printers
116           and classes didn't have a printer-make-and-model
117           attribute.
118         - Added logging of lost/timed-out remote printers.
119         - The HP-GL/2 filter was scaling the pen width twice.
120         - Updated the HP-GL/2 filter to use a single SP (Set
121           Pen) procedure.  This makes the output smaller and is
122           more appropriate since the filter keeps track of the
123           pen states already.
124         - The scheduler didn't handle passwords with spaces.
125         - The IPP backend now does multiple copies and retries
126           if the destination server requires it (e.g. HP
127           JetDirect.)
128         - The disable command didn't implement the "-c" option
129           (cancel all jobs.)
130         - Changed the CMYK generation function for the image file
131           and PostScript RIPs.
132         - The lp command didn't support the "-h" option as
133           documented.
134         - The AppSocket, IPP, and LPD backends now retry on all
135           network errors.  This should prevent stopped queues
136           caused by a printer being disconnected from the
137           network or powered off.
138         - The scheduler now restarts a job if the corresponding
139           printer is modified.
140         - The image RIPs now rotate the image if needed to fit
141           on the page.
142
143
144 CHANGES IN CUPS v1.0.2
145
146         - The HP-GL/2 filter didn't always scale the output
147           correctly.
148         - The HP-GL/2 filter now supports changing the page size
149           automatically when the "fitplot" option is not used.
150         - The cancel-job operation was expecting a resource name
151           of the form "/job/#" instead of "/jobs/#"; this
152           prevented the cancel and lprm commands from working.
153         - The backends didn't log pages when files were printed
154           using the "-oraw" option.
155         - The authorization code did not work with the Slackware
156           long shadow password package because its crypt() can
157           return NULL.
158         - The chunking code didn't work for reading the response
159           of a POST request.
160         - cupsGetPPD() now does authentication as needed.
161         - The N-up code in the PostScript filter didn't work
162           with some printers (grestoreall would restore the
163           default blank page and device settings).
164         - The N-up code in the PostScript filter didn't scale
165           the pages to fit within the imageable area of the
166           page.
167         - Wasn't doing an fchown() on the request files.  This
168           caused problems when the default root account group
169           and CUPS group were not the same.
170
171
172 CHANGES IN CUPS v1.0.1
173
174         - Documentation updates.
175         - Fixed a bunch of possible buffer-overflow conditions.
176         - The scheduler now supports authentication using PAM.
177         - Updated the Italian message file.
178         - httpEncode64() didn't add an extra "=" if there was
179           only one byte in the last three-byte group.
180         - Now drop any trailing character set from the locale
181           string (e.g. "en_US.ISO_8859-1" becomes "en_US")
182         - Fixed "timezone" vs "tm_gmtoff" usage for BSD-based
183           operating systems.
184         - Updated IPP security so that "get" operations can be
185           done from any resource name; this allows the CGIs to
186           work with printer authentication enabled so long as
187           authentication isn't turned on for the whole "site".
188         - The IPP code didn't properly handle the "unsupported"
189           group; this caused problems with the HP JetDirect since
190           it doesn't seem to support the "copies" attribute.
191         - The HTTP chunking code was missing a CR LF pair at the
192           end of a 0-length chunk.
193         - The httpSeparate() function didn't handle embedded
194           usernames and passwords in the URI properly.
195         - Doing "lpadmin -p printer -E" didn't restart printing
196           if there were pending jobs.
197         - The cancel-job operation now requires either a
198           requesting-user-name attribute or an authenticated
199           username.
200         - The add-printer code did not report errors if the
201           interface script or PPD file could not be renamed.
202         - Request files are now created without world read
203           permissions.
204         - Added a cupsLastError() function to the CUPS API to
205           retrieve the IPP error code from the last request.
206         - Options are now case-insensitive.
207         - The lpq command now provides 10 characters for the
208           username instead of the original (Berkeley standard)
209           7.
210         - The cancel command needed a local CUPS server to work
211           (or the appropriate ServerName in cupsd.conf)
212         - The cancel and lprm commands didn't report the IPP
213           error if the job could not be cancelled.
214         - The lp and lpr commands didn't intercept SIGTERM to
215           remove temporary files when printing from stdin.
216         - The lp and lpr commands didn't report the IPP error if
217           the job could not be printed.