Commit Graph

4393 Commits

Author SHA1 Message Date
cketti 93b94f58c8 Add support for 'theme packs'
Right now only replacing the icon in the action bar is supported.
That's why the term "Icon Pack" is used in the UI.

Known bug: In a PreferenceActivity the second level still shows the
default app icon in the action bar :(

Icon packs need to include an activity with an intent filter for
the action "org.k9mail.THEME_PACK".

Example:

<activity android:name=".SomeActivity">
  <intent-filter>
    <action android:name="org.k9mail.THEME_PACK" />
  </intent-filter>

  <!-- Version number for the theme pack format -->
  <meta-data android:name="version" android:value="1"/>

  <meta-data android:name="name" android:value="Fancy icon"/>
  <meta-data android:name="author" android:value="cketti"/>
  <meta-data android:name="icon_app"
             android:resource="@drawable/ic_app"/>
</activity>
2013-07-01 07:35:01 +02: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
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
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
Marcio Zomb13 b2e1b356e5 New translations and tweaks (PT-BR)
Missed strings and improvements.
2013-05-31 04:00:52 +02:00
igavio 35d9ada55a Update greek strings (29 of May 2013)
After reinstalling K-9 on my new mobile, I observed some misinterpretations and I fixed them.

I hope this translation makes it in the stable version 4.400.

Enjoy
2013-05-29 11:30:59 +03:00
cketti ada383d3df Fix error in XML of French translation 2013-05-29 00:45:14 +02:00
Marcio Zomb13 4022c10f4c Update Brazilian Portuguese translation 2013-05-29 00:34:45 +02:00
Erkan c4bbbc2d05 Update French translation 2013-05-29 00:26:46 +02:00
igavio c884f6dd1e Update Greek translation 2013-05-29 00:26:46 +02:00
cketti 34812fa5b8 Correctly initialize mSingleAccountMode
This fixes a NullPointerException when trying to open account settings
from the Unified Inbox (when there's only one account).
2013-05-27 16:59:07 +02:00
cketti ed354eea32 Increase minSdkVersion to 8 because we're using SearchView in FolderList 2013-05-24 22:55:13 +02:00
cketti 88c7b20c43 Update targetSdkVersion to 17 2013-05-24 22:33:09 +02:00
cketti a01e9af0ae Remove abstract Activity from manifest 2013-05-24 22:02:47 +02:00
Jesse Vincent 5c094da743 Bumped manifest to 4.502 2013-05-23 14:11:54 -04:00
cketti f16082eab3 Always include currently opened message in the message list
This should fix various bugs where moving to the next/previous message
didn't work.
2013-05-23 17:15:09 +02:00
cketti 79059e30da Remove override annotation so we can use the latest SDK to compile 2013-05-23 16:45:19 +02:00
cketti da09420dd0 Move Japanese translation of the changelog into the correct directory 2013-05-19 04:44:38 +02:00
cketti c2ae8a27db Merge remote-tracking branch 'origin/pr/306' 2013-05-17 16:37:55 +02:00
cketti 5170801b00 Merge remote-tracking branch 'origin/pr/307' 2013-05-17 16:30:56 +02:00
Koji Arai f87ff20556 Merge pull request #309 from jca02266/preserve-spaces
Fixed issue 5630: Quotes are missing a space between > and the quoted text
2013-05-15 21:24:29 -07:00
Koji Arai 174d172e1b Merge pull request #308 from jca02266/master
Japanese ChangeLog
2013-05-15 21:21:56 -07:00
Koji Arai 6d88b7da58 Updated Japanese translation. 2013-05-13 00:39:02 +09:00
Koji Arai 2a575e9c21 Fixed typo 2013-05-13 00:27:47 +09:00
Jan Urbánek acf1284de1 added messageview_autofit_width and translation 2013-05-12 11:55:32 +03:00
Marcio Zomb13 50848b3ba3 Brazilian portuguese translation and fixes 2
Update and fixes, thanks
2013-05-11 23:18:33 -03:00
cketti 5ecce67d9d Fix errors in pt-BR translation 2013-05-12 02:57:01 +02:00
cketti a98c049fee Merge branch 'pr/305' 2013-05-11 19:06:19 +02:00
cketti d306b2cdb2 Remove comment markers around translated string 2013-05-11 19:05:38 +02:00
Koji Arai fba069df84 Updated Japanese translation. catch up with 2e74d28. 2013-05-11 09:40:31 +09:00
Koji Arai 4dcf50d127 Re-desined textToHtml() according to the state transition diagram. 2013-05-11 08:44:17 +09:00
cketti c3655f52d0 Fix version code for next release 2013-05-10 21:26:47 +02:00
Jesse Vincent 534c8b9111 Bumped manifest to 4.501 2013-05-10 12:04:06 -04:00
Koji Arai 6c4461cd13 Fix to preserve spaces 2013-05-09 23:08:11 +09:00
Koji Arai 3c83f7354e Added more tests for preserve spaces 2013-05-09 23:07:58 +09:00
Koji Arai fa80313f6b Should preserve spaces at first of line. 2013-05-09 22:11:50 +09:00
Koji Arai ae681cb7fe Added test for preserve spaces at first of line 2013-05-09 22:11:05 +09:00