Commit Graph

6953 Commits

Author SHA1 Message Date
Andrew Stadler
71c416138a am e1f0b0a9: MessageView: next/prev navigation.
Merge commit 'e1f0b0a9bcc78ade7f3b2ac540705701f19cd6cd'

* commit 'e1f0b0a9bcc78ade7f3b2ac540705701f19cd6cd':
  MessageView: next/prev navigation.
2009-08-24 15:29:09 -07:00
Andrew Stadler
e1f0b0a9bc MessageView: next/prev navigation.
in addition:
- fix AND-OR precedence in cursor query in MessageList.
- move special mailbox ids from MessageList to Mailbox
- move shared code from MessageList to com.android.email.Utility
- add invisible prev/next to landscape in order to avoid special-case in code
- select mailbox list using IN() instead of list of OR

Note:  Checked in by Andy to facilitate further work on MessageView.

Change-Id:	I8049be2b45fed1e4e697a0ed895492c4d0e59e0a
2009-08-24 15:00:45 -07:00
Andrew Stadler
09bbe0cfd8 am dad47808: Merge change 22425 into eclair
Merge commit 'dad47808e9cfd41566e3baccd323d34b5ae5b7c9'

* commit 'dad47808e9cfd41566e3baccd323d34b5ae5b7c9':
  Reenable Load More Messages for IMAP/POP
2009-08-24 10:10:35 -07:00
Android (Google) Code Review
dad47808e9 Merge change 22425 into eclair
* changes:
  Reenable Load More Messages for IMAP/POP
2009-08-24 10:07:07 -07:00
Andrew Stadler
77398c4289 Reenable Load More Messages for IMAP/POP
* Properly reset all mailbox limit values
* When load more messages is clicked, increment limit and resync
* Also fixed a race condition in provider

Resolves bug 2065626

Change-Id:	If50f25a5cb3b549b3acc48406c78533ad86ed4d5
2009-08-23 23:45:54 -07:00
Marc Blank
69435612f1 am 0cbdba8d: Fix a few sync-related bugs:
Merge commit '0cbdba8d62c297c3aad7c833f5f5716eabc2c501'

* commit '0cbdba8d62c297c3aad7c833f5f5716eabc2c501':
  Fix a few sync-related bugs:
2009-08-23 23:37:43 -07:00
Marc Blank
8157c91591 am bfe94e6e: Fix NPE when trying to upload a Contact created on device
Merge commit 'bfe94e6eaa3e1b9bc95ffb3b2169656bb138c5a3'

* commit 'bfe94e6eaa3e1b9bc95ffb3b2169656bb138c5a3':
  Fix NPE when trying to upload a Contact created on device
2009-08-23 23:37:34 -07:00
Marc Blank
0cbdba8d62 Fix a few sync-related bugs:
* Don't leak the receiver registered by AccountManager for updates
* Only restart dead threads if they aren't logged in the syncErrorMap
  (to prevent looping behavior as seen in bug #2072456

Change-Id: Id1b4c53ef8b721bf8bfa8426627fd76831864c70
2009-08-23 10:53:53 -07:00
Marc Blank
bfe94e6eaa Fix NPE when trying to upload a Contact created on device
* Note: This functionality isn't yet implemented

Change-Id: Ie5840a6830e31acc72523b9e8d6d760bf26d523f
2009-08-23 01:24:49 -07:00
Marc Blank
ca06839da6 am 5aac4a74: Fix bug #2071895 (NPE); remove unused method.
Merge commit '5aac4a74961b4424e6cf3d263aee51c76d5e9e55'

* commit '5aac4a74961b4424e6cf3d263aee51c76d5e9e55':
  Fix bug #2071895 (NPE); remove unused method.
2009-08-22 12:19:13 -07:00
Marc Blank
5aac4a7496 Fix bug #2071895 (NPE); remove unused method. 2009-08-22 12:14:27 -07:00
Marc Blank
4ecdb4e090 am a27291fa: Fix bug re: parsing EAS 12 flags that caused missed messages, etc.
Merge commit 'a27291faac56abacd0451427aedc3b9e789c7bd0'

* commit 'a27291faac56abacd0451427aedc3b9e789c7bd0':
  Fix bug re: parsing EAS 12 flags that caused missed messages, etc.
2009-08-22 11:47:50 -07:00
Marc Blank
a27291faac Fix bug re: parsing EAS 12 flags that caused missed messages, etc.
* This is bug #2071068
2009-08-22 11:42:51 -07:00
Andrew Stadler
6c4e2958c1 am cab55743: Rewrite Base64InputStream to be much more efficient
Merge commit 'cab55743ac6a5a0183370b5f4c48eb9a860446c8'

* commit 'cab55743ac6a5a0183370b5f4c48eb9a860446c8':
  Rewrite Base64InputStream to be much more efficient
2009-08-22 07:48:02 -07:00
Andrew Stadler
f76e0d79f3 am a9a5dd60: Two minor crash fixes
Merge commit 'a9a5dd60d6c9f350cf370409d10d5a9e692c8273'

* commit 'a9a5dd60d6c9f350cf370409d10d5a9e692c8273':
  Two minor crash fixes
2009-08-22 07:47:58 -07:00
Andrew Stadler
8e49b2d45f am f330d122: Fix account setup layouts
Merge commit 'f330d1221acb6e1470f6fdb7839b7ab64a9191d1'

* commit 'f330d1221acb6e1470f6fdb7839b7ab64a9191d1':
  Fix account setup layouts
2009-08-22 07:47:55 -07:00
Andrew Stadler
cab55743ac Rewrite Base64InputStream to be much more efficient
This was broken in many, many ways but the primary offender was an
object allocation for every 4 bytes of an input stream (imagine what this
did for 900k attachment files).

The new version is completely self-contained, and is optimized for the
most common case of inner loop case of processing 4-bytes-at-a-time.
2009-08-21 18:33:10 -07:00
Andrew Stadler
a9a5dd60d6 Two minor crash fixes
* Don't call deprecated presence Uri
* Don't return null from SyncManager.getAccountList()
2009-08-21 17:05:18 -07:00
Andrew Stadler
f330d1221a Fix account setup layouts
These were not working on some screens due to portrait/landscape
layout issues.  The worst cases were the "basics" screen and "exchange",
but I cleaned up all of the screens that had similar issues.

Resolves bug 2070902 which made it difficult to create accounts on
some devices.
2009-08-21 16:24:16 -07:00
satok
ea4ceca5e2 am 8a34ba9f: Scrub out "px"
Merge commit '8a34ba9f83c578bee9bb98bdb0ad07263a1b6cc9'

* commit '8a34ba9f83c578bee9bb98bdb0ad07263a1b6cc9':
  Scrub out "px"
2009-08-21 12:55:21 -07:00
satok
8a34ba9f83 Scrub out "px"
BUG: 2064511
2009-08-21 19:16:34 +09:00
satok
2c43fe7df9 am 0b8e0362: Resolve my build breakage.
Merge commit '0b8e03621981ff930aa0b322c637fd1a399d2422'

* commit '0b8e03621981ff930aa0b322c637fd1a399d2422':
  Resolve my build breakage.
2009-08-21 00:32:24 -07:00
satok
fc104adb51 am 95993a4b: Update Title bar to use custom titles
Merge commit '95993a4b8466c2a47f4eba7a65b4ba194986cff5'

* commit '95993a4b8466c2a47f4eba7a65b4ba194986cff5':
  Update Title bar to use custom titles
2009-08-21 00:32:22 -07:00
satok
0b8e036219 Resolve my build breakage.
SHA1 95993a4b84
2009-08-21 16:21:44 +09:00
satok
95993a4b84 Update Title bar to use custom titles
BUG: 2050630

* remove fat title bar
* show new titles by using custom title bar
2009-08-21 15:47:01 +09:00
Jeff Hamilton
aca67a5a86 am d382107b: Don\'t try to load the owner info for now, it\'s not available.
Merge commit 'd382107bdc95d4472050d0879dff7e30193ef1c2'

* commit 'd382107bdc95d4472050d0879dff7e30193ef1c2':
  Don't try to load the owner info for now, it's not available.
2009-08-20 20:59:01 -07:00
Jeff Hamilton
d382107bdc Don't try to load the owner info for now, it's not available. 2009-08-20 22:51:26 -05:00
Bob Lee
52661d12aa am ed651a64: am dbbd29c8: Updated Email to use shared trust manager instead of initializing its own copy.
Merge commit 'ed651a645cfaeff6b6472677c6fc7621c6faf732'

* commit 'ed651a645cfaeff6b6472677c6fc7621c6faf732':
  Updated Email to use shared trust manager instead of initializing its own copy.
2009-08-20 19:37:56 -07:00
Bob Lee
ed651a645c am dbbd29c8: Updated Email to use shared trust manager instead of initializing its own copy.
Merge commit 'dbbd29c822235d0c4c2ba9bad808ff5d4b86d399' into eclair

* commit 'dbbd29c822235d0c4c2ba9bad808ff5d4b86d399':
  Updated Email to use shared trust manager instead of initializing its own copy.
2009-08-20 19:33:21 -07:00
Bob Lee
dbbd29c822 Updated Email to use shared trust manager instead of initializing its own copy. 2009-08-20 18:49:54 -07:00
Marc Blank
583f9642e8 am 6fa76a70: Merge change 22125 into eclair
Merge commit '6fa76a70a8d01b5acd74ce3feb6940f462bac05e'

* commit '6fa76a70a8d01b5acd74ce3feb6940f462bac05e':
  Integrate further with the system SyncManager/AccountManager system
2009-08-20 16:30:28 -07:00
Android (Google) Code Review
6fa76a70a8 Merge change 22125 into eclair
* changes:
  Integrate further with the system SyncManager/AccountManager system
2009-08-20 16:27:14 -07:00
Marc Blank
03ecce7da8 Integrate further with the system SyncManager/AccountManager system
* Look for, and act on, changes to sync settings via SyncManager/AccountManager
* Look for, and act on, deletions from within AccountManager (tested)
2009-08-20 16:17:41 -07:00
Andrew Stadler
f479d0944b am bcff14ac: Create setup flow for use by Accounts manager.
Merge commit 'bcff14acf25d3a999b7448e317604e694c204f47'

* commit 'bcff14acf25d3a999b7448e317604e694c204f47':
  Create setup flow for use by Accounts manager.
2009-08-20 16:14:42 -07:00
Andrew Stadler
bcff14acf2 Create setup flow for use by Accounts manager.
* Create a new entry point for the exchange setup flow and switch
    EASAuthenticatorService to call it
* Pass "eas flow mode" down through the setup screens
* Slightly modify their behavior as we go (e.g. we skip the
    (account type" screen since we know it's EAS.)
* Add a checkbox to "sync contacts from this account" and pass that
    value into ExchangeStore when we set up the account.
* Change the flow exit to pop back to the account manager instead of
    taking the user to the new inbox.

This CL satisfies cases 1 & 2 of bug # 1974752.
2009-08-20 15:51:36 -07:00
Marc Blank
fc4e9ed3ba am a8aedb2f: Add "contacts" option to EasAuthenticator, which determines whether Contacts should be synced
Merge commit 'a8aedb2f374ef88a433857d78e71c651425bcce0'

* commit 'a8aedb2f374ef88a433857d78e71c651425bcce0':
  Add "contacts" option to EasAuthenticator, which determines whether Contacts should be synced
2009-08-20 13:57:13 -07:00
Marc Blank
a8aedb2f37 Add "contacts" option to EasAuthenticator, which determines whether Contacts should be synced
* The state of Contacts syncing can be changed from various places in the UI
* In a future CL, SyncManager will respect this setting
2009-08-20 13:39:46 -07:00
Marc Blank
fb4c972479 am 41f367ed: Re-enable Contacts sync (had been turned off)
Merge commit '41f367eddf2f1de32443e8c7eb55c0f50e2e09de'

* commit '41f367eddf2f1de32443e8c7eb55c0f50e2e09de':
  Re-enable Contacts sync (had been turned off)
2009-08-20 13:25:00 -07:00
Marc Blank
41f367eddf Re-enable Contacts sync (had been turned off) 2009-08-20 13:21:48 -07:00
Marc Blank
b3fcaab7a4 am 9d174399: Merge change 22098 into eclair
Merge commit '9d174399ef1e6192a45b2892f7d53156088501b2'

* commit '9d174399ef1e6192a45b2892f7d53156088501b2':
  Fix bugs re: sending via EAS
2009-08-20 13:21:42 -07:00
Android (Google) Code Review
9d174399ef Merge change 22098 into eclair
* changes:
  Fix bugs re: sending via EAS
2009-08-20 13:19:15 -07:00
Marc Blank
9178dcc9e9 Fix bugs re: sending via EAS
* Make sure each call to sendMessage returns a proper result code
* Exit outbox sync on irrecoverable errors
2009-08-20 12:05:57 -07:00
Andrew Stadler
479b63417a am 4b41bae2: Enable IMAP/POP sending and EAS resend
Merge commit '4b41bae270ea4c49ec8403084db43ee9b37cdda4'

* commit '4b41bae270ea4c49ec8403084db43ee9b37cdda4':
  Enable IMAP/POP sending and EAS resend
2009-08-20 11:16:54 -07:00
Andrew Stadler
4b41bae270 Enable IMAP/POP sending and EAS resend
* Finish IMAP/POP sections of Controller.sendMessage
* Rewrite MessagingController.sendPendingMessagesSynchronous
* Add deleteAllAttachmentFiles to AttachmentProvider, and unit test
* Rework sendMessage callbacks and integrate into MessageList UI
* Send pending from UI

TODO:
* Find other places from which to call deleteAllAttachmentFiles
2009-08-20 11:09:39 -07:00
Marc Blank
3019b22c1b am c0c9c333: Add URI\'s that atomically add a value to a particular field (Account or Mailbox)
Merge commit 'c0c9c33322deecace00a32766e0a1b355aad4b31'

* commit 'c0c9c33322deecace00a32766e0a1b355aad4b31':
  Add URI's that atomically add a value to a particular field (Account or Mailbox)
2009-08-20 10:32:18 -07:00
Marc Blank
c0c9c33322 Add URI's that atomically add a value to a particular field (Account or Mailbox)
* Message, etc. could be added, if this had a use case
* Unit test added for both Account and Mailbox cases
* Eclipse changed some parens around; it won't happen again
2009-08-20 10:27:10 -07:00
Marc Blank
a9cd5bb031 am d366346a: Implement sendMessageStatus callback in EAS
Merge commit 'd366346a640c93d70b78ddadfbc3a3b74944359b'

* commit 'd366346a640c93d70b78ddadfbc3a3b74944359b':
  Implement sendMessageStatus callback in EAS
2009-08-20 09:14:53 -07:00
Marc Blank
d366346a64 Implement sendMessageStatus callback in EAS
* Change API for callback to include message subject (when msg is isn't valid)
* Update users of callback to add the new argument
* Use API in EasOutboxService to send status messages back to the UI

Still TODO:  Add relevant error codes for sending problems that are not related
to connection or login issues
2009-08-20 09:08:12 -07:00
Marc Blank
868806a86b am 4399ead9: Merge change 22048 into eclair
Merge commit '4399ead9f4b240ae67ffd356e0c1c3fea9da4149'

* commit '4399ead9f4b240ae67ffd356e0c1c3fea9da4149':
  Add checks to avoid NPE's while stopping services
2009-08-20 09:07:34 -07:00
Android (Google) Code Review
4399ead9f4 Merge change 22048 into eclair
* changes:
  Add checks to avoid NPE's while stopping services
2009-08-20 09:05:31 -07:00