lp:~3v1n0/bamf/lib-factory-xids-matching

Created by Marco Trevisan (Treviño) and last modified
Get this branch:
bzr branch lp:~3v1n0/bamf/lib-factory-xids-matching
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

480. By Marco Trevisan (Treviño)

BamfFactory: use BamfFactoryViewType instead of strings comparisons when possible.

This cleans the code and is for sure more safe.

479. By Marco Trevisan (Treviño)

libbamf, bamfview: disconect to the destroyed signal when needed

478. By Marco Trevisan (Treviño)

BamfView: reset flags and nullify proxy on proxy destruction

477. By Marco Trevisan (Treviño)

BamfFactory: try to re-associate also windows by xids

This shouldn't be needed since the path is not changed in this case
but, let's be safe!

476. By Marco Trevisan (Treviño)

BamfFactory: use also the childen xids to match views

When bamfdaemon has been killed and re-opened, the library should
try to reassociate the opened applications by desktop files, if that
check fails we should fallback on the children xids comparison:
if at least one child of a closed bamf application matches, then
we should re-associate it with the new path.

475. By Marco Trevisan (Treviño)

BamfApplication: add protected get_cached_xids function, to retrieve the children xids

We keep in cache a list of xids that the application owns.
Available only to the library, not outside

474. By Marco Trevisan (Treviño)

BamfApplication: fix memory leak on get_windows

473. By Marco Trevisan (Treviño)

BamfApplication: use typed factory getter

472. By Marco Trevisan (Treviño)

BamfWindow: use typed factory getter

471. By Marco Trevisan (Treviño)

BamfMatcher: use factory's view_for_path_type function to get BamfView's

This should increase the performances when creating a new view, since
we don't need to create an unneeded view, fetch for its type, and finally
re-create the correctly typed view. Now we do all in one step if possible.

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.