k9mail/k-9 — pull request #202 by cketti (2012-11-05 07:31:40+00:00)
Title: Message threading + content provider for message list

Apologies for the massive pull request. I'm hoping for some feedback on this before merging.

What's new:
- message threading
+ can be enabled/disabled via global setting
- MessageListFragment now uses a content provider (EmailProvider) to display the message list
+ dramatically simplifies the UI code
+ a lot less UI thread vs. background thread drama
+ we can (and do) use the ContentObserver mechanism to trigger a requery in all views when something changes the message database
- part of dzan's "search framework" was included
+ use a LocalSearch object to describe the search to be performed to display the message list
+ doesn't simplify the MessageListFragments as much as I hoped it would
+ still needs some work

What was working before and now isn't:
- sort by sender
+ because we have a setting to replace the sender name/address with the name from the contacts this currently doesn't work reliably on the content provider level
- remote search
+ the code needs to be adapted to dzan's search thingie
+ I didn't like the UI part anyway :)

What's missing:
- threading by message subject
- threading of existing messages on app upgrade