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