Commit Graph

6692 Commits

Author SHA1 Message Date
Tadashi G. Takaoka
577dc18906 am 1a42236a: am 4b6756db: Merge "Remove unnecessary harmful finish() from SettingsActivity"
* commit '1a42236a8b22e0d3ca6f26704f052b8f83c991c5':
  Remove unnecessary harmful finish() from SettingsActivity
2013-04-17 19:47:08 -07:00
Jean Chalard
18c362d700 am 5f6492c5: am 673ebb4e: Merge "Update dictionaries"
* commit '5f6492c584699fea5c5793f11b71df4b394c31c9':
  Update dictionaries
2013-04-17 19:47:07 -07:00
Tadashi G. Takaoka
9797dd2edc am 2fd4a00b: am 1ec4c07a: Merge "Ignore modifier key while sliding key input"
* commit '2fd4a00bea92a6b54cc21999c8f147e1baed1393':
  Ignore modifier key while sliding key input
2013-04-17 19:47:05 -07:00
Tadashi G. Takaoka
333bb7dbbd am eabb710b: am f224941c: Merge "Suppress calling onPressKey and onReleaseKey while detecting gesture"
* commit 'eabb710b60c50b58a105bf9cbb6c7987ccdae6ee':
  Suppress calling onPressKey and onReleaseKey while detecting gesture
2013-04-17 19:47:04 -07:00
Tadashi G. Takaoka
ed497d2423 am 089f1ce9: am bfb07ed7: Merge "Add preference dependency to gesture input related options"
* commit '089f1ce95467e279c1d0b9f53de603af6a685bc4':
  Add preference dependency to gesture input related options
2013-04-17 19:47:03 -07:00
Tadashi G. Takaoka
b8540f8ee5 am 18414333: am e2af9b7e: Merge "Reset vertical correction when more suggestions are in modal mode"
* commit '18414333d41ce877fb4a7aba76804cea2a8c89e3':
  Reset vertical correction when more suggestions are in modal mode
2013-04-17 19:47:00 -07:00
Jean Chalard
ba5e450e40 am 69ffa8b0: am 03d1dff3: Merge "Fix Binary dict tests"
* commit '69ffa8b0ff646591edcc1eb3a6dc28572cf8e033':
  Fix Binary dict tests
2013-04-17 19:46:57 -07:00
Kurt Partridge
de51abf1cf am bfe5c07f: am ededdc6a: Merge "Avoid NPE"
* commit 'bfe5c07fda3d24589b1ad16d41c0dafd6651d0ee':
  Avoid NPE
2013-04-17 19:41:24 -07:00
Jean Chalard
38011d295c am 41e59b62: am 2cd1136b: Merge "Remove the dialog to insert words to the dictionary."
* commit '41e59b6202555ab3f778e1a251147ce943b7e864':
  Remove the dialog to insert words to the dictionary.
2013-04-17 19:41:21 -07:00
Jean Chalard
7b81296f81 am cb633e37: am 91bcf5eb: Merge "Restart suggestions when the cursor moves."
* commit 'cb633e37794adf59dd6ce1df97e3d5db02da6784':
  Restart suggestions when the cursor moves.
2013-04-17 19:41:20 -07:00
Jean Chalard
fda69c4439 am 991b1ef8: am 02ce3dc2: Fix a bug with bad application completions
* commit '991b1ef83e8f92c29ddec6685d91c24f1875eeba':
  Fix a bug with bad application completions
2013-04-17 19:41:18 -07:00
Jean Chalard
5351510dea am 68b392cc: am d24f9397: Merge "Make shortcut-only user dict entry non-words."
* commit '68b392cc1208036df06ca2c94176b2bc3b5a690d':
  Make shortcut-only user dict entry non-words.
2013-04-17 19:41:17 -07:00
Jean Chalard
9129081070 am 907a95c2: am fb5869e9: Merge "Add a class to encapsulate getting the metadata URI"
* commit '907a95c2f1f24b73736118ada0900228ad356734':
  Add a class to encapsulate getting the metadata URI
2013-04-17 19:41:16 -07:00
Jean Chalard
5875362b70 am 9613be01: am d0623ad7: Merge "Move some values to a place where they are easier to override"
* commit '9613be01de32ca276104c8c69b44c764d9e66a45':
  Move some values to a place where they are easier to override
2013-04-17 19:41:12 -07:00
Kurt Partridge
a5613e634a am bdce031e: am 2927223e: Merge "Better isolate ResearchLogging data"
* commit 'bdce031e00876df72e10b5c4e9c0ae9ff03153d1':
  Better isolate ResearchLogging data
2013-04-17 19:41:10 -07:00
Tadashi G. Takaoka
dfc8135941 am 3d6b7431: am cd692be1: Merge "Change the default vibration duration to 20msec"
* commit '3d6b7431893aa6aa6d0086e44b85f35057c5b87d':
  Change the default vibration duration to 20msec
2013-04-17 19:41:09 -07:00
Jean Chalard
27dede24a6 am 2e4352c5: am b5d5190d: Merge "Add some utility functions."
* commit '2e4352c53b48366c40d43b32e8acdc28acac2e6f':
  Add some utility functions.
2013-04-17 19:41:08 -07:00
Tadashi G. Takaoka
3be1c7485b am 05314bf0: am 4f5f81d5: Reorder advanced settings menu
* commit '05314bf0054148ec85df8620afcc9189ebca383c':
  Reorder advanced settings menu
2013-04-17 19:41:06 -07:00
Tadashi G. Takaoka
46762bf521 am 206ce637: am bd8e92d8: Add debug message to detect unusual zero width condition
* commit '206ce6374bb4dfcb93d059ec6795853f36cd4979':
  Add debug message to detect unusual zero width condition
2013-04-17 19:41:05 -07:00
Tadashi G. Takaoka
1ba1c411ef am 93fe83a1: am f67a3881: Merge "Add TypefaceUtils"
* commit '93fe83a1c29e8d8671c007a7a4781c791b9864b6':
  Add TypefaceUtils
2013-04-17 19:41:04 -07:00
Tadashi G. Takaoka
24b39f16b2 am 18819688: am 6d0027a4: Merge "Use SparseIntArray instead of TreeMap<Integer, Integer>"
* commit '188196883c9ac2a877dba27e7beabe4f55208bab':
  Use SparseIntArray instead of TreeMap<Integer, Integer>
2013-04-17 19:41:02 -07:00
Tadashi G. Takaoka
dabcd969c5 am 1dc7fd3f: am cee512b6: Merge "More precise geometry checking for more keys keyboard"
* commit '1dc7fd3f8085c5a729061a7b35f71a2024a5ce0b':
  More precise geometry checking for more keys keyboard
2013-04-17 19:41:00 -07:00
Jean Chalard
e910a9c94a am b7917ee3: am 3722f087: Merge "Fix two bugs in dicttool"
* commit 'b7917ee347898d5dc9b1698ec7818b3a4cc8a035':
  Fix two bugs in dicttool
2013-04-17 19:40:59 -07:00
Kurt Partridge
9cf3937281 am 94c441a4: am cdaee868: Merge "Preserve a class for testing"
* commit '94c441a424875f815d7e84d02da5c8943ad6f7a6':
  Preserve a class for testing
2013-04-17 19:39:00 -07:00
Kurt Partridge
6267ec688e am 3e1f652c: am 099dd3f2: Merge "Better release build reporting"
* commit '3e1f652c2c39351d306b3a930340948a46104de0':
  Better release build reporting
2013-04-17 19:38:57 -07:00
Jean Chalard
7503ef330c am cd51b80a: am fb3e8057: Merge "Fix a bug where a space would not be inserted before a gesture"
* commit 'cd51b80a0b31493ef9dce9b5283264399b305ba0':
  Fix a bug where a space would not be inserted before a gesture
2013-04-17 19:38:51 -07:00
Tadashi G. Takaoka
c627f64274 am 9a6ff5dc: am c7d41589: Merge "Use private object as a lock instead of synchronized method"
* commit '9a6ff5dcef1a593260032b5e10eb801de297c0b2':
  Use private object as a lock instead of synchronized method
2013-04-17 19:38:49 -07:00
Tadashi G. Takaoka
4516304436 am 1502d977: am 12e77de2: Merge "Use private lock object instead of synchronized method"
* commit '1502d9779555958b0ca147fda1cab1e6302c9035':
  Use private lock object instead of synchronized method
2013-04-17 19:38:48 -07:00
Tadashi G. Takaoka
8ea774ebf2 am 14950497: am 1e256f58: Merge "Protect simultaneously modifying gesture preview data"
* commit '14950497280f15b6d1de9e6c5d159ce46e27180b':
  Protect simultaneously modifying gesture preview data
2013-04-17 19:38:46 -07:00
Jean Chalard
99e91fc8ec am 2dd2e2d7: am 99b93d17: Fix a bug where autocorrection status would be wrong.
* commit '2dd2e2d7dff8c4446d536bd23fc94a5538c24ddf':
  Fix a bug where autocorrection status would be wrong.
2013-04-17 19:38:43 -07:00
Tadashi G. Takaoka
9a0f6ef847 am c35bca68: am 262d5bd9: Don\'t override EXTRA_SHOW_FRAGMENT if exists
* commit 'c35bca685689ff6430e7a9393af64c74112bf677':
  Don't override EXTRA_SHOW_FRAGMENT if exists
2013-04-17 19:38:41 -07:00
Tadashi G. Takaoka
f0a4508ad5 am f5aa2fd5: am 10af4b6e: Merge "Separate StringUtils.capitalizeFirstCharacter"
* commit 'f5aa2fd5c868cae6e879858738a5eef4445aaca8':
  Separate StringUtils.capitalizeFirstCharacter
2013-04-17 19:38:40 -07:00
Keisuke Kuroynagi
5c7c36e31f am e81c1678: am 87fdde6e: Typing double letters via a \'circle\' on the key.
* commit 'e81c16788712590fd6cf9e14420d50acf029ad48':
  Typing double letters via a 'circle' on the key.
2013-04-17 19:38:38 -07:00
Tadashi G. Takaoka
0d9164ecd8 am 0d7499bc: am 4fdfce6d: Merge "Refactor SpellCheckerProximityInfo as extending ProximityInfo"
* commit '0d7499bccfb37bad2364202657a4feebab137aeb':
  Refactor SpellCheckerProximityInfo as extending ProximityInfo
2013-04-17 19:38:35 -07:00
Kurt Partridge
d34979381d am ab8f166e: am 09ab6495: Merge "[FileEncap18] Clean up uploading scheduling"
* commit 'ab8f166e6793e214dcb92454b10dbe5cc74daf9b':
  [FileEncap18] Clean up uploading scheduling
2013-04-17 19:33:02 -07:00
Baligh Uddin
5eb28c1928 am a130057b: Import translations. DO NOT MERGE
* commit 'a130057bcf1b3daa8c8823743b1190f460bbdc45':
  Import translations. DO NOT MERGE
2013-04-15 14:27:38 -07:00
Baligh Uddin
a130057bcf Import translations. DO NOT MERGE
Change-Id: I5f6f7233c46f7a5faaac5f959c93329ace4c70f4
Auto-generated-cl: translation import
2013-04-15 13:38:18 -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
673ebb4ede Merge "Update dictionaries" 2013-04-15 07:23:00 +00: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
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
Tadashi G. Takaoka
8dfbb740e1 Ignore modifier key while sliding key input
Bug: 8284624
Change-Id: I839d7a769d98f29be647dbe511ba3f73ca44446d
2013-04-15 14:39:02 +09: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
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
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