Qtopia scans removable storage upon insertion and populates the Document system with the documents found on the storage media.
Per-media Database.
Re-architected so that the underlying mechanism uses databases stored on the physical media (ie 1 for phone, 1 for SD-card, etc), which reduces the need for the system to scan all the entries on a new media card into the local database every single time and remove them upon removal of the media.
Moved ContentLinkSql back to being shared per object (with a contained database, instead of limited lifetime).
Hooked QStorageMetaInfo into ContentServer to notify when new media is inserted, as well as attached this to a list of media databases. Included system wide DocAPI notification so that QContentSets know when to refresh.
Modified QContentSet (and PIM) to understand multiple database connections.
Database performance improvements.
Batched writing entries from the document scanner up, to help work around significantly slower write times on removable media.
Found the correct set of pragmas to turn on asynchronous mode writing for the database (speedups of around 15x seen on SD Media).