Ubuntu One Music for Android

lp:~cmiller/ubuntuone-android-music/cache-size-limit

Created by Chad Miller on 2010-10-08 and last modified on 2010-10-08
Get this branch:
bzr branch lp:~cmiller/ubuntuone-android-music/cache-size-limit
Only Chad Miller can upload to this branch. If you are Chad Miller please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Chad Miller
Project:
Ubuntu One Android Music
Status:
Development

Recent revisions

461. By Chad Miller on 2010-10-08

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 on 2010-10-08

Use less disk space by default, 100MB instead of 500MB.

Add a new max-cache value, 50MB.

459. By Chad Miller on 2010-10-08

Merge more helpful help.

458. By Chad Miller on 2010-10-08

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 on 2010-10-07

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.

456. By Chad Miller on 2010-10-07

Prefer external storage as app installation location.

Bump version number.

455. By Chad Miller on 2010-10-07

Never try to parse a document for which we didn't get an affirmative HTTP response code.

454. By Chad Miller on 2010-10-07

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.

453. By Chad Miller on 2010-10-07

Hide bitrate if we don't have it, and omit file type if unknown

452. By Chad Miller on 2010-10-07

Merge contributed Last.fm scrobbling from Scott Ferguson

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
This branch contains Public information 
Everyone can see this information.

Subscribers