lp:~robru/friends/urlshorten
- Get this branch:
- bzr branch lp:~robru/friends/urlshorten
Branch merges
- Ken VanDine: Approve
-
Diff: 187 lines (+54/-76)5 files modifiedfriends/main.py (+1/-2)
friends/service/dispatcher.py (+30/-1)
friends/service/shortener.py (+0/-69)
friends/service/templates/com.canonical.Friends.URLShorten.service.in (+0/-3)
friends/tests/test_dispatcher.py (+23/-1)
Branch information
Recent revisions
- 111. By Robert Bruce Park
-
Merge URLShorten into Dispatcher class.
URLShorten only had the one method, so it didn't really make much
sense for it to be separate. - 107. By Robert Bruce Park
-
Revert revision 94 because it broke compatibility with Quantal. Sorry.
Please re-apply r94 once Quantal is EOL! ;-)
- 104. By Robert Bruce Park
-
Slightly improve error messages reported by Uploader class when there
is a zero-length response from the server.(Thanks to Barry Warsaw for pointing this out).
- 103. By Robert Bruce Park
-
Fix docstring in Dispatcher.Upload.
(it now demonstrates making the mainloop, and corrected the callback
call signatures). - 102. By Robert Bruce Park
-
Reduce memory usage by storing only row index ints rather than
DeeModelRowIter objects, which wastefully contain references to many,
many, many unnecessary python objects.In my limited testing, this change dropped memory usage by ~10MBs for
a DeeModel containing 1660 rows, and I confirmed with the objgraph
module that triggering a refresh no longer results in any additional
python objects being kept around in memory -- in theory we have
abolished all memory leaks! In practise however, C code that we run
through GObject Introspection is free to leak as it pleases and this
tool would not detect it.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:friends