Skip to content
Snippets Groups Projects
  1. Mar 14, 2012
  2. Mar 06, 2012
  3. Feb 22, 2012
    • Jean Chalard's avatar
      Activate the code to cancel a manual pick (A5) · 9271b770
      Jean Chalard authored
      This finally makes active the behavior described in
      Bug: 5968922
      
      Change-Id: I363ed23270c3dea75411ea806011225097b5d07c
      9271b770
    • Jean Chalard's avatar
      Give LastComposedWord knowledge of the separator (A2) · 66bb5635
      Jean Chalard authored
      This stores the separator that was used to commit the word in
      the LastComposedWord. It may be NOT_A_SEPARATOR if there was
      no separator (for example, the cursor moved causing a commit,
      or there was a manual pick). This is necessary to implement
      feature request #5968922.
      
      Change-Id: I5fcf19a78ec66d68d4df89418eaef13952588207
      66bb5635
    • Jean Chalard's avatar
      Give LastComposedWord knowledge of the committed word (A1) · cf9d9262
      Jean Chalard authored
      There is no point storing the prospective autocorrect - we are
      recomputing it anyway. The committed word however will be necessary
      to implement feature request #5968922.
      
      Change-Id: I588c18e1a5a1050a791d601de465f421ccbe36cd
      cf9d9262
  4. Feb 08, 2012
  5. Feb 06, 2012
  6. Feb 03, 2012
  7. Feb 02, 2012
  8. Jan 26, 2012
  9. Dec 21, 2011
  10. Dec 19, 2011
  11. Dec 18, 2011
  12. Dec 16, 2011
  13. Dec 15, 2011
    • Jean Chalard's avatar
      Group all input-related info into an inner class. · 27dff638
      Jean Chalard authored
      Currently, these variables hold the info about the composing
      word, or maybe some outdated info, and it's not very clear
      which it is. LatinIME is maintaining the freshness info in
      a separate boolean, and uses it throughout the code for many,
      many things, leading to much confusion.
      The idea in grouping this info is, it can be saved in another
      instance and restored later. It can be tested against to know
      whether there is actually outdated but kept info or not, and
      it should allow to straighten out what is actually currently
      being typed. Ultimately, it will eliminate the need for
      LatinIME to keep track of the status of the info in the
      word composer.
      
      Change-Id: I00e2c690f303f8320c9be35590a6df4583e9e456
      27dff638
  14. Dec 13, 2011
    • Jean Chalard's avatar
      Various mini-cleanups · f7d6517d
      Jean Chalard authored
      - Stop the word composer from escaping - take a page from the law
        of Demeter and only report what is actually needed.
      - Fix typos in comments.
      - Add a comment for a fishy processing.
      - Remove a useless local variable.
      
      Change-Id: I5fa78901cbb5483fc9683bfb7094f47244b85df6
      f7d6517d
    • Jean Chalard's avatar
      Move mBestWord to the word composer. · 117fc93f
      Jean Chalard authored
      mBestWord has a confusing name - it's actually an auto-correction.
      It's cleaner if it lives in the word composer because an
      auto-correction should be tied to a specific user input, and
      should be reset each time the user input changes to avoid
      race conditions.
      
      Change-Id: I718d29395bc747372067e6440e090c6a181994ae
      117fc93f
  15. Dec 12, 2011
  16. Nov 29, 2011
  17. Nov 21, 2011
    • Jean Chalard's avatar
      Special case quotes at start and end of words · c83359f9
      Jean Chalard authored
      Single quote at start of word is not considered a part of a
      word any more.
      Single quote at the end of a word now behave like capitalization:
      lookup in the dictionary is done *disregarding* a final quote,
      and it is forcefully added back into the suggestions afterwards.
      
      Bug: 5566368
      Change-Id: I14dd3815f4b743edba56d64a3abdf4b73d863a6a
      c83359f9
  18. Oct 28, 2011
  19. Sep 16, 2011
  20. Sep 15, 2011
    • Jean Chalard's avatar
      Avoid returning an object that's still used internally · 5c08151c
      Jean Chalard authored
      There is no definite path known for this to end up being
      touched by other classes, but we could imagine through
      some way or some other it ends up shoved in the stringbuilder
      pool, leading to catastrophic results.
      
      Hopefully related to
      Bug: 5248688
      
      Change-Id: Ib8abfc31263cbf31d515ed607ced5d8253971938
      5c08151c
  21. Sep 13, 2011
  22. May 12, 2011
  23. May 10, 2011
Loading