1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00
Commit Graph

4421 Commits

Author SHA1 Message Date
Jesse Vincent
6d86fb3b16 Don't invalidate the options menu from the message list as we open a
message. We also invalidate it (twice) as we show the message. It turns
out to have measurable performance impact on 2.3 thanks to ABS
2013-07-18 20:24:59 -04:00
Jesse Vincent
9698fa7e32 Add an index for a heavy query 2013-07-18 20:18:20 -04:00
Andrew Chen
e8ddf3dbc5 Add Russian ISPs -> changelog 2013-07-14 17:30:33 -07:00
russian k-9 mail user
caa41300e1 Update providers.xml with Russian ISPs 2013-07-14 17:30:14 -07:00
cketti
3b09b83f20 Fix actions started from the message list context menu
This patch makes sure actions started via the context menu operate on
the correct message even when the message list changes and the 'adapter
position' accessible via the menu object points to another message.
When the message the menu was opened for is deleted the context menu
will be closed.
2013-07-09 03:02:27 +02:00
Jesse Vincent
5ab28c891d Bumped manifest to 4.405 2013-07-08 15:59:25 -04:00
Jesse Vincent
9af34fda16 4.405 changelog updates 2013-07-08 15:57:56 -04:00
Koji Arai
68ff355e34 adapt to a corner case for broken server. 2013-07-08 15:48:40 -04:00
Koji Arai
c185cf0f1f adapt broken pop3 server 2013-07-08 15:48:40 -04:00
Leo Yang
9dca630172 Chinese translation update 2013-07-08 15:47:35 -04:00
russian k-9 mail user
e6bbc2ce06 Update strings.xml
improved
2013-07-08 15:47:35 -04:00
russian k-9 mail user
07c6eca85e Update strings.xml 2013-07-08 15:47:35 -04:00
russian k-9 mail user
84f4706916 Update strings.xml
instead of #326
2013-07-08 15:47:35 -04:00
Enric Morales
4ebfd02747 Escape apostrophe. 2013-07-08 15:47:35 -04:00
Enric Morales
1108babe72 Update catalan translation. 2013-07-08 15:47:35 -04:00
cketti
916489ad9d Don't load unread/flagged count when creating LocalFolder instances
This avoids a potentially expensive LEFT JOIN when querying the database.
2013-07-08 04:50:30 +02:00
cketti
d7db3777cd Refactor code to create LocalFolder instances from a database query. 2013-07-08 04:50:28 +02:00
Ashley Willis
a7906d415e verify res/raw/changelog.xml for an entry for the version being bumped to before changing anything for target bump-version. 2013-07-06 23:40:13 -04:00
Koji Arai
f2c2f6c44f Updated Japanese translation of the changelog. 2013-07-06 22:35:25 +09:00
Jesse Vincent
069ce9ff3f Bumped manifest to 4.404 2013-07-04 20:40:47 -04:00
Jesse Vincent
74b3b85d84 4.404 changelog update 2013-07-04 20:40:00 -04:00
cketti
b9ecf30b5b Fix code to reset the database when upgrading fails
Previously the app crashed when upgrading the database failed. Now we
reset the database version and run the upgrade code again (recreating
all tables).
2013-07-03 20:59:49 +02:00
cketti
b6d7f4ae40 Fix "Folders" menu item and hotkey handling in MessageList 2013-07-03 20:59:46 +02:00
Jesse Vincent
721744f9f7 better guarding for the folders menu item in the face of search folders with multiple accounts 2013-07-03 20:59:43 +02:00
cketti
ab1f74f04c Added explicit width and height for the new message list checkbox
Without this change Android 2.x does weird things.
2013-07-03 20:59:09 +02:00
cketti
8613b949be Make the color chip area slightly smaller 2013-07-03 20:59:06 +02:00
cketti
c1fbb9c1fc Use the color chip area as click target for the multi-select checkboxes 2013-07-03 20:59:02 +02:00
cketti
9a5c0f3ac5 Add new multi-select checkboxes to message list
Use the checkboxes of AOSP's Email app.
2013-07-03 20:58:56 +02:00
Koji Arai
28f8d4fbaf Updated Japanese translation of the changelog. 2013-07-02 22:24:53 +09:00
Jesse Vincent
f6ab0a5ea4 Play store NPE:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fsck.k9/com.fsck.k9.activity.UpgradeDatabases}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2117)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2155)
at android.app.ActivityThread.access$700(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1248)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5062)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1409)
at android.app.Activity.startActivityForResult(Activity.java:3389)
at android.app.Activity.startActivityForResult(Activity.java:3350)
at android.app.Activity.startActivity(Activity.java:3562)
at android.app.Activity.startActivity(Activity.java:3528)
at com.fsck.k9.activity.UpgradeDatabases.launchOriginalActivity(UpgradeDatabases.java:183)
at com.fsck.k9.activity.UpgradeDatabases.onCreate(UpgradeDatabases.java:109)
at android.app.Activity.performCreate(Activity.java:5058)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2081)
... 11 more
2013-07-01 23:32:46 -04:00
cketti
2fae20f045 Fix XML of changelog 2013-07-02 01:47:19 +02:00
Jesse Vincent
73d9dc7c1a Bumped manifest to 4.403 2013-07-01 16:29:10 -04:00
Jesse Vincent
da45ab4470 Fixed a bug that caused K-9 to crash on the Accounts page on 4.x if you were using the dark theme 2013-07-01 16:27:38 -04:00
Jesse Vincent
52832712a0 Bumped manifest to 4.402 2013-07-01 13:27:13 -04:00
Jesse Vincent
b7521ca1bb changelog for 4.402 2013-06-30 18:04:46 -04:00
Jesse Vincent
969cbcb688 Back, by popular demand, an empty trash button in the accounts context menu 2013-06-30 16:52:45 -04:00
Jesse Vincent
6649c19cb6 Add a "Folders" menu item back to the message list to ease nav discoverability 2013-06-30 16:38:02 -04:00
Jesse Vincent
65777cb55d make the folders button in the account list more like a button. backcompat for pre-sdk-11 styles 2013-06-30 16:29:37 -04:00
Koji Arai
9bb995006a Updated Japanese translation of the changelog. 2013-06-29 21:26:58 +09:00
cketti
e685d3521c Don't crash when MessageList is started with no intent extras 2013-06-29 03:59:10 +02:00
Jesse Vincent
74583c717c Bumped manifest to 4.401 2013-06-27 22:11:15 -04:00
Jesse Vincent
57d1239db3 Changelog for 4.401 2013-06-27 22:10:42 -04:00
cketti
876d4d61df Don't use extended notifications when privacy mode is enabled 2013-06-27 19:25:21 +02:00
cketti
e50666ca48 Remove submenu from the account context menu
There seems to be a bug in Android that makes submenus inaccessible on
some devices, e.g. the Samsung Galaxy S2.
https://code.google.com/p/android/issues/detail?id=53239
2013-06-27 19:13:11 +02:00
cketti
3da571e264 Correctly initialize mSingleAccountMode
This fixes a NullPointerException when trying to open account settings
from the Unified Inbox (when there's only one account).
2013-06-27 18:59:26 +02:00
Jesse Vincent
64a92423b7 broaden a 'catch' to catch other failures showing all headers.
Market reported NPE:

java.lang.NullPointerException
at com.fsck.k9.view.MessageHeader.showAdditionalHeaders(MessageHeader.java:186)
at com.fsck.k9.view.MessageHeader.onShowAdditionalHeaders(MessageHeader.java:318)
at com.fsck.k9.fragment.MessageViewFragment.onToggleAllHeadersView(MessageViewFragment.java:300)
at com.fsck.k9.activity.MessageList.onOptionsItemSelected(MessageList.java:867)
at android.support.v4.app.Watson.onMenuItemSelected(Watson.java:119)
at com.actionbarsherlock.ActionBarSherlock.callbackOptionsItemSelected(ActionBarSherlock.java:603)
at com.actionbarsherlock.internal.ActionBarSherlockNative.dispatchOptionsItemSelected(ActionBarSherlockNative.java:78)
at com.actionbarsherlock.app.SherlockFragmentActivity.onMenuItemSelected(SherlockFragmentActivity.java:205)
at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:1047)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:735)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:149)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:874)
at com.android.internal.view.menu.ListMenuPresenter.onItemClick(ListMenuPresenter.java:180)
at android.widget.AdapterView.performItemClick(AdapterView.java:301)
at android.widget.AbsListView.performItemClick(AbsListView.java:1276)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3067)
at android.widget.AbsListView$1.run(AbsListView.java:3963)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4898)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
at dalvik.system.NativeStart.main(Native Method)
2013-06-27 12:23:54 -04:00
Jesse Vincent
34c1d983fb market-reported NPE
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fsck.k9/com.fsck.k9.activity.MessageList}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1970)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)
at android.app.ActivityThread.access$600(ActivityThread.java:128)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4517)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.fsck.k9.activity.MessageList.decodeExtras(MessageList.java:368)
at com.fsck.k9.activity.MessageList.onCreate(MessageList.java:216)
at android.app.Activity.performCreate(Activity.java:4470)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1053)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1934)
k
2013-06-27 12:07:28 -04:00
Jesse Vincent
0f38cbd985 Bumped manifest to 4.400 2013-06-26 18:31:20 -04:00
Jesse Vincent
d0c8f51895 Japanese Changelog for 4.400 from @miyagawa 2013-06-26 18:29:46 -04:00
Jesse Vincent
fb11f24684 4.400 production release changelog 2013-06-26 17:08:57 -04:00