Commit Graph

29248 Commits (35b0b0391f55a9b49159fab05605537a864291c9)

Author SHA1 Message Date
Keisuke Kuroyanagi 67cff29fd4 Merge "Fix UserHistoryDictIOUtilsTests by adding @UsedForTesting." 2013-10-29 04:48:05 +00:00
Keisuke Kuroyanagi 7ee5e9364a Merge "Implement ProbabilityDictContent." 2013-10-29 04:47:02 +00:00
Keisuke Kuroyanagi 82c962f1e0 Fix UserHistoryDictIOUtilsTests by adding @UsedForTesting.
Change-Id: I1bfeeafa002496bb98a385b87437e7f4eb0f6e1d
2013-10-28 21:46:05 -07:00
Keisuke Kuroyanagi 94130d0234 am 2ed52f95: Merge "Add uint reading method to BufferWithExtendableBuffer."
* commit '2ed52f95e7679388c0ce3a51d660149aa601fa77':
  Add uint reading method to BufferWithExtendableBuffer.
2013-10-28 21:44:39 -07:00
Keisuke Kuroyanagi 2ed52f95e7 Merge "Add uint reading method to BufferWithExtendableBuffer." 2013-10-29 04:42:08 +00:00
Keisuke Kuroyanagi ecbd8af169 Implement ProbabilityDictContent.
Bug: 11073222
Change-Id: Ia57c940fe3507a53b9d32aa6b9ebc5581c08d11f
2013-10-28 21:41:41 -07:00
Satoshi Kataoka 69a0b5374f am 40a3712a: Merge "Show version in dumped info"
* commit '40a3712a4c3e64fc074033ca8e20cc3a6175bcb6':
  Show version in dumped info
2013-10-28 19:44:28 -07:00
Satoshi Kataoka 40a3712a4c Merge "Show version in dumped info" 2013-10-29 02:43:09 +00:00
Satoshi Kataoka 5982b1ea08 Show version in dumped info
Bug: 10315296
Change-Id: Icb8e271451f4f9c5b083bfb5eb408372479c2140
2013-10-28 19:22:20 -07:00
Keisuke Kuroyanagi 5ddd43a45c am 388c9536: Fix tests by adding @UsedForTesting.
* commit '388c953613bc06721eba28be31dc1f4936d8b88a':
  Fix tests by adding @UsedForTesting.
2013-10-28 17:23:02 -07:00
Keisuke Kuroyanagi 388c953613 Fix tests by adding @UsedForTesting.
Change-Id: I5b98db67a083bde65bb0f2fb714ae2e799fb1d45
2013-10-28 17:16:01 -07:00
Keisuke Kuroyanagi b8a1e8fa33 Add uint reading method to BufferWithExtendableBuffer.
Bug: 11073222
Change-Id: Iff503cba883dd6f4ce9079783ad6a2edf464ffba
2013-10-28 15:32:57 -07:00
Keisuke Kuroyanagi 6f48fe456f am 41b77116: Merge "Refactoring: Move some methods to the reading helper."
* commit '41b77116d30e38314a20daf5694f4d2d32b24002':
  Refactoring: Move some methods to the reading helper.
2013-10-28 15:13:18 -07:00
Satoshi Kataoka 9a6200eab8 am ba212e9d: Add a facility to dump the dictionary contents while closing
* commit 'ba212e9d76b021dfb99239e55f860693dac6723b':
  Add a facility to dump the dictionary contents while closing
2013-10-28 15:13:15 -07:00
Keisuke Kuroyanagi 41b77116d3 Merge "Refactoring: Move some methods to the reading helper." 2013-10-28 22:12:06 +00:00
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