PpPrintDevice has grown quite a lot since its introduction.
It contains almost all members of TDevice now.
Merging members of TDevice into PpPrintDevice saves us some work
and allows us to process TDevice's data out of pp-new-printer-dialog.c.
https://bugzilla.gnome.org/show_bug.cgi?id=695564
This is deprecated in newer automake versions, and this causes warnings
with automake 1.14:
panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for
AM_CPPFLAGS' (or '*_CPPFLAGS')
https://bugzilla.gnome.org/show_bug.cgi?id=732189
Parse URIs of devices found by the new printer dialog and
show types of their connections for local printers or
locations for network printers or addresses for network
printers.
https://bugzilla.gnome.org/show_bug.cgi?id=693183
Guess hostname of found device if it was not provided before.
CUPS browses its printers as "PrinterName @ ComputerName" or
"PrinterInfo @ ComputerName" through DNS-SD. Get the last part
of that string and set it as hostname.
HPLIP printers have URIs of form
hp:/net/PrinterModel?ip=IPAddress&port=Port or
hp:/net/PrinterModel?ip=IPAddress.
URIs of other protocols are parsed by httpSeparateURI().
https://bugzilla.gnome.org/show_bug.cgi?id=693183
Start to search for remote printers on given hostname after
500ms of user's inactivity instead of GtkSearchEntry's default
150ms (the search is very expensive operation).
Keep filtering devices list after the default 150ms and
search immediately if user activates the search entry.
https://bugzilla.gnome.org/show_bug.cgi?id=694154
Connect to "search-changed" signal of GtkSearchEntry instead of
"activate" signal when searching for new printers. Cancel previous
searches and start new ones as needed.
https://bugzilla.gnome.org/show_bug.cgi?id=694154
Move the text "No printers detected." to its own GtkLabel
which is vertically and horizontally centerd and show it
instead of GtkTreeView when no devices were found.
https://bugzilla.gnome.org/show_bug.cgi?id=706897
g_date_time_new_local() expects month in range 1..12
but localtime() returns month in range 0..11.
g_date_time_new_local() also expects absolute value
for year but localtime() returns number of years since 1900.
Adding 1 to month and 1900 to year fixes this.
When a Samba server which needs authentication is discovered, add
it to the list of new devices and allow user to authenticate against it
by pressing new "Authenticate" button.
Show only printers available on such a server when authenticated and
remove the server from the list.
https://bugzilla.gnome.org/show_bug.cgi?id=698532
Add parameter which enables showing of authentication dialog
for Samba servers which need authentication.
Add samba server to the internal list of found devices if it needs
authentication and the authentication is disabled.
https://bugzilla.gnome.org/show_bug.cgi?id=698532
Get devices also from backends which are not hard-coded
in pp-utils.c. This is achieved by searching on all
backends with excluding hard-coded ones in the last search.
https://bugzilla.gnome.org/show_bug.cgi?id=693182
Use GCancellable when setting a new value of an option.
This prevents Printers panel from crash caused by
calling of option widget's callback on finalized widget.
https://bugzilla.gnome.org/show_bug.cgi?id=694874
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.
https://bugzilla.gnome.org/show_bug.cgi?id=694110
Search for samba printers on local network or on specified
host. The new printer dialog asks for password for a samba
server if it is needed for listing printers on it. User is
asked for selection of driver from local database during
addition of new samba printer.
https://bugzilla.gnome.org/show_bug.cgi?id=683229
Add class PpSamba which contains asynchronous function
for searching for samba-shared printers. It can search
for printers on local network or on a specific host if
needed.
https://bugzilla.gnome.org/show_bug.cgi?id=683229
Add new class PpAuthenticationDialog which shows dialog
requesting username and password. The dialog has 3 parameters.
The first one is a text which will be shown to the user and
the second is username by which username entry will be prefilled.
The last parameter is parent window so thedialog is properly
decorated and positioned.
https://bugzilla.gnome.org/show_bug.cgi?id=683229
Make the dialog bigger (600x400). Add padding between list of manufacturers
and the list of drivers. Add padding to manufacturers and drivers lists.
Change Manufacturers and Drivers to singular. Trigger resizing of treeview
when list has changed so it has optimal width.
https://bugzilla.gnome.org/show_bug.cgi?id=690448
Change icon of default printer from emblem-default-symbolic
to object-select-symbolic. Make it follow the state of the cell
in which it is placed.
https://bugzilla.gnome.org/show_bug.cgi?id=690444