1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00
Commit Graph

4576 Commits

Author SHA1 Message Date
cketti
d22ec9f4dc Remove changelog entries from the 4.4 branch 2013-07-05 05:30:31 +02:00
cketti
82c0a92049 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-04 02:59:00 +02:00
cketti
ed6eb7bade 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 05:25:39 +02:00
cketti
d392fc30b1 More ignoring! 2013-07-03 03:40:40 +02:00
cketti
1c6072a1cc Fix "Folders" menu item and hotkey handling in MessageList 2013-07-02 20:03:45 +02:00
Jesse Vincent
b4c8afbe22 better guarding for the folders menu item in the face of search folders with multiple accounts 2013-07-02 13:14:43 -04:00
Koji Arai
3f82a50c99 Updated Japanese translation of the changelog. 2013-07-02 22:28:16 +09:00
Jesse Vincent
b7cf3e421a 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:04 -04:00
cketti
4a7c340359 Fix XML of changelog 2013-07-02 01:44:17 +02:00
Jesse Vincent
1b6e9bd4ba 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:34:43 -04:00
dzan
07d2f4cc53 Merge branch 'master' of git://github.com/bboa/k-9 into bboa-master 2013-07-01 17:32:12 +02:00
Jesse Vincent
fea29dab99 changelog for 4.402 2013-06-30 18:54:35 -04:00
Jesse Vincent
0a029561d1 Back, by popular demand, an empty trash button in the accounts context menu 2013-06-30 18:54:27 -04:00
Jesse Vincent
4baaafcd88 Add a "Folders" menu item back to the message list to ease nav discoverability 2013-06-30 18:54:13 -04:00
Jesse Vincent
d85315222e make the folders button in the account list more like a button. backcompat for pre-sdk-11 styles 2013-06-30 18:54:02 -04:00
Koji Arai
44e5ce0efe Updated Japanese translation of the changelog. 2013-06-30 18:53:51 -04:00
Jesse Vincent
74c7aa2c90 Changelog for 4.401 2013-06-30 18:53:23 -04:00
Jesse Vincent
fa1b7dec31 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-30 18:52:27 -04:00
Jesse Vincent
2ef5c11e9b 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-30 18:52:17 -04:00
Jesse Vincent
96a4e7fd37 Japanese Changelog for 4.400 from @miyagawa 2013-06-30 18:52:01 -04:00
Jesse Vincent
d48b4d3a2b 4.400 production release changelog 2013-06-30 18:51:49 -04:00
Koji Arai
7d902beaf4 Updated Japanese translation of the changelog. 2013-06-30 18:51:00 -04:00
Koji Arai
32e49b16fd Updated Japanese translation of the changelog. 2013-06-30 18:50:56 -04:00
Koji Arai
f781f22383 Updated Japanese translation of the changelog on stable branch 2013-06-30 18:50:53 -04:00
Jesse Vincent
8339a83708 update changelog 2013-06-30 18:49:47 -04:00
Jesse Vincent
700e03d392 changelog for 4.392 2013-06-30 18:49:44 -04:00
cketti
360d5219d2 Update changelog 2013-06-30 18:49:03 -04:00
cketti
27e16ca372 Update changlog with changes for 4.390 2013-06-30 18:48:24 -04:00
Ashley Willis
92faef62f1 a much more robust tools/build-beta 2013-06-30 15:49:38 -04:00
bboa
25e9df8c45 Update Russian 2013-06-30 00:51:56 +04:00
Koji Arai
b88fbb7fd8 adapt to a corner case for broken server. 2013-06-29 22:28:27 +09:00
cketti
85e7d4fa12 Don't crash when MessageList is started with no intent extras 2013-06-29 03:22:44 +02:00
cketti
5fc39e6719 Add support for building and running our tests with Gradle 2013-06-28 23:59:22 +02:00
cketti
75ff5baaff Add initial Gradle support 2013-06-28 23:59:08 +02:00
Koji Arai
35c79a5656 adapt broken pop3 server 2013-06-26 23:57:55 +09:00
cketti
b03b487d62 Remove contacts helper code specific to SDK 7 2013-06-25 22:47:47 +02:00
cketti
06ae2a071b Explicitly export content providers
With SDK 17 the default value for 'exported' changed to "false".
2013-06-23 03:29:17 +02:00
cketti
2789e9fa38 Don't use extended notifications when privacy mode is enabled 2013-06-17 16:26:49 +02:00
Enric Morales
d9acafbc55 Escape apostrophe. 2013-06-13 22:49:27 +03:00
Enric Morales
487b8b30ef Update catalan translation. 2013-06-13 21:02:12 +02:00
cketti
08e249a2e9 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-13 02:48:01 +02:00
cketti
6a6bb95ad4 Only enable debug logging when running a debuggable build
There have been some complaints from Android developers that get flooded
by K-9's log messages when debugging their own apps. Oops :)
2013-06-09 02:39:47 +02:00
cketti
0cff0c0fed Added explicit width and height for the new message list checkbox
Without this change Android 2.x does weird things.
2013-06-08 20:28:21 +02:00
cketti
20ec9eb325 Make the color chip area slightly smaller 2013-06-07 07:12:23 +02:00
cketti
cb906ee6a4 Use the color chip area as click target for the multi-select checkboxes 2013-06-07 07:12:23 +02:00
cketti
a485c4c0d1 Add new multi-select checkboxes to message list
Use the checkboxes of AOSP's Email app.
2013-06-07 07:07:27 +02:00
Joe Steele
769ad843dd Revert "Fix for StrictMode error."
This reverts commit bbdec62e37.

Aside from being the incorrect solution for fixing the problem
described in pull request 211, the patch generates 'Dead code'
warnings inside the if(){} statements on lines 46 and 47.

The correct fix for the problem was already implemented in commit
5678786c97.

Although the logcat in the pull request was generated after the fix,
line numbers in the log indicate that it was based on an outdated
version of MimeUtility.java from before the fix.
2013-06-03 11:59:58 -04:00
zjw
b042776aa4 Merge pull request #319 from zjw/eclipse_build_changes
Eclipse build changes
2013-06-02 15:43:40 -07:00
Joe Steele
c40dd196a6 Simplify Eclipse setup.
Create .project files for all the Ecplipse projects
so they will all have project names and can
all be brought into Ecplipse together with a single
'File -> Import -> Android ->
Existing Android Code Into Workspace'.

(Not bothering to remove the .project exclusion from
all .gitignore files.  Once the .project files are
checked in, they will no longer be ignored.)

Modify the top .project file so that Eclipse knows
k9mail's dependence on it plugins, and thus will
build everything in the correct order.

With the latest Android SDK Rev. 22, the top .classpath file
needs modification or else K9 will not run (see parent commit 53fcdd1).
But the initial import of k9mail into Eclipse works more cleanly if the
.classpath file doesn't exist on import, in which case Eclipse creates it
automatically.  So rather than modify the .classpath file, remove it
from git and leave it untracked.

(For an existing Eclipse project, this commit will remove the file from
the working directory.  A corrected version can be restored with:
git checkout 53fcdd1 .classpath
git rm --cached .classpath)

Add .classpath to the top .gitignore, now that no
.classpath files are being tracked (with one exception,
see below).

Create a tests/.classpath so that Java can find the k9mail
project in order to build the k9mail-tests project.
2013-05-31 18:00:45 -04:00
Joe Steele
53fcdd180a Update Eclipse classpath file for Android SDK Rev. 22
http://stackoverflow.com/questions/16596969/libraries-do-not-get-added-to-apk-anymore-after-upgrade-to-adt-22

https://android-review.googlesource.com/#/c/57063/

fa89a37dc2%5E1..fa89a37dc29bb60f27820d81674ff547793b0a1a/
2013-05-31 11:14:23 -04:00