Commit graph

6153 commits

Author SHA1 Message Date
Darcy Wong
29b201cd00 fix(android): Still trying to adjust the cursor on Firefox
* Also updated CharSequenceUtilTest to reflect expected rota keyboard output
2019-11-13 15:43:23 +07:00
Darcy Wong
6fde9c1739 chore(android): move utility methods to new class
Refactor charSequence utilities to CharSequenceUtil.java
2019-11-13 08:37:52 +07:00
Darcy Wong
c4c85af98f chore(android): Add logging and adjust unit test constant 2019-11-12 22:18:52 +07:00
Darcy Wong
002f378a51 fix(android): Add unit test for adjust cursor position
Still wip for adjusting cursor in Firefox
2019-11-12 15:26:38 +07:00
Darcy Wong
d66d029406 fix(android): change adjustCursorPosition to use CharSequence
Changed signature in preparation for unit testing
2019-11-11 23:16:27 +07:00
Darcy Wong
1d521913e4 fix(android): Add unit test RestoreCharsTest 2019-11-09 08:03:57 +07:00
Darcy Wong
cb7a87986a fix(android): refactor restoreChars()
Split out method `restoreChars()` so it can be run in unit test

* also adjust CountSurrogatePairsTest
2019-11-08 21:51:48 +07:00
Darcy Wong
8daa93a8e4 fix(android): Start refactoring to add unit tests 2019-11-08 15:49:12 +07:00
Sandra Forberger
87178b0640 fix[android]: fix cursor after insert 2019-11-07 10:05:48 +07:00
Darcy Wong
8a74b8aa90 fix(android): Skip if there's no left context to delete 2019-11-06 13:11:45 +07:00
Darcy Wong
95c0206309 chore: cleanup
* Make performLeftDeletions private
* Add try catch block to guard against out of bounds errors
2019-11-06 10:24:19 +07:00
Darcy Wong
2bfb3142d4 fix(android): Use commitText instead of setComposingText
This does a better job of updating the cursor so the next character gets correctly inserted
2019-11-06 09:26:43 +07:00
Darcy Wong
ea8a08a1a7 chore(android): cleanup unused code 2019-11-03 22:23:35 +07:00
Darcy Wong
f18ba4d533 fix(android): advance cursor when re-inserting chars 2019-11-02 22:59:52 +07:00
Darcy Wong
ab37dea089 fix(android): Continue to implement algorithm 2019-11-01 23:14:56 +07:00
Darcy Wong
750bd6b860 fix(android): Start implementing algorithm to compensate for deletes 2019-11-01 15:04:36 +07:00
Darcy Wong
deb6b6f4b0 fix(android): Also increment when deleting SMP 2019-10-31 23:16:44 +07:00
Darcy Wong
f60b47a65b fix(android): Adjust for Android left deletions 2019-10-30 23:41:47 +07:00
Darcy Wong
466b68e83a
Merge pull request #2255 from keymanapp/android-disable-dictionary-on-password
fix: Temporarily disable dictionary when entering password field
2019-10-30 09:59:00 +07:00
Darcy Wong
0cfd8a437c fix(android): Separate getter / setter of KMManager.KMManager
Per review comment, separate getter and setter of state variable.
Also renamed mayProtect typos to mayPredict
2019-10-29 14:33:15 +07:00
Darcy Wong
17173e2388 chore: Update history.md 2019-10-29 11:37:20 +07:00
Darcy Wong
6f6df3bb85 fix(android): override mayPredict when entering password field 2019-10-29 11:02:24 +07:00
Darcy Wong
0f1b2d8d3c fix(android): Add null check for re-registering dictionary 2019-10-28 15:54:38 +07:00
Darcy Wong
cf03959971 fix: #2251 Temporarily disable dictionary when entering password fields 2019-10-28 13:59:18 +07:00
Darcy Wong
5ddbf4aa48
Merge pull request #2242 from keymanapp/android-lm-version-key
[Android][Stable] Also use the lexical model package version for generating Dataset
2019-10-25 14:02:21 +07:00
Darcy Wong
50a9458e87 Update history.md 2019-10-25 08:33:01 +07:00
Darcy Wong
11afa81c80 Also use the package version for generating Dataset 2019-10-23 21:46:47 +07:00
Marc Durdin
69bccc7b45
Merge pull request #2214 from keymanapp/windows-upgrade-loses-installed-keyboards-stable-12
[Windows] [12.0] Upgrades from 11.0 and 12.0 were losing installed keyboards and settings.
2019-10-23 19:09:30 +07:00
Marc Durdin
29181d24e2 history.md 2019-10-20 05:54:30 +07:00
Marc Durdin
91f0919544 Address review comments 2019-10-20 05:52:01 +07:00
Marc Durdin
8a90ac2ae7 [Windows] Ensure keyboards are not lost when upgrading from 11.0. Fixes #2207 2019-10-20 05:52:01 +07:00
Marc Durdin
e7a00aae9a
Merge pull request #2204 from keymanapp/android-avoid-crash-when-analytics-unavailable-fixes-2202-for-12.0
[Android] If analytics is disabled, the app may crash.
2019-10-14 13:23:54 +07:00
Marc Durdin
8700a2e38d [Android] One more check in another file for analytics 2019-10-14 13:18:49 +07:00
Marc Durdin
d5eee457a2 [Android] history.md 2019-10-14 13:15:31 +07:00
Marc Durdin
9fce3b5a75 [Android] Fixes #2202. If analytics is disabled, the app may crash. 2019-10-14 13:14:03 +07:00
Joshua Horton
877801ac45
Merge pull request #2194 from keymanapp/web-kns-update-cherry
[Web] Updates notifyKeyboard and uses of KNS (12.0 stable)
2019-10-10 23:19:57 +07:00
Marc Durdin
72966d3d26
Merge pull request #2195 from keymanapp/android-use-lm-package-version
[Android] Use lexical model package version for lexical model version
2019-10-10 19:41:03 +11:00
Darcy Wong
8efd7c49c7 Update history.md 2019-10-10 15:11:42 +07:00
Darcy Wong
b8c9c855b7 Use package version for lexical model version
Fixes #2190
2019-10-10 14:15:10 +07:00
Joshua Horton
35b0285c5c
Merge pull request #2193 from keymanapp/ios-model-package-version-cherry
[iOS] Model installation - use of package version (12.0 stable)
2019-10-10 12:32:24 +07:00
jahorton
485e702691 history.md 2019-10-10 11:47:14 +07:00
jahorton
8daf5fcd28 Updates notifyKeyboard and uses of KNS 2019-10-10 11:42:37 +07:00
jahorton
60818a5fc1 Fixes illegal use of guard 2019-10-10 11:40:44 +07:00
jahorton
ae8d434035 Lazy version error handling 2019-10-10 11:00:17 +07:00
jahorton
5148434475 history.md 2019-10-10 10:55:08 +07:00
jahorton
0830670c2b Adds error-checking on version 2019-10-10 10:49:35 +07:00
jahorton
32084ab38d Properly defaults 'version' if missing. 2019-10-10 10:49:35 +07:00
jahorton
ca063d6bf4 iOS now uses package version for models 2019-10-10 10:49:35 +07:00
Darcy Wong
471eca97fd
Merge pull request #2188 from keymanapp/linux-watch-stable
[Linux] Change watch to only follow stable
2019-10-09 15:56:37 +07:00
Darcy Wong
91b8510d6e Update history.md 2019-10-09 14:08:24 +07:00