lp:~plaxx/tomdroid/storage-redesign
- Get this branch:
- bzr branch lp:~plaxx/tomdroid/storage-redesign
Branch merges
- Benoit Garret: Approve
- Olivier Bilodeau (community): Approve
-
Diff: 873 lines (+217/-226)9 files modifiedsrc/org/tomdroid/Note.java (+6/-3)
src/org/tomdroid/NoteManager.java (+33/-20)
src/org/tomdroid/ui/Tomdroid.java (+18/-19)
src/org/tomdroid/ui/ViewNote.java (+55/-7)
src/org/tomdroid/util/AsyncNoteLoaderAndParser.java (+57/-15)
src/org/tomdroid/util/NoteContentBuilder.java (+12/-23)
src/org/tomdroid/util/XmlUtils.java (+0/-36)
src/org/tomdroid/xml/NoteContentHandler.java (+32/-40)
src/org/tomdroid/xml/NoteHandler.java (+4/-63)
Branch information
Recent revisions
- 170. By Olivier Bilodeau
-
Removed the init phase of the NoteManager singleton to avoid problems with managed cursors.
Now every call to NoteManager provides an activity reference to use the cursor in the current active activity's context. - 169. By Olivier Bilodeau
-
Misc cleanup
- NoteManager's constructor no longer public (to prevent bypassing getInstance())
- Added comments
- Moved stuff around (static first) - 167. By Olivier Bilodeau
-
Now using a regexp to fetch note-content and keeping note-content tag in database.
Instead of using the hack while xml parsing to re-create xml tags, I prefered to just grab out the note-content section using a regexp. - 166. By Olivier Bilodeau
-
Using SAX's namespace features to allow parsing of a note-content without requiring namespace declarations.
This is part 1 of a fix to get rid of the ugly "fake xml header" that we strap on to note-content just so the parser won't complain. - 163. By Olivier Bilodeau
-
merge + some work
- renamed NoteBuilder to NoteContentBuilder which represent what it does now
- added error reporting to ui in ViewNote's handler
- copyright info to NoteManager.java
- merged Benoit's work (he merged main and some of my previous stuff)
- added TODO tasks - 161. By Olivier Bilodeau
-
util/NoteBuilde
r.java
- Builder in local mode is now working with an XML <note-content>..</..> string instead of a File object.
Note.java
- Moved XML parsing responsability from Note.java to NoteBuilder.java
- Took out updateContent() and xmlChanged from Note.java for now (until we have proper caching mechanism)
ui/ViewNote.java
- Using NoteBuilder for local note from database (provides threaded operation)
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)