Commit Graph

3505 Commits

Author SHA1 Message Date
Makoto Onuki
9ffb4fa0ec Add CHAR LIMIT to new strings
Bug 2930858

Change-Id: I662e5ab16f32dc85ce4c7e5e851a017ce61674c1
2010-09-28 10:30:29 -07:00
Marc Blank
3bf514a85f Merge "Add CHAR LIMIT to added string" 2010-09-28 08:54:19 -07:00
Andy Stadler
1457f3e82c am e8c54390: (-s ours) am ac916da4: Improve handling of content-disposition DO NOT MERGE
Merge commit 'e8c5439006ca5d33e3e69975bbb3f8b1491e584c'

* commit 'e8c5439006ca5d33e3e69975bbb3f8b1491e584c':
  Improve handling of content-disposition DO NOT MERGE
2010-09-27 21:03:35 -07:00
Andy Stadler
0bb755b4e2 am 7c952fd1: (-s ours) am 658df8f6: Merge "Allow spaces in passwords DO NOT MERGE" into gingerbread
Merge commit '7c952fd13851c6eae72cdb2f1726516a4de48b48'

* commit '7c952fd13851c6eae72cdb2f1726516a4de48b48':
  Allow spaces in passwords DO NOT MERGE
2010-09-27 21:02:30 -07:00
Marc Blank
f25236b61e Merge "Remove obsolete EAS logging" 2010-09-27 16:39:38 -07:00
Marc Blank
82c944ef3a Remove obsolete EAS logging
Change-Id: I549957c92aa05f98581441c1a7631f87040c5078
2010-09-27 16:38:28 -07:00
Andy Stadler
e8c5439006 am ac916da4: Improve handling of content-disposition DO NOT MERGE
Merge commit 'ac916da48e2a550815ac13445038528aa4011442' into gingerbread-plus-aosp

* commit 'ac916da48e2a550815ac13445038528aa4011442':
  Improve handling of content-disposition DO NOT MERGE
2010-09-27 15:54:50 -07:00
Andy Stadler
ac916da48e Improve handling of content-disposition DO NOT MERGE
* Check array returned by split("=")
* Add unit tests for this case
* Also add unit tests for quoting removal

Bug: 3040796
Backport from: I170f3cd483fe35186194edeb0c3142fb0e2e9b75

Change-Id: I32ccbdbc7264a95a9cd279218cae390e65e82eeb
2010-09-27 15:16:24 -07:00
Andrew Stadler
bbac024785 Merge "Improve handling of content-disposition" 2010-09-27 15:10:19 -07:00
Andrew Stadler
87fcd03a1b Improve handling of content-disposition
* Check array returned by split("=")
* Add unit tests for this case
* Also add unit tests for quoting removal

Bug: 3040796
Change-Id: I170f3cd483fe35186194edeb0c3142fb0e2e9b75
2010-09-27 15:09:35 -07:00
Eric Fischer
f708dbb19c am 521a4a42: (-s ours) am f617a25a: Merge "Trim unwanted whitespace from translations. DO NOT MERGE" into gingerbread
Merge commit '521a4a42e50e4d72e1c6a2ffddf5cf544092c564'

* commit '521a4a42e50e4d72e1c6a2ffddf5cf544092c564':
  Trim unwanted whitespace from translations.  DO NOT MERGE
2010-09-27 14:40:08 -07:00
Andy Stadler
7c952fd138 am 658df8f6: Merge "Allow spaces in passwords DO NOT MERGE" into gingerbread
Merge commit '658df8f69ffe0885dcf99136ec8bd77cacdec505' into gingerbread-plus-aosp

* commit '658df8f69ffe0885dcf99136ec8bd77cacdec505':
  Allow spaces in passwords DO NOT MERGE
2010-09-27 14:25:03 -07:00
Andy Stadler
658df8f69f Merge "Allow spaces in passwords DO NOT MERGE" into gingerbread 2010-09-27 14:22:22 -07:00
Andy Stadler
02a0edb60d Allow spaces in passwords DO NOT MERGE
* Separate/identical fixes for incoming, outgoing, exchange
* Unit tests
* Some protocols will fail anyway (e.g. POP3)

Bug: 2981433
Backport from: I82984e5912fc7fcb88e747815d0fe33cb36605e7

Change-Id: I49d5c13137e4f78b6fa0f9ce288c1a78ff028f88
2010-09-27 13:31:04 -07:00
Eric Fischer
521a4a42e5 am f617a25a: Merge "Trim unwanted whitespace from translations. DO NOT MERGE" into gingerbread
Merge commit 'f617a25a7b55194ded8f2980a98c1a6482ba0513' into gingerbread-plus-aosp

* commit 'f617a25a7b55194ded8f2980a98c1a6482ba0513':
  Trim unwanted whitespace from translations.  DO NOT MERGE
2010-09-27 12:33:46 -07:00
Eric Fischer
f617a25a7b Merge "Trim unwanted whitespace from translations. DO NOT MERGE" into gingerbread 2010-09-27 12:28:40 -07:00
Eric Fischer
b08f78ca1b Trim unwanted whitespace from translations. DO NOT MERGE
Change-Id: Ibf46e7f3dcbc111b28ab64e336b35fc41dbb9ace
2010-09-27 12:18:37 -07:00
Makoto Onuki
e96c09c55b Merge "Adding StopWatch class to measure elapsed time" 2010-09-27 11:53:54 -07:00
Makoto Onuki
7687f05f7b Adding StopWatch class to measure elapsed time
Change-Id: I0f38e89ffc030ba5105af50b147d783d71bd5f8f
2010-09-27 11:53:12 -07:00
Andrew Stadler
fb4333b3a5 Allow spaces in passwords
* Separate/identical fixes for incoming, outgoing, exchange
* Unit tests
* Some protocols will fail anyway (e.g. POP3)

TODO: Some sort of warning (master only - won't backport that)
Bug: 2981433

Change-Id: I82984e5912fc7fcb88e747815d0fe33cb36605e7
2010-09-27 10:04:03 -07:00
Jean-Baptiste Queru
a1758ebc25 am fc3aab36: am 0dd360c2: reconcile froyo-release into gingerbread
Merge commit 'fc3aab36626a704a45db450ad7e7d14f45f748eb'

* commit 'fc3aab36626a704a45db450ad7e7d14f45f748eb':
  Increase EmailServiceProxy timeout for validation attempts
  Block oversize attachments from being sent
2010-09-26 17:57:40 -07:00
Jean-Baptiste Queru
fc3aab3662 am 0dd360c2: reconcile froyo-release into gingerbread
Merge commit '0dd360c207f059ed660abdcee6218e8453b81289' into gingerbread-plus-aosp

* commit '0dd360c207f059ed660abdcee6218e8453b81289':
  Increase EmailServiceProxy timeout for validation attempts
  Block oversize attachments from being sent
2010-09-26 17:42:07 -07:00
Jean-Baptiste Queru
0dd360c207 reconcile froyo-release into gingerbread
Change-Id: I6ee13403f78f5644c6a6d294030a51746b5f5f2a
2010-09-26 17:30:26 -07:00
Makoto Onuki
d25d87c7ba Fix NPE with use of getFirstRowXxx
Make sure not to cast null into a primitive type.
(i.e. If null isn't expected as a return value, make sure to set a non-null
default value.)

Bug 3032143

Change-Id: I9a344d765c75a66f529ad8d99b00b2b919139f9c
2010-09-24 16:59:51 -07:00
Makoto Onuki
1f61263136 Merge "Refactor for new notification UI" 2010-09-24 16:59:25 -07:00
Marc Blank
224442906b Merge "Handle EAS type 1 folders (user-created)" 2010-09-24 16:54:57 -07:00
Makoto Onuki
08346b67b8 Refactor for new notification UI
- Move the notifiaction code into a bg thread.
  We need to access db to fetch the latest message
- Extracted ContactStatusLoader.load to synchronously load contact
  pictures.

Change-Id: I282ffb706ea8e14558bf29880a0fb952868b27e5
2010-09-24 16:22:47 -07:00
Eric Fischer
c045c3aa88 am 841b7ddf: (-s ours) am 7542efcf: Import revised translations. DO NOT MERGE
Merge commit '841b7ddf79a8ce997ad3da9d49e54f57352bad69'

* commit '841b7ddf79a8ce997ad3da9d49e54f57352bad69':
  Import revised translations.  DO NOT MERGE
2010-09-24 15:21:28 -07:00
Eric Fischer
9580294613 Merge "Import revised translations." 2010-09-24 13:19:57 -07:00
Makoto Onuki
0824439785 Workaround for ListView bug related to smoothScrollToPosition
Hopefully it'll soon be fixed in the framework, but it's blocking what
I want to do now.

Bug 3028455

Change-Id: I43ed059b7766a3bfc29166464bd449d905b207e4
2010-09-24 13:05:55 -07:00
Marc Blank
23f8d3be7d Handle EAS type 1 folders (user-created)
* If a type 1 folder has an mail folder as a parent (at any level),
  it is also a mail folder (and therefore, we should have it in our
  folder list)
* Before rejecting type 1 folders, look for parents and accept those
  that are mail folders
* Add unit test to verify logic

Bug: 2978410
Change-Id: I44cda1d1c1fd7f3976af53a1672736201cc995ff
2010-09-24 12:46:08 -07:00
Eric Fischer
f838cfcba5 Import revised translations.
Change-Id: I0cb6fbfda7fc88d671668e82d0250b625dc9311f
2010-09-24 12:26:33 -07:00
Eric Fischer
841b7ddf79 am 7542efcf: Import revised translations. DO NOT MERGE
Merge commit '7542efcfb8871f032573b24be603bc6f6b27eb62' into gingerbread-plus-aosp

* commit '7542efcfb8871f032573b24be603bc6f6b27eb62':
  Import revised translations.  DO NOT MERGE
2010-09-24 11:09:13 -07:00
Marc Blank
a8ad80ee43 Add CHAR LIMIT to added string
Bug: 3012997
Change-Id: I3426ab2c69b480717082d71bd2abc8d8da3b482c
2010-09-24 11:01:07 -07:00
Eric Fischer
7542efcfb8 Import revised translations. DO NOT MERGE
Change-Id: Ie085ada67c5f6ba290f2b1366550fd7f9ed3462c
2010-09-24 10:24:35 -07:00
Makoto Onuki
4209ea36b0 Make ThrottlingCursorLoader smarter
Now the class initially uses smaller timeout, and expand it when detecting
multiple changes in a short period.

This CL makes the UI look more responsive especially on the message list +
message view mode.  e.g. Starring on the message view will quickly be
reflected to the message list.

Bug 3024799
Bug 3027832

Change-Id: Ie2d44c3769d43e3fd0f54ee526556eb3bad5e288
2010-09-22 18:01:01 -07:00
Makoto Onuki
2dbb510657 Hide bottom buttons when message list enters selection mode
Hide the command buttons at the bottom of the message view when the message
list enters the selection mode.

Change-Id: Id825bb5183673e9def055b6480fa180beab51178
2010-09-22 18:00:21 -07:00
Makoto Onuki
c8fb75035f Implement latest selection mode behavior
On the message list,
- Longpress toggles selection.
- Tap opens message

Now it should be in line with gmail.

Change-Id: I1ce441a13fd9b41e3d7d10c2f2e4d43e580db708
2010-09-22 16:51:30 -07:00
Makoto Onuki
e069246d48 Make sure callback is still registered when calling wrappee
This caused callback methods getting run after onDestroy() problem.

Bug 2799534
Bug 3011802

Change-Id: Id505e328bbff096a9f7474c033443ff6663a5fdf
2010-09-22 15:39:02 -07:00
Makoto Onuki
58843f0dc3 Highlight selected message on message list
Also make sure the highlighted mailbox is always visible on the mailbox list.

MessageListFragment now just uses the default background color, which means
it no longer changes background color for unread messages or checked messages.
This should be re-implemented if necessary with the newer wireframe.

Change-Id: I9bfbe9f0711ea4ab56be27778b00298d3033123b
2010-09-22 14:44:23 -07:00
Marc Blank
793c6639ec am 9b5c615c: am deed4505: Merge "Increase EAS command timeout from 20 to 30 seconds" into gingerbread
Merge commit '9b5c615ceea0270878a5b89fc0a063eeb9ffdd3e'

* commit '9b5c615ceea0270878a5b89fc0a063eeb9ffdd3e':
  Increase EAS command timeout from 20 to 30 seconds
2010-09-22 14:41:29 -07:00
Andy Stadler
bb0b75f452 am a9a55512: (-s ours) am ed824a07: DO NOT MERGE Harden thumbnail creation
Merge commit 'a9a55512551609111e7269b6de70688407da4b2a'

* commit 'a9a55512551609111e7269b6de70688407da4b2a':
  DO NOT MERGE Harden thumbnail creation
2010-09-22 14:41:16 -07:00
Andrew Stadler
0813c7051f resolved conflicts for merge of 0d9ed341 to master
Change-Id: I198f760ef1734cf4a64c875236a2352859dc1a72
2010-09-22 14:37:44 -07:00
Makoto Onuki
b4dacf2acf Don't show only special mailboxes on mailbox list
When a new account has just been set up and the app is still loading
mailboxes, keep the mailbox list empty and let ListFragment show
the progress icon, rather than showing "Combined Inbox" "All Starred" etc
without acutal inboxes, which looks like it's broken.

Change-Id: Ia3de4377b701f0033c5dc92f8b6b14651d4d8e1e
2010-09-22 14:03:06 -07:00
Marc Blank
9b5c615cee am deed4505: Merge "Increase EAS command timeout from 20 to 30 seconds" into gingerbread
Merge commit 'deed4505e9ad11626a8163653def57318b2d7d39' into gingerbread-plus-aosp

* commit 'deed4505e9ad11626a8163653def57318b2d7d39':
  Increase EAS command timeout from 20 to 30 seconds
2010-09-22 13:42:22 -07:00
Marc Blank
deed4505e9 Merge "Increase EAS command timeout from 20 to 30 seconds" into gingerbread 2010-09-22 13:39:46 -07:00
Andy Stadler
a9a5551255 am ed824a07: DO NOT MERGE Harden thumbnail creation
Merge commit 'ed824a07ae8389f1d9fb2214ad91356109b35a05' into gingerbread-plus-aosp

* commit 'ed824a07ae8389f1d9fb2214ad91356109b35a05':
  DO NOT MERGE Harden thumbnail creation
2010-09-22 13:29:22 -07:00
Andy Stadler
ed824a07ae DO NOT MERGE Harden thumbnail creation
* Catch some errors earlier;  Log all errors.

Bug: 2905324
Backport from master: Icdf4ec881f404787a0621e606d7e611d5e50aab1

Change-Id: I817a770da2d158984476cfa2b10a5de6bc0b43f8
2010-09-22 13:24:46 -07:00
Andy Stadler
0d9ed341b2 am 16657c9c: Merge "Fix test failures" into gingerbread
Merge commit '16657c9c201089d480feff0e8938ffbde3ffddde' into gingerbread-plus-aosp

* commit '16657c9c201089d480feff0e8938ffbde3ffddde':
  Fix test failures
2010-09-22 13:23:35 -07:00
Andy Stadler
16657c9c20 Merge "Fix test failures" into gingerbread 2010-09-22 13:18:52 -07:00