9a80ffce14f5fac6c3234ee7aab768189fddc7ba |
06-May-2014 |
Tony Mantler <nicoya@google.com> |
Handle attachment filenames with % characters b/14571903 Change-Id: I3296bebfb4c6902750c68c9d3fb79ce644dbb137
tilityTest.java
|
2fc13087e700ee044684adb99e7114c9f477c67f |
03-May-2014 |
Jay Shrauner <shrauner@google.com> |
Parse abbreviated date fields Add support for abbreviated dates with no timestamp (eg, "2009-01-02") to parseEmailDateTimeToMillis. Bug:14496986 Change-Id: Ifc77cb75fd9e23536b48c8f6ecefc0e2e8f1cc2c
tilityTest.java
|
988d2b6e85ad7bd62bbadd0021f15cd2a70c82d0 |
28-Apr-2014 |
Jay Shrauner <shrauner@google.com> |
Fix Exchange crash when parsing abbreviated dates Detect fully qualified and abbreviated date/time stamps in parseDateTime. Previously parsed fully qualified forms like 20090211T180303Z; now also parses 20090211. Bug:14279251 Change-Id: I9a99ae16a5c1fe87b977fbebdba307baa653d539
tilityMediumTests.java
tilityTest.java
tilityUnitTests.java
|
845db9711917ad8936926fc7a1a179fade8e00d5 |
15-Apr-2014 |
Tony Mantler <nicoya@google.com> |
Fix some missed class renames Change-Id: I82c9e21049096525cc55fa57e5cc307844014832
tilityMediumTests.java
|
3555dc03bf2243dc275c9c832702abbee3b64387 |
20-Feb-2014 |
Jerry Xie <jjx@google.com> |
Add @SmallTest annotation to test classes so they get run in continuous Change-Id: Ieb0e3af146a6668c813ff16a718221eae61e8e01
ttachmentUtilitiesTests.java
mailAsyncTaskTests.java
extUtilitiesTests.java
|
feeb1e3adac000f36e1e7a5d754ad6b4e3ab34c1 |
19-Feb-2014 |
Tony Mantler <nicoya@google.com> |
Mark otherwise unused method as @VisibleForTesting Also fix spelling cancellAllInterrupt -> cancelAllInterrupt b/13082964 Change-Id: I2fef949bb351a536fdd0d7058b3df2b03eecb39e
mailAsyncTaskTests.java
|
7037a0bd3d8e925a9115f475f5c0d05ddae2eeee |
17-Dec-2013 |
Jerry Xie <jjx@google.com> |
Disable, suppress, remove broken and obsolete Email tests Change-Id: Ia4dcba1c6966f23dd2a15e69324b7345aed8f944
elayedOperationsTests.java
extUtilitiesTests.java
tilityMediumTests.java
tilityUnitTests.java
|
17d3a29c9d8f7a27c463239f190bdcc4e0804527 |
27-Nov-2013 |
Jerry Xie <jjx@google.com> |
Get Email units to compile Change-Id: I171a0e2421c5006d9862ad94f886932146547020
ttachmentUtilitiesTests.java
SLUtilsTest.java
tilityMediumTests.java
tilityUnitTests.java
|
2ed113c7137e6f1059a22fa018332d56ec740a0a |
01-Nov-2013 |
Tony Mantler <nicoya@google.com> |
Foreign characters may be letters and digits, but they're not allowed in Uri/Url schemes b/11356390 Change-Id: Ic510607ab5f671e3f3f474ea3c2f4af7e9966cb1
SLUtilsTest.java
|
7fdde9bb4a24e931618a7a64227e2194c89034da |
07-Feb-2013 |
Scott Kennedy <skennedy@google.com> |
Cache column name/indexes so we can use getColumnIndex() MatrixCursor doesn't do this, so we need to add our own cache. Depends on Ia5ffd31f54a2a335f495df5e0d1a0886ee08c14b Change-Id: Ica78e3cec747bf86fcef16508156e359216c64fe
tilityUnitTests.java
|
e714bb9d153cfe13a7f0932e7d67ea08fa5a1d98 |
23-Aug-2012 |
Marc Blank <mblank@google.com> |
Convert authorities, intents, and account manager types * Tested ok on wiped Nexus * Tested ok on S3 * Upgrade verified on Nexus Change-Id: If5d4ce594f8a309cdb59589d10b1d33f3b79326c
tilityMediumTests.java
|
03cd72805dab0379ed255d151f1c17cc60655fc3 |
25-Apr-2012 |
Marc Blank <mblank@google.com> |
Revert to old Email app * These are the last sources in the ICS-MR1 tree Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
tilityUnitTests.java
|
bf5caf97c547c8fa4bbdc2b500e8d43ee6322fcf |
24-Feb-2012 |
Marc Blank <mblank@google.com> |
Notify by mailbox, rather than account * Update EmailProvider, removing two no-longer-used columns in Account and Mailbox Change-Id: Ie0f10eb0ca315d73e82be968f7760a51a239ba3f
tilityUnitTests.java
|
0ff0e155c51250bedc35b5b585003c8cb87f2244 |
21-Oct-2011 |
Marc Blank <mblank@google.com> |
Fix findExistingAccount to treat underscore properly Bug: 2318959 Change-Id: Ia39ed29084dc8111c61ff552fa65519789b7c23a
tilityMediumTests.java
|
8de5bda81594182757c1aa94a65cfb8c7b360b34 |
30-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Close cursor properly. Also, don't issue separate query()s for each recent mailbox. Bug 4977956 Change-Id: I3ccd437a7efd5c3599c4a1952ba091a7b3b815bf
tilityUnitTests.java
|
50d934360d51392ac2aa6f11de4d6e1446cf78c9 |
29-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Fix the "onPostExecute executed even when cancelled" issue Renamed onPostExecute to onSuccess and made sure it won't called if a task is cancelled in time. Also removed isCancelled(). To implement it right we should make sure that onPostExecute() isn't finished when setting mCancelled, but it's a bit of a pain to implement right, and we don't really have to use it. Change-Id: I3a0baf504506ffc4952a5553f7098a8415842fa3
mailAsyncTaskTests.java
|
6b968c1dce3ba78680d968e04fc6f59bbbb22073 |
28-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Introducing DelayedOperations This helps post runnable to the handler and cancel pending runnables at once. It'll be used for delay-call methods that initiate a fragment transaction, and cancel then in onSaveInstanceState(). Change-Id: Ib8bdb0e676e756854ab067a27e5e0f397219a4b4
elayedOperationsTests.java
|
80d3875d306c60da83e547c573427627911f8a99 |
23-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Action bar: Use laoder to get current mailbox info Before this CL, we had this crazy plumbing from MailboxListFragment to ActionBarController to update the current mailbox name/message count. This wouldn't work on 1-pane, so now ABC just gets the current mailbox id from UIC and loads the name/count with its own loader. Also... - Fixed bug 4904450 and bug 4460470: Now we consistently use FolderProperties to get proler display names and message counts. - Renamed some confusing names in AccountSelectorAdapter Change-Id: Ic7bea6da6d2859006fb8f9263024c7d5e62b1e7f
tilityUnitTests.java
|
ce4cce05b2ee5ea2d9629c189a79f7f30778f534 |
21-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Fix failing tests Fixed activity tests and and activity.setup tests. Bug 4762098 Bug 4766087 Bug 4590590 Change-Id: Ifbd49f38c59854c65b6c48a1b03ca8153bfa558b
tilityUnitTests.java
|
f5418f1f93b02e7fab9f15eb201800b65510998e |
14-Jun-2011 |
Marc Blank <mblank@google.com> |
Move Account into its own top-level class Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
tilityMediumTests.java
tilityUnitTests.java
|
724c3a81cd3649b48ab47c6e49cb42f73f20c815 |
08-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Introduce scheme name escaping in SSLUtils. Change-Id: I73f19e7d40d0b19dfd41cfaf7db0879ef2e3a3ea
SLUtilsTest.java
|
4c4e4c3515c3e3300e03f90e02a0c520dc2dff32 |
13-May-2011 |
Makoto Onuki <omakoto@google.com> |
Clean up the method to build message list selection. - Moved the method to EmailCommon. - Use *_SELECTION for magic mailboxes (meaning we now use subqueries for magic mailbox selections, rather than building the mailbox ID list by ourselves) Change-Id: I3ebf6af62fd912fea6faea0f75e05fc61c87af3b
tilityMediumTests.java
|
53ea83ebf91f820692e8fa8e781f5cc982dd94db |
14-May-2011 |
Ben Komalo <benkomalo@google.com> |
Move Mailbox to top level class. No other changes made. Change-Id: I3d8f3c521dc0d902be313b25252b4b6a4a96e7ee
tilityMediumTests.java
tilityUnitTests.java
|
a17ee57c7ff7eb3391cc32f700aaa4fed8aa971f |
09-May-2011 |
Todd Kennedy <toddke@google.com> |
Add unit test for Utility#updateLastSeenMessageKey Change-Id: I1335ac53c5de418fd0ed6c2b38be60165db1cb8c
tilityUnitTests.java
|
4e033e0ac79d85bc8df8e52bdfc8b1fc9ad29f3e |
26-Apr-2011 |
Makoto Onuki <omakoto@google.com> |
Fix "move to" dialog. - Now we always use a fragment as a callback, rather than assuming the parent activity implements it. - Use a generics trick to make sure the callback fragments really implements Callback. (Might be abuse of a language feature, but it's at least safer than runtime check...) Bug 4314669 Bug 4345496 Change-Id: If4048d456b298784097e202cffab170177ac7b2d
tilityUnitTests.java
|
8a05da7c8c5d5c499c1307cdfe8dee821960ef81 |
15-Apr-2011 |
Ben Komalo <benkomalo@google.com> |
Remove uneeded layer of parcelling. ListStateSaver did nothing more than hold a Parcelable, and was a Parcelable itself. The abstraction may have been useful at some point, but that time seems to have passed. Change-Id: I2f1f45828782ab44aa8935aa50b825e07845a2a5
tilityUnitTests.java
|
2b82c3f0a37ff1e09a21481fabfe4960006b8d83 |
12-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Add columns to cursor to allow for proper layout The layout requires different indentation. Although the exact layout may change, we will likely always need to differentiate between the different mailbox types. Change-Id: Ia2ff84b552873f92fa45563b2dc0868c29bec3e3
tilityUnitTests.java
|
566c4f9117c955b8e9009d2dc6d7a42b02cda184 |
31-Mar-2011 |
Marc Blank <mblank@google.com> |
Merge "Highlight utility for HTML and text"
|
76f614720db6a282c3e890969a600585122cdcc5 |
27-Mar-2011 |
Marc Blank <mblank@google.com> |
Highlight utility for HTML and text * Add utilities for adding highlighting markup to HTML and highlighting spans to plain text (for Webview and UI, respectively) * Rename Snippet.java to TextUtilities.java and move to utility package Change-Id: Ic443ab5ce9c0199fa82a68e1592bf259494cadd2
extUtilitiesTests.java
|
2fbb3db5d86210d03175ce77ff08c989a96c5864 |
28-Mar-2011 |
Makoto Onuki <omakoto@google.com> |
Don't use findViewById (part 1 -- account setup) Added two new functions: - UiUtilities.getView() is a fail-fast version of findViewById(). Crashes when there's no view - setVisibilitySafe() same as View.setVisibility, but doesn't crash even if a view doesn't exist Let's try to avoid the use of findViewById(), and instead use getView(), *right after* the layout is inflated, so that we'll always fail-fast if a layout doesn't have a required view. (Rather than getting a NPE only when the view is really accessed, which can be in a code path which is rarely executed--e.g. only when there's a protocol error.) Let's only use findViewById() only when we're sure no all the variants of a layout have the view in question and leave a comment to make it clear it's on purpose. (UiUtilities has been moved from com.android.email to com.android.email.activity) Change-Id: I36e0bab65a989f5d34cf636f13e1eaee084547af
tilityUnitTests.java
|
284d8d7db5743d24b9aa246afe3d24139bdb0813 |
23-Mar-2011 |
Todd Kennedy <toddke@google.com> |
Add support for UIDPLUS capability When copying messages between mailboxes using standard IMAP, we must perform a QUERY or FETCH in order to determine the new message UID. However, if the server supports the UIDPLUS capability, the server will return the new UID as part of the response to the "UID COPY" command. This is the first of a couple modifications. We still need to fallback to a less efficient QUERY/FETCH if the server does not support UIDPLUS. bug 4092301 Change-Id: I9279f7fd70daf85adba3b3e202c12d67ddf91f22
tilityUnitTests.java
|
d72f7bdf114a21db6aac66a7e83d6b002c8e8ed5 |
21-Mar-2011 |
Makoto Onuki <omakoto@google.com> |
Improve EmailAsyncTask Added 6 methods: - execute{Parallel,Serial} - cancelPreviousAndExecute{Parallel,Serial} - runAsyncParallel{Parallel,Serial} (replacement for Utility.runAsync) Bug 4083415 Change-Id: I5ca33000e52fc5265ccc84a6e5acb0d3359d0eb4
mailAsyncTaskTests.java
|
92cbc9369ba7dc80ebd7190bf99b99e9c43b8f66 |
04-Mar-2011 |
Makoto Onuki <omakoto@google.com> |
Make ACTION_SEND_MULTIPLE work with file: URI To determine mime-types of attachments from the ACTION_SEND and _MULTIPLE intents, - Use ContentResolver.getType() for content: URIs - Use inferMimeType() for file: URIs Tested with Gallary and Downloads. Bug 3510624 Change-Id: Ibfa4b383463f157e18fd634e55f5be4b9adf6aa5
ttachmentUtilitiesTests.java
|
ba125ab5ac747bb382dc8fe986dd8f0ed72ca596 |
03-Mar-2011 |
Makoto Onuki <omakoto@google.com> |
Fix ANR: Run getPreviewIcon on bg thread The new class EmailAsyncTask might look overkill, but this is what I've been wanting for long time. In many activities we store all AsyncTasks we start to member fields so that we can cancel them in onDestroy(). (e.g. MessageViewFragmentBase.mLoadMessageTask and mReloadMessageTask) With EmailAsyncTask these fields will no longer be necessary. We'll be able to just fire up as many AsyncTasks as we want, and clean them up in onDestroy() with just cancellAllInterrupt(). Bug 3480136 Change-Id: Id8aa1ba1500eee58cfab8b562b95e9ed852b3e29
mailAsyncTaskTests.java
|
fe68c0e7c2672e09076038b36ad24f095633d313 |
17-Feb-2011 |
Todd Kennedy <toddke@google.com> |
Use HostAuth to determine settings changes There were two TODO's from a prior CL where deprecated HostAuth methods were removed. 1. Do not use a generated URI to determine if account settings have changed. Instead, use the HostAuth structure for this purpose. 2. The account key in the HostAuth structure has been deprecated. Remove as much of it as possible (until the schema of the host auth database changes, we must still refer to it when adding rows). In the process, HostAuth tests were broken out into a separate unit test file. Change-Id: I4075da09af168f734db7b20a9ef63d4178ac2064
tilityUnitTests.java
|
c0195ab9027a725753bd10b812073d21842bad60 |
15-Feb-2011 |
Todd Kennedy <toddke@google.com> |
Update expected value for unit test There were extra parens in the SELECT sql command. These have been removed from production code, so, the test needs to be updated as well. bug 3456577 Change-Id: I7fcfd326c17fd732ecfd3cd77f6e583106afa287
tilityMediumTests.java
|
3a5c1fb274a9ce72d708d88509bf2607cb018ddd |
13-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part neuf: Setup, logging, attachment glue * Make "Exchange" option in account setup depend upon availability of the Exchange EmailService * Make presence of Exchange logging depend upon availability of the Exchange EmailService * Make AttachmentDownloadService use service rather than ExchangeService class * Move SSLUtils to emailcommon/utility * Move account manager type defs to emailcommon/AccountManagerTypes * Update proguard.flags * This is the penultimate CL for the Email package itself; the next CL creates a clean, SDK-compatible Email application Bug: 3442973 Change-Id: I9162cf5fa6b5a043ded0fdd1e25fd3ce5948ad8f
tilityUnitTests.java
|
31d9acbf0623872f9d4a2b3210b5970854b654c7 |
12-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part huit: Refactor constants, clean emailcommon * There are three pieces to this CL (sorry): 1) Move and/or rename some constants into emailcommon 2) Move Utility to emailcommon, moving the few UI related utilities back into Email (FolderProperties and UiUtilities) 3) Remove all references to resources from emailcommon * The three pieces relate in that, between them, they allow the emailcommon static library to compile cleanly Bug: 3442973 Change-Id: Ic5e3abaa2a1b36999e0b6653c6c2134ea1bd544f
tilityMediumTests.java
tilityUnitTests.java
|