]>
Commit | Line | Data |
---|---|---|
d2503e02 | 1 | CHANGES-1.1.txt |
2 | --------------- | |
3 | ||
74cfdb8b | 4 | CHANGES IN CUPS V1.1.15 |
5 | ||
dab1a4d8 | 6 | - Updated the CUPS license agreement for the new MacOS |
7 | license exception. | |
a4e23897 | 8 | - Updated the IPP backend to reconnect after downgrading |
9 | from IPP/1.1 to 1.0, and when sending requests to HP | |
10 | JetDirect interfaces that don't support HTTP | |
11 | Keep-Alive like they should. | |
1cf29e95 | 12 | - Now pass NLSPATH and DYLD_LIBRARY_PATH environment |
13 | variables, if defined, to CGI and job processes. | |
14 | - Removed the pstoraster filter (based on GNU | |
15 | Ghostscript 5.50) and now provide the raster "driver" | |
16 | and patch file necessary to use the current GNU | |
17 | Ghostscript 7.05 release. | |
18 | - Removed unnecessary fonts and updated the Courier and | |
19 | Symbol fonts to the latest versions to better support | |
20 | non-ISOLatin1 text. | |
21 | - The text filter now always embeds the Courier and | |
22 | Symbol fonts to ensure that they contain the full set | |
23 | of glyphs. | |
576b82ca | 24 | - The lp and lpr commands now only override the SIGINT |
25 | handler if it is not being ignored (patch from Robert | |
26 | Ambrose for some interactive software that catches | |
27 | SIGINT and will gracefully cancel the print...) | |
350807be | 28 | - The PostScript image filter (imagetops) now supports |
29 | printing CMYK images using the CMYK colorspace. | |
30 | - The image filters now support CMYK JPEG files, and | |
31 | correctly handles the inverted files from Photoshop | |
32 | (which seems to save RGBW data, not CMYK...) | |
e3bf38b3 | 33 | - Added a "check" target to the top-level makefile to |
34 | conform with GNU standards (same as "test"). | |
746265a5 | 35 | - The IPP code didn't always map the POSIX locale "C" to |
36 | the proper IPP language code. | |
32f78676 | 37 | - The cupsaddsmb program was updated to use the |
38 | setdriver command instead of addprinter. | |
934ef66d | 39 | - Banner pages were not handled properly for implicit |
40 | classes. | |
7200e26c | 41 | - When tunneling to a remote system using SSH, the |
42 | printer URIs for local printers on the remote system | |
43 | did not reflect the correct port number. | |
d7a9de63 | 44 | - The Allow, Deny, BrowseAllow, BrowseDeny, and |
45 | BrowseAddress directives now support the network | |
46 | interface names "@LOCAL" and "@IF(name)" for access | |
47 | control and browsing based on the current interface | |
48 | addresses instead of fixed names or IP addresses. | |
2a55786c | 49 | - The texttops filter did not properly recognize the |
50 | "nowrap" (wrap=false) option. | |
83575f2d | 51 | - The InstallableOptions group name in a PPD file is now |
52 | translated separately (CUPS_MSG_OPTIONS_INSTALLED) so | |
53 | that UIs can accurately detect the presence of this | |
54 | group. | |
f4647930 | 55 | - The scheduler no longer keeps job history data for |
56 | remote printers on the client (just on the server.) | |
4c2096b8 | 57 | - The parallel and USB backends now retry if the backend |
58 | detects that the printer is not connected to the | |
59 | system (rather than stopping the queue...) | |
60 | - The network backends now retry if the backend detects | |
61 | that the printer is not connected to the network or is | |
62 | unreachable (rather than stopping the queue...) | |
c672a858 | 63 | - The cupsGetDests() function no longer lists options |
64 | and instances for printers that no longer exist. | |
31e65f97 | 65 | - The scheduler now converts the document language to |
66 | the correct LANG string. | |
8c47c4b4 | 67 | - The cupsaddsmb program now supports alternative CUPS |
68 | and SAMBA server names. | |
40a0e1d1 | 69 | - The PostScript filter now supports the Orientation |
70 | comment and rotates the page as needed automatically. | |
f915b00f | 71 | - Revamped the makefiles slightly to use automatically |
72 | generated dependencies. | |
73 | - Build fixes for OS X. | |
a1028786 | 74 | - The TIFF reading code depended on the newest version |
75 | of libtiff; now conditionally compile that portion of | |
76 | the loader. | |
bbc1bfe5 | 77 | - The PPD code now decodes all JCL options in the |
78 | JCLSetup group, not just those options that start with | |
79 | the prefix "JCL". | |
267cf96a | 80 | - The backends now read print data using the read() |
81 | system call to ensure that the current page is printed | |
82 | while the next page is being processed. | |
2f7be6ff | 83 | - The pdftops filter did not support shading type 3 |
84 | (radial fill) for the "sh" operator. | |
dab1a4d8 | 85 | - The cups-polld program now throttles the local |
86 | broadcasts of polled printers and classes so that the | |
87 | local system is not overwhelmed with hundreds of | |
88 | printers and classes all at once. | |
89 | - Updated the serial backend to support 230,400 baud for | |
90 | the Linux PPC port. | |
59168282 | 91 | - The cupsGetJobs() function wouldn't report completed |
92 | jobs that did not have a document-format attribute | |
93 | value. | |
1c9c423b | 94 | - The cupsEncodeOptions() function now maintains a table |
95 | of known boolean and numeric options, and encodes all | |
96 | other options as strings. | |
f918a565 | 97 | - Now add a newline before the end-of-page code in the |
98 | PostScript filter; this fixes a problem with files | |
99 | that don't end with a newline. | |
a28d12c5 | 100 | - The image filters looked for the "orientation" option |
101 | instead of the correctly named "orientation-requested" | |
102 | option. | |
74cfdb8b | 103 | - The cupsEncodeOptions() function now handles mixed |
104 | integers and ranges. | |
105 | - New translation guide for developers to provide native | |
106 | language support for CUPS. | |
107 | ||
108 | ||
ee8b7dd3 | 109 | CHANGES IN CUPS V1.1.14 |
110 | ||
843779ef | 111 | - The ippRead() function did not verify that the |
ba31b514 | 112 | attribute name length or string with language value |
113 | was not larger than the read buffer. | |
e2943c5f | 114 | - The scheduler set the signal handlers before loading |
115 | the configuration files the first time; this prevented | |
116 | the RunAsUser directive from blocking server reloads. | |
5fd84fcc | 117 | - Added Swedish message catalog. |
0e1f4bec | 118 | - The parallel backend now recognizes the /dev/printers |
119 | device directory under Linux 2.4.x. | |
ba31b514 | 120 | - MacOS X fixes. |
121 | - The cupsaddsmb utility sent the server name after the | |
122 | user information when executing the rpcclient program. | |
123 | This caused problems with some versions of SAMBA | |
124 | 2.2.x. | |
ee8b7dd3 | 125 | - The IPP backend did not pass the requesting user name |
126 | when checking on the print job status. This prevented | |
127 | it from waiting for the job to complete when | |
128 | communicating with some IPP implementations that | |
129 | require it. | |
130 | ||
131 | ||
d2503e02 | 132 | CHANGES IN CUPS V1.1.13 |
133 | ||
28a96fe2 | 134 | - The lpstat command did not report jobs submitted to |
135 | regular printer classes. | |
0f74081c | 136 | - The texttops filter didn't use sufficient precision |
137 | when positioning text with some values of cpi and lpi. | |
138 | This could cause the alignment of text to stray. | |
0ffae44c | 139 | - cupsGetDests() didn't merge the options from the |
140 | /etc/cups/lpoptions file with ~/.lpoptions - options | |
141 | in ~/.lpoptions overrode them completely. | |
142 | - Added support for KOI8-R and KOI8-U character sets, | |
143 | and added several Russian message catalogs. | |
bd726d0d | 144 | - The scheduler put the wrong timezone offset in the log |
145 | files (e.g. +0500 instead of -0500 for EST...) | |
146 | - The scheduler did not ignore trailing whitespace in | |
147 | *.convs files. | |
db911fcb | 148 | - The scheduler now forces all processes to exit (kill |
149 | -9) when it is stopped. This prevents parallel and | |
150 | USB devices from running in the background after cupsd | |
151 | goes away. | |
7c587866 | 152 | - The cupsParseOptions() function didn't skip trailing |
153 | whitespace after quoted values. | |
c3026ddc | 154 | - More changes to support CUPS on OS/2. |
24e80caf | 155 | - Added Simplified Chinese message catalog. |
9495ba14 | 156 | - Added PAM support for IRIX. |
c6e1ca5d | 157 | - The cupsGetPPD() function didn't remove the @server |
158 | portion of the printer name, and since it would | |
159 | connect immediately to the remote server instead of | |
160 | the local server, the printer would not be found. | |
8b8cca8e | 161 | - Classification and page labels were not rotated to |
162 | match the page orientation. | |
9ae34eb7 | 163 | - Now set the TCP "no delay" option on network |
164 | connections to improve performance/response time. | |
165 | - Improved the IRIX printing tools support with patches | |
166 | from Andrea Suatoni. | |
167 | - Added a new PrintcapGUI directive to specify the GUI | |
168 | option panel program to use for the IRIX printing | |
169 | tools support. | |
170 | - The cupsGetDests() function did not check to see if a | |
171 | user-defined default printer (set via lpoptions) still | |
172 | existed. | |
173 | - The pstops filter no longer assumes that the default | |
174 | dictionary is writable when doing N-up processing. | |
bbfcd9c7 | 175 | - The pstops filter now supports printing N-up with the |
176 | page-set option. | |
873a6f43 | 177 | - The imagetoraster filter now supports direct printing |
178 | of CMYK image data without conversion/correction. | |
d1c2727f | 179 | - The IPP backend now reports printer state/error |
180 | conditions when possible (toner low, media empty, | |
181 | etc.) | |
bd73c81f | 182 | - The lpstat command now supports the (undocumented) |
183 | IRIX -l option ("-lprintername") for a compact job | |
184 | listing for a printer. | |
185 | - The lpstat command now includes printer date/time | |
186 | information in the output (always Jan 01 00:00) to | |
187 | make third-party tools happy. | |
18843e59 | 188 | - The text filter now supports non-integer cpi and lpi |
189 | values. | |
dd5f3453 | 190 | - The Margins field in the CUPS raster header was not |
191 | initialized by the pstoraster filter. | |
9aa1f763 | 192 | - Added --with-optim="flags" option to configure script. |
193 | - Updated the Italian message translations. | |
194 | - Updated the cups.list file to install the correct | |
195 | files. | |
196 | - The pstoraster filter accessed the third element of a | |
197 | 2 element array. | |
5f46b7d1 | 198 | - The scheduler did not setup a status pipe for polling |
199 | processes, so error messages went to whatever file | |
200 | descriptor 2 was pointing to when they were started. | |
5fb5dab7 | 201 | - The httpMD5Final() function didn't put a colon between |
202 | the password and nonce strings. | |
c5de57af | 203 | - The pstops filter did not default to Binary data for |
204 | "%%BeginData:". | |
4a7e6692 | 205 | - The pstops filter did not stop processing when a line |
206 | containing a CTRL-D is seen. | |
aba2fa7e | 207 | - The scheduler no longer replaces the JobSheets values |
208 | from the printers.conf and classes.conf files with the | |
209 | classification level, if set. This way the original | |
210 | banner settings are preserved when classification | |
211 | levels are changed or turned off. | |
8d5eb22e | 212 | - The serial backend didn't drain the output queue, nor |
213 | did it restore the original settings. | |
d2503e02 | 214 | - Updated the default system group under MacOS X. |
215 | - If no SystemGroup was defined in cupsd.conf, the | |
216 | system default group was not used. | |
217 | - The cups-lpd mini-daemon now supports LPD clients that | |
218 | send multiple control files. | |
219 | - httpConnectEncrypt() now always uses encryption for | |
220 | connections on port 443, since port 443 is reserved | |
221 | for the "https" scheme. | |
222 | - Group authentication via certificates did not work | |
223 | from the web interface for accounts other than | |
224 | "root". | |
225 | - The serial port backend did not clear the OPOST | |
226 | option, which could cause problems with some printers. | |
227 | - The cups-lpd mini-daemon didn't lookup the client IP | |
228 | address properly. | |
229 | - The parallel backend now identifies the polled and | |
230 | interrupt-driven devices under *BSD. | |
231 | - The scheduler allowed the "always" encryption mode | |
232 | inside a Location, which is not valid. | |
233 | - The CUPS startup script now checks for the timezone | |
234 | information under Linux. | |
235 | - Now also map the sides attribute to the JCLDuplex | |
236 | option (if present) in PPD files. | |
237 | - Updated pdftops to Xpdf 0.93a. | |
238 | - Added support for MD5 passwords under Slackware. | |
239 | - Added new AuthType BasicDigest that does Basic | |
240 | authentication using the MD5 password file managed by | |
241 | the lppasswd command. | |
242 | - The banner page attribute substitution code now | |
243 | retains {name} sequences in banner files when the | |
244 | named attribute is undefined. Use {?name} to | |
245 | conditionally substitute an IPP attribute. | |
246 | - The scheduler now ensures that the ServerRoot | |
247 | directory and configuration files are owned by and | |
248 | writable by the User and Group in cupsd.conf. | |
249 | - The USB backend now lists all USB printer devices | |
250 | regardless of whether a printer is connected or not. | |
251 | This allows new USB printers to be connected without | |
252 | restarting cupsd. | |
253 | - Added some more minor performance tweeks to the IPP | |
254 | protocol code to reduce copying and array indexing. | |
255 | - The cupsaddsmb utility now uses the -c option with | |
256 | smbclient and rpcclient to avoid the read length limit | |
257 | for commands on the standard input. | |
258 | - Added an include file to the CRD handling code in | |
259 | pstoraster so that it would compile properly on 64-bit | |
260 | pointer platforms... | |
261 | ||
262 | ||
263 | CHANGES IN CUPS V1.1.12 | |
264 | ||
265 | - Added "Polish" to the list of known languages for PPD | |
266 | files. | |
267 | - Added missing directory definition to cups-config. | |
268 | - The CUPS-Move-Job operation did not set the | |
269 | destination type for the new destination. | |
270 | - The CUPS-Add-Printer operation did not support the | |
271 | allow=all or deny=none values to clear the per-user | |
272 | printer ACLs. | |
273 | - The SetPrinterAttrs() function did not handle invalid | |
274 | PPD files that were missing the required NickName | |
275 | attribute. It now looks for NickName, ModelName, and | |
276 | then substitutes the string "Bad PPD File" for the | |
277 | printer-make-and-model attribute. | |
278 | ||
279 | ||
280 | CHANGES IN CUPS V1.1.11 | |
281 | ||
282 | - Added support for embedded TrueType fonts in PDF | |
283 | files. | |
284 | - Added support for PostScript functions in PDF | |
285 | files. | |
286 | - Added new "cupsaddsmb" utility for exporting | |
287 | CUPS printer drivers to SAMBA/Windows clients. | |
288 | - Added preliminary support for Darwin/MacOS X. | |
289 | - The CUPS-Add-Printer operation no longer allows | |
290 | arbitrary scheme names in device URIs to be used - it | |
291 | now restricts the available schemes to those found in | |
292 | the device list (lpinfo -m). | |
293 | - The ippRead() and ipp_read_file() functions could not | |
294 | handle more than IPP_MAX_VALUES (100) values in a | |
295 | 1setOf attribute. These functions have been updated | |
296 | to dynamically allocate more memory as needed, and the | |
297 | IPP_MAX_VALUES constant now represents the allocation | |
298 | increment. [this caused some versions of the | |
299 | GIMP-print drivers to fail since the number of media | |
300 | options exceeded 100...] | |
301 | - The scheduler could crash when BrowseShortNames | |
302 | was set to "No". | |
303 | - The scheduler did not prevent MaxClients from being | |
304 | set to 0, which could cause the scheduler to go in an | |
305 | infinite loop when accepting a request. | |
306 | - Made some performance optimizations in the ippRead() | |
307 | functions to make IPP request/response processing | |
308 | faster. | |
309 | - The accept/reject/enable/disable command did not | |
310 | support properly support the "-h" or default | |
311 | server name. | |
312 | - The scheduler did not save the quota configuration | |
313 | when the job-quota-period attribute was set to 0. | |
314 | - The LPDEST and PRINTER environment variables did not | |
315 | support printer instances. | |
316 | - The text filter now handles more types of boldface and | |
317 | underline formatting. | |
318 | - The cupsTempFd() function did not fail if the | |
319 | temporary directory did not exist; this would cause it | |
320 | to loop indefinitely instead of returning an error | |
321 | (-1). | |
322 | - Stopping (disabling) a printer class did not stop jobs | |
323 | from printing to printers in that class. | |
324 | - The cupsGetDests() function was sending the | |
325 | requested-attributes attribute as a name instead of a | |
326 | keyword; this caused a serious performance problem on | |
327 | slower systems since more information had to be | |
328 | transferred from server to client. | |
329 | - The web interfaces did not always quote < and & in | |
330 | things like the job title. This had the potential for | |
331 | browser-based security violations (on the browser's | |
332 | machine); bug report from SuSE. | |
333 | - The scheduler now treats unauthenticated usernames as | |
334 | case-insensitive when doing quota and allow/deny | |
335 | processing. | |
336 | - The lp command sent the "request ID is ..." message | |
337 | to stderr instead of stdout... | |
338 | - The PostScript filter (pstops) now handles EPS files, | |
339 | adding a showpage command to the files as needed. | |
340 | - The configure script checked for the <stdlib.h> header | |
341 | file before the JPEG libraries; since the JPEG headers | |
342 | can define HAVE_STDLIB_H, the configure check would | |
343 | cause the JPEG check to fail on some systems. | |
344 | - The scheduler now supports localized banner files, | |
345 | using the subdirectory approach, e.g. the "es" | |
346 | subdirectory under /usr/share/cups/banners is used for | |
347 | the Spanish banner files. | |
348 | - Updated the scheduler so it knows the correct | |
349 | language abbreviation to use for all supported | |
350 | PPD LanguageVersion values. The new code also | |
351 | supports country codes as well, so "English-GB" | |
352 | maps to the "en_GB" locale. | |
353 | - The cups-lpd mini-daemon did not support | |
354 | anonymous printing (no username specified). | |
355 | While the username is REQUIRED by RFC-1179, | |
356 | MacOS clients do not send the REQUIRED username | |
357 | information when printing via LPD. | |
358 | - Added many warning and informational messages | |
359 | to cups-lpd where they were missing. | |
360 | - Added Czech message file contributed by SuSE. | |
361 | - The cups-lpd mini-daemon now returns a non-zero | |
362 | status if an invalid destination or job ID is | |
363 | provided. | |
364 | - The scheduler did not honor the KeepAlive setting in | |
365 | cupsd.conf. | |
366 | - Increased the size of the file read/write buffers to | |
367 | 32k. | |
368 | - *BSD static library creation fixes. | |
369 | - Use mkstemps() instead of tmpnam() in pdftops whenever | |
370 | possible. | |
371 | - Added httpGetHostByName() function as a wrapper around | |
372 | gethostbyname() - some implementations of this | |
373 | function do not support IP addresses (e.g. MacOS X.) | |
374 | - Added casts to all printf's of file lengths, since | |
375 | there is currently no standard way of formatting long | |
376 | long values. | |
377 | - The client filename field was not cleared in all | |
378 | instances, resulting in old form data being submitted | |
379 | to CGIs. | |
380 | - The httpConnect*() functions now try all available | |
381 | addresses for a host when connecting for the first | |
382 | time. | |
383 | - The pstoraster filter would "lose" all drawing | |
384 | commands when the PageSize was set but the printer | |
385 | bitmap was not reallocated. This was most noticeable | |
386 | with the output from StarOffice 6 beta and would | |
387 | result in a blank page being output... | |
388 | - The IPP backend was sending a PAGE comment even when | |
389 | printing the output from a filter (it should only send | |
390 | page comments when printing files directly...) | |
391 | - The pdftops filter didn't properly map glyph names of | |
392 | embedded Asian TrueType fonts. | |
393 | - Changed the CUPS startup script to look for a program | |
394 | named "cupsd", not just any program with "cupsd" in | |
395 | the name (this caused the apcupsd UPS monitoring | |
396 | daemon to be stopped/restarted...) | |
397 | - The CUPS-Move-Job operation did not change the | |
398 | internal destination name for held jobs, so moved (but | |
399 | held) jobs would still show up as queued on the | |
400 | original destination. | |
401 | - The cups-polld program didn't send the | |
402 | requested-attributes attribute in the | |
403 | CUPS-Get-Printers and CUPS-Get-Classes requests, which | |
404 | made it use more CPU and bandwidth than required. | |
405 | - The scheduler and CUPS API incorrectly added a | |
406 | job-sheets-default attribute for remote printers. This | |
407 | caused banner pages to be omitted from client system | |
408 | prints. | |
409 | ||
410 | ||
411 | CHANGES IN CUPS V1.1.10-1 | |
412 | ||
413 | - Minor fixes to the filter, systemv, and template | |
414 | makefiles to install files properly. | |
415 | ||
416 | ||
417 | CHANGES IN CUPS V1.1.10 | |
418 | ||
419 | - Added a driver for DYMO label printers. | |
420 | - Added new ClassifyOverride directive to allow users | |
421 | to override the classification of individual jobs. | |
422 | - Added new BrowseProtocols directive to control which | |
423 | browse protocols are used (currently CUPS and SLP). | |
424 | - Added SLPv2 support (thanks to Matt Peterson for | |
425 | contributing the initial implementation for CUPS.) | |
426 | - Adding a raw printer on a remote CUPS server now | |
427 | correctly redirects PPD file requests to the remote | |
428 | server. | |
429 | - The serial backend now limits writes to 1/10th | |
430 | second worth of data to avoid buffer overflows | |
431 | with some types of flow control. | |
432 | - The scheduler did not properly process PUT requests, | |
433 | so configuration files could not be uploaded to the | |
434 | server. | |
435 | - The scheduler did not strip trailing whitespace on | |
436 | lines in the configuration files. | |
437 | - The httpWrite() function did not transition the PUT | |
438 | request to the HTTP_STATUS state to get the status | |
439 | from the server. | |
440 | - The scheduler did not properly handle trailing null | |
441 | ("-") filters when testing a driver that sent data | |
442 | to the file: pseudo-backend. | |
443 | - The IPP backend now only sends a document-format of | |
444 | "application/vnd.cups-raw" when printing to another | |
445 | CUPS server using a local printer driver or interface | |
446 | script. Previously the job's document format was | |
447 | used, which was incorrect. | |
448 | - The lpadmin command didn't use the ppd-name attribute | |
449 | with the -m option; this prevented the use of the | |
450 | "raw" model from the command-line. | |
451 | - The pstoraster filter output draft (1-bit) 6-color | |
452 | output in the wrong order; this resulted in yellow | |
453 | being printed instead of black on Stylus Photo | |
454 | printers. | |
455 | - The pdftops filter did not have the Japanese and | |
456 | Chinese text support compiled into it. | |
457 | - The IPP and AppSocket backends did not clear the | |
458 | "waiting for print job to complete" status message, | |
459 | which caused some confusion... :) | |
460 | - The serial backend now opens the port in "no delay" | |
461 | mode to avoid DCD detection problems with some OS's. | |
462 | ||
463 | ||
464 | CHANGES IN CUPS V1.1.9-1 | |
465 | ||
466 | - The configure script did not substitute the | |
467 | correct user and group names. | |
468 | - The configure script did not use the full path | |
469 | to the install-sh script when it was used. | |
470 | - The pstoraster filter did not correctly support | |
471 | DuplexTumble mode for printers that used flip | |
472 | duplexing. | |
473 | - The cups.list.in file was missing from the | |
474 | distribution. | |
475 | - The New DeskJet series driver did not use the | |
476 | correct OrderDependency for the Duplex option. | |
477 | - Use read() instead of fread() to read piped | |
478 | print files in lpr/lp. This avoids a bug in the | |
479 | HP-UX 10.20 fread() function. | |
480 | - Updated the pstoraster filter to use the MIPS_FIXADE | |
481 | system call under IRIX to fix bus error problems on | |
482 | R12000 processors (Ghostscript is not 64-bit clean...) | |
483 | - Some Xerox PPD files (most notably the Phaser 790) | |
484 | have illegal whitespace in the option keyword in the | |
485 | OpenUI line. This caused the PageRegion option to not | |
486 | be recognized properly for the Phaser 790. | |
487 | ||
488 | ||
489 | CHANGES IN CUPS V1.1.9 | |
490 | ||
491 | - Revamped the configure script to use a modular | |
492 | approach for the various tests. | |
493 | - Added --with-openssl-* options to properly reference | |
494 | the OpenSSL libraries in DSOs. | |
495 | - Added --with-cups-user and --with-cups-group | |
496 | options to specify the default user and group for | |
497 | CUPS. | |
498 | - Added AIX shared library support. | |
499 | - Added AIX device discovery for the serial and | |
500 | parallel ports. | |
501 | - Now use install program or script to install | |
502 | directories, files, and symlinks. | |
503 | - Updated pstops filter to use strict handling of EPS | |
504 | files embedded in a PostScript document. The %%EOF | |
505 | handling in 1.1.8 caused some dvips files not to | |
506 | print. | |
507 | - Fixed yet another memory allocation bug in pstoraster | |
508 | that would cause it to crash. This fix also ensures | |
509 | that all memory allocations are done on (at least) a | |
510 | 64-bit boundary. | |
511 | - Fixed Digest authentication - httpGetSubField() didn't | |
512 | skip the Digest keyword. | |
513 | - The scheduler did not properly handle Digest | |
514 | authentication with the new multiple-group support. | |
515 | - The scheduler did not allow usernames that were | |
516 | not in the UNIX password file to be used for Digest | |
517 | authentication from passwd.md5. | |
518 | - The scheduler could not scan PPD files that only used | |
519 | a carriage return (i.e. MacOS PPD files); the new code | |
520 | is also about 40% faster, so servers with thousands of | |
521 | PPD files should start much faster now. | |
522 | - The scheduler now stores the PPD file size and | |
523 | modification times in the ppds.dat file, so it can now | |
524 | incrementally update the PPD database from the model | |
525 | directory, resulting in significantly faster startup | |
526 | times. | |
527 | - The lpinfo command did not return a non-zero status | |
528 | code if an error occurred. | |
529 | - Fixed a bug in the scheduler's UpdateJob() function. | |
530 | Basically, all jobs shared the same status buffer, and | |
531 | the "buffer start" pointer could point to 1 byte | |
532 | before the beginning of the buffer. The new | |
533 | implementation uses a separate buffer for each job and | |
534 | eliminates the buffer start bug. | |
535 | - The IPP backend would send N copies of a document if | |
536 | the receiving device didn't support the copies | |
537 | attribute, even if the upstream driver already added | |
538 | the necessary commands to generate the copies. This | |
539 | was most noticeable with HP printers where N * N | |
540 | copies would come out instead of N. | |
541 | - The PostScript filter (pstops) did not properly handle | |
542 | duplex printing on inkjet printers that provide this | |
543 | option. Copies would be put on the front and back | |
544 | sides of the duplexed page, and the filter did not | |
545 | output an even number of pages. | |
546 | - The backends always caught SIGTERM after they | |
547 | connected to the printer. This prevented raw jobs | |
548 | from being cancelled early. | |
549 | - The cupsSetDests() function now removes any printers, | |
550 | instances, and options that are not defined by the | |
551 | user or server. This should prevent old system-wide | |
552 | options from being used in individual user accounts. | |
553 | - Updated the EPSON printer driver and added PPDs for | |
554 | the newer EPSON Stylus printers that only support the | |
555 | "ESC i" graphics command. | |
556 | - The lpadmin command didn't allow you to add remote | |
557 | printers to a local class. | |
558 | - The lpadmin command didn't allow you to set the | |
559 | options (quotas, etc.) for a class. | |
560 | - The scheduler did not load or save the | |
561 | job-sheets-default attribute for classes. | |
562 | - The scheduler did not automatically recreate remote | |
563 | printers that were part of a class. | |
564 | - It was possible for a printer class to list the same | |
565 | printer more than once. | |
566 | - The scheduler now makes a backup copy of classes.conf | |
567 | and printers.conf before writing the new file. | |
568 | - The lppasswd program incorrectly asked for a new | |
569 | password when deleting an existing MD5 password | |
570 | account. | |
571 | - The scheduler did not match "/printers/name.ppd" | |
572 | against a location of "/printers/name". | |
573 | - The client code did not always handle HTTP encryption | |
574 | upgrades properly. | |
575 | - The client code now caches the last Digest password so | |
576 | it can retry using a new resource path or nonce value, | |
577 | which are included in the MD5 sum sent to the server. | |
578 | This should eliminate unnecessary password prompts | |
579 | when using Digest authentication. | |
580 | - The lppasswd command didn't have a man page. | |
581 | - Updated the PJL detection rules to allow the universal | |
582 | escape to occur anywhere in the first 128 bytes of the | |
583 | file. | |
584 | - The cups-polld program would poll servers continuously | |
585 | with no delay if there was an error contacting the | |
586 | server. | |
587 | - The IPP backend would send an empty job-name or | |
588 | requesting-user-name attribute if the corresponding | |
589 | job attribute was an empty string. While this is | |
590 | allowed by the IPP specification, some HP JetDirect | |
591 | implementations return a client-error-bad-request | |
592 | error if an empty name attribute value is received. | |
593 | The new code only sends these attributes if they are | |
594 | not the empty string. | |
595 | - At least some versions of the HP JetDirect firmware | |
596 | do not correctly implement IPP. Added additional | |
597 | checks to the IPP backend to eliminate extra, | |
598 | unsupported attributes which should normally be | |
599 | ignored by a compliant IPP device. | |
600 | - The scheduler did not copy the complete list of | |
601 | supported file types into the | |
602 | document-format-supported attribute. This caused | |
603 | clients to not send the local file type (such as | |
604 | application/vnd.cups-raw for raw print files) and the | |
605 | corresponding bad output in some cases. | |
606 | - The scheduler did not fully copy attributes from a | |
607 | set-job-attributes request - string attributes were | |
608 | only referenced, which could cause cupsd to crash | |
609 | or behave irratically. | |
610 | - The lp command didn't send the right value for the | |
611 | job-hold-until attribute when "-H resume" was | |
612 | specified. | |
613 | - The IPP backend now returns as soon as a job is | |
614 | completed or reported as "pending-held". | |
615 | - Added new ImplicitAnyClasses and HideImplicitMembers | |
616 | directives to the cupsd.conf file to make implicit | |
617 | classes more usable/transparent to the user. | |
618 | - Clients can now (with the appropriate authentication) | |
619 | retrieve and update the server configuration files | |
620 | using HTTP GET and PUT requests. | |
621 | - The web interface didn't allow you to modify the | |
622 | location or description of the printer. | |
623 | - The pdftops filter now uses its own temporary file | |
624 | function to work with PDF files using LZW compression | |
625 | (which use the uncompress program or gunzip) | |
626 | - The SystemGroup directive now supports specification of | |
627 | multiple groups. | |
628 | - Added new Include directive to cupsd.conf, a la | |
629 | Apache. | |
630 | - Added new pseudo-driver/PPD called "raw" that can be | |
631 | used to create/convert a raw queue. This also allows | |
632 | raw queues to be created in the web interface. | |
633 | - The pdftops filter didn't handle image objects that | |
634 | used JPEG and Flate compression together. | |
635 | - The pstops filter counted pages wrong when using the | |
636 | N-up and even/odd printing options. This prevented | |
637 | the page-ranges option from working properly. | |
638 | - Added another fix to pstoraster for a bus error | |
639 | condition caused by a lack of parenthesis in the | |
640 | Ghostscript code. | |
641 | - Added new "natural-scaling" option which scales the | |
642 | natural size of the image (percent of natural image | |
643 | size instead of percent of page size.) | |
644 | - The lppasswd program is now setuid to the CUPS user | |
645 | instead of root. | |
646 | - The PPD functions did not allow for PPD files that | |
647 | defined the page sizes and margins before the page | |
648 | size options. | |
649 | - The mime.types file now checks for the PJL "LANGUAGE = | |
650 | Postscript" command for PostScript files. | |
651 | - The scheduler did not truncate file: output files. | |
652 | - The PPD file reading code did not handle options with | |
653 | raw quotes (") in the human-readable names. | |
654 | - The pdftops filter now remaps the space character when | |
655 | (bad) PDF files contain a .notdef glyph for the space | |
656 | character. | |
657 | ||
658 | ||
659 | CHANGES IN CUPS V1.1.8 | |
660 | ||
661 | - Updated spec file to generate separate cups-pstoraster | |
662 | package for pstoraster. | |
663 | - The spec file wasn't setting LOGDIR in the install. | |
664 | - The scheduler might restart a stopped printer after | |
665 | stopping a print job. Thanks to Florent | |
666 | Guiliani for finding this bug! | |
667 | - The init script showed run level 0 for the Red Hat | |
668 | chkconfig program. This is incorrect because Red Hat | |
669 | doesn't use run level 0 for shutdown scripts. | |
670 | - The IPP backend did not handle the | |
671 | client-error-not-found error when checking the status | |
672 | of the job that was sent. This caused remote queues | |
673 | to stop on client machines when the server had job | |
674 | history disabled. | |
675 | - Added httpConnectEncrypt() function to avoid | |
676 | performance penalty for setting up encrypted | |
677 | connections initially. | |
678 | - Use httpConnectEncrypt() in all client apps and in the | |
679 | CUPS API to ensure consistent usage of encryption | |
680 | throughout. | |
681 | - Jobs weren't queued to remote classes (fix from | |
682 | Richard Begg.) | |
683 | - AIX changes from Richard Begg. | |
684 | - Fixed the pstops fix for GNOME output - no longer use | |
685 | the page numbers in the %%Page: comment since GNOME | |
686 | puts a filename instead (!?@!#?!). There is still an | |
687 | issue with N-up printing since GNOME defines its fonts | |
688 | in the first page instead of the document setup section | |
689 | (pages must be independent according to the DSC spec) | |
690 | People with GNOME printing problems should consult bug | |
691 | #54489... | |
692 | - The imagetops filter produced PAGE: messages when | |
693 | generating PostScript for a non-PostScript printer | |
694 | (only affects page-label and Classification | |
695 | options.) | |
696 | - The updated pdftops filter was looking for an options | |
697 | file called xpdf.conf instead of pdftops.conf. | |
698 | ||
699 | ||
700 | CHANGES IN CUPS V1.1.7 | |
701 | ||
702 | - Configuration script changes, including new | |
703 | "--with-docdir=/dir" option to relocate CUPS | |
704 | documentation and web content according to your | |
705 | favorite version of the FHS. | |
706 | - Documentation updates for encryption, SLP, etc. | |
707 | - New Software Test Plan and automated test script to | |
708 | test CUPS prior to installation. | |
709 | - All scheduler configuration files are now case | |
710 | insensitive to match Apache. | |
711 | - Added support for Apache ListenBackLog, LogFormat, | |
712 | Require, UseCanonicalName, Satisfy, <Limit>, | |
713 | <LimitExcept>, LimitRequestSize, and Options | |
714 | directives. | |
715 | - Added support for all Apache log levels... | |
716 | - Added support for "double" HostNameLookups. | |
717 | - Added new "RunAsUser" directive to support non-root | |
718 | configurations on the standard (priviledged) ports. | |
719 | - Added support for non-root invocation of the lpd | |
720 | backend (does no reserve a priviledged port, which | |
721 | might not work with some LPD servers...) | |
722 | - Added new PrintcapFormat directive to control the | |
723 | output format of the printcap file (BSD or Solaris | |
724 | formats are supported at present.) | |
725 | - The CUPS directory service routines now handle | |
726 | ECONNREFUSED errors gracefully rather than shutting | |
727 | all browsing off. | |
728 | - ippErrorString() now returns the recommended error | |
729 | messages from the IPP/1.1 Model and Semantics | |
730 | document. | |
731 | - Fixed a minor IPP compliance issue with responses | |
732 | to requests without the attributes-charset or | |
733 | attributes-natural-language attributes. | |
734 | - Sun fix: need httpFlush() call for chunked IPP | |
735 | requests in cupsDoFileRequest(). | |
736 | - httpConnect() now looks up "localhost" by name and | |
737 | by address (127.0.0.1) for users the go to the | |
738 | trouble of removing the required localhost entry | |
739 | in /etc/hosts or on their DNS server... | |
740 | - Added support for Linux 2.4.x devfs parallel port | |
741 | filenames (/dev/parallel/N). | |
742 | - cupsDo[File]Request() and cupsGetPPD() no longer | |
743 | block trying to reconnect to a crashed or inaccessable | |
744 | server. | |
745 | - Added new ppdEmitJCL() function to better handle | |
746 | PJL commands from PPD files. | |
747 | - A bug in UpdateJob() would cause the scheduler to | |
748 | consume 100% CPU until another request was submitted. | |
749 | - The cancel command did not support the "-" option to | |
750 | cancel all jobs on all printers. | |
751 | - The cancel and lprm commands did not support cancelling | |
752 | the next/current job in the queue. | |
753 | - The pdftops and pstoraster filters were using unsafe | |
754 | temporary file functions; while this is not a problem | |
755 | in normal configurations (the CUPS temporary directory | |
756 | is restricted), they now use the cupsTempFd() function. | |
757 | - The mime.types file was missing the recognition rule | |
758 | for Sun Raster images. | |
759 | - The admin CGI was passing a printer make string to | |
760 | ippSetCGIVars() that was being replaced in that | |
761 | function. | |
762 | - "lpoptions -l" would resave the options... | |
763 | - The EPSON drivers now send the "end packet mode" | |
764 | command when printing to USB devices. | |
765 | - The scheduler initialized certificates before loading | |
766 | the cupsd.conf file. | |
767 | - The scheduler used /dev/random to collect random data, | |
768 | which could block if insufficient entropy information | |
769 | had been collected by the kernel. Now use | |
770 | /dev/urandom. | |
771 | - Fixed a bug in the whitespace skipping code in | |
772 | httpGetSubField(). | |
773 | - The LPD backend now supports a new "order" option: | |
774 | "lpd://server/queue?order=control,data" (default) and | |
775 | "lpd://server/queue?order=data,control". | |
776 | - The scheduler enforced a 30 second timeout on all | |
777 | clients regardless of the Timeout directive and if a | |
778 | CGI was currently running. | |
779 | - cupsParseOptions() now sets boolean options to | |
780 | option=true or option=false. | |
781 | - The "percent complete" calculations in the LPD backend | |
782 | could overflow on large files, causing the percentage | |
783 | to wrap to 0 every 40MB or so. | |
784 | - Fixed a memory reallocation bug in pstoraster that | |
785 | could cause it to crash. | |
786 | - The LPD backend now sanitizes the job title to avoid | |
787 | potential problems on remote LPD servers. | |
788 | - The lp command did not send the requesting-user-name | |
789 | attribute when altering a job. | |
790 | - The pstops filter did not handle PostScript files with | |
791 | lines longer than 8191 bytes. | |
792 | - The scheduler no longer uses inet_addr() to convert IP | |
793 | addresses in dot format (mmm.nnn.ooo.ppp) to the | |
794 | 32-bit format, since it will not work for IPv6 | |
795 | addresses. | |
796 | - New "Classification" directive to force labeling of | |
797 | the current classification on each page. | |
798 | - New "page-label" attribute to add per-page labels | |
799 | ("For Official Use Only", "Draft", etc.) | |
800 | - The scheduler now sets the HTTPS environment variable | |
801 | for CGI programs when a client connects using | |
802 | encryption. | |
803 | - Fixed a recursion bug in the scheduler that could | |
804 | cause cupsd to crash when a printer was removed. | |
805 | - The LPDEST and PRINTER environment variables didn't | |
806 | support instances. | |
807 | - Dropped the "file" backend from the device list that | |
808 | is reported, since it is only available for *testing* | |
809 | and should never be used in a production environment. | |
810 | The file: device can still be used, but it won't show | |
811 | up in the list of devices from lpinfo or the web | |
812 | interface. | |
813 | - Added support for /dev/lpa# parallel ports under *BSD. | |
814 | - Added META variables to the CGI header template to | |
815 | prevent caching of the results. | |
816 | - Fixed an unaligned memory buffer for the pstoraster | |
817 | clist states; this caused bus errors for some | |
818 | combinations of printers, drivers, and options. | |
819 | - Re-added black reduction for colorful colors; this | |
820 | helps to prevent dark colors from getting desaturated. | |
821 | (only used when converting RGB to CMYK) | |
822 | - Added two new directives - MaxJobsPerPrinter and | |
823 | MaxJobsPerUser - to allow an administrator to set | |
824 | the maximum number of pending jobs in a queue or | |
825 | submitted by a user. | |
826 | - The scheduler no longer stops a printer if it can't | |
827 | create the status pipe or run the filters or backend. | |
828 | This will allow heavily loaded servers to service | |
829 | clients or start print jobs as the load allows. | |
830 | - Fixed a bug in the Set-Job-Attributes code that could | |
831 | crash the scheduler (patch from Martin Zielinski) | |
832 | - cupsSetDests() did not quote option values with | |
833 | embedded spaces. | |
834 | - Added support for the Enable-Printer and | |
835 | Disable-Printer extension operations (same as | |
836 | CUPS-Accept-Jobs and CUPS-Reject-Jobs.) | |
837 | - The AppSocket and IPP backends now wait for the print | |
838 | job to be finished before exiting; this should prevent | |
839 | the loss of print jobs with older JetDirect firmware | |
840 | and make consecutive print jobs print faster. | |
841 | - The BMP loading code did not handle resolution values | |
842 | of 0. This is a problem with BMP image files produced | |
843 | by the GIMP. | |
844 | - The HTTP Upgrade code (upgrade to TLS encryption) | |
845 | bypassed the authentication checks. | |
846 | - The HTTP Upgrade code did not send a 426 status code | |
847 | to the client and end the current request. This caused | |
848 | a race condition between the client and server for the | |
849 | upgrade to TLS. | |
850 | - Fixed a bug in the EOF and Trailer detection code in | |
851 | the pstops filter. | |
852 | - The imagetoraster filter did not add the margins to | |
853 | the custom page size in the raster header. | |
854 | - The imagetops filter did not adjust the custom page | |
855 | size to the size of the printed image. | |
856 | - The imagetops filter did not include DSC comments | |
857 | which are required by some printers. | |
858 | - The imagetops filter did not insert newlines in | |
859 | Base85 encoded output, causing files to contain | |
860 | lines longer than 255 characters (violation of the | |
861 | DSC). | |
862 | - Added support for the DeskJet 900 series duplexer | |
863 | and CRET color modes in the HP driver. | |
864 | - Added support for PPD-defined margins in the HP | |
865 | driver. | |
866 | - Fixed the debugging output from pstoraster - the | |
867 | font list was not terminated by a newline. | |
868 | - Some versions of the HP-UX pam_unix authentication | |
869 | module apparently do not pass the appdata_ptr argument | |
870 | to the conversation function, preventing the scheduler | |
871 | from authenticating users using PAM under HP-UX. A | |
872 | workaround using a static variable has been added to | |
873 | address this problem. | |
874 | - Fixed a bug in the scheduler SortPrinters() function | |
875 | that could cause printers to disappear or the | |
876 | scheduler to crash when adding a printer. | |
877 | - Changed the pstops filter to not do per-page filtering | |
878 | if the file does not conform to at least version 3.0 | |
879 | of the document structuring conventions. This seems | |
880 | to "fix" printing with broken apps. | |
881 | - The image filters did not handle older TIFF files that | |
882 | lacked the samples-per-pixel and bits-per-pixel tags. | |
883 | - Added new cupsGetJobs() and cupsFreeJobs() functions | |
884 | to manage print jobs. | |
885 | - cupsEncodeOptions() would encode names of 0 length and | |
886 | cupsAddOption() and cupsParseOptions() would add names | |
887 | of 0 length. | |
888 | - The scheduler might block waiting for status messages | |
889 | after starting a new print job. Thanks to Florent | |
890 | Guiliani for finding this bug! | |
891 | ||
892 | ||
893 | CHANGES IN CUPS V1.1.6-3 | |
894 | ||
895 | - The configure script put the JPEG library before the | |
896 | TIFF library; this caused problems in some | |
897 | configurations since the TIFF library also supports | |
898 | JPEG compression of TIFF images. | |
899 | - Updated the configure script and makefiles to handle | |
900 | admin man pages with the "1m" extension (HP-UX, IRIX, | |
901 | Solaris, Tru64) and in odd directories (IRIX) | |
902 | - The updated cupsTempFile() function did not return | |
903 | the filename when called with a filename buffer of | |
904 | NULL (previously it used a static buffer.) | |
905 | - FreeBSD uses /dev/unlptN, but NetBSD and OpenBSD use | |
906 | /dev/ulptN. | |
907 | - DeletePrinter() didn't remove the printer from any | |
908 | classes it was a member of. | |
909 | - DeletePrinterFromClass() didn't preserve the | |
910 | implicit status of a class. | |
911 | - DeletePrinterFromClasses() didn't remove printers | |
912 | from implicit classes. | |
913 | - StartJob() didn't send the job-sheets, job-priority, | |
914 | and job-hold-until attributes to remote printers. | |
915 | - LoadAllJobs() was looking for job-sheets-completed | |
916 | instead of job-media-sheets-completed. This would | |
917 | prevent accumulation of page data after a restart | |
918 | of the scheduler. | |
919 | - The pstops and imagetops filters now generate copies | |
920 | using the appropriate method for a Level 1, 2, or 3 | |
921 | printer since some Level 2/3 printers don't support | |
922 | the /#copies variable anymore. | |
923 | - The man page for cups-lpd did not mention the "-o" | |
924 | option. | |
925 | - The IPP backend didn't handle version-not-supported | |
926 | errors and revert to IPP/1.0 (previously it only checked | |
927 | for a bad-request error) | |
928 | - Caldera fix: lpc now reports unimplemented commands as | |
929 | unimplemented, not invalid. | |
930 | - Caldera fix: lpq didn't recognize BSD lpq "-a" option. | |
931 | - Caldera fix: lpr didn't recognize BSD lpr "-1", "-2", | |
932 | "-3", "-4", "-q", or "-U" options. | |
933 | - RedHat fixes: patches to GNU Ghostscript | |
934 | - SuSE fix: temp file creation patch to GNU Ghostscript | |
935 | (pstoraster). | |
936 | - SuSE fix: remove cgi-bin/abort.c and cgi-bin/email.c, | |
937 | which are not used. | |
938 | - SuSE fix: missing NULL check in cgi_initialize_post(). | |
939 | - SuSE fix: potential buffer overflows in | |
940 | cgi_initialize_string(). | |
941 | - SuSE fix: potential buffer overflows in | |
942 | ippSetCGIVars() | |
943 | - SuSE fix: more NULL checks in ppdOpen(); also make | |
944 | sure that all memory is freed on error to avoid memory | |
945 | leaks. | |
946 | - SuSE fix: Exit from child if setgid() or setuid() | |
947 | fails. | |
948 | - SuSE fix: Added setgroups() calls after setgid() and | |
949 | setuid() calls. | |
950 | - SuSE fix: potential buffer overflows in httpEncode64() | |
951 | calls. | |
952 | - SuSE fix: potential buffer overflows in httpSeparate() | |
953 | - SuSE fix: potential buffer overflows in ippWrite() for | |
954 | bad input. | |
955 | - SuSE fix: potential nul skip in ppd_decode() for | |
956 | missing hex digits. | |
957 | ||
958 | ||
959 | CHANGES IN CUPS V1.1.6-2 | |
960 | ||
961 | - Added changes to support NetBSD startup scripts. | |
962 | - Added separate compiler options for pstoraster | |
963 | (Ghostscript) to avoid compiler-induced errors | |
964 | from Ghostscript's twisted code. | |
965 | - The mime.types file contained syntax errors. | |
966 | - Updated the *BSD USB device filenames to use | |
967 | the /dev/unlptN files so that the USB device | |
968 | is not reset prior to printing (causes print | |
969 | corruption on many printers) | |
970 | - Added new cupsTempFd() function to avoid serious | |
971 | security bug in glibc fopen() function. The glibc | |
972 | fopen() function unlinks a file before creating it, | |
973 | which opens up possible symlink attacks. | |
974 | - Now reject 0-length names in add-printer and add-class | |
975 | requests. | |
976 | - Fix for pstoraster when ZLIB is not available. | |
977 | - cupsGetPPD() didn't reconnect when a HTTP connection | |
978 | was lost. | |
979 | - SuSE fix: httpConnect() didn't check that the | |
980 | value from gethostbyname() was a valid IPv4 address. | |
981 | - SuSE fix: httpConnect() didn't allow file descriptor 0 | |
982 | to be used for a socket. | |
983 | - SuSE fix: ippRead() didn't confirm that all values in | |
984 | a set were numeric or string types. | |
985 | - SuSE fix: lppasswd race condition fixes. | |
986 | - SuSE fix: directive names could overflow buffer when | |
987 | reading *.conf files. | |
988 | - SuSE fix: HEAD requests for PPD files did not use the | |
989 | same logic as GET requests. | |
990 | - SuSE fix: possible buffer overflow when adding | |
991 | /index.html to requested directory name. | |
992 | - SuSE fix: possible buffer overflow when converting | |
993 | IPP attributes to string options for filters. | |
994 | - SuSE fix: creating file: device output with mode 0666 | |
995 | instead of mode 0600. | |
996 | - SuSE fix: creating job info files with mode 0640 | |
997 | instead of 0600. | |
998 | - SuSE fix: don't rely on snprintf() for including | |
999 | system name in log filenames. | |
1000 | - SuSE fix: add bounds checking when copying quoted | |
1001 | and hex strings. | |
1002 | ||
1003 | ||
1004 | CHANGES IN CUPS V1.1.6-1 | |
1005 | ||
1006 | - Added configure check for getting the correct | |
1007 | strftime() format string; %c is not Y2k safe, | |
1008 | and %KC and NULL are not universally supported. | |
1009 | ||
1010 | ||
1011 | CHANGES IN CUPS V1.1.6 | |
1012 | ||
1013 | - Fixed another possible DoS attack in httpGets() | |
1014 | - Added check for "LANGUAGE = PCL" and "LANGUAGE = | |
1015 | POSTSCRIPT" in mime.types. | |
1016 | - Resolution options were not being passed into the | |
1017 | filter programs properly. | |
1018 | - The default compiler options for GCC no longer include | |
1019 | "-g3", which apparently is deprecated in newer | |
1020 | versions of GCC. | |
1021 | - CheckJobs() could cause cupsd to crash if a job is | |
1022 | cancelled in StartJob(). | |
1023 | - The printers.conf and classes.conf files are now | |
1024 | written with restricted permissions. | |
1025 | - The round-robin algorithm used by FindAvailablePrinter() | |
1026 | had problems; fixes contributed by Joel Fredrikson. | |
1027 | - If LoadAllJobs() is unable to determine the file type | |
1028 | of a print job, assume "application/vnd.cups-raw". | |
1029 | - The web interface now provides a job_printer_name | |
1030 | value for any corresponding job_printer_uri value. | |
1031 | - The cups-lpd mini-daemon now logs the client address | |
1032 | and hostname as well as all commands and errors in the | |
1033 | syslog file. | |
1034 | - The IPP backend now detects the supported file formats | |
1035 | and only specifies the document format if it is | |
1036 | supported. This makes IPP printing to network print | |
1037 | servers and cards more reliable without affecting the | |
1038 | capabilities of CUPS servers. | |
1039 | - The time_at_xyz attributes are now converted to human- | |
1040 | readable dates and times for the web interfaces. | |
1041 | - The HP and EPSON sample drivers now correctly catch | |
1042 | signals and eject the current page when a job is | |
1043 | cancelled. | |
1044 | - Fixed bug in CGI code - did not ignore control | |
1045 | characters (e.g. newlines) in form data. This caused | |
1046 | sporatic web interface problems. | |
1047 | - The file type logging code in the scheduler referenced | |
1048 | the optional document-format attribute; the new code | |
1049 | uses the resolved MIME type instead. | |
1050 | - The client.conf parsing code now removes trailing | |
1051 | whitespace. | |
1052 | - The MaxJobs directive was being treated as a boolean | |
1053 | instead of an integer. | |
1054 | - The scheduler would not timeout remote printers if | |
1055 | BrowseInterval was set to 0. | |
1056 | - The lpadmin command now supports setting of options | |
1057 | and user-level access control. | |
1058 | - Added "-E" option to all printing commands to force | |
1059 | encryption. | |
1060 | - The client code did not consume the response to the | |
1061 | OPTIONS request when switching to secure mode. | |
1062 | - The scheduler did not output a Content-Length field | |
1063 | when responding to an OPTIONS request. | |
1064 | - Added documentation on using cups-lpd with xinetd | |
1065 | to the man page. | |
1066 | - The socket backend now starts retries at 5 seconds and | |
1067 | increases the interval to 30 seconds. This should | |
1068 | provide faster printing when multiple jobs/files are | |
1069 | queued for a printer. | |
1070 | - The filters and backends no longer buffer output to | |
1071 | stderr. This should provide much more accurate status | |
1072 | reporting. | |
1073 | ||
1074 | ||
1075 | CHANGES IN CUPS V1.1.5-2 | |
1076 | ||
1077 | - Fixed configure check for OpenSSL to work with RSA | |
1078 | code. | |
1079 | - Added configure check for <sys/ioctl.h>, and use this | |
1080 | check in backend/serial.c. | |
1081 | - Updated configure script handling of data, | |
1082 | configuration, and state directories to use datadir, | |
1083 | sysconfdir, and localstatedir variables. | |
1084 | - NetBSD uses different serial port filenames than | |
1085 | FreeBSD and OpenBSD. | |
1086 | - The pdftops filter didn't need some X-specific files. | |
1087 | - The scheduler makefile doesn't do a chown anymore when | |
1088 | installing (cupsd did this automatically on startup | |
1089 | anyways) | |
1090 | ||
1091 | ||
1092 | CHANGES IN CUPS V1.1.5-1 | |
1093 | ||
1094 | - There was a typo in the top-level Makefile | |
1095 | - The top-level Makefile did not install an init script | |
1096 | for run level 5. | |
1097 | - The configure script did not add the "crypto" library | |
1098 | when checking for the OpenSSL library. | |
1099 | - The OKIDATA PPD files were missing. | |
1100 | - The config.h.in file defined the wrong version number. | |
1101 | - The serial backend did not define "funky_hex" under *BSD. | |
1102 | - Updated the Visual C++ project files and some of the | |
1103 | CUPS API sources to compile under Windows again. | |
1104 | ||
1105 | ||
1106 | CHANGES IN CUPS V1.1.5 | |
1107 | ||
1108 | - Security updates - new default configuration does | |
1109 | not broadcast printer information and only allows | |
1110 | access from the local system. | |
1111 | - EXPERIMENTAL encryption support - CUPS now optionally | |
1112 | supports TLS/SSL encryption via the OpenSSL library. | |
1113 | - Documentation updates. | |
1114 | - Makefile/configure script updates. | |
1115 | - The RPM spec file didn't work out-of-the-box under | |
1116 | RedHat or Mandrake. | |
1117 | - Minor code cleanup to remove extraneous compiler | |
1118 | warnings. | |
1119 | - cupsTempFile() was using %p for the temporary | |
1120 | filename; this should have been %08x (just 8 digit | |
1121 | hex) | |
1122 | - Deleting a printer with active print jobs would still | |
1123 | crash the server. | |
1124 | - ippWrite() and ipp_write_file() didn't send the | |
1125 | correct value length for name-with-language and | |
1126 | text-with-language attributes. | |
1127 | - Updated IPP code to support copied strings (that | |
1128 | should not be freed); this provides slightly more | |
1129 | efficient IPP server performance. | |
1130 | - Updated PDF filter to Xpdf 0.91. | |
1131 | - httpGets() could go into an infinite loop if a line | |
1132 | longer than the input buffer size was sent by a | |
1133 | client. This could be used in a Denial-of-Service | |
1134 | attack. | |
1135 | - The lpstat and CUPS API functions now request only the | |
1136 | data required when getting the list of printer or | |
1137 | class information. This should improve performance | |
1138 | with large numbers of printers on slower machines. | |
1139 | - The scheduler was always enforcing the FilterLimit, | |
1140 | even if FilterLimit was set to 0. | |
1141 | - Updated the Linux USB backend to support Mandrake's | |
1142 | /dev/usb/usblp# filenames. | |
1143 | - The PRINTER and LPDEST environment variables did not | |
1144 | override the lpoptions default printer. | |
1145 | - The PPD read functions incorrectly included trailing | |
1146 | characters (usually whitespace) after quoted string | |
1147 | attributes. | |
1148 | - The multiple-document-handling attribute handling code | |
1149 | did not check for the correct value for collated | |
1150 | copies (separate-documents-uncollated-copies). | |
1151 | - The EPSON driver did not work with OKIDATA printers in | |
1152 | EPSON emulation mode (needed change-emulation command) | |
1153 | - The HP-GL/2 filter did not scale the plot properly in | |
1154 | scale mode 2. | |
1155 | - Added PPD files for 9-pin and 24-pin OKIDATA printers. | |
1156 | - The httpSeparate() function didn't handle passwords | |
1157 | that started with a number. | |
1158 | - ippDelete() could free the character set string | |
1159 | multiple times in name-with-language and | |
1160 | text-with-language attributes. | |
1161 | - The scheduler would access freed memory right after | |
1162 | freeing it (for debug messages); these parts of the | |
1163 | code have been reordered to avoid this situation | |
1164 | which was causing sporatic errors and crashes. | |
1165 | - The ppdClose() function didn't free all of the strings | |
1166 | in the ppd_file_t structure. | |
1167 | - The LoadAllJobs() function in the scheduler did not | |
1168 | close the spool directory. | |
1169 | - Changed all sprintf's that use string formats to | |
1170 | snprintf's, even if the destination buffer is | |
1171 | larger than the source string(s); this protects | |
1172 | against buffer overflows caused outside of CUPS... | |
1173 | - Changed all strcpy's to strncpy's between local and | |
1174 | global variables, even if the destination buffer is | |
1175 | larger than the source string; this protects | |
1176 | against buffer overflows caused outside of CUPS... | |
1177 | - The CUPS certificate functions didn't use the | |
1178 | CUPS_SERVERROOT environment variable when set. | |
1179 | - The directory services code was copying instead of | |
1180 | comparing the remote printer info, resulting in | |
1181 | unnecessary updates of the printer attributes for | |
1182 | remote printers. | |
1183 | - Added new mime.types rules to allow automatic raw | |
1184 | printing of PCL and ESC/P files; PJL headers are | |
1185 | parsed to differentiate between PostScript and | |
1186 | PCL job files. This should eliminate a lot of | |
1187 | the reports of SAMBA printing problems due to | |
1188 | the missing "-oraw" or "-l" options. | |
1189 | - The mimeLoadType() function didn't handle the | |
1190 | 3-argument contains() function. | |
1191 | - The LoadPPDs() function in the scheduler didn't | |
1192 | properly set the alloc_ppds variable or handle a PPD | |
1193 | database containing 0 printers. | |
1194 | - The scheduler FindAvailablePrinter() function didn't | |
1195 | use the same queuing logic as the CheckJobs() | |
1196 | function. This caused classes to stall if a remote | |
1197 | printer was always busy. | |
1198 | - Jobs are now assigned to printers in a class | |
1199 | round-robin style. This should prevent the first | |
1200 | server in the class from bearing the brunt of the | |
1201 | jobs. | |
1202 | - The scheduler's LoadAllJobs() function didn't always | |
1203 | restore remote printers for queued jobs on startup. | |
1204 | - The serial backend didn't support the higher baud | |
1205 | rates with the old termios interface. It now supports | |
1206 | 57600 and 115200 baud. | |
1207 | - The serial backend now supports different types of | |
1208 | flow control; previously it ignored the flow=XYZ | |
1209 | option in the device URI. | |
1210 | - The serial backend now supports DTR/DSR flow control, | |
1211 | which is popular on dot-matrix printers (access with | |
1212 | "flow=dtrdsr" in the device URI) | |
1213 | - Added new job-originating-host-name attribute for | |
1214 | jobs. The new attribute provides the hostname or | |
1215 | IP address of the machine that submitted the job. | |
1216 | - The set-job-attributes code no longer allows read-only | |
1217 | job attributes to be changed. | |
1218 | - Expanded the click area for the navigation bar in the | |
1219 | web interface. | |
1220 | - Updated the lp and cancel commands to support all of | |
1221 | the Solaris print options (some are simply ignored | |
1222 | since they do not map) | |
1223 | - Updated the scheduler to limit the number of file | |
1224 | descriptors to the maximum select() set size. This | |
1225 | was causing problems on Solaris systems where the | |
1226 | max FD count was increased beyond 1024. | |
1227 | - The scheduler's LoadDevices() function was getting | |
1228 | interrupted by the SIGCHLD signal handler; now ignore | |
1229 | child signals while loading devices. | |
1230 | - Added quota and allow/deny user support for printers | |
1231 | and classes. | |
1232 | - Removed black/CMY adjustment code from the PS and | |
1233 | image file RIPs; it was interfering with some CUPS | |
1234 | driver dithering code. | |
1235 | - The lpc program stopped listing the queue statuses | |
1236 | after the first active printer. | |
1237 | - The cups-lpd program used an output format that the | |
1238 | Solaris printing system did not understand. | |
1239 | - Updated the lpq program to use the Solaris format | |
1240 | except under Tru64 UNIX. | |
1241 | - Some DEC PPD files incorrectly use "Off" for the null | |
1242 | value in UI constraints. Added "Off" to the list of | |
1243 | accepted null values. | |
1244 | - Changed the *BSD define constants to __*BSD__ in all | |
1245 | of the backends. | |
1246 | - Added support for "lpstat printername", which is an | |
1247 | undocumented feature in Solaris. | |
1248 | - The HP-GL/2 filter now only sets the plot size if it | |
1249 | is set in the plot file. | |
1250 | - The lpmove command wasn't sending the requesting | |
1251 | user name, causing it to always fail. | |
1252 | - Updated the cupsTempFile() code to use GetTempPath() | |
1253 | under Windows. | |
1254 | - The cups-lpd mini-daemon didn't limit the number of | |
1255 | data files accepted, didn't use cupsTempFile(), | |
1256 | didn't handle control file job information in any | |
1257 | order, and didn't free job options after printing | |
1258 | a file. | |
1259 | - The scheduler copy_banner() function did not | |
1260 | explicitly set the owner and permissions of the banner | |
1261 | files, which could prevent the banner pages from | |
1262 | printing on some systems. | |
1263 | - The lpstat program wasn't listing remote classes. | |
1264 | - The scheduler did not verify that the printer-uri | |
1265 | attribute was specified in all requests that required | |
1266 | it. | |
1267 | ||
1268 | ||
1269 | CHANGES IN CUPS v1.1.4 | |
1270 | ||
1271 | - Makefile and configure script fixes. | |
1272 | - **** Changed the default Printcap setting **** to | |
1273 | /etc/printcap. There are just too many people asking | |
1274 | why application XYZ doesn't see their printers! | |
1275 | - The web admin interface now displays an error if it | |
1276 | can't get the list of printer drivers from cupsd. | |
1277 | - The IPP backend was putting the copies option before | |
1278 | the other job options were set. This caused the IPP | |
1279 | request to contain attribute groups in the wrong | |
1280 | order, which prevented remote printing. | |
1281 | - Added checks in scheduler to free memory used for | |
1282 | IPP requests and language information when closing | |
1283 | a client connection. | |
1284 | - Fixed the duplex option in the HP LaserJet driver. It | |
1285 | should now work with all LaserJet printers (and | |
1286 | compatibles) | |
1287 | - The add-printer web interface didn't initialize the | |
1288 | "old info" data pointer, which caused random crashes | |
1289 | on many OS's. | |
1290 | - Fixed many page sizes defined in the Level 1 | |
1291 | compatibility file "gs_statd.ps" to match reality. | |
1292 | - Fixed another bug in the setpagedevice "code" in | |
1293 | Ghostscript. It should now accept all standard | |
1294 | Adobe attributes on all platforms. | |
1295 | - Fixed pstoraster so that it reallocates memory for | |
1296 | color depth changes as well as size/resolution | |
1297 | changes. This removes an ordering constraint on | |
1298 | the color, page size, and resolution options in | |
1299 | PPD files. | |
1300 | - The IPP backend didn't use the job's character set | |
1301 | when the destination printer supported it. This | |
1302 | caused problems when printing text files to other | |
1303 | CUPS servers. | |
1304 | - Updated the logic used to determine when to rebuild | |
1305 | the PPD file database. The scheduler now checks the | |
1306 | dates and the number of PPD files (was just checking | |
1307 | the dates.) | |
1308 | - Updated the ippSetCGIVars() function (used by the | |
1309 | web interfaces) to only filter valid string values. | |
1310 | - The PostScript filter was scaling 2-up pages | |
1311 | incorrectly. This caused the edges of some pages to | |
1312 | be clipped. | |
1313 | ||
1314 | ||
1315 | CHANGES IN CUPS v1.1.3 | |
1316 | ||
1317 | - Makefile fixes. | |
1318 | - RPM spec file changes. | |
1319 | - Documentation updates. | |
1320 | - Enabled pstoraster debug messages for everything | |
1321 | (only logged when LogLevel set to "debug"...) | |
1322 | - Changed the Input/OutputAttributes fix in | |
1323 | pstoraster so that it works on all platforms. | |
1324 | - The HP-GL/2 filter didn't set the right green | |
1325 | color value in encoded polylines or text. | |
1326 | - Updated the "fitplot" code to handle plot sizes | |
1327 | specified as "PSwidth,length" and "PSlength,width". | |
1328 | - Updated the Linux parallel and USB backends to open | |
1329 | the device files prior to looking in /proc for | |
1330 | autoprobe info. This makes sure that loadable device | |
1331 | driver modules are in fact loaded... | |
1332 | - Added new FilterLimit directive to limit the number | |
1333 | of processing jobs/filters on a system. | |
1334 | - set-job-attributes didn't change the job-state to | |
1335 | held/pending when the job-hold-until attribute was | |
1336 | specified. | |
1337 | - set-job-attributes didn't save the new job attributes. | |
1338 | - Now change the "requesting-user-name" attribute in | |
1339 | requests from remote systems to "remroot" when an | |
1340 | unauthenticated "root" user is sent. This can be | |
1341 | changed using the new RemoteRoot directive in | |
1342 | cupsd.conf. | |
1343 | - The cancel-job, hold-job, release-job, and restart-job | |
1344 | operations didn't log the authenticated username. | |
1345 | - The cups-lpd mini-daemon now checks for a | |
1346 | document-format option before forcing raw mode with | |
1347 | filter mode 'l'. | |
1348 | - The cups-lpd mini-daemon now supports "-o" options | |
1349 | on the command-line (passed by inetd) to set global | |
1350 | defaults for all print queues. | |
1351 | - The pstops filter assumed that a file with a Trailer | |
1352 | comment would also have an EOF comment. | |
1353 | - Added new cupsSetPasswordCB(), cupsSetServer(), | |
1354 | cupsSetUser(), and ippSetPort() functions to better | |
1355 | support client applications (especially GUIs...) | |
1356 | - The CUPS-add-class and CUPS-add-printer operations | |
1357 | didn't reset the printer-name attribute on remote | |
1358 | print queues that had to be renamed when a local | |
1359 | printer was defined with the same name. | |
1360 | - The lpoptions command now supports a "-r" option to | |
1361 | remove options for a printer or instance. | |
1362 | - The lpadmin and admin.cgi programs no longer allow | |
1363 | class and printer names to begin with a number; this | |
1364 | caused the command-line utilities to become confused. | |
1365 | - The Linux USB backend now looks for both the parallel | |
1366 | and usblp driver names in the device list. | |
1367 | - Added a new FontPath directive to cupsd.conf, and also | |
1368 | a "--with-fontpath" option for the configure script to | |
1369 | specify alternate font paths for pstoraster. | |
1370 | - The CUPS-move-job operation didn't update the | |
1371 | job-printer-uri attribute. | |
1372 | - The scheduler only looked up printers and classes by | |
1373 | name in IPP requests, instead of using the full URI. | |
1374 | This caused problems with KUPS and friends with | |
1375 | remote printers. | |
1376 | - The scheduler now handles better localization of | |
1377 | hostnames (e.g. server is host.foo.com, remote is | |
1378 | host.subfoo.foo.com, localized is not host.subfoo...) | |
1379 | - The scheduler logging functions now use a common | |
1380 | log file checking/rotation function (courtesy of | |
1381 | Crutcher Dunnavant at Red Hat) | |
1382 | - The scheduler could accept more client connections | |
1383 | than it allocated for if more than one Port or Listen | |
1384 | line was present in cupsd.conf. | |
1385 | - Other minor scheduler performance tweeks. | |
1386 | - The lpq and lprm commands didn't support the default | |
1387 | printer set using lpoptions. | |
1388 | - The lpoptions command now supports a "-l" option to | |
1389 | list the printer-specific options and their current | |
1390 | settings. | |
1391 | - The web printer and class lists now show a link to the | |
1392 | default printer or class at the top of the page. | |
1393 | - The text filter now supports pretty printing of shell | |
1394 | and perl scripts as well as C/C++ source files. | |
1395 | - The top and bottom margins were reversed for landscape | |
1396 | text printing. | |
1397 | - The lpq and lprm commands didn't understand printer | |
1398 | instances. | |
1399 | - The scheduler only selected on the first 100 file | |
1400 | descriptors instead of the maximum file descriptor | |
1401 | limit. | |
1402 | - The scheduler client, listener, and mainline functions | |
1403 | now share code to disable and enable monitoring for | |
1404 | new client connections. | |
1405 | - The imagetoraster filter didn't support all of the | |
1406 | required pagedevice parameters. | |
1407 | - The serial backend now checks for 100 serial ports | |
1408 | under Linux. | |
1409 | - The scheduler used sscanf() to pull out the remote | |
1410 | printer location, description, and make/model strings, | |
1411 | but if any of these options was empty then sscanf() | |
1412 | would stop processing. | |
1413 | - Added "debug2" log level to provide a little less | |
1414 | verbose debugging information at the "debug" level. | |
1415 | - The scheduler would crash if you stopped a printer | |
1416 | that was currently printing a job. | |
1417 | - The scheduler incorrectly allowed jobs in the cancelled, | |
1418 | aborted, or completed state to be cancelled. | |
1419 | - The image filters did not load TIFF images properly | |
1420 | for bottom-to-top and right-to-left orientations. | |
1421 | - Added new cupsEncodeOptions() function to encode | |
1422 | CUPS options as IPP job attributes. | |
1423 | - The IPP backend, LPD mini-daemon, client commands, | |
1424 | and CUPS API did not properly encode multiple | |
1425 | option values separated by commas. | |
1426 | - Added new scheduler malloc logging in debug mode | |
1427 | (provides summary of total arena size, allocated, | |
1428 | and free bytes once a minute) | |
1429 | - The EPM-based distributions didn't install the | |
1430 | correct symlinks for a few man pages. | |
1431 | - Fixed a memory leak in the scheduler - wasn't | |
1432 | freeing old filters when deleting or renaming | |
1433 | printers. | |
1434 | - The scheduler now queries the primary IP address | |
1435 | for the name of the server and maps any incoming | |
1436 | requests from that address to the server name. | |
1437 | This fixes web admin mapping problems from | |
1438 | server.domain.com to localhost. | |
1439 | - The web printer modify interface now remembers | |
1440 | the previous device and driver settings (except | |
1441 | for serial ports.) | |
1442 | - The job-k-octets attribute is now stored as part of | |
1443 | the job attributes; this preserves the information | |
1444 | after a job is completed when job file history is | |
1445 | turned off. | |
1446 | - Dropped option sub-group parsing code for the moment, | |
1447 | since many Xerox PPD files abuse this feature in PPD | |
1448 | files and don't follow the hierarchy rules. | |
1449 | - Added new wrapper code around options so that duplex | |
1450 | options for some HP printers don't prevent prints. | |
1451 | - Added support for Digital UNIX/Tru64 UNIX/OSF/1 format | |
1452 | for "lpstat -v" output. | |
1453 | - Now show the URI for remote printers instead of | |
1454 | /dev/null in "lpstat -v" output. | |
1455 | - Creating classes and adding printers to a class with | |
1456 | the lpadmin command didn't work. | |
1457 | - The banner pages and test page should now format | |
1458 | correctly in both portrait and landscape orientations. | |
1459 | - Updated banner page substitution so that { can appear | |
1460 | by itself without quoting. | |
1461 | ||
1462 | ||
1463 | CHANGES IN CUPS v1.1.2 | |
1464 | ||
1465 | - Makefile/configure fixes | |
1466 | - RPM spec file and EPM list file fixes | |
1467 | - The cupsTempFile() function now uses a different | |
1468 | algorithm for generating temp files and "reserves" | |
1469 | them to avoid possible security exploitation. | |
1470 | - Now use /dev/random (if available) to seed the random | |
1471 | number generator for certificates. | |
1472 | - The /var/spool/cups and /var/spool/cups/tmp directories | |
1473 | were incorrectly owned by root; they are now owned by | |
1474 | the filter user, typically "lp". | |
1475 | - The scheduler now resets the permissions on the spool | |
1476 | and temp directories as needed to match the filter | |
1477 | user. | |
1478 | - Now expose ppdCollect() as an externally callable | |
1479 | function. | |
1480 | - The image filters now support filtering from the | |
1481 | standard input. | |
1482 | - The imagetoraster filter now collects all printer | |
1483 | options and job patch files and applies them to the | |
1484 | page header as needed. | |
1485 | - Added format and banner options to LPD backend. | |
1486 | - The send-document operation didn't start a job | |
1487 | immediately when last-document was true. | |
1488 | - The set-job-attributes operation didn't correctly | |
1489 | replace the current job-hold-until value. | |
1490 | - Removed the option wrapper code from ppdEmit() and | |
1491 | friends since it caused problems with Ghostscript | |
1492 | and many PS printers. | |
1493 | - Was setting TZ environment variable twice for job | |
1494 | filters. | |
1495 | - Added syslog logging in cups-lpd to aide in | |
1496 | debugging problems. | |
1497 | - The HP-UX parallel port backend did not list the | |
1498 | available parallel ports on some systems (printf | |
1499 | calling problem...) | |
1500 | - The lp and lpr commands overrode user options if | |
1501 | -d/-P were specified after -o. | |
1502 | - The scheduler would crash with a */* filter. | |
1503 | - Added support for a "default" filter for unknown file | |
1504 | types. The example provided in the mime.types and | |
1505 | mime.convs file prints unknown files as if "-oraw" was | |
1506 | specified for the job. This functionality is disabled | |
1507 | by default. | |
1508 | - The "compatibility" mode fix for older backends did not | |
1509 | work for smbspool. Added a workaround for it. | |
1510 | - The HP-GL/2 filter didn't perform the right pen scaling | |
1511 | with some files and the "fitplot" option. | |
1512 | - New Software Performance Specification document that | |
1513 | describes the memory, disk, and CPU usage of all the | |
1514 | CUPS software. | |
1515 | ||
1516 | ||
1517 | CHANGES IN CUPS v1.1.1 | |
1518 | ||
1519 | - The pstoraster Makefile still referenced one of the | |
1520 | old PDF filter files. | |
1521 | - The filter Makefile used INSTALL_DATA instead of | |
1522 | INSTALL_LIB to install the CUPS image library. | |
1523 | - The administration CGI didn't work properly with | |
1524 | network devices. | |
1525 | - The BrowseACL variable was not updated after the | |
1526 | cupsd.conf file was loaded. | |
1527 | - The lpd mini-daemon didn't support printer instances. | |
1528 | - Now use a default umask of 077 for child processes. | |
1529 | - Now put temp files in /var/spool/cups/tmp for child | |
1530 | processes and the root user, unless TMPDIR or TempDir | |
1531 | is defined otherwise. | |
1532 | - cupsGetPPD() no longer uses easy-to-guess filenames. | |
1533 | - The CUPS-Delete-Class and CUPS-Delete-Printer | |
1534 | operations now save classes.conf file as needed. | |
1535 | - The lppasswd command wouldn't add a user. | |
1536 | - The ppdOpen() function could cause a segfault if a | |
1537 | 0-length PPD file was read. | |
1538 | - The image filters were not handling images with | |
1539 | different X and Y resolutions properly. | |
1540 | - The imagetoraster filter defaulted to RGB output | |
1541 | instead of black output like pstoraster. | |
1542 | - The pstops filter didn't handle binary data properly. | |
1543 | - The pstops filter didn't handle copies properly for | |
1544 | PS files lacking DSC comments. | |
1545 | - The pstops filter now appends %%EOF to the end of | |
1546 | documents if they don't have it. | |
1547 | - The cupsGetPPD() function didn't work with remote | |
1548 | printers lacking the @server in the name. | |
1549 | - The configure script didn't work right when only | |
1550 | --prefix was specified. | |
1551 | - The ppdEmit() code now wraps all printer commands so | |
1552 | that buggy PostScript printers will still print a file | |
1553 | after receiving an option that isn't available. | |
1554 | - Fixed the DeskJet margin bug, and disabled 600dpi | |
1555 | color mode until it can be fixed. | |
1556 | - The cupsAddDest() function didn't sort instances | |
1557 | correctly in all cases. | |
1558 | - The time-at-xyz attributes now expand to the date and | |
1559 | time in banner files. | |
1560 | ||
1561 | ||
1562 | CHANGES IN CUPS v1.1 | |
1563 | ||
1564 | - Documentation updates. | |
1565 | - Configuration script updates. | |
1566 | - Didn't map charset and language value strings to lowercase | |
1567 | and _ to - as required by SLP and IPP. | |
1568 | - ppdLoadXYZ() didn't add the list of available fonts to the | |
1569 | ppd_file_t structure. | |
1570 | - The text filter common code was freeing the PPD file data | |
1571 | before it was used. | |
1572 | - The text filter now embeds missing fonts. | |
1573 | - The CGI interface now maps local access to the server to | |
1574 | the localhost address. | |
1575 | - The HP-GL/2 filter didn't use the specified (or default) | |
1576 | color ranges, resulting in strange colors. | |
1577 | - The HP-GL/2 filter didn't default to no input window, which | |
1578 | caused unnecessary clipping of plots. | |
1579 | - Integrated Xpdf's pdftops filter into CUPS, which is a | |
1580 | lightweight and reliable replacement for Ghostscript's | |
1581 | PDF support. | |
1582 | - Removed all PDF support from Ghostscript. | |
1583 | - Updated HP driver to set top margin; this seems to fix | |
1584 | the offset problem seen on HP DeskJet printers. | |
1585 | - Fixed dependencies on the ZLIB and JPEG libraries in | |
1586 | pstoraster. | |
1587 | - The lpr command wasn't using the lpoptions defined by | |
1588 | the user. | |
1589 | - The lpr command would segfault if the CUPS server was | |
1590 | not running. | |
1591 | - The top-level makefile was not installing the CUPS | |
1592 | initialization script. It now does so if it sees there | |
1593 | is an init.d directory in /sbin, /etc/rc.d, or /etc. | |
1594 | - "lpstat -v all" didn't work. | |
1595 | - pstoraster would crash on some platforms doing the | |
1596 | setpagedevice operator. | |
1597 | - The web administration interface now allows you to set | |
1598 | the default banner pages. | |
1599 | - Images can now be positioned on the page using the new | |
1600 | "position" option. | |
1601 | - The AccessLog, ErrorLog, and PageLog directives now | |
1602 | support "%s" to insert the server name. | |
1603 | - Added a new BrowseShortNames directive to allow for | |
1604 | short remote printer names ("printer" instead of | |
1605 | "printer@server") when possible. | |
1606 | - The scheduler could crash if given an invalid PPD file | |
1607 | with no PageSize attributes. | |
1608 | - Updated the serial, parallel, and usb backends to do | |
1609 | multiple writes and ignore ioctl() errors as needed; | |
1610 | this should fix problems with serial printing on old | |
1611 | serial drivers and with the UltraSPARC parallel port | |
1612 | driver under Solaris 2.7. | |
1613 | - Now propagate LD_LIBRARY_PATH to child processes from | |
1614 | cupsd. | |
1615 | - New DataDir directive for installing in alternate | |
1616 | locations. | |
1617 | - New CUPS_SERVERROOT and CUPS_DATADIR environment | |
1618 | variables to specify installation directories as | |
1619 | needed. | |
1620 | - Queued remote jobs recreate remote printers as needed | |
1621 | when the scheduler is started. | |
1622 | - Deleting a printer also purges all jobs on that | |
1623 | printer. | |
1624 | - Old job and control files that don't belong to a | |
1625 | printer are automatically deleted. | |
1626 | - Wasn't updating time-at-processing and | |
1627 | time-at-completed attributes in job. | |
1628 | - Didn't send required multiple-operation-time-out | |
1629 | attribute in response to a get-printer-attributes | |
1630 | request. | |
1631 | - cups-lpd now supports options set with lpoptions. | |
1632 | - The job-hold-until attribute is now provided with all | |
1633 | jobs. For jobs that are not currently held the value | |
1634 | is "no-hold". | |
1635 | - The scheduler was not sending "unknown" values in IPP | |
1636 | responses. | |
1637 | - The lpoptions command now accumulates options from | |
1638 | previous runs rather than replacing all options for a | |
1639 | printer. | |
1640 | - The IPP backend now switches to IPP/1.0 if a 1.1 | |
1641 | request fails. | |
1642 | - The lpadmin and admin.cgi programs now validate new | |
1643 | printer and class names. | |
1644 | - The access_log file now includes the number of IPP bytes | |
1645 | received in a POST request. | |
1646 | ||
1647 | ||
1648 | CHANGES IN CUPS v1.1b5 | |
1649 | ||
1650 | - Documentation updates. | |
1651 | - The pstoraster filter didn't compile without the JPEG library. | |
1652 | - The cupsd server didn't support the HTTP OPTIONS request | |
1653 | method. | |
1654 | - Dropped the "CLOSE" method supported by the cupsd server. | |
1655 | (not defined in HTTP specification) | |
1656 | - Makefile/configure script fixes. | |
1657 | - Missing the job-restart template. | |
1658 | - Added IPP test suite for testing. | |
1659 | - Missing IPP documentation from binary distributions. | |
1660 | - Fixed multiple-document handling code when last-document | |
1661 | not specified. | |
1662 | - Added more checks to IPP requests to prevent bad requests | |
1663 | from getting through. | |
1664 | - Not all of the Ghostscript error output was being sent to | |
1665 | stderr. | |
1666 | - The PostScript filter now added PJL commands to set the | |
1667 | job name and display string, if supported. | |
1668 | - The scheduler would crash if the browse socket could not | |
1669 | be bound. Now disables browsing if port 631 (reserved for | |
1670 | IPP) is being used by a misbehaving daemon. | |
1671 | - The USB backend now looks for the older Linux 2.2.x USB | |
1672 | printer device filenames as well as the newer ones. | |
1673 | - The IPP backend now uses the UTF-8 charset exclusively, | |
1674 | since apparently only CUPS handles more than US-ASCII and | |
1675 | UTF-8... | |
1676 | - Wasn't quoting ( in PostScript banners... | |
1677 | - Send-document requests with no document-format attribute | |
1678 | could cause cupsd to crash. | |
1679 | - Old jobs in the spool directory might cause cupsd to | |
1680 | crash. | |
1681 | - CUPS now supports all of the recommended job-hold-until | |
1682 | keywords as well as name values of the form "HH:MM" and | |
1683 | "HH:MM:SS". | |
1684 | - Added placeholder pointer for TLS encryption to the HTTP | |
1685 | connection structure. | |
1686 | - Fixed the "fast poll" bug reported by DISA - the | |
1687 | status pipe wasn't being closed for multi-file jobs. | |
1688 | - Revamped put_params code in pstoraster to fix bitmap | |
1689 | allocation bug with FrameMaker output. | |
1690 | - Ripped out filename, etc. code from pstoraster as it | |
1691 | is a potential security hole. | |
1692 | - Added support for RIP_CACHE environment variable in the | |
1693 | new pstoraster. | |
1694 | - Fixed USB device filenames for Linux; now support new | |
1695 | pre-2.4 devices (/dev/usb/lp#) and 2.2 devices | |
1696 | (/dev/usblp#) | |
1697 | - Fixed accept-jobs crash with classes. | |
1698 | - Didn't include dot-matrix EPSON drivers in previous | |
1699 | release. | |
1700 | ||
1701 | ||
1702 | CHANGES IN CUPS v1.1b4 | |
1703 | ||
1704 | - Documentation updates. | |
1705 | - Many makefile and configuration script fixes (should | |
1706 | now compile better under *BSD.) | |
1707 | - The MediaPosition attribute was being mishandled by | |
1708 | GhostScript, causing the RIP to fail whenever a paper | |
1709 | tray was selected. | |
1710 | - The scheduler now logs the final line of log information | |
1711 | from a filter, even if it doesn't end with a newline; this | |
1712 | primarily affects GhostScript error output. | |
1713 | - The scheduler was saving implicit classes, so after a few | |
1714 | restarts you'll end up with AnyPrinter, AnyAnyPrinter, etc. | |
1715 | - The JPEG autodetection didn't work with some JPEG files that | |
1716 | came from digital cameras (JPEG but not JFIF); the new | |
1717 | magic types should work with all images that the JPEG library | |
1718 | can handle. | |
1719 | - Fixed a bug in the new contains() MIME type rule that could | |
1720 | cause cupsd to crash. | |
1721 | - Switched to using strtol() in the MIME type code so that you | |
1722 | can use hex, octal, or decimal constants as desired in the | |
1723 | mime.types file. | |
1724 | - Banner files are now treated as templates, allowing any type | |
1725 | of file to be used as a banner. | |
1726 | - Added a 30-second timeout to backend device reports so that a | |
1727 | hung backend will not prevent the scheduler from starting. | |
1728 | - Backends are once again terminated when jobs are stopped; the | |
1729 | CUPS-supplied backends will stay alive until the downstream | |
1730 | filters have had a chance to clear out old page data. | |
1731 | - The charset lookup in the CUPS localization support was wrong | |
1732 | (iso8859-x instead of iso-8859-x) | |
1733 | - Changed the "cpNNNN" code page files to "windows-NNNN" to match | |
1734 | the IANA registrations. | |
1735 | - New PostScript banner pages. | |
1736 | - Added Windows BMP and Alias PIX image file support to the image | |
1737 | filter. | |
1738 | - The PNG reading coded didn't free all of its buffers. | |
1739 | - Added Digest authentication support to the client and server | |
1740 | code. | |
1741 | - Added Solaris options to System V commands. | |
1742 | - Now support the output-bin job template attribute. | |
1743 | - Now log the job-billing attribute in the page_log file, and | |
1744 | keep track of the total number of pages in the | |
1745 | job-media-sheets-completed attribute. | |
1746 | - The penwidth option is now in micrometers to support more | |
1747 | accurate width specification. | |
1748 | - The image filters now support interlaced and transparent PNG | |
1749 | files. | |
1750 | - Didn't handle Keep-Alive for HTTP/1.0 clients. | |
1751 | - The BrowsePoll support didn't handle when BrowseInterval | |
1752 | was set to 0 (now uses 30 seconds if BrowseInterval is 0) | |
1753 | - The DeskJet driver now supports 600 DPI color for printers | |
1754 | that support it. | |
1755 | - New lpinfo and lpmove commands. | |
1756 | - The lpq command now supports the Digital UNIX output format. | |
1757 | - The LPD mini-daemon now supports all required LPD operations. | |
1758 | - Implemented timeouts for multi-file documents. | |
1759 | - New cupsPrintFiles() function in the CUPS API library to | |
1760 | print multiple files using create-job and send-document | |
1761 | requests (1 job ID for multiple files) | |
1762 | - The lp command now sends multiple files as a single job, | |
1763 | matching the behavior of the System V command. | |
1764 | - The "cancel -a" command now purges job history files. | |
1765 | ||
1766 | ||
1767 | CHANGES IN CUPS v1.1b3 | |
1768 | ||
1769 | - Documentation updates. | |
1770 | - The startup script redirected stderr before stdout, | |
1771 | which caused problems with some versions of Bourne | |
1772 | shell and Bash. | |
1773 | - Fixed a bug in the scheduler's PPD language reading | |
1774 | code. | |
1775 | - Fixed a bug in the scheduler's check for the | |
1776 | manufacturer in the PPD. | |
1777 | - The pstoraster filter didn't allow some input and | |
1778 | output attributes to be set. | |
1779 | - Added banner page support. | |
1780 | - Added missing PAM configuration file. | |
1781 | - Configuration script fixes for Linux and *BSD. | |
1782 | - The log file code was using the wrong sign for the | |
1783 | timezone offset. | |
1784 | - The default printcap file is now empty (no printcap | |
1785 | file is generated). | |
1786 | - The scheduler did not start jobs destined for remote | |
1787 | printers when they became available. | |
1788 | - The scheduler now sends jobs to remote printers | |
1789 | immediately. (when sending jobs to a class, the remote | |
1790 | printer is only used when it becomes available) | |
1791 | - The scheduler now supports printing of banner pages | |
1792 | via the job-sheets attribute (banner files go in | |
1793 | /usr/share/cups/banners) | |
1794 | - The cupsd process now forks itself into the background | |
1795 | (override with -f) | |
1796 | - Added several *BSD enhancements. | |
1797 | - Added UNSUPPORTED libtool option to configuration | |
1798 | script to allow the use of libtool. Note that this is | |
1799 | UNSUPPORTED by us, but added by request of the *BSD | |
1800 | folks. | |
1801 | - The parallel, serial, and usb backends now retry the | |
1802 | opening of their ports. This allows multiple print | |
1803 | queues to be associated with a single physical port, | |
1804 | and will allow CUPS to support several types of | |
1805 | parallel port auto-switches in the near future. | |
1806 | - Set-Job-Attributes now supports adding, changing, and | |
1807 | deleting job template attributes, and no longer allows | |
1808 | job-printer-uri to be set (see CUPS-Move-Job) | |
1809 | - Added CUPS-Move-Job operation to support moving of jobs. | |
1810 | - The CGI template functionality now supports multiple | |
1811 | languages (still only have templates for English) | |
1812 | - The CUPS-Get-Printers and CUPS-Get-Classes operations | |
1813 | now support filtering as defined in the IDD. | |
1814 | - The Get-Jobs, CUPS-Get-Printers, and CUPS-Get-Classes | |
1815 | operations no longer limit themselves to 1000 jobs, | |
1816 | printers, or classes (believe it or not, this is | |
1817 | needed for some sites) | |
1818 | - The web interfaces now support language-specific | |
1819 | templates. | |
1820 | - The web admin interface now supports class management. | |
1821 | - The web admin interface now shows a list of | |
1822 | manufacturers before selecting the PPD/driver for a | |
1823 | specific printer. | |
1824 | - The web admin interface now supports configuration of | |
1825 | the default printer options in the PPD file. | |
1826 | - The web interface now uses printer/class | |
1827 | authentication for the test page instead of admin | |
1828 | authentication. | |
1829 | - Updated the RPM spec file for the current release. | |
1830 | - Updated language support for Windows code pages. | |
1831 | - 8-bit character set files can now use multiple fonts | |
1832 | (needed for Arabic, Greek, Hebrew, etc.) | |
1833 | - Added basic right-to-left text support in the text | |
1834 | filter. | |
1835 | - The POSIX locale now uses ISO-8859-1 instead of | |
1836 | US-ASCII. | |
1837 | - Fixed PDF printing problems. | |
1838 | - Fixed PostScript RIP page device dictionary elements | |
1839 | that weren't getting passed in cups_get_params(). | |
1840 | - Added a new "contains" rule for the magic file typing. | |
1841 | - The "printable" rule now accepts characters from 128 to 255 | |
1842 | (needed for Microsoft character sets) | |
1843 | - Added support for ~/.cupsrc as well as /etc/cups/client.conf | |
1844 | so that the default server can be configured on a per-user | |
1845 | basis without environment variables. | |
1846 | - Added LPD mini-daemon to support incoming LPD jobs. | |
1847 | ||
1848 | ||
1849 | CHANGES IN CUPS v1.1b2 | |
1850 | ||
1851 | - Documentation updates. | |
1852 | - The lp command didn't always load the user-defined | |
1853 | destinations, preventing it from seeing the default | |
1854 | printer. | |
1855 | - Many configure script and makefile fixes. | |
1856 | - The Microsoft code page files were missing from the | |
1857 | distribution. | |
1858 | - Added a workaround for the HP IPP client (which is sending | |
1859 | an invalid printer-uri in requests) | |
1860 | - Fixed the encoding of text-with-language and name-with-language | |
1861 | to match the IPP spec. | |
1862 | - Added support for unknown value tags in the IPP routines | |
1863 | (previously they would be ignored) | |
1864 | - Integrated GNU GhostScript 5.50 into the pstoraster filter. | |
1865 | - Client hostname resolution was broken on little-endian | |
1866 | machines. | |
1867 | - Now look at client.conf file for client's default server | |
1868 | and printer. | |
1869 | - The cupsServer() function did not close the client.conf file | |
1870 | if it contained a ServerName directive. | |
1871 | - Added BrowseAllow, BrowseDeny, BrowseOrder, BrowsePoll, and | |
1872 | BrowseRelay directives. | |
1873 | - BrowseInterval 0 disables advertising of local printers, but | |
1874 | still receives information on remote printers. | |
1875 | - New browse polling daemon (for polling servers on different | |
1876 | networks) | |
1877 | - New PPD cache file for faster startup times with large numbers | |
1878 | of PPD files. | |
1879 | - The Host: field was incorrectly required for HTTP/1.0 clients. | |
1880 | - New set-job-attributes operation now supported. | |
1881 | - The mime_load_types() and mime_load_convs() functions did not | |
1882 | close their input files. | |
1883 | ||
1884 | ||
1885 | CHANGES IN CUPS v1.1b1 | |
1886 | ||
1887 | - NEW web-based administration interface. | |
1888 | - NEW EPSON printer drivers. | |
1889 | - NEW user-defined printers and options. | |
1890 | - NEW persistent jobs and job history | |
1891 | - NEW IPP/1.1 support | |
1892 | - NEW template-based web interfaces. | |
1893 | - NEW CUPS-get-devices and CUPS-get-ppds operations. | |
1894 | - NEW support for create-job and send-file operations. | |
1895 | - NEW certificate-based authentication for local | |
1896 | administration. | |
1897 | - NEW USB backend. | |
1898 | - The lpr command now produces human-readable error messages. | |
1899 | - The lpq command now produces BSD standard format output | |
1900 | instead of OSF/1 output. This should resolve the SAMBA | |
1901 | print queue problems that have been reported. | |
1902 | - The IPP backend did not always detect when the "raw" option | |
1903 | was being used. | |
1904 | - The "lpstat -p" command would stop after the first active | |
1905 | printer. | |
1906 | - The "lpstat -v" command would stop before the first remote | |
1907 | printer. |