Commit graph

18212 commits

Author SHA1 Message Date
Keisuke Kuroyanagi
cecb793ff3 am ef63947f: (-s ours) Add boundary checking for PtNode Array reading. DO NOT MERGE
* commit 'ef63947f7d10bcbb3237661ad480b430d4208833':
  Add boundary checking for PtNode Array reading. DO NOT MERGE
2013-09-30 18:02:48 -07:00
Keisuke Kuroyanagi
e628cd3c32 Use reentrant lock for main dictionaries. DO NOT MERGE
cherrypick of Iaa9b79fc770d8ae2ec9d7c362c90c28bc9f65ea8

Bug: 10964805
Change-Id: Id5e67b00bf9594be0591c87407a78146297e0e78
2013-10-01 02:15:05 +09:00
Yuichiro Hanada
ceb364c041 Fix PrioritizedSerialExecutor.
It was possible that fetchNextTasks() would be called by multiple
threads concurrently.
If it happens, some tasks in the task queues might be ignored.

cherrypick of Idc81c43c45e382da3850cc55b9a42c281548d2a8

bug: 10957075
Change-Id: I41bf90dda15306ee879350f96a791d940ea31da1
2013-09-29 11:41:13 +09:00
Keisuke Kuroyanagi
ef63947f7d Add boundary checking for PtNode Array reading. DO NOT MERGE
cheery-pick of Iea5e19d98d2fc26f137046dd5f8e339239672351

Bug: 10957075
Change-Id: I3f1806c32fe480f2e7422d3a945932b9cc0cd98b
2013-09-29 11:39:09 +09:00
Keisuke Kuroyanagi
10fa6a2e51 Stop reading dictionary while regenerating. (DO NOT MERGE)
Cherrypick of Iead7268a9371b48d729a5f65074ccbc05f3185db

Bug: 10831272
Change-Id: Ib6f314ac68696616532ff9c05c7f35813137bf9f
2013-09-28 00:36:39 +09:00
Keisuke Kuroynagi
597ea46beb am b2239e37: am ae10e2c1: am da7aab8e: Merge "Fix: native crash while iterating bigramslist."
* commit 'b2239e37d0ba89660d607a4cfc8f2839c8c5d78a':
2013-09-26 07:34:19 -07:00
Tadashi G. Takaoka
6dcf229c3b am d0fbfdeb: am 20c03e2d: am e6c51847: Fix NPE in SubtypeLocale.getSubtypeDisplayName
* commit 'd0fbfdeb81c68333c4e55c4d6211e951bf25c27f':
2013-09-26 07:34:15 -07:00
Keisuke Kuroynagi
6f356d049f am f7431d3d: am 958e257e: am a54b8b3f: Merge "Get BigramsPos and ShortcutPos via structure policy."
* commit 'f7431d3d0e044d4558754b56401b526f35d3db11':
2013-09-26 07:34:12 -07:00
Jean Chalard
df0ffce37d am fa86b758: am 0f38876a: am 1676b838: Merge "Fix a bug when moving the pointer in a > 48 chars word"
* commit 'fa86b758b158b0ab45aaa5ffb5bf010f47b37c21':
2013-09-26 07:34:08 -07:00
Ken Wakasa
dbf4f477c1 am c2a4642d: am 4c606e6a: am a6906a62: Merge "Move settings related classes to "settings""
* commit 'c2a4642dae8e993bdac69519c0c9675cb41c4caa':
2013-09-26 07:33:45 -07:00
Tadashi G. Takaoka
726a3d667e am 31e09fe2: am 3b84f81b: am 71dc7a38: Fix missing Devanagari digit 9
* commit '31e09fe20020be65b2271d942c0e4dc891beef1c':
2013-09-26 07:33:40 -07:00
Tadashi G. Takaoka
7d30f32f33 am b852a4de: am b62a5ed1: am dc711101: Merge "Fix IllegalArgumentException in MoreKeysKeyboard"
* commit 'b852a4dee780fd34efee7372e6519b8372def027':
2013-09-26 07:33:36 -07:00
Ken Wakasa
8afebe18c4 am f74c07e5: am db07b716: am a4c44654: Merge "Move a couple classes to the utils package"
* commit 'f74c07e548f783ad8668c69d643a9811831e56a5':
2013-09-26 07:33:32 -07:00
Tadashi G. Takaoka
071530c828 am aec2c01c: am edc2bb73: am 2e0f750a: Reorder more keys of ALEF in Arabic and Persian
* commit 'aec2c01cccc30e64f145cab5856df6d84801f99c':
2013-09-26 07:33:26 -07:00
Tadashi G. Takaoka
308ec876ce am 70e34638: am def0cb35: am 03a76a07: Merge "Restrict bogus events hack to certain classes of tablets"
* commit '70e34638f3729796218e8c1bb5085810afe28c10':
2013-09-26 07:33:22 -07:00
Jean Chalard
e9505e6f4a am 08790c53: am 7a54dc88: am 257750d9: [FD1] Move parents\' address computation outside
* commit '08790c53817e24335ee69b7a61c2dad8aaf97055':
2013-09-26 07:33:19 -07:00
Ken Wakasa
004f439ff9 am 4f8cf478: am 6563a9a8: am 4d5939fc: Remove dependencies to android source in dicttool
* commit '4f8cf4785da320712f29cab8a761b5a7d9358773':
2013-09-26 07:33:15 -07:00
Ying Wang
fed1cd16cb am c93b3fc0: am a1313112: am cc54032b: Fix build.
* commit 'c93b3fc0a8521a81bfebefc028a3586bbc4a9a36':
2013-09-26 07:33:12 -07:00
Tadashi G. Takaoka
bdef471f16 am 0a72242b: am a62621ca: am 1a894aeb: Merge "Distinguish key press in repeat key"
* commit '0a72242bb78f979fe88aeacfa92a295bbe80df4c':
2013-09-26 07:33:08 -07:00
Jean Chalard
f473b88150 am d748c357: am 3f201481: am 06aa3d02: Merge "Small debug helper"
* commit 'd748c357425b511c2842c361e5dc729bf018bb46':
2013-09-26 07:33:04 -07:00
Jean Chalard
0edde0fe3a am 0dac8e52: am 8ab3c1bf: am d893fe5d: Merge "Don\'t put spaces before and after asterisks"
* commit '0dac8e525da17621b86e02b0df6d007b62392dba':
2013-09-26 07:33:01 -07:00
Tadashi G. Takaoka
f7016bb210 am e0e27ee9: am c4c6d05c: am 488659e1: Merge "Add xxhdpi assets"
* commit 'e0e27ee964c911cdaf540ec2b4ce9f40f9c61406':
2013-09-26 07:32:58 -07:00
Jean Chalard
d79b4efad6 am 969861f6: am d1609266: am 2bc980ee: Merge "Serialize commands sent to a separate threads"
* commit '969861f638163950ae55913e16c59d0635b5e802':
2013-09-26 07:32:46 -07:00
Keisuke Kuroynagi
26c5765fe3 am 594eebf3: am e3b591f1: am 544e891c: Merge "Replace NOT_VALID_WORD with NOT_A_VALID_WORD_POS"
* commit '594eebf373d612768fc111470f2c51017fc32472':
2013-09-26 07:32:43 -07:00
Keisuke Kuroynagi
5a157a0a61 am 88ecf9f0: am f9b175b6: am 3bf996f9: Merge "Add a test for user history for switching languages."
* commit '88ecf9f03ed7c3ca363bff411609f094addd5216':
2013-09-26 07:32:36 -07:00
Tadashi G. Takaoka
26edc70438 am c65e5bbd: am 0a951d55: am 0d47f284: Merge "Move punctuations to more key of z in dvorak"
* commit 'c65e5bbd0f244a1ff210edf00ab909dbb7743624':
2013-09-26 07:32:32 -07:00
Jean Chalard
d8365ae21d am 3386c1a5: am 8850a158: am 988a1f31: Merge "Fix a bug with bad view reuse."
* commit '3386c1a53ace5714ad57e9db4d7b4944fffafbe5':
2013-09-26 07:32:28 -07:00
Jean Chalard
895c1c9ed9 am 2bd473a5: am a45075f3: am 4d4310df: Merge "Fix a wrong call to cancel downloads"
* commit '2bd473a5a00f72ea841744dbbec14694f9ae0bb7':
2013-09-26 07:32:25 -07:00
Keisuke Kuroynagi
65d9882c47 am f1f911cb: am df266ac7: am b6f286bf: Merge "Make bigram dictionary and traverse session use structure policy."
* commit 'f1f911cba543fbfabbac5a22393414da2600528e':
2013-09-26 07:32:21 -07:00
Keisuke Kuroynagi
3f21a891da am b02c1a85: am 1a16cdc6: am 4944827e: Merge "Add methods for dynamic updating binary dictionary."
* commit 'b02c1a85fc97d204e6cb024199cf06badcc87278':
2013-09-26 07:32:11 -07:00
Kurt Partridge
2876005bcd am f6fb6b56: am 83196d0b: am 8bfd5782: Merge "Do not output string-encoded MotionEvent."
* commit 'f6fb6b5648df0410fef6b44c3f9a0cf702f878a4':
2013-09-26 07:32:07 -07:00
Baligh Uddin
5fcc316cad am 9fe58fcc: (-s ours) am 5f18b4be: (-s ours) am f6c9201d: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '9fe58fcc4b6770a0488cdd4d2428e3aa233fb052':
2013-09-26 07:32:03 -07:00
Keisuke Kuroynagi
ba2152d8a5 am e9d811e1: am 6df2b0ba: am 34047d89: Quit ignoring language cost of exact matches.
* commit 'e9d811e131602ea9f1aa86164db8b6f3c85234f7':
2013-09-26 07:31:59 -07:00
Keisuke Kuroynagi
2dccbae605 am 58e74a0f: am 551091ef: am cfbb7fbd: Fix: Read lock is wrongly used for gutSuggestions.
* commit '58e74a0fc0007fb628de6674ea89f01c8fea93c1':
2013-09-26 07:31:55 -07:00
Baligh Uddin
df6948f4be am 6e85527e: (-s ours) am 8eddeffd: (-s ours) Import translations. DO NOT MERGE
* commit '6e85527ef2cc159b568dab8fc1195b0753bfe399':
2013-09-26 07:31:52 -07:00
Ken Wakasa
d99555822f am 82785e0c: am 70147fa0: am 58b2a637: Merge "Update ExpandableDictionary.BASE_CHARS[]"
* commit '82785e0c49854418c18d4b4e8e41cedcd996c5de':
2013-09-26 07:31:48 -07:00
Tadashi G. Takaoka
c2eb2b4ea7 am 420449c1: am a5424c82: am f5be54f7: Merge "Move TypefaceUtils and ViewUtils to utils package"
* commit '420449c141d8cc0f4116cf7ffb56a2690855e705':
2013-09-26 07:31:39 -07:00
Tadashi G. Takaoka
d8065eb050 am 36913d6b: am b6b6fa7d: am bac479bb: Merge "Reorganize Utils class"
* commit '36913d6bda920a56f21406cdcd188800192878c9':
2013-09-26 07:30:04 -07:00
Keisuke Kuroynagi
09e0ccac5b am f99a6d83: am 0f924845: am 0c6e0778: Merge "Remove flags from dicNodeProperties."
* commit 'f99a6d83011cd595dbff5b7510d61f4c3951437a':
2013-09-26 07:30:01 -07:00
Tadashi G. Takaoka
89cc75a7f5 am fedb2970: am c85efa92: am 72c2feb5: Use TimeUnit instead of DateUtils for readability
* commit 'fedb297059fab2d662d32ae7cc5217a33bd3323a':
2013-09-26 07:29:57 -07:00
Jean Chalard
8a273cc02a am 603bd7cc: am c29acb5b: am cb13d11c: Add a trace.
* commit '603bd7cc62119ef7950aca1d5358aa776ba35856':
2013-09-26 07:29:52 -07:00
Jean Chalard
430c8c153d am 106596c1: am 7511b2eb: am 9aa1efdf: Merge "Change how the length of the random words are chosen."
* commit '106596c1a2add3ab54c9b36b4d68705964eef8dd':
2013-09-26 07:29:47 -07:00
Jean Chalard
2c1f7b65a1 am 30abb35a: am cbc1fd04: am db6984c7: Merge "Have random words stick to a restricted (random) charset"
* commit '30abb35a995a978f6ee26e8c85d5f0cd7a24690f':
2013-09-26 07:29:44 -07:00
Keisuke Kuroynagi
ee54e8a2f6 am 5b38da97: am 89ca0e13: am 49910a9d: Merge "Fix: release lock in UserHistoryDictionary."
* commit '5b38da97ad6b5356c294f1be6f23063c1bb37f4b':
2013-09-26 07:29:40 -07:00
Keisuke Kuroynagi
e10ccbe25e am 542fc10a: am 2e22356d: am 0933353c: Merge "Read version 3 dictionary header."
* commit '542fc10afcbdfb29ac0ce545e8916d7e6a265aea':
2013-09-26 07:29:37 -07:00
Keisuke Kuroynagi
8b12b5dab0 am 57b60971: am 06e8860e: am db296305: Merge "DictionaryWriter to abstract binary dictionary writing."
* commit '57b60971a9e96016f39fa08fb6f104a2b16253e6':
2013-09-26 07:29:33 -07:00
Keisuke Kuroynagi
78110b11ac am 90f457d7: am 7f601359: am cac66f29: Merge "Return NOT_A_PROBABILITY in getProbability for inalid dictionary."
* commit '90f457d7b14bf697549cc78a28d06d9b23feb644':
2013-09-26 07:29:28 -07:00
Jean Chalard
8432dcdd95 am 090bcd7d: am 8c80b1f1: am b242ce4e: Merge "Add a two-args constructor to BinaryDictIOTests"
* commit '090bcd7d4c2b0fe22e6be7218678bb3211f33445':
2013-09-26 07:29:25 -07:00
Jean Chalard
1611365428 am 66207931: am fe77485f: am eec3067f: Merge "Generalize constuctors & add tests"
* commit '66207931292feb1df624cb7a7c3b57d4cc82e56c':
2013-09-26 07:29:20 -07:00
Keisuke Kuroynagi
df97c0db13 am 0a27890a: am 4ee44868: am 24025135: Merge "Allow force auto commit when the top is long multiword."
* commit '0a27890a807d323670e188938f293cd020738516':
2013-09-26 07:29:17 -07:00