Commit graph

671 commits

Author SHA1 Message Date
Darcy Wong
811eb2ac6f chore(android): Remove commented code and update history.md 2019-11-21 13:38:26 +07:00
Darcy Wong
197f47438d fix(android): Remove split surrogate pair from beginning of context
In a scenario where the context is 8 smiley emojis followed by `p̂p̂`
A backspace was removing an entire `p̂` sequence.

Because the new context was crossing a surrogate pair.
2019-11-21 13:32:24 +07:00
Darcy Wong
b29e112a4a fix(android): Fix NPE when deleting empty context 2019-11-21 11:27:20 +07:00
Darcy Wong
6887aeacab chore(android): Forgot hash 2019-11-19 11:52:30 +07:00
Darcy Wong
e346566fec chore(android): Update history.md 2019-11-19 11:21:56 +07:00
Darcy Wong
d82026c366 chore(android): Add comment to Chromium issue
Also remove debugging logs
2019-11-18 13:18:16 +07:00
Darcy Wong
ce98d7ac0b fix(android): Remove use of BreakIterator
Specifying newCursorPosition `1` fixed the cursor placement after inserting text.
2019-11-18 11:45:31 +07:00
Darcy Wong
99ce557cf1 fix(android): refactor method that removes split surrogate pair 2019-11-14 11:44:28 +07:00
Darcy Wong
b880638ed0 fix(android): Use BreakIterator to determine cursor when commiting text 2019-11-14 11:08:17 +07:00
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
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
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
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
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
Marc Durdin
c338774862 Android history 2019-10-07 11:11:17 +11:00
Darcy Wong
95af1b7c64 Update history.md 2019-10-04 09:50:36 +07:00
Darcy Wong
d2ca2e7299 Update in-app help 2019-10-04 09:38:54 +07:00
Darcy Wong
452c3cfa63 Update history.md 2019-10-04 08:02:44 +07:00
Darcy Wong
64c13cf7ae Add wrappers to missing API methods 2019-10-03 15:02:55 +07:00
Joshua Horton
2ce0c21171
Update history.md 2019-10-01 09:42:51 +07:00
Joshua A. Horton
a2537c3b4c Merge branch 'beta' into android-offline-help-mirroring 2019-09-26 14:24:35 +07:00
Joshua A. Horton
7ed622c046 readme tweak 2019-09-26 14:18:17 +07:00
Joshua A. Horton
6b291ec270 Readme + history.md updates 2019-09-26 11:36:20 +07:00
Joshua A. Horton
5dff15f5ff Fixes oddly-mishandled link from wget 2019-09-26 10:56:05 +07:00
Joshua A. Horton
925c17271e Adds generated offline mirror from script 2019-09-26 10:41:22 +07:00