1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-10 19:45:05 -05:00
Commit Graph

4719 Commits

Author SHA1 Message Date
russian k-9 mail user
5d1abd89bf Update strings.xml 2013-10-21 05:05:09 +04:00
russian k-9 mail user
42bea0fbc0 Update strings.xml 2013-10-21 05:04:25 +04:00
russian k-9 mail user
f57fd551e2 Sync with ChangeLog translation 2013-10-20 14:33:29 +04:00
russian k-9 mail user
5b967d46a8 PullToRefresh plugin RU translation updated 2013-10-20 14:30:42 +04:00
russian k-9 mail user
d3fea3ebb2 ChangeLog plugin RU strings added 2013-10-20 14:28:41 +04:00
cketti
ef3ba02a89 Merge pull request #400 from zjw/change_line_endings
Fix problems related to the saving and retrieval of drafts
2013-10-19 21:22:29 +02:00
cketti
a0709f2248 Remove newline in reply header of zh-TW translation 2013-10-19 20:42:48 +02:00
cketti
fecf77bcde Merge branch 'translations' 2013-10-19 18:31:29 +02:00
cketti
ad3c394322 Fix German translation 2013-10-19 18:28:43 +02:00
cketti
1279d597ac Fix format of Lithuanian translation 2013-10-19 18:27:08 +02:00
cketti
43d1084047 Run script to sync translations 2013-10-19 18:03:50 +02:00
cketti
aa81f78587 Add Lithuanian to list of supported languages 2013-10-19 18:03:50 +02:00
Marcio Zomb13
4442cd030f Update Brazilian Portuguese translation 2013-10-19 17:30:55 +02:00
russian k-9 mail user
4f6241a4bb Update Russian translation 2013-10-19 17:30:10 +02:00
pyler
f5ada9947b Android-PullToRefresh - SK translation 2013-10-19 17:29:41 +02:00
pyler
0222bb0829 ckChangeLog - SK translation 2013-10-19 17:29:41 +02:00
pyler
a3d06b1271 Update Slovak translation 2013-10-19 17:29:31 +02:00
igavio
99c17ff796 Update Greek translation 2013-10-19 17:27:22 +02:00
Uni-
ffa3730f2f Update Korean translation 2013-10-19 17:27:14 +02:00
KwonNam Son
3a5965be08 Update Korean translation 2013-10-19 17:25:16 +02:00
gymka
418a8d9f67 Add Lithuanian translation 2013-10-19 17:25:05 +02:00
Joe Steele
bd42a7d06e Upgrade to SDK version 17
The ant build was failing after commit 1afff1e

Ref commit 88c7b20
2013-10-14 15:49:30 -04:00
Koji Arai
dc42f2589d Updated Japanese translation of the changelog. 2013-10-12 08:11:12 +09:00
Joe Steele
0323af09e5 Don't add blank lines to composed messages if there is no quoted text 2013-10-11 11:39:50 -04:00
Joe Steele
ef01cabccc Remove \n from R.string.message_compose_reply_header_fmt
This string resource is used in two places -- both with and without the
linefeed at the end.  Instead of having a linefeed in the string and
having the code remove it if not needed, the linefeed is now omitted from
the string and the code adds it if needed.

Also, the line ending is changed from \n to \r\n.

Also, the string in the DE and FR locales had linefeeds at the start that
were removed so they match all the other locales.

(The string in the zh-rTW locale was left alone, since it had no
linefeeds.  It looks like that file has numerous instances where \n was
replaced with actual newlines, which is probably not correct.)
2013-10-11 11:39:48 -04:00
Joe Steele
5a46575dc2 Generally replace \n with \r\n when part of a message
This builds upon the efforts started 2 commits back where \r\n is used for
all message text and \n is only used when the text is inside an
EolConvertingEditText widget.
2013-10-11 11:39:46 -04:00
Joe Steele
114be7a15d More robust checking to prevent fatal IndexOutOfBoundsException
Even with the fix in the parent commit,  the X-K9mail-Identity header can
become invalid if, for example, a user creates a draft in K-9 Mail, then
edits the draft outside of K-9 Mail, then opens the draft again in K-9
Mail.

This commit assures that an invalid X-K9mail-Identity header will not
result in an IndexOutOfBoundsException.
2013-10-11 11:39:45 -04:00
Joe Steele
bfb0316583 Fix fatal IndexOutOfBoundsException
The problem:

Configure the account (just an example -- problems can occur in other
configurations as well):
Message Format: HTML
Reply quoting style: Prefix
Quote message when replying: yes
Reply after quoted text: yes

Reply to a message that has a large quantity (20+) of \r\n scattered in
the body of its HTML version (not an unusual scenario).

Add a reply.  Save the message as a draft.  Go back & open the draft
again.  A fatal IndexOutOfBoundsException occurs.

The cause:

When the draft was saved, the X-K9mail-Identity header was computed and
added to the message, then the text of the message was processed with
MimeUtility.fixDraftTextBody, replacing all occurrences of \r\n with \n in
the quoted message before being saved in LocalStore, thus invalidating the
X-K9mail-Identity header.

The fix:

Remove MimeUtility.fixDraftTextBody and implement
MessageCompose$EolConvertingEditText instead.  Any message text placed in
an EolConvertingEditText widget is assured to have \n line endings.  Any
message text extracted from an EolConvertingEditText widget is assured to
have \r\n line endings.  The X-K9mail-Identity header will always be
computed correctly.

Issues thought to be related:  4782, 5010, 5634, 5725

As noted in some of the referenced issues, errors didn't always result in
a fatal exception, but instead with mixed up text.

Ref:  commit f9a35aeaee
2013-10-11 11:39:15 -04:00
Joe Steele
005241d97b Issue 4594: draft not saved with shared info
When another app shared info with K-9 Mail, the draft was not
always being saved when the "Save as draft" menu option was selected.
2013-10-11 11:24:58 -04:00
Joe Steele
33678ea022 Eliminate unnecessary override in LocalAttachmentBody.
The overriding code is the same as the overridden code.
2013-10-11 11:24:56 -04:00
Joe Steele
e20170c996 Update the tests project.
Target the same SDK version as in K-9 Mail.

Update the .classpath file as modified by the latest Eclipse ADT plugin.

Remove unused import.
2013-10-11 11:24:55 -04:00
Joe Steele
313a5bff9c Contact picture fix.
Clear out old/unrelated (previously bound) contactBadge info in
MessageListAdapter.bindView that could otherwise be displayed
when tapping on a contactBadge with no counterpartyAddress (may
require scrolling the message list up and down first before the
bug becomes evident).
2013-10-11 11:24:53 -04:00
Joe Steele
1afff1e38f Delete related files when deleting a database.
The journal file was not being deleted when an account was deleted.
Over time, one can end up with a collection of dead journal files.
2013-10-11 11:24:51 -04:00
Jesse Vincent
823c9ff1c5 Bumped manifest to 4.700 2013-10-10 20:42:36 -04:00
Jesse Vincent
31b3646fc8 4.700 changelog 2013-10-10 20:42:22 -04:00
Jesse Vincent
8754a1b232 new dev branch series 2013-10-10 20:37:38 -04:00
cketti
1aca9eb22c ContactPictureLoader code cleanup 2013-10-03 21:21:54 +02:00
cketti
bea6ba6881 Fix JavaDoc to match the changes in ContactPictureLoader 2013-10-01 01:53:21 +02:00
Koji Arai
e4313067b6 Don't performSend() on onSave(). 2013-10-01 07:53:08 +09:00
Jesse Vincent
decf9b7f6b Merge pull request #390 from bboa/master
Update strings.xml
2013-09-29 12:57:32 -07:00
Jesse Vincent
5c53fd927b Merge pull request #391 from pylerSM/patch-2
Updated Slovak translation
2013-09-29 12:56:37 -07:00
pyler
72e9b3e5b8 Updated Slovak translation 2013-09-27 19:38:54 +02:00
Danny Baumann
8777441d92 Use address object as contact picture instead of email address only.
Fixes assignment problems for emails sent by some issue tracking
systems, which send out mails with a fixed mail address on behalf of
different people.
2013-09-27 08:53:14 +02:00
cketti
f964cf40a4 Change wording in changelog; fix typos 2013-09-26 03:43:04 +02:00
Danny Baumann
9865968f46 Update German translation 2013-09-25 15:26:32 +02:00
Danny Baumann
890e0e22e3 Some assorted warning fixes. 2013-09-25 15:20:43 +02:00
Danny Baumann
d6d22a82bc Fix build with latest SDK tools. 2013-09-25 14:54:27 +02:00
Danny Baumann
aa798fad85 Fix caching of fallback contact icons.
The cache key must be consistent with how calcUnknownContactLetter()
works, otherwise one gets the same fallback icon for different senders.
2013-09-25 14:52:59 +02:00
cketti
2b7f5e7b70 Merge branch 'pick_attachment_fix'
Update LocalStore code to handle the newly introduced temporary files
for attachments

Conflicts:
	res/values/strings.xml
	src/com/fsck/k9/activity/MessageCompose.java
2013-09-25 05:22:00 +02:00
cketti
677d6c923d Don't stop the activity before attachments have been fetched
Display a progress dialog when the user tries to send the message or
save a draft and the attachments haven't been fetched completely.
2013-09-25 03:46:11 +02:00