lp:~robru/gwibber/dispatcher

Created by Robert Bruce Park and last modified
Get this branch:
bzr branch lp:~robru/gwibber/dispatcher
Only Robert Bruce Park can upload to this branch. If you are Robert Bruce Park please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Robert Bruce Park
Project:
Gwibber
Status:
Merged

Recent revisions

1438. By Robert Bruce Park

Rename _manager to protocolmanager because it is actually public.

1437. By Robert Bruce Park

Raise NotImplementedErrors instead of AttributeErrors for protocols.

This makes more sense.

1436. By Robert Bruce Park

Add Dispatcher.online property to enhance readability of the timer_id.

1435. By Robert Bruce Park

Drop protocol.info.features as it is redundant; we can introspect what
features are present based on what methods are present on the protocol
instance.

1434. By Robert Bruce Park

Get refresh timeout interval from GSettings.

1433. By Robert Bruce Park

Call Dispatcher.Refresh periodically from the GLib mainloop.

1432. By Robert Bruce Park

Expand test_get_features to check invalid inputs.

1431. By Robert Bruce Park

Convert protocol info into a sub-namespace called 'info'.

This was necessary because the primary protocol class namespace is reserved
for callable methods that can be accessed through __call__, so now eg
protocol.version has been renamed to protocol.info.version, etc.

This commit results in the Dispatcher.GetFeatures test passing, because it's
now possible to introspect what features a protocol supports just by looking
at its public methods.

1430. By Robert Bruce Park

Converted services from an array to a class.

This makes it easier to pass references from one service to another's
constructor, cleaning up service instantiation quite a bit.

1429. By Robert Bruce Park

Invoke super() so that the Dispatcher can actually be called through dbus.

Branch metadata

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