Merge lp://qastaging/~mikemc/ubuntuone-ios-files/asset-library-sweep-refactor into lp://qastaging/ubuntuone-ios-files

Proposed by Mike McCracken
Status: Merged
Approved by: dobey
Approved revision: 98
Merged at revision: 100
Proposed branch: lp://qastaging/~mikemc/ubuntuone-ios-files/asset-library-sweep-refactor
Merge into: lp://qastaging/ubuntuone-ios-files
Diff against target: 869 lines (+413/-279)
6 files modified
Files/U1AssetManager.h (+32/-0)
Files/U1AssetManager.m (+226/-0)
Files/U1AutoUploadOperation.m (+2/-2)
Files/U1AutoUploadsManager.h (+2/-3)
Files/U1AutoUploadsManager.m (+147/-271)
Files/U1FolderViewController.m (+4/-3)
To merge this branch: bzr merge lp://qastaging/~mikemc/ubuntuone-ios-files/asset-library-sweep-refactor
Reviewer Review Type Date Requested Status
dobey (community) Approve
Review via email: mp+163372@code.qastaging.launchpad.net

Commit message

- refactor sweep of asset library into separate manager

Description of the change

- refactor sweep of asset library into separate manager

- intended to support future use of sweep code for hashing and searching assets without queueing uploads
- remove now-unused filename generation dating from before iOS 5
- avoid multiple asset scans due to registering for LibraryChangedNotification without specifying which library object (thus getting one from each, triggering a scan each time)
- avoid overly frequent scans of upload operation queue to generate pending upload badge, using a coalescing notification queue

To post a comment you must log in.
Revision history for this message
dobey (dobey) wrote :

Do the pre-existing modified source files here, already have their copyright header updated to include 2013?

review: Needs Information
97. By Mike McCracken

Update copyright to 2013

98. By Mike McCracken

Update copyright year to 2013.

Revision history for this message
dobey (dobey) :
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