aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow double-space-to-period after percentJean Chalard2013-10-102-0/+2
| | | | | Bug: 11158604 Change-Id: If8c94ef91ed58bb5028f51be7c8d9beb677436a4
* Revert "Add Swiss French and German keyboard layouts."Ken Wakasa2013-10-101-4/+0
| | | | | | | | This reverts commit 220ce8f269e8d2507a2a57ec919e48ddb6f496f8. Sorry, but we are now in the week before the final cut for the next launch. We shouldn't be taking new features like this at this point. Let me revert this change for now. I'll re-revert this after the cut next week. Change-Id: Ia8b00680c992ec526e6a858945f2380cbcdfdd55
* Add Swiss French and German keyboard layouts.Fredrik Roubert2013-10-091-0/+4
| | | | | | | | | | | | | | | There used to be two "Swiss" keyboard layouts, labelled fr_CH and de_QY, available in LatinIME. They were, however, not actually Swiss layouts but instead work-arounds to be able to get French or German with qwertz or qwerty (instead of azerty and qwertz) layouts, respectively. These were thus removed by commit f6972561fcb45310f18230ce217f0c6bb57e7eee replacing them with the generic fr-qwertz and de-qwerty layouts instead. Here, now, is a proper Swiss keyboard layout, following Swiss standards for people accustomed to typing on Swiss keyboards, with the expected tailorings for French and German. Change-Id: I9feed752053ecc694c84db713284f69bc1daf155
* Merge "Fix the security related API change for PreferenceActivity"Satoshi Kataoka2013-10-095-3/+88
|\
| * Fix the security related API change for PreferenceActivitySatoshi Kataoka2013-10-095-3/+88
| | | | | | | | | | Bug: 10118761 Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
* | Merge "Always call finishComposingText before recapitalization"Jean Chalard2013-10-091-0/+1
|\ \
| * | Always call finishComposingText before recapitalizationJean Chalard2013-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | Workaround for framework bug: Bug: 10792236 Change-Id: I3706b9eed5223889791840e30660f8d17625cb70
* | | Merge "Remove a useless IPC call."Jean Chalard2013-10-091-1/+0
|\| |
| * | Remove a useless IPC call.Jean Chalard2013-10-091-1/+0
| |/ | | | | | | | | | | | | | | | | | | This is not useful because we're going to call setSelection again with different values on the connection right away. Also a preliminary change for Bug: 10792236 Change-Id: I46c6ef1fbb3624086099bf81afddb0ef5ae85661
* / Fix crash in AdditionalSubtypeUtilsSatoshi Kataoka2013-10-091-6/+12
|/ | | | | | Bug: 11136982 Change-Id: I9d022a178c47bad3566be4c0bd8ffbce0b14896d
* Merge "Reduce memory of emoji palette"Satoshi Kataoka2013-10-081-5/+1
|\
| * Reduce memory of emoji paletteSatoshi Kataoka2013-10-081-5/+1
| | | | | | | | | | Bug: 10902556 Change-Id: I3c8da35a601de2bfb248292c7b59235fc1120988
* | Show the keyboard earlier when rotating.Jean Chalard2013-10-081-4/+5
|/ | | | | Bug: 11107229 Change-Id: I0b36341d60b634a860eb13fafd0dc69fe734bdeb
* Make the sentence separator a resource.Jean Chalard2013-10-084-22/+25
| | | | | | | This will help handing correctly the armenian full stop. Bug: 10082781 Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36
* Merge "Fix a possible IOOB"Jean Chalard2013-10-071-2/+3
|\
| * Fix a possible IOOBJean Chalard2013-10-071-2/+3
| | | | | | | | | | | | | | | | | | We want to use StringUtils here, but it's full of references to stuff not accessible host-side like JsonReader and TextUtils and SettingsValues :/ Bug: 11061476 Change-Id: I3c0194979833ede283b4f9190335dba5376fe6fc
* | Call loadKeyboard later if it can't be called right awayJean Chalard2013-10-071-4/+15
|/ | | | | | | | | | | | Since loadKeyboard relies on the input connection being available to give it the auto-caps state, but also can't be called twice in a row because it needs to save and restore its state and invalidates it after the restore, we need to wait until we know we have a valid input connection to call it. Bug: 11107229 Change-Id: I1c7baf3215682df6f6ceb357bd37254f9e7418c7
* Merge "Clear the cache of subtypes in onStartInputViewInternal"Satoshi Kataoka2013-10-071-1/+1
|\
| * Clear the cache of subtypes in onStartInputViewInternalSatoshi Kataoka2013-10-071-1/+1
| | | | | | | | | | Bug: 11077905 Change-Id: I9495f13a20edca0e6153cd1a7a0ac6891f707c59
* | Merge "Don't auto-correct to non-whitelist shortcuts"Jean Chalard2013-10-071-2/+4
|\ \
| * | Don't auto-correct to non-whitelist shortcutsJean Chalard2013-10-071-2/+4
| | | | | | | | | | | | | | | Bug: 11076722 Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20
* | | Merge "Set the shortcut frequency correctly."Jean Chalard2013-10-079-22/+80
|\| |
| * | Set the shortcut frequency correctly.Jean Chalard2013-10-079-22/+80
| | | | | | | | | | | | | | | | | | | | | 14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
* | | Merge "Fix bug and Add large test for decaying dictionary."Keisuke Kuroyanagi2013-10-071-0/+4
|\ \ \ | |_|/ |/| |
| * | Fix bug and Add large test for decaying dictionary.Keisuke Kuroyanagi2013-10-071-0/+4
| |/ | | | | | | | | | | | | | | - GC gets failure when the dictionary become empty. - Useless unigrams are sometimes not removed. Bug: 10197478 Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
* / Remove suggestions when string contains a periodJean Chalard2013-10-072-13/+43
|/ | | | | | | | | This is not the right way to do it, but it's simple and will kill the regression. We should investigate why the return values are wrong in this case. Bug: 10780091 Change-Id: I808727242c9cb1598df00a7426358dc3a658add4
* Merge "Fallback on empty locales."Jean Chalard2013-10-041-2/+18
|\
| * Fallback on empty locales.Jean Chalard2013-10-041-2/+18
| | | | | | | | | | | | | | This is a very rare corner case. Bug: 11072132 Change-Id: Iad2aa69511f7dc99105284a049c63f2f997b8ef0
* | Merge "Accept double-space-period after emoji."Jean Chalard2013-10-041-6/+17
|\ \
| * | Accept double-space-period after emoji.Jean Chalard2013-10-041-6/+17
| |/ | | | | | | | | | | | | | | This also includes a fix that allows this code to read surrogate pairs in this processing. Bug: 11070482 Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019
* | Merge "Suppress exceptions that have always been happening."Ken Wakasa2013-10-041-6/+11
|\ \
| * | Suppress exceptions that have always been happening.Ken Wakasa2013-10-041-6/+11
| |/ | | | | | | Change-Id: I5f85a7a0f94ea9ecbe0c4a8caebcf551fa9c9669
* | Add Ver4DictUpdater.Yuichiro Hanada2013-10-043-2/+61
| | | | | | | | Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f
* | Refactor BinaryDictIOUtilsTests.Yuichiro Hanada2013-10-041-0/+4
|/ | | | Change-Id: I2208378b33038771b460abb33f9a690872e998e2
* Add AbstractDictDecoder.Yuichiro Hanada2013-10-045-186/+226
| | | | Change-Id: Ie69d84e090f69dc3ea1f5de73ad8c954ecd2c6a7
* Separate shortcut targets from the trie file.Yuichiro Hanada2013-10-045-37/+107
| | | | | Bug: 10920165 Change-Id: I340759eadbde7fb64cb3b9a3c619ee3a768cedf8
* Merge "Fix UserHistoryDictionaryTests."Keisuke Kuroyanagi2013-10-032-6/+25
|\
| * Fix UserHistoryDictionaryTests.Keisuke Kuroyanagi2013-10-032-6/+25
| | | | | | | | | | | | | | Bug: 6669677 Bug: 10667710 Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
* | Add SparseTableContentWriter to Ver4DictEncoder.Yuichiro Hanada2013-10-033-52/+119
| | | | | | | | | | Bug: 10920165 Change-Id: I6372492e97297baad4c5aeeb3fb36dcccd7a944b
* | Add DictUpdater.Yuichiro Hanada2013-10-035-100/+176
| | | | | | | | Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974
* | Fix the subtype id of the additional subtypesSatoshi Kataoka2013-10-031-4/+25
|/ | | | | Bug: 11032428 Change-Id: I5d422f1c15a582015770ef9a652348ca6eb8ab85
* Merge "Try decaying user history at hourly intervals."Keisuke Kuroyanagi2013-10-025-6/+90
|\
| * Try decaying user history at hourly intervals.Keisuke Kuroyanagi2013-10-025-6/+90
| | | | | | | | | | | | Bug: 6669677 Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803
* | Remove some unused variables.Yuichiro Hanada2013-10-027-22/+10
| | | | | | | | Change-Id: Iaf1556fec194d17cb4318f2bdcc837f8d79449ef
* | Merge "Make SparseTable have multiple content tables."Ken Wakasa2013-10-023-57/+87
|\ \
| * | Make SparseTable have multiple content tables.Yuichiro Hanada2013-10-023-57/+87
| | | | | | | | | | | | | | | Bug: 10920165 Change-Id: Ie9008452ee292fb0b1fec66e2ffed228c4af6c3e
* | | Merge "Fix a pernicious bug with caps."Jean Chalard2013-10-021-0/+1
|\ \ \
| * | | Fix a pernicious bug with caps.Jean Chalard2013-10-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | What's happening here is, setAlphabetKeyboard sets the keyboard to AUTOMATIC_SHIFTED and updates the keyboard, then restoring the keyboard old state sets it back to UNSHIFTED without updating it. When we finally know what the correct value is, we try to set it to UNSHIFTED, but since that's already the currently recorded state, it skips updating the keyboard forever. The solution is to avoid setting the shift state without updating the keyboard. Bug: 10948582 Change-Id: Ic8670401e378f8284e851281f91a9ad93eac8e90
* | | | Correspond to the security related API change for PreferenceActivitySatoshi Kataoka2013-10-023-1/+21
| |/ / |/| | | | | | | | | | | Bug: 10118761 Change-Id: Ia7d1c6c526dae849f447c26387e96a4fb4d6042f
* | | Fix a test and crash with a better error message when readingJean Chalard2013-10-022-2/+4
|/ / | | | | | | | | | | | | | | | | When there are too many bigrams, we stop reading the file, so the file pointer is in an inconsistent place. This means we have no idea what's going to happen next. It's better to crash right away. Change-Id: Id3b7b78cbe4fda3493b3c9c46758763e1ab5f6a3