lp:~zyga/checkbox/wip

Created by Zygmunt Krynicki and last modified
Get this branch:
bzr branch lp:~zyga/checkbox/wip
Only Zygmunt Krynicki can upload to this branch. If you are Zygmunt Krynicki please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Zygmunt Krynicki
Project:
Checkbox
Status:
Development

Recent revisions

3358. By Zygmunt Krynicki

plainbox:session:suspend: [wip] use relative pathnames

Signed-off-by: Zygmunt Krynicki <email address hidden>

3357. By Zygmunt Krynicki

plainbox:session:state: make session metadata mutable

Signed-off-by: Zygmunt Krynicki <email address hidden>

3356. By Zygmunt Krynicki

plainbox:session:state: make metadata flags immutable

Signed-off-by: Zygmunt Krynicki <email address hidden>

3355. By Zygmunt Krynicki

plainbox:session:state: fire on_metadata_changed()

This patch fires the SessionMetaData.on_metadata_changed() signal
whenever one of the properties associated with the meta-data is updated.

The notable exception are flags that can still (for the moment) be
updated via metadata.flags.{add,remove,...} directly.

Signed-off-by: Zygmunt Krynicki <email address hidden>

3354. By Zygmunt Krynicki

plainbox:session:state: add om_flags_changed() signal

Signed-off-by: Zygmunt Krynicki <email address hidden>

3353. By Zygmunt Krynicki

plainbox:session:state: add om_metadata_changed() signal

Signed-off-by: Zygmunt Krynicki <email address hidden>

3352. By Zygmunt Krynicki

plainbox:session:state: [wip] add the richproperty class

This patch is an early iteration of the work-in-progress property that
doubles as a on-changed signal. The implementation is all wrong but this
is still pretty early code so no promises are made.

Signed-off-by: Zygmunt Krynicki <email address hidden>

3351. By Zygmunt Krynicki

plainbox:session:resume: [wip] construct meta-data all at once

This patch changes the meta-data resume code not to instantiate an empty
meta-data object and fill it with values later. Instead a whole new
meta-data object is constructed at once and assigned over the old
meta-data object in the session resume sequence.

This needs more work (tests probably fail) and a little bit of thought.
I was trying to avoid triggering too many meta-data update events but
perhaps this is not worth the time. It is also tricky with regards to
the so-called early callback which means that we're going to discard
whatever update signals the caller may already have assigned to the
session state that can be injected via the early callback.

Signed-off-by: Zygmunt Krynicki <email address hidden>

3350. By Zygmunt Krynicki

fixup-result

3349. By Zygmunt Krynicki

plainbox:signal: add Signal.buffered()

This patch adds a new context manager exposed as the Signal.buffered
method. While buffering is enabled all attempts to fire a specific
signal are inhibited and delayed after the context manager exits.

In addition, a squash mode is added where identical signals are combined
and sent only once. This mode changes the semantics of the code under
the context manager so it is not enabled by default.

Signed-off-by: Zygmunt Krynicki <email address hidden>

Branch metadata

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

Subscribers