lp:~robru/gwibber/dee

Created by Robert Bruce Park and last modified
Get this branch:
bzr branch lp:~robru/gwibber/dee
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

1447. By Robert Bruce Park

Add a helpful comment.

1446. By Robert Bruce Park

Rename some things to indicate that they are private members.

1445. By Robert Bruce Park

Avoid regex in order to improve readability.

1444. By Robert Bruce Park

Part two of the cleanup based on barry's review.

a) SharedModel is now mocked in the tests so that we are not dumping
   test data into the live SharedModel.

b) Each test is broken down into more bitesize units for easier
   understanding when something goes wrong.

1443. By Robert Bruce Park

Part one of cleanup based on barry's review.

a) Stop iterating over the SharedModel, because that's stupidly slow
in practise.

b) cache the output of strip(), making the performance of _publish
O(1) instead of O(n)

1442. By Robert Bruce Park

Looks like I didn't rip out enough old crufty stuff last time.

1441. By Robert Bruce Park

Add a publish_lock to avoid race conditions.

We are checking for duplicates first, and then appending new rows later,
which creates a race condition in between (eg, some other thread can easily
insert a duplicate row after we find that there are no duplicates present, but
before we get around to appending our own row).

This makes duplicate checking / row appends atomic.

1440. By Robert Bruce Park

Tweak the return value logic in Base._publish.

Also stop hard-coding column index numbers.

1439. By Robert Bruce Park

Schema fixup, plus working de-duplication logic.

The de-dup logic is modelled very closely on the way libgwibber does
it in Vala, but now we're doing it right at the source before
libgwibber even gets there. Three cheers for efficiency!

1438. By Robert Bruce Park

Test that we can get the message back from the SharedModel, too.

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.