Commit Graph

6953 Commits

Author SHA1 Message Date
Marc Blank
a182b1970d am 8d971dbc: Remove inappropriate references to INSTANCE in SyncManager
Merge commit '8d971dbc9c86873a21aa79dfb955313b1230c74a'

* commit '8d971dbc9c86873a21aa79dfb955313b1230c74a':
  Remove inappropriate references to INSTANCE in SyncManager
2009-08-17 11:12:42 -07:00
Marc Blank
8d971dbc9c Remove inappropriate references to INSTANCE in SyncManager 2009-08-17 11:09:25 -07:00
Marc Blank
611b0484c6 am 30c4927d: Merge change 21505 into eclair
Merge commit '30c4927d27ada20d5b6825ae494707ad596bf45b'

* commit '30c4927d27ada20d5b6825ae494707ad596bf45b':
  Remove unintentional catch of Exception in SyncManager
2009-08-17 10:59:26 -07:00
Mihai Preda
18267febe4 am a4bbb7d9: email.mail.Sender: fix order of (context, uri) arguments in reflection invocation of SmtpSender.newInstance().
Merge commit 'a4bbb7d923a6c9fc6eaa2c920cc4c25ffa03c3cd'

* commit 'a4bbb7d923a6c9fc6eaa2c920cc4c25ffa03c3cd':
  email.mail.Sender: fix order of (context, uri) arguments in reflection invocation of SmtpSender.newInstance().
2009-08-17 10:59:14 -07:00
Mihai Preda
5112673317 am 9627d014: MessageCompose: update body on save.
Merge commit '9627d014e16235eadf981b9165807dc72a14a383'

* commit '9627d014e16235eadf981b9165807dc72a14a383':
  MessageCompose: update body on save.
2009-08-17 10:59:09 -07:00
satok
132480242b am a39992fd: Merge change 21479 into eclair
Merge commit 'a39992fd7da83197ef5b7bff7d29d6916c2e8adc'

* commit 'a39992fd7da83197ef5b7bff7d29d6916c2e8adc':
  Use custom icons for special mailboxes
2009-08-17 10:58:58 -07:00
satok
d2354a7982 am e829daa2: Set unread count of summery indox and delete unread and draft summery inboxes
Merge commit 'e829daa29c3d0b3a432c72996c090e8cb712db9a'

* commit 'e829daa29c3d0b3a432c72996c090e8cb712db9a':
  Set unread count of summery indox and delete unread and draft summery inboxes
2009-08-17 10:58:57 -07:00
Android (Google) Code Review
30c4927d27 Merge change 21505 into eclair
* changes:
  Remove unintentional catch of Exception in SyncManager
2009-08-17 09:49:11 -07:00
Marc Blank
0b89d8f5af Remove unintentional catch of Exception in SyncManager 2009-08-17 09:35:12 -07:00
Mihai Preda
a4bbb7d923 email.mail.Sender: fix order of (context, uri) arguments in reflection invocation of SmtpSender.newInstance().
Account creation was not possible because of this.
2009-08-17 15:39:55 +02:00
Mihai Preda
9627d014e1 MessageCompose: update body on save.
- plus unit tests.
- and some attachment refactoring.
- move PROJECTION_ID up to EmailContent.
- add index on messageKey to Attachments and Body tables.
- add missing Columns.ID field in EmailContent.
2009-08-17 13:43:56 +02:00
Android (Google) Code Review
a39992fd7d Merge change 21479 into eclair
* changes:
  Use custom icons for special mailboxes
2009-08-17 03:58:23 -07:00
satok
55c390fe93 Use custom icons for special mailboxes
BUG: 2051100

TODO: Add trash icons
2009-08-17 19:56:25 +09:00
satok
e829daa29c Set unread count of summery indox and delete unread and draft summery inboxes
Bug: 2037400
* Delete unread summery inbox
2009-08-17 19:39:25 +09:00
satok
1e9fffc5f2 am 724ec1b7: (-s ours) Merge change 21469 into eclair
Merge commit '724ec1b7da16cfb384e55daa0ad5b6cae8289314'

* commit '724ec1b7da16cfb384e55daa0ad5b6cae8289314':
  do not merge: Merged CL 21093 from goog/master to goog/eclair
2009-08-16 23:14:18 -07:00
Android (Google) Code Review
724ec1b7da Merge change 21469 into eclair
* changes:
  do not merge: Merged CL 21093 from goog/master to goog/eclair
2009-08-16 23:10:07 -07:00
satok
73fa3562f2 do not merge: Merged CL 21093 from goog/master to goog/eclair 2009-08-17 15:08:38 +09:00
Marc Blank
d08d1a4a9a am c8c68fa7: Use more appropriate connectivity wait to SyncManager
Merge commit 'c8c68fa76431833e4c9680f2cc1b65187aecd671'

* commit 'c8c68fa76431833e4c9680f2cc1b65187aecd671':
  Use more appropriate connectivity wait to SyncManager
2009-08-16 18:49:20 -07:00
Marc Blank
c8c68fa764 Use more appropriate connectivity wait to SyncManager 2009-08-16 18:45:38 -07:00
Fred Quintana
27c942450d am d0254da4: (-s ours) do not merge: cherrypicked 7bb05334b3 from master branch
Merge commit 'd0254da4e033df3265d9cea9bcbd8b6817e1d625'

* commit 'd0254da4e033df3265d9cea9bcbd8b6817e1d625':
  do not merge: cherrypicked 7bb05334b3 from master branch
2009-08-16 17:21:48 -07:00
Fred Quintana
d0254da4e0 do not merge: cherrypicked 7bb05334b3 from master branch 2009-08-16 17:15:43 -07:00
Marc Blank
9126f14875 am 10e8ecef: Merge change 21281 into eclair
Merge commit '10e8ecef2f5536b5776ebccc6f9a5a11669aca11'

* commit '10e8ecef2f5536b5776ebccc6f9a5a11669aca11':
  Implement adaptive ping timeout; release wake lock waiting for connectivity
2009-08-16 16:46:16 -07:00
Android (Google) Code Review
10e8ecef2f Merge change 21281 into eclair
* changes:
  Implement adaptive ping timeout; release wake lock waiting for connectivity
2009-08-16 16:41:26 -07:00
Marc Blank
6b52af214c Implement adaptive ping timeout; release wake lock waiting for connectivity
* Remove unused/duplicated classes (e.g. Base64, WbxmlSerializer, etc.)
* Code cleanup in AbstractSyncService, EasSyncService
* Remove last references to HttpURLConnection (using HttpClient now)
2009-08-16 16:40:42 -07:00
Fred Quintana
7bb05334b3 cleanup the AccountManager API 2009-08-14 21:40:11 -07:00
Jim Miller
10f72a6362 am cfa8731e: Update icon assets for Email
Merge commit 'cfa8731e51f8b861f3a03d8a6e4fbf44e144b258'

* commit 'cfa8731e51f8b861f3a03d8a6e4fbf44e144b258':
  Update icon assets for Email
2009-08-14 19:31:25 -07:00
Jim Miller
cfa8731e51 Update icon assets for Email 2009-08-14 15:58:53 -07:00
Android (Google) Code Review
cb23b7c68f Merge change 21093
* changes:
  Refreshed UI of Mailbox list
2009-08-13 19:43:45 -07:00
satok
55ce1d9c86 Refreshed UI of Mailbox list
BUG: 2051100

* added Open context menu
* folders with unread messages is displayed with bold text
* sho the account color chip in all folder list items

TODO: use custom folder icons
2009-08-14 11:42:51 +09:00
Android (Google) Code Review
b35defc76c Merge change 21216 into eclair
* changes:
  Fix EAS debug switches and clean up debug prefs code.
2009-08-13 17:47:33 -07:00
Andrew Stadler
76a211e0d9 Fix EAS debug switches and clean up debug prefs code. 2009-08-13 17:43:25 -07:00
Marc Blank
1ba0fd37a1 Cleanup; delete unused files, change log statements
* Two files were unused and therefore deleted
* userLog was changed to avoid using string concatentation until the logging
  decision is made
2009-08-13 11:30:39 -07:00
Android (Google) Code Review
b3df387094 Merge change 20621
* changes:
  Delete rows that are unused when changes are synced down
2009-08-13 09:42:27 -07:00
Andrew Stadler
c640cbbaf3 Update SMTP to send from provider messages, and attachments
* Change Sender definition (remove old Message from API) and update
    any existing calls through that API
* Rewrite SMTPSender to use provider messages
* Add attachments to RFC822Output
* Minor bugfixes in RFC822Output
* Unit tests
2009-08-13 09:31:57 -07:00
Marc Blank
b37b1b4bfe Stream rfc822 messages to a temporary file, and send using an InputStreamEntity
* Removes the need to store the entire outgoing message in memory
2009-08-12 15:35:44 -07:00
Marc Blank
8db0babf72 Separate syncInterval constants for Account and Mailbox to remove confusion 2009-08-12 09:24:12 -07:00
Android (Google) Code Review
02dd41b319 Merge change 20819
* changes:
  Use new Rfc822Output class for sending mail; fix bug in Rfc822Output
2009-08-12 09:16:45 -07:00
Android (Google) Code Review
20583edef6 Merge change 20888
* changes:
  Fixes re: CL20440, per stadler's comments
2009-08-12 09:15:52 -07:00
Mihai Preda
fb7974f5bf Fix SQL for DELETE_ORPHAN_BODIES and DELETE_BODY.
and add unit tests.
2009-08-12 12:57:09 +02:00
Android (Google) Code Review
5c3f1f8cb7 Merge change 20718
* changes:
  Renew Unread Counts and accounts on Resume See bug 2041204
2009-08-12 01:05:45 -07:00
Android (Google) Code Review
96a0b9a9a3 Merge change 20698
* changes:
  Show folder icon left of mailbox list See bug 2028384
2009-08-12 00:12:36 -07:00
satok
2374fcb1a0 Renew Unread Counts and accounts on Resume See bug 2041204 2009-08-12 16:06:19 +09:00
satok
5669d4542d Show the title of MessageList See bug 2029282 2009-08-12 14:55:48 +09:00
Marc Blank
33bc0bd4a5 Fixes re: CL20440, per stadler's comments 2009-08-11 20:19:28 -07:00
Marc Blank
4f195e716c Use new Rfc822Output class for sending mail; fix bug in Rfc822Output
* Change EasOutboxService to use the new Rfc822Output class for sending
* Fix small bug in Rfc822Output (was writing both in Base64 and plain text)
* Fix bug in SyncManager related to auto-starting EAS outbox
2009-08-11 20:07:42 -07:00
Marc Blank
466054d066 Minor changes to ping variables &c 2009-08-11 15:19:50 -07:00
Android (Google) Code Review
22cd410605 Merge change 20784
* changes:
  Use 5 minute ping time when connected via mobile (prevent NAT timeout)
2009-08-11 15:12:27 -07:00
Andrew Stadler
3f1ac4da94 Add code to handle IMAP/POP attachments.
IMAP messages up to about 25k will be downloaded properly.

* Move Store->Provider message rewrite code to a separate utility.
* Add code to descend a Store message and write provider attachments.
* Unit test basic IMAP attachment handler

TODO:
* handle large IMAP messages.
* unit test for POP
* unit test for large IMAP messages
2009-08-11 15:08:14 -07:00
Android (Google) Code Review
a5abab243b Merge change 20793
* changes:
  An RFC822 streamer for sending provider messages.
2009-08-11 15:05:38 -07:00
Andrew Stadler
a9a0e57436 An RFC822 streamer for sending provider messages.
* Message headers with proper encoding
* Should handle all non-US encodings properly
* Sends body text only (no HTML planned)

This is implemented but not fully tested - I'm submitting now so Marc
can evaluate & test in EAS environment.

TODO: Unit tests
TODO: Attachments
2009-08-11 14:27:36 -07:00