Jean Chalard
059e084e98
Merge "Reject a previously user-refused suggestion."
2013-04-15 07:45:34 +00:00
Jean Chalard
d40f3f6bc1
Reject a previously user-refused suggestion.
...
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
2013-04-15 16:36:44 +09:00
Tadashi G. Takaoka
1a42236a8b
am 4b6756db: Merge "Remove unnecessary harmful finish() from SettingsActivity"
...
* commit '4b6756db3c3ab982daaf378bc9677c8a1e26ece0':
Remove unnecessary harmful finish() from SettingsActivity
2013-04-15 00:35:26 -07:00
Tadashi G. Takaoka
4b6756db3c
Merge "Remove unnecessary harmful finish() from SettingsActivity"
2013-04-15 07:32:05 +00:00
Tadashi G. Takaoka
216fb6a042
Remove unnecessary harmful finish() from SettingsActivity
...
Bug: 8560722
Change-Id: I825b135bd13aca17e712330660978b834648dbc3
2013-04-15 16:26:40 +09:00
Jean Chalard
5f6492c584
am 673ebb4e: Merge "Update dictionaries"
...
* commit '673ebb4ede351b43b03c5fe249e152feab954f32':
Update dictionaries
2013-04-15 00:26:02 -07:00
Jean Chalard
673ebb4ede
Merge "Update dictionaries"
2013-04-15 07:23:00 +00:00
Tadashi G. Takaoka
2fd4a00bea
am 1ec4c07a: Merge "Ignore modifier key while sliding key input"
...
* commit '1ec4c07a13447a98deca1fc9e79f5d507030695d':
Ignore modifier key while sliding key input
2013-04-14 23:20:53 -07:00
Tadashi G. Takaoka
eabb710b60
am f224941c: Merge "Suppress calling onPressKey and onReleaseKey while detecting gesture"
...
* commit 'f224941c37a04d3c290ef2db5003a5af2a701fce':
Suppress calling onPressKey and onReleaseKey while detecting gesture
2013-04-14 23:20:52 -07:00
Tadashi G. Takaoka
1ec4c07a13
Merge "Ignore modifier key while sliding key input"
2013-04-15 06:19:10 +00:00
Tadashi G. Takaoka
f224941c37
Merge "Suppress calling onPressKey and onReleaseKey while detecting gesture"
2013-04-15 06:18:48 +00:00
Tadashi G. Takaoka
089f1ce954
am bfb07ed7: Merge "Add preference dependency to gesture input related options"
...
* commit 'bfb07ed7d66c014ea35c3ac9f339b526e7d64815':
Add preference dependency to gesture input related options
2013-04-14 23:17:36 -07:00
Tadashi G. Takaoka
bfb07ed7d6
Merge "Add preference dependency to gesture input related options"
2013-04-15 06:15:36 +00:00
Tadashi G. Takaoka
29105a725d
Add preference dependency to gesture input related options
...
Bug: 8613600
Change-Id: I279d3264080aede59203205c45763c7f8ff08ae6
2013-04-15 15:07:49 +09:00
Jean Chalard
da175bdcb1
Update dictionaries
...
>>> 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
2013-04-15 14:51:02 +09:00
Jean Chalard
fd959fd159
am 1903b41f: Merge "Clean up tests and increase speed"
...
* commit '1903b41ffd42cd90c8fe71ee32bbe1fe556b8167':
Clean up tests and increase speed
2013-04-14 22:45:52 -07:00
Jean Chalard
1903b41ffd
Merge "Clean up tests and increase speed"
2013-04-15 05:42:09 +00:00
Tadashi G. Takaoka
8dfbb740e1
Ignore modifier key while sliding key input
...
Bug: 8284624
Change-Id: I839d7a769d98f29be647dbe511ba3f73ca44446d
2013-04-15 14:39:02 +09:00
Jean Chalard
001884a1ee
Clean up tests and increase speed
...
Conservatively reduce the number of unigrams to test from 1000
to 100.
Bug: 8583091
Change-Id: I48621ec44ff5f0590640d7c6b174ab5a6d267aaf
2013-04-15 14:25:32 +09:00
Tadashi G. Takaoka
18414333d4
am e2af9b7e: Merge "Reset vertical correction when more suggestions are in modal mode"
...
* commit 'e2af9b7eb519126e67fb054e8bd5064049958feb':
Reset vertical correction when more suggestions are in modal mode
2013-04-14 22:00:05 -07:00
Tadashi G. Takaoka
e2af9b7eb5
Merge "Reset vertical correction when more suggestions are in modal mode"
2013-04-15 04:57:33 +00:00
Tadashi G. Takaoka
51c38a441a
Reset vertical correction when more suggestions are in modal mode
...
Bug: 8605150
Change-Id: Iadbebfb80e765c97e58e8524eb87419f2a9e41d4
2013-04-15 13:56:03 +09:00
Jean Chalard
6223d82312
am c2653d0b: Fix a typo
...
* commit 'c2653d0b5c42290d8e7331617f0207c5a7537f67':
Fix a typo
2013-04-14 21:01:25 -07:00
Jean Chalard
c2653d0b5c
Fix a typo
...
Change-Id: I27b925be030e9e6ee8ae49dc13f39accec996d7e
2013-04-15 12:57:27 +09:00
Jean Chalard
69ffa8b0ff
am 03d1dff3: Merge "Fix Binary dict tests"
...
* commit '03d1dff38d4de0f043420aae8a292d74b531324a':
Fix Binary dict tests
2013-04-14 20:56:11 -07:00
Jean Chalard
03d1dff38d
Merge "Fix Binary dict tests"
2013-04-15 03:53:54 +00:00
Jean Chalard
c2e9c511cb
Fix Binary dict tests
...
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
2013-04-15 12:48:16 +09:00
Satoshi Kataoka
6246b7c324
am a94bb198: fix assertion
...
* commit 'a94bb198cf13a3729bb992fc9c5bfce779e58469':
fix assertion
2013-04-14 20:12:46 -07:00
Satoshi Kataoka
a94bb198cf
fix assertion
...
Change-Id: I34ff470122aa0f34c66425d2eeae7590187d3074
2013-04-15 12:03:21 +09:00
Tadashi G. Takaoka
a91da76683
Suppress calling onPressKey and onReleaseKey while detecting gesture
...
Bug: 8284624
Change-Id: I14470bb2373965aefa921b2c94948450bfa438e3
2013-04-15 10:59:54 +09:00
Tadashi G. Takaoka
be1232b36f
am b12c2af3: Tighten unit test condition of MoreKeysKeyboardBuilder
...
* commit 'b12c2af32e09624e1298e0109441b0f4d74b74dd':
Tighten unit test condition of MoreKeysKeyboardBuilder
2013-04-14 18:17:25 -07:00
Tadashi G. Takaoka
b12c2af32e
Tighten unit test condition of MoreKeysKeyboardBuilder
...
Bug: 8601979
Change-Id: Icf584f3b35adce69cc3dfc46f3aacfef05e5dd2a
2013-04-15 09:58:18 +09:00
Baligh Uddin
a270f90a32
am dc64866c: (-s ours) am 0dbc8c35: am f2ab0adc: Import translations. DO NOT MERGE
...
* commit 'dc64866c70f19e1f3613f8ee19f1a602961e0d9d':
Import translations. DO NOT MERGE
2013-04-12 17:05:25 -07:00
Baligh Uddin
dc64866c70
am 0dbc8c35: am f2ab0adc: Import translations. DO NOT MERGE
...
* commit '0dbc8c3509dc71bfd8ac831b89fe229b9c74f6a7':
Import translations. DO NOT MERGE
2013-04-12 17:03:07 -07:00
Baligh Uddin
a5506b53f1
am bfedad23: (-s ours) Merge "Import translations. DO NOT MERGE"
...
* commit 'bfedad238f52b873599d68718307c4a8ee98e9eb':
Import translations. DO NOT MERGE
2013-04-12 17:00:11 -07:00
Baligh Uddin
0dbc8c3509
am f2ab0adc: Import translations. DO NOT MERGE
...
* commit 'f2ab0adc5e3bd8f436aafcea1b396e288c69f7d4':
Import translations. DO NOT MERGE
2013-04-12 16:59:36 -07:00
Baligh Uddin
bfedad238f
Merge "Import translations. DO NOT MERGE"
2013-04-12 23:56:49 +00:00
Baligh Uddin
a559e767d1
Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
2013-04-12 23:56:08 +00:00
Baligh Uddin
8515649312
Import translations. DO NOT MERGE
...
Change-Id: I2cb68d3f0804a0c9990916a89e079510b465253f
Auto-generated-cl: translation import
2013-04-12 13:26:13 -07:00
Baligh Uddin
dbff360655
Import translations. DO NOT MERGE
...
Change-Id: I7c8b83b352dcc840ee2a8a6f0b8e6d4d28b4e08f
Auto-generated-cl: translation import
2013-04-12 13:20:47 -07:00
Baligh Uddin
f2ab0adc5e
Import translations. DO NOT MERGE
...
Change-Id: Ie74fdb8041ac5d7eb5d15a49f9aac834751cc9c2
Auto-generated-cl: translation import
2013-04-12 13:19:32 -07:00
Kurt Partridge
bfe5c07fda
am ededdc6a: Merge "Avoid NPE"
...
* commit 'ededdc6a8b6befbb5f21a53d366354ea8c8fd5d9':
Avoid NPE
2013-04-12 11:13:44 -07:00
Kurt Partridge
ededdc6a8b
Merge "Avoid NPE"
2013-04-12 18:10:49 +00:00
Jean Chalard
8895e5fbea
am 128961ad: Fix failing tests
...
* commit '128961ade05725564bdc229098c97c6ed66a2e9e':
Fix failing tests
2013-04-12 09:09:25 -07:00
Jean Chalard
128961ade0
Fix failing tests
...
RichInputConnection#getWordRangeAtCursor may now returning
either a SpannableString or a String. We can't test that with
String#equals(), but TextUtils#equals() does the job for us.
Change-Id: I59ebe54207e92f4d90b49476b64f1e12fd4929cb
2013-04-12 23:38:36 +09:00
Jean Chalard
41e59b6202
am 2cd1136b: Merge "Remove the dialog to insert words to the dictionary."
...
* commit '2cd1136b8ebedc7cf939d7d7546ed753191f8677':
Remove the dialog to insert words to the dictionary.
2013-04-12 05:36:50 -07:00
Jean Chalard
2cd1136b8e
Merge "Remove the dialog to insert words to the dictionary."
2013-04-12 12:33:24 +00:00
Jean Chalard
cb633e3779
am 91bcf5eb: Merge "Restart suggestions when the cursor moves."
...
* commit '91bcf5eb5dcf1f2ff66cfda90832db21bce7e330':
Restart suggestions when the cursor moves.
2013-04-12 05:30:26 -07:00
Jean Chalard
991b1ef83e
am 02ce3dc2: Fix a bug with bad application completions
...
* commit '02ce3dc2d11aba2b521f85223af1f870207b81dc':
Fix a bug with bad application completions
2013-04-12 05:30:25 -07:00
Jean Chalard
91bcf5eb5d
Merge "Restart suggestions when the cursor moves."
2013-04-12 12:27:50 +00:00