Commit Graph

904 Commits

Author SHA1 Message Date
Andy Stadler
1e9ca89b56 am 114026b: Merge branch \'readonly-p4-donut\' into donut
Merge commit '114026bf3fdd3a5f54a35030d6e071160e8992f8'

* commit '114026bf3fdd3a5f54a35030d6e071160e8992f8':
  AI 148230: Allow stores to indicate if they support server-side copying of sent
2009-05-01 23:25:39 -07:00
Andy Stadler
1d629722e0 am 3a0985b: Merge branch \'readonly-p4-donut\' into donut
Merge commit '3a0985b83a9856da3639e5a28e1acd0f8db37246'

* commit '3a0985b83a9856da3639e5a28e1acd0f8db37246':
  AI 148216: Provide UI for fixed sync window sizes, as required by EAS.
2009-05-01 23:25:39 -07:00
Andy Stadler
1b8123ef54 am 0fc66ee: Merge branch \'readonly-p4-donut\' into donut
Merge commit '0fc66ee3664ca2c92d79e6fd976962b99a15656f'

* commit '0fc66ee3664ca2c92d79e6fd976962b99a15656f':
  AI 148215: Provide a better way for stores to get their callbacks, since they
2009-05-01 23:25:39 -07:00
Andy Stadler
d3dd6f0717 am 503d4c5: Merge branch \'readonly-p4-donut\' into donut
Merge commit '503d4c52370bbe39a7c7b045d63db0f329190ed6'

* commit '503d4c52370bbe39a7c7b045d63db0f329190ed6':
  AI 148204: Encapsulate a requirement for some remote stores, that need to preload
2009-05-01 23:25:39 -07:00
Andy Stadler
114026bf3f Merge branch 'readonly-p4-donut' into donut 2009-05-01 16:38:07 -07:00
Andy Stadler
c9f151d4fe AI 148230: Allow stores to indicate if they support server-side copying of sent
mail into the "Sent" folder, thus eliminating the need to perform a 2nd
  upload into the server's Sent folder.  IMAP and POP3 do not support
  this (although IMAP could when it recognizes Gmail IMAP servers.)
  BUG=1807499

Automated import of CL 148230
2009-05-01 16:36:34 -07:00
Andy Stadler
3a0985b83a Merge branch 'readonly-p4-donut' into donut 2009-05-01 15:32:04 -07:00
Andy Stadler
9197f42894 AI 148216: Provide UI for fixed sync window sizes, as required by EAS.
When in fixed sync window size mode, change "load more
  messages" to "refresh".
  BUG=1789913

Automated import of CL 148216
2009-05-01 15:30:33 -07:00
Andy Stadler
0fc66ee366 Merge branch 'readonly-p4-donut' into donut 2009-05-01 15:27:34 -07:00
Andy Stadler
035dfc0859 AI 148215: Provide a better way for stores to get their callbacks, since they
might be null at creation time, and available slightly later.
  BUG=1807499

Automated import of CL 148215
2009-05-01 15:25:32 -07:00
Andy Stadler
503d4c5237 Merge branch 'readonly-p4-donut' into donut 2009-05-01 14:43:01 -07:00
Andy Stadler
9ba72bb00d AI 148204: Encapsulate a requirement for some remote stores, that need to preload
message structures before fetching the message body.  Code for IMAP &
  POP3 is unaffected, but remote stores can override
  requireStructurePrefetch() in order to trigger the new behavior.
  BUG=1807499

Automated import of CL 148204
2009-05-01 14:40:58 -07:00
Eric Fischer
1d13c95e1b am c31d5ea: am 9e5757b: AI 148147: Import lots of zh_TW translation chan
Merge commit 'c31d5eae5bf4e792148d59f41f1539811d09ecee'

* commit 'c31d5eae5bf4e792148d59f41f1539811d09ecee':
  AI 148147: Import lots of zh_TW translation changes.
2009-04-30 18:13:00 -07:00
Eric Fischer
c31d5eae5b am 9e5757b: AI 148147: Import lots of zh_TW translation changes.
Merge commit '9e5757b5316f88d252b5d80fab1e3964ce19bbdf' into donut

* commit '9e5757b5316f88d252b5d80fab1e3964ce19bbdf':
  AI 148147: Import lots of zh_TW translation changes.
2009-04-30 17:37:33 -07:00
Eric Fischer
9e5757b531 AI 148147: Import lots of zh_TW translation changes.
Automated import of CL 148147
2009-04-30 17:32:16 -07:00
Eric Fischer
f9cdb92453 am 3a7175d: am 6e57772: AI 148026: Update zh_TW translations.
Merge commit '3a7175d66b7627352412029e422530a38edd7666'

* commit '3a7175d66b7627352412029e422530a38edd7666':
  AI 148026: Update zh_TW translations.
2009-04-30 17:24:28 -07:00
Eric Fischer
3a7175d66b am 6e57772: AI 148026: Update zh_TW translations.
Merge commit '6e5777228bf98403f6ffc80bea5dd420ebec6cd5' into donut

* commit '6e5777228bf98403f6ffc80bea5dd420ebec6cd5':
  AI 148026: Update zh_TW translations.
2009-04-30 17:10:40 -07:00
Andy Stadler
d1962bedba am 60ab49e: Merge branch \'readonly-p4-donut\' into donut
Merge commit '60ab49eddcf8f7f1fd7c805739d7035eca787107'

* commit '60ab49eddcf8f7f1fd7c805739d7035eca787107':
  AI 148145: Remove the account-based storage of store persistent data, and instead
2009-04-30 17:03:37 -07:00
Andy Stadler
60ab49eddc Merge branch 'readonly-p4-donut' into donut 2009-04-30 16:49:34 -07:00
Eric Fischer
6e5777228b AI 148026: Update zh_TW translations.
Automated import of CL 148026
2009-04-30 16:48:34 -07:00
Andy Stadler
c5c2b96739 AI 148145: Remove the account-based storage of store persistent data, and instead
combine it with the same code that handles folder persistent data (in
  the database).  The schema is really simple;  Rows with a folder id of
  -1 are store data.  This also adds the ability to use keys to store
  multiple values, instead of a single string per account.  Added/updated
  unit tests.
  3rd party stores will need slight code changes because the persistent
  callbacks now accept keys.
  BUG=1807499

Automated import of CL 148145
2009-04-30 16:47:50 -07:00
The Android Open Source Project
deabfc0cb5 reconcile merge issues 2009-04-30 12:16:42 -07:00
The Android Open Source Project
1c36ddaa3c Merge branch 'donut' 2009-04-30 12:10:16 -07:00
Andy Stadler
baa4ec5eeb Merge branch 'readonly-p4-donut' into donut 2009-04-30 10:19:18 -07:00
Andy Stadler
d8cbeaf7ae AI 148098: Manual merge CL 148086 to fix additional problems with non-ASCII chars
in address fields.
  BUG=1676634

Automated import of CL 148098
2009-04-30 10:18:00 -07:00
Andy Stadler
5bf09f47ef Merge branch 'readonly-p4-donut' into donut 2009-04-30 10:15:19 -07:00
Andy Stadler
067d0a87fa AI 148097: Fix bug in exchange account setup (actually it only affects
editing existing accounts).  Added simple functional tests for
  Activity UI.
  BUG=1812798

Automated import of CL 148097
2009-04-30 10:14:00 -07:00
Andy Stadler
6543d8846b Merge branch 'readonly-p4-donut' into donut 2009-04-30 10:09:48 -07:00
Andy Stadler
05aba0b4ba AI 148096: Fix multiple concurrency bugs in FolderMessageList, which wasn't
being strict enough about decoupling the MessageListener from
  updates to the various lists that should only happen in the UI
  thread.
  BUG=1812798

Automated import of CL 148096
2009-04-30 10:08:25 -07:00
Andy Stadler
5f05b099f7 Merge branch 'readonly-p4-donut' into donut 2009-04-30 10:05:33 -07:00
Andy Stadler
c795d8b324 AI 148095: In MessageView, protect the listener callbacks that directly
access mMessageContentView.
  This is a brute-force solution, and I have also left TODO notes
  mentioning that it might make more sense (long term) to use the
  existing handler message mechanism.
  BUG=1812798

Automated import of CL 148095
2009-04-30 10:04:06 -07:00
Andy Stadler
31c0296291 Merge branch 'readonly-p4-donut' into donut 2009-04-30 09:40:11 -07:00
Andy Stadler
0cfffc5222 AI 148091: Manual merge CL 148078 which resolves bugs when you have non-ASCII
names in email address fields of MessageCompose.
  BUG=1676657

Automated import of CL 148091
2009-04-30 09:38:30 -07:00
Andy Stadler
972d7e389a Merge branch 'readonly-p4-donut' into donut 2009-04-29 17:18:41 -07:00
Andy Stadler
3c3add638e AI 148027: Fix concurrency failure in Folder.getUnreadMessageCount() and
Folder.getVisibleLimit(), which used local copies of the data from the
  DB.  If there were two Folder objects associated with a single actual
  folder, updating one wouldn't be reflected in the others.
  BUG=1812798

Automated import of CL 148027
2009-04-29 17:17:14 -07:00
Andy Stadler
694e76814a Merge branch 'readonly-p4-donut' into donut 2009-04-29 17:11:48 -07:00
Andy Stadler
c05afb24bb AI 148019: Add "accountInstanceLimit" to stores.xml so a given type of connection
(e.g. EAS) can limit itself to n (usually 1) accounts per device.
  The UI for this is really simple - don't show the EAS button when the
  limit is reached.  More work would be required in
  AccountSetupAccountType.java in order to do a more sophisticated UI
  (e.g. show the button but pop a toast if the limit is reached.)
  BUG=1740626

Automated import of CL 148019
2009-04-29 17:10:25 -07:00
Andy Stadler
30eb9bb948 Merge branch 'readonly-p4-donut' into donut 2009-04-29 17:08:26 -07:00
Andy Stadler
8264c4fa21 AI 148002: Add X_DOWNLOADED_FULL, X_DOWNLOADED_PARTIAL, and DELETED flags
to the set that are stored in their own columns (and thus can
  be quickly selected from).  Add code to migrate old style
  flags into new flags.  Add tests.
  BUG=1786939

Automated import of CL 148002
2009-04-29 17:07:03 -07:00
Eric Fischer
2a10d8c6ac am 06460df: am 33fabe8: AI 147962: Import updated zh_TW translations.
Merge commit '06460df68f7af5953f591ab85152a5a67163da39'

* commit '06460df68f7af5953f591ab85152a5a67163da39':
  AI 147962: Import updated zh_TW translations.
2009-04-29 13:43:23 -07:00
Eric Fischer
db34a91130 am cb9120c: am 939d53c: AI 147492: Update zh_TW translations.
Merge commit 'cb9120caa8c7d3668e892d637215a4b970902139'

* commit 'cb9120caa8c7d3668e892d637215a4b970902139':
  AI 147492: Update zh_TW translations.
2009-04-29 13:43:23 -07:00
Andy Stadler
ed132b7554 am b91fe4d: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'b91fe4de91d617a2ddc96082cd06651946f6b454'

* commit 'b91fe4de91d617a2ddc96082cd06651946f6b454':
  AI 147868: Fix CL 146360 which didn't make the changes persistent.  Changed
2009-04-29 13:43:23 -07:00
Andy Stadler
2ce72ab39c am 0f8a578: Merge branch \'readonly-p4-donut\' into donut
Merge commit '0f8a57891fd4fa19fba602249fedd0587177b2f1'

* commit '0f8a57891fd4fa19fba602249fedd0587177b2f1':
  AI 147866: To better support remote stores that write back persistent data
2009-04-29 13:43:23 -07:00
Andy Stadler
087088bb98 am 085757a: Merge branch \'readonly-p4-donut\' into donut
Merge commit '085757aa51b6ebdebd10e485c6c54458d5130874'

* commit '085757aa51b6ebdebd10e485c6c54458d5130874':
  AI 147839: In checkMail(), do a listFolders() before the existing sync...()
2009-04-29 13:43:23 -07:00
Andy Stadler
2e5e2217fe am 4fca6f3: Merge branch \'readonly-p4-donut\' into donut
Merge commit '4fca6f3dba633a0f0ee7c91041462ac7fd2a7f78'

* commit '4fca6f3dba633a0f0ee7c91041462ac7fd2a7f78':
  AI 147765: Fix concurrency bugs in MessagingController, in the collections
2009-04-29 13:43:23 -07:00
Andy Stadler
9e108ae13d am eeaad58: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'eeaad585cd95acd5e5355ea02bb4b79715c2f9bc'

* commit 'eeaad585cd95acd5e5355ea02bb4b79715c2f9bc':
  AI 147730: 1. Create an API by which a Store can specify its own custom
2009-04-29 13:43:23 -07:00
Andy Stadler
2e4e0c16f6 am a63e9a0: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'a63e9a0c868ec2e1e50368f603e7c048140f6c81'

* commit 'a63e9a0c868ec2e1e50368f603e7c048140f6c81':
  AI 147714: New, lighter-weight version of CL 147620.  Still touches as many files,
2009-04-29 13:43:23 -07:00
Andy Stadler
7e377db459 am f847703: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'f84770309d95c3bc27894c47492860c0362df8e0'

* commit 'f84770309d95c3bc27894c47492860c0362df8e0':
  AI 147708: Automated g4 rollback of changelist 147620.
2009-04-29 13:43:23 -07:00
Andy Stadler
724d6c59d2 am 1bca9cc: Merge branch \'readonly-p4-donut\' into donut
Merge commit '1bca9ccac5ed54d0c90c353a3016b5559fb07535'

* commit '1bca9ccac5ed54d0c90c353a3016b5559fb07535':
  AI 147620: Some stores require changing the UID of a message when it is
2009-04-29 13:43:23 -07:00
Andy Stadler
a16ab50f8e am c1a2675: Merge branch \'readonly-p4-donut\' into donut
Merge commit 'c1a26752c1efffe17701f6795572eb9eaaa655ff'

* commit 'c1a26752c1efffe17701f6795572eb9eaaa655ff':
  AI 147538: Because mPreferences is transient, we need to pass Context into the
2009-04-29 13:43:23 -07:00