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