Merge lp://qastaging/~stolowski/unity-scope-home/more-async into lp://qastaging/unity-scope-home

Proposed by Paweł Stołowski
Status: Merged
Approved by: Michal Hruby
Approved revision: 91
Merged at revision: 79
Proposed branch: lp://qastaging/~stolowski/unity-scope-home/more-async
Merge into: lp://qastaging/unity-scope-home
Diff against target: 159 lines (+69/-11)
2 files modified
src/scope.vala (+68/-10)
src/smart-scopes-more-suggestions-parser.vala (+1/-1)
To merge this branch: bzr merge lp://qastaging/~stolowski/unity-scope-home/more-async
Reviewer Review Type Date Requested Status
Michal Hruby (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+155535@code.qastaging.launchpad.net

Commit message

Push remote data results to master scopes in an idle callback.

Description of the change

Push remote data results to master scopes in an idle callback.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
84. By Paweł Stołowski

Minor fix.

85. By Paweł Stołowski

Don't mark more-suggestions results as 'personal'.

86. By Paweł Stołowski

Use more clear variables for async stuff in search method.

87. By Paweł Stołowski

Reset push_data_idle_src after removing the source.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michal Hruby (mhr3) wrote :

49 + push_data.remove (scope_id);

Removing while iterating, not nice, can you use HashTableIter, push everything and do push_data.remove_all ()

review: Needs Fixing
88. By Paweł Stołowski

Use HashTableIter to iterate over push_data.

89. By Paweł Stołowski

Use remove_all after pushing the data.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
90. By Paweł Stołowski

Declare scope_id/model unowned when iterating over push_data.

91. By Paweł Stołowski

s/message/debug.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michal Hruby (mhr3) wrote :

Looks good to me now.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: