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

1538 Commits

Author SHA1 Message Date
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
Marcus Wolschon
9ef306413b MessagingController not propagating provided listener 2010-09-20 11:47:02 +00:00
Fiouz
55f4361ecf Update issue 2172
Added Swedish localization, thanks to daniel.malmgren.DM!
2010-09-19 21:32:02 +00:00
Fiouz
0990609727 Don't forget to remove some Preference entires when deleting Account 2010-09-19 21:10:56 +00:00
Fiouz
e28e6d8817 Added ability to disable LED notification for new messages (new account setting)
Extracted notification related settings in separate class (see Issue 2268)

Update issue 371
Status: Fixed
Added ability to disable LED notification for new messages
2010-09-19 20:54:43 +00:00
cketti
92a2cd7cde Update issue 1253
Update of german translation by therossoblu and cketti
2010-09-17 12:53:56 +00:00
Fiouz
c63e230d12 Update issue 2302
Fixed some keys being translated and causing build error on non UTF-8 compilers
2010-09-14 17:43:22 +00:00
Fiouz
e16a79d08c Javadoc comment 2010-09-12 06:11:08 +00:00
Fiouz
c8a5de7abd Intent.ACTION_SENDTO.equals(action) was tested twice in the same if/else if statement causing the last one to never match, removed the first one in order to properly enable intent-based activity population
Fixes issue 2110
"Intent.ACTION_SENDTO.equals(action)" removed from first condition
See r1712
2010-09-12 05:26:13 +00:00
Fiouz
bbd664ad3c Optimization: don't use bytes and related byte/char conversion when we're actually working on string only 2010-09-11 11:20:50 +00:00
Fiouz
f6a9ee2e24 Update issue 2302
Added Finnish localization localization from Ari Arokoski. Thanks!
2010-09-11 08:28:19 +00:00
cketti
8cf2655dd8 Reverted r2332 and r2333 because the cause of the problem reported in issue 2078 seems to be different than initially thought. 2010-09-09 23:52:06 +00:00
Jesse Vincent
4a5ed287f4 3.108 2010-09-07 17:07:47 +00:00