cpdb-libs 2.0b1 #13
tillkamppeter
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First beta release for cpdb-libs 2.0.0
Print attributes/options and their choices are usually defined in a machine-readable form which is more made for easy typing in a command line, not too long, no special characters, always in English and human-readable form for GUI (print dialogs), more verbose for easier understanding, with spaces and other special characters, translated, ...
Older backends without human-readable strings can still be used. In such a case it is recommended that the dialog does either its own conversion or simply shows the machine-readable string as a last mean.
get_media_size()
function to retrieve media dimensions for a given "media" option valueRemoved CUPS-specific functions from the frontend library functions and the dependency on libcups, renamed CUPS-base function and signal names
const
qualifiers on suitable function parametersDBG_LOG
now includes error-messageTo make sure that the resources of libcpdb and libcpdb-frontend do not conflict with the ones of any other library used by a fronte or backend created with CPDB, all functions, data types, and constants of CPDB got renamed to be unique to CPDB.
Here we follow the rules of CUPS and cups-filters (to get unique rules for all libraries by OpenPrinting): API functions are in camelCase and with
cpdb
prefix, data types all-lowercase, with_
as word separator, and constants are all-uppercase, also with_
as word separator, and withCPDB_
prefix./usr/include/cpdb
now: Base API headerscpdb.h
andcpdb-frontend.h
, interface headers (and also part of the API)backend-interface.h
andfrontend-interface.h
, and the convenience header filesbackend.h
andfrontend.h
(include exactly the headers needed).glib.h
cannot get included inside 'extern "C" { ... }'AC_INIT()
inconfigure.ac
: Bug report destination, directory formake dist
.README.md
: Fixed typos and updated usage instructions.gitignore
This discussion was created from the release cpdb-libs 2.0b1.
Beta Was this translation helpful? Give feedback.
All reactions