Commit Graph

29221 Commits (ce45d87132f31101a583f38273ebb59b449b7d7f)

Author SHA1 Message Date
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 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
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 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
Jean Chalard ac76463306 Add a sequence number to SuggestedWords.
This allows testing for suggestion freshness in an asynchronous
suggestions world.

Bug: 11301597
Change-Id: Ic76cd17568598d8534aec81e037f9e37f52eb6b4
2013-10-22 12:52:58 +09:00
Jean Chalard c6a121805f Fix a bug where autocaps would jam auto-commit
Bug: 11311002
Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
2013-10-22 12:39:49 +09:00
Ken Wakasa e5697b2189 am 859b1171: Update Setup Wizard welcome video & image
* commit '859b117118afc78df12118a787d9341970b06363':
  Update Setup Wizard welcome video & image
2013-10-21 17:47:17 -07:00
Ken Wakasa 859b117118 Update Setup Wizard welcome video & image
bug: 11227246
Change-Id: I291ebdaf7e96d4a2ca738432ce8be1d75b91e5c3
2013-10-22 09:36:39 +09:00
Keisuke Kuroyanagi 765ee2bc53 am 4fd413b7: Merge "Tracking minor errors to categorize exact match."
* commit '4fd413b7e4826571e77ef01c08edec67e9d52d08':
  Tracking minor errors to categorize exact match.
2013-10-21 05:35:49 -07:00
Keisuke Kuroyanagi 4fd413b7e4 Merge "Tracking minor errors to categorize exact match." 2013-10-21 12:32:03 +00:00
Keisuke Kuroyanagi eb5049b28d Tracking minor errors to categorize exact match.
Bug: 8844931

Change-Id: I012529f5fc0d094ef64a41c075fe548b6b439265
2013-10-21 21:01:59 +09:00
Keisuke Kuroyanagi 9d74cb9660 am 0913aaa5: Merge "Add utility methods related to buffers for ver4 dict."
* commit '0913aaa56f03af716ff30af5aa13176bc10b4f31':
  Add utility methods related to buffers for ver4 dict.
2013-10-21 04:04:57 -07:00
Keisuke Kuroyanagi 0913aaa56f Merge "Add utility methods related to buffers for ver4 dict." 2013-10-21 11:03:08 +00:00
Keisuke Kuroyanagi 72877b15ea Add utility methods related to buffers for ver4 dict.
Bug: 11073222
Change-Id: Ieca15ffa09fd36c6602f6d2afab5779800c5a422
2013-10-21 19:56:50 +09:00
Ken Wakasa e17196cef1 am 513b99df: Cosmetic fixes
* commit '513b99dfa26dadcd9d0b2fb12bcbbdb46b3b3b3b':
  Cosmetic fixes
2013-10-21 00:51:22 -07:00