lp:~cmiller/ubuntuone-android-music/null-parent-directory

Created by Chad Miller and last modified
Get this branch:
bzr branch lp:~cmiller/ubuntuone-android-music/null-parent-directory
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:
Merged

Recent revisions

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.

456. By Chad Miller

Prefer external storage as app installation location.

Bump version number.

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.

453. By Chad Miller

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

452. By Chad Miller

Merge contributed Last.fm scrobbling from Scott Ferguson

451. By Chad Miller

Comparators require an int to be returned, but we're subtracting longs, and the result of subtraction may not fit in an int, and then the sky falls down. Reverting my dumb idea for saving function calls and comparisons of relatively small lists.

450. By Chad Miller

Try to handle undefined value better. Since we now care whether a defined cache-size can fit on disk, we also now care whether the cache size is defined.

449. By Chad Miller

Fix bad name of function that says it returns MB count, but really returns B.

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