This replaces the use of Geary.Folder.find_boundaries_async in ConversationMonitor with a simple sorted set of known in-folder message ids. This is both easy and fast, reduces needless DB load when loading conversations, and also allows allows removing what is otherwise single-use implementation overhead in classes deriving from Folder. * src/engine/app/app-conversation-monitor.vala (ConversationMonitor): Replace get_lowest_email_id_async() with window_lowest property, update call sites. Implement the property by using a sorted set of known listed email ids from the base folder. Update the set as messages in the base folder are listed. Rename notify_emails_removed to just removed and remove ids from the set if any messages from the base folder are removed. * src/engine/api/geary-folder.vala (Folder): Remove get_lowest_email_id_async since it is now unused, do same for all subclasses. |
||
|---|---|---|
| .. | ||
| client | ||
| engine | ||
| js | ||
| CMakeLists.txt | ||
| meson.build | ||
| mock-object.vala | ||
| test-case.vala | ||
| test-client.vala | ||
| test-engine.vala | ||