cketti
658b5dbff6
Fix and vastly simplify the query for the threaded message list
...
This requires another database schema change. With this change messages
at the root of a thread reference themselves in the 'threads' table,
i.e. 'root' contains the value of 'id' for these messages. It makes
selecting all messages in a thread much simpler.
2013-03-08 01:15:26 +01:00
Danny Baumann
275700e482
Fix a number of build warnings.
...
This gets rid of about 50 warnings. Deprecation warnings still remain,
though.
2013-02-04 11:18:49 +01:00
cketti
1df88ea153
Use separate table to store the thread structure
2013-01-11 03:40:35 +01:00
cketti
cf390861d6
Use constant "UUID" for search accounts
...
This way we can match the account stats to the search accounts when the
Accounts activity is restarted.
2012-12-07 14:06:03 +01:00
cketti
d3e840a9ee
Only list messages in searchable folders under "All messages"
2012-12-07 12:55:32 +01:00
cketti
251428e963
Restore behavior of unread/flagged filtered message list
...
The unread/flagged count/view for accounts now excludes special folders
and only includes displayable folders as specified by the display class.
2012-12-07 12:03:04 +01:00
cketti
c0b5255e24
Make most important flags separate database columns
...
This is the first step to speed up searches and flag updates.
2012-12-04 05:13:58 +01:00
cketti
38e8fc182c
Don't use LocalSearch object in launcher shortcut intents
2012-11-27 00:50:32 +01:00
cketti
ff156ac7c9
Fix remote search
2012-11-14 00:19:10 +01:00
cketti
e339dd1f10
Delete all messages in a thread when 'delete' is used on the placeholder
2012-11-03 01:52:45 +01:00
cketti
08b361ed36
Fix search for Unified Inbox
...
We don't want to list the Inbox contents of all accounts but the
contents of folders whose "Unify" setting is true.
2012-10-31 01:45:44 +01:00
cketti
303c1ee85d
Extract generation of SQL queries for searches to SqlQueryBuilder
2012-10-29 02:27:34 +01:00
cketti
5778d135fb
Add global setting to enable/disable threaded view
2012-10-28 20:10:52 +01:00
cketti
65b3a57340
Clone LocalSearch object before modifying it for unread/starred search
2012-10-27 04:48:37 +02:00
cketti
95b39c71d2
Add threading support to content provider
2012-10-23 03:01:50 +02:00
cketti
93ef3a7b0f
Fix message list when no search condition is given (All messages)
2012-10-21 19:18:57 +02:00
cketti
f093b84142
Make (de)serialization work when LocalSearch has no search conditions
2012-10-21 19:17:01 +02:00
cketti
20ed1ebe61
Code style cleanup
2012-10-17 20:52:03 +02:00
cketti
fff94956f4
Fixed LocalSearch.addAllowedFolder()
...
We need to use the node returned by add() as new root node.
2012-10-16 22:51:01 +02:00
cketti
f1e433e6df
Whitespace cleanup
2012-10-16 22:42:51 +02:00
Sander Bogaert
49197b4f1c
First attempt at making the fragmented messagelist and remote search play nice with the new search framework. Works partially.
2012-10-13 15:07:28 -04:00
Sander Bogaert
f01f2f15cd
Add static methods to create unifiedInbox and allMessages accounts.
2012-10-13 14:19:50 -04:00
Sander Bogaert
a3d227649f
Change visibility of SearchModifier class and members.
2012-10-13 14:12:52 -04:00
Sander Bogaert
f550aaefb5
Add new SearchAccount class and move it together with SearchModifier to the search package ( refactor ).
2012-10-13 14:03:40 -04:00
Sander Bogaert
235e1f913b
Avoid needless nullpointers.
2012-10-13 10:40:13 -04:00
Sander Bogaert
bdfc9d6852
Added two convenience methods to avoid dealing with exceptions all the time.
2012-10-13 10:08:39 -04:00
Sander Bogaert
9883148b2f
Fixed wrong construction of leaf sets and unrightfully ignored exceptions.
2012-10-13 10:03:19 -04:00
Sander Bogaert
442805fe62
Made thread_root a searchable field of the message table. This can be used to display threads.
2012-10-13 09:28:19 -04:00
Sander Bogaert
5c6552cbf3
Adding the 3 core classes for the search framework. ConditionsTreeNode, LocalSearch and SearchSpecification.
2012-10-13 05:57:25 -04:00
Sander Bogaert
611bae3fb4
Created search package to hold the framework and moved over the SearchSpecification class ( refactor ).
2012-10-12 12:30:26 +02:00