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