Commit Graph

29433 Commits (5834cd95bb982e44d92cb4820f926e8a340be3f3)

Author SHA1 Message Date
Satoshi Kataoka ba212e9d76 Add a facility to dump the dictionary contents while closing
Change-Id: I02e920e0512f2b46a778f0b23f7ca03f8d5dabe6
2013-10-28 11:25:38 -07:00
Keisuke Kuroyanagi a72b2359cc am 45d5d1e5: Merge "Open dictionary files always using O_RDONLY."
* commit '45d5d1e589771b68c4bc635e81b184bc52d65d36':
  Open dictionary files always using O_RDONLY.
2013-10-28 09:40:41 -07:00
Keisuke Kuroyanagi 45d5d1e589 Merge "Open dictionary files always using O_RDONLY." 2013-10-28 16:37:41 +00:00
Keisuke Kuroyanagi 2492a9c965 am 6e23e336: Merge "Add a test for ver4 native binary dictionary."
* commit '6e23e336ff9277a346e1c244d76034354acbd274':
  Add a test for ver4 native binary dictionary.
2013-10-28 09:18:02 -07:00
Keisuke Kuroyanagi 6e23e336ff Merge "Add a test for ver4 native binary dictionary." 2013-10-28 16:14:45 +00:00
Baligh Uddin 776a5d8d15 am e28e5a84: (-s ours) am 2a6ee324: (-s ours) am 198235a9: (-s ours) am c9dea6d6: (-s ours) Import translations. DO NOT MERGE
* commit 'e28e5a84a655689b3f417c38793b51a5d22e4869':
  Import translations. DO NOT MERGE
2013-10-25 20:43:02 -07:00
Baligh Uddin e28e5a84a6 am 2a6ee324: (-s ours) am 198235a9: (-s ours) am c9dea6d6: (-s ours) Import translations. DO NOT MERGE
* commit '2a6ee3241c574b3c7879271c04314bc56c15b2ed':
  Import translations. DO NOT MERGE
2013-10-25 20:41:52 -07:00
Baligh Uddin 2a6ee3241c am 198235a9: (-s ours) am c9dea6d6: (-s ours) Import translations. DO NOT MERGE
* commit '198235a94fb0c435e75d201daeea9b9173ad5508':
  Import translations. DO NOT MERGE
2013-10-25 20:40:11 -07:00
Baligh Uddin 198235a94f am c9dea6d6: (-s ours) Import translations. DO NOT MERGE
* commit 'c9dea6d6c23f6bb01b0d2baed302b03956253ec8':
  Import translations. DO NOT MERGE
2013-10-25 20:38:58 -07:00
Baligh Uddin 71812c2f3f am ab033d4c: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'ab033d4cb17dc47e237eec620ad03a21dd2aa7f2':
  Import translations. DO NOT MERGE
2013-10-25 20:38:40 -07:00
Baligh Uddin ab033d4cb1 Merge "Import translations. DO NOT MERGE" 2013-10-26 03:36:50 +00:00
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 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