Skip to content
Snippets Groups Projects
  1. Feb 23, 2013
    • Jean Chalard's avatar
      Fix a possible crash · 76ead0ea
      Jean Chalard authored
      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
      76ead0ea
  2. Feb 12, 2013
    • Jean Chalard's avatar
      Cleanups · 1c5b2a41
      Jean Chalard authored
      Follow-up to Idc6f419a
      
      Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5
      1c5b2a41
  3. Jan 31, 2013
  4. Jan 29, 2013
    • Jean Chalard's avatar
      Refactoring · d515f134
      Jean Chalard authored
      This creates a new DictionaryInfoUtils class and moves a bunch
      of static methods there for later usage.
      
      Change-Id: Iecb0643e6029a7be36bd6cb36aa918c40e6d8c6a
      d515f134
  5. Jan 21, 2013
  6. Nov 09, 2012
  7. Oct 12, 2012
  8. Oct 11, 2012
  9. Oct 09, 2012
  10. Sep 27, 2012
  11. Sep 18, 2012
  12. Sep 13, 2012
  13. Aug 24, 2012
  14. Aug 22, 2012
  15. Aug 20, 2012
  16. May 23, 2012
    • Jean Chalard's avatar
      Remove an updated dictionary that changed locales · b9e2bce9
      Jean Chalard authored
      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
      b9e2bce9
  17. Apr 23, 2012
  18. Apr 12, 2012
  19. Apr 11, 2012
  20. Apr 03, 2012
  21. Mar 16, 2012
  22. Feb 03, 2012
    • Jean Chalard's avatar
      Fix string iterations in a couple places. · 9242a2bc
      Jean Chalard authored
      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
      9242a2bc
  23. Oct 04, 2011
  24. Aug 29, 2011
  25. Aug 25, 2011
  26. Aug 24, 2011
  27. Aug 18, 2011
    • Jean Chalard's avatar
      Check the main dict id to be able to fallback. · ee7daefd
      Jean Chalard authored
      Bug: 5095140
      Change-Id: I02032923ca2a65bd8fbabc0abbe6a476f7542187
      ee7daefd
    • Jean Chalard's avatar
      Move the settings test to a more appropriate place. · 83207fb4
      Jean Chalard authored
      This change refactors the dictionary selection code so that the
      cached dictionary files list and the settings tests are more
      cleanly separated.
      This will also help with future refactorings that will test for
      the presence of the main dictionary and insert the fall back if
      it's not supplied by the dictionary pack.
      
      Bug: 5095140
      Change-Id: I8d7caad7c054031df71fe78b043801a774d50f65
      83207fb4
    • Jean Chalard's avatar
      Exception refactoring · 80e0bf04
      Jean Chalard authored
      Now that the dictionary pack can return several files, it's better
      to handle IO exceptions for each file rather than globally. This
      also will help with next implementation steps.
      
      Bug: 5095140
      Change-Id: I5ed135ad2ad4f55f61f9b3f92c48a35d5c24bdb2
      80e0bf04
  28. Aug 17, 2011
  29. Aug 12, 2011
  30. Aug 11, 2011
  31. Aug 02, 2011
    • Jean Chalard's avatar
      Change the dictionary file passing schema to a list of ids · fae8d60e
      Jean Chalard authored
      The dictionary filename used to be passed directly to Latin IME.
      This change implements, on the part of Latin IME, the passing of
      them as an id that should then be passed through
      openAssetFileDescriptor.
      
      Bug: 5095140
      Change-Id: I7d1e9d57c19f0645045368f68681680f238189fc
      fae8d60e
  32. Jul 21, 2011
    • Jean Chalard's avatar
      Set the locale for opening an asset · e150ef98
      Jean Chalard authored
      This is necessary because we don't know any more whether the
      locale of the process is the expected one when the dictionary
      is loaded asynchronously.
      
      Bug: 5023141
      Change-Id: Ia9e4741f3b4a04a9f085f5b65ec122471b0c2dff
      e150ef98
  33. Jul 19, 2011
    • Jean Chalard's avatar
      Add a number of NULL pointer guards. · 44861474
      Jean Chalard authored
      None of these are expected to actually be null, but those are
      included for peace of mind and foolproofing against future
      code changes.
      
      Bug: 4580040
      Change-Id: Ib112b3e5db5f177aaf61767164b7e78d711f90a0
      44861474
  34. May 17, 2011
    • Jean Chalard's avatar
      Fix a bug in one of the methods to get a dictionary. · bf65f31c
      Jean Chalard authored
      One of the two methods for getting a dictionary from the dictionary
      pack had a bug and would not tolerate not getting an actual dictionary.
      This change fixes that.
      
      Change-Id: Id58bb27258494fb3aa60ec07a4eb27cfb5cc7279
      bf65f31c
Loading