Skip to content
Snippets Groups Projects
  1. Apr 16, 2013
  2. Apr 15, 2013
    • Baligh Uddin's avatar
      Import translations. DO NOT MERGE · fd2b08c7
      Baligh Uddin authored
      Change-Id: I865e5c110e5a31e209fad2e909deb8589347657d
      Auto-generated-cl: translation import
      fd2b08c7
    • Baligh Uddin's avatar
      Import translations. DO NOT MERGE · a130057b
      Baligh Uddin authored
      Change-Id: I5f6f7233c46f7a5faaac5f959c93329ace4c70f4
      Auto-generated-cl: translation import
      a130057b
    • Ken Wakasa's avatar
      Adjust CHAR_LIMITs · e3aa7f10
      Ken Wakasa authored
      bug: 8589156
      bug: 8588538
      bug: 8588746
      
      Change-Id: I14050dc3542946c1bae2e1dc8b63b99758d5f9aa
      e3aa7f10
    • Jean Chalard's avatar
      Remove a useless function · bc501647
      Jean Chalard authored
      Bug: 8583091
      Change-Id: I9195d68e44e9a282e25ccd2978d7b4088f600170
      bc501647
    • Jean Chalard's avatar
      Small performance improvement / minor bugfix · 1e5bbe4c
      Jean Chalard authored
      The only place where it's used is checked for nullity.
      Also, it's possible, also difficult, to match a different
      recapitalize with the old code, triggering a bug that
      this fixes.
      
      Change-Id: I717d6df489025c75d1caca290a9086c3b39a9306
      1e5bbe4c
    • Jean Chalard's avatar
      Remove gesture suggestions with an INT_MIN score · a5a2f3e3
      Jean Chalard authored
      Bug: 7980115
      Change-Id: I8de31068992aec712eaad132857d9dc61f28e30a
      a5a2f3e3
    • Jean Chalard's avatar
      Update dictionaries · e99daea0
      Jean Chalard authored
      >>> dictionaries/en_GB_wordlist.combined.gz
      Header :
        date : 1366003032 <=> 1366021966
      Body :
      Deleted: FTP 88
      Deleted: HTTPS 66
      Added: www 72
      
      >>> dictionaries/en_US_wordlist.combined.gz
      Header :
        date : 1366003070 <=> 1366021978
      Body :
      Deleted: FTP 88
      Deleted: HTTPS 66
      Added: http 95
      Added: www 71
      
      >>> dictionaries/en_wordlist.combined.gz
      Header :
        date : 1366003861 <=> 1366021987
      Body :
      Deleted: FTP 88
      Deleted: HTTPS 66
      Freq changed: http 120 -> 95
      Added: www 71
      
      >>> java/res/raw/main_en.dict
      Header :
        date : 1366003861 <=> 1366021987
      Body :
      Deleted: FTP 88
      Deleted: HTTPS 66
      Freq changed: http 120 -> 95
      Added: www 71
      
      Bug: 8233807
      Change-Id: Id55f6e0dcc9ddff26902c0857edcbb9b10d42328
      e99daea0
    • Jean Chalard's avatar
      Have Latin IME re-capitalize a selected string · 2995abe7
      Jean Chalard authored
      Upon pressing Shift, if there is currently a selected string, have
      Latin IME change its capitalization.
      This does not yet have the keyboard mode follow the mode - the change
      is complicated enough as is.
      
      Bug: 7657025
      Change-Id: I54fe8485f44e04efd72c71ac9feee5ce21ba06f2
      2995abe7
    • Jean Chalard's avatar
      If there are no suggestion span, recompute suggestions. · 0e9ee4d3
      Jean Chalard authored
      Bug: 8084810
      Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335
      0e9ee4d3
    • Jean Chalard's avatar
      Reject a previously user-refused suggestion. · d40f3f6b
      Jean Chalard authored
      If the user gestures a word, then hits backspace in
      disapproval, and gestures about the same thing again,
      make sure that we don't suggest the same thing again.
      
      Bug: 7549311
      Change-Id: I793bc4df7c3841fa8f2f4146707c26e873f374c1
      d40f3f6b
    • Tadashi G. Takaoka's avatar
      Remove unnecessary harmful finish() from SettingsActivity · 216fb6a0
      Tadashi G. Takaoka authored
      Bug: 8560722
      Change-Id: I825b135bd13aca17e712330660978b834648dbc3
      216fb6a0
    • Tadashi G. Takaoka's avatar
      Add preference dependency to gesture input related options · 29105a72
      Tadashi G. Takaoka authored
      Bug: 8613600
      Change-Id: I279d3264080aede59203205c45763c7f8ff08ae6
      29105a72
    • Jean Chalard's avatar
      Update dictionaries · da175bdc
      Jean Chalard authored
      >>> dictionaries/en_GB_wordlist.combined.gz
      Header :
        date : 1355802832 <=> 1366003032
        version : 29 <=> 31
      Body :
      Deleted: HTTP 95
      Deleted: WWW 72
      Added: mm 135
      
      >>> dictionaries/en_US_wordlist.combined.gz
      Header :
        date : 1355112451 <=> 1366003070
        version : 28 <=> 31
      Body :
      Deleted: HTTP 95
      Deleted: WWW 71
      Added: mm 135
      
      >>> dictionaries/en_wordlist.combined.gz
      Header :
        date : 1355802851 <=> 1366003861
        version : 29 <=> 31
      Body :
      Deleted: HTTP 95
      Deleted: WWW 71
      Added: mm 135
      
      >>> dictionaries/fr_wordlist.combined.gz
      Header :
        date : 1357617878 <=> 1366003217
        version : 29 <=> 31
      Body :
      Not a word: re false -> true
      Shortcut added: re le 15
      
      >>> dictionaries/nb_wordlist.combined.gz
      Header :
        date : 1355802836 <=> 1366003450
        version : 29 <=> 31
      Body :
      Freq changed: iPhone 91 -> 30
      Added: app 30
      
      >>> dictionaries/ru_wordlist.combined.gz
      Header :
        date : 1358763720 <=> 1366003693
        version : 30 <=> 31
      Body :
      Freq changed: за 140 -> 181
      Freq changed: не 140 -> 191
      Freq changed: про 131 -> 151
      Freq changed: эры 125 -> 140
      
      >>> dictionaries/sv_wordlist.combined.gz
      Header :
        date : 1355802856 <=> 1366003804
        version : 29 <=> 31
      Body :
      Added: vi 180
      
      >>> java/res/raw/main_en.dict
      Header :
        date : 1355802851 <=> 1366003861
        version : 29 <=> 31
      Body :
      Deleted: HTTP 95
      Deleted: WWW 71
      Added: mm 135
      
      >>> java/res/raw/main_fr.dict
      Header :
        date : 1357617878 <=> 1366003217
        version : 29 <=> 31
      Body :
      Not a word: re false -> true
      Shortcut added: re le 15
      
      >>> java/res/raw/main_ru.dict
      Header :
        date : 1358763720 <=> 1366003693
        version : 30 <=> 31
      Body :
      Freq changed: за 140 -> 181
      Freq changed: не 140 -> 191
      Freq changed: про 131 -> 151
      Freq changed: эры 125 -> 140
      
      Bug: 8560415
      Bug: 7556679
      Change-Id: If1c628edcb1cc5efd67e1715acf94f19c0eb4643
      da175bdc
    • Tadashi G. Takaoka's avatar
      Ignore modifier key while sliding key input · 8dfbb740
      Tadashi G. Takaoka authored
      Bug: 8284624
      Change-Id: I839d7a769d98f29be647dbe511ba3f73ca44446d
      8dfbb740
    • Tadashi G. Takaoka's avatar
      Reset vertical correction when more suggestions are in modal mode · 51c38a44
      Tadashi G. Takaoka authored
      Bug: 8605150
      Change-Id: Iadbebfb80e765c97e58e8524eb87419f2a9e41d4
      51c38a44
    • Jean Chalard's avatar
      Fix Binary dict tests · c2e9c511
      Jean Chalard authored
      There are two problems here. The first one is the tests would send
      an invalid unicode character. Although we could want dicttool to
      handle this more gracefully, it's fine for now.
      
      The second problem is much more serious. If a node has more than
      128 children, then the java code will crash trying to read the
      dictionary back because of a bug that this change fixes. In
      theory, it's possible that happens when we try to load the user
      history dictionary back from the disk - native code is not affected
      so there is no other point that may cause a problem.
      In the practice, that means you'd need to have 129 words with a
      common prefix (including empty string) but all different after
      this. It's almost impossible with Google Keyboard since there are
      only so many keys on the keyboard that you can make a word out
      of, and then again you'd have to do it repeatedly until it
      actually enters the user history dictionary, wait for it to get
      saved on the disk.
      The bad news is, if you manage to get this far, the keyboard will
      crash every time and won't be able to get up until you clear
      data for the package.
      The good news is, the dictionary itself is not corrupted and only
      the reading code is wrong. So updating to a newer version would
      actually even recover from this situation.
      
      All in all, considering how almost-impossible this is to trigger,
      I don't think even a single user actually did hit this bug.
      
      Bug: 8583091
      Change-Id: Iabb2a7f47cbd9ed3193d2a3487318d280753e071
      c2e9c511
    • Tadashi G. Takaoka's avatar
      Suppress calling onPressKey and onReleaseKey while detecting gesture · a91da766
      Tadashi G. Takaoka authored
      Bug: 8284624
      Change-Id: I14470bb2373965aefa921b2c94948450bfa438e3
      a91da766
  3. Apr 12, 2013
  4. Apr 11, 2013
  5. Apr 10, 2013
    • Kurt Partridge's avatar
      Preserve a class for testing · 3684036e
      Kurt Partridge authored
      Addresses b/8583091
      
      Change-Id: I89605223784312d9572dfc7c8aaa7e5eba44c4f6
      3684036e
    • Baligh Uddin's avatar
      Import translations. DO NOT MERGE · cc42e139
      Baligh Uddin authored
      Change-Id: Icb4c4f32b1549f3d98b99a48b7c2f1b0de1b5a04
      Auto-generated-cl: translation import
      cc42e139
    • Baligh Uddin's avatar
      Import translations. DO NOT MERGE · 58df3cfa
      Baligh Uddin authored
      Change-Id: Iafc0a5506abef8e709d76ebf4600bacae7dd1e00
      Auto-generated-cl: translation import
      58df3cfa
    • Kurt Partridge's avatar
      Better isolate ResearchLogging data · 6108624a
      Kurt Partridge authored
      Calls to LatinIME#onStartInputViewInternal log important information
      about the context in which an IME is used.  This is reported as a
      single LogStatement.  Previously, this was not placed into a separate
      LogUnit, and was mixed in with general word data.  This change wraps
      this LogStatement in its own LogUnit.
      
      Change-Id: I0fecd41c8a1de622a764cc4b5d6902336697046c
      6108624a
    • Kurt Partridge's avatar
      Better release build reporting · dfa5628c
      Kurt Partridge authored
      The ResearchLogger reports whether a build is a release build or not
      to avoid polluting data with IME debugging work by developers.
      Previously this was done by checking a constant flag, which was also
      serving the dual purpose of masking out debug code in release builds.
      
      This change introduces a heuristic to determine whether a build was
      created by a developer (using the package versionName), and annotating
      the data sent to the server appropriately.
      
      Change-Id: Icbad17c66b703cabf6d23d05e2c7c41bcceaae45
      dfa5628c
    • Jean Chalard's avatar
      Fix two bugs in dicttool · ca0fdbbe
      Jean Chalard authored
      Both bugs only affect debug mode. One has the wrong object tested
      with equals, the other has the iteration failing in some cases.
      
      Change-Id: Ie9100d257a3f9e3be340cf3e38116f63417bdc1a
      ca0fdbbe
    • Jean Chalard's avatar
      Fix a bug where a space would not be inserted before a gesture · 30b8004b
      Jean Chalard authored
      Bug: 8583675
      Change-Id: I14924fef5663f48481994c02c56be45f9f85be65
      30b8004b
    • Tadashi G. Takaoka's avatar
      Use private object as a lock instead of synchronized method · 951ea3c0
      Tadashi G. Takaoka authored
      Change-Id: I0b9a935d8c97ddfb18ab7950a9d6bf542863072a
      951ea3c0
Loading