- Oct 02, 2013
-
-
Jean Chalard authored
When there are too many bigrams, we stop reading the file, so the file pointer is in an inconsistent place. This means we have no idea what's going to happen next. It's better to crash right away. Change-Id: Id3b7b78cbe4fda3493b3c9c46758763e1ab5f6a3
-
- Sep 24, 2013
-
-
Yuichiro Hanada authored
Change-Id: Idd9176c9943dfacac5a06957f1a07187b642b207
-
- Sep 19, 2013
-
-
Yuichiro Hanada authored
Bug: 9618601 Change-Id: I43c5840505c6a847aaf4893a400392ccd45903c0
-
- Sep 17, 2013
-
-
Keisuke Kuroyanagi authored
Bug: 6669677 Change-Id: Id2154db47adea2929559a4187a726f9dfa83363e
-
- Sep 13, 2013
-
-
Yuichiro Hanada authored
Bug: 9618601 Change-Id: I161d2845906f07c1251deb8005fdffe49c5b7940
-
- Sep 12, 2013
-
-
Yuichiro Hanada authored
Bug: 9618601 Change-Id: I173100ac704c03f7d5d0d53477e83cab5d1110d4
-
- Sep 11, 2013
-
-
Yuichiro Hanada authored
Change-Id: I356adb72047ebc43c924fbff1ff45e7460508a31
-
- Aug 26, 2013
-
-
Yuichiro Hanada authored
Change-Id: I259db91d837c67cbcb3b6dc504b21dca23a6a5be
-
Yuichiro Hanada authored
Change-Id: I9d04f64a58f5481cbb64cf1c09b5c485dd4176b4
-
Yuichiro Hanada authored
Bug: 10233675 Change-Id: I7b0eb07d195cd386cd0d9e97cd59bf48fcf24107
-
- Aug 23, 2013
-
-
Yuichiro Hanada authored
Bug: 10434720 Change-Id: I14690a6e0f922ed1bab3a4b6c9a457ae84d4c1a4
-
- Aug 22, 2013
-
-
Yuichiro Hanada authored
Change-Id: Ifb1cc01fa5bc2d6d69671f1acb9b9675a4081d32
-
Yuichiro Hanada authored
Change-Id: I1d6b086f1d9f0dbd8d74f964e29ae62c533af978
-
Yuichiro Hanada authored
Change-Id: I41049b9118b58838e5dedf8e5618d939ca70c5ef
-
- Aug 21, 2013
-
-
Yuichiro Hanada authored
Change-Id: I8939fdfb4f79e55bcd7393633784effb30df3f8f
-
Yuichiro Hanada authored
Change-Id: I4dabf17da7003b1d8204a83dbd10e5be6e8fd805
-
Yuichiro Hanada authored
Change-Id: Ic918822fc1b3a8a7c39ffbcf7defde2c5bf888db
-
- Aug 20, 2013
-
-
Yuichiro Hanada authored
Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
-
Yuichiro Hanada authored
Change-Id: I1a1830aaa8ea586b68fc34ff3a27ae52b810e8af
-
- Aug 19, 2013
-
-
Yuichiro Hanada authored
BinaryDictReader -> BinaryDictDecoder. BinaryDictDecoder -> BianryDictDecoderUtils. Change-Id: Iadf2153b379b760538ecda488dda4f17225e5f37
-
Yuichiro Hanada authored
Change-Id: I298f86b70d18cd08b240509b6f757c72e1a59ffe
-
Yuichiro Hanada authored
Change-Id: Ib104d5de71c2ab1a07921b407c74c21b0409d9af
-
- Aug 16, 2013
-
-
Yuichiro Hanada authored
Change-Id: I191dfe0e05ff3c2c5af99e8beebbb73b097748a3
-
Jean Chalard authored
Bug: 10247660 Change-Id: I1a0ac19f58f96adb5efac5fd35c6404831618c99
-
- Aug 15, 2013
-
-
Yuichiro Hanada authored
Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
-
Ken Wakasa authored
Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils." This reverts commit 4c63d061. Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5
-
Yuichiro Hanada authored
Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de
-
- Aug 14, 2013
-
-
Yuichiro Hanada authored
Change-Id: I9ba55582c533fef0eb3e60c46bf23c8b16ee1ff4
-
- Aug 13, 2013
-
-
Yuichiro Hanada authored
Bug: 9618601 Change-Id: Ief07fa0c3c4f7f5999a3fafcef4e47b6b6fd8143
-
- Jul 19, 2013
-
-
Ken Wakasa authored
Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442
-
- Jul 16, 2013
-
-
Jean Chalard authored
So that I don't have to find out everything again each time the test facility finds a case that does not work, and I want to dump the output to a combined file. Change-Id: I9f77f86055d1609c2e37747ac47421db1ba2498e
-
- Jul 04, 2013
-
-
Jean Chalard authored
This is much more robust and much better for testing. Change-Id: I43f900f9debc1d1ae4c3f3dd07dbe0ac85d31f52
-
Jean Chalard authored
Change-Id: Ib4045ebc9659f1b60183f2356e60e449d62c5be9
-
Jean Chalard authored
Change-Id: Ie26e22754bfa5d58135349164c57007c86bd97e8
-
- Jun 24, 2013
-
-
Ken Wakasa authored
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
-
- Jun 20, 2013
-
-
Jean Chalard authored
Bug: 8526576 Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba
-
- Apr 15, 2013
-
-
Jean Chalard authored
Conservatively reduce the number of unigrams to test from 1000 to 100. Bug: 8583091 Change-Id: I48621ec44ff5f0590640d7c6b174ab5a6d267aaf
-
Jean Chalard authored
Change-Id: I27b925be030e9e6ee8ae49dc13f39accec996d7e
-
Jean Chalard authored
There are two problems here. The first one is the tests would send an invalid unicode character. Although we could want dicttool to handle this more gracefully, it's fine for now. The second problem is much more serious. If a node has more than 128 children, then the java code will crash trying to read the dictionary back because of a bug that this change fixes. In theory, it's possible that happens when we try to load the user history dictionary back from the disk - native code is not affected so there is no other point that may cause a problem. In the practice, that means you'd need to have 129 words with a common prefix (including empty string) but all different after this. It's almost impossible with Google Keyboard since there are only so many keys on the keyboard that you can make a word out of, and then again you'd have to do it repeatedly until it actually enters the user history dictionary, wait for it to get saved on the disk. The bad news is, if you manage to get this far, the keyboard will crash every time and won't be able to get up until you clear data for the package. The good news is, the dictionary itself is not corrupted and only the reading code is wrong. So updating to a newer version would actually even recover from this situation. All in all, considering how almost-impossible this is to trigger, I don't think even a single user actually did hit this bug. Bug: 8583091 Change-Id: Iabb2a7f47cbd9ed3193d2a3487318d280753e071
-
- Apr 01, 2013
-
-
Jean Chalard authored
The important bug is in findWordInTree. The problem, which is not obvious, is that we were calling codePointAt() with the code point index in the string, instead of the char index. The other bug this change fixes was harmless in the practice, because it's in the iteration which is only used for debug and pretty printing purposes. It's very similar in that it would substract a length in code point to a length in chars and truncate a StringBuilder at that length, so it would fail in a quite similar manner. This changes the meaning of the "length" attribute in Position, but it's clearer this way anyway. Bug: 8450145 Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0
-