danapple
88f6034cbb
When emailing a K-9 settings export file, use specific special content type.
2011-03-01 21:43:11 -06: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
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
8329a0287b
Upgrade to mime4j. "0.7" branch as of
...
http://svn.apache.org/repos/asf/james/mime4j/trunk@1058339
2011-01-19 21:32:09 +00:00
cketti
8279092070
Fixed lots of warnings (unused imports/variables, missing annotations, etc.)
2011-01-18 23:54:49 +00:00
Jesse Vincent
aacb414004
astyle
2011-01-14 01:37:52 +00:00
Jesse Vincent
d1a1b12aae
Support emoji in subjects.
...
Signed-off-by: HIRANO Takahito <hiranotaka@zng.info>
2011-01-14 00:53:19 +00:00
Jesse Vincent
de806f7715
astyle
2011-01-06 16:55:08 +00:00
Jesse Vincent
2daf8eaec8
Allow emoji input.
...
Signed-off-by: HIRANO Takahito <hiranotaka@zng.info>
2011-01-04 13:25:59 +00:00
Jesse Vincent
40344aea41
support iPad mail too
2011-01-03 18:12:35 +00:00
Jesse Vincent
0a8514888e
Map emoji code points defined by mobile carriers to ones defined by
...
Google in order to support various carriers. Patch by HIRANO Takahito
<hiranotaka@zng.info>
2011-01-03 18:07:44 +00:00
Jesse Vincent
f14c7ecd9b
doc & comment updates from achen.code
2010-12-25 00:27:09 +00:00
Jesse Vincent
81f12f0e05
clean up a couple null checks
2010-12-01 03:01:20 +00:00
Jesse Vincent
524dfb348a
Updated MIME Type list with http://www.stdicon.com/mimetypes
2010-10-23 16:28:18 +00:00
Jesse Vincent
105df4c61a
It turns out that not every android release has a good extension to
...
mimetype mapping. restore our previous hardcoded mime database as a
fallback
2010-10-23 16:28:07 +00:00
Jesse Vincent
6061c42ea9
find src/com/fsck/ -name \*.java|xargs astyle --style=ansi --mode=java --indent-switches --indent=spaces=4 --convert-tabs
2010-10-05 06:04:28 +00:00
Jesse Vincent
524350a960
Replace our (incomplete) custom MIME type list with a call to webkit.
2010-10-05 06:03:24 +00:00
Jesse Vincent
ff5024eaec
astyle
2010-08-18 02:48:55 +00:00
cketti
0eb342ef5a
Code cleanup (Removed unused imports, added @Override annotations)
2010-08-13 14:06:13 +00:00
Jesse Vincent
d123aa2a39
Add a hook for hinting charset conversions to Java, since Android's java
...
doesn't know about all conversions.
2010-08-12 02:22:25 +00:00
Jesse Vincent
d78e7a0d69
Switch from the incomplete (but compatible with java 1.3) mime4j charset
...
alias resolver to the core java nio version with a better charset
database;
rather than falling back to not showing the user a failing message, fall
back to showing the user the message as ascii -- it makes it possible
to get _something_ out of an unknown-charset message, rather than just a
"ha ha. no." error.
2010-08-02 01:27:46 +00:00
Jesse Vincent
7fc921c0b7
astyle
2010-08-02 01:27:40 +00:00
Jesse Vincent
d8a73b195d
Factor out the decision about whether a part is "viewable" for purposes
...
of fetching ; remove broken "inline" check from the same.
2010-07-30 00:58:33 +00:00
Jesse Vincent
d8a757faaf
Try to avoid a bunch of reallocations as we grow the temporary output stream by defining its size if we can get it
2010-07-29 22:17:35 +00:00
Jesse Vincent
134c0b23dd
Backport a bit of memory efficiency I'm not sure I believe from AOSP
2010-07-29 22:17:32 +00:00
Jesse Vincent
0bb115ca42
Actually catch an OOM in getTextFromPart
...
Backport an update to getTextFromPart from AOSP as of 290348 - dealing with OOM as we import large messages
2010-07-29 22:17:29 +00:00
Jesse Vincent
c6aa505ffe
improve the method docs on getTextFromPart
...
Backport an update to getTextFromPart from AOSP as of 290348 - dealing with OOM as we import large messages
2010-07-29 22:17:26 +00:00
cketti
665efc1448
Work-around to be able to read messages with "charset=0". QUALCOMM Windows Eudora seems to send headers like this.
...
Fixes issue 1952
2010-07-12 19:45:59 +00:00
Jesse Vincent
20e47991c3
astyle
2010-07-11 15:39:26 +00:00
cketti
e59987fdcb
Display an error message (instead of "null") if a message couldn't be decoded because of a missing charset.
...
See issue 1480 for a test case.
2010-07-11 01:28:08 +00:00
Jesse Vincent
64469e4b4e
ran artistic style against src/com/fsck/k9/
2010-01-14 01:07:28 +00:00
Bao-Long Nguyen-Trong
11b7157772
Guess mime type (when not specified) of attachments of received messages using file name extension so that we can open them
2010-01-12 02:06:46 +00:00
Jesse Vincent
f31b2702a4
Massive rename to K9, step 1.
...
Conflicts:
src/com/android/email/Email.java
2009-12-15 02:50:53 +00:00
Jesse Vincent
eedfc0a839
step 1 of rename
2008-12-16 23:07:33 +00:00
Jesse Vincent
8bd2f9c260
Switch from using the mime4j charset list to the Java 1.5 java.nio.charset Charset class.
...
Based on this comment in MIME4J, this seems like a win:
* Utility class for working with character sets. It is somewhat similar to
* the Java 1.4 <code>java.nio.charset.Charset</code> class but knows many
* more aliases and is compatible with Java 1.3. It will use a simple detection
* mechanism to detect what character sets the current VM supports. This will
* be a sub-set of the character sets listed in the
* <a href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html ">
* Java 1.5 (J2SE5.0) Supported Encodings</a> document.
* <p>
* The <a href="http://www.iana.org/assignments/character-sets ">
* IANA Character Sets</a> document has been used to determine the preferred
* MIME character set names and to get a list of known aliases.
* <p>
2008-11-02 23:17:59 +00:00
Jesse Vincent
5491dee81b
Damn it. Weird symlink-in-checkout bug. There goes our commit history. Sorry, all.
...
Guess I should go back to svk
2008-11-01 21:32:06 +00:00
Jesse Vincent
12c6e53141
bin directory should never have been checked in
2008-11-01 21:23:45 +00:00
Jesse Vincent
c7de66484d
more renaming.
2008-10-28 02:14:16 +00:00
Jesse Vincent
c00ec35921
Grand insane rename, step 3
2008-10-28 01:22:17 +00:00
Jesse Vincent
7051cf8cc0
move step 2
2008-10-28 01:19:57 +00:00