]>
Commit | Line | Data |
---|---|---|
d2503e02 | 1 | CHANGES-1.1.txt |
2 | --------------- | |
3 | ||
c9f7f5da | 4 | CHANGES IN CUPS V1.1.21rc1 |
5 | ||
58d47694 | 6 | - The cupstestppd utility did not show a warning message |
7 | when a PPD file indicated BCP protocol support with | |
8 | PJL (STR #720) | |
f2d1c59d | 9 | - The scheduler did not return the correct exit code |
10 | when startup failed (STR #718) | |
11 | - The cupsRasterReadPixels() function checked for | |
12 | EAGAIN, which caused problems on FreeBSD (STR #723) | |
5c64e957 | 13 | - The cupsGetDests() function did not use the current |
14 | encryption setting (STR #653) | |
d8cd2dc3 | 15 | - The scheduler did not properly parse name-based |
16 | BrowseRelay directives in the cupsd.conf file (STR | |
17 | #711) | |
18 | - The IPP backend now supports the following options in | |
19 | the device URI: encryption, waitjob, and waitprinter | |
20 | (STR #699) | |
897922a9 | 21 | - The parallel, serial, socket, and USB backends did not |
22 | return a non-zero exit status when a job failed to | |
23 | print in the middle of sending it (STR #715) | |
24 | - Location directives in the cupsd.conf file were | |
25 | case-sensitive for printer and class names, so | |
26 | queue-specific access control was not reliable (STR | |
27 | #700) | |
28 | - cupsDoFileRequest() did not handle HTTP continue | |
29 | status messages in all cases, causing sporatic | |
30 | problems with IPP printers from some vendors (STR | |
31 | #716) | |
725dbff8 | 32 | - The rastertodymo driver now supports the Zebra ZPL |
33 | language (STR #713) | |
27d9c868 | 34 | - The test suite no longer generates a printcap file, |
35 | which caused problems when testing as the root user | |
36 | (STR #693) | |
37 | - The scheduler now updates the accepting state of an | |
38 | implicit class based upon the accepting state of its | |
39 | member printers (STR #697) | |
5de4345d | 40 | - The pstops filter didn't properly skip leading PJL |
41 | commands (STR #664) | |
0ee73ce8 | 42 | - The reinterpret_cast keyword was not highlighted when |
43 | printing C/C++ source files in prettyprint mode (STR | |
44 | #694) | |
09d90cc6 | 45 | - Fixed a segfault problem with some of the client |
46 | programs (STR #668) | |
48033118 | 47 | - When using RunAsUser, the scheduler did not correctly |
48 | set the ownership of the log files, preventing log | |
49 | file rotation (STR #686) | |
996c9b10 | 50 | - The image filters did not correctly load 1-bit PNG |
51 | files (STR #687) | |
ed10dd86 | 52 | - The pdftops filter did not show all annotation objects |
53 | in a PDF file (STR #674) | |
a6c39ab3 | 54 | - The pdftops filter did not print the contents of |
55 | textual form elements, making it impossible to print a | |
56 | filled-in form (STR #663) | |
cbeb5d2c | 57 | - Integrated the MacOS X/Darwin USB backend into the |
58 | CUPS baseline (STR #661) | |
84e51f51 | 59 | - The USB backend incorrectly reported "media tray |
60 | empty" (STR #660) | |
f1e5cc57 | 61 | - The scheduler did not use a case-insensitive |
62 | comparison when checking for group membership, which | |
63 | caused problems with Win9x clients printing via SAMBA | |
64 | (STR #647) | |
11009aea | 65 | - The scheduler did not report the addresses associated |
66 | with certain network errors, making troubleshooting | |
67 | difficult (STR #648, #649) | |
6d353386 | 68 | - The cupstestppd program did not allow a default choice |
69 | of "Unknown" as required by the PPD spec (STR #651) | |
7250da12 | 70 | - The select() buffers are now allocated to be at least |
71 | as large as sizeof(fd_set) (STR #639) | |
a89836ef | 72 | - The LPD backend now supports overriding the print job |
73 | username via the device URI (STR #631) | |
74 | - The scheduler did not handle an unknown MIME type when | |
75 | checking for a CGI script (STR #603) | |
045a79ad | 76 | - Added a timeout optimization to the scheduler's main |
77 | loop to allow CUPS to sleep more of the time (STR | |
78 | #629) | |
215d44cb | 79 | - The USB backend now retries printing to devices of the |
80 | form "usb://make/model" if any USB port shows up as | |
81 | "busy" (STR #617) | |
c5b73e9f | 82 | - The httpGetHostByName() function did not range check |
83 | IP address values (STR #608) | |
7e736f7d | 84 | - The httpUpdate() function could return HTTP_ERROR |
85 | instead of the HTTP status if the server closed the | |
86 | connection before the client received the whole | |
87 | response (STR #611) | |
4b4a98c0 | 88 | - The LPD mini-daemon did not allow the administrator to |
89 | force banner pages on (STR #605) | |
5aad2002 | 90 | - Added PAM support for Darwin/MacOS X (STR #550) |
a4f128bd | 91 | - The web interface now provides a "Set As Default" |
92 | button to set the default printer or class on a server | |
93 | (STR #577) | |
94 | - The HTTP authentication cache was broken (STR #517) | |
f1ea144d | 95 | - The cupstestppd utility now fails PPD files that have |
96 | a DefaultOption keyword for a non-existance option | |
97 | name (STR #476) | |
273d0315 | 98 | - Optimized the scanning of new PPD files on scheduler |
99 | startup (STR #424) | |
100 | - The EPM list file did not include the bin, lib, or | |
101 | sbin directories (STR #598) | |
00966aa1 | 102 | - The web interface did not redirect administration |
103 | tasks to the primary server for a class or printer | |
6d353386 | 104 | (STR #491, #652) |
eaf10fed | 105 | - The cups-lpd mini-daemon did not reject print jobs to |
106 | queues that were rejecting new print jobs (STR #515) | |
64bbab09 | 107 | - Some calls to the ctype functions did not account for |
108 | platforms that use a signed char type by default (STR | |
109 | #518) | |
6a2cceab | 110 | - The scheduler could use excess amounts of CPU if a CGI |
111 | program was sending data faster than the client could | |
112 | take it (STR #595) | |
76cad2fc | 113 | - Updated the Ghostscript 8.x integration stuff (STR |
114 | #484) | |
2e55212e | 115 | - The lpd backend used a source port of 732 by default, |
116 | which is outside of the range defined by RFC 1179; | |
8cda2ed6 | 117 | also added a new (default) "reserve=any" option for |
118 | any priviledged port from 1 to 1023 (STR #474) | |
e673c4b4 | 119 | - The scheduler did not check for a valid Listen/Port |
120 | configuration (STR #499) | |
121 | - The cupsPrintFiles() function did not always set the | |
122 | last IPP error message (STR #538) | |
2c8131f1 | 123 | - The pstops filter did not write the PostScript header |
124 | line if the file began with a PJL escape sequence (STR | |
125 | #574) | |
648051ba | 126 | - The printer-is-accepting-jobs status of remote |
127 | printers was not sent to clients via browsing or | |
128 | polling (STR #571) | |
129 | - Browse packets did not indicate whether a printer | |
130 | was accepting or rejecting jobs. | |
847f882c | 131 | - The web interface did not show the printer state |
132 | history information (STR #592) | |
0cb462af | 133 | - The rastertoepson filter would crash under certain |
134 | cirsumstances (STR #583) | |
135 | - The USB backend did not handle serial numbers using | |
136 | the (incorrect) SN keyword and did not terminate the | |
648051ba | 137 | make and model name strings properly (STR #471, STR |
138 | #588) | |
0cb462af | 139 | - The USB backend did not build on Solaris x86 (STR |
140 | #585) | |
141 | - The cupsDoAuthentication() function did not use the | |
142 | method name for Digest authentication (STR #584) | |
ceaef43a | 143 | - The scheduler could crash if a print job could not be |
144 | printed and the PreserveJobHistory option was turned | |
145 | off (STR #535) | |
146 | - cups-lpd now logs the temporary filenames that could | |
147 | not be opened in order to make troubleshooting easier | |
148 | (STR #565) | |
149 | - cupsGetJobs() now returns -1 on error (STR #569) | |
150 | - Added localization for Belarusian (STR #575) | |
9b6deb15 | 151 | - The LPD backend used the full length of the hostname |
152 | when creating the data and control filenames, which | |
153 | causes problems with older systems that can't handle | |
154 | long filenames (STR #560) | |
67c158fa | 155 | - The scheduler did not refresh the common printer data |
156 | after a fast reload; this prevented banner and other | |
157 | information from being updated (STR #562) | |
6bf62b17 | 158 | - The scheduler did not send common or history data to |
159 | the client when processing a CUPS-Get-Default request | |
160 | (STR #559) | |
9b4bc2a5 | 161 | - The httpFlush() function did not always flush the |
162 | remaining response data in requests (STR #558) | |
d89de04a | 163 | - The scheduler could complete a job before it collected |
164 | the exit status from all filters and the backend (STR | |
165 | #448) | |
6f83172d | 166 | - The PPD conformance tests did not catch group |
167 | translation strings that exceeded the maximum allowed | |
168 | size (STR #454) | |
169 | - Updated the client code in the scheduler to close the | |
170 | client connection on errors rather than shutting down | |
171 | the receive end of the socket; this caused resource | |
172 | problems on some systems (STR #434) | |
173 | - cups-polld didn't compile on Tru64 5.1B (STR #436) | |
174 | - "lpc stat" crashed if the device URI was empty (STR | |
175 | #548) | |
176 | - The scheduler did not compile without zlib (STR #433) | |
177 | - std:floor() cast needed on IRIX 6.5 with SGI C++ | |
178 | compiler (STR #497) | |
179 | - cupsRasterReadPixels() and cupsRasterWritePixels() did | |
180 | not handle EAGAIN and EINTR properly (STR #473) | |
181 | - RequiresPageRegion should not be consulted for Manual | |
182 | Feed (STR #514) | |
183 | - International characters were not substituted in | |
184 | banner files properly (STR #468) | |
891091df | 185 | - Updated pdftops to Xpdf 2.03 code to fix printing bugs |
186 | (STR #470) | |
187 | - The Digest authentication code did not include the | |
188 | (required) "uri" attribute in the Authorization | |
189 | response, preventing interoperation with Apache | |
190 | (STR #408) | |
191 | - The web interface could lockup when displaying certain | |
192 | URLs (STR #459) | |
c9f7f5da | 193 | - The PostScript filters now convert underscores ("_") |
891091df | 194 | to spaces for custom classification names (STR #555) |
c9f7f5da | 195 | |
196 | ||
6d7dedd5 | 197 | CHANGES IN CUPS V1.1.20 |
198 | ||
1159efaa | 199 | - The pstops filter didn't properly handle collated, |
200 | duplexed copies of documents with an odd number of | |
201 | pages on printers that did not do their own collated | |
202 | copies (STR #389) | |
203 | - Tru64 doesn't define a prototype for hstrerror() (STR | |
204 | #430) | |
92af4107 | 205 | - Updated the pdftops filter to use the annotation flags |
206 | instead of the subtype to determine whether to print | |
207 | an annotation (STR #425) | |
208 | - The French web interface localization did not use | |
209 | absolute paths for the navigation bar (STR #428) | |
4f6178db | 210 | - The CUPS test suite did not undefine the PRINTER and |
211 | LPDEST environment variables. This could lead to bogus | |
212 | test results (STR #380) | |
2494f888 | 213 | - The cupsLangDefault() function now works if you don't |
214 | have the base OS localization installed (STR #418) | |
215 | - The pdftops filter no longer needs to create temporary | |
216 | files with tmpnam (STR #406) | |
217 | - The HTTP code did not use a case-insensitive | |
218 | comparison when checking for the Basic authentication | |
219 | method (STR #407) | |
220 | - The httpEncode() function always added a trailing "=" | |
221 | character, which is not required by the Base64 | |
222 | encoding specification (STR #407) | |
52a9a175 | 223 | - The signal handlers did not need to call sigset(); |
224 | this caused a recursion problem on some versions of | |
225 | IRIX (STR #422) | |
226 | - Moved the scheduler termination code into the mainline | |
227 | to be consistent with the way other signals are | |
228 | handled (STR #423) | |
2aca765a | 229 | - The cupsaddsmb program didn't export the new CUPS |
230 | driver for Windows properly (STR #390) | |
0ca3829c | 231 | - The ppdOpen() functions did not issue an error when a |
232 | translation string exceeded the maximum allowed by the | |
233 | Adobe PPD specification (STR #399) | |
234 | - The default landscape orientation was not the same as | |
235 | that defined in the PPD file (STR #397) | |
e6b6f176 | 236 | - Updated the pstoraster patch files and CUPS driver to |
237 | work with Ghostscript 8 (STR #402) | |
6d7dedd5 | 238 | - The hpgltops filter did not skip PJL commands (STR |
239 | #379) | |
240 | ||
241 | ||
2e75b8a5 | 242 | CHANGES IN CUPS V1.1.20rc6 |
0ab349a5 | 243 | |
a4bcc023 | 244 | - "lp -i jobid -H restart" would often return an error |
245 | even though the job restarted successfully (STR #362) | |
d68320d4 | 246 | - The scheduler did not check for invalid allow/deny |
247 | addresses such as "11.22.33.44/24". It now masks off | |
248 | the extra address bits and logs a warning message in | |
249 | the error_log file (STR #337) | |
250 | - The cupstestppd utility now checks for missing | |
251 | ImageableArea and PaperDimension attributes for each | |
252 | defined PageSize (STR #365) | |
253 | - The IPP code did not wait for a reply indefinitely on | |
254 | HTTP connections in "blocking" mode (STR #377) | |
255 | - The web interfaces did not rewrite the default printer | |
256 | URI properly (STR #299 and #369) | |
257 | - The LPD backend passed the C and L commands in the | |
258 | wrong order (STR #378) | |
45c0f2fe | 259 | - The Dymo label printer driver did not set the label |
260 | length properly (STR #373) | |
88f105c5 | 261 | - The scheduler did not support job IDs higher than |
262 | 99999 (STR #371) | |
263 | - The Visual C++ project files did not work (STR #366) | |
84eef03c | 264 | - The scheduler's cupsLangSeek() function did not reset |
265 | the "EOF" flag, preventing compressed files from being | |
266 | typed properly in some cases (STR #368) | |
d16f87bc | 267 | - The cupsLangGet() cache was only used if the locale |
268 | name provided an explicit character set name (STR | |
269 | #354) | |
66f81e44 | 270 | - The CUPS API convenience functions did not call |
271 | cupsLangFree() when they were done with the | |
272 | localization data (STR #354) | |
0ab349a5 | 273 | - The scheduler did not return the |
274 | job-hold-until-supported or job-hold-until-default | |
275 | attributes (STR #356) | |
276 | - The cupsaddsmb program did not support the new CUPS | |
277 | driver for Windows (STR #357) | |
278 | ||
279 | ||
bdc1493a | 280 | CHANGES IN CUPS V1.1.20rc5 |
294c916e | 281 | |
b59d5057 | 282 | - The scheduler did not initialize the browse socket |
283 | file descriptor properly when only SLP browsing was | |
284 | enabled (STR #259) | |
bdc1493a | 285 | - The scheduler accessed the job attributes before they |
286 | were set (STR #347, fix to STR #335) | |
b59d5057 | 287 | - The cupsCancelJob() function did not return 0 when the |
288 | job could not be canceled (STR #340) | |
294c916e | 289 | |
290 | ||
0669cbc7 | 291 | CHANGES IN CUPS V1.1.20rc4 |
292 | ||
293 | - The scheduler did not move the incoming job attributes | |
294 | in the operation group to the job group (STR #335) | |
295 | - The cupsDoFileRequest() function did not check for an | |
296 | early HTTP response while sending the file (STR #314) | |
297 | - The web interfaces did not quote #, ?, or . in printer | |
298 | names, which caused some problems with the generated | |
299 | URLs (STR #320) | |
300 | - CUPS couldn't be completely compiled with the -dDEBUG | |
301 | option (STR #331) | |
302 | ||
303 | ||
2d417cb3 | 304 | CHANGES IN CUPS V1.1.20rc3 |
5edf6841 | 305 | |
d6d2f8e2 | 306 | - More SLP changes (STR #259) |
2d417cb3 | 307 | - Revamped the child signal handling code to completely |
308 | avoid deadlock issues on Solaris (STR #325) | |
784a2f5f | 309 | - The lpadmin command displayed an incorrect error |
310 | message when the "-u" option was provided with no | |
311 | arguments (STR #313) | |
7e0b0c8f | 312 | - The web admin interface did not display an error |
313 | message if the PPD file could not be loaded (STR #308) | |
5edf6841 | 314 | - The ppdEmit() functions did not use the correct |
315 | orientation value position for custom page sizes (STR | |
316 | #292) | |
317 | ||
318 | ||
4731c02f | 319 | CHANGES IN CUPS V1.1.20rc2 |
225b3683 | 320 | |
6d8c10c5 | 321 | - The serial backend set the IXANY option on the port |
322 | for XON/XOFF flow control; this caused problems with | |
323 | printers that returned status info but were not ready | |
324 | for more print data (STR #287) | |
fa84bfc7 | 325 | - The scheduler didn't support scripted index files |
326 | (index.php, index.pl, etc. - STR #290) | |
327 | - The scheduler did not correctly localize script files | |
328 | with "GET" variables (STR #268) | |
f9f084a1 | 329 | - Changes in job classification are now logged (STR |
330 | #289) | |
4731c02f | 331 | - Fixed a few more SLP-related bugs (STR #259) |
e02e59e4 | 332 | - Updated the user/group configure checks for MacOS X |
333 | 10.3 (STR #270) | |
334 | - Fixed an offset bug in the PDF filter (STR #284) | |
aa7b8dba | 335 | - The cupsDoRequest() and cupsDoFileRequest() functions |
336 | did not map several HTTP status codes to their IPP | |
337 | counterparts. This made detecting certain conditions | |
338 | very difficult (STR #277) | |
339 | - Config, spool, and status files are now owned by the | |
340 | scheduler user (usually root) with read permission for | |
341 | the filter group (STR #283) | |
39c45901 | 342 | - The HP-GL/2 filter did not support the SI command, |
343 | some values for the AD and SD commands, and did not | |
344 | rotate labels properly via the DI command (STR #282) | |
225b3683 | 345 | - The fax support did not update/set the job-hold-until |
346 | attribute when a fax job fails (STR #269) | |
347 | - The cupsLangGet() function didn't support locales of | |
348 | the form "ll.charset" (STR #271) | |
349 | - The scheduler did not use the charset when getting the | |
350 | language localization for a request; this caused extra | |
351 | disk IO for every request (STR #271) | |
352 | - The scheduler did not support requests with more than | |
353 | one language specified (STR #267) | |
354 | ||
355 | ||
3fc87a99 | 356 | CHANGES IN CUPS V1.1.20rc1 |
357 | ||
a782f61f | 358 | - The scheduler now waits up to 60 seconds before |
359 | restarting to allow active jobs to complete printing | |
360 | and pending requests to be processed (STR #226) | |
1e2ff429 | 361 | - The web interface did not work on systems where time_t |
362 | is 64 bits (STR #262) | |
0cd4970e | 363 | - Added backend tweeks and content-length check from Red |
364 | Hat (STR #253) | |
365 | - The USB backend now uses the 8255 constants instead of | |
366 | the standard constants when reporting printer status | |
367 | bits on Linux (STR #254) | |
3ec5b662 | 368 | - Added new cupsDoAuthentication(), cupsGetFd(), |
369 | cupsGetFile(), cupsPutFd(), and cupsPutFile() functions | |
370 | to the CUPS API (STR #112) | |
c50b7b12 | 371 | - The PDF filter always scaled and offset pages; this |
372 | caused problems under MacOS X, so now the "fitplot" | |
373 | option controls whether PDF files are scaled to fit | |
374 | within the printable area of the page (STR #250) | |
375 | - The LPD backend did not support the port number in a | |
376 | URI (STR #247) | |
377 | - Some filters didn't properly support boolean options | |
378 | (STR #249) | |
379 | - Landscape PDF files were not always offset by the | |
380 | correct amount when rotating (STR #243) | |
1a673d32 | 381 | - The scheduler could hang in a call to localtime() when |
382 | logging messages from the signal handler (STR #242) | |
f235af09 | 383 | - The PDF filter no longer prints form widgets; this |
384 | duplicates the behavior of Acrobat Reader (STR #241) | |
28ae836a | 385 | - cupsGetPPD() didn't handle a late termination of a |
386 | HTTP connection with the server (STR #220) | |
60dc191d | 387 | - ppdOpen() did not correctly check for "*PPD-Adobe-4." |
388 | on the first line of a PPD file. This caused incorrect | |
389 | PASS results for some PPD files (STR #233) | |
2268893f | 390 | - cupsEncodeOptions() did not allow boolean options to |
391 | use "yes" and "on" for true values (STR #227) | |
5cacfcee | 392 | - The pstops filter only sent the TBCP exit sequence if |
393 | it was defined in the JCLEnd attribute in the PPD file | |
394 | (STR #224) | |
0a0621ae | 395 | - Support for more than 1024 files was broken on Solaris |
396 | 9 (STR #217) | |
4342fddc | 397 | - The setgroups() calls now pass in 1 group (the |
398 | configured group) instead of 0 for compatibility with | |
399 | BSD and Darwin (STR #213) | |
c2179d0f | 400 | - The scheduler's built-in broadcast throttling was |
401 | ineffective since incoming packets would cause the | |
402 | next group of outgoing packets to be sent immediately | |
403 | rather than waiting for the next time slot (STR #211) | |
49de8bd2 | 404 | - Added a new ppdSetConformance() function to set the |
405 | conformance requirements for PPD files. Currently only | |
406 | two levels are defined, PPD_CONFORM_RELAXED and | |
407 | PPD_CONFORM_STRICT, and the default is the relaxed | |
408 | level (STR #212) | |
b8f3410f | 409 | - The IPP backend did not correctly execute the |
410 | pictwpstops filter on OSX (STR #210) | |
82ba0702 | 411 | - The LPD backend did not set the banner class when the |
412 | "banner=yes" option was specified in the device URI | |
413 | (STR #209) | |
0c676a75 | 414 | - The imagetoraster filter did not support all of the |
415 | page device attributes (STR #208) | |
84dd2ced | 416 | - The pdftops filter incorrectly auto-rotated pages when |
417 | the user already had specified the proper orientation | |
418 | (STR #207) | |
e5734f04 | 419 | - Fixed AIX shared library support (STR #201) |
ff40b65e | 420 | - Added support for live testing with Valgrind (STR |
421 | #193) | |
0372885f | 422 | - The CGI programs now collect the list of needed |
423 | attributes for the class, job, and printer template | |
424 | files (STR #192) | |
0f71c41e | 425 | - The scheduler now passes the first port that is bound |
426 | to the local loopback or "any" addresses to the CGI | |
427 | programs rather than the port that the browser | |
428 | connected to (STR #103) | |
d3d40607 | 429 | - The cupstestppd program now checks for bad |
430 | JobPatchFile attributes and incorrect versions of the | |
431 | Manufacturer attribute for HP printers (STR #155) | |
432 | - The filter makefile incorrectly installed | |
433 | libcupsimage.a in the filter directory (STR #180) | |
434 | - The scheduler did not verify that the job history | |
435 | files define the job-priority and | |
436 | job-originating-user-name attributes (STR #178) | |
a09a157e | 437 | - The pstops filter didn't handle poorly-formed binary |
438 | PostScript files that had CTRL-D's in them (STR #156) | |
5a617005 | 439 | - The ppdOpen*() and cupsLangGet() functions did not |
440 | make a copy of the old locale strings when using the | |
441 | POSIX locale when reading files, which apparently | |
442 | caused problems with some implementations of the | |
443 | standard C library. (STR #159) | |
444 | - The pdftops filter did not work properly with some | |
445 | embedded Type1C fonts (STR #177) | |
0e2e516e | 446 | - Updated the pdftops filter to be based upon Xpdf |
447 | 2.02pl1 (STR #191) | |
daf8f5f0 | 448 | - The scheduler did not reset the group list when |
449 | running CGI and filter processes (STR #185) | |
450 | - The scheduler no longer calls malloc and free from the | |
451 | signal handlers (STR #190) | |
964eb42f | 452 | - The USB backend now uses the manufacturer and model |
453 | strings if the description string is not available | |
454 | (STR #174) | |
fd8e0b1e | 455 | - The ppdOpen functions still supported the |
456 | VariablePaperSize attribute, which was removed in v4.0 | |
457 | of the PPD spec. This caused problems with PPD files | |
458 | that relocated the PageSize option to a non-standard | |
459 | group (STR #158) | |
9fcd7a75 | 460 | - The cups.list file referenced MAN1EXT, MAN3EXT, and |
461 | MAN5EXT, but none of those were actually defined (STR | |
462 | #147) | |
20bde6fb | 463 | - Chunked requests could cause a Denial of Service if |
464 | the connection is terminated before the first byte of | |
465 | chunk data is sent/received (STR #143) | |
2f20a999 | 466 | - Printers with special characters in their names were |
467 | not accessible from the web interface (STR #120) | |
90e1aedc | 468 | - The lpstat command now shows the correct interface |
469 | script or PPD file, if any, for a print queue (STR #89) | |
470 | - The lpstat command now shows the printer-state-message | |
471 | and printer-state-reasons attributes whenever they are | |
472 | not blank (STR #152) | |
33c76e27 | 473 | - The French and German option-conflict.tmpl template |
474 | files did not get installed (STR #148) | |
475 | - The cups.list.in file did not work when compiling | |
476 | without shared libraries (STR #149) | |
477 | - The DSOFLAGS included the LDFLAGS, which causes | |
478 | problems on at least HP-UX (STR #150) | |
f49663d5 | 479 | - The fax printer support did not keep track of the fax |
480 | capability bit (STR #144) | |
481 | - The appleLangDefault() function could leak a small | |
482 | amount of memory (STR #145) | |
2e8cd988 | 483 | - The ppdOpen() functions now mirror all normal |
484 | attributes to the attribute list; previously only | |
485 | certain unassigned attributes would be added (STR | |
af50faa7 | 486 | #139) |
487 | - The ppdEmitJCL() function wrote JCL commands to stdout | |
488 | instead of the passed file pointer (STR #142) | |
33b8a82d | 489 | - The httpGets() function could, in certain states, |
490 | block waiting for data (STR #132) | |
ae90e335 | 491 | - The cupsEmitJCL() function not outputs an empty @PJL |
492 | command after the PJL language escape to work around | |
493 | bugs in certain PJL implementations (STR #131) | |
494 | - The cupsEmit*() functions didn't set the orientation | |
495 | value properly (STR #127) | |
3fc87a99 | 496 | - The cups.spec file didn't list the rc2.d init |
ae90e335 | 497 | directory or the cupstestppd file (STR #134) |
3fc87a99 | 498 | |
499 | ||
8dc4af74 | 500 | CHANGES IN CUPS V1.1.19 |
501 | ||
a17e6548 | 502 | - The GNU TLS code incorrectly used |
503 | gnutls_check_pending() instead of | |
504 | gnutls_record_check_pending() (STR #128) | |
8c5f90ff | 505 | - The ppdEmit() functions output "PageSize Custom" |
506 | instead of "CustomPageSize True" in the DSC comments. | |
507 | Also, the custom page size code did not use the | |
508 | ParamCustomPageSize attributes (STR #127) | |
ea13a0f9 | 509 | - The cupstestppd command did not list the conflicting |
510 | options (STR #123) | |
f9e6375d | 511 | - The lpq command did not ensure that there was |
512 | whitespace between the fields in the job listing (STR | |
513 | #117) | |
514 | - The German web templates had errors (STR #119) | |
314ee107 | 515 | - The configure script didn't specify the static |
516 | libraries properly when configuring with the | |
517 | --disable-shared option (STR #104) | |
5c47aed9 | 518 | - The cups.list file used file dependencies for package |
519 | formats other than portable, RPM, and Debian (STR #98) | |
520 | - cupsLangGet() didn't use its language cache (STR #97) | |
31d18669 | 521 | - "lpq -P" would segfault instead of showing a usage |
522 | message (STR #94) | |
8dc4af74 | 523 | - Fixed compiler warnings in pdftops filter (STR #96) |
524 | ||
525 | ||
af57319f | 526 | CHANGES IN CUPS V1.1.19rc5 |
7f797921 | 527 | |
1ed20df6 | 528 | - Jobs with banner pages that were printed to implicit |
529 | classes would get double banner pages for each | |
530 | file/banner in the job (STR #68) | |
8fa5f1c6 | 531 | - The mime.convs file was missing the filter definition |
532 | for Windows BMP (image/x-bitmap) files (STR #85) | |
8fc34542 | 533 | - The scheduler allowed some READ-ONLY job attributes to |
534 | be set, which could cause the scheduler to fail on the | |
535 | next restart (STR #82) | |
dd4497dd | 536 | - The lp and lpr commands did not report when the |
537 | scheduler was not responding; instead, the user would | |
538 | incorrectly see a "no default destination" error (STR | |
539 | #70) | |
92498b68 | 540 | - cupsLangGet() could fail on OSX due to a corrupt |
541 | language preference (STR #78) | |
92e48f04 | 542 | - Added more checks for HTTP request timeouts. |
af57319f | 543 | - The scheduler dropped the first non-alpha character |
544 | after an open brace when doing attribute substitutions | |
545 | in banner pages (STR #77) | |
7f797921 | 546 | - The scheduler child might send SIGUSR1 to the parent |
547 | before the signal handler was installed; this didn't | |
548 | prevent the scheduler from starting but produced an | |
549 | annoying error message (STR #45) | |
550 | ||
551 | ||
2e6bce36 | 552 | CHANGES IN CUPS V1.1.19rc4 |
3dea040b | 553 | |
fb766c9e | 554 | - The lp command did not accept "-" for printing from |
555 | the standard input as required by POSIX 1003.1 (STR | |
556 | #59) | |
d8b9e5fa | 557 | - Added the job-originating-host-name information for |
558 | the page_log file documentation in the SAM (STR #31) | |
a0d4f607 | 559 | - The German web interface templates did not use the |
560 | right paths for job operations (STR #54) | |
2e6bce36 | 561 | - The scheduler would consume all available CPU if |
562 | started with a pending job in the queue (STR #35) | |
3dea040b | 563 | - The polling daemon allocated an extra localization |
564 | buffer but did not free it, causing cups-polld to | |
565 | eventually use all available memory (STR #40) | |
566 | ||
567 | ||
e309e07a | 568 | CHANGES IN CUPS V1.1.19rc3 |
569 | ||
b07e0cc2 | 570 | - The scheduler could get in an infinite loop cancelling |
571 | jobs using "cancel -u user dest" (STR #48) | |
572 | - The "cancel -u user" command did nothing (it should | |
573 | cancel all jobs on all printers owned by the named | |
574 | user - STR #48) | |
b01791df | 575 | - The scheduler would write 0-length job control files |
576 | (STR #46) | |
9b2fe6bd | 577 | - Updated the French man pages (translation provided by |
578 | Gilles QUERRET) | |
aa3b74e1 | 579 | - The scheduler would delete all printers from |
580 | printers.conf if a job was active when a HUP signal | |
581 | was handled (STR #47) | |
582 | - The cups-polld program would leak memory if it was | |
583 | unable to send browse packets to the loopback | |
584 | interface (STR #40) | |
bb9df75d | 585 | - The scheduler did not put the |
586 | job-originating-host-name attribute in the job | |
587 | attributes group. | |
588 | - The text filter did not default to wrapping text as | |
589 | defined by the IPP implementation document. | |
335b78e9 | 590 | - Scan backends first, PPDs second (STR #37) |
3d16d701 | 591 | - Updated the Netatalk documentation in the SAM (STR #38 |
592 | and #39) | |
254aa207 | 593 | - The test suite sent text files to a non-PS print queue, |
594 | which requires ESP Ghostscript (provided separately). | |
595 | Now send the JPEG test file (STR #33) | |
596 | - The test suite did not show the estimated disk space | |
597 | requirements (STR #33) | |
598 | - The test suite did not set the MaxLogSize directive to | |
599 | 0 to prevent log file rotation (STR #33) | |
600 | - The test suite still setup the old CUPS Ghostscript | |
601 | symlinks (STR #33) | |
c7985008 | 602 | - The pstops filter did not report the correct number of |
603 | copies for the page_log file when printing collated | |
604 | copies to a printer that doesn't support them in | |
605 | hardware (STR #32) | |
3fa35ec0 | 606 | - cupsLangGet() needs to set the CTYPE locale to "C" |
607 | (POSIX) to avoid erroneous tolower/toupper values (fix | |
608 | suggested by Bjoern Jacke) | |
380b07e9 | 609 | - Fixed a typo in the cups.list.in file. |
e309e07a | 610 | - Updated all of the Western European locales to default |
3fa35ec0 | 611 | to ISO-8859-15 (for Euro support, suggested by Bjoern |
612 | Jacke) | |
613 | - Updated the German message catalog (update provided by | |
614 | Bjoern Jacke) | |
e309e07a | 615 | |
616 | ||
b696f4e3 | 617 | CHANGES IN CUPS V1.1.19rc2 |
618 | ||
ac098b06 | 619 | - cupsLangGet() now sets the encoding field based on the |
620 | trailing charset in the locale name, and doesn't look | |
621 | for a message catalog in a specific locale.charset | |
622 | directory. This fixes STR #26 and is more in line | |
623 | with the CUPS 1.2 implementation. | |
89e75dbd | 624 | - The configure script now aborts if the "ar" command or |
625 | compilers cannot be found. | |
69d2b731 | 626 | - The static cupsimage library was not built by default. |
2abcdcaa | 627 | - The path for the "ln" command was hardcoded in |
628 | Makedefs.in instead of being checked at configure time | |
629 | (STR #28). | |
c4885a3a | 630 | - Banner pages containing unescaped { characters would |
631 | not work. | |
c8a55d2c | 632 | - The printer-state-time collection attribute was |
633 | encoded as an enumeration instead of an integer. | |
634 | - The printer-is-accepting-jobs collection attribute was | |
635 | was not added to the collection value. | |
636 | - The printer-state-sequence-number collection attribute | |
637 | was not added to the collection value. | |
d8e1f369 | 638 | - Fixed typo and const mismatch in IPP backend. |
639 | - Updated the man pages for the new configuration | |
640 | directives. | |
641 | - Updated the SAM for MacOS 10.2, the CUPS drivers for | |
642 | windows, the available LPD backend options, and the | |
643 | new configuration directives. | |
de8a4f54 | 644 | - The imagetops filter didn't position images properly |
645 | on the page (STR #18) | |
f2cdaedc | 646 | - The configure script didn't add CPPFLAGS to the |
647 | compiler options or LDFLAGS to the DSO options (STR | |
648 | #13) | |
b696f4e3 | 649 | - The scheduler would try to write a debug log message |
650 | when starting a job that contained a NULL string. | |
651 | Since not all versions of snprintf() support NULL | |
f2cdaedc | 652 | string pointers this caused some problems (STR #20) |
b696f4e3 | 653 | - The testipp program now supports reading of IPP |
654 | message files such as those used for the job history | |
655 | in /var/spool/cups. | |
656 | ||
657 | ||
fc7f6f69 | 658 | CHANGES IN CUPS V1.1.19rc1 |
6e3d4276 | 659 | |
265fb4a4 | 660 | - Added CUPS support files for Java, Perl, and PHP |
661 | (located in the "scripting" subdirectory...) | |
53510eae | 662 | - The scheduler now supports fast-reloads of the |
663 | cupsd.conf file when it is updated via HTTP. | |
664 | - The scheduler always changed the ownership of log | |
665 | files; it now only does so if they are not in the /dev | |
666 | directory (i.e. don't want to change the ownership and | |
667 | permissions of /dev/null...) | |
b4f2ed46 | 668 | - Added libpaper support (patch from Jeff Licquia) |
4fc54d8c | 669 | - Added a new istring() rule for MIME types files that |
670 | does a case-insensitive comparison of strings. | |
1e6bd2df | 671 | - The cups-lpd mini-daemon now sends jobs to the default |
672 | queue when an empty queue name (or "lp" and there is | |
673 | no "lp" queue) is sent. | |
e532393d | 674 | - The scheduler now supports fax queues identified by a |
675 | "*cupsFax: True" attribute in the PPD file. When a job | |
53510eae | 676 | can't be sent, it is held for 5 minutes by default |
677 | while other jobs are attempted. The FaxRetryLimit and | |
678 | FaxRetryInterval directives control the number of | |
679 | retries and the time between retries. | |
0e4f2c25 | 680 | - The scheduler now preserves the default options of PPD |
681 | files when modifying/upgrading an existing PPD file. | |
682 | When installing a new printer, the scheduler sets the | |
683 | default media size to Letter or A4 as appropriate for | |
684 | your locale. | |
5073e3f8 | 685 | - The scheduler no longer limits the number of |
686 | BrowseAddress, BrowsePoll, BrowseRelay, Listen, Port, | |
687 | SSLListen, and SSLPort directives to 10. | |
d59a189c | 688 | - The scheduler now supports print files that have been |
689 | compressed using gzip. | |
4e43f59e | 690 | - The scheduler used the stdio functions to read any job |
691 | ticket information in a PostScript print job. Since | |
692 | some platforms limit the number of stdio files to 256, | |
693 | job ticket information was ignored when the server had | |
694 | a large number of clients connected to the system. | |
8f4595eb | 695 | - Filters and backends may now report the total number |
696 | of pages ("PAGE: total NNN") to the scheduler. | |
55737cf0 | 697 | - The LPD backend now supports timeout and |
698 | sanitize_title options (default to 300 and yes, | |
699 | respectively) and has some additional changes to | |
700 | reduce the chances of multiple copies being printed | |
701 | when only one copy was requested. | |
b5111a23 | 702 | - Fixed a polygon drawing bug in the HP-GL/2 filter. |
ded143b8 | 703 | - Added a robots.txt file to the standard install to |
704 | prevent search engines from indexing the CUPS server. | |
62bcac22 | 705 | - Added support for STATE: messages |
706 | (printer-state-reasons), printer-state-history, and | |
707 | printer-state-time to the scheduler. | |
598aeabc | 708 | - When using RunAsUser, the scheduler would initially |
709 | start any previously queued (pending) jobs with | |
710 | RunAsUser disabled - all backends would be running as | |
711 | root. | |
4d4fb342 | 712 | - If a backend failed for a printer, CUPS would |
713 | incorrectly requeue the job for printing again. | |
c3719c59 | 714 | - Added support for IPP collections and files. |
3721af07 | 715 | - Added experimental support for generic CGI scripts and |
716 | programs, Java, Perl, PHP, and Python to the | |
717 | scheduler. See the file "CGI.txt" for more | |
718 | information. | |
d40085f1 | 719 | - The CUPS API now supports HTTP cookies and the Expect: |
720 | field. | |
dd9e85de | 721 | - The cancel command now correctly supports the "-u |
722 | user" option to cancel all jobs for the named user. | |
723 | - The Purge-Jobs operation now supports the my-jobs | |
724 | boolean attribute and a new purge-jobs boolean | |
725 | attribute to control whether job history data is | |
726 | purged from the scheduler; the default is false for | |
727 | my-jobs and true for purge-jobs to match the original | |
728 | implementation. | |
b9e3e9a0 | 729 | - The scheduler would not timeout printers when only |
730 | using SLP browsing. | |
a5ba1d82 | 731 | - If the scheduler was unable to execute a filter, it |
732 | would try to restart the job indefinitely until the | |
733 | filter could be executed. | |
a9bc43ad | 734 | - When writing BSD printcap files, the scheduler now |
735 | includes the rm and rp attributes, allowing the file | |
736 | to be exported to LPD clients. [Patch from Dominic | |
737 | Kubla] | |
3f2fa036 | 738 | - The scheduler optimization to reference IPP attribute |
739 | data instead of performing a full copy caused problems | |
740 | when the referenced data was deleted before it was | |
741 | sent. It now only references attributes that change | |
742 | only when the scheduler is restarted. The change also | |
743 | reduced the memory footprint of a printer object to | |
744 | 2k. | |
745 | - The scheduler now holds signals while logging messages | |
746 | to avoid potential deadlock issues when handling | |
747 | signals on Solaris 8. | |
b27fa031 | 748 | - The lpadmin command now allows printer access control |
749 | by group name as well as user name. | |
7057d744 | 750 | - "lpoptions -l" got in an infinite loop if no default |
751 | printer was available. | |
752 | - The scheduler now logs the job-originating-host-name | |
753 | attribute in the page_log file, and uses "-" for any | |
754 | empty fields (patch from Dominik Kubla). | |
a0db7254 | 755 | - The pdftops filter now scales PDF pages within the |
756 | printable area of the page. | |
b43f5fd7 | 757 | - The pstops filter didn't include the page-label and |
758 | classification boxes when printing EPS or non- | |
759 | conformant PS files. | |
209d6c49 | 760 | - The imagetops filter didn't always correctly position |
761 | the image on the page when printing in landscape | |
762 | orientation. | |
b3291c5a | 763 | - The ppdEmit() functions now support the |
764 | RequiresPageRegion attribute when sending InputSlot | |
765 | and ManualFeed commands. | |
766 | - The PPD loading code now supports standard options | |
767 | outside of OpenUI/CloseUI as required by the PPD spec. | |
43cd52be | 768 | - The cupstestppd program has been upgraded to provide a |
769 | concise PASS/FAIL report, additional detailed | |
770 | conformance testing, and support for gzip'd PPD files. | |
771 | - The PPD loading code is now much more strict when | |
772 | loading a PPD file, and tracks more format errors. | |
5a0aab69 | 773 | - The scheduler ignored child signals when gathering the |
774 | list of available devices, when it should have been | |
775 | using the default signal handler. | |
dc249e0d | 776 | - The cupsEncodeOptions() function could encode an |
777 | option with a NULL last string. | |
8b7032be | 778 | - The socket backend could report the wrong number of |
779 | backchannel bytes if an error occurred on the link. | |
33073884 | 780 | - The cups-polld program now only sleeps after getting |
781 | all printers and classes. This allows for longer | |
782 | intervals without excessive delays before classes show | |
783 | up... | |
2e32fcdb | 784 | - Added a new httpWait() function to support waiting for |
785 | data for a specific number of milliseconds. | |
786 | - httpGets() now times out after 1 second on | |
787 | non-blocking HTTP connections. | |
bce0c833 | 788 | - The scheduler no longer accepts rangeOfInteger values |
789 | that are out of order (e.g. 5-1) | |
790 | - The sides attribute was incorrectly sent as a name | |
791 | value; it is a keyword value. | |
67474245 | 792 | - The IPP backend now detects if the destination queue |
793 | has gone away and reports an error. | |
2e32fcdb | 794 | - The scheduler and HTTP API now allocate their select() |
795 | sets to support larger numbers of clients on systems | |
796 | that support it. | |
cc6d5b1e | 797 | - The scheduler now sets the CFProcessPath environment |
798 | variable under MacOS X. | |
799 | - The cupsLangDefault() function now uses the | |
800 | CoreFoundation localization API under MacOS X. | |
f353d925 | 801 | - The httpSeparate() function didn't handle file URIs of |
802 | the form "file:///path" properly. | |
b2d75006 | 803 | - The lpadmin command now supports a "protocol" option |
804 | for specifying the binary communications protocol to | |
805 | use when printing binary PostScript data. | |
9c4b5e2e | 806 | - The scheduler did not properly parse the SystemGroup |
807 | directive, so only the first group would be used. | |
36992080 | 808 | - Revamped how strings are stored in the scheduler, |
809 | providing a substantial improvement in memory usage | |
810 | for systems with large numbers of printers. | |
610e4a98 | 811 | - The PostScript filter now supports binary PostScript |
2ddb40fe | 812 | files and files beginning with the PJL language escape |
813 | sequence. | |
49d1718a | 814 | - The PPD API now provides additional information from |
815 | the PPD file. | |
6a35dc4e | 816 | - The USB backend didn't compile on Solaris Intel. |
98c2aef5 | 817 | - The cupstestppd utility now supports the "-q" option |
818 | (quiet) for use in scripts, etc. | |
6db7190f | 819 | - Merged several weight-reducing changes into the CUPS |
820 | baseline donated by Apple. | |
dcfcaeac | 821 | - Added preliminary support for CDSA; patch provided by |
822 | Apple. | |
8bd0441f | 823 | - Implicit classes are now created from identical |
824 | printer classes on the network. | |
faa0f7b5 | 825 | - The lp command now supports a "-H restart" option to |
826 | restart previously printed jobs. This functionality | |
827 | only works if you have enabled the PreserveJobFiles | |
828 | option. | |
829 | - The scheduler now supports URIs in HTTP request lines | |
830 | to conform to the HTTP/1.1 specification. | |
cb114623 | 831 | - The time-at-xyz attributes were not recognized in |
832 | banner files if prefixed by a question mark, e.g. | |
833 | "{?time-at-creation}". | |
a684a3b0 | 834 | - Added support for pre-filtering application/pictwps |
835 | files on MacOS clients before sending them to a server | |
836 | via IPP. | |
edd85093 | 837 | - The scheduler now allows file:/dev/null device URIs |
838 | even if FileDevices is set to No. | |
7e3ba0af | 839 | - CUPS uses strerror() for hostname resolution errors, |
840 | when it should have used hstrerror(). | |
273e40d6 | 841 | - The USB backend no longer tries to guess the serial |
842 | number of a device from the USB devices file; this | |
843 | means that printers that don't report their serial | |
844 | numbers in the device ID string will not be | |
845 | individually selectable. | |
d0598693 | 846 | - The pstops filter didn't handle page ranges properly |
847 | when a page contained an embedded document. | |
cb114623 | 848 | - Added a translation of the web interface to German. |
96eae06b | 849 | - When printing using the OutputOrder=Reverse option |
850 | with duplexing, the output order is now truly | |
851 | reversed; the order of sub-pages when printing N-up is | |
852 | the same. | |
853 | - The pstops filter did not always output the extra | |
854 | blank page when printing a document with an odd number | |
855 | of pages with duplexing enabled. | |
2d850885 | 856 | - The ippAddXYZ functions no longer allow the |
857 | application to add less than 1 value. | |
5b28477f | 858 | - Fixed a URL rewrite bug in the web interface - local |
859 | access was sometimes redirected away from localhost... | |
256f3670 | 860 | - The ppdOpen() functions could get in an infinite loop |
861 | if the PPD file contained a keyword or text that was | |
862 | too large for the buffer. | |
bcf61448 | 863 | - Added preliminary support for GNU TLS; patch provided |
864 | by Jeff Licquia. | |
aea6601a | 865 | - Now timeout IPP attribute reads after 1 second inside |
866 | an attribute definition. | |
de218675 | 867 | - Now timeout connections that have been shutdown (due |
868 | to errors) after 30 seconds instead of the Timeout | |
869 | setting (300 seconds by default). This provides | |
870 | faster recovery from DoS attacks. | |
f0ad8cdc | 871 | - A denial-of-service attack warning message was being |
872 | written to the log files by the scheduler for every | |
873 | detection. This caused a DoS of its own in some | |
874 | situations. The warning message is now written no more | |
875 | than once per minute. | |
67fa1315 | 876 | - Fixed the CIE colorspace support code in the image and |
877 | PS RIPs. | |
320115a7 | 878 | - The job-quota-period, job-page-limit, and job-k-limit |
879 | attributes were not flagged as integers, so setting | |
880 | quotas would not work. | |
6e3d4276 | 881 | - Added an additional response check in the scheduler to |
882 | more quickly recover from denial-of-service attacks. | |
883 | - The cupstestppd file was incorrectly installed in the | |
884 | /usr/sbin directory instead of /usr/bin. | |
885 | - The EPM list file did not include the cupstestppd | |
886 | program or man page files. | |
887 | ||
888 | ||
759f5023 | 889 | CHANGES IN CUPS V1.1.18 |
890 | ||
e38a7cef | 891 | - Fixed a bug in the Set-Job-Attributes code in the |
892 | scheduler that would cause it to crash or continuously | |
893 | write a job control file. | |
f63a430f | 894 | - SECURITY FIX: The scheduler now provides a FileDevice |
895 | directive to control whether new printers can be added | |
896 | using device URIs of the form "file:/filename". The | |
897 | default is to not allow printers with these device | |
898 | URIs. | |
767ae392 | 899 | - The scheduler did not compute the cost of filters |
900 | properly, nor did it choose a multi-filter solution | |
901 | with a lower cost than a single filter solution. | |
00528abb | 902 | - Now install CUPS PPD file test utility (cupstestppd) |
903 | to support basic conformance testing of PPD files. | |
904 | - The scheduler now logs an error message when it sees a | |
905 | non-conforming PPD file. | |
ae65da6c | 906 | - Upgraded pdftops filter to Xpdf 2.01 with fixes for |
907 | TrueType fonts. | |
1060c9b6 | 908 | - Added a MaxClientsPerHost configuration directive to |
909 | provide limited protection against Denial of Service | |
910 | attacks. | |
901b295d | 911 | - SECURITY FIX: Potential underflow/overflow bug in web |
912 | interface. | |
913 | - SECURITY FIX: Race condition in certificate creation. | |
914 | - SECURITY FIX: Bad URIs in browse packets could be used | |
915 | to exploint the web interface underflow/overflow bug. | |
901b295d | 916 | - SECURITY FIX: Some types of Denial of Service attacks |
917 | were not handled properly, so once the attack was over | |
918 | the scheduler did not close the connections | |
919 | immediately on all platforms. | |
099f4d77 | 920 | - SECURITY FIXES: Added integer overflow/underflow |
921 | checks for all image formats. | |
9c1ee2b9 | 922 | - The pstops filter didn't reset the showpage operator |
923 | back to its original at the end of a job; this | |
924 | prevented the concatenation of documents (used | |
925 | primarily for CUPS 1.2...) | |
0e66dba3 | 926 | - The cupsGetPPD() function didn't always set the |
927 | cupsLastError() value when an error occurred. | |
daeeb91c | 928 | - The IPP media, output-bin, and sides attributes took |
929 | precedence over the corresponding PPD options, which | |
930 | caused inconsistent behavior under MacOS X with some | |
931 | PPD files. | |
dcc2e394 | 932 | - The cupsaddsmb utility specified the wrong number of |
933 | arguments to the adddriver command when adding the | |
934 | Win9x PostScript drivers. | |
dd44d54e | 935 | - The web interface did not always report the correct |
936 | error message. | |
759f5023 | 937 | - The scheduler did not clear the POSIX signal action |
938 | structure when waiting for the child to send it a | |
939 | SIGUSR1 signal; this could cause the signal handler | |
940 | not to be called properly, preventing the parent | |
941 | process from returning. | |
942 | ||
943 | ||
3cc7bca4 | 944 | CHANGES IN CUPS V1.1.17 |
945 | ||
5c826e17 | 946 | - The "manual_copies" option did not work when the LPD |
947 | backend had to retry a print job. | |
3c892427 | 948 | - The image filters did not convert GIF images properly. |
2d21c1ef | 949 | - The RunAsUser option was incompatible with the new |
950 | daemon-mode code in 1.1.16. | |
2d5e06dd | 951 | - Fixed a problem with the Set-Job-Attributes and |
952 | PostScript job ticket code in the scheduler - the | |
953 | "last" attribute pointer was never updated, which | |
954 | could cause the scheduler to crash when applying job | |
955 | ticket data. | |
956 | - Fixed a problem in the scheduler that caused it to | |
957 | continue processing HTTP requests on a connection | |
958 | after it was shutdown. | |
3d6f3b2b | 959 | - The scheduler now allows accounts authenticated via |
960 | PAM to not have a corresponding UNIX account, but | |
961 | group membership still requires the account name to be | |
962 | listed in the UNIX group file(s)... | |
673d1710 | 963 | - The scheduler used a fixed-size (16k) buffer for |
964 | encoding job options for filters; it now dynamically | |
965 | allocates and expands the buffer as needed depending | |
966 | on the options that are sent in a job. | |
8ee2dc56 | 967 | - The pdftops filter didn't support all of the MacOS |
968 | characters for MacRoman encoded fonts. | |
a7cc258b | 969 | - The cupsEncodeOptions() and cupsParseOptions() |
970 | functions now conform to the grammer defined by the | |
971 | current draft of the PAPI specification. The main | |
972 | difference is that option=yes and option=no are no | |
973 | longer treated as boolean options. | |
7914a6a1 | 974 | - The IPP backend didn't honor the encryption settings |
975 | in /etc/cups/client.conf. | |
dfac1292 | 976 | - Fixed a potential bug in the HTTP code which was |
977 | caused by servers sending the status line and | |
978 | newline(s) in separate packets. | |
13f5eff6 | 979 | - User-defined classification strings are now printed |
980 | verbatim - previously the classification box would be | |
981 | empty. | |
78143282 | 982 | - Re-added Spanish to the list of PPD languages that |
983 | CUPS supports. | |
e0578e6e | 984 | - CUPS API library user and temp file updates for |
985 | Windows. | |
f33d1239 | 986 | - The image filters did not properly handle grayscale |
987 | printing of Sun Raster images. | |
bf9e2a45 | 988 | - The scheduler never reset the NumJobs variable before |
989 | loading the job list (previously this only happened on | |
990 | a full start, so the problem was never apparent...) | |
bdbaa675 | 991 | - The HTTP and IPP read/write code didn't handle EINTR |
992 | (interrupted system call) errors. | |
993 | - When under high load, the scheduler could abort due to | |
994 | the wrong errno value after a select() call. This was | |
995 | caused by the child signal handler. | |
996 | - Added new load tests to the test target to verify that | |
997 | cupsd can handle hundreds of simultaneous jobs without | |
998 | error. | |
e1e31a38 | 999 | - The Solaris USB backend now supports the new device |
1000 | URI syntax. | |
7a1c86c5 | 1001 | - The ppdOpen*() functions now reset the numeric locale |
1002 | settings while loading a PPD file. | |
b2fdde8d | 1003 | - Fixed the libtool build rules. |
1004 | - The manpage make rules didn't use $(MAKE) and | |
1005 | $(MFLAGS) for the language subdirectories. | |
d0e4469d | 1006 | - Now set the LC_TIME locale category to get the |
1007 | properly localized time string. | |
549d1888 | 1008 | - Fixed a problem in the scheduler that would cause the |
1009 | web interface problems when adding, modifying, or | |
1010 | configuring a printer or class. | |
98904cd6 | 1011 | - The backends now ignore SIGPIPE so that failed job |
1012 | filters will not stop a print queue. | |
d47f8ebe | 1013 | - The lpstat command did not allow for destination lists |
1014 | ("lpstat -v printer1,printer2") | |
1015 | - Fixed parsing of long filter status messages in the | |
1016 | scheduler. | |
1017 | - Added some startup performance enhancements to the | |
1018 | scheduler so that the printer object information is | |
1019 | regenerated fewer times and the MIME type database is | |
1020 | not filled with lots of empty filters for raw/direct | |
1021 | queues. | |
854d3bb2 | 1022 | - The LPD backend now sends the job title as the print |
1023 | filename. | |
137d4d44 | 1024 | - Added support for variable sizes in the EPSON dot |
1025 | matrix printer drivers. This allows for pages as | |
1026 | short as 1/2" (1 row of labels) and does not do an | |
1027 | automatic form feed. | |
1028 | - French translation updates. | |
e639fb32 | 1029 | - The filters did not quote the page label string when |
1030 | embedding it in PostScript output. | |
3cc7bca4 | 1031 | - The serial backend now enumerates serial ports under |
1032 | MacOS X. | |
1033 | - The pdftops filter contained font rasterizer code that | |
1034 | wasn't being used and that depended on X11. This code | |
1035 | has been removed. | |
1036 | ||
1037 | ||
06415a96 | 1038 | CHANGES IN CUPS V1.1.16 |
1039 | ||
727e6d14 | 1040 | - The cancel and lprm commands now both display an error |
1041 | message and return a non-zero exit status if an | |
1042 | attempt is made to cancel a job on a non-existent | |
1043 | printer. | |
1044 | - The lpoptions command incorrectly complained if a | |
1045 | request to delete a non-existent printer was made. | |
807a1ef5 | 1046 | - If the client.conf file defines an alternate server |
1047 | name, the "configure printer" action in the web | |
1048 | interface might not work. | |
7cc9aebd | 1049 | - The lpstat command now supports a "-W" option so that |
1050 | you can display completed jobs as well as | |
1051 | not-completed (pending) jobs. | |
a1ca1702 | 1052 | - The lp and lpr commands did not return an error when |
1053 | one or more files in a set of files for printing could | |
1054 | not be printed. | |
3b8ff70f | 1055 | - The lp, lpadmin, and lpstat commands now consistently |
1056 | return with a non-zero exit status when an error | |
1057 | occurs. | |
db628f45 | 1058 | - The scheduler would not accept print jobs sent to a |
1059 | stopped remote printer. | |
da1bfd3d | 1060 | - The texttops filter incorrectly converted the page |
1061 | numbers in the prettyprint header to double-byte | |
1062 | characters when printing a non-Unicode text file. This | |
1063 | caused an extra space to appear between each digit in | |
1064 | the page number. | |
da312e94 | 1065 | - The scheduler did not use a case-insensitive |
1066 | comparison when adding filters for a printer. | |
be8c3862 | 1067 | - Upgraded the pdftops filter to Xpdf 1.01. |
801766ac | 1068 | - The scheduler no longer passes the page-border and |
1069 | number-up-layout attributes to filters when printing | |
1070 | banner pages. | |
25037b2b | 1071 | - The LPD backend now uses a 30-second timeout when |
1072 | sending commands and control files, and a 30-second | |
1073 | timeout when retrieving responses from an LPD server. | |
1aef57ed | 1074 | If a timeout occurs, it retries indefinitely. This |
25037b2b | 1075 | helps to make LPD printing over VPNs work more |
1076 | reliably. | |
a9219725 | 1077 | - The USB backend now supports device URIs based on the |
1078 | printer serial number and/or model number under Linux. | |
1079 | This avoids the "wrong device filename" problem when | |
1080 | using more than one USB printer. | |
c3c5af5e | 1081 | - Now just shutdown the receiving end of a client |
1082 | connection when sending an error that requires the | |
1083 | server to disconnect from the client afterwards. This | |
1084 | fixes a problem when doing remote administration with | |
1085 | encryption enabled. | |
b05809b0 | 1086 | - The scheduler did not send a printer-state-message |
1087 | attribute if the string was empty; it now always sends | |
1088 | this attribute. This caused the printer message to be | |
1089 | displayed for other printers in the web interface. | |
04e01993 | 1090 | - The LPD backend now supports a "manual_copies" option, |
1091 | e.g.: "lpd://server/queue?manual_copies=no", in order | |
1092 | to handle copies for raw jobs to printers that don't | |
1093 | implement the LPD protocol properly... | |
a05e4307 | 1094 | - The "mirror" option was not being handled by the |
1095 | PostScript or image filters. | |
f7696015 | 1096 | - Updated the cupsaddsmb command to support the new CUPS |
1097 | driver for Windows NT/2k/XP. | |
de659667 | 1098 | - Filter status lines longer than 1023 characters could |
1099 | cause the scheduler to get into an infinite loop. | |
aa25b9e1 | 1100 | - The scheduler didn't reset the job state to pending |
1101 | when modifying an active printer. | |
6ed689f8 | 1102 | - Now limit the maximum number of recursion steps when |
1103 | searching for a filter for a job, in case a user | |
1104 | defines a circular filter rule. | |
1105 | - The PostScript filter would embed an invalid | |
1106 | requirements comment in some cases. | |
56e9c951 | 1107 | - Added support for embedded job tickets in PostScript |
1108 | files. | |
5ca43bfd | 1109 | - The PostScript filter now detects EPS files and should |
1110 | better handle printing EPS files. | |
5ae53c1e | 1111 | - The cancel command now ignores a trailing destination |
1112 | name when cancelling a specific job ID (Solaris | |
1113 | compatibility). | |
879062a9 | 1114 | - The scheduler now rejects jobs with copies outside the |
da956953 | 1115 | range of 1 to MaxCopies, inclusive. |
1116 | - Added new MaxCopies directive to set the maximum | |
1117 | number of copies that a user can request. | |
879062a9 | 1118 | - The scheduler didn't block signals while it processed |
1119 | others and when it forked processes. | |
5ae53c1e | 1120 | - The scheduler checked for new jobs to print when |
1121 | stopping a job. This caused jobs to restart before a | |
1122 | shutdown. | |
098f80c5 | 1123 | - Updated the CUPS startup script to better support |
1124 | different timezones and to support the RedHat/Mandrake | |
1125 | init script functions, if available. | |
e426d516 | 1126 | - The scheduler did not properly handle backslashes in |
1127 | banner files; it incorrectly assumed that "\c" should | |
1128 | always be replaced by "c", instead of only looking for | |
1129 | "\{" and replacing it by "{". | |
90ca6406 | 1130 | - The texttops filter didn't handle prettyprint=no. |
1131 | - The text and HP-GL/2 filters didn't check for other | |
1132 | common duplex option names like cupsMarkOptions() did. | |
c56db294 | 1133 | - "lpoptions -x printer" no longer clears the "default |
1134 | printer" status of the printer. | |
3f1897d4 | 1135 | - cupsTempFd() now stops trying to create a temporary |
1136 | file after 1000 tries, and aborts on any error other | |
1137 | than EEXIST. This should prevent lp/lpr hangs due to | |
1138 | a bad or missing temporary directory. | |
5a3ef28d | 1139 | - The lpadmin command did not send the right URI to the |
1140 | scheduler when setting options on classes. This | |
1141 | caused a client-error-bad-request error. | |
e354b6e3 | 1142 | - The CUPS API convenience functions would attempt to |
1143 | connect to the remote server name in a | |
1144 | "printer@server" printer name instead of dealing with | |
1145 | the default (usually local) server. Aside from | |
1146 | causing user confusion, the remote server name might | |
1147 | not be resolved properly, causing further problems. | |
f2320e2d | 1148 | - "lp -q" would cause the "lp" command to segfault, as |
1149 | the program would try to print the option letter that | |
1150 | caused the error using the wrong index into the | |
1151 | command-line; bugfix from Debian. | |
f2ffec40 | 1152 | - Fixed a minor inconsistancy in the encoding of boolean |
1153 | attributes from printer options in | |
1154 | cupsEncodeOptions(). | |
42ede8a2 | 1155 | - Added a FilterNice directive which sets the priority |
1156 | of job filter processes that are run by the scheduler. | |
93704f20 | 1157 | - Added Solaris x86 USB printer support. |
34f927d3 | 1158 | - The USB backend now reports both the ulpt and unlpt |
1159 | devices under *BSD. | |
78ab59ae | 1160 | - The "lpstat -o" command would truncate the |
1161 | "printer-jobid" string if it was longer than 21 | |
1162 | characters. | |
1163 | - The PJL-based MIME type rules now look in the first | |
1164 | 1024 bytes instead of just the first 512 bytes to find | |
1165 | the language mode. | |
1166 | - The image file types are now listed explicitly in the | |
1167 | mime.convs file so that additional image file formats | |
1168 | do not use the standard CUPS image filters by default. | |
1169 | - Updated the Software Programmers Manual to include | |
1170 | all of the CUPS API functions. | |
cefea041 | 1171 | - ppdOpen*() no longer sorts choices for an option. |
ce691c0f | 1172 | - The web interface now enforces constraints in PPD |
1173 | files when configuring a printer. | |
3733593d | 1174 | - When stopping a printer, the scheduler didn't set the |
1175 | printer state before stopping the current job. | |
a56289b6 | 1176 | - The cupsaddsmb utility now lists all data files for |
1177 | Win9x and WinMe clients when installing that Windows | |
1178 | driver. | |
997cf8b0 | 1179 | - Jobs submitted to a class now bounce immediately to |
1180 | the next available printer rather than waiting until | |
1181 | that printer is available. | |
1182 | - Filters and backends now also get the CLASS | |
1183 | environment variable set when a job is printed to a | |
1184 | printer class instead of a normal printer. | |
1185 | - Added French translations of the web interface, CUPS | |
1186 | Overview, Software Administrators Manual, and Software | |
1187 | Users Manual contributed by Marian REYT-LLABRES. | |
6b7de82f | 1188 | - Added several "hint" messages for common configuration |
1189 | problems that are stored in the error_log file. | |
1190 | - httpSeparate() now unquotes %xx characters in the | |
1191 | username:password field of a URI. | |
5fe35f41 | 1192 | - When starting the scheduler in daemon mode, the parent |
1193 | process now waits for the child to signal it is ready | |
1194 | to accept connections. | |
1195 | - Added -F option to cupsd to run cupsd in the | |
1196 | foreground but detach from the controlling terminal | |
1197 | and current directory. | |
1198 | - The scheduler did not reload jobs when receiving a HUP | |
1199 | signal; this would cause problems since the pointers | |
1200 | into the file type database would no longer be valid | |
1201 | for existing jobs. | |
1202 | - The scheduler did not save the network interface list | |
1203 | update time, thus no caching of the network data was | |
1204 | actually provided. | |
1205 | - Updated the SuSE PAM configuration file. | |
9ba7fc54 | 1206 | - The LPD backend now supports a "reserve" option and no |
1207 | longer reserves a priviledged port by default. | |
bdfe4c00 | 1208 | - The cupsaddsmb command now continues past printers |
1209 | that do not have a PPD file to export. | |
19f699df | 1210 | - The lpstat command didn't treat printer names as |
1211 | case-insensitive. | |
1212 | - The lpstat command now reports the printer location | |
1213 | attribute with "lpstat -l -p". | |
c5488f2f | 1214 | - Fixed a bug in the vsnprintf() emulation function, |
1215 | which was used on old versions of HP-UX, IRIX, and | |
1216 | Solaris. | |
b91c8a76 | 1217 | - The number-up option was incorrectly being used when |
1218 | printing banner pages. | |
4f759211 | 1219 | - Added support for Greek and Slovak PPD files. |
aa37e40e | 1220 | - CUPS now supports printer names containing any |
1221 | printable character, e.g. "123-abc", "foo-bar", etc. | |
d958c5cf | 1222 | - The null filter was not supported in mime.convs due to |
1223 | a bug in the filter validation code. | |
3a74d6bf | 1224 | - Changes in the default printer and printer attributes |
1225 | were not always reflected in the generated printcap | |
1226 | file. | |
8ce19460 | 1227 | - Implicit classes did not inherit the location or |
1228 | description from member printers. | |
fabb006b | 1229 | - The httpGetHostByName() function did not handle |
1230 | hostnames that started with a number. | |
1f1822fd | 1231 | - Updated the filters to use the %cupsRotation comment |
904eef76 | 1232 | instead of %%Orientation to auto-rotate pages, since |
1233 | the use of %%Orientation is inconsistent. | |
d9e72533 | 1234 | - Added the RootCertDuration directive to control how |
1235 | often the root authentication certificate is updated. | |
375a0ad5 | 1236 | - Increased the size of the IPP write buffer to 32k to |
1237 | allow for larger attribute values and to provide more | |
1238 | efficient output of large numbers of attributes. | |
7ed5d5f2 | 1239 | - The polling daemon now retries the initial connection |
1240 | to the remote server; this fixes a problem when the | |
1241 | remote server is unavailable when the scheduler starts | |
1242 | up... | |
19e7b382 | 1243 | - The scheduler didn't validate Digest users against the |
1244 | system group(s), so Digest and BasicDigest | |
1245 | authentication didn't work for administration | |
1246 | operations. | |
103abc03 | 1247 | - The scheduler now passes the SHLIB_PATH environment |
1248 | variable to child processes (HP-UX shared libraries) | |
06415a96 | 1249 | - The scheduler now maps accesses from the loopback |
1250 | interface to "localhost". | |
1251 | - The cups-lpd mini-daemon sent a status code byte in | |
1252 | response to queue state commands, but those commands | |
1253 | only return textual data. | |
1254 | ||
1255 | ||
7680b71d | 1256 | CHANGES IN CUPS V1.1.15-1 |
1257 | ||
1258 | - The lpc and lprm sources didn't include the CUPS | |
1259 | string function header, which is required on systems | |
1260 | that don't have their own snprintf() function. | |
1261 | - The French manpage Makefile tried to install the | |
1262 | language subdirectories when it (obviously) didn't | |
1263 | have to. | |
1264 | ||
1265 | ||
74cfdb8b | 1266 | CHANGES IN CUPS V1.1.15 |
1267 | ||
dab1a4d8 | 1268 | - Updated the CUPS license agreement for the new MacOS |
1269 | license exception. | |
611e4623 | 1270 | - The printer-info attribute now defaults to the printer |
1271 | name if no value has been set. | |
52900e4c | 1272 | - ppdOpen() and friends now add an "Auto" InputSlot |
1273 | option if none is provided to automatically select the | |
1274 | correct tray. | |
ed6078a4 | 1275 | - Updated the ppdEmit() and ppdEmitFd() functions to |
1276 | (re)mark the correct PageSize or PageRegion option | |
1277 | depending on the selected ManualFeed or InputSlot | |
1278 | options. | |
1279 | - ppdEmitFd() didn't handle custom page sizes. | |
1280 | - Darwin uses <pam/pam_appl.h> instead of | |
1281 | <security/pam_appl.h>. | |
fba7409c | 1282 | - The jobs.cgi web interface now handles all job |
1283 | operations, allowing the administrator to allow "job | |
1284 | administrators" or operators to manage jobs (but not | |
1285 | queues) on the server. | |
1286 | - The cupsDoFileRequest() function now checks if the | |
1287 | filename passed into the function is a directory, and | |
1288 | returns the IPP_NOT_POSSIBLE error if so. | |
1289 | - New SCSI printer backend. | |
a594463b | 1290 | - Cleaned up handling of locales with trailing character |
1291 | set definitions. | |
a319615f | 1292 | - Fixed handling of invalid PPD attributes inside |
1293 | OpenUI/CloseUI. | |
b92c5a4f | 1294 | - Fixed a problem with SSL and the job, printer, and |
1295 | admin CGIs on ports other than 443. | |
b47f3ce5 | 1296 | - The scheduler didn't handle AuthClass properly. |
e6fc9c68 | 1297 | - Added French translation of man pages. |
a8ee4682 | 1298 | - Updated the text filter to support the const_cast, |
1299 | dynamic_cast, and static_cast keywords in ISO C++. | |
def978d5 | 1300 | - Now use strlcat() and strlcpy() (or emulation |
1301 | functions) for easier string/buffer protection. | |
7b40ae49 | 1302 | - The auto-generated printcap/printers.conf files now |
1303 | have a small comment header explaining where the file | |
1304 | comes from... | |
6df23e27 | 1305 | - The PostScript filter now supports 6, 9, and 16-up |
ed6078a4 | 1306 | output, as well as new page-border and |
6df23e27 | 1307 | number-up-layout options. |
415199da | 1308 | - The lpoptions command didn't set options properly when |
1309 | using the default printer. | |
1310 | - Added ConfigFilePerm and LogFilePerm directives. | |
1311 | - Increased maximum size of MIME types to IPP_MAX_NAME | |
1312 | to allow for longer printer names. | |
1313 | - No longer create remote printers when loading job | |
1314 | history data. | |
1315 | - The printer-make-and-model attribute wasn't set when | |
1316 | the PPD file didn't contain a NickName attribute. | |
1317 | - Now handle PPD files with translation strings longer | |
1318 | than 80 bytes - they are truncated if they go over... | |
c47e97cc | 1319 | - The scheduler didn't handle signals until after it |
1320 | loaded the configuration files the first time; this | |
1321 | caused problems on some installations that would | |
1322 | restart the scheduler as the system booted into run | |
1323 | level 3. | |
1324 | - Now throttle broadcasts like we do for polling. | |
0203af93 | 1325 | - Fixed a bug in the reading of PPD files using CR's |
1326 | instead of CR LF's or LF's. | |
151718ce | 1327 | - The scheduler would crash if cupsd.conf contained a |
1328 | BrowseProtocols line with no protocols listed. | |
b05e8e24 | 1329 | - The HTML job operation templates now link back to the |
1330 | destination printer or class. | |
69d74c4b | 1331 | - The serial backend now detects USB serial devices. |
238bae16 | 1332 | - The LPD mini-daemon (cups-lpd) now passes the |
1333 | job-originating-host-name attribute to the scheduler | |
1334 | (cupsd). | |
a4e23897 | 1335 | - Updated the IPP backend to reconnect after downgrading |
1336 | from IPP/1.1 to 1.0, and when sending requests to HP | |
1337 | JetDirect interfaces that don't support HTTP | |
1338 | Keep-Alive like they should. | |
1cf29e95 | 1339 | - Now pass NLSPATH and DYLD_LIBRARY_PATH environment |
1340 | variables, if defined, to CGI and job processes. | |
1341 | - Removed the pstoraster filter (based on GNU | |
1342 | Ghostscript 5.50) and now provide the raster "driver" | |
1343 | and patch file necessary to use the current GNU | |
1344 | Ghostscript 7.05 release. | |
1345 | - Removed unnecessary fonts and updated the Courier and | |
1346 | Symbol fonts to the latest versions to better support | |
1347 | non-ISOLatin1 text. | |
1348 | - The text filter now always embeds the Courier and | |
1349 | Symbol fonts to ensure that they contain the full set | |
1350 | of glyphs. | |
576b82ca | 1351 | - The lp and lpr commands now only override the SIGINT |
1352 | handler if it is not being ignored (patch from Robert | |
1353 | Ambrose for some interactive software that catches | |
1354 | SIGINT and will gracefully cancel the print...) | |
350807be | 1355 | - The PostScript image filter (imagetops) now supports |
1356 | printing CMYK images using the CMYK colorspace. | |
1357 | - The image filters now support CMYK JPEG files, and | |
1358 | correctly handles the inverted files from Photoshop | |
1359 | (which seems to save RGBW data, not CMYK...) | |
e3bf38b3 | 1360 | - Added a "check" target to the top-level makefile to |
1361 | conform with GNU standards (same as "test"). | |
746265a5 | 1362 | - The IPP code didn't always map the POSIX locale "C" to |
1363 | the proper IPP language code. | |
32f78676 | 1364 | - The cupsaddsmb program was updated to use the |
1365 | setdriver command instead of addprinter. | |
934ef66d | 1366 | - Banner pages were not handled properly for implicit |
1367 | classes. | |
7200e26c | 1368 | - When tunneling to a remote system using SSH, the |
1369 | printer URIs for local printers on the remote system | |
1370 | did not reflect the correct port number. | |
d7a9de63 | 1371 | - The Allow, Deny, BrowseAllow, BrowseDeny, and |
1372 | BrowseAddress directives now support the network | |
1373 | interface names "@LOCAL" and "@IF(name)" for access | |
1374 | control and browsing based on the current interface | |
1375 | addresses instead of fixed names or IP addresses. | |
2a55786c | 1376 | - The texttops filter did not properly recognize the |
1377 | "nowrap" (wrap=false) option. | |
83575f2d | 1378 | - The InstallableOptions group name in a PPD file is now |
1379 | translated separately (CUPS_MSG_OPTIONS_INSTALLED) so | |
1380 | that UIs can accurately detect the presence of this | |
1381 | group. | |
f4647930 | 1382 | - The scheduler no longer keeps job history data for |
1383 | remote printers on the client (just on the server.) | |
4c2096b8 | 1384 | - The parallel and USB backends now retry if the backend |
1385 | detects that the printer is not connected to the | |
1386 | system (rather than stopping the queue...) | |
1387 | - The network backends now retry if the backend detects | |
1388 | that the printer is not connected to the network or is | |
1389 | unreachable (rather than stopping the queue...) | |
c672a858 | 1390 | - The cupsGetDests() function no longer lists options |
1391 | and instances for printers that no longer exist. | |
31e65f97 | 1392 | - The scheduler now converts the document language to |
1393 | the correct LANG string. | |
8c47c4b4 | 1394 | - The cupsaddsmb program now supports alternative CUPS |
1395 | and SAMBA server names. | |
40a0e1d1 | 1396 | - The PostScript filter now supports the Orientation |
1397 | comment and rotates the page as needed automatically. | |
f915b00f | 1398 | - Revamped the makefiles slightly to use automatically |
1399 | generated dependencies. | |
1400 | - Build fixes for OS X. | |
a1028786 | 1401 | - The TIFF reading code depended on the newest version |
1402 | of libtiff; now conditionally compile that portion of | |
1403 | the loader. | |
bbc1bfe5 | 1404 | - The PPD code now decodes all JCL options in the |
1405 | JCLSetup group, not just those options that start with | |
1406 | the prefix "JCL". | |
267cf96a | 1407 | - The backends now read print data using the read() |
1408 | system call to ensure that the current page is printed | |
1409 | while the next page is being processed. | |
2f7be6ff | 1410 | - The pdftops filter did not support shading type 3 |
1411 | (radial fill) for the "sh" operator. | |
dab1a4d8 | 1412 | - The cups-polld program now throttles the local |
1413 | broadcasts of polled printers and classes so that the | |
1414 | local system is not overwhelmed with hundreds of | |
1415 | printers and classes all at once. | |
1416 | - Updated the serial backend to support 230,400 baud for | |
1417 | the Linux PPC port. | |
59168282 | 1418 | - The cupsGetJobs() function wouldn't report completed |
1419 | jobs that did not have a document-format attribute | |
1420 | value. | |
1c9c423b | 1421 | - The cupsEncodeOptions() function now maintains a table |
1422 | of known boolean and numeric options, and encodes all | |
1423 | other options as strings. | |
f918a565 | 1424 | - Now add a newline before the end-of-page code in the |
1425 | PostScript filter; this fixes a problem with files | |
1426 | that don't end with a newline. | |
a28d12c5 | 1427 | - The image filters looked for the "orientation" option |
1428 | instead of the correctly named "orientation-requested" | |
1429 | option. | |
74cfdb8b | 1430 | - The cupsEncodeOptions() function now handles mixed |
1431 | integers and ranges. | |
1432 | - New translation guide for developers to provide native | |
1433 | language support for CUPS. | |
1434 | ||
1435 | ||
ee8b7dd3 | 1436 | CHANGES IN CUPS V1.1.14 |
1437 | ||
843779ef | 1438 | - The ippRead() function did not verify that the |
ba31b514 | 1439 | attribute name length or string with language value |
1440 | was not larger than the read buffer. | |
e2943c5f | 1441 | - The scheduler set the signal handlers before loading |
1442 | the configuration files the first time; this prevented | |
1443 | the RunAsUser directive from blocking server reloads. | |
5fd84fcc | 1444 | - Added Swedish message catalog. |
0e1f4bec | 1445 | - The parallel backend now recognizes the /dev/printers |
1446 | device directory under Linux 2.4.x. | |
ba31b514 | 1447 | - MacOS X fixes. |
1448 | - The cupsaddsmb utility sent the server name after the | |
1449 | user information when executing the rpcclient program. | |
1450 | This caused problems with some versions of SAMBA | |
1451 | 2.2.x. | |
ee8b7dd3 | 1452 | - The IPP backend did not pass the requesting user name |
1453 | when checking on the print job status. This prevented | |
1454 | it from waiting for the job to complete when | |
1455 | communicating with some IPP implementations that | |
1456 | require it. | |
1457 | ||
1458 | ||
d2503e02 | 1459 | CHANGES IN CUPS V1.1.13 |
1460 | ||
28a96fe2 | 1461 | - The lpstat command did not report jobs submitted to |
1462 | regular printer classes. | |
0f74081c | 1463 | - The texttops filter didn't use sufficient precision |
1464 | when positioning text with some values of cpi and lpi. | |
1465 | This could cause the alignment of text to stray. | |
0ffae44c | 1466 | - cupsGetDests() didn't merge the options from the |
1467 | /etc/cups/lpoptions file with ~/.lpoptions - options | |
1468 | in ~/.lpoptions overrode them completely. | |
1469 | - Added support for KOI8-R and KOI8-U character sets, | |
1470 | and added several Russian message catalogs. | |
bd726d0d | 1471 | - The scheduler put the wrong timezone offset in the log |
1472 | files (e.g. +0500 instead of -0500 for EST...) | |
1473 | - The scheduler did not ignore trailing whitespace in | |
1474 | *.convs files. | |
db911fcb | 1475 | - The scheduler now forces all processes to exit (kill |
1476 | -9) when it is stopped. This prevents parallel and | |
1477 | USB devices from running in the background after cupsd | |
1478 | goes away. | |
7c587866 | 1479 | - The cupsParseOptions() function didn't skip trailing |
1480 | whitespace after quoted values. | |
c3026ddc | 1481 | - More changes to support CUPS on OS/2. |
24e80caf | 1482 | - Added Simplified Chinese message catalog. |
9495ba14 | 1483 | - Added PAM support for IRIX. |
c6e1ca5d | 1484 | - The cupsGetPPD() function didn't remove the @server |
1485 | portion of the printer name, and since it would | |
1486 | connect immediately to the remote server instead of | |
1487 | the local server, the printer would not be found. | |
8b8cca8e | 1488 | - Classification and page labels were not rotated to |
1489 | match the page orientation. | |
9ae34eb7 | 1490 | - Now set the TCP "no delay" option on network |
1491 | connections to improve performance/response time. | |
1492 | - Improved the IRIX printing tools support with patches | |
1493 | from Andrea Suatoni. | |
1494 | - Added a new PrintcapGUI directive to specify the GUI | |
1495 | option panel program to use for the IRIX printing | |
1496 | tools support. | |
1497 | - The cupsGetDests() function did not check to see if a | |
1498 | user-defined default printer (set via lpoptions) still | |
1499 | existed. | |
1500 | - The pstops filter no longer assumes that the default | |
1501 | dictionary is writable when doing N-up processing. | |
bbfcd9c7 | 1502 | - The pstops filter now supports printing N-up with the |
1503 | page-set option. | |
873a6f43 | 1504 | - The imagetoraster filter now supports direct printing |
1505 | of CMYK image data without conversion/correction. | |
d1c2727f | 1506 | - The IPP backend now reports printer state/error |
1507 | conditions when possible (toner low, media empty, | |
1508 | etc.) | |
bd73c81f | 1509 | - The lpstat command now supports the (undocumented) |
1510 | IRIX -l option ("-lprintername") for a compact job | |
1511 | listing for a printer. | |
1512 | - The lpstat command now includes printer date/time | |
1513 | information in the output (always Jan 01 00:00) to | |
1514 | make third-party tools happy. | |
18843e59 | 1515 | - The text filter now supports non-integer cpi and lpi |
1516 | values. | |
dd5f3453 | 1517 | - The Margins field in the CUPS raster header was not |
1518 | initialized by the pstoraster filter. | |
9aa1f763 | 1519 | - Added --with-optim="flags" option to configure script. |
1520 | - Updated the Italian message translations. | |
1521 | - Updated the cups.list file to install the correct | |
1522 | files. | |
1523 | - The pstoraster filter accessed the third element of a | |
1524 | 2 element array. | |
5f46b7d1 | 1525 | - The scheduler did not setup a status pipe for polling |
1526 | processes, so error messages went to whatever file | |
1527 | descriptor 2 was pointing to when they were started. | |
5fb5dab7 | 1528 | - The httpMD5Final() function didn't put a colon between |
1529 | the password and nonce strings. | |
c5de57af | 1530 | - The pstops filter did not default to Binary data for |
1531 | "%%BeginData:". | |
4a7e6692 | 1532 | - The pstops filter did not stop processing when a line |
1533 | containing a CTRL-D is seen. | |
aba2fa7e | 1534 | - The scheduler no longer replaces the JobSheets values |
1535 | from the printers.conf and classes.conf files with the | |
1536 | classification level, if set. This way the original | |
1537 | banner settings are preserved when classification | |
1538 | levels are changed or turned off. | |
8d5eb22e | 1539 | - The serial backend didn't drain the output queue, nor |
1540 | did it restore the original settings. | |
d2503e02 | 1541 | - Updated the default system group under MacOS X. |
1542 | - If no SystemGroup was defined in cupsd.conf, the | |
1543 | system default group was not used. | |
1544 | - The cups-lpd mini-daemon now supports LPD clients that | |
1545 | send multiple control files. | |
1546 | - httpConnectEncrypt() now always uses encryption for | |
1547 | connections on port 443, since port 443 is reserved | |
1548 | for the "https" scheme. | |
1549 | - Group authentication via certificates did not work | |
1550 | from the web interface for accounts other than | |
1551 | "root". | |
1552 | - The serial port backend did not clear the OPOST | |
1553 | option, which could cause problems with some printers. | |
1554 | - The cups-lpd mini-daemon didn't lookup the client IP | |
1555 | address properly. | |
1556 | - The parallel backend now identifies the polled and | |
1557 | interrupt-driven devices under *BSD. | |
1558 | - The scheduler allowed the "always" encryption mode | |
1559 | inside a Location, which is not valid. | |
1560 | - The CUPS startup script now checks for the timezone | |
1561 | information under Linux. | |
1562 | - Now also map the sides attribute to the JCLDuplex | |
1563 | option (if present) in PPD files. | |
1564 | - Updated pdftops to Xpdf 0.93a. | |
1565 | - Added support for MD5 passwords under Slackware. | |
1566 | - Added new AuthType BasicDigest that does Basic | |
1567 | authentication using the MD5 password file managed by | |
1568 | the lppasswd command. | |
1569 | - The banner page attribute substitution code now | |
1570 | retains {name} sequences in banner files when the | |
1571 | named attribute is undefined. Use {?name} to | |
1572 | conditionally substitute an IPP attribute. | |
1573 | - The scheduler now ensures that the ServerRoot | |
1574 | directory and configuration files are owned by and | |
1575 | writable by the User and Group in cupsd.conf. | |
1576 | - The USB backend now lists all USB printer devices | |
1577 | regardless of whether a printer is connected or not. | |
1578 | This allows new USB printers to be connected without | |
1579 | restarting cupsd. | |
1580 | - Added some more minor performance tweeks to the IPP | |
1581 | protocol code to reduce copying and array indexing. | |
1582 | - The cupsaddsmb utility now uses the -c option with | |
1583 | smbclient and rpcclient to avoid the read length limit | |
1584 | for commands on the standard input. | |
1585 | - Added an include file to the CRD handling code in | |
1586 | pstoraster so that it would compile properly on 64-bit | |
1587 | pointer platforms... | |
1588 | ||
1589 | ||
1590 | CHANGES IN CUPS V1.1.12 | |
1591 | ||
1592 | - Added "Polish" to the list of known languages for PPD | |
1593 | files. | |
1594 | - Added missing directory definition to cups-config. | |
1595 | - The CUPS-Move-Job operation did not set the | |
1596 | destination type for the new destination. | |
1597 | - The CUPS-Add-Printer operation did not support the | |
1598 | allow=all or deny=none values to clear the per-user | |
1599 | printer ACLs. | |
1600 | - The SetPrinterAttrs() function did not handle invalid | |
1601 | PPD files that were missing the required NickName | |
1602 | attribute. It now looks for NickName, ModelName, and | |
1603 | then substitutes the string "Bad PPD File" for the | |
1604 | printer-make-and-model attribute. | |
1605 | ||
1606 | ||
1607 | CHANGES IN CUPS V1.1.11 | |
1608 | ||
1609 | - Added support for embedded TrueType fonts in PDF | |
1610 | files. | |
1611 | - Added support for PostScript functions in PDF | |
1612 | files. | |
1613 | - Added new "cupsaddsmb" utility for exporting | |
1614 | CUPS printer drivers to SAMBA/Windows clients. | |
1615 | - Added preliminary support for Darwin/MacOS X. | |
1616 | - The CUPS-Add-Printer operation no longer allows | |
1617 | arbitrary scheme names in device URIs to be used - it | |
1618 | now restricts the available schemes to those found in | |
1619 | the device list (lpinfo -m). | |
1620 | - The ippRead() and ipp_read_file() functions could not | |
1621 | handle more than IPP_MAX_VALUES (100) values in a | |
1622 | 1setOf attribute. These functions have been updated | |
1623 | to dynamically allocate more memory as needed, and the | |
1624 | IPP_MAX_VALUES constant now represents the allocation | |
1625 | increment. [this caused some versions of the | |
1626 | GIMP-print drivers to fail since the number of media | |
1627 | options exceeded 100...] | |
1628 | - The scheduler could crash when BrowseShortNames | |
1629 | was set to "No". | |
1630 | - The scheduler did not prevent MaxClients from being | |
1631 | set to 0, which could cause the scheduler to go in an | |
1632 | infinite loop when accepting a request. | |
1633 | - Made some performance optimizations in the ippRead() | |
1634 | functions to make IPP request/response processing | |
1635 | faster. | |
1636 | - The accept/reject/enable/disable command did not | |
1637 | support properly support the "-h" or default | |
1638 | server name. | |
1639 | - The scheduler did not save the quota configuration | |
1640 | when the job-quota-period attribute was set to 0. | |
1641 | - The LPDEST and PRINTER environment variables did not | |
1642 | support printer instances. | |
1643 | - The text filter now handles more types of boldface and | |
1644 | underline formatting. | |
1645 | - The cupsTempFd() function did not fail if the | |
1646 | temporary directory did not exist; this would cause it | |
1647 | to loop indefinitely instead of returning an error | |
1648 | (-1). | |
1649 | - Stopping (disabling) a printer class did not stop jobs | |
1650 | from printing to printers in that class. | |
1651 | - The cupsGetDests() function was sending the | |
1652 | requested-attributes attribute as a name instead of a | |
1653 | keyword; this caused a serious performance problem on | |
1654 | slower systems since more information had to be | |
1655 | transferred from server to client. | |
1656 | - The web interfaces did not always quote < and & in | |
1657 | things like the job title. This had the potential for | |
1658 | browser-based security violations (on the browser's | |
1659 | machine); bug report from SuSE. | |
1660 | - The scheduler now treats unauthenticated usernames as | |
1661 | case-insensitive when doing quota and allow/deny | |
1662 | processing. | |
1663 | - The lp command sent the "request ID is ..." message | |
1664 | to stderr instead of stdout... | |
1665 | - The PostScript filter (pstops) now handles EPS files, | |
1666 | adding a showpage command to the files as needed. | |
1667 | - The configure script checked for the <stdlib.h> header | |
1668 | file before the JPEG libraries; since the JPEG headers | |
1669 | can define HAVE_STDLIB_H, the configure check would | |
1670 | cause the JPEG check to fail on some systems. | |
1671 | - The scheduler now supports localized banner files, | |
1672 | using the subdirectory approach, e.g. the "es" | |
1673 | subdirectory under /usr/share/cups/banners is used for | |
1674 | the Spanish banner files. | |
1675 | - Updated the scheduler so it knows the correct | |
1676 | language abbreviation to use for all supported | |
1677 | PPD LanguageVersion values. The new code also | |
1678 | supports country codes as well, so "English-GB" | |
1679 | maps to the "en_GB" locale. | |
1680 | - The cups-lpd mini-daemon did not support | |
1681 | anonymous printing (no username specified). | |
1682 | While the username is REQUIRED by RFC-1179, | |
1683 | MacOS clients do not send the REQUIRED username | |
1684 | information when printing via LPD. | |
1685 | - Added many warning and informational messages | |
1686 | to cups-lpd where they were missing. | |
1687 | - Added Czech message file contributed by SuSE. | |
1688 | - The cups-lpd mini-daemon now returns a non-zero | |
1689 | status if an invalid destination or job ID is | |
1690 | provided. | |
1691 | - The scheduler did not honor the KeepAlive setting in | |
1692 | cupsd.conf. | |
1693 | - Increased the size of the file read/write buffers to | |
1694 | 32k. | |
1695 | - *BSD static library creation fixes. | |
1696 | - Use mkstemps() instead of tmpnam() in pdftops whenever | |
1697 | possible. | |
1698 | - Added httpGetHostByName() function as a wrapper around | |
1699 | gethostbyname() - some implementations of this | |
1700 | function do not support IP addresses (e.g. MacOS X.) | |
1701 | - Added casts to all printf's of file lengths, since | |
1702 | there is currently no standard way of formatting long | |
1703 | long values. | |
1704 | - The client filename field was not cleared in all | |
1705 | instances, resulting in old form data being submitted | |
1706 | to CGIs. | |
1707 | - The httpConnect*() functions now try all available | |
1708 | addresses for a host when connecting for the first | |
1709 | time. | |
1710 | - The pstoraster filter would "lose" all drawing | |
1711 | commands when the PageSize was set but the printer | |
1712 | bitmap was not reallocated. This was most noticeable | |
1713 | with the output from StarOffice 6 beta and would | |
1714 | result in a blank page being output... | |
1715 | - The IPP backend was sending a PAGE comment even when | |
1716 | printing the output from a filter (it should only send | |
1717 | page comments when printing files directly...) | |
1718 | - The pdftops filter didn't properly map glyph names of | |
1719 | embedded Asian TrueType fonts. | |
1720 | - Changed the CUPS startup script to look for a program | |
1721 | named "cupsd", not just any program with "cupsd" in | |
1722 | the name (this caused the apcupsd UPS monitoring | |
1723 | daemon to be stopped/restarted...) | |
1724 | - The CUPS-Move-Job operation did not change the | |
1725 | internal destination name for held jobs, so moved (but | |
1726 | held) jobs would still show up as queued on the | |
1727 | original destination. | |
1728 | - The cups-polld program didn't send the | |
1729 | requested-attributes attribute in the | |
1730 | CUPS-Get-Printers and CUPS-Get-Classes requests, which | |
1731 | made it use more CPU and bandwidth than required. | |
1732 | - The scheduler and CUPS API incorrectly added a | |
1733 | job-sheets-default attribute for remote printers. This | |
1734 | caused banner pages to be omitted from client system | |
1735 | prints. | |
1736 | ||
1737 | ||
1738 | CHANGES IN CUPS V1.1.10-1 | |
1739 | ||
1740 | - Minor fixes to the filter, systemv, and template | |
1741 | makefiles to install files properly. | |
1742 | ||
1743 | ||
1744 | CHANGES IN CUPS V1.1.10 | |
1745 | ||
1746 | - Added a driver for DYMO label printers. | |
1747 | - Added new ClassifyOverride directive to allow users | |
1748 | to override the classification of individual jobs. | |
1749 | - Added new BrowseProtocols directive to control which | |
1750 | browse protocols are used (currently CUPS and SLP). | |
1751 | - Added SLPv2 support (thanks to Matt Peterson for | |
1752 | contributing the initial implementation for CUPS.) | |
1753 | - Adding a raw printer on a remote CUPS server now | |
1754 | correctly redirects PPD file requests to the remote | |
1755 | server. | |
1756 | - The serial backend now limits writes to 1/10th | |
1757 | second worth of data to avoid buffer overflows | |
1758 | with some types of flow control. | |
1759 | - The scheduler did not properly process PUT requests, | |
1760 | so configuration files could not be uploaded to the | |
1761 | server. | |
1762 | - The scheduler did not strip trailing whitespace on | |
1763 | lines in the configuration files. | |
1764 | - The httpWrite() function did not transition the PUT | |
1765 | request to the HTTP_STATUS state to get the status | |
1766 | from the server. | |
1767 | - The scheduler did not properly handle trailing null | |
1768 | ("-") filters when testing a driver that sent data | |
1769 | to the file: pseudo-backend. | |
1770 | - The IPP backend now only sends a document-format of | |
1771 | "application/vnd.cups-raw" when printing to another | |
1772 | CUPS server using a local printer driver or interface | |
1773 | script. Previously the job's document format was | |
1774 | used, which was incorrect. | |
1775 | - The lpadmin command didn't use the ppd-name attribute | |
1776 | with the -m option; this prevented the use of the | |
1777 | "raw" model from the command-line. | |
1778 | - The pstoraster filter output draft (1-bit) 6-color | |
1779 | output in the wrong order; this resulted in yellow | |
1780 | being printed instead of black on Stylus Photo | |
1781 | printers. | |
1782 | - The pdftops filter did not have the Japanese and | |
1783 | Chinese text support compiled into it. | |
1784 | - The IPP and AppSocket backends did not clear the | |
1785 | "waiting for print job to complete" status message, | |
1786 | which caused some confusion... :) | |
1787 | - The serial backend now opens the port in "no delay" | |
1788 | mode to avoid DCD detection problems with some OS's. | |
1789 | ||
1790 | ||
1791 | CHANGES IN CUPS V1.1.9-1 | |
1792 | ||
1793 | - The configure script did not substitute the | |
1794 | correct user and group names. | |
1795 | - The configure script did not use the full path | |
1796 | to the install-sh script when it was used. | |
1797 | - The pstoraster filter did not correctly support | |
1798 | DuplexTumble mode for printers that used flip | |
1799 | duplexing. | |
1800 | - The cups.list.in file was missing from the | |
1801 | distribution. | |
1802 | - The New DeskJet series driver did not use the | |
1803 | correct OrderDependency for the Duplex option. | |
1804 | - Use read() instead of fread() to read piped | |
1805 | print files in lpr/lp. This avoids a bug in the | |
1806 | HP-UX 10.20 fread() function. | |
1807 | - Updated the pstoraster filter to use the MIPS_FIXADE | |
1808 | system call under IRIX to fix bus error problems on | |
1809 | R12000 processors (Ghostscript is not 64-bit clean...) | |
1810 | - Some Xerox PPD files (most notably the Phaser 790) | |
1811 | have illegal whitespace in the option keyword in the | |
1812 | OpenUI line. This caused the PageRegion option to not | |
1813 | be recognized properly for the Phaser 790. | |
1814 | ||
1815 | ||
1816 | CHANGES IN CUPS V1.1.9 | |
1817 | ||
1818 | - Revamped the configure script to use a modular | |
1819 | approach for the various tests. | |
1820 | - Added --with-openssl-* options to properly reference | |
1821 | the OpenSSL libraries in DSOs. | |
1822 | - Added --with-cups-user and --with-cups-group | |
1823 | options to specify the default user and group for | |
1824 | CUPS. | |
1825 | - Added AIX shared library support. | |
1826 | - Added AIX device discovery for the serial and | |
1827 | parallel ports. | |
1828 | - Now use install program or script to install | |
1829 | directories, files, and symlinks. | |
1830 | - Updated pstops filter to use strict handling of EPS | |
1831 | files embedded in a PostScript document. The %%EOF | |
1832 | handling in 1.1.8 caused some dvips files not to | |
1833 | print. | |
1834 | - Fixed yet another memory allocation bug in pstoraster | |
1835 | that would cause it to crash. This fix also ensures | |
1836 | that all memory allocations are done on (at least) a | |
1837 | 64-bit boundary. | |
1838 | - Fixed Digest authentication - httpGetSubField() didn't | |
1839 | skip the Digest keyword. | |
1840 | - The scheduler did not properly handle Digest | |
1841 | authentication with the new multiple-group support. | |
1842 | - The scheduler did not allow usernames that were | |
1843 | not in the UNIX password file to be used for Digest | |
1844 | authentication from passwd.md5. | |
1845 | - The scheduler could not scan PPD files that only used | |
1846 | a carriage return (i.e. MacOS PPD files); the new code | |
1847 | is also about 40% faster, so servers with thousands of | |
1848 | PPD files should start much faster now. | |
1849 | - The scheduler now stores the PPD file size and | |
1850 | modification times in the ppds.dat file, so it can now | |
1851 | incrementally update the PPD database from the model | |
1852 | directory, resulting in significantly faster startup | |
1853 | times. | |
1854 | - The lpinfo command did not return a non-zero status | |
1855 | code if an error occurred. | |
1856 | - Fixed a bug in the scheduler's UpdateJob() function. | |
1857 | Basically, all jobs shared the same status buffer, and | |
1858 | the "buffer start" pointer could point to 1 byte | |
1859 | before the beginning of the buffer. The new | |
1860 | implementation uses a separate buffer for each job and | |
1861 | eliminates the buffer start bug. | |
1862 | - The IPP backend would send N copies of a document if | |
1863 | the receiving device didn't support the copies | |
1864 | attribute, even if the upstream driver already added | |
1865 | the necessary commands to generate the copies. This | |
1866 | was most noticeable with HP printers where N * N | |
1867 | copies would come out instead of N. | |
1868 | - The PostScript filter (pstops) did not properly handle | |
1869 | duplex printing on inkjet printers that provide this | |
1870 | option. Copies would be put on the front and back | |
1871 | sides of the duplexed page, and the filter did not | |
1872 | output an even number of pages. | |
1873 | - The backends always caught SIGTERM after they | |
1874 | connected to the printer. This prevented raw jobs | |
1875 | from being cancelled early. | |
1876 | - The cupsSetDests() function now removes any printers, | |
1877 | instances, and options that are not defined by the | |
1878 | user or server. This should prevent old system-wide | |
1879 | options from being used in individual user accounts. | |
1880 | - Updated the EPSON printer driver and added PPDs for | |
1881 | the newer EPSON Stylus printers that only support the | |
1882 | "ESC i" graphics command. | |
1883 | - The lpadmin command didn't allow you to add remote | |
1884 | printers to a local class. | |
1885 | - The lpadmin command didn't allow you to set the | |
1886 | options (quotas, etc.) for a class. | |
1887 | - The scheduler did not load or save the | |
1888 | job-sheets-default attribute for classes. | |
1889 | - The scheduler did not automatically recreate remote | |
1890 | printers that were part of a class. | |
1891 | - It was possible for a printer class to list the same | |
1892 | printer more than once. | |
1893 | - The scheduler now makes a backup copy of classes.conf | |
1894 | and printers.conf before writing the new file. | |
1895 | - The lppasswd program incorrectly asked for a new | |
1896 | password when deleting an existing MD5 password | |
1897 | account. | |
1898 | - The scheduler did not match "/printers/name.ppd" | |
1899 | against a location of "/printers/name". | |
1900 | - The client code did not always handle HTTP encryption | |
1901 | upgrades properly. | |
1902 | - The client code now caches the last Digest password so | |
1903 | it can retry using a new resource path or nonce value, | |
1904 | which are included in the MD5 sum sent to the server. | |
1905 | This should eliminate unnecessary password prompts | |
1906 | when using Digest authentication. | |
1907 | - The lppasswd command didn't have a man page. | |
1908 | - Updated the PJL detection rules to allow the universal | |
1909 | escape to occur anywhere in the first 128 bytes of the | |
1910 | file. | |
1911 | - The cups-polld program would poll servers continuously | |
1912 | with no delay if there was an error contacting the | |
1913 | server. | |
1914 | - The IPP backend would send an empty job-name or | |
1915 | requesting-user-name attribute if the corresponding | |
1916 | job attribute was an empty string. While this is | |
1917 | allowed by the IPP specification, some HP JetDirect | |
1918 | implementations return a client-error-bad-request | |
1919 | error if an empty name attribute value is received. | |
1920 | The new code only sends these attributes if they are | |
1921 | not the empty string. | |
1922 | - At least some versions of the HP JetDirect firmware | |
1923 | do not correctly implement IPP. Added additional | |
1924 | checks to the IPP backend to eliminate extra, | |
1925 | unsupported attributes which should normally be | |
1926 | ignored by a compliant IPP device. | |
1927 | - The scheduler did not copy the complete list of | |
1928 | supported file types into the | |
1929 | document-format-supported attribute. This caused | |
1930 | clients to not send the local file type (such as | |
1931 | application/vnd.cups-raw for raw print files) and the | |
1932 | corresponding bad output in some cases. | |
1933 | - The scheduler did not fully copy attributes from a | |
1934 | set-job-attributes request - string attributes were | |
1935 | only referenced, which could cause cupsd to crash | |
1936 | or behave irratically. | |
1937 | - The lp command didn't send the right value for the | |
1938 | job-hold-until attribute when "-H resume" was | |
1939 | specified. | |
1940 | - The IPP backend now returns as soon as a job is | |
1941 | completed or reported as "pending-held". | |
1942 | - Added new ImplicitAnyClasses and HideImplicitMembers | |
1943 | directives to the cupsd.conf file to make implicit | |
1944 | classes more usable/transparent to the user. | |
1945 | - Clients can now (with the appropriate authentication) | |
1946 | retrieve and update the server configuration files | |
1947 | using HTTP GET and PUT requests. | |
1948 | - The web interface didn't allow you to modify the | |
1949 | location or description of the printer. | |
1950 | - The pdftops filter now uses its own temporary file | |
1951 | function to work with PDF files using LZW compression | |
1952 | (which use the uncompress program or gunzip) | |
1953 | - The SystemGroup directive now supports specification of | |
1954 | multiple groups. | |
1955 | - Added new Include directive to cupsd.conf, a la | |
1956 | Apache. | |
1957 | - Added new pseudo-driver/PPD called "raw" that can be | |
1958 | used to create/convert a raw queue. This also allows | |
1959 | raw queues to be created in the web interface. | |
1960 | - The pdftops filter didn't handle image objects that | |
1961 | used JPEG and Flate compression together. | |
1962 | - The pstops filter counted pages wrong when using the | |
1963 | N-up and even/odd printing options. This prevented | |
1964 | the page-ranges option from working properly. | |
1965 | - Added another fix to pstoraster for a bus error | |
1966 | condition caused by a lack of parenthesis in the | |
1967 | Ghostscript code. | |
1968 | - Added new "natural-scaling" option which scales the | |
1969 | natural size of the image (percent of natural image | |
1970 | size instead of percent of page size.) | |
1971 | - The lppasswd program is now setuid to the CUPS user | |
1972 | instead of root. | |
1973 | - The PPD functions did not allow for PPD files that | |
1974 | defined the page sizes and margins before the page | |
1975 | size options. | |
1976 | - The mime.types file now checks for the PJL "LANGUAGE = | |
1977 | Postscript" command for PostScript files. | |
1978 | - The scheduler did not truncate file: output files. | |
1979 | - The PPD file reading code did not handle options with | |
1980 | raw quotes (") in the human-readable names. | |
1981 | - The pdftops filter now remaps the space character when | |
1982 | (bad) PDF files contain a .notdef glyph for the space | |
1983 | character. | |
1984 | ||
1985 | ||
1986 | CHANGES IN CUPS V1.1.8 | |
1987 | ||
1988 | - Updated spec file to generate separate cups-pstoraster | |
1989 | package for pstoraster. | |
1990 | - The spec file wasn't setting LOGDIR in the install. | |
1991 | - The scheduler might restart a stopped printer after | |
1992 | stopping a print job. Thanks to Florent | |
1993 | Guiliani for finding this bug! | |
1994 | - The init script showed run level 0 for the Red Hat | |
1995 | chkconfig program. This is incorrect because Red Hat | |
1996 | doesn't use run level 0 for shutdown scripts. | |
1997 | - The IPP backend did not handle the | |
1998 | client-error-not-found error when checking the status | |
1999 | of the job that was sent. This caused remote queues | |
2000 | to stop on client machines when the server had job | |
2001 | history disabled. | |
2002 | - Added httpConnectEncrypt() function to avoid | |
2003 | performance penalty for setting up encrypted | |
2004 | connections initially. | |
2005 | - Use httpConnectEncrypt() in all client apps and in the | |
2006 | CUPS API to ensure consistent usage of encryption | |
2007 | throughout. | |
2008 | - Jobs weren't queued to remote classes (fix from | |
2009 | Richard Begg.) | |
2010 | - AIX changes from Richard Begg. | |
2011 | - Fixed the pstops fix for GNOME output - no longer use | |
2012 | the page numbers in the %%Page: comment since GNOME | |
2013 | puts a filename instead (!?@!#?!). There is still an | |
2014 | issue with N-up printing since GNOME defines its fonts | |
2015 | in the first page instead of the document setup section | |
2016 | (pages must be independent according to the DSC spec) | |
2017 | People with GNOME printing problems should consult bug | |
2018 | #54489... | |
2019 | - The imagetops filter produced PAGE: messages when | |
2020 | generating PostScript for a non-PostScript printer | |
2021 | (only affects page-label and Classification | |
2022 | options.) | |
2023 | - The updated pdftops filter was looking for an options | |
2024 | file called xpdf.conf instead of pdftops.conf. | |
2025 | ||
2026 | ||
2027 | CHANGES IN CUPS V1.1.7 | |
2028 | ||
2029 | - Configuration script changes, including new | |
2030 | "--with-docdir=/dir" option to relocate CUPS | |
2031 | documentation and web content according to your | |
2032 | favorite version of the FHS. | |
2033 | - Documentation updates for encryption, SLP, etc. | |
2034 | - New Software Test Plan and automated test script to | |
2035 | test CUPS prior to installation. | |
2036 | - All scheduler configuration files are now case | |
2037 | insensitive to match Apache. | |
8372ad6b | 2038 | - Added support for Apache ListenBackLog, Require, |
2039 | Satisfy, <Limit>, <LimitExcept>, and LimitRequestSize | |
d2503e02 | 2040 | directives. |
2041 | - Added support for all Apache log levels... | |
2042 | - Added support for "double" HostNameLookups. | |
2043 | - Added new "RunAsUser" directive to support non-root | |
2044 | configurations on the standard (priviledged) ports. | |
2045 | - Added support for non-root invocation of the lpd | |
2046 | backend (does no reserve a priviledged port, which | |
2047 | might not work with some LPD servers...) | |
2048 | - Added new PrintcapFormat directive to control the | |
2049 | output format of the printcap file (BSD or Solaris | |
2050 | formats are supported at present.) | |
2051 | - The CUPS directory service routines now handle | |
2052 | ECONNREFUSED errors gracefully rather than shutting | |
2053 | all browsing off. | |
2054 | - ippErrorString() now returns the recommended error | |
2055 | messages from the IPP/1.1 Model and Semantics | |
2056 | document. | |
2057 | - Fixed a minor IPP compliance issue with responses | |
2058 | to requests without the attributes-charset or | |
2059 | attributes-natural-language attributes. | |
2060 | - Sun fix: need httpFlush() call for chunked IPP | |
2061 | requests in cupsDoFileRequest(). | |
2062 | - httpConnect() now looks up "localhost" by name and | |
2063 | by address (127.0.0.1) for users the go to the | |
2064 | trouble of removing the required localhost entry | |
2065 | in /etc/hosts or on their DNS server... | |
2066 | - Added support for Linux 2.4.x devfs parallel port | |
2067 | filenames (/dev/parallel/N). | |
2068 | - cupsDo[File]Request() and cupsGetPPD() no longer | |
2069 | block trying to reconnect to a crashed or inaccessable | |
2070 | server. | |
2071 | - Added new ppdEmitJCL() function to better handle | |
2072 | PJL commands from PPD files. | |
2073 | - A bug in UpdateJob() would cause the scheduler to | |
2074 | consume 100% CPU until another request was submitted. | |
2075 | - The cancel command did not support the "-" option to | |
2076 | cancel all jobs on all printers. | |
2077 | - The cancel and lprm commands did not support cancelling | |
2078 | the next/current job in the queue. | |
2079 | - The pdftops and pstoraster filters were using unsafe | |
2080 | temporary file functions; while this is not a problem | |
2081 | in normal configurations (the CUPS temporary directory | |
2082 | is restricted), they now use the cupsTempFd() function. | |
2083 | - The mime.types file was missing the recognition rule | |
2084 | for Sun Raster images. | |
2085 | - The admin CGI was passing a printer make string to | |
2086 | ippSetCGIVars() that was being replaced in that | |
2087 | function. | |
2088 | - "lpoptions -l" would resave the options... | |
2089 | - The EPSON drivers now send the "end packet mode" | |
2090 | command when printing to USB devices. | |
2091 | - The scheduler initialized certificates before loading | |
2092 | the cupsd.conf file. | |
2093 | - The scheduler used /dev/random to collect random data, | |
2094 | which could block if insufficient entropy information | |
2095 | had been collected by the kernel. Now use | |
2096 | /dev/urandom. | |
2097 | - Fixed a bug in the whitespace skipping code in | |
2098 | httpGetSubField(). | |
2099 | - The LPD backend now supports a new "order" option: | |
2100 | "lpd://server/queue?order=control,data" (default) and | |
2101 | "lpd://server/queue?order=data,control". | |
2102 | - The scheduler enforced a 30 second timeout on all | |
2103 | clients regardless of the Timeout directive and if a | |
2104 | CGI was currently running. | |
2105 | - cupsParseOptions() now sets boolean options to | |
2106 | option=true or option=false. | |
2107 | - The "percent complete" calculations in the LPD backend | |
2108 | could overflow on large files, causing the percentage | |
2109 | to wrap to 0 every 40MB or so. | |
2110 | - Fixed a memory reallocation bug in pstoraster that | |
2111 | could cause it to crash. | |
2112 | - The LPD backend now sanitizes the job title to avoid | |
2113 | potential problems on remote LPD servers. | |
2114 | - The lp command did not send the requesting-user-name | |
2115 | attribute when altering a job. | |
2116 | - The pstops filter did not handle PostScript files with | |
2117 | lines longer than 8191 bytes. | |
2118 | - The scheduler no longer uses inet_addr() to convert IP | |
2119 | addresses in dot format (mmm.nnn.ooo.ppp) to the | |
2120 | 32-bit format, since it will not work for IPv6 | |
2121 | addresses. | |
2122 | - New "Classification" directive to force labeling of | |
2123 | the current classification on each page. | |
2124 | - New "page-label" attribute to add per-page labels | |
2125 | ("For Official Use Only", "Draft", etc.) | |
2126 | - The scheduler now sets the HTTPS environment variable | |
2127 | for CGI programs when a client connects using | |
2128 | encryption. | |
2129 | - Fixed a recursion bug in the scheduler that could | |
2130 | cause cupsd to crash when a printer was removed. | |
2131 | - The LPDEST and PRINTER environment variables didn't | |
2132 | support instances. | |
2133 | - Dropped the "file" backend from the device list that | |
2134 | is reported, since it is only available for *testing* | |
2135 | and should never be used in a production environment. | |
2136 | The file: device can still be used, but it won't show | |
2137 | up in the list of devices from lpinfo or the web | |
2138 | interface. | |
2139 | - Added support for /dev/lpa# parallel ports under *BSD. | |
2140 | - Added META variables to the CGI header template to | |
2141 | prevent caching of the results. | |
2142 | - Fixed an unaligned memory buffer for the pstoraster | |
2143 | clist states; this caused bus errors for some | |
2144 | combinations of printers, drivers, and options. | |
2145 | - Re-added black reduction for colorful colors; this | |
2146 | helps to prevent dark colors from getting desaturated. | |
2147 | (only used when converting RGB to CMYK) | |
2148 | - Added two new directives - MaxJobsPerPrinter and | |
2149 | MaxJobsPerUser - to allow an administrator to set | |
2150 | the maximum number of pending jobs in a queue or | |
2151 | submitted by a user. | |
2152 | - The scheduler no longer stops a printer if it can't | |
2153 | create the status pipe or run the filters or backend. | |
2154 | This will allow heavily loaded servers to service | |
2155 | clients or start print jobs as the load allows. | |
2156 | - Fixed a bug in the Set-Job-Attributes code that could | |
2157 | crash the scheduler (patch from Martin Zielinski) | |
2158 | - cupsSetDests() did not quote option values with | |
2159 | embedded spaces. | |
2160 | - Added support for the Enable-Printer and | |
2161 | Disable-Printer extension operations (same as | |
2162 | CUPS-Accept-Jobs and CUPS-Reject-Jobs.) | |
2163 | - The AppSocket and IPP backends now wait for the print | |
2164 | job to be finished before exiting; this should prevent | |
2165 | the loss of print jobs with older JetDirect firmware | |
2166 | and make consecutive print jobs print faster. | |
2167 | - The BMP loading code did not handle resolution values | |
2168 | of 0. This is a problem with BMP image files produced | |
2169 | by the GIMP. | |
2170 | - The HTTP Upgrade code (upgrade to TLS encryption) | |
2171 | bypassed the authentication checks. | |
2172 | - The HTTP Upgrade code did not send a 426 status code | |
2173 | to the client and end the current request. This caused | |
2174 | a race condition between the client and server for the | |
2175 | upgrade to TLS. | |
2176 | - Fixed a bug in the EOF and Trailer detection code in | |
2177 | the pstops filter. | |
2178 | - The imagetoraster filter did not add the margins to | |
2179 | the custom page size in the raster header. | |
2180 | - The imagetops filter did not adjust the custom page | |
2181 | size to the size of the printed image. | |
2182 | - The imagetops filter did not include DSC comments | |
2183 | which are required by some printers. | |
2184 | - The imagetops filter did not insert newlines in | |
2185 | Base85 encoded output, causing files to contain | |
2186 | lines longer than 255 characters (violation of the | |
2187 | DSC). | |
2188 | - Added support for the DeskJet 900 series duplexer | |
2189 | and CRET color modes in the HP driver. | |
2190 | - Added support for PPD-defined margins in the HP | |
2191 | driver. | |
2192 | - Fixed the debugging output from pstoraster - the | |
2193 | font list was not terminated by a newline. | |
2194 | - Some versions of the HP-UX pam_unix authentication | |
2195 | module apparently do not pass the appdata_ptr argument | |
2196 | to the conversation function, preventing the scheduler | |
2197 | from authenticating users using PAM under HP-UX. A | |
2198 | workaround using a static variable has been added to | |
2199 | address this problem. | |
2200 | - Fixed a bug in the scheduler SortPrinters() function | |
2201 | that could cause printers to disappear or the | |
2202 | scheduler to crash when adding a printer. | |
2203 | - Changed the pstops filter to not do per-page filtering | |
2204 | if the file does not conform to at least version 3.0 | |
2205 | of the document structuring conventions. This seems | |
2206 | to "fix" printing with broken apps. | |
2207 | - The image filters did not handle older TIFF files that | |
2208 | lacked the samples-per-pixel and bits-per-pixel tags. | |
2209 | - Added new cupsGetJobs() and cupsFreeJobs() functions | |
2210 | to manage print jobs. | |
2211 | - cupsEncodeOptions() would encode names of 0 length and | |
2212 | cupsAddOption() and cupsParseOptions() would add names | |
2213 | of 0 length. | |
2214 | - The scheduler might block waiting for status messages | |
2215 | after starting a new print job. Thanks to Florent | |
2216 | Guiliani for finding this bug! | |
2217 | ||
2218 | ||
2219 | CHANGES IN CUPS V1.1.6-3 | |
2220 | ||
2221 | - The configure script put the JPEG library before the | |
2222 | TIFF library; this caused problems in some | |
2223 | configurations since the TIFF library also supports | |
2224 | JPEG compression of TIFF images. | |
2225 | - Updated the configure script and makefiles to handle | |
2226 | admin man pages with the "1m" extension (HP-UX, IRIX, | |
2227 | Solaris, Tru64) and in odd directories (IRIX) | |
2228 | - The updated cupsTempFile() function did not return | |
2229 | the filename when called with a filename buffer of | |
2230 | NULL (previously it used a static buffer.) | |
2231 | - FreeBSD uses /dev/unlptN, but NetBSD and OpenBSD use | |
2232 | /dev/ulptN. | |
2233 | - DeletePrinter() didn't remove the printer from any | |
2234 | classes it was a member of. | |
2235 | - DeletePrinterFromClass() didn't preserve the | |
2236 | implicit status of a class. | |
2237 | - DeletePrinterFromClasses() didn't remove printers | |
2238 | from implicit classes. | |
2239 | - StartJob() didn't send the job-sheets, job-priority, | |
2240 | and job-hold-until attributes to remote printers. | |
2241 | - LoadAllJobs() was looking for job-sheets-completed | |
2242 | instead of job-media-sheets-completed. This would | |
2243 | prevent accumulation of page data after a restart | |
2244 | of the scheduler. | |
2245 | - The pstops and imagetops filters now generate copies | |
2246 | using the appropriate method for a Level 1, 2, or 3 | |
2247 | printer since some Level 2/3 printers don't support | |
2248 | the /#copies variable anymore. | |
2249 | - The man page for cups-lpd did not mention the "-o" | |
2250 | option. | |
2251 | - The IPP backend didn't handle version-not-supported | |
2252 | errors and revert to IPP/1.0 (previously it only checked | |
2253 | for a bad-request error) | |
2254 | - Caldera fix: lpc now reports unimplemented commands as | |
2255 | unimplemented, not invalid. | |
2256 | - Caldera fix: lpq didn't recognize BSD lpq "-a" option. | |
2257 | - Caldera fix: lpr didn't recognize BSD lpr "-1", "-2", | |
2258 | "-3", "-4", "-q", or "-U" options. | |
2259 | - RedHat fixes: patches to GNU Ghostscript | |
2260 | - SuSE fix: temp file creation patch to GNU Ghostscript | |
2261 | (pstoraster). | |
2262 | - SuSE fix: remove cgi-bin/abort.c and cgi-bin/email.c, | |
2263 | which are not used. | |
2264 | - SuSE fix: missing NULL check in cgi_initialize_post(). | |
2265 | - SuSE fix: potential buffer overflows in | |
2266 | cgi_initialize_string(). | |
2267 | - SuSE fix: potential buffer overflows in | |
2268 | ippSetCGIVars() | |
2269 | - SuSE fix: more NULL checks in ppdOpen(); also make | |
2270 | sure that all memory is freed on error to avoid memory | |
2271 | leaks. | |
2272 | - SuSE fix: Exit from child if setgid() or setuid() | |
2273 | fails. | |
2274 | - SuSE fix: Added setgroups() calls after setgid() and | |
2275 | setuid() calls. | |
2276 | - SuSE fix: potential buffer overflows in httpEncode64() | |
2277 | calls. | |
2278 | - SuSE fix: potential buffer overflows in httpSeparate() | |
2279 | - SuSE fix: potential buffer overflows in ippWrite() for | |
2280 | bad input. | |
2281 | - SuSE fix: potential nul skip in ppd_decode() for | |
2282 | missing hex digits. | |
2283 | ||
2284 | ||
2285 | CHANGES IN CUPS V1.1.6-2 | |
2286 | ||
2287 | - Added changes to support NetBSD startup scripts. | |
2288 | - Added separate compiler options for pstoraster | |
2289 | (Ghostscript) to avoid compiler-induced errors | |
2290 | from Ghostscript's twisted code. | |
2291 | - The mime.types file contained syntax errors. | |
2292 | - Updated the *BSD USB device filenames to use | |
2293 | the /dev/unlptN files so that the USB device | |
2294 | is not reset prior to printing (causes print | |
2295 | corruption on many printers) | |
2296 | - Added new cupsTempFd() function to avoid serious | |
2297 | security bug in glibc fopen() function. The glibc | |
2298 | fopen() function unlinks a file before creating it, | |
2299 | which opens up possible symlink attacks. | |
2300 | - Now reject 0-length names in add-printer and add-class | |
2301 | requests. | |
2302 | - Fix for pstoraster when ZLIB is not available. | |
2303 | - cupsGetPPD() didn't reconnect when a HTTP connection | |
2304 | was lost. | |
2305 | - SuSE fix: httpConnect() didn't check that the | |
2306 | value from gethostbyname() was a valid IPv4 address. | |
2307 | - SuSE fix: httpConnect() didn't allow file descriptor 0 | |
2308 | to be used for a socket. | |
2309 | - SuSE fix: ippRead() didn't confirm that all values in | |
2310 | a set were numeric or string types. | |
2311 | - SuSE fix: lppasswd race condition fixes. | |
2312 | - SuSE fix: directive names could overflow buffer when | |
2313 | reading *.conf files. | |
2314 | - SuSE fix: HEAD requests for PPD files did not use the | |
2315 | same logic as GET requests. | |
2316 | - SuSE fix: possible buffer overflow when adding | |
2317 | /index.html to requested directory name. | |
2318 | - SuSE fix: possible buffer overflow when converting | |
2319 | IPP attributes to string options for filters. | |
2320 | - SuSE fix: creating file: device output with mode 0666 | |
2321 | instead of mode 0600. | |
2322 | - SuSE fix: creating job info files with mode 0640 | |
2323 | instead of 0600. | |
2324 | - SuSE fix: don't rely on snprintf() for including | |
2325 | system name in log filenames. | |
2326 | - SuSE fix: add bounds checking when copying quoted | |
2327 | and hex strings. | |
2328 | ||
2329 | ||
2330 | CHANGES IN CUPS V1.1.6-1 | |
2331 | ||
2332 | - Added configure check for getting the correct | |
2333 | strftime() format string; %c is not Y2k safe, | |
2334 | and %KC and NULL are not universally supported. | |
2335 | ||
2336 | ||
2337 | CHANGES IN CUPS V1.1.6 | |
2338 | ||
2339 | - Fixed another possible DoS attack in httpGets() | |
2340 | - Added check for "LANGUAGE = PCL" and "LANGUAGE = | |
2341 | POSTSCRIPT" in mime.types. | |
2342 | - Resolution options were not being passed into the | |
2343 | filter programs properly. | |
2344 | - The default compiler options for GCC no longer include | |
2345 | "-g3", which apparently is deprecated in newer | |
2346 | versions of GCC. | |
2347 | - CheckJobs() could cause cupsd to crash if a job is | |
2348 | cancelled in StartJob(). | |
2349 | - The printers.conf and classes.conf files are now | |
2350 | written with restricted permissions. | |
2351 | - The round-robin algorithm used by FindAvailablePrinter() | |
2352 | had problems; fixes contributed by Joel Fredrikson. | |
2353 | - If LoadAllJobs() is unable to determine the file type | |
2354 | of a print job, assume "application/vnd.cups-raw". | |
2355 | - The web interface now provides a job_printer_name | |
2356 | value for any corresponding job_printer_uri value. | |
2357 | - The cups-lpd mini-daemon now logs the client address | |
2358 | and hostname as well as all commands and errors in the | |
2359 | syslog file. | |
2360 | - The IPP backend now detects the supported file formats | |
2361 | and only specifies the document format if it is | |
2362 | supported. This makes IPP printing to network print | |
2363 | servers and cards more reliable without affecting the | |
2364 | capabilities of CUPS servers. | |
2365 | - The time_at_xyz attributes are now converted to human- | |
2366 | readable dates and times for the web interfaces. | |
2367 | - The HP and EPSON sample drivers now correctly catch | |
2368 | signals and eject the current page when a job is | |
2369 | cancelled. | |
2370 | - Fixed bug in CGI code - did not ignore control | |
2371 | characters (e.g. newlines) in form data. This caused | |
2372 | sporatic web interface problems. | |
2373 | - The file type logging code in the scheduler referenced | |
2374 | the optional document-format attribute; the new code | |
2375 | uses the resolved MIME type instead. | |
2376 | - The client.conf parsing code now removes trailing | |
2377 | whitespace. | |
2378 | - The MaxJobs directive was being treated as a boolean | |
2379 | instead of an integer. | |
2380 | - The scheduler would not timeout remote printers if | |
2381 | BrowseInterval was set to 0. | |
2382 | - The lpadmin command now supports setting of options | |
2383 | and user-level access control. | |
2384 | - Added "-E" option to all printing commands to force | |
2385 | encryption. | |
2386 | - The client code did not consume the response to the | |
2387 | OPTIONS request when switching to secure mode. | |
2388 | - The scheduler did not output a Content-Length field | |
2389 | when responding to an OPTIONS request. | |
2390 | - Added documentation on using cups-lpd with xinetd | |
2391 | to the man page. | |
2392 | - The socket backend now starts retries at 5 seconds and | |
2393 | increases the interval to 30 seconds. This should | |
2394 | provide faster printing when multiple jobs/files are | |
2395 | queued for a printer. | |
2396 | - The filters and backends no longer buffer output to | |
2397 | stderr. This should provide much more accurate status | |
2398 | reporting. | |
2399 | ||
2400 | ||
2401 | CHANGES IN CUPS V1.1.5-2 | |
2402 | ||
2403 | - Fixed configure check for OpenSSL to work with RSA | |
2404 | code. | |
2405 | - Added configure check for <sys/ioctl.h>, and use this | |
2406 | check in backend/serial.c. | |
2407 | - Updated configure script handling of data, | |
2408 | configuration, and state directories to use datadir, | |
2409 | sysconfdir, and localstatedir variables. | |
2410 | - NetBSD uses different serial port filenames than | |
2411 | FreeBSD and OpenBSD. | |
2412 | - The pdftops filter didn't need some X-specific files. | |
2413 | - The scheduler makefile doesn't do a chown anymore when | |
2414 | installing (cupsd did this automatically on startup | |
2415 | anyways) | |
2416 | ||
2417 | ||
2418 | CHANGES IN CUPS V1.1.5-1 | |
2419 | ||
2420 | - There was a typo in the top-level Makefile | |
2421 | - The top-level Makefile did not install an init script | |
2422 | for run level 5. | |
2423 | - The configure script did not add the "crypto" library | |
2424 | when checking for the OpenSSL library. | |
2425 | - The OKIDATA PPD files were missing. | |
2426 | - The config.h.in file defined the wrong version number. | |
2427 | - The serial backend did not define "funky_hex" under *BSD. | |
2428 | - Updated the Visual C++ project files and some of the | |
2429 | CUPS API sources to compile under Windows again. | |
2430 | ||
2431 | ||
2432 | CHANGES IN CUPS V1.1.5 | |
2433 | ||
2434 | - Security updates - new default configuration does | |
2435 | not broadcast printer information and only allows | |
2436 | access from the local system. | |
2437 | - EXPERIMENTAL encryption support - CUPS now optionally | |
2438 | supports TLS/SSL encryption via the OpenSSL library. | |
2439 | - Documentation updates. | |
2440 | - Makefile/configure script updates. | |
2441 | - The RPM spec file didn't work out-of-the-box under | |
2442 | RedHat or Mandrake. | |
2443 | - Minor code cleanup to remove extraneous compiler | |
2444 | warnings. | |
2445 | - cupsTempFile() was using %p for the temporary | |
2446 | filename; this should have been %08x (just 8 digit | |
2447 | hex) | |
2448 | - Deleting a printer with active print jobs would still | |
2449 | crash the server. | |
2450 | - ippWrite() and ipp_write_file() didn't send the | |
2451 | correct value length for name-with-language and | |
2452 | text-with-language attributes. | |
2453 | - Updated IPP code to support copied strings (that | |
2454 | should not be freed); this provides slightly more | |
2455 | efficient IPP server performance. | |
2456 | - Updated PDF filter to Xpdf 0.91. | |
2457 | - httpGets() could go into an infinite loop if a line | |
2458 | longer than the input buffer size was sent by a | |
2459 | client. This could be used in a Denial-of-Service | |
2460 | attack. | |
2461 | - The lpstat and CUPS API functions now request only the | |
2462 | data required when getting the list of printer or | |
2463 | class information. This should improve performance | |
2464 | with large numbers of printers on slower machines. | |
2465 | - The scheduler was always enforcing the FilterLimit, | |
2466 | even if FilterLimit was set to 0. | |
2467 | - Updated the Linux USB backend to support Mandrake's | |
2468 | /dev/usb/usblp# filenames. | |
2469 | - The PRINTER and LPDEST environment variables did not | |
2470 | override the lpoptions default printer. | |
2471 | - The PPD read functions incorrectly included trailing | |
2472 | characters (usually whitespace) after quoted string | |
2473 | attributes. | |
2474 | - The multiple-document-handling attribute handling code | |
2475 | did not check for the correct value for collated | |
2476 | copies (separate-documents-uncollated-copies). | |
2477 | - The EPSON driver did not work with OKIDATA printers in | |
2478 | EPSON emulation mode (needed change-emulation command) | |
2479 | - The HP-GL/2 filter did not scale the plot properly in | |
2480 | scale mode 2. | |
2481 | - Added PPD files for 9-pin and 24-pin OKIDATA printers. | |
2482 | - The httpSeparate() function didn't handle passwords | |
2483 | that started with a number. | |
2484 | - ippDelete() could free the character set string | |
2485 | multiple times in name-with-language and | |
2486 | text-with-language attributes. | |
2487 | - The scheduler would access freed memory right after | |
2488 | freeing it (for debug messages); these parts of the | |
2489 | code have been reordered to avoid this situation | |
2490 | which was causing sporatic errors and crashes. | |
2491 | - The ppdClose() function didn't free all of the strings | |
2492 | in the ppd_file_t structure. | |
2493 | - The LoadAllJobs() function in the scheduler did not | |
2494 | close the spool directory. | |
2495 | - Changed all sprintf's that use string formats to | |
2496 | snprintf's, even if the destination buffer is | |
2497 | larger than the source string(s); this protects | |
2498 | against buffer overflows caused outside of CUPS... | |
2499 | - Changed all strcpy's to strncpy's between local and | |
2500 | global variables, even if the destination buffer is | |
2501 | larger than the source string; this protects | |
2502 | against buffer overflows caused outside of CUPS... | |
2503 | - The CUPS certificate functions didn't use the | |
2504 | CUPS_SERVERROOT environment variable when set. | |
2505 | - The directory services code was copying instead of | |
2506 | comparing the remote printer info, resulting in | |
2507 | unnecessary updates of the printer attributes for | |
2508 | remote printers. | |
2509 | - Added new mime.types rules to allow automatic raw | |
2510 | printing of PCL and ESC/P files; PJL headers are | |
2511 | parsed to differentiate between PostScript and | |
2512 | PCL job files. This should eliminate a lot of | |
2513 | the reports of SAMBA printing problems due to | |
2514 | the missing "-oraw" or "-l" options. | |
2515 | - The mimeLoadType() function didn't handle the | |
2516 | 3-argument contains() function. | |
2517 | - The LoadPPDs() function in the scheduler didn't | |
2518 | properly set the alloc_ppds variable or handle a PPD | |
2519 | database containing 0 printers. | |
2520 | - The scheduler FindAvailablePrinter() function didn't | |
2521 | use the same queuing logic as the CheckJobs() | |
2522 | function. This caused classes to stall if a remote | |
2523 | printer was always busy. | |
2524 | - Jobs are now assigned to printers in a class | |
2525 | round-robin style. This should prevent the first | |
2526 | server in the class from bearing the brunt of the | |
2527 | jobs. | |
2528 | - The scheduler's LoadAllJobs() function didn't always | |
2529 | restore remote printers for queued jobs on startup. | |
2530 | - The serial backend didn't support the higher baud | |
2531 | rates with the old termios interface. It now supports | |
2532 | 57600 and 115200 baud. | |
2533 | - The serial backend now supports different types of | |
2534 | flow control; previously it ignored the flow=XYZ | |
2535 | option in the device URI. | |
2536 | - The serial backend now supports DTR/DSR flow control, | |
2537 | which is popular on dot-matrix printers (access with | |
2538 | "flow=dtrdsr" in the device URI) | |
2539 | - Added new job-originating-host-name attribute for | |
2540 | jobs. The new attribute provides the hostname or | |
2541 | IP address of the machine that submitted the job. | |
2542 | - The set-job-attributes code no longer allows read-only | |
2543 | job attributes to be changed. | |
2544 | - Expanded the click area for the navigation bar in the | |
2545 | web interface. | |
2546 | - Updated the lp and cancel commands to support all of | |
2547 | the Solaris print options (some are simply ignored | |
2548 | since they do not map) | |
2549 | - Updated the scheduler to limit the number of file | |
2550 | descriptors to the maximum select() set size. This | |
2551 | was causing problems on Solaris systems where the | |
2552 | max FD count was increased beyond 1024. | |
2553 | - The scheduler's LoadDevices() function was getting | |
2554 | interrupted by the SIGCHLD signal handler; now ignore | |
2555 | child signals while loading devices. | |
2556 | - Added quota and allow/deny user support for printers | |
2557 | and classes. | |
2558 | - Removed black/CMY adjustment code from the PS and | |
2559 | image file RIPs; it was interfering with some CUPS | |
2560 | driver dithering code. | |
2561 | - The lpc program stopped listing the queue statuses | |
2562 | after the first active printer. | |
2563 | - The cups-lpd program used an output format that the | |
2564 | Solaris printing system did not understand. | |
2565 | - Updated the lpq program to use the Solaris format | |
2566 | except under Tru64 UNIX. | |
2567 | - Some DEC PPD files incorrectly use "Off" for the null | |
2568 | value in UI constraints. Added "Off" to the list of | |
2569 | accepted null values. | |
2570 | - Changed the *BSD define constants to __*BSD__ in all | |
2571 | of the backends. | |
2572 | - Added support for "lpstat printername", which is an | |
2573 | undocumented feature in Solaris. | |
2574 | - The HP-GL/2 filter now only sets the plot size if it | |
2575 | is set in the plot file. | |
2576 | - The lpmove command wasn't sending the requesting | |
2577 | user name, causing it to always fail. | |
2578 | - Updated the cupsTempFile() code to use GetTempPath() | |
2579 | under Windows. | |
2580 | - The cups-lpd mini-daemon didn't limit the number of | |
2581 | data files accepted, didn't use cupsTempFile(), | |
2582 | didn't handle control file job information in any | |
2583 | order, and didn't free job options after printing | |
2584 | a file. | |
2585 | - The scheduler copy_banner() function did not | |
2586 | explicitly set the owner and permissions of the banner | |
2587 | files, which could prevent the banner pages from | |
2588 | printing on some systems. | |
2589 | - The lpstat program wasn't listing remote classes. | |
2590 | - The scheduler did not verify that the printer-uri | |
2591 | attribute was specified in all requests that required | |
2592 | it. | |
2593 | ||
2594 | ||
2595 | CHANGES IN CUPS v1.1.4 | |
2596 | ||
2597 | - Makefile and configure script fixes. | |
2598 | - **** Changed the default Printcap setting **** to | |
2599 | /etc/printcap. There are just too many people asking | |
2600 | why application XYZ doesn't see their printers! | |
2601 | - The web admin interface now displays an error if it | |
2602 | can't get the list of printer drivers from cupsd. | |
2603 | - The IPP backend was putting the copies option before | |
2604 | the other job options were set. This caused the IPP | |
2605 | request to contain attribute groups in the wrong | |
2606 | order, which prevented remote printing. | |
2607 | - Added checks in scheduler to free memory used for | |
2608 | IPP requests and language information when closing | |
2609 | a client connection. | |
2610 | - Fixed the duplex option in the HP LaserJet driver. It | |
2611 | should now work with all LaserJet printers (and | |
2612 | compatibles) | |
2613 | - The add-printer web interface didn't initialize the | |
2614 | "old info" data pointer, which caused random crashes | |
2615 | on many OS's. | |
2616 | - Fixed many page sizes defined in the Level 1 | |
2617 | compatibility file "gs_statd.ps" to match reality. | |
2618 | - Fixed another bug in the setpagedevice "code" in | |
2619 | Ghostscript. It should now accept all standard | |
2620 | Adobe attributes on all platforms. | |
2621 | - Fixed pstoraster so that it reallocates memory for | |
2622 | color depth changes as well as size/resolution | |
2623 | changes. This removes an ordering constraint on | |
2624 | the color, page size, and resolution options in | |
2625 | PPD files. | |
2626 | - The IPP backend didn't use the job's character set | |
2627 | when the destination printer supported it. This | |
2628 | caused problems when printing text files to other | |
2629 | CUPS servers. | |
2630 | - Updated the logic used to determine when to rebuild | |
2631 | the PPD file database. The scheduler now checks the | |
2632 | dates and the number of PPD files (was just checking | |
2633 | the dates.) | |
2634 | - Updated the ippSetCGIVars() function (used by the | |
2635 | web interfaces) to only filter valid string values. | |
2636 | - The PostScript filter was scaling 2-up pages | |
2637 | incorrectly. This caused the edges of some pages to | |
2638 | be clipped. | |
2639 | ||
2640 | ||
2641 | CHANGES IN CUPS v1.1.3 | |
2642 | ||
2643 | - Makefile fixes. | |
2644 | - RPM spec file changes. | |
2645 | - Documentation updates. | |
2646 | - Enabled pstoraster debug messages for everything | |
2647 | (only logged when LogLevel set to "debug"...) | |
2648 | - Changed the Input/OutputAttributes fix in | |
2649 | pstoraster so that it works on all platforms. | |
2650 | - The HP-GL/2 filter didn't set the right green | |
2651 | color value in encoded polylines or text. | |
2652 | - Updated the "fitplot" code to handle plot sizes | |
2653 | specified as "PSwidth,length" and "PSlength,width". | |
2654 | - Updated the Linux parallel and USB backends to open | |
2655 | the device files prior to looking in /proc for | |
2656 | autoprobe info. This makes sure that loadable device | |
2657 | driver modules are in fact loaded... | |
2658 | - Added new FilterLimit directive to limit the number | |
2659 | of processing jobs/filters on a system. | |
2660 | - set-job-attributes didn't change the job-state to | |
2661 | held/pending when the job-hold-until attribute was | |
2662 | specified. | |
2663 | - set-job-attributes didn't save the new job attributes. | |
2664 | - Now change the "requesting-user-name" attribute in | |
2665 | requests from remote systems to "remroot" when an | |
2666 | unauthenticated "root" user is sent. This can be | |
2667 | changed using the new RemoteRoot directive in | |
2668 | cupsd.conf. | |
2669 | - The cancel-job, hold-job, release-job, and restart-job | |
2670 | operations didn't log the authenticated username. | |
2671 | - The cups-lpd mini-daemon now checks for a | |
2672 | document-format option before forcing raw mode with | |
2673 | filter mode 'l'. | |
2674 | - The cups-lpd mini-daemon now supports "-o" options | |
2675 | on the command-line (passed by inetd) to set global | |
2676 | defaults for all print queues. | |
2677 | - The pstops filter assumed that a file with a Trailer | |
2678 | comment would also have an EOF comment. | |
2679 | - Added new cupsSetPasswordCB(), cupsSetServer(), | |
2680 | cupsSetUser(), and ippSetPort() functions to better | |
2681 | support client applications (especially GUIs...) | |
2682 | - The CUPS-add-class and CUPS-add-printer operations | |
2683 | didn't reset the printer-name attribute on remote | |
2684 | print queues that had to be renamed when a local | |
2685 | printer was defined with the same name. | |
2686 | - The lpoptions command now supports a "-r" option to | |
2687 | remove options for a printer or instance. | |
2688 | - The lpadmin and admin.cgi programs no longer allow | |
2689 | class and printer names to begin with a number; this | |
2690 | caused the command-line utilities to become confused. | |
2691 | - The Linux USB backend now looks for both the parallel | |
2692 | and usblp driver names in the device list. | |
2693 | - Added a new FontPath directive to cupsd.conf, and also | |
2694 | a "--with-fontpath" option for the configure script to | |
2695 | specify alternate font paths for pstoraster. | |
2696 | - The CUPS-move-job operation didn't update the | |
2697 | job-printer-uri attribute. | |
2698 | - The scheduler only looked up printers and classes by | |
2699 | name in IPP requests, instead of using the full URI. | |
2700 | This caused problems with KUPS and friends with | |
2701 | remote printers. | |
2702 | - The scheduler now handles better localization of | |
2703 | hostnames (e.g. server is host.foo.com, remote is | |
2704 | host.subfoo.foo.com, localized is not host.subfoo...) | |
2705 | - The scheduler logging functions now use a common | |
2706 | log file checking/rotation function (courtesy of | |
2707 | Crutcher Dunnavant at Red Hat) | |
2708 | - The scheduler could accept more client connections | |
2709 | than it allocated for if more than one Port or Listen | |
2710 | line was present in cupsd.conf. | |
2711 | - Other minor scheduler performance tweeks. | |
2712 | - The lpq and lprm commands didn't support the default | |
2713 | printer set using lpoptions. | |
2714 | - The lpoptions command now supports a "-l" option to | |
2715 | list the printer-specific options and their current | |
2716 | settings. | |
2717 | - The web printer and class lists now show a link to the | |
2718 | default printer or class at the top of the page. | |
2719 | - The text filter now supports pretty printing of shell | |
2720 | and perl scripts as well as C/C++ source files. | |
2721 | - The top and bottom margins were reversed for landscape | |
2722 | text printing. | |
2723 | - The lpq and lprm commands didn't understand printer | |
2724 | instances. | |
2725 | - The scheduler only selected on the first 100 file | |
2726 | descriptors instead of the maximum file descriptor | |
2727 | limit. | |
2728 | - The scheduler client, listener, and mainline functions | |
2729 | now share code to disable and enable monitoring for | |
2730 | new client connections. | |
2731 | - The imagetoraster filter didn't support all of the | |
2732 | required pagedevice parameters. | |
2733 | - The serial backend now checks for 100 serial ports | |
2734 | under Linux. | |
2735 | - The scheduler used sscanf() to pull out the remote | |
2736 | printer location, description, and make/model strings, | |
2737 | but if any of these options was empty then sscanf() | |
2738 | would stop processing. | |
2739 | - Added "debug2" log level to provide a little less | |
2740 | verbose debugging information at the "debug" level. | |
2741 | - The scheduler would crash if you stopped a printer | |
2742 | that was currently printing a job. | |
2743 | - The scheduler incorrectly allowed jobs in the cancelled, | |
2744 | aborted, or completed state to be cancelled. | |
2745 | - The image filters did not load TIFF images properly | |
2746 | for bottom-to-top and right-to-left orientations. | |
2747 | - Added new cupsEncodeOptions() function to encode | |
2748 | CUPS options as IPP job attributes. | |
2749 | - The IPP backend, LPD mini-daemon, client commands, | |
2750 | and CUPS API did not properly encode multiple | |
2751 | option values separated by commas. | |
2752 | - Added new scheduler malloc logging in debug mode | |
2753 | (provides summary of total arena size, allocated, | |
2754 | and free bytes once a minute) | |
2755 | - The EPM-based distributions didn't install the | |
2756 | correct symlinks for a few man pages. | |
2757 | - Fixed a memory leak in the scheduler - wasn't | |
2758 | freeing old filters when deleting or renaming | |
2759 | printers. | |
2760 | - The scheduler now queries the primary IP address | |
2761 | for the name of the server and maps any incoming | |
2762 | requests from that address to the server name. | |
2763 | This fixes web admin mapping problems from | |
2764 | server.domain.com to localhost. | |
2765 | - The web printer modify interface now remembers | |
2766 | the previous device and driver settings (except | |
2767 | for serial ports.) | |
2768 | - The job-k-octets attribute is now stored as part of | |
2769 | the job attributes; this preserves the information | |
2770 | after a job is completed when job file history is | |
2771 | turned off. | |
2772 | - Dropped option sub-group parsing code for the moment, | |
2773 | since many Xerox PPD files abuse this feature in PPD | |
2774 | files and don't follow the hierarchy rules. | |
2775 | - Added new wrapper code around options so that duplex | |
2776 | options for some HP printers don't prevent prints. | |
2777 | - Added support for Digital UNIX/Tru64 UNIX/OSF/1 format | |
2778 | for "lpstat -v" output. | |
2779 | - Now show the URI for remote printers instead of | |
2780 | /dev/null in "lpstat -v" output. | |
2781 | - Creating classes and adding printers to a class with | |
2782 | the lpadmin command didn't work. | |
2783 | - The banner pages and test page should now format | |
2784 | correctly in both portrait and landscape orientations. | |
2785 | - Updated banner page substitution so that { can appear | |
2786 | by itself without quoting. | |
2787 | ||
2788 | ||
2789 | CHANGES IN CUPS v1.1.2 | |
2790 | ||
2791 | - Makefile/configure fixes | |
2792 | - RPM spec file and EPM list file fixes | |
2793 | - The cupsTempFile() function now uses a different | |
2794 | algorithm for generating temp files and "reserves" | |
2795 | them to avoid possible security exploitation. | |
2796 | - Now use /dev/random (if available) to seed the random | |
2797 | number generator for certificates. | |
2798 | - The /var/spool/cups and /var/spool/cups/tmp directories | |
2799 | were incorrectly owned by root; they are now owned by | |
2800 | the filter user, typically "lp". | |
2801 | - The scheduler now resets the permissions on the spool | |
2802 | and temp directories as needed to match the filter | |
2803 | user. | |
2804 | - Now expose ppdCollect() as an externally callable | |
2805 | function. | |
2806 | - The image filters now support filtering from the | |
2807 | standard input. | |
2808 | - The imagetoraster filter now collects all printer | |
2809 | options and job patch files and applies them to the | |
2810 | page header as needed. | |
2811 | - Added format and banner options to LPD backend. | |
2812 | - The send-document operation didn't start a job | |
2813 | immediately when last-document was true. | |
2814 | - The set-job-attributes operation didn't correctly | |
2815 | replace the current job-hold-until value. | |
2816 | - Removed the option wrapper code from ppdEmit() and | |
2817 | friends since it caused problems with Ghostscript | |
2818 | and many PS printers. | |
2819 | - Was setting TZ environment variable twice for job | |
2820 | filters. | |
2821 | - Added syslog logging in cups-lpd to aide in | |
2822 | debugging problems. | |
2823 | - The HP-UX parallel port backend did not list the | |
2824 | available parallel ports on some systems (printf | |
2825 | calling problem...) | |
2826 | - The lp and lpr commands overrode user options if | |
2827 | -d/-P were specified after -o. | |
2828 | - The scheduler would crash with a */* filter. | |
2829 | - Added support for a "default" filter for unknown file | |
2830 | types. The example provided in the mime.types and | |
2831 | mime.convs file prints unknown files as if "-oraw" was | |
2832 | specified for the job. This functionality is disabled | |
2833 | by default. | |
2834 | - The "compatibility" mode fix for older backends did not | |
2835 | work for smbspool. Added a workaround for it. | |
2836 | - The HP-GL/2 filter didn't perform the right pen scaling | |
2837 | with some files and the "fitplot" option. | |
2838 | - New Software Performance Specification document that | |
2839 | describes the memory, disk, and CPU usage of all the | |
2840 | CUPS software. | |
2841 | ||
2842 | ||
2843 | CHANGES IN CUPS v1.1.1 | |
2844 | ||
2845 | - The pstoraster Makefile still referenced one of the | |
2846 | old PDF filter files. | |
2847 | - The filter Makefile used INSTALL_DATA instead of | |
2848 | INSTALL_LIB to install the CUPS image library. | |
2849 | - The administration CGI didn't work properly with | |
2850 | network devices. | |
2851 | - The BrowseACL variable was not updated after the | |
2852 | cupsd.conf file was loaded. | |
2853 | - The lpd mini-daemon didn't support printer instances. | |
2854 | - Now use a default umask of 077 for child processes. | |
2855 | - Now put temp files in /var/spool/cups/tmp for child | |
2856 | processes and the root user, unless TMPDIR or TempDir | |
2857 | is defined otherwise. | |
2858 | - cupsGetPPD() no longer uses easy-to-guess filenames. | |
2859 | - The CUPS-Delete-Class and CUPS-Delete-Printer | |
2860 | operations now save classes.conf file as needed. | |
2861 | - The lppasswd command wouldn't add a user. | |
2862 | - The ppdOpen() function could cause a segfault if a | |
2863 | 0-length PPD file was read. | |
2864 | - The image filters were not handling images with | |
2865 | different X and Y resolutions properly. | |
2866 | - The imagetoraster filter defaulted to RGB output | |
2867 | instead of black output like pstoraster. | |
2868 | - The pstops filter didn't handle binary data properly. | |
2869 | - The pstops filter didn't handle copies properly for | |
2870 | PS files lacking DSC comments. | |
2871 | - The pstops filter now appends %%EOF to the end of | |
2872 | documents if they don't have it. | |
2873 | - The cupsGetPPD() function didn't work with remote | |
2874 | printers lacking the @server in the name. | |
2875 | - The configure script didn't work right when only | |
2876 | --prefix was specified. | |
2877 | - The ppdEmit() code now wraps all printer commands so | |
2878 | that buggy PostScript printers will still print a file | |
2879 | after receiving an option that isn't available. | |
2880 | - Fixed the DeskJet margin bug, and disabled 600dpi | |
2881 | color mode until it can be fixed. | |
2882 | - The cupsAddDest() function didn't sort instances | |
2883 | correctly in all cases. | |
2884 | - The time-at-xyz attributes now expand to the date and | |
2885 | time in banner files. | |
2886 | ||
2887 | ||
2888 | CHANGES IN CUPS v1.1 | |
2889 | ||
2890 | - Documentation updates. | |
2891 | - Configuration script updates. | |
2892 | - Didn't map charset and language value strings to lowercase | |
2893 | and _ to - as required by SLP and IPP. | |
2894 | - ppdLoadXYZ() didn't add the list of available fonts to the | |
2895 | ppd_file_t structure. | |
2896 | - The text filter common code was freeing the PPD file data | |
2897 | before it was used. | |
2898 | - The text filter now embeds missing fonts. | |
2899 | - The CGI interface now maps local access to the server to | |
2900 | the localhost address. | |
2901 | - The HP-GL/2 filter didn't use the specified (or default) | |
2902 | color ranges, resulting in strange colors. | |
2903 | - The HP-GL/2 filter didn't default to no input window, which | |
2904 | caused unnecessary clipping of plots. | |
2905 | - Integrated Xpdf's pdftops filter into CUPS, which is a | |
2906 | lightweight and reliable replacement for Ghostscript's | |
2907 | PDF support. | |
2908 | - Removed all PDF support from Ghostscript. | |
2909 | - Updated HP driver to set top margin; this seems to fix | |
2910 | the offset problem seen on HP DeskJet printers. | |
2911 | - Fixed dependencies on the ZLIB and JPEG libraries in | |
2912 | pstoraster. | |
2913 | - The lpr command wasn't using the lpoptions defined by | |
2914 | the user. | |
2915 | - The lpr command would segfault if the CUPS server was | |
2916 | not running. | |
2917 | - The top-level makefile was not installing the CUPS | |
2918 | initialization script. It now does so if it sees there | |
2919 | is an init.d directory in /sbin, /etc/rc.d, or /etc. | |
2920 | - "lpstat -v all" didn't work. | |
2921 | - pstoraster would crash on some platforms doing the | |
2922 | setpagedevice operator. | |
2923 | - The web administration interface now allows you to set | |
2924 | the default banner pages. | |
2925 | - Images can now be positioned on the page using the new | |
2926 | "position" option. | |
2927 | - The AccessLog, ErrorLog, and PageLog directives now | |
2928 | support "%s" to insert the server name. | |
2929 | - Added a new BrowseShortNames directive to allow for | |
2930 | short remote printer names ("printer" instead of | |
2931 | "printer@server") when possible. | |
2932 | - The scheduler could crash if given an invalid PPD file | |
2933 | with no PageSize attributes. | |
2934 | - Updated the serial, parallel, and usb backends to do | |
2935 | multiple writes and ignore ioctl() errors as needed; | |
2936 | this should fix problems with serial printing on old | |
2937 | serial drivers and with the UltraSPARC parallel port | |
2938 | driver under Solaris 2.7. | |
2939 | - Now propagate LD_LIBRARY_PATH to child processes from | |
2940 | cupsd. | |
2941 | - New DataDir directive for installing in alternate | |
2942 | locations. | |
2943 | - New CUPS_SERVERROOT and CUPS_DATADIR environment | |
2944 | variables to specify installation directories as | |
2945 | needed. | |
2946 | - Queued remote jobs recreate remote printers as needed | |
2947 | when the scheduler is started. | |
2948 | - Deleting a printer also purges all jobs on that | |
2949 | printer. | |
2950 | - Old job and control files that don't belong to a | |
2951 | printer are automatically deleted. | |
2952 | - Wasn't updating time-at-processing and | |
2953 | time-at-completed attributes in job. | |
2954 | - Didn't send required multiple-operation-time-out | |
2955 | attribute in response to a get-printer-attributes | |
2956 | request. | |
2957 | - cups-lpd now supports options set with lpoptions. | |
2958 | - The job-hold-until attribute is now provided with all | |
2959 | jobs. For jobs that are not currently held the value | |
2960 | is "no-hold". | |
2961 | - The scheduler was not sending "unknown" values in IPP | |
2962 | responses. | |
2963 | - The lpoptions command now accumulates options from | |
2964 | previous runs rather than replacing all options for a | |
2965 | printer. | |
2966 | - The IPP backend now switches to IPP/1.0 if a 1.1 | |
2967 | request fails. | |
2968 | - The lpadmin and admin.cgi programs now validate new | |
2969 | printer and class names. | |
2970 | - The access_log file now includes the number of IPP bytes | |
2971 | received in a POST request. | |
2972 | ||
2973 | ||
2974 | CHANGES IN CUPS v1.1b5 | |
2975 | ||
2976 | - Documentation updates. | |
2977 | - The pstoraster filter didn't compile without the JPEG library. | |
2978 | - The cupsd server didn't support the HTTP OPTIONS request | |
2979 | method. | |
2980 | - Dropped the "CLOSE" method supported by the cupsd server. | |
2981 | (not defined in HTTP specification) | |
2982 | - Makefile/configure script fixes. | |
2983 | - Missing the job-restart template. | |
2984 | - Added IPP test suite for testing. | |
2985 | - Missing IPP documentation from binary distributions. | |
2986 | - Fixed multiple-document handling code when last-document | |
2987 | not specified. | |
2988 | - Added more checks to IPP requests to prevent bad requests | |
2989 | from getting through. | |
2990 | - Not all of the Ghostscript error output was being sent to | |
2991 | stderr. | |
2992 | - The PostScript filter now added PJL commands to set the | |
2993 | job name and display string, if supported. | |
2994 | - The scheduler would crash if the browse socket could not | |
2995 | be bound. Now disables browsing if port 631 (reserved for | |
2996 | IPP) is being used by a misbehaving daemon. | |
2997 | - The USB backend now looks for the older Linux 2.2.x USB | |
2998 | printer device filenames as well as the newer ones. | |
2999 | - The IPP backend now uses the UTF-8 charset exclusively, | |
3000 | since apparently only CUPS handles more than US-ASCII and | |
3001 | UTF-8... | |
3002 | - Wasn't quoting ( in PostScript banners... | |
3003 | - Send-document requests with no document-format attribute | |
3004 | could cause cupsd to crash. | |
3005 | - Old jobs in the spool directory might cause cupsd to | |
3006 | crash. | |
3007 | - CUPS now supports all of the recommended job-hold-until | |
3008 | keywords as well as name values of the form "HH:MM" and | |
3009 | "HH:MM:SS". | |
3010 | - Added placeholder pointer for TLS encryption to the HTTP | |
3011 | connection structure. | |
3012 | - Fixed the "fast poll" bug reported by DISA - the | |
3013 | status pipe wasn't being closed for multi-file jobs. | |
3014 | - Revamped put_params code in pstoraster to fix bitmap | |
3015 | allocation bug with FrameMaker output. | |
3016 | - Ripped out filename, etc. code from pstoraster as it | |
3017 | is a potential security hole. | |
3018 | - Added support for RIP_CACHE environment variable in the | |
3019 | new pstoraster. | |
3020 | - Fixed USB device filenames for Linux; now support new | |
3021 | pre-2.4 devices (/dev/usb/lp#) and 2.2 devices | |
3022 | (/dev/usblp#) | |
3023 | - Fixed accept-jobs crash with classes. | |
3024 | - Didn't include dot-matrix EPSON drivers in previous | |
3025 | release. | |
3026 | ||
3027 | ||
3028 | CHANGES IN CUPS v1.1b4 | |
3029 | ||
3030 | - Documentation updates. | |
3031 | - Many makefile and configuration script fixes (should | |
3032 | now compile better under *BSD.) | |
3033 | - The MediaPosition attribute was being mishandled by | |
3034 | GhostScript, causing the RIP to fail whenever a paper | |
3035 | tray was selected. | |
3036 | - The scheduler now logs the final line of log information | |
3037 | from a filter, even if it doesn't end with a newline; this | |
3038 | primarily affects GhostScript error output. | |
3039 | - The scheduler was saving implicit classes, so after a few | |
3040 | restarts you'll end up with AnyPrinter, AnyAnyPrinter, etc. | |
3041 | - The JPEG autodetection didn't work with some JPEG files that | |
3042 | came from digital cameras (JPEG but not JFIF); the new | |
3043 | magic types should work with all images that the JPEG library | |
3044 | can handle. | |
3045 | - Fixed a bug in the new contains() MIME type rule that could | |
3046 | cause cupsd to crash. | |
3047 | - Switched to using strtol() in the MIME type code so that you | |
3048 | can use hex, octal, or decimal constants as desired in the | |
3049 | mime.types file. | |
3050 | - Banner files are now treated as templates, allowing any type | |
3051 | of file to be used as a banner. | |
3052 | - Added a 30-second timeout to backend device reports so that a | |
3053 | hung backend will not prevent the scheduler from starting. | |
3054 | - Backends are once again terminated when jobs are stopped; the | |
3055 | CUPS-supplied backends will stay alive until the downstream | |
3056 | filters have had a chance to clear out old page data. | |
3057 | - The charset lookup in the CUPS localization support was wrong | |
3058 | (iso8859-x instead of iso-8859-x) | |
3059 | - Changed the "cpNNNN" code page files to "windows-NNNN" to match | |
3060 | the IANA registrations. | |
3061 | - New PostScript banner pages. | |
3062 | - Added Windows BMP and Alias PIX image file support to the image | |
3063 | filter. | |
3064 | - The PNG reading coded didn't free all of its buffers. | |
3065 | - Added Digest authentication support to the client and server | |
3066 | code. | |
3067 | - Added Solaris options to System V commands. | |
3068 | - Now support the output-bin job template attribute. | |
3069 | - Now log the job-billing attribute in the page_log file, and | |
3070 | keep track of the total number of pages in the | |
3071 | job-media-sheets-completed attribute. | |
3072 | - The penwidth option is now in micrometers to support more | |
3073 | accurate width specification. | |
3074 | - The image filters now support interlaced and transparent PNG | |
3075 | files. | |
3076 | - Didn't handle Keep-Alive for HTTP/1.0 clients. | |
3077 | - The BrowsePoll support didn't handle when BrowseInterval | |
3078 | was set to 0 (now uses 30 seconds if BrowseInterval is 0) | |
3079 | - The DeskJet driver now supports 600 DPI color for printers | |
3080 | that support it. | |
3081 | - New lpinfo and lpmove commands. | |
3082 | - The lpq command now supports the Digital UNIX output format. | |
3083 | - The LPD mini-daemon now supports all required LPD operations. | |
3084 | - Implemented timeouts for multi-file documents. | |
3085 | - New cupsPrintFiles() function in the CUPS API library to | |
3086 | print multiple files using create-job and send-document | |
3087 | requests (1 job ID for multiple files) | |
3088 | - The lp command now sends multiple files as a single job, | |
3089 | matching the behavior of the System V command. | |
3090 | - The "cancel -a" command now purges job history files. | |
3091 | ||
3092 | ||
3093 | CHANGES IN CUPS v1.1b3 | |
3094 | ||
3095 | - Documentation updates. | |
3096 | - The startup script redirected stderr before stdout, | |
3097 | which caused problems with some versions of Bourne | |
3098 | shell and Bash. | |
3099 | - Fixed a bug in the scheduler's PPD language reading | |
3100 | code. | |
3101 | - Fixed a bug in the scheduler's check for the | |
3102 | manufacturer in the PPD. | |
3103 | - The pstoraster filter didn't allow some input and | |
3104 | output attributes to be set. | |
3105 | - Added banner page support. | |
3106 | - Added missing PAM configuration file. | |
3107 | - Configuration script fixes for Linux and *BSD. | |
3108 | - The log file code was using the wrong sign for the | |
3109 | timezone offset. | |
3110 | - The default printcap file is now empty (no printcap | |
3111 | file is generated). | |
3112 | - The scheduler did not start jobs destined for remote | |
3113 | printers when they became available. | |
3114 | - The scheduler now sends jobs to remote printers | |
3115 | immediately. (when sending jobs to a class, the remote | |
3116 | printer is only used when it becomes available) | |
3117 | - The scheduler now supports printing of banner pages | |
3118 | via the job-sheets attribute (banner files go in | |
3119 | /usr/share/cups/banners) | |
3120 | - The cupsd process now forks itself into the background | |
3121 | (override with -f) | |
3122 | - Added several *BSD enhancements. | |
3123 | - Added UNSUPPORTED libtool option to configuration | |
3124 | script to allow the use of libtool. Note that this is | |
3125 | UNSUPPORTED by us, but added by request of the *BSD | |
3126 | folks. | |
3127 | - The parallel, serial, and usb backends now retry the | |
3128 | opening of their ports. This allows multiple print | |
3129 | queues to be associated with a single physical port, | |
3130 | and will allow CUPS to support several types of | |
3131 | parallel port auto-switches in the near future. | |
3132 | - Set-Job-Attributes now supports adding, changing, and | |
3133 | deleting job template attributes, and no longer allows | |
3134 | job-printer-uri to be set (see CUPS-Move-Job) | |
3135 | - Added CUPS-Move-Job operation to support moving of jobs. | |
3136 | - The CGI template functionality now supports multiple | |
3137 | languages (still only have templates for English) | |
3138 | - The CUPS-Get-Printers and CUPS-Get-Classes operations | |
3139 | now support filtering as defined in the IDD. | |
3140 | - The Get-Jobs, CUPS-Get-Printers, and CUPS-Get-Classes | |
3141 | operations no longer limit themselves to 1000 jobs, | |
3142 | printers, or classes (believe it or not, this is | |
3143 | needed for some sites) | |
3144 | - The web interfaces now support language-specific | |
3145 | templates. | |
3146 | - The web admin interface now supports class management. | |
3147 | - The web admin interface now shows a list of | |
3148 | manufacturers before selecting the PPD/driver for a | |
3149 | specific printer. | |
3150 | - The web admin interface now supports configuration of | |
3151 | the default printer options in the PPD file. | |
3152 | - The web interface now uses printer/class | |
3153 | authentication for the test page instead of admin | |
3154 | authentication. | |
3155 | - Updated the RPM spec file for the current release. | |
3156 | - Updated language support for Windows code pages. | |
3157 | - 8-bit character set files can now use multiple fonts | |
3158 | (needed for Arabic, Greek, Hebrew, etc.) | |
3159 | - Added basic right-to-left text support in the text | |
3160 | filter. | |
3161 | - The POSIX locale now uses ISO-8859-1 instead of | |
3162 | US-ASCII. | |
3163 | - Fixed PDF printing problems. | |
3164 | - Fixed PostScript RIP page device dictionary elements | |
3165 | that weren't getting passed in cups_get_params(). | |
3166 | - Added a new "contains" rule for the magic file typing. | |
3167 | - The "printable" rule now accepts characters from 128 to 255 | |
3168 | (needed for Microsoft character sets) | |
3169 | - Added support for ~/.cupsrc as well as /etc/cups/client.conf | |
3170 | so that the default server can be configured on a per-user | |
3171 | basis without environment variables. | |
3172 | - Added LPD mini-daemon to support incoming LPD jobs. | |
3173 | ||
3174 | ||
3175 | CHANGES IN CUPS v1.1b2 | |
3176 | ||
3177 | - Documentation updates. | |
3178 | - The lp command didn't always load the user-defined | |
3179 | destinations, preventing it from seeing the default | |
3180 | printer. | |
3181 | - Many configure script and makefile fixes. | |
3182 | - The Microsoft code page files were missing from the | |
3183 | distribution. | |
3184 | - Added a workaround for the HP IPP client (which is sending | |
3185 | an invalid printer-uri in requests) | |
3186 | - Fixed the encoding of text-with-language and name-with-language | |
3187 | to match the IPP spec. | |
3188 | - Added support for unknown value tags in the IPP routines | |
3189 | (previously they would be ignored) | |
3190 | - Integrated GNU GhostScript 5.50 into the pstoraster filter. | |
3191 | - Client hostname resolution was broken on little-endian | |
3192 | machines. | |
3193 | - Now look at client.conf file for client's default server | |
3194 | and printer. | |
3195 | - The cupsServer() function did not close the client.conf file | |
3196 | if it contained a ServerName directive. | |
3197 | - Added BrowseAllow, BrowseDeny, BrowseOrder, BrowsePoll, and | |
3198 | BrowseRelay directives. | |
3199 | - BrowseInterval 0 disables advertising of local printers, but | |
3200 | still receives information on remote printers. | |
3201 | - New browse polling daemon (for polling servers on different | |
3202 | networks) | |
3203 | - New PPD cache file for faster startup times with large numbers | |
3204 | of PPD files. | |
3205 | - The Host: field was incorrectly required for HTTP/1.0 clients. | |
3206 | - New set-job-attributes operation now supported. | |
3207 | - The mime_load_types() and mime_load_convs() functions did not | |
3208 | close their input files. | |
3209 | ||
3210 | ||
3211 | CHANGES IN CUPS v1.1b1 | |
3212 | ||
3213 | - NEW web-based administration interface. | |
3214 | - NEW EPSON printer drivers. | |
3215 | - NEW user-defined printers and options. | |
3216 | - NEW persistent jobs and job history | |
3217 | - NEW IPP/1.1 support | |
3218 | - NEW template-based web interfaces. | |
3219 | - NEW CUPS-get-devices and CUPS-get-ppds operations. | |
3220 | - NEW support for create-job and send-file operations. | |
3221 | - NEW certificate-based authentication for local | |
3222 | administration. | |
3223 | - NEW USB backend. | |
3224 | - The lpr command now produces human-readable error messages. | |
3225 | - The lpq command now produces BSD standard format output | |
3226 | instead of OSF/1 output. This should resolve the SAMBA | |
3227 | print queue problems that have been reported. | |
3228 | - The IPP backend did not always detect when the "raw" option | |
3229 | was being used. | |
3230 | - The "lpstat -p" command would stop after the first active | |
3231 | printer. | |
3232 | - The "lpstat -v" command would stop before the first remote | |
3233 | printer. |