1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-21 07:08:48 -05:00
Commit Graph

2252 Commits

Author SHA1 Message Date
Andrew Chen
bb224bc37f Add test cases for MessageReference serialization. 2011-02-04 23:19:06 -05:00
Dan Applebaum
e31d218dc5 At Jesse's suggestion, avoid the use of the Android term-of-art "density". Instead use "Compact layouts" to refer, both internally and externally, to the feature of elminating minimum sizes on UI elements and other minor layout changes for maximizing information quantity to be displayed on a page.
Others are free to adjust the user-facing text further.
2011-02-04 23:19:06 -05:00
Dan Applebaum
945fd2ab71 At Jesse's suggestion, changing (Syncing off) to (Syncing disabled) and deleting obsolete translations. 2011-02-04 23:19:06 -05:00
Andrew Chen
66f6999c53 Fix for NPE introduced in r3258. 2011-02-04 23:19:06 -05:00
Dan Applebaum
40bdf99925 Fixes Issue 2934 Fixes Issue 2935
Provides for storing Folder Settings in the central Preferences
Storage as a back-up to the settings stored on each folder.  In this
way, even if the LocalStore DB is recreated or otherwise lost, Folder
Settings can be recovered.

1) Does not change the methodology used to read settings while
running, nor the changes in r3107 & r3116 which tremendously improve
Accounts list loading time.

2) Loads Folder Settings from Preferences and stores on the folder
only when creating a new LocalFolder

3) Saves Folder Settings to Preferences and the DB row every time the
Folder Settings are changed.

4) When upgrading from DB version 41 to 42 or later, copies all
settings for existing folders from the DB storage to the Preferences
Storage.

5) Transactional bulk folder creation and single pass local folder
existence check during "Refresh folders" operation drastically reduces
time spent when refreshing folders from the remote store.

6) Uses prepared statement during Editor commit to reduce Preference
storing time.

Probably needs a reversion of r3239, but I'm unfamiliar with
translations, so am leaving that to others' discretion.
2011-02-04 23:19:06 -05:00
Dan Applebaum
ea3619b733 Display a message in the titlebar when K-9 Mail is not performing any message synchronization. This state will happen when no network is available, when background ops/background data/auto-sync settings turn off synchronization, or when no account is set for polling or pushing.
This revision respects the intention of r3011 that when K-9 Mail is
set for pushing only no message is displayed, as that condition is a
normal state.  However, it provides valuable feedback in other cases
that synchronization is off-line, as was done in r1433.

Although the case when the user has intentionally set no account for
polling or pushing can be considered "normal" and therefore unworthy
of a message, it turns out to be a significant burden to detect that
situation when the network is offline, since we normally do not even
try to figure out the account configurations in that case.  Therefore,
without making substantial, otherwise unwarranted, changes to
MailService.java, "Syncing off" would be displayed sometimes to such a
user, and sometimes not.  Since it is presumably a rare case, and
there is minimal harm to display the "Syncing off" message, the
message will be consistently displayed when no account is set for
polling or pushing.

Note to translators:
"Syncing off" is different than "Polling off".  The new phrase "Syncing
off" means that K-9 Mail is not performing any synchronization with
any mail server.  The prior non-English phrases for "Polling off" are
currently in-place as translations for "Syncing off", as it seems that
the meanings are close enough that it would be better to show the
obsolete translations that to fallback to the English "Syncing off".
However, better translations of "Syncing off" would be welcome.
2011-02-04 23:19:06 -05:00
Andrew Chen
33e5520a9d Mark messages as ANSWERED only on send. Save a reference to the message in the identity so that loading a draft of a reply also marks the referenced message correctly. 2011-02-03 06:32:29 +00:00
Daniel Applebaum
6c03c968ef Provide for users with good eyesight to completely take advantage of the
"smaller" (and smaller) fonts by allowing the Accounts and Folder List
items to have a height smaller than the normal Android minimum.  This
option is off by default to maintain existing behavior for
uninterested parties.  The preferences text is not especially
compelling so could certainly be changed if better phrasing is found.
2011-02-03 03:42:45 +00:00
Andrew Chen
5fa757bba1 Only include name with an address if it's non-empty. 2011-02-03 03:35:50 +00:00
Giuseppe Arrigo
f75c107311 update on italian translation 2011-02-02 08:54:36 +00:00
Jesse Vincent
0ec8ef32a3 Added a Galician (Galego) translation from fernando.coello@gmail.com
Fixes 2940
2011-02-01 20:58:50 +00:00
Jesse Vincent
ff0f517cbb Configure MIME4J to not die when there are long header lines or a large message header 2011-02-01 20:48:20 +00:00
Jesse Vincent
4d9f779301 Chinese translation update from sunnavy 2011-02-01 20:48:14 +00:00
Kris Wong
9e5435a5f3 Fix the ability to accept invalid SSL certificates for exchange support. 2011-02-01 13:15:54 +00:00
Jesse Vincent
203f9fbaf4 Better explain what "recreate an account" means and that it now resets
folder classes. Translations into every language K-9 speaks. (With help
from google translate and native speakers)
2011-02-01 01:13:24 +00:00
Jesse Vincent
ff717d0dec compile in the libs we only need at build time when building with
eclipse.

This is an annoying default, but it'll make life easier for newbies
starting out with K-9 for eclipse.

We should ALWAYS do release builds with ant
2011-01-31 23:45:29 +00:00
Jesse Vincent
3d090e9626 astyle 2011-01-31 23:45:23 +00:00
Jesse Vincent
6550151684 Add serialVersionUID to Serializable classes to make eclipse happy 2011-01-31 23:45:14 +00:00
Andrew Chen
56ec148cbc IntelliJ support appears to be abandoned (K9.iml refers to platform 1.6...)
Checking in new k9mail.iml (which matches the module name) with the latest dependencies.
2011-01-31 23:25:06 +00:00
Andrew Chen
b7471280c7 Add test case for quoteAtoms(). 2011-01-31 23:17:37 +00:00
cketti
a1732ba03a Remove empty directories 2011-01-31 20:52:27 +00:00
cketti
8d3358b543 Remove empty directories 2011-01-31 20:51:48 +00:00
cketti
f36128f46e Remove empty directories 2011-01-31 20:50:51 +00:00
cketti
a397247907 Remove empty directories 2011-01-31 20:49:18 +00:00
cketti
00e13665d5 Remove empty directories 2011-01-31 20:48:04 +00:00
cketti
ea73a4c698 Remove empty directories 2011-01-31 20:41:19 +00:00
cketti
2f6586a8f2 Remove empty directories 2011-01-31 20:25:03 +00:00
Jesse Vincent
fbb62ff158 Replaced our local copy of jzlib with a clean jar built from jzlib 1.0.7
downloaded from jcraft: http://www.jcraft.com/jzlib/jzlib-1.0.7.tar.gz

Built using the following build.xml (since jzlib doesn't include one)

<project>
    <target name="clean">
        <delete dir="build"/>
    </target>
    <target name="compile">
        <mkdir dir="build/classes"/>
        <javac srcdir="com" destdir="build/classes"/>
    </target>
    <target name="jar">
        <mkdir dir="build/jar"/>
        <jar destfile="build/jar/jzlib.jar" basedir="build/classes"></jar>
    </target>
</project>
2011-01-31 18:26:01 +00:00
Jesse Vincent
4cc114c568 Replaced local version of jutf7 with a homebuilt jar from:
URL: https://jutf7.svn.sourceforge.net/svnroot/jutf7/trunk
Repository Root: https://jutf7.svn.sourceforge.net/svnroot/jutf7
Repository UUID: 1064e9db-3825-0410-a553-84549dc1c2c0
Revision: 20
Last Changed Author: jtbeetstra
Last Changed Rev: 20
Last Changed Date: 2010-04-22 11:31:16 -0400 (Thu, 22 Apr 2010)
2011-01-31 18:25:52 +00:00
Jesse Vincent
2ce5b9ed03 Replace Apache Commons IO with v2.01 downloaded from apache.org as a
prebuilt JAR
2011-01-31 18:25:26 +00:00
Jesse Vincent
d03818079a Tell eclipse to bundle JARs in libs but NOT to bundle libs in
compile-only-libs. (Results in Eclipse building something much closer to
what ant does)
2011-01-31 17:20:43 +00:00
Jesse Vincent
7b2cd531ca Start building using a JAR of MIME4J 2011-01-31 17:19:58 +00:00
Jesse Vincent
eb6e48c7bd Add support for building with precompiled JARs 2011-01-31 17:19:43 +00:00
Koji Arai
a82444bd64 Improved Japanese translation 2011-01-31 16:16:22 +00:00
Jesse Vincent
4d5381f33d Turns out to be some code which tries to be clever about removing the
multipart envelope in LocalStore.java. It is thrown away if there is
just one item in the multipart. This breaks the display of attachment
only message, since the attachment is no longer detected by the code
which creates the view. I made a fix (see patch below) which checks if
the single item in the multipart is not a attachment.

        -- patch from wernermann29 at googlemail.com
2011-01-31 01:54:27 +00:00
Andrew Chen
fe8ba6078e Propagate the ACTION_DOWN event to the ScrollView so we can stop scrolling after a fling. Fixes issue 2892. 2011-01-30 22:05:47 +00:00
Jesse Vincent
65dc3c7d1b Fix display of icon in About box on Android 2.1 and earlier 2011-01-30 15:11:16 +00:00
cketti
bec094326a Make decodeQ() actually use the "fixed up" string. Will fix Q-encoded subjects where space is encoded as "_".
Fixes issue 2926
2011-01-30 03:00:46 +00:00
Jesse Vincent
dfda1b60a3 bump trunk's machine version to the next series 2011-01-29 19:37:27 +00:00
HIRANO Takahito
07814db9f4 Fix range check for ISO-2022-JP stream.
Signed-off-by: HIRANO Takahito <hiranotaka@zng.info>
2011-01-29 17:56:58 +00:00
Jesse Vincent
e9cb07422b Bumped manifest to 3.512 2011-01-29 16:46:21 +00:00
Koji Arai
503844a2eb Improved Japanese translation. 2011-01-29 14:15:00 +00:00
Koji Arai
a9f566a024 Updated Japanese translation. catch up with r3191 2011-01-29 14:14:44 +00:00
cketti
555e6431b2 Add credits for third-party libraries and emoji icons to about box 2011-01-29 02:49:39 +00:00
Kris Wong
88d0af16a5 Updated Exchange setup view. 2011-01-28 22:45:10 +00:00
Andrew Chen
13898f7edf Fix the way newlines are added in HTML mode. 2011-01-28 21:41:06 +00:00
Jesse Vincent
5e7982a31b first pass at a better about box 2011-01-28 18:30:35 +00:00
cketti
a213ca2fb7 Correctly parse email addresses (from contacts). Could be of the form "User name <user@example.com>".
Fixes issue 2920
2011-01-28 06:01:10 +00:00
Jesse Vincent
920d8b2ca3 remove two unused strings 2011-01-28 03:33:55 +00:00
Jesse Vincent
4a558c5ac5 Revert the active part of "Update issue 848"
This reverts commit 9fc94115adb58dcd8a64227a93d0e6e707d7752d.

It turns out that disabling the "View attachment" button (rather than
giving a useful error message telling the user what mime type the app
needs to support) was confusing to users.
2011-01-28 03:33:49 +00:00