|
1 | | -# CHANGES - libppd v2.0b3 - 2023-01-31 |
| 1 | +# CHANGES - libppd v2.0b4 - 2023-02-22 |
| 2 | + |
| 3 | +## CHANGES IN V2.0b4 (22nd February 2023) |
| 4 | + |
| 5 | +- Transfer CUPS' `cupstestppd` utility to `ppdTest()` library function |
| 6 | + The valuable tool got forgotten in the first place, now it is available |
| 7 | + as `ppdTest()` library function and `testppdfile` command line utility. |
| 8 | + The command line utility only gets installed with `./configure` |
| 9 | + called with `--enable-testppdfile` argument. |
| 10 | + |
| 11 | +- In auto-generated PPDs do not set RGB default on mono printers |
| 12 | + When a PPD for a driverless printer is generated by the |
| 13 | + `ppdCreatePPDFromIPP()` function and the get-printer-attributes IPP |
| 14 | + response gives "print-color-mode-default=auto" the PPD's default |
| 15 | + setting for "ColorModel" is always "RGB", even on monochrome |
| 16 | + printers, which makes printing fail on most devices. |
| 17 | + Now we ignore the "print-color-mode-default" if set to "auto". |
| 18 | + |
| 19 | + See https://github.com/OpenPrinting/cups/issues/614 |
| 20 | + |
| 21 | +- ppdLoadAttributes(): Added NULL check for missing PPD PageSize default |
| 22 | + Some PPDs, even "everywhere" PPDs generated by CUPS for a driverless |
| 23 | + IPP printer do not have a valid default value for the default page |
| 24 | + size, like "Unknown". Added a NULL check to avoid a crash by such |
| 25 | + PPD files. |
| 26 | + |
| 27 | +- Coverity check done by Zdenek Dohnal for the inclusion of libppd |
| 28 | + in Fedora and Red Hat. Zdenek has fixed all the issues: Missing free(), |
| 29 | + potential string overflows, ... Thanks a lot! |
| 30 | + |
| 31 | +- `testppd`: String got freed too early |
| 32 | + In this test program run by `make check` a string was used after |
| 33 | + already gotten freed. Discovered via a compiler warning, but program |
| 34 | + could have actually crashed. |
| 35 | + |
| 36 | +- `configure.ac`: Change deprecated AC_PROG_LIBTOOL for LT_INIT (#8) |
| 37 | + |
2 | 38 |
|
3 | 39 | ## CHANGES IN V2.0b3 (31st January 2023) |
4 | 40 |
|
|
0 commit comments