Commit Graph

777 Commits

Author SHA1 Message Date
satok
9a17d03970 am 67be8472: Update UI of accounts folder list and smart folders
Merge commit '67be84728a05f969ae1306fc1fed21fb1a2a8526'

* commit '67be84728a05f969ae1306fc1fed21fb1a2a8526':
  Update UI of accounts folder list and smart folders
2009-08-25 11:49:35 -07:00
satok
67be84728a Update UI of accounts folder list and smart folders
BUG: 1904417

* Changed the order of menu options
* Made context menu for smart folders
* Added context menu for Accounts
2009-08-26 03:42:49 +09:00
Mihai Preda
98c0c25c4a am 9b27c7fd: MessageView: display inline images. - also display "show pictures" the same as in donut. - inline images don\'t show in attachemnts list.
Merge commit '9b27c7fd903109bb20812da0421ce44676aa0189'

* commit '9b27c7fd903109bb20812da0421ce44676aa0189':
  MessageView: display inline images.
2009-08-25 11:40:59 -07:00
Mihai Preda
9b27c7fd90 MessageView: display inline images.
- also display "show pictures" the same as in donut.
- inline images don't show in attachemnts list.
2009-08-25 20:32:26 +02:00
Marc Blank
e996b7f455 am 68c3c751: Use LED for notification (same parameters as Gmail and GTalk services)
Merge commit '68c3c7518e132bdbfd17a0b122fbe09c08e0acdc'

* commit '68c3c7518e132bdbfd17a0b122fbe09c08e0acdc':
  Use LED for notification (same parameters as Gmail and GTalk services)
2009-08-25 11:11:22 -07:00
Marc Blank
68c3c7518e Use LED for notification (same parameters as Gmail and GTalk services)
* Agreed to by Erick and Prasenjit

Change-Id: I1a0f3642c9b10f981b2feed55762407ed853763d
2009-08-25 11:06:17 -07:00
Andrew Stadler
4af324616e am df86adf8: Finish the code to demand-load partially loaded messages.
Merge commit 'df86adf87328a439347260331592509787020420'

* commit 'df86adf87328a439347260331592509787020420':
  Finish the code to demand-load partially loaded messages.
2009-08-25 10:18:00 -07:00
Andrew Stadler
df86adf873 Finish the code to demand-load partially loaded messages.
This happens in two primary cases:
1.  When a very large POP message was skipped during initial sync
2.  When any message was interrupted during initial sync, e.g. by
    a dropped connection.

Changes:
* Added loadMessageForView and callbacks to Controller (and touched all
    files with Controller listeners)
* Rewrote loadMessageForView in legacy MessagingController to work with
    provider.
* Update flow in MessageView to use loadMessageForView when needed.
* Restored the use of "loading.html" and "empty.html" assets (although
    I think we should replace them with simple layouts & views.)
* Some random cleanup in MessageView

Satisfies bug # 2065563
2009-08-25 10:13:35 -07:00
satok
3e2172b7e2 am 60a04912: Change all context menus
Merge commit '60a04912e0973183c40ac34fb121ab77e471ec39'

* commit '60a04912e0973183c40ac34fb121ab77e471ec39':
  Change all context menus
2009-08-25 07:12:34 -07:00
satok
60a04912e0 Change all context menus
BUG: 2051086

* Add titles to all context menus
* Fix bug that prevented display of context menus in MessageList

TODO: localize special folder names
2009-08-25 22:14:28 +09:00
satok
32f2e388ca am dadba994: Localize special folder names
Merge commit 'dadba9949895696108b31124fc0c6aa1a297ab1c'

* commit 'dadba9949895696108b31124fc0c6aa1a297ab1c':
  Localize special folder names
2009-08-25 01:14:36 -07:00
satok
dadba99498 Localize special folder names
* make utility for looking up icon id for mailbox
* make utility for looking up localized name for mailbox

BUG: 2065586
2009-08-25 16:20:32 +09:00
Marc Blank
c0c477aea7 am aa69a174: Add initial support for uploading new Contacts to Exchange server
Merge commit 'aa69a174774699d452233f8ffece021f9851011e'

* commit 'aa69a174774699d452233f8ffece021f9851011e':
  Add initial support for uploading new Contacts to Exchange server
2009-08-24 21:09:21 -07:00
Marc Blank
aa69a17477 Add initial support for uploading new Contacts to Exchange server
* Refactor the sync adapters to separate out parsing from commit
* Use ContactsProvider to save the SyncKey for contacts
* Fixes #2072664 and #2072456

Change-Id: I1e85c498496e83d9523489636a75f366f7fbd106
2009-08-24 18:45:14 -07:00
Marc Blank
c0010e2f97 am e2e466e3: Null out reference in onDestroy method
Merge commit 'e2e466e315f645d19b592d62dcf573c706175e17'

* commit 'e2e466e315f645d19b592d62dcf573c706175e17':
  Null out reference in onDestroy method
2009-08-24 18:06:50 -07:00
Marc Blank
17f4159fd1 am 137be44d: Merge change 22502 into eclair
Merge commit '137be44d5c2fde2915a2261e2b1670f8c1b86558'

* commit '137be44d5c2fde2915a2261e2b1670f8c1b86558':
  Fix #2074992
2009-08-24 18:06:49 -07:00
Marc Blank
e2e466e315 Null out reference in onDestroy method
Change-Id: Idc3b7c52ae60121756e071ed2468ee1b9496c1c1
2009-08-24 18:01:49 -07:00
Android (Google) Code Review
137be44d5c Merge change 22502 into eclair
* changes:
  Fix #2074992
2009-08-24 17:53:24 -07:00
Andrew Stadler
8df00ac6b9 am c9c5bd56: (-s ours) am 421a4f55: (-s ours) DO NOT MERGE: Rewrite Base64InputStream from Eclair
Merge commit 'c9c5bd5665648950aeb9c05711a733f7cbd1f730'

* commit 'c9c5bd5665648950aeb9c05711a733f7cbd1f730':
  DO NOT MERGE: Rewrite Base64InputStream from Eclair
2009-08-24 17:52:27 -07:00
Andrew Stadler
c9c5bd5665 am 421a4f55: (-s ours) DO NOT MERGE: Rewrite Base64InputStream from Eclair
Merge commit '421a4f5595163b16064049e20e823f45e0fd7ee9' into eclair

* commit '421a4f5595163b16064049e20e823f45e0fd7ee9':
  DO NOT MERGE: Rewrite Base64InputStream from Eclair
2009-08-24 17:48:45 -07:00
Dianne Hackborn
47ac444ff6 am 4bc4fed4: Use new service command processing to avoid leaving the service running.
Merge commit '4bc4fed47bec36b48203ae7dd6cd7e4727cfea70'

* commit '4bc4fed47bec36b48203ae7dd6cd7e4727cfea70':
  Use new service command processing to avoid leaving the service running.
2009-08-24 17:06:01 -07:00
Andrew Stadler
421a4f5595 DO NOT MERGE: Rewrite Base64InputStream from Eclair
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-24 16:30:44 -07:00
Dianne Hackborn
4bc4fed47b Use new service command processing to avoid leaving the service running.
The service still needs to schedule an alarm in its onStartCommand() so that
it will run in its next poll interval.

Change-Id: I66228ef573e84a5c7d33bcb07f4772626079b960
2009-08-24 16:29:02 -07:00
Marc Blank
863c6bb04f Fix #2074992
Change-Id: If60aafe60c6327ec62f2a45aae5d750da65a19a8
2009-08-24 15:57:33 -07:00
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