Commit graph

2465 commits

Author SHA1 Message Date
Jesse Vincent
df5c44cc33 Add the astyle target 2011-02-06 15:08:09 -05:00
Jesse Vincent
6222e9b23d Bumped manifest to 3.701 2011-02-05 21:46:21 -05:00
Jesse Vincent
c1df45414f git push --tags 2011-02-05 21:45:39 -05:00
Jesse Vincent
35fcbd3428 switch build infrastructure to git 2011-02-05 21:45:12 -05:00
Andrew Chen
cc9d6ac5ea Add button to allow editing of quoted message in HTML mode by dropping user back to text mode. Fixes issue 2959. 2011-02-05 15:14:02 -08:00
Andrew Chen
026ace509c Move out of res directory (breaks build). 2011-02-05 14:35:57 -08:00
Andrew Chen
fd013ec341 Create empty button shells (based on btn_dialog_*.png). The gradient on "selected" isn't great, though. 2011-02-05 14:03:50 -08:00
Jesse Vincent
98d8ba51a0 Initial commit in our new home. Just bumping a version 2011-02-04 23:33:34 -05:00
cketti
d2561f19af Removed unused imports
git-svn-id: https://k9mail.googlecode.com/svn/k9mail/trunk@3270 9a7fa126-a48b-11dd-a887-7ffe1a420f8d
2011-02-04 23:19:07 -05:00
Dan Applebaum
4842051de6 Immediately update the title bar when the syncing status changes due to external events. 2011-02-04 23:19:06 -05:00
Andrew Chen
19d863ee41 Move linkification into a separate method. Linkify text in textToHtmlFragment. Fixed Issue 2951. 2011-02-04 23:19:06 -05:00
Andrew Chen
1b37fc69f6 Another potential NPE fix. 2011-02-04 23:19:06 -05:00
Andrew Chen
f1b4ca6905 astyle 2011-02-04 23:19:06 -05:00
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