A mirror for futokb (https://gitlab.futo.org/keyboard)
Go to file
Jean Chalard 7a408431fe Check the magic number of a decoded file
Checking the magic number of a file upon decoding is necessary,
because if the file is corrupt and we don't check it, we will
fall back to a simple copy of the corrupted file. Latin IME
would realize this and would not crash, but would not use the
corrupted dictionary. If this happened to be a main dictionary,
then the user would lose the ability to use the correct
built-in dictionary.

Not the same, but kinda similar to
Bug: 5223031

Change-Id: Ic2783dc9dd5f3dcf2865623d9452765fe3778db7
2011-08-31 14:37:11 +09:00
dictionaries auto import from //branches/cupcake/...@138744 2009-03-13 15:11:42 -07:00
java Check the magic number of a decoded file 2011-08-31 14:37:11 +09:00
native Fix a bug for calculating the edit distance 2011-08-26 19:30:56 +09:00
tests Move locale-related utility methods to LocaleUtils. 2011-08-29 12:29:35 +09:00
tools Remove the old dictionary maker 2011-08-15 14:24:37 +09:00
Android.mk Don't let the native code target be included twice when unbundling. 2010-03-09 15:01:09 -08:00
CleanSpec.mk Activate the implementation for the new dictionary format. 2011-07-14 06:55:20 +09:00