Remove existing contact harvesting mechanism
Remove contact harvesting from DB version 005 (version 0.1.1), allowing the implementation of both ContactStoreImpl and ImapDB.Database to be cleaned up. Remove contact collection from ImapDB.Folder, reducing the numer of Gee objects created when creating/merging messages. Finally, remove the MessageAddresses object now that it is unused.
This commit is contained in:
parent
809f664319
commit
cb8150ce03
10 changed files with 101 additions and 306 deletions
|
|
@ -35,8 +35,7 @@ class Geary.ImapDB.DatabaseTest : TestCase {
|
|||
GLib.File.new_for_path(_SOURCE_ROOT_DIR).get_child("sql"),
|
||||
this.tmp_dir.get_child("attachments"),
|
||||
new Geary.SimpleProgressMonitor(Geary.ProgressType.DB_UPGRADE),
|
||||
new Geary.SimpleProgressMonitor(Geary.ProgressType.DB_VACUUM),
|
||||
"test@example.com"
|
||||
new Geary.SimpleProgressMonitor(Geary.ProgressType.DB_VACUUM)
|
||||
);
|
||||
|
||||
db.open.begin(
|
||||
|
|
@ -96,8 +95,7 @@ class Geary.ImapDB.DatabaseTest : TestCase {
|
|||
GLib.File.new_for_path(_SOURCE_ROOT_DIR).get_child("sql"),
|
||||
attachments_dir,
|
||||
new Geary.SimpleProgressMonitor(Geary.ProgressType.DB_UPGRADE),
|
||||
new Geary.SimpleProgressMonitor(Geary.ProgressType.DB_VACUUM),
|
||||
"test@example.com"
|
||||
new Geary.SimpleProgressMonitor(Geary.ProgressType.DB_VACUUM)
|
||||
);
|
||||
|
||||
db.open.begin(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue