András Veres-Szentkirályi
572427cb57
use built-in TextUtils.join instead of StringBuilder
2014-02-15 23:59:23 +01:00
Joe Steele
fa962e7bd7
Move AOSP files.
...
Patch RigidWebView for K9.
MessageWebView would need to extend RigidWebView.
2013-11-05 16:26:27 -05: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
Danny Baumann
890e0e22e3
Some assorted warning fixes.
2013-09-25 15:20:43 +02:00
cketti
d6d9effbec
Remove unused stuff
2013-02-21 02:00:12 +01:00
cketti
251428e963
Restore behavior of unread/flagged filtered message list
...
The unread/flagged count/view for accounts now excludes special folders
and only includes displayable folders as specified by the display class.
2012-12-07 12:03:04 +01:00
cketti
889e2502be
Replace call to method only available with API 9 and higher
2012-10-27 05:09:58 +02:00
cketti
63b6b497a0
Early version of message threading
...
Missing:
- UI support for threading when polling
- code to upgrade existing installations
- UI elements to switch from/to threaded display mode
- threading of messages with same subject
2012-10-08 22:51:29 +02:00
Andrew Chen
41756802a1
Move hasConnectivity() method into a helper method.
...
It's now used in multiple places, so unify the logic into one place.
2012-10-05 09:07:16 -07:00
Andrew Chen
3f4bc28363
Add null check before attempting to do math on the date.
2012-09-06 16:38:45 -07:00
cketti
1596ddfaab
Moved sanitizeFilename() to com.fsck.k9.helper.Utility
2012-04-01 21:14:43 +02:00
Andrew Chen
beda7beac7
Use a constant for 18 hours.
2012-01-05 19:01:00 -08:00
edpeur
daeedc2222
Close resources properly
2011-12-31 17:38:41 +00:00
Andrew Gaul
39aa577651
Introduce and use Utility.closeQuietly(Cursor)
...
This helper is in the same spirit as IOUtils.closeQuietly.
2011-11-04 09:58:55 -07:00
Andrew Gaul
844db81b8d
Optimize Utility.combine for length 1 arguments
2011-10-25 13:10:47 -07:00
Andrew Gaul
4c5f2e59a0
Remove unused Utility.readInputStream
...
Consider IOUtils.toString instead.
2011-10-19 23:11:03 -07:00
Andrew Gaul
47eb0fa2e1
Prefer StringBuilder over StringBuffer
...
The former is unsynchronized and slightly faster.
2011-10-05 21:50:31 -07:00
rpimonitrbtch
bdcb19e344
Issue 2784: Cannot set server hostname
...
Loosened the restrictions on the TLD to support custom private TLD's, as well as single label hostnames. Removed the localhost and localhost.localdomain exceptions, as they are now redundant.
2011-08-28 15:24:52 -04:00
Andrew Gaul
2fd9bd5a03
Cleanup Utility.combine()
...
Fix spelling mistakes, simplify adding separators, use unsynchronized
StringBuilder, and fix Javadoc.
2011-05-31 15:11:36 +02: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
cketti
6a9a5f6b1f
Added a null pointer check to make the static analysis component of Eclipse happy
2011-01-19 00:00:58 +00:00
Andrew Chen
e56b044bbc
Add support for HTML composition with text alternative.
...
Revamp K9 Identity string.
Quote names in Address only when needed.
Remove quoted text bar and move button to quoted text area.
2011-01-12 23:48:28 +00:00
Andrew Chen
b85f0b64c0
Fix javadoc; make constant all caps.
2010-12-29 07:17:43 +00:00
Jesse Vincent
6a04afb758
extract "does it have html images" out of MessageView. really, it should
...
end up in LocalMessage somewhere
2010-12-28 09:07:59 +00:00
Jesse Vincent
f292251b78
lift createUniqueFile to a Utility class
2010-12-28 09:06:57 +00:00
Jesse Vincent
9878b74379
astyle
2010-12-24 18:55:05 +00:00
Fiouz
ab5caba92c
Factor out store locking code in an intermediate DB access layer.
2010-12-18 22:56:40 +00:00
Jesse Vincent
2ecdc22111
simplify static final methods to just be static. (IntelliJ inspection)
2010-12-01 02:59:50 +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
Fiouz
4cb2d52c9c
Refactored message sorting code by extracting the sort code from the sorted object (this was a bad design, worsened by the MessageProvider patch). Ideally, new Comparator classes should get promoted to top-level classes and not be enclosed in MessageList.
...
Subject stripper backported from issue258 branch (Utility.java)
The result is a cleaner MessageInfoHolder class.
2010-09-21 22:12:45 +00:00
cketti
90ee194d0f
Fixes issue 387
...
Applied patch by achen.code (thanks!) to word wrap the quoted text on replies.
2010-08-19 02:49:13 +00:00
Jesse Vincent
7464a1527a
Convert for loops to "enhanced" syntax per SDK performance guidelines
...
(Automatic with Eclipse)
2010-07-19 01:52:18 +00:00
cketti
58b8479612
Code refactoring:
...
- Created "controller" and "mail.filter" package
- Moved a lot of classes to new/other packages
- Removed unused classes: NoSuchProviderException, MessageDateComparator
2010-05-19 18:17:06 +00:00