lp:~robru/gwibber/dispatcher
- Get this branch:
- bzr branch lp:~robru/gwibber/dispatcher
Branch merges
- Barry Warsaw: Pending requested
-
Diff: 736 lines (+303/-89)12 files modifiedgwibber/gwibber/main.py (+14/-18)
gwibber/gwibber/protocols/flickr.py (+6/-8)
gwibber/gwibber/protocols/twitter.py (+2/-1)
gwibber/gwibber/service/dispatcher.py (+201/-0)
gwibber/gwibber/testing/com.Gwibber.Service.service.in (+3/-0)
gwibber/gwibber/testing/dbus.py (+1/-0)
gwibber/gwibber/tests/test_dbus.py (+39/-22)
gwibber/gwibber/tests/test_flickr.py (+6/-8)
gwibber/gwibber/tests/test_protocols.py (+10/-15)
gwibber/gwibber/tests/test_twitter.py (+1/-1)
gwibber/gwibber/utils/account.py (+9/-2)
gwibber/gwibber/utils/protocol.py (+11/-14)
Branch information
Recent revisions
- 1437. By Robert Bruce Park
-
Raise NotImplementedE
rrors instead of AttributeErrors for protocols. This makes more sense.
- 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. - 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