lp:~plaxx/tomdroid/storage-redesign

Created by Olivier Bilodeau and last modified
Get this branch:
bzr branch lp:~plaxx/tomdroid/storage-redesign
Only Olivier Bilodeau can upload to this branch. If you are Olivier Bilodeau please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Olivier Bilodeau
Project:
Tomdroid
Status:
Merged

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)

168. By Olivier Bilodeau

little changes for a cleaner merge

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.

165. By Olivier Bilodeau

Clarified an error message

164. By Olivier Bilodeau

Added error reporting in ViewNote (intent.getData null and note null)

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

162. By Olivier Bilodeau

re-activate debug logging: yes, I need it ;)

161. By Olivier Bilodeau

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

Subscribers