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

4700 Commits

Author SHA1 Message Date
Jesse Vincent
78f797dda8 A previous refactoring broke notification for messages from the user by
replacing  a localized string with substitutions with a concatenation
in one of two places the string was used.
2010-10-08 05:09:38 +00:00
Jesse Vincent
23f7d8c46a Bumped manifest to ${version.name} 2010-10-06 22:45:03 +00:00
Jesse Vincent
187714dfb8 fix a unicode bug in dutch translation 2010-10-06 22:44:59 +00:00
Jesse Vincent
8ccfbe11f9 Bumped manifest to ${version.name} 2010-10-06 22:41:08 +00:00
Jesse Vincent
89248a3bf8 New Dutch translation from Stephan Vijfhuizen 2010-10-06 22:41:04 +00:00
Fiouz
6feb483f36 Update issue 1623
Restored accidently dropped content resolver notification code (dropped during r2397 refactoring)
First pass at documenting exposed fields
2010-10-06 20:14:33 +00:00
Fiouz
f858c72482 Added @Override compile check 2010-10-06 17:51:35 +00:00
cketti
9b5436d23b Removed (redundant) debug logging from the IMAP parser code. 2010-10-06 01:50:02 +00:00
Fiouz
548e6e7c77 Update issue 1623
Don't export the formatted date through the content provider: now exported as the raw Epoch value - date formatting is a UI concern. That makes MessageInfoHolder lighter.
2010-10-05 22:33:20 +00:00
Fiouz
58c80ad096 Update issue 1623
Added semaphore to prevent third party content resolver from exhausting K-9 resources: it won't allow more than 1 cursor to be active at the same time. Concurrent threads (other content resolver invocations) will be suspended until the previous cursor gets released.
2010-10-05 20:23:07 +00:00
Jesse Vincent
dd73d87665 Bumped manifest to ${version.name} 2010-10-05 06:37:12 +00:00
Jesse Vincent
3353e2711b yay! android changed build variables again 2010-10-05 06:17:47 +00:00
Jesse Vincent
2db7293a9a Bumped manifest to ${version.name} 2010-10-05 06:07:33 +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
58bb54a588 when quoting an html body part for forwarding, downrez it to plain text.
In the glorious future, we should be forwarding as an attachment. but
this is better than the previous behaviour
2010-10-05 06:04:16 +00:00
Jesse Vincent
ae53a0c5ff broke addAttachmentView into its own sub 2010-10-05 06:03:51 +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
Fiouz
4d24101e13 MessageProvider:
- Prevented from handling queries while K-9 isn't ready
- Added more log output
2010-10-05 05:09:17 +00:00
cketti
00ffc4f7fe Reverted "shortcut" to global settings in menu for search results (message list) as this led to display problems with Android 2.2.
Fixes issue 2347
2010-10-04 00:01:59 +00:00
cketti
6220237576 Corrected indentation 2010-10-03 23:55:10 +00:00
Jesse Vincent
6524af5087 Bumped manifest to ${version.name} 2010-10-03 17:07:27 +00:00
Jesse Vincent
ee62ab9138 typo fix in releng targets 2010-10-03 17:07:06 +00:00
Jesse Vincent
0fa741568b versionCode is going to be autogenerated from here on in. divorce it
from the versionName to avoid confusing users
2010-10-03 17:05:19 +00:00
Jesse Vincent
8797e2228f catch trying to set the version without passing a version 2010-10-03 17:05:16 +00:00
Jesse Vincent
bf9022403d defang new targets 2010-10-03 17:05:13 +00:00
Jesse Vincent
99a7015a5d further tweaks to our "upload" target 2010-10-03 17:05:10 +00:00
Jesse Vincent
56ffee1554 new releng targets for easier version bumping 2010-10-03 17:05:07 +00:00
Fiouz
a3f4429963 Switch to UNIX EOL style 2010-10-03 11:08:42 +00:00
Fiouz
f1d413ce77 Optimization: extracted populate() outside MessageInfoHolder in order to properly cache DateFormat (avoid useless DateFormat costly lookup at each population) 2010-10-03 10:56:16 +00:00
Fiouz
9347409e14 Changed case of CheckboxListPreference class to match the Android framework naming pattern 2010-10-03 09:26:30 +00:00
Fiouz
6ad298ba50 Update issue 1916
Added new options localization
2010-10-03 09:04:42 +00:00
Fiouz
8bb6eb146b Optimizations:
- Don't instantiate an empty Address array just to throw it away (less gabarge collection)
- Use a StringBuilder rather than a StringBuffer (faster as it isn't synchronized)
2010-10-03 08:28:56 +00:00
Fiouz
ef1d958092 Optimization: don't invoke Cursor.getXXX(int) more than necessary 2010-10-02 18:45:51 +00:00
Fiouz
75984939d1 Don't embed helper instance inside a data transfer object (ideally, the populate() method should be moved outside that DTO to an external service/helper) as this might lead future development to introduce unwanted dependency graphs (= memory leaks) 2010-10-02 09:07:14 +00:00
Fiouz
bb64a0ab01 Update issue 2379
Status: Fixed
Extracted Intent.ACTION_SENDTO handling in a separate block to extract data from URI (as opposed to ACTION_SEND which uses Intent extras to pass data)
2010-10-02 08:14:12 +00:00
Fiouz
f6064ff19f Use a thread pool to optimize resource usage instead of always firing up new threads (less garbage collection).
Note: this is not a complete revert of r2153 since the pool is now automatically expanded as needed (different implementation).
2010-10-02 07:45:11 +00:00
Fiouz
71dbdf3417 Update issue 1623
Removed dependency from K9 to MessageProvider (and added ability for components to register themselve for being notified when K9 instance is ready)
Moved Intent broadcast code from MessageProvider to K9
Made query() easily extensible using strategy pattern, the discriminant still being the Uri path
2010-10-01 19:41:39 +00:00
Jesse Vincent
46ba547d94 3.111 2010-10-01 04:27:55 +00:00
Jesse Vincent
5f4794954a minor wordsmithing to a couple of new preferences. 2010-10-01 04:25:12 +00:00
cketti
b3718f6ea5 Update issue 1253
Update of german translation by therossoblu
2010-09-29 20:08:38 +00:00
cketti
1b6fc440fa Fixed german translation.
Fixes issue 2380
2010-09-29 11:28:50 +00:00
Marcus Wolschon
5bbaf88972 elipsis at front with long subfolder-pathes.
(Only the last part of the path is interesting)
2010-09-27 11:59:17 +00:00
Jesse Vincent
49d2618f99 3.110 2010-09-27 03:27:56 +00:00
Fiouz
01f961c058 Update issue 1623
Fixed severe design flaw where the message provider would accumulate messages, causing an OutOfMemoryError even when the message provider isn't explicitely invoked.
query() is now synchronized with message retrieval
2010-09-26 16:01:41 +00:00
Koji Arai
2a39cd5206 Fixes issue 2282
Added an option whether the registered name color is change or not
Avoid "Connection error" when MessageView is opened. The contacts.getName() might return null.
2010-09-26 14:39:52 +00:00
Jesse Vincent
a2fe3bda34 When a new mail alert is alerting about a specific mailbox rather than
inbox, default to having it open that mailbox.  Patch from thardie
2010-09-22 15:43:43 +00:00
Jesse Vincent
745ff494fb 3.109 2010-09-22 02:48:06 +00:00
Jesse Vincent
b6124fb397 deleteHeaders deleted message headers by id when it should have been
deleting by message_id.  I believe this was our last serious leak in
our flash storage

deleting message headers was....just wrong. we've fixed other similar
bugs inherited from android 1.0 before.
2010-09-22 02:46:20 +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
Fiouz
39fd77591c Update issue 2172
Swedish localization update from daniel.malmgren.DM / swedroid.se folks, thanks!
2010-09-20 20:01:41 +00:00