Commit graph

3668 commits

Author SHA1 Message Date
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
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
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
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
d27f909600 Add new search logic to the MessagingController and LocalStore classes. 2012-10-13 08:53:00 -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
cketti
c2bb451712 Don't display thread count in thread view 2012-10-10 04:32:48 +02:00
cketti
3413cbebf5 Worked around NPEs when the activity has been detached 2012-10-10 04:30:19 +02:00
cketti
16d2326033 Nasty hack to retain threads in MessageListFragment when polling 2012-10-10 03:02:36 +02:00
cketti
63b6b497a0 Early version of message threading
Missing:
- UI support for threading when polling
- code to upgrade existing installations
- UI elements to switch from/to threaded display mode
- threading of messages with same subject
2012-10-08 22:51:29 +02:00
cketti
e66dd3d521 Fixed unit tests 2012-10-08 14:43:34 +02:00
cketti
d3f9633378 Merge branch 'fragments' 2012-10-08 14:33:33 +02:00
Jesse Vincent
f62ac401a0 make the stroke border on our color chips a bit wider to make them easier to see 2012-10-06 17:31:24 -04:00
cketti
93b13362b4 Converted message list to a fragment 2012-10-06 03:41:32 +02:00
cketti
12e9dce1d8 Renamed MessageList to MessageListFragment 2012-10-05 18:14:07 +02:00
cketti
8a226972a5 Extracted functionality common to most activities to K9ActivityCommon 2012-10-05 18:14:07 +02:00
cketti
bbcc4988ba Converted message view to a fragment
The fragment should be fully functional. The only thing missing is the
animation when showing the next/previous message.
2012-10-05 18:14:07 +02:00
cketti
c6bea2e6ab Copied ...activity.MessageView to fragment.MessageViewFragment
This commit breaks all sorts of things but should retain the Git
history of MessageView.
2012-10-05 18:14:06 +02:00
cketti
db370c5b40 Removed unused layout 2012-10-05 18:14:06 +02:00
Andrew Chen
41756802a1 Move hasConnectivity() method into a helper method.
It's now used in multiple places, so unify the logic into one place.
2012-10-05 09:07:16 -07:00
Jesse Vincent
48faef808f Bumped manifest to 4.309 2012-10-03 21:57:05 -04:00
Jesse Vincent
19aad0d9a1 bump up the chip sizes a bit 2012-10-03 21:56:28 -04:00
Jesse Vincent
7b23704bd5 Add "cc Me" and "from me" color chips. Uprez the chips 10x so we get crisp views rather than awful bitmappy stuff 2012-10-03 21:56:28 -04:00
Jesse Vincent
0c34a21ff0 Add a fromMe method on messages 2012-10-03 21:56:28 -04:00
Andrew Chen
f1d985dc2b Fix syntax error in el translation. 2012-10-03 10:07:58 -07:00
Andrew Chen
ecd4e0b001 Use the default date format if pulling from Preferences fails for any reason. 2012-10-03 10:06:40 -07:00
Andrew Chen
bdb6e3ed68 Merge pull request #189 from igavio/patch-2
Update res/values-el/strings.xml
2012-10-03 10:06:13 -07:00
Andrew Chen
fce4d1268e Merge pull request #190 from 0x2102/patch-2
Update res/values-ru/strings.xml
2012-10-03 10:05:46 -07:00
Alexey
e9f74051ab Update res/values-ru/strings.xml
The most part of required lines was translated.
2012-10-03 13:19:19 +04:00
igavio
be48110545 Update res/values-el/strings.xml 2012-10-03 09:50:53 +03:00
cketti
952c40710e Added setting to disable using the background as (un)read indicator 2012-10-02 22:56:06 +02:00
cketti
fad52e6dac Hide 'mark as (un)read' and '(un)flag' in the message list context menu 2012-10-02 19:59:08 +02:00
cketti
0f7ad3a20d Get rid of the color gradients in the background (dark holo theme) 2012-10-02 19:46:41 +02:00
Andrew Chen
ec3c877ae3 Merge pull request #187 from 0x2102/patch-1
Update res/values-ru/strings.xml
2012-10-01 19:13:45 -07:00
dzan
bdab529c9a Merge pull request #188 from dzan/add_outlook_com_domain
Add the new outlook.com domain to our list of preconfigured domains.
2012-10-01 07:27:37 -07:00
Sander Bogaert
b5a3141fdd Add the new outlook.com domain to our list of preconfigured domains. 2012-10-01 15:07:48 +02:00
0x2102
ef8165ad68 Update res/values-ru/strings.xml 2012-10-01 10:33:28 +04:00
Andrew Chen
03db11f70c Remove parenthesis around MessageList status messages.
Since sync status is now on a separate line (and not after the folder name) in the title, there's no need to wrap it in parens.
2012-09-30 18:53:33 -07:00
Andrew Chen
1491935465 Prevent remote search if we have no network connectivity. 2012-09-30 10:44:20 -07:00
Andrew Chen
67507ffbe6 Merge pull request #186 from jacky672/patch-2
Update French translation
2012-09-29 07:54:58 -07:00
Andrew Chen
3861e7ca35 Log NumberFormatExceptions. Fix whitespace. 2012-09-29 07:53:34 -07:00
Andrew Chen
5a487f154c Merge pull request #185 from chamonkey/issue3714
Add number format handling to Storage.java
2012-09-29 07:51:48 -07:00