| Commit message (Expand) | Author | Age | Files | Lines |
* | Fix an NPE.•••Apparently, it is possible that File#getPath() returns null.
In this case, we'll have a null AssetFileAddress and an NPE
later down the road.
Bug: 9944824
Change-Id: Id6ceac1cb55439660f9811cf0fe3b574200d5a20
|  Jean Chalard | 2013-09-18 | 1 | -1/+2 |
* | Add getDictDecoder.•••Bug: 9618601
Change-Id: I173100ac704c03f7d5d0d53477e83cab5d1110d4
|  Yuichiro Hanada | 2013-09-12 | 1 | -2/+3 |
* | Add DictDecoder.readDictionaryBinary.•••Bug: 10434720
Change-Id: I14690a6e0f922ed1bab3a4b6c9a457ae84d4c1a4
|  Yuichiro Hanada | 2013-08-23 | 1 | -2/+0 |
* | Rename BinaryDictDecoder to Ver3DictDecoder.•••Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
|  Yuichiro Hanada | 2013-08-20 | 1 | -8/+3 |
* | Remove populateOptions.•••Change-Id: I1a1830aaa8ea586b68fc34ff3a27ae52b810e8af
|  Yuichiro Hanada | 2013-08-20 | 1 | -22/+11 |
* | [Refactor] Rename BinaryDictReader and BinaryDictDecoder.•••BinaryDictReader -> BinaryDictDecoder.
BinaryDictDecoder -> BianryDictDecoderUtils.
Change-Id: Iadf2153b379b760538ecda488dda4f17225e5f37
|  Yuichiro Hanada | 2013-08-19 | 1 | -7/+7 |
* | [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDict...•••Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
|  Yuichiro Hanada | 2013-08-15 | 1 | -4/+4 |
* | Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and...•••This reverts commit 4c63d0614e7ed7aea4bcbab3a17090d841661d92.
Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5
|  Ken Wakasa | 2013-08-15 | 1 | -4/+4 |
* | [Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryD...•••Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de
|  Yuichiro Hanada | 2013-08-15 | 1 | -4/+4 |
* | Remove the code and comments about version 1 format.•••Change-Id: I827052f234eeaa4dbcfd37da69a99866896a158b
|  Yuichiro Hanada | 2013-08-09 | 1 | -1/+1 |
* | Fix some warnings•••Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd
|  Jean Chalard | 2013-07-31 | 1 | -1/+0 |
* | Merge "Regenerate old version dictionaries using new format." |  Keisuke Kuroynagi | 2013-07-01 | 1 | -7/+3 |
|\ |
|
| * | Regenerate old version dictionaries using new format.•••Bug: 9617181
Change-Id: I228a3eac959f81b38e4092015e8e3c429d46fa60
|  Keisuke Kuroynagi | 2013-07-01 | 1 | -7/+3 |
* | | Merge "Fix a bug where AOSP Latin IME would not fill dictionaries" |  Jean Chalard | 2013-06-28 | 1 | -7/+2 |
|\ \
| |/
|/| |
|
| * | Fix a bug where AOSP Latin IME would not fill dictionaries•••There is no reason not to contact the dictionary provider
when we don't have internet permission or when the URL
is empty. It knows how to handle both these cases.
Bug: 9388602
Change-Id: I30c4540551ad2f5e527d3acd1842bbd749feca89
|  Jean Chalard | 2013-06-28 | 1 | -7/+2 |
* | | Fix some warnings•••Mostly remove unused imports
Change-Id: If8ceffdfad79b78194094527759f5c334746973e
|  Jean Chalard | 2013-06-27 | 1 | -2/+0 |
|/ |
|
* | Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
|  Ken Wakasa | 2013-06-24 | 1 | -5/+8 |
* | Allow downloadable dictionaries in development builds•••Bug: 9305379
Change-Id: Iab32753070a056d3861a45aa898911b7ab67dfb6
|  Kurt Partridge | 2013-06-05 | 1 | -10/+6 |
* | Cleanup an unused return value•••Change-Id: I974964aa3cc24b5480e57bd38c197fe7a49acaa4
|  Ken Wakasa | 2013-04-30 | 1 | -3/+0 |
* | Avoid leaking AssetFileDescriptor.•••Change-Id: Iac388c8aefc684980cb4c7131fb47319f6073eb3
|  Jeff Sharkey | 2013-04-29 | 1 | -2/+10 |
* | Put temp files within app files•••Bug: 8715614
Change-Id: I307d83923070994525cf0d27aad403e881a89314
|  Jean Chalard | 2013-04-25 | 1 | -1/+7 |
* | Merge the dictionary pack in Latin IME.•••Bug: 8161354
Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172
|  Jean Chalard | 2013-03-19 | 1 | -12/+2 |
* | Rename ProductionFlag.IS_EXPERIMENTAL to USES_DEVELOPMENT_ONLY_DIAGNOSTICS•••bug: 8393568
Change-Id: Ie5edf44a3627aca9416145aff56bf05bbf2a05f3
|  Ken Wakasa | 2013-03-18 | 1 | -2/+3 |
* | Access the dictionary pack only if have INTERNET permission•••Bug: 8161354
Change-Id: I68ee3acb2955a017d25666cc2dad791798f9064a
|  Jean Chalard | 2013-03-18 | 1 | -2/+8 |
* | Fix a possible crash•••If the dictionary ID, as indicated in the metadata, is
less than three chars long, it crashes LatinIME.
Of course we don't have such dictionary IDs in the current
metadata, but it's still better to be able to handle
the case gracefully ^^;
Change-Id: I60cdf6f8ecce9f4d44b42ddd5d157aebff9a4163
|  Jean Chalard | 2013-02-23 | 1 | -3/+7 |
* | Cleanups•••Follow-up to Idc6f419a
Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5
|  Jean Chalard | 2013-02-11 | 1 | -1/+1 |
* | Create methods in LatinIME to make the current dict lists•••Bug: 7005813
Change-Id: I82232af8e3071333b6fd01e4453b6b3c0a3ddb1f
|  Jean Chalard | 2013-01-31 | 1 | -2/+2 |
* | Refactoring•••This creates a new DictionaryInfoUtils class and moves a bunch
of static methods there for later usage.
Change-Id: Iecb0643e6029a7be36bd6cb36aa918c40e6d8c6a
|  Jean Chalard | 2013-01-29 | 1 | -154/+15 |
* | Fix Apache license comment•••Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
|  Tadashi G. Takaoka | 2013-01-21 | 1 | -8/+8 |
* | [AD4] Actually copy the file in place.•••This finally makes it work.
Bug: 7702011
Change-Id: I3508c88567f79598e4d1dff561b6ba7dc5c3808f
|  Jean Chalard | 2013-01-21 | 1 | -1/+1 |
* | Suppress dictionary pack support when IS_EXPERIMENTAL is true•••Change-Id: If8813cb989c1fa8744a3bf36e8514ced3c8f46a3
|  Ken Wakasa | 2012-11-09 | 1 | -2/+6 |
* | Make a better choice for the temporary file•••Change-Id: I745bb285b6b52875c8d2b3a94deb962352f9754e
|  Jean Chalard | 2012-10-12 | 1 | -7/+2 |
* | Put temporary files under a separate directory.•••Bug: 7328003
Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e
|  Jean Chalard | 2012-10-11 | 1 | -0/+12 |
* | Use a freq of 1 instead of 0 for non-word shortcuts.•••Also fix a spelling mistake in a comment
Bug: 7301525
Change-Id: I4437403dce620fed03871485ee04f13c51ce34fc
|  Jean Chalard | 2012-10-09 | 1 | -1/+1 |
* | Cleanup: Make some classes as final•••Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
|  Tadashi G. Takaoka | 2012-09-27 | 1 | -3/+3 |
* | Remove populateOptions(final ByteBuffer buffer).•••Change-Id: Ifc4c64c9cffe4f343c5a604c192db010a1792acc
|  Yuichiro Hanada | 2012-09-18 | 1 | -6/+6 |
* | Fix hackCanUseDictionaryFile.•••Bug: 7169473
Change-Id: I575aaa350042af076a8da5756993cdae9e73422c
|  Yuichiro Hanada | 2012-09-18 | 1 | -0/+3 |
* | Move constants and comments.•••Change-Id: Ifd66bda7d528827ba61c60531121ea206a2325be
|  Yuichiro Hanada | 2012-09-13 | 1 | -1/+2 |
* | Use ByteBuffer when reading FusionDictionary from file.•••Change-Id: Ia71561648e17f846d277c22309ac37c21c67a537
|  Yuichiro Hanada | 2012-08-24 | 1 | -6/+21 |
* | Add CollectionUtils class to create generic collection easily•••Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
|  Tadashi G. Takaoka | 2012-08-22 | 1 | -4/+3 |
* | Hack to skip reading an outdated binary file.•••Bug: 7005813
Change-Id: Ie0d8d4b2d5eb147838ca23bdd5ec1cecd4f01151
|  Jean Chalard | 2012-08-20 | 1 | -3/+46 |
* | Remove an updated dictionary that changed locales•••When a dictionary changes locale, we need to remove the file
that corresponds to the old version. It has a different path
than the new one, so we have to search for it explicitly.
Bug: 6540631
Change-Id: Ie9d63ba636651fe90f8fbb9627b7265ac7b34ccd
|  Jean Chalard | 2012-05-23 | 1 | -0/+33 |
* | Use the best matching cached dictionary for each category•••Bug: 6327270
Change-Id: I5a0e732c8a3fd55fd8ac3c8fe1c58e7f91555d97
|  Jean Chalard | 2012-04-23 | 1 | -9/+62 |
* | Pass a parameter to the dict pack if we don't have a default dict•••Also, optimize quite a bit the code that decides whether we have
a default dict or not.
Bug: 5705834
Change-Id: Ied20fbcbbc42cbe8c01759d11b1804d1156c6960
|  Jean Chalard | 2012-04-12 | 1 | -1/+3 |
* | Read the dictionary resource in a more sensical place.•••We don't need to pass this down all the way from LatinIME any more.
It fetched be done exactly where it needs to be.
Change-Id: I9f277f9c4f9de70ae755a1334d86c67bbb24c988
|  Jean Chalard | 2012-04-11 | 1 | -2/+4 |
* | Add language suffix to main dictionary•••Bug: 6319377
Change-Id: Ie6a887fefa12e33c17bfeb5d22984e7c1a7bdb46
|  Tadashi G. Takaoka | 2012-04-11 | 1 | -13/+3 |
* | Add RunInLocale class to guard locale switching•••Bug: 6128216
Change-Id: I8d9c75c773c3de886183b291ada7a3836295839b
|  Tadashi G. Takaoka | 2012-04-03 | 1 | -5/+9 |
* | Small performance improvement by removing interface accesses.•••Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
|  Ken Wakasa | 2012-03-17 | 1 | -3/+2 |
* | Fix string iterations in a couple places.•••Seems I didn't get how to iterate on a String correctly >.>
Talk about a big bug. Anyway, I think it's working now.
Bug: 5955228
Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0
|  Jean Chalard | 2012-02-03 | 1 | -2/+4 |
* | Cleanup unused import•••This change also gets rid of several compiler warnings.
Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
|  Tadashi G. Takaoka | 2011-10-04 | 1 | -3/+0 |