cketti
3ec623c174
Avoid full table scan when creating the threaded message list
2013-01-11 03:59:38 +01:00
cketti
1df88ea153
Use separate table to store the thread structure
2013-01-11 03:40:35 +01:00
cketti
99e7d5a692
Fix "disappearing threads" bug
...
List threads regardless whether or not the thread root was deleted.
2012-12-18 20:48:33 +01:00
cketti
ba691612dd
Add support for "Unified Inbox" and "All messages" to unread widget
2012-12-08 18:15:34 +01:00
cketti
bc4fb530d0
Remove all code using the old unread/flagged count database columns
2012-12-07 15:45:36 +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
73757af680
Only count local messages for unread/flagged count
...
Currently only the Accounts activity uses the new count.
While working on this I realized that the unread/flagged search for
accounts currently looks for unread/flagged messages in all folders, not
all displayable folders without special folders (Trash, Spam, Outbox,
Sent, Drafts) like we used to.
Also, the "All messages" search currently doesn't limit the search to
searchable folders like it is supposed to.
2012-12-07 05:34:44 +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
f0118ecb85
Change authority of the new content provider to unbreak build scripts
2012-11-22 22:50:46 +01:00
cketti
c231b732ac
Avoid converting lists to arrays when possible
2012-11-03 05:56:12 +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
968d948dd0
Restore show next/previous message functionality in MessageView
...
This is just a temporary fix. In the future we want to get rid of
passing the serialized message list from MessageList to MessageView.
2012-10-30 16:27:09 +01:00
cketti
d74ca8c8ce
Move MessageInfoHolder comparator to MessageProvider
...
The MessageInfoHolder comparators aren't used in MessageListFragment
anymore.
2012-10-26 02:44:40 +02:00
cketti
49a5a3b7ff
Fix message sorting for message lists of a single account
...
To support sorting of message lists spanning multiple accounts (e.g.
Unified Inbox) we need a MergeCursor that also does sorting.
2012-10-25 21:51:14 +02:00
cketti
508e9e8aa6
Don't display threaded message list for filtered views
2012-10-24 05:28:38 +02:00
cketti
95b39c71d2
Add threading support to content provider
2012-10-23 03:01:50 +02:00
cketti
1d655f5bc2
Added ability to display special folders combining multiple accounts
2012-10-18 05:15:40 +02:00
cketti
f1e433e6df
Whitespace cleanup
2012-10-16 22:42:51 +02:00
cketti
83d5102f3d
Merge branch 'new_search_framework' into content_provider
...
Conflicts:
src/com/fsck/k9/fragment/MessageListFragment.java
2012-10-16 20:57:47 +02:00
cketti
cc74a2ad2e
Switched to ContentProvider and CursorLoader to display the message list
2012-10-16 15:46:40 +02:00
Sander Bogaert
bf82d0af7c
Changed all the calls to MessageList to work using the new LocalSearch class. These are all tested and working changes.
2012-10-13 15:06:57 -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
cketti
93b13362b4
Converted message list to a fragment
2012-10-06 03:41:32 +02:00
cketti
d8e9c48177
Changed the way we use the activity stack
...
- removed launchMode attributes for all activities
- only use one activity task
- got rid of "managed back button" behavior
2012-09-10 17:24:34 +02:00
Roee Shlomo
f6e30a0642
Removed unreachable searchStats overrides
...
Removed unreachable searchStats overrides.
Replaced with folderStatusChanged in MessageProvider.
Further review confirmed searchStats is only called for listeners passed
directly to MessagingController.searchLocalMessages* and never called
for any
MessagingController registered listener.
folderStatusChanged is more appropriate for this purpose.
2012-08-31 04:35:56 +03:00
Roee Shlomo
a4b8bbdb72
Removed trailing spaces
2012-08-18 20:52:32 +03:00
Roee Shlomo
ef082f0260
Fixed indentation
2012-08-17 17:29:35 +03:00
Roee Shlomo
7419259407
Allow more fields in the external provider
2012-08-17 17:19:26 +03:00
cketti
ee34344d30
Upgrade to SDK 15
2012-03-07 21:52:47 +01:00
cketti
f6ebe4d4e0
Deduplicated code to create SearchAccounts for special accounts
2012-02-29 03:03:20 +01:00
cketti
485a505ca0
More tweaks to the unread widget
2012-02-13 12:25:03 +01:00
cketti
29e1a68288
Added widget to display the unread count for an account
2012-02-13 12:16:18 +01:00
cketti
aae734c175
Don't Log.w() full stacktrace if file wasn't found
...
This happens regularly when AttachmentView tries to get a thumbnail for
attachments that haven't been downloaded yet.
2012-01-24 22:14:21 +01:00
cketti
4e5d116713
Delete attachment metadata and thumbnails when deleting attachments
2012-01-24 16:15:45 +01:00
cketti
c6696f632a
Code cleanup, fixed some warnings, rearranged some stuff
2012-01-24 16:15:44 +01:00
cketti
7a3cadbf1c
Refactored AttachmentProvider.openFile()
2012-01-24 16:15:44 +01:00
edpeur
daeedc2222
Close resources properly
2011-12-31 17:38:41 +00:00
Andrew Gaul
220e55603d
Spelling corrections
2011-10-05 22:04:39 -07:00
Chris Banes
b002f3178b
Move Sender Address to end of Default Projection
2011-09-02 11:33:20 +01:00
Chris Banes
caa02b16eb
Expose SenderAddress through ContentProvider. Issue: 3665
2011-09-01 11:57:06 +01:00
Marcus Wolschon
b8f04b8a4f
typo
2011-06-14 15:22:45 +02:00
Fiouz
40546edcf7
Remove local.properties, new default projection column introduced by merge d3cf49a5e4
2011-06-02 20:30:10 +02:00
João Pedro Taveira
503b88e2fd
Merge remote branch 'k-9/master'
2011-06-02 14:39:58 +01:00
Jesse Vincent
3d583da450
ant astyle
2011-06-01 16:03:56 -04:00
João Pedro Taveira
af7d57561f
Message ContentProvider field rename from READED to UNREAD to maintain
...
names consistency.
2011-05-02 16:00:04 +01:00
Marcus Wolschon
59399506df
fixed very rare NullPointerException
2011-04-19 09:01:01 +02:00
João Pedro Taveira
591d7a3c6f
Added readed field to MessageProvider to indicate if message was
...
readed yet.
2011-04-11 20:34:23 +01:00
cketti
0aa03ccdc4
Extract MIME type fixup code to method MimeUtility.getMimeTypeForViewing()
2011-03-25 00:37:53 +01:00
cketti
522634fba7
Extend AttachmentProvider to be able to get "raw" attachment
...
AttachmentProvider can now return an attachment with an unmodified
MIME type. However, when viewing attachments this is not desirable. So
we try hard to return a sensible MIME type (use extension to look up
a MIME type if it's originally "application/octet-stream"; or replace
with canonical MIME type if it's known to be wrong, e.g.
"image/jpg" -> "image/jpeg")
2011-03-24 23:36:59 +01:00