lp:~cmiller/ubuntuone-android-music/cache-size-limit
- Get this branch:
- bzr branch lp:~cmiller/ubuntuone-android-music/cache-size-limit
Branch merges
- Ubuntu One hackers: Pending requested
- Diff: 0 lines
Related bugs
Bug #657023: Not enough space errors (with plenty of space) | Critical | Fix Released |
Related blueprints
Branch information
Recent revisions
- 461. By Chad Miller
-
For large SD cards, the computation of number of bytes free could overflow the 32bits Java was using to store the count. Now, use long storage and divide by long constants to make sure we are working in space that can hold us. (LP: #657023)
- 460. By Chad Miller
-
Use less disk space by default, 100MB instead of 500MB.
Add a new max-cache value, 50MB.
- 458. By Chad Miller
-
The String.lastIndexOf sep was too clever and too dumb. "//foo" would fail.
Instead, push the decision about whether there's a parent directory into the File class, and don't poorly LBYL.
- 457. By Chad Miller
-
Avoid unsafe object addition to make Strings. (LP: 652542)
Ubuntu One servers gave out bad "path" attributes on directory+child XML
documents, so it exposed a bug where the MusicDirectory.Entry path could
have no slashes and cause the parent directory of all stored files to be the
word "null".Now, Test if any non-first character of the song path is the directory
separator, and only if it is, then trust that path to be splitable into some
filename and a parent path. Else, constuct the path as if the song path is
null. - 455. By Chad Miller
-
Never try to parse a document for which we didn't get an affirmative HTTP response code.
- 454. By Chad Miller
-
Merge several miscellaneous fixes:
Do not poll a server while there are no credentials to send in the URL.
Turn on all lint warnings.
Remove bad=old dumps of serialized data. No need to try parsing them again.
Exponential backoff of REST API attempts.
Remove duplicate artist parsing.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntuone-android-music