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