Commit Graph

3795 Commits

Author SHA1 Message Date
cketti 52bfea65d1 Make the message selection code use the unique (Cursor) ID 2012-11-05 02:11:02 +01:00
cketti f02d265f60 Removed unused column from projection 2012-11-05 01:06:10 +01:00
Koji Arai c0cb734288 Should change Bcc address when Identity changed. 2012-11-05 00:02:57 +09:00
cketti d530b20e2b Copy/move all messages in a thread when copying/moving placeholder 2012-11-03 08:30:32 +01:00
cketti dfbfaf48dd Clean up method copyOrMove() 2012-11-03 06:27:27 +01:00
cketti 2cfd25fa23 Javadoc cleanup 2012-11-03 06:20:11 +01:00
cketti c231b732ac Avoid converting lists to arrays when possible 2012-11-03 05:56:12 +01:00
cketti 46feb8b9d0 Group messages by account when moving to spam/archive folder 2012-11-03 05:24:41 +01:00
cketti 02aeccdedc Make flag operations work on all messages in a thread 2012-11-03 05:01:25 +01:00
cketti 7a266dcbdf Retain selected messages when message list is reloaded 2012-11-03 04:26:41 +01:00
cketti 36b572fa5f Fix deleteThreadsSynchronous() 2012-11-03 04:25:40 +01:00
cketti fb5e8eea84 Fix computeBatchDirection() 2012-11-03 03:21:30 +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 966794f169 Don't create (throw-away) Message objects when starting action mode 2012-11-02 09:30:23 +01:00
cketti c686284a77 Remove unused method 2012-11-02 05:18:45 +01:00
cketti db3ea36978 Include number of messages in a thread in number of selected messages
Selecting a placeholder message will select all messages in its thread.
2012-11-02 05:18:24 +01:00
cketti 2e1d25118a Fix JOIN-condition when searching for messages 2012-11-01 20:33:13 +01:00
cketti 60bf3e7e29 Rename class members 2012-10-31 01:49:11 +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 a54666e020 Fix edge case in MergeCursor 2012-10-31 01:06:26 +01:00
cketti b0ef68dfed Make search also search the message contents 2012-10-30 19:24:19 +01:00
Andrew Chen 1abc8619b1 IntelliJ IDEA: 11.1.4 updates. 2012-10-30 10:34:51 -07:00
Jesse Vincent 21c5ab5d14 Reorder the accounts menu for consistency with the message list menu 2012-10-30 12:49:37 -04:00
Joe Steele f70d835404 Provide menu option to search messages.
Recent phones frequently do not have a hardware search key, so
there is no way to initiate a search without a menu option.

Related to issues 3386, 3428, 4523, and 4643.
2012-10-30 12:42:51 -04:00
cketti 0baffd05c8 Hide remote search UI elements
Remote search is currently not working
2012-10-30 16:54:21 +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 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 889e2502be Replace call to method only available with API 9 and higher 2012-10-27 05:09:58 +02:00
cketti 65b3a57340 Clone LocalSearch object before modifying it for unread/starred search 2012-10-27 04:48:37 +02:00
cketti faa666394c Do sorting in MergeCursor when merging the query results
Disabled "sort by sender" for now because the database can't sort by
contact names from the contacts database. We probably have to
special-case that and do in-memory sorting.
2012-10-27 02:15:30 +02: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 08fba5468f Switch MergeCursor from using a List to an array 2012-10-25 23:14:28 +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 a4585657d1 Fix global search 2012-10-24 06:57:14 +02:00
cketti d703286833 Make LocalStore.searchForMessages() skip empty messages 2012-10-24 06:01:26 +02:00
cketti 613ef6ced2 "Select all" now won't start selection mode when there are no messages 2012-10-24 05:35:45 +02:00
cketti 508e9e8aa6 Don't display threaded message list for filtered views 2012-10-24 05:28:38 +02:00
cketti c7a2080b34 Only show message list footer when displaying a single folder 2012-10-24 04:34:41 +02:00
cketti ec76dca57f Remove unused stuff 2012-10-24 01:37:33 +02:00
cketti 1fcce6fb8a Add database indices for thread columns in 'messages' table 2012-10-24 01:03:59 +02:00
cketti 3bef05b55d Removed LocalStore hack introduced in 16d2326 2012-10-24 00:32:29 +02:00
cketti cba9d8fc88 Fix pull to refresh for normal list vs. "remote search"-able 2012-10-24 00:09:33 +02:00
cketti 1b98ce57e1 Notify observers (e.g. CursorAdapter) when the messages table changed 2012-10-24 00:08:44 +02:00
cketti 95b39c71d2 Add threading support to content provider 2012-10-23 03:01:50 +02:00
cketti 05a2571570 Fix display of named searches (e.g. "Unified Inbox") 2012-10-22 18:10:47 +02:00
cketti 9d802e807e Clean up pt-BR translation 2012-10-21 20:32:52 +02:00
cketti 24b100dfc3 Merge commit '68b6df6e1c0a683b195e90d7fe6fddce1c418edd' 2012-10-21 20:23:52 +02:00
cketti b373dec04e Merge commit 'e482e32ee4cc224db6cfed6f33bea26b27710bf8' 2012-10-21 20:22:54 +02:00
cketti 6af48bd262 Restore TCP port value in incoming/outgoing server settings screens
Special thanks to zjw for the detailed analysis of this bug:
https://github.com/k9mail/k-9/pull/193
2012-10-21 20:04:53 +02:00