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