lp:~3v1n0/bamf/g-control-center-rematching

Created by Marco Trevisan (Treviño) and last modified
Get this branch:
bzr branch lp:~3v1n0/bamf/g-control-center-rematching
Only Marco Trevisan (Treviño) can upload to this branch. If you are Marco Trevisan (Treviño) please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Marco Trevisan (Treviño)
Project:
BAMF
Status:
Merged

Recent revisions

432. By Marco Trevisan (Treviño)

BamfMatcher: don't include bzr as a good prefix.

431. By Marco Trevisan (Treviño)

Matcher: add support to Gnome Control Center rematching.

Using an hack similar to the one used in libreoffice to match the
gnome-control-center window changes, here instead we use the
WM_WINDOW_ROLE hint (set in the g-c-c side) to check if the gnome control
center window has changed role (i.e its content type).

Also, fixed an issue that caused BAMF to ignore the desktop files
with an exec string with multiple strings (such as the gnome-control-center
uses). Now we match all these desktop files using a white list.

430. By Michal Hruby

Added method and signal to list desktop file paths of running applications, this is needed for application lens, which should exclude running applications from the default results and we need to minimize the number of wakeups of the lens daemon.. Fixes: . Appoved by Marco Trevisan (Treviño), Mikkel Kamstrup Erlandsen.

429. By Sam Spilsbury

Collects existing merges from Marco (sorry, we need this merged) and fixes conflicts/naming. Fixes: . Appoved by Marco Trevisan (Treviño), Michal Hruby, Andrea Azzarone.

428. By Marco Trevisan (Treviño)

Added the wrapper functions for the new DBus APIs defined in lp:~3v1n0/bamf/bamfdaemon-net-dbus-hints. Fixes: . Appoved by .

427. By Marco Trevisan (Treviño)

Implemented the _DBUS_APPLICATION_ID, _DBUS_UNIQUE_NAME, and _DBUS_OBJECT_PATH support

Added more APIs to get more informations from a window, and to get the stacked windows per monitor.. Fixes: . Appoved by Jason Smith.

426. By Marco Trevisan (Treviño)

Ported the BAMF daemon to GDBus, using gdbus-codegen to generate most of the low-level code.

The BamfMatcher and BamfControl are directly extending the generated skeleton class, while the Views are now extending the generated BamfDBusItemObjectSkeleton class, so it has been easily possible to transform each subclass into a kind of proxy to the generated skeleton interface. To reduce code redundancy for initializing signals, some view classes are also implementing the related skeleton interface, but this has been done only for convenience.

Then, I've added a BamfDaemon class to handle the daemon initialization and termination, and I've updated the tests against the new internal APIs.

Finally, I've also ported all the code for indicators and tabs, while I guess that this is now quite obsolete (the indicator part shouldn't totally, but the tabs really are), so maybe it could safely be removed.

I also want to make clear that the public DBus API interface has not been touched by this porting, so the new bamfdaemon can safely replace the old one (in fact I'm using it on my PC for some days with no crashes or unexpected behavior).

The port of libbamf will begin soon as well, and doing that maybe we should refine also the DBus interface.

PS: of course I've also included some random code fixes and cleanup.. Fixes: https://bugs.launchpad.net/bugs/697148. Appoved by Jason Smith.

425. By Didier Roche-Tolomelli

releasing 0.2.106

424. By Marco Trevisan (Treviño)

Fixed LibreOffice and OpenOffice compatibility, remapping windows to their real type. Fixes: https://bugs.launchpad.net/bugs/741995, https://bugs.launchpad.net/bugs/840000, https://bugs.launchpad.net/bugs/842566, https://bugs.launchpad.net/bugs/861355. Appoved by Mikkel Kamstrup Erlandsen.

423. By Marco Trevisan (Treviño)

BAMF doesn't consider any .desktop file saved in ~/.local/share/applications or any other local folder which contains the flag OnlyShowIn=GNOME;Unity; so, it's impossible to directly copy any .desktop file from /usr/share/applications to a local folder to customize it, without removing the above flag, and this is wrong. This patch fixes the issue.. Fixes: https://bugs.launchpad.net/bugs/863290. Appoved by Jason Smith.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:bamf/0.4
This branch contains Public information 
Everyone can see this information.