Commit Graph

2242 Commits

Author SHA1 Message Date
Jesse Vincent 594b3291ac move the messageview from a merge to a linearlayout 2011-02-10 17:57:54 -05:00
Jesse Vincent 44607638d9 remove a noop layout entry 2011-02-10 16:46:14 -05:00
Jesse Vincent 015baa06b4 Renamed "next" and "previous" buttons to match code style 2011-02-10 16:39:49 -05:00
Jesse Vincent fe21d6951f remove unused method 2011-02-10 16:39:49 -05:00
Jesse Vincent 98f3909ecc Split out a "clear the current message view" method 2011-02-10 14:56:56 -05:00
Jesse Vincent a3793ac651 Merge branch 'crypto-view'
* crypto-view:
  Move as much of the Apg code as possible to its own "view" class (should eventually be a fragment?)
  Bumped manifest to 3.702
2011-02-10 14:20:09 -05:00
Jesse Vincent c4e5196584 Bumped manifest to 3.702 2011-02-10 14:19:07 -05:00
Jesse Vincent 850aee9008 Move as much of the Apg code as possible to its own "view" class
(should eventually be a fragment?)
2011-02-10 14:02:21 -05:00
mwolschon 673b1fdf94 bugfix for
2e981afaed
( forgot a call to finish() )
2011-02-10 07:59:29 +01:00
Andrew Chen a51daf9798 Use interface Map.Entry. 2011-02-09 11:06:01 -08:00
Jesse Vincent bece2f55a0 Bumped manifest to 3.702 2011-02-09 07:47:21 -05:00
cketti 14abb68772 Get rid of the "Fwd: " prefix when sharing a message. Add recipients
to the intent ("To:" -> EXTRA_EMAIL, "CC:" -> EXTRA_CC)
2011-02-09 07:08:10 +01:00
cketti 7e824fc748 Log error message when switching local storage provider fails. 2011-02-09 06:58:06 +01:00
Andrew Chen 4aaabddfa5 astyle 2011-02-08 18:54:07 -08:00
Jesse Vincent 2d347826a7 We have a test suite that can run (thanks to achen's start) 2011-02-08 19:34:53 -05:00
Jesse Vincent 4f77063755 fix our install target to match the new world order 2011-02-08 19:34:53 -05:00
Jesse Vincent b50a4f7528 partial update of build.xml to match the current AOSP standard.
More work needed before we get to use their test harness :/
2011-02-08 19:34:53 -05:00
mwolschon 136cdf0e41 some missing German translations 2011-02-08 13:10:49 +01:00
Marcus Wolschon 2e981afaed if account is not ready (sd-card removed), fall through to the
"else"-case, so onItemClick -handler still gets registred.
Else inserting the SD-card without leaving the activity,
THEN clicking the account will not do anything.
2011-02-08 08:56:08 +01:00
Jesse Vincent a4b62297ef update bestpractical.com and fsck.com provider configs 2011-02-07 22:10:12 -05:00
Jesse Vincent 2aee63e242 make it possible to define Providers that don't require
username+password auth
2011-02-07 22:07:31 -05:00
Jesse Vincent 028d07e59d Revert "Better explain what "recreate an account" means and that it now
resets" now that Dan has added a cache of these settings into the user's
preferences database

This reverts commit 203f9fbaf4.

Conflicts:

	res/values-fi/strings.xml
	res/values-zh-rCN/strings.xml
2011-02-07 20:39:57 -05:00
Jesse Vincent 7cd99bdfd2 When some message has an Application/octet-stream .jpg attachment, be a
bit more lenient and treat it as application/octet-stream, so we can
look up the content type by file extension
2011-02-07 20:34:08 -05:00
Jesse Vincent bb1e66c70d If android's content-type lookup says "why yes, I have no idea what that
is", at least look at our local list
2011-02-07 20:33:46 -05:00
Jesse Vincent 938a01630e Finnish updates from Patrik Selin 2011-02-06 20:31:16 -05:00
Jesse Vincent a0e2c91115 Added Catalan translation from David Valls 2011-02-06 20:09:01 -05:00
Jesse Vincent 12d1097a24 Big, scary massive "ant astyle" to get us back to something
approximating AOSP coding standards.
2011-02-06 17:09:48 -05:00
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