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