Commit Graph

30139 Commits (bafcf362b073354ad6b5a74d21e1b85ceb58a3e6)

Author SHA1 Message Date
Baligh Uddin 6671d4035c Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-10-26 03:36:25 +00:00
Keisuke Kuroyanagi 2271c23dc6 Open dictionary files always using O_RDONLY.
We never directly write to opened and mmapped files.

Bug: 11391620

Change-Id: Ic52fbe6018b8b3c1b6ca687461f29185809217c2
2013-10-25 17:35:37 -07:00
Baligh Uddin d1575a9d89 Import translations. DO NOT MERGE
Change-Id: I9c2c9578bbc0a7036c7ee4c6b8a605ef90ae6001
Auto-generated-cl: translation import
2013-10-25 14:43:14 -07:00
Baligh Uddin c9dea6d6c2 Import translations. DO NOT MERGE
Change-Id: I9c4542106d4660da3b67907afa5696e91f537dd6
Auto-generated-cl: translation import
2013-10-25 14:39:08 -07:00
Baligh Uddin e81dbf9085 Import translations. DO NOT MERGE
Change-Id: I192e080ae36e3e0e759c6149877bf5cb2996158f
Auto-generated-cl: translation import
2013-10-25 14:36:22 -07:00
Keisuke Kuroyanagi 3f0a8e3fb0 Refactoring: Move some methods to the reading helper.
To handle multiple dictionary formats in helpers.

Bug: 11073222
Change-Id: I376bbdea934e13588feca02b9865105742f1a058
2013-10-25 12:32:36 -07:00
Keisuke Kuroyanagi 8e9df884aa Add a test for ver4 native binary dictionary.
Bug: 10197478
Bug: 11073222
Change-Id: I6daac6c4b048c65682c25afe6ca0fad83cc9720f
2013-10-25 12:32:30 -07:00
Keisuke Kuroyanagi 4e17feaa18 am c481d055: Refactoring: Introduce PtNode and PtNodeReader.
* commit 'c481d0556fe62cdaaf6d6d8cf037a33ce665f44c':
  Refactoring: Introduce PtNode and PtNodeReader.
2013-10-25 11:32:01 -07:00
Keisuke Kuroyanagi c481d0556f Refactoring: Introduce PtNode and PtNodeReader.
To handle multiple dictionary formats in helpers.

Bug: 11073222

Change-Id: Iaef7be08534f9010e837ffcf8c8292b174b64d2b
2013-10-25 11:18:55 -07:00
Keisuke Kuroyanagi 3f75eec98e am 75d7f0fb: Introduce Ver4DictBuffers to handle multiple buffers.
* commit '75d7f0fbf58b3adb38388d09791b324c8eef7f14':
  Introduce Ver4DictBuffers to handle multiple buffers.
2013-10-25 00:00:01 -07:00
Keisuke Kuroyanagi 75d7f0fbf5 Introduce Ver4DictBuffers to handle multiple buffers.
Bug: 11073222
Change-Id: Icacca8133c0030b19ca826fbf9525f41a1ac6cc8
2013-10-24 23:45:01 -07:00
Keisuke Kuroyanagi 1c4d5c351c am 1e34cc16: Introduce DictContent for ver4 dict.
* commit '1e34cc16981f9a0d6ae7a489c3786fd40225c4e2':
  Introduce DictContent for ver4 dict.
2013-10-24 18:44:50 -07:00
Keisuke Kuroyanagi 1e34cc1698 Introduce DictContent for ver4 dict.
Bug: 11073222
Change-Id: I88ab3948a98388931d81c97825c9d2c76e15a44b
2013-10-24 17:42:56 -07:00
Keisuke Kuroyanagi db917de6aa am e5cfb776: Introduce ExclusiveOwnershipPointer.
* commit 'e5cfb776949eb8b9db8a01191aa1241ac22da0e4':
  Introduce ExclusiveOwnershipPointer.
2013-10-24 17:38:45 -07:00
Keisuke Kuroyanagi e5cfb77694 Introduce ExclusiveOwnershipPointer.
Bug: 11073222
Change-Id: I841527f0247f2ade07796406729b3a4a8958aa57
2013-10-24 17:28:30 -07:00
Jean Chalard 20baabda91 am 142254ad: am 85781e88: am 42de819a: am 1875860d: Stopgap solution for a crash.
* commit '142254adbb26152e50518f1890f5ed1c87cba95a':
  Stopgap solution for a crash.
2013-10-22 08:20:38 -07:00
Jean Chalard 142254adbb am 85781e88: am 42de819a: am 1875860d: Stopgap solution for a crash.
* commit '85781e88469c2b65d205ec4265f1991ac86ded5b':
  Stopgap solution for a crash.
2013-10-22 08:16:55 -07:00
Jean Chalard 85781e8846 am 42de819a: am 1875860d: Stopgap solution for a crash.
* commit '42de819ae8d7e276af3299a4572788f8996a6e83':
  Stopgap solution for a crash.
2013-10-22 08:13:56 -07:00
Jean Chalard 42de819ae8 am 1875860d: Stopgap solution for a crash.
* commit '1875860d2606eff269381ef0bb68db549ab4819d':
  Stopgap solution for a crash.
2013-10-22 08:11:48 -07:00
Jean Chalard 8a1675379e Stopgap solution for a crash.
This returns the wrong string, but since it's used for getting the
previous word for bigrams, it only results in slightly worse
suggestions quality.

Bug: 11273655
Change-Id: I6ce5de2f76effc453ca691a654ab6bf17445b9e7
2013-10-22 05:23:48 -07:00
Jean Chalard 5b5ed3d609 Fix a bug where autocaps would jam auto-commit
Bug: 11311002
Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
2013-10-22 05:23:48 -07:00
Ken Wakasa 79ccba757a Update Setup Wizard welcome video & image
bug: 11227246
Change-Id: I291ebdaf7e96d4a2ca738432ce8be1d75b91e5c3
2013-10-22 05:23:48 -07:00
Keisuke Kuroyanagi 6bc5acaa79 Fix: Suggested words from user history are invalid.
- Suggestions form user history can contain invalid words.
- isValidWord always returns false.

Bug: 11139426
Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
2013-10-22 05:23:48 -07:00
Jean Chalard 7da2295328 Fix a bug where autoshift would be ignored coming from emoji
Bug: 11123691
Change-Id: I36474e12e34af95051129840865015f85595411b
2013-10-22 05:23:47 -07:00
Satoshi Kataoka a6ee1e7b9a Don't show long-pressing emoji key on tablet
Bug: 11264603
Change-Id: I85e8dfa795bbaad26f38bcdb8a958c26e031a4cd
2013-10-22 05:23:47 -07:00
Satoshi Kataoka c43738069a 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: If84d0cc621b12e1bf3a3102b1f09cbaedf92f007
2013-10-22 05:23:47 -07:00
Jean Chalard ea177b5693 am d4b5bc16: Merge "Preliminary refactor"
* commit 'd4b5bc1695036f3f555561d55a4300723daa939d':
  Preliminary refactor
2013-10-22 04:32:50 -07:00
Jean Chalard d4b5bc1695 Merge "Preliminary refactor" 2013-10-22 11:26:54 +00:00
Jean Chalard b00ed46385 Preliminary refactor
Bug: 11328842
Change-Id: I7c22e951fef9bc4443c6b64625e25f632f876ab1
2013-10-22 20:16:17 +09:00
Jean Chalard 1875860d26 Stopgap solution for a crash.
This returns the wrong string, but since it's used for getting the
previous word for bigrams, it only results in slightly worse
suggestions quality.
Cherry-pick of I6ce5de2f

Bug: 11273655
Change-Id: I17fb6d74f18fb31bd8f8518f80456d74ae30a2c3
2013-10-22 20:07:06 +09:00
Jean Chalard dbd87dc2f8 am 787fd368: Merge "Stopgap solution for a crash."
* commit '787fd368c4069198111c20cdab2fe3367250c441':
  Stopgap solution for a crash.
2013-10-22 04:06:39 -07:00
Jean Chalard 787fd368c4 Merge "Stopgap solution for a crash." 2013-10-22 11:04:39 +00:00
Jean Chalard 729abe6332 Stopgap solution for a crash.
This returns the wrong string, but since it's used for getting the
previous word for bigrams, it only results in slightly worse
suggestions quality.

Bug: 11273655
Change-Id: I6ce5de2f76effc453ca691a654ab6bf17445b9e7
2013-10-22 20:00:09 +09:00
Ken Wakasa 08360a5434 am a62dc281: Update input method subtype locales.
* commit 'a62dc28121d72978d527eec2791d1caf43b563b8':
  Update input method subtype locales.

Change-Id: Id28f5ee33c201e1d335119c1b3d99bc30a10a131
2013-10-22 19:43:09 +09:00
Satoshi Kataoka e4db349db0 am af846af8: Remove Azerbaijani subtype
* commit 'af846af8bb7e4b49c99d7b0e051e70d03a5b7359':
  Remove Azerbaijani subtype
2013-10-22 19:36:41 +09:00
Jean Chalard ed8c086dae am 5781d176: (-s ours) am 74f2e69b: (-s ours) am d869e1fd: am f603fa1f: Merge "[DO NOT MERGE] Add a sequence number to SuggestedWords." into klp-dev
* commit '5781d176394e0a058a4029f7a38f0359200e771a':
  [DO NOT MERGE] Add a sequence number to SuggestedWords.
2013-10-21 23:45:05 -07:00
Jean Chalard 26ba0bee5f am 827fc838: (-s ours) am 7d0d203d: (-s ours) am 23894199: am f356a25f: [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
* commit '827fc83857852efb6b29227b5f69f74a643a51d2':
  [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
2013-10-21 23:45:02 -07:00
Jean Chalard 5781d17639 am 74f2e69b: (-s ours) am d869e1fd: am f603fa1f: Merge "[DO NOT MERGE] Add a sequence number to SuggestedWords." into klp-dev
* commit '74f2e69b9472e4ded9a3cc76f673e9504ad16b48':
  [DO NOT MERGE] Add a sequence number to SuggestedWords.
2013-10-21 23:41:51 -07:00
Jean Chalard 827fc83857 am 7d0d203d: (-s ours) am 23894199: am f356a25f: [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
* commit '7d0d203d205433c098e46e56e265009c13dcdeb1':
  [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
2013-10-21 23:41:49 -07:00
Jean Chalard 74f2e69b94 am d869e1fd: am f603fa1f: Merge "[DO NOT MERGE] Add a sequence number to SuggestedWords." into klp-dev
* commit 'd869e1fdbbf753f0c944a85e27fd8e260e0562b5':
  [DO NOT MERGE] Add a sequence number to SuggestedWords.
2013-10-21 23:39:41 -07:00
Jean Chalard 7d0d203d20 am 23894199: am f356a25f: [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
* commit '238941991df521a6c120c6ff2e1a8ae46e8d4823':
  [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
2013-10-21 23:39:39 -07:00
Jean Chalard d869e1fdbb am f603fa1f: Merge "[DO NOT MERGE] Add a sequence number to SuggestedWords." into klp-dev
* commit 'f603fa1f0e8fc909bf2e1bc6e2d0c9b5a01c02c6':
  [DO NOT MERGE] Add a sequence number to SuggestedWords.
2013-10-21 23:36:51 -07:00
Jean Chalard 238941991d am f356a25f: [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
* commit 'f356a25f36952f59e9918daa35f7ff6e5235a37d':
  [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
2013-10-21 23:36:49 -07:00
Jean Chalard f603fa1f0e Merge "[DO NOT MERGE] Add a sequence number to SuggestedWords." into klp-dev 2013-10-22 06:34:55 +00:00
Jean Chalard c130be8779 Add a sequence number to SuggestedWords.
This allows testing for suggestion freshness in an asynchronous
suggestions world.

In-advance cherrypick of Ic76cd17568598d8534aec81e037f9e37f52eb6b4
because there's a merge conflict.

Bug: 11301597
Change-Id: I4aec765a975298fcac30a48dede73d2622224fe5
2013-10-22 13:19:16 +09:00
Jean Chalard 6b8d2d31f9 [DO NOT MERGE] Add a sequence number to SuggestedWords.
This allows testing for suggestion freshness in an asynchronous
suggestions world.
Cherry-pick of Ic76cd175

Bug: 11301597
Change-Id: I45a84de0632062475eebe30234b3147f1c680359
2013-10-22 04:03:52 +00:00
Jean Chalard 623037d76f am 926ebe84: Merge "Add a sequence number to SuggestedWords."
* commit '926ebe849a83c43488bd2bb044b81f39e6b51eef':
  Add a sequence number to SuggestedWords.
2013-10-21 21:03:27 -07:00
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
Jean Chalard 926ebe849a Merge "Add a sequence number to SuggestedWords." 2013-10-22 04:02:11 +00:00
Jean Chalard 7db31c6e14 am c6a12180: Fix a bug where autocaps would jam auto-commit
* commit 'c6a121805f9d3ed62d1a32b198a685b902d9f92b':
  Fix a bug where autocaps would jam auto-commit
2013-10-21 20:56:56 -07:00