Jesse Vincent
ea90e24785
move the chips, change the sizes
2012-03-24 19:57:32 +01:00
Jesse Vincent
580f1639c3
UI improvements to the "select identity" button
2012-03-24 19:57:31 +01:00
cketti
365f8e71e0
Fixed array length calculation
2012-03-23 04:20:29 +01:00
cketti
8180fd9ad2
Added a button to switch the identity in MessageCompose
...
Originally I wanted to use a Spinner, but it doesn't support multiple
view types (see [1]). Those are necessary because we use different
layouts for accounts (section headers) and identities (selectable list
items).
Removed the ChooseAccount activity because it's now unused.
2012-03-22 22:17:10 +01:00
cketti
1d28eb003d
Added a setting to disable marking messages as read on viewing
2012-03-19 04:44:41 +01:00
cketti
5245191900
Notify the listener provided as argument to doRefreshRemote()
...
With this change pressing "Refresh folders" in ChooseFolder actually
refreshes the folder list.
2012-03-18 22:43:47 +01:00
cketti
8c66a2f835
Replaced hardcoded strings with references to string resources
2012-03-18 22:13:27 +01:00
cketti
16afff4dfc
Notify the adapter from runOnUiThread() instead of using Handler
2012-03-18 22:09:52 +01:00
cketti
4f2412eacd
Changed code formatting. No functional changes
2012-03-18 22:06:44 +01:00
cketti
b7c1f8ab2f
Prefixed instance variables with "m" to comply with K-9 code style
2012-03-18 21:51:01 +01:00
cketti
09bc07596e
Got rid of unnecessary instance variable
2012-03-18 21:48:22 +01:00
cketti
6bdaac4353
Fixed whitespace (tabs vs. spaces)
2012-03-18 21:46:32 +01:00
unusualdiscrepancy
58c01c05b7
Fix for Issue 4164: Force close when moving an email to another folder
2012-03-18 21:45:33 +01:00
cketti
482ae352c1
Reverted most of the recent message header changes
...
Clicking the additional headers area still allows to hide that view
again.
2012-03-18 04:51:29 +01:00
cketti
69ee6a4818
Avoid NullPointerException in Accounts.onCreateDialog()
...
Also cleaned up code formatting of onCreateDialog() and
onPrepareDialog().
2012-03-17 21:28:54 +01:00
cketti
ef01dc906b
Use AlertDialog's ListView on import instead of creating our own
...
This fixes a display problem when using the dark theme.
2012-03-17 21:28:53 +01:00
Koji Arai
10c37942a6
Added two domains handle docomo emoji
2012-03-17 23:24:12 +09:00
Koji Arai
f9fb74241a
avoid NPE. address may be null when the parser is failed.
2012-03-17 23:23:27 +09:00
cketti
f9a35aeaee
Replace CRLF with LF when loading drafts
...
This is necessary because we save the offset and length of the user-
supplied text in the identity header. These values are then later used
to split the draft in user text and quoted message.
When calculating these values we operate on a string with LF line
endings. Ideally we want to do the reverse operation on the same
string, but when saving the message to the server LF is converted to
CRLF to create RFC-conforming messages.
This is only a hack and will probably be the cause of more trouble in
the future. A better solution would be to make the identity header more
robust or get rid of it entirely.
2012-03-17 04:15:30 +01:00
cketti
3fa8081e88
Fixed MimeUtility.extractTextual() when loading messages from the server
2012-03-17 03:19:09 +01:00
cketti
dbf38dae65
Fixed the change of the previous commit
2012-03-17 00:30:40 +01:00
cketti
a48adafbbc
Don't use null for 'text' and 'html' in ViewableContainer
2012-03-16 22:56:09 +01:00
cketti
f181e923ca
Don't modify draft messages when storing them in the database
2012-03-15 21:21:00 +01:00
Srinath Warrier
7a9ba4e0ad
Create implicit sort remembering setting2(minor indentation error)
2012-03-12 22:55:31 +05:30
cketti
aeb0220e56
Fixed MimeUtility.getHeaderParameter() to not crash on unexpected input
2012-03-12 17:45:34 +01:00
Srinath Warrier
3ebd3c1fc2
Create implicit sort remembering setting
2012-03-12 22:04:10 +05:30
ashley willis
f9a30d1822
added sort by arrival option.
2012-03-11 17:48:56 -05:00
cketti
0cb4207ef7
IMAP: don't create the destination folder when copying messages
2012-03-09 21:51:48 +01:00
cketti
7163d39091
Change ImapException to always be a permanent error
...
This way IMAP commands that get anything but an "OK" response are never
tried again (pending actions).
2012-03-09 21:50:26 +01:00
cketti
ee34344d30
Upgrade to SDK 15
2012-03-07 21:52:47 +01:00
cketti
4721d92e79
Avoid some instances of autoboxing
...
This will hopefully allow us to compile with "Android Java IDE".
2012-03-07 21:40:41 +01:00
cketti
a089fadd9a
Merge branch 'messageheader'
2012-03-06 05:26:11 +01:00
cketti
faf9dc6e02
Restored show/more less indicator in the message header
2012-03-06 04:38:08 +01:00
ashley willis
78615f878d
added From: addresses on reply all when Reply-To: is set. don't repeat address in To: field if it's already included in replyToAddresses.
2012-03-05 15:17:31 -06:00
Srinath Warrier
ff6e1f6c85
Create default sort setting by preference
2012-03-04 16:20:37 +05:30
m0viefreak
8d12244a9c
Message header changes
...
* remove expand/collapse arrows, instead use the background area of the header to toggle
* allow expanding of To: and Cc: texts when too long and cut off by clicking on them
2012-03-02 06:15:55 +01:00
m0viefreak
f1baa8f461
invalidate message content WebView when the message header changes
...
This fixes redraw issues where text appears doubled or is cut off
2012-03-02 05:16:58 +01:00
cketti
5591865f17
Merge branch 'uidplus'
2012-02-29 14:09:41 +01:00
cketti
f6ebe4d4e0
Deduplicated code to create SearchAccounts for special accounts
2012-02-29 03:03:20 +01:00
cketti
e72afc1641
Set content type of attachment even when no file name was found
2012-02-27 23:20:30 +01:00
cketti
ba979808fe
Use AttachmentView instance as onClick and onLongClick listener
2012-02-27 21:45:47 +01:00
cketti
206c559236
Don't handle exceptions in AttachmentView.populateFromPart()
...
We now catch exceptions in SingleMessageView.renderAttachments(). This
way we can avoid adding AttachmentViews that couldn't be properly
populated.
2012-02-27 21:45:47 +01:00
cketti
25dff5ae6a
Don't choke on invalid size parameters for attachment parts
2012-02-27 21:45:46 +01:00
cketti
2cb31a2fac
Added button to show unnamed and inline attachments
2012-02-27 21:45:46 +01:00
cketti
de2c6cdae3
Prevent users from changing special folder assignments for POP3 accounts
2012-02-25 05:05:21 +01:00
cketti
8e7950164b
Hide "Expunge" menu item for all folders in a POP3 account
...
Also hide "Check mail" for all folders except the Inbox (POP3).
2012-02-25 04:28:08 +01:00
cketti
1af5476b96
Hide refile batch actions in the message list for POP3 accounts
2012-02-25 04:19:27 +01:00
cketti
3632978b49
Don't animate the previous/next buttons in message view
2012-02-25 01:08:55 +01:00
cketti
7c97527d73
Allow message header to scroll when displaying the attachment list
2012-02-25 00:43:09 +01:00
cketti
c1d663b084
Save/restore instance state for MessageHeader
2012-02-24 04:07:29 +01:00
cketti
4e12dc154e
Save/restore instance state for SingleMessageView
2012-02-24 03:43:42 +01:00
cketti
2c09d75afa
Switch to "message view" when displayMessageBody() is called
2012-02-23 00:10:47 +01:00
cketti
18c96f94d6
Retain "show pictures" state on orientation change
2012-02-22 23:26:59 +01:00
cketti
4984a6b9e5
Keep current view state after having downloaded the complete message
...
If the attachment view was visible, keep it that way.
2012-02-22 23:07:48 +01:00
cketti
2b54599c2b
Small code cleanup
2012-02-22 22:56:05 +01:00
cketti
0ef9c516be
Moved click listener from MessageView to SingleMessageView
2012-02-22 22:44:31 +01:00
cketti
80cb0cce35
Changed the layout to include a color chip again
2012-02-21 23:38:43 +01:00
cketti
d44849d239
Restored previous/next animations
2012-02-21 16:54:35 +01:00
cketti
ec6645bf6a
Avoid creating new objects for handling click events
2012-02-21 16:21:47 +01:00
cketti
9f42ff61d3
Removed settings for scrolling buttons
2012-02-21 15:16:36 +01:00
cketti
309eeb72ac
Got rid of the ScrollView in MessageView
...
The ScrollView around the WebView caused all sorts of problems. This
change removes the ScrollView and uses the undocumented method
WebView.setEmbeddedTitleBar() to set the MessageHeader view as "title
bar" of the WebView. This allows MessageHeader to scroll away making
more room for the WebView.
All of the "magic title bar" code was originally implemented by Jesse
for Kaiten.
Because WebView doesn't support a scrolling footer we can no longer
support scrolling buttons or attachments at the end of the message. Now
users can switch from message view to attachment view via a button just
below the message headers.
I also copied some code for which I was too lazy to create a separate
commit. It allows to display attachments we didn't use to show by
clicking on a "More..." button in the attachment view. Those
attachments are mostly images referenced by the HTML part (e.g.
background images).
Fixes issue 3291
2012-02-21 05:07:01 +01:00
cketti
fbc187a3e2
IMAP: Send the Message-ID as quoted string in getUidFromMessageId()
2012-02-19 19:51:06 +01:00
cketti
8e32320f5d
Merge branch 'viewables'
2012-02-18 19:29:34 +01:00
cketti
4adfc51339
Use HtmlConverter.convertEmoji2Img() in LocalFolder.updateMessage()
2012-02-18 00:44:24 +01:00
cketti
b9803ece19
Fixed divider before text part with filename
2012-02-18 00:05:56 +01:00
cketti
8ce78408c2
Fixed HTML generation in MimeUtility.extractTextAndAttachments()
2012-02-17 19:42:35 +01:00
cketti
5083b8f1e8
Use newly imported AOSP code instead of ImapStore.parseSequenceSet()
2012-02-17 15:01:30 +01:00
cketti
deb01bcd16
Imported ImapUtility.java from AOSP Email
...
Modified it to fit our needs.
2012-02-17 14:59:50 +01:00
cketti
c1ed0c78a9
Introduced new pending command to retain upgradability
2012-02-17 01:59:04 +01:00
ashley willis
4db048343f
account setup changes:
...
added gmx.com.
set delete policy to DELETE_POLICY_ON_DELETE for IMAP on automatic setup like manual setup does.
set default names for Archive and Spam on manual config like automatic setup does.
2012-02-16 18:35:25 -06:00
cketti
f7299a69d4
Keep track of UIDs when moving messages to the trash folder
2012-02-17 00:43:35 +01:00
cketti
c3885bc475
Cleaned up LocalFolder.appendMessages() a bit
2012-02-16 23:52:44 +01:00
cketti
023c60513e
Fixed UID mapping return value of LocalStore.moveMessages()
2012-02-16 23:37:44 +01:00
cketti
4ed77c7a29
Avoid NullPointerException
2012-02-16 22:36:57 +01:00
cketti
89e0ed3c03
Notify listeners of UID changes after remote copy/move
2012-02-16 22:34:50 +01:00
cketti
3e4e6c72fd
Cleaned up ImapStore.ImapFolder.copyMessages()
2012-02-16 22:12:44 +01:00
cketti
396005974a
Cleaned up ImapStore.ImapFolder.appendMessages()
2012-02-16 21:33:53 +01:00
cketti
8e1627e1b9
Merge branch 'master' into uidplus
...
Conflicts:
src/com/fsck/k9/controller/MessagingController.java
src/com/fsck/k9/mail/store/WebDavStore.java
2012-02-16 19:57:24 +01:00
cketti
53ae9d7fe7
Avoid exception when a screen reader is installed but not active.
2012-02-16 14:52:56 +01:00
cketti
3ee0889529
Use the Androiod framework for the file manager error dialog
...
This will automatically recreate the dialog on configuration changes
(e.g. orientation change).
2012-02-16 14:43:38 +01:00
ashley willis
15ffaf301e
changed ANDROID_MARKET_URL to automatically search for OI File Manager.
2012-02-14 22:48:27 -06:00
Ashley Willis
8d5ad172c6
Merge pull request #125 from wilian-cb/issue-3945
...
3945: Handling error when there's no File Manager application used in import settings
2012-02-14 20:41:42 -08:00
wilian-cb
4c318d1727
3945: Treatment for errors related to not having a file manager application in Android to handle import configurations.
2012-02-14 21:11:15 -02:00
cketti
dfd47702bc
Fixed rare NullPointerException
2012-02-14 00:27:28 +01:00
cketti
cf9631d481
Changed the way we decide what message parts to display
2012-02-13 23:11:59 +01:00
cketti
485a505ca0
More tweaks to the unread widget
2012-02-13 12:25:03 +01:00
cketti
64f4f7e4a3
Use the new AccountList activity when creating launcher shortcuts
2012-02-13 12:25:03 +01:00
cketti
7a252bf002
Changed method to update the unread widget
2012-02-13 12:16:20 +01:00
cketti
98461e5a21
Notify listeners if unread count changed due to a copy/move operation
2012-02-13 12:16:19 +01:00
cketti
d4bc664c41
Removed unused method
2012-02-13 12:16:19 +01:00
cketti
e87f4cd98a
Code cleanup. No functional changes.
2012-02-13 12:16:19 +01:00
cketti
29e1a68288
Added widget to display the unread count for an account
2012-02-13 12:16:18 +01:00
cketti
328701e87e
Fixed JavaDoc
2012-02-13 00:57:06 +01:00
cketti
53604be914
Fixed NullPointerException
2012-02-13 00:56:34 +01:00
wilian-cb
e766f75da2
Creating and initializing special accounts in Accounts activity to avoid NullPointerException when it's resumed. Constant added to represent the number of special accounts.
2012-02-12 11:57:34 -06:00
wilian-cb
02b07f34a1
Issue 3280: Add launcher shortcuts for special accounts/folders ("Unified Inbox" and "All messages")
2012-02-10 00:24:32 -06:00
cketti
7ef5f9d37e
Set flagged and unread count to 0 when emptying the trash folder
2012-02-04 21:06:35 +01:00
cketti
898f65e081
Changed the way we set flags to update the original Message object
2012-02-04 21:06:34 +01:00
Nick Nikolaou
46bf2c5be7
Add discard confirmation dialog when pressing back
2012-02-02 19:33:49 -06:00
cketti
35b5aebdb3
Add debug message when saving an attachment to SD card fails
2012-02-03 01:22:37 +01:00