Commit Graph

28705 Commits (cdf4b8cbf3ef1a234c61198d281e7e1a58029327)

Author SHA1 Message Date
Jean Chalard f356a25f36 [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
Cherry-pick of I62955e36

Bug: 11311002
Change-Id: I5b11cb48e6dd0563fc29566fe0d27864be2beb0a
2013-10-22 04:03:17 +00:00
Ken Wakasa 47568d5e19 Merge "Fix: Suggested words from user history are invalid. DO NOT MERGE." into klp-dev 2013-10-18 17:43:00 +00:00
Keisuke Kuroyanagi 029d9eeb38 Fix: Suggested words from user history are invalid. DO NOT MERGE.
- Suggestions form user history can contain invalid words.
- isValidWord always returns false.

Bug: 11139426
Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
2013-10-18 20:13:40 +09:00
Ken Wakasa 146cf23879 DO NOT MERGE: Update input method subtype locales.
To match up with the removal of obsolete locales.

cherrypick of I27098bfa26b66631ef412f8f0f72e0273a0161bc

bug: 11244796
Change-Id: I6e93513978ac657c859391d0431f90143d855e5f
2013-10-18 17:09:24 +09:00
satok 46ab0956d8 Merge "Remove unexpectedly used resources" into jb-ub-latinimegoogle-bayo 2013-10-18 07:04:31 +00:00
Satoshi Kataoka 1760d363d4 Remove unexpectedly used resources
Change-Id: I291269dbca71805a40d48a0e373b9561ad075f6b
2013-10-18 15:05:35 +09:00
satok b903aa0a89 Remove unexpectedly used resources
Change-Id: I847e303b1a3843e5a95d1ecb2802e3779c8f085b
2013-10-18 13:00:14 +09:00
Satoshi Kataoka 2e7f360a04 Merge "Do not merge. Fix keyboard layout" into klp-dev 2013-10-18 00:41:53 +00:00
Satoshi Kataoka 141a0c3380 Merge "Do not merge. Don't show long-pressing emoji key on tablet" into klp-dev 2013-10-18 00:41:42 +00:00
Baligh Uddin e47f7332f9 These files were in the obsoleted locale
directories and are not processed by the translation pipeline.
Moving them to their new locale directory.

Example: values-et/bools.xml moved to values-et-rEE/bools.xml

Bug: 11244796
2013-10-17 11:22:07 -07:00
Baligh Uddin 486c589610 Remove obsolete locale directories.
Bug: 11244796
2013-10-17 11:15:33 -07:00
Ken Wakasa d8ba6abfee Merge "[DO NOT MERGE] Fix a bug where autoshift would be ignored coming from emoji" into klp-dev 2013-10-17 16:26:42 +00:00
Baligh Uddin 8d757c2052 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-17 15:45:30 +00:00
Baligh Uddin 9fa7efb0c5 Import translations. DO NOT MERGE
Change-Id: Ia2590927c02e8e64506e746650d318c1d84ae7c2
Auto-generated-cl: translation import
2013-10-17 08:40:51 -07:00
Jean Chalard a3c285e876 [DO NOT MERGE] Fix a bug where autoshift would be ignored coming from emoji
Bug: 11123691
Change-Id: I36474e12e34af95051129840865015f85595411b
2013-10-17 23:15:09 +09:00
Satoshi Kataoka 329fd2d832 Do not merge. Don't show long-pressing emoji key on tablet
Bug: 11264603
Change-Id: Ic46086e9f1b223e26586e0611d14a7d14b561100
2013-10-17 20:38:33 +09:00
Satoshi Kataoka 8ff1e71f8a Do not merge. Fix keyboard layout
- Show "..." on enter key if it has long-pressing emoji key
- Show enter key on symbols shift keyboard

Bug: 11262889
Bug: 11263464
Change-Id: I3797fe2ef8c1e4cbba3298475f01f90c98e3335f
2013-10-17 17:29:45 +09:00
Ed Heyl cf0a94fa9a merge in klp-release (no-op) 2013-10-16 17:46:48 -07:00
Satoshi Kataoka ea3db813cc Merge "Do not merge. Remove Azerbaijani subtype" into klp-dev 2013-10-16 21:19:59 +00:00
Satoshi Kataoka 3dd33652e4 Do not merge. Remove Azerbaijani subtype
The corresponding change is I0d2a98dffe03ebd

Bug: 11244796
Change-Id: I0d2a98dffe03ebddf26fc3c2760061c39de4c57e
2013-10-16 18:39:59 +09:00
Baligh Uddin 12e4167ffc Import translations. DO NOT MERGE
Change-Id: I83d28c60de84b09da48bd79aa9917f12bd850fdc
Auto-generated-cl: translation import
2013-10-15 17:40:19 -07:00
The Android Automerger 834125651c merge in jb-ub-latinimegoogle-bayo history after reset to jb-ub-latinimegoogle 2013-10-15 06:52:55 -07:00
The Android Automerger 62cda376db merge in klp-release history after reset to klp-dev 2013-10-15 06:01:21 -07:00
Ken Wakasa e9066e4dad am d617c2d9: am eb870b14: am 34ad4e08: am b9ce8421: mExpectingUpdateSelection was out of sync when nothing to delete.
* commit 'd617c2d976ce60b4a88960a4504a0f237a561ecb':
  mExpectingUpdateSelection was out of sync when nothing to delete.
2013-10-15 05:11:06 -07:00
Ken Wakasa d617c2d976 am eb870b14: am 34ad4e08: am b9ce8421: mExpectingUpdateSelection was out of sync when nothing to delete.
* commit 'eb870b14ecc7b26de37a939d6a661b54078ad08b':
  mExpectingUpdateSelection was out of sync when nothing to delete.
2013-10-15 05:05:29 -07:00
Ken Wakasa b91d1d6645 am b0440472: mExpectingUpdateSelection was out of sync when nothing to delete.
* commit 'b04404722729f2fa988c46c4d9080415332bbeb5':
  mExpectingUpdateSelection was out of sync when nothing to delete.
2013-10-14 22:11:41 -07:00
Ken Wakasa b044047227 mExpectingUpdateSelection was out of sync when nothing to delete.
cherripick of I9c6a948331726a821bd3ccec9c1d02dec2c4703a
(forward cherrypicking this because the automerger is stuck now.)

This bug was leading to corrupted rendering of surrogate pairs in the following
scenario.

1. Type some emojis
2. Move the cursor at the beginning of the text field
3. Hit backspace even though there's nothing to delete
4. Move the cursor after some emoji
5. Hit backspace

The root cause of this issue was the out-of-sync mExpectingUpdateSelection if
handleBackspace() gets called when the cursor reaches at the beginning of the
TextView. In such case, mExpectingUpdateSelection shouldn't be set true because
there's nothing to delete, so there will be no onUpdateSelection() calls associated
with it. Due to this bug, the cache in RichInputConnection could get stale at step 4
described above. Then the following handleBackspace() that should delete a surrogate
pair was not working correctly because of the stale cache.

bug: 11181913
Change-Id: I1cbf444d8d105416e7de75c16d80b3797f470495
2013-10-15 14:05:34 +09:00
Ken Wakasa eb870b14ec am 34ad4e08: am b9ce8421: mExpectingUpdateSelection was out of sync when nothing to delete.
* commit '34ad4e0879bbaa23a8ac493d174f804f1d81e25b':
  mExpectingUpdateSelection was out of sync when nothing to delete.
2013-10-14 19:50:50 -07:00
Ken Wakasa 34ad4e0879 am b9ce8421: mExpectingUpdateSelection was out of sync when nothing to delete.
* commit 'b9ce84214212f5b5072cd9fda458526887c3c739':
  mExpectingUpdateSelection was out of sync when nothing to delete.
2013-10-14 19:49:12 -07:00
Ken Wakasa dc04059df1 am cf5dfd24: am 3a3bbf4a: am eed74b81: am c8383eda: Fix wrong commitText parameter in sendKeyCodePoint()
* commit 'cf5dfd2464d700f28fe7d8d48150d657274dd2ef':
  Fix wrong commitText parameter in sendKeyCodePoint()
2013-10-14 11:00:10 -07:00
Baligh Uddin 81ea91de90 am 1ab9edee: (-s ours) am 8a866d6f: (-s ours) am f68ef910: (-s ours) am cdc4c1dc: (-s ours) Import translations. DO NOT MERGE
* commit '1ab9edee2fcf2829015b580f8b7171b8676018a0':
  Import translations. DO NOT MERGE
2013-10-14 11:00:06 -07:00
Ken Wakasa cf5dfd2464 am 3a3bbf4a: am eed74b81: am c8383eda: Fix wrong commitText parameter in sendKeyCodePoint()
* commit '3a3bbf4a38870ecc42b7f6fbd3a7cae20fe020a7':
  Fix wrong commitText parameter in sendKeyCodePoint()
2013-10-14 10:52:40 -07:00
Baligh Uddin 1ab9edee2f am 8a866d6f: (-s ours) am f68ef910: (-s ours) am cdc4c1dc: (-s ours) Import translations. DO NOT MERGE
* commit '8a866d6fc13e518dfe054a007e585a740536e6e5':
  Import translations. DO NOT MERGE
2013-10-14 10:50:33 -07:00
Ken Wakasa b9ce842142 mExpectingUpdateSelection was out of sync when nothing to delete.
This bug was leading to corrupted rendering of surrogate pairs in the following
scenario.

1. Type some emojis
2. Move the cursor at the beginning of the text field
3. Hit backspace even though there's nothing to delete
4. Move the cursor after some emoji
5. Hit backspace

The root cause of this issue was the out-of-sync mExpectingUpdateSelection if
handleBackspace() gets called when the cursor reaches at the beginning of the
TextView. In such case, mExpectingUpdateSelection shouldn't be set true because
there's nothing to delete, so there will be no onUpdateSelection() calls associated
with it. Due to this bug, the cache in RichInputConnection could get stale at step 4
described above. Then the following handleBackspace() that should delete a surrogate
pair was not working correctly because of the stale cache.

bug: 11181913
Change-Id: I9c6a948331726a821bd3ccec9c1d02dec2c4703a
2013-10-14 17:57:48 +09:00
The Android Automerger d43b1dbc6b merge in klp-release history after reset to klp-dev 2013-10-13 19:20:47 -07:00
Ken Wakasa 3a3bbf4a38 am eed74b81: am c8383eda: Fix wrong commitText parameter in sendKeyCodePoint()
* commit 'eed74b81a6a8d7de11ae2411817546bdd886ae0a':
  Fix wrong commitText parameter in sendKeyCodePoint()
2013-10-13 16:27:08 -07:00
Ken Wakasa eed74b81a6 am c8383eda: Fix wrong commitText parameter in sendKeyCodePoint()
* commit 'c8383eda8bb05e25b22fe6d66100248f7d0e33fa':
  Fix wrong commitText parameter in sendKeyCodePoint()
2013-10-13 16:24:47 -07:00
The Android Automerger 18725ed10a merge in klp-release history after reset to klp-dev 2013-10-13 06:02:49 -07:00
Ken Wakasa c8383eda8b Fix wrong commitText parameter in sendKeyCodePoint()
Small optimization on generating a String instance from a single code
point too.

bug: 11181913

Change-Id: I0f905e4dc6ec7841092bb4d3d940daf3b2303f5b
2013-10-13 10:56:10 +09:00
Baligh Uddin 8a866d6fc1 am f68ef910: (-s ours) am cdc4c1dc: (-s ours) Import translations. DO NOT MERGE
* commit 'f68ef9102cd2a2a4d5de48a55e9858d94f47f5f7':
  Import translations. DO NOT MERGE
2013-10-12 12:53:33 -07:00
Baligh Uddin f68ef9102c am cdc4c1dc: (-s ours) Import translations. DO NOT MERGE
* commit 'cdc4c1dca70afce35342675de02762959b27b590':
  Import translations. DO NOT MERGE
2013-10-12 12:51:52 -07:00
Baligh Uddin 7a3c73347d am 9e4210ba: (-s ours) Import translations. DO NOT MERGE
* commit '9e4210ba3a3a40336e21c69a21b9ba7af26d1df1':
  Import translations. DO NOT MERGE
2013-10-12 12:49:31 -07:00
Baligh Uddin 9e4210ba3a Import translations. DO NOT MERGE
Change-Id: I6f722071496d4673ca2214cd5fe73dde1006f036
Auto-generated-cl: translation import
2013-10-12 09:50:42 -07:00
Baligh Uddin cdc4c1dca7 Import translations. DO NOT MERGE
Change-Id: Icbe028a32311c167219f366e695cb7932f5a9a71
Auto-generated-cl: translation import
2013-10-12 09:43:32 -07:00
Baligh Uddin e55a7b71df Import translations. DO NOT MERGE
Change-Id: If437fe9dd00e8d95d1d3b99eebf360bcf288bb40
Auto-generated-cl: translation import
2013-10-12 09:35:41 -07:00
Baligh Uddin 82cad2db96 Import translations. DO NOT MERGE
Change-Id: Ie3282562a318563d607fea65c51efba90547d202
Auto-generated-cl: translation import
2013-10-12 09:27:54 -07:00
Baligh Uddin e83a1adb0a am 1789d839: (-s ours) am e35594f9: (-s ours) am 3c8bbd2f: (-s ours) am 40823338: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '1789d83949241abae6475ba9ff53247f8f4c613e':
  Import translations. DO NOT MERGE
2013-10-11 08:48:16 -07:00
Baligh Uddin 1789d83949 am e35594f9: (-s ours) am 3c8bbd2f: (-s ours) am 40823338: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'e35594f91b08a619ff1208928cadebf0b43d23b5':
  Import translations. DO NOT MERGE
2013-10-11 08:44:44 -07:00
Baligh Uddin e35594f91b am 3c8bbd2f: (-s ours) am 40823338: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '3c8bbd2fdc3381b70842cc165d57e7732cdc6e5c':
  Import translations. DO NOT MERGE
2013-10-11 08:42:22 -07:00
Baligh Uddin 3c8bbd2fdc am 40823338: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '40823338e21a0112f141f52278986d0e20df17b9':
  Import translations. DO NOT MERGE
2013-10-11 08:38:45 -07:00