|
1 |
| -# CHANGES - Common Print Dialog Backends - CUPS Backend - v2.0b5 - 2023-08-02 |
| 1 | +# CHANGES - Common Print Dialog Backends - CUPS Backend - v2.0b6 - 2024-06-18 |
| 2 | + |
| 3 | +## CHANGES IN V2.0b6 (18th June 2024) |
| 4 | + |
| 5 | +- Stream print data through a Unix domain socket |
| 6 | + To ease making a Snap from the CPDB backend for CUPS we now transfer |
| 7 | + the print job data from the dialog to the backend via a Unix domain |
| 8 | + socket and not by dropping the data into a file (PR #28). |
| 9 | + |
| 10 | +- Let the frontend not be a D-Bus service, only the backends |
| 11 | + To control hiding temporary or remote printers in the backend's |
| 12 | + printer list we have added methods to the D-Bus service provided by |
| 13 | + the backends now. Before, the frontends were also D-Bus services |
| 14 | + just to send signals to the backends for controling the filtering |
| 15 | + (PR #29). |
| 16 | + |
| 17 | +- Unified logging. Always use log...() functions (PR #29). |
| 18 | + |
| 19 | +- Updated names of some CUPS constants to CUPS 2.5.x and newer (PR #28). |
| 20 | + |
| 21 | +- Removed the backend functions for get-all-jobs(), |
| 22 | + get_active_jobs_count(), and cancel_job() (PR #28). |
| 23 | + |
| 24 | +- Removed tryPPD(), a useless, PPD-related function |
| 25 | + This function logs the options in the PPD of the CUPS queue but does |
| 26 | + nothing else. PPDs will also go away in CUPS 3.x, so we want the CUPS |
| 27 | + backend not depend on PPDs or PPD-supporting functions/libraries (PR #29). |
| 28 | + |
| 29 | +- send_printer_state_changed_signal(): Send correct signal |
| 30 | + Send CPDB_SIGNAL_PRINTER_STATE_CHANGED, not |
| 31 | + CPDB_SIGNAL_PRINTER_REMOVED (#29). |
| 32 | + |
| 33 | +- Let "dialog_name" always be "const char *", to eliminate warnings (PR #29). |
| 34 | + |
| 35 | +- Added NULL checks for the functions dealing with dialogs |
| 36 | + |
| 37 | +- Build test: Give more time (3 instead of 1 sec) for the print job |
| 38 | + submission before closing the backend, to get note of the |
| 39 | + confirmation of successful submission (PR #28). |
| 40 | + |
| 41 | +- Build test: Let CPDB frontend and backend log in debug mode (PR #28). |
| 42 | + |
| 43 | +- Build test: Create the directory for the socket files (PR #28). |
| 44 | + |
| 45 | +- Updated build test for removal of backend info file |
| 46 | + |
2 | 47 |
|
3 | 48 | ## CHANGES IN V2.0b5 (2nd August 2023)
|
4 | 49 |
|
|
0 commit comments