Commit graph

2841 commits

Author SHA1 Message Date
Darcy Wong
b84a483afc chore(android): Update crowdin for bwr-NG 2022-04-14 09:39:38 +07:00
Darcy Wong
1ae6709bfa chore(android): Remove incorrect bwr-NT locale 2022-04-14 09:21:17 +07:00
Darcy Wong
1e42d360c6
Merge pull request #6509 from keymanapp/chore/common/crowdin-pt
chore(common): Add Crowdin strings for Portuguese (pt-PT)
2022-04-14 06:11:02 +07:00
Marc Durdin
e86cd46520 chore(android): Merge branch 'beta' into fix/android/6489-key-tip-sticky 2022-04-14 05:27:29 +10:00
Darcy Wong
d774fcd5a1 chore(android/app): Add description for referrer response error 2022-04-12 10:52:13 +07:00
Darcy Wong
6b2a71a76e
Merge pull request #6501 from keymanapp/chore/common/crowdin-km-spacebar
chore(common): Update km strings
2022-04-11 15:12:19 +07:00
Darcy Wong
243361f052
Merge pull request #6508 from keymanapp/chore/common/crowdin-az-2
chore(common): Update Crowding strings for Azerbaijani
2022-04-11 07:42:31 +07:00
Darcy Wong
cb10a4c4e3
Merge pull request #6477 from keymanapp/fix/android/engine/verify-count-surrogate-pairs
fix(android/engine): Update countSurrogatePairs()
2022-04-09 08:10:43 +07:00
Darcy Wong
f0e41833c4 chore(common): Add Crowdin strings for Portuguese 2022-04-08 11:36:18 +07:00
Darcy Wong
8770c705cb chore(common): Update Crowding strings for Azerbaijani 2022-04-08 10:01:23 +07:00
Darcy Wong
d11cf84b54
Merge pull request #6498 from keymanapp/fix/android/on-keyboard-change
fix(android/engine): Show keyboard after rotating
2022-04-08 09:41:37 +07:00
Darcy Wong
aa4dda3dd7
Update android/KMEA/app/src/main/assets/android-host.js
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-04-08 06:43:33 +07:00
Darcy Wong
91038ef6f2 Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-km-spacebar 2022-04-08 06:28:18 +07:00
Darcy Wong
45ca87dae1 chore(common): Update km strings 2022-04-07 21:58:07 +07:00
Darcy Wong
ff770174ab fix(android/engine): Show keyboard after rotating 2022-04-07 16:26:00 +07:00
Marc Durdin
0ad1d496d3 fix(android): key tip sticky with multitap
Fixes #6489.

The issue arose in multitap scenarios, where the tip display state
became desynchronised with the actual display state as maintained in
the Android code.

The fix I applied was to reduce some of the state checks into the js
wrapper android-host.js. This is not ideal. The state machine for key
tip display is scattered across four functions in three files:

* visualKeyboard.ts: VisualKeyboard.highlightKey
* visualKeyboard.ts: VisualKeyboard.showKeyTip
* embedded/keytip.ts: KeyTip.show
* android-host.js: oskShowKeyPreview / oskClearKeyPreview

I have moved the actual re-creation check for the tip to the lowest
level functions -- those in android-host.js. But a more detailed look at
the state machine and a refactoring would certainly be worthwhile.
2022-04-07 15:27:41 +10:00
Darcy Wong
41bce3fc0b chore(android/engine): Fix surrogate pairs in test 2022-04-06 08:18:07 +07:00
Darcy Wong
dc5c8a7f99 fix(android/app): Simplify sharing intent 2022-04-05 14:43:28 +07:00
Darcy Wong
27cc509038 chore(android/engine): Cleanup vars 2022-04-05 12:19:58 +07:00
Darcy Wong
1bc5ac75da fix(android/engine): Update countSurrogatePairs() 2022-04-05 09:32:55 +07:00
Darcy Wong
2f45cbabca chore(android): Document minimum required version of Chrome 2022-04-04 10:59:08 +07:00
Darcy Wong
5bcac1b1bf chore(common): Update crowdin strings for km 2022-03-31 20:59:07 +07:00
Darcy Wong
3365713f76 fix(android/engine): Use fixed sizes for preview keys 2022-03-31 10:41:21 +07:00
Darcy Wong
4796d37fad fix(android/engine): Don't include font padding for popup keys 2022-03-30 14:59:29 +07:00
Darcy Wong
fcc75ec00e fix(android/engine): Clear WebView cache on package install 2022-03-28 13:44:30 +07:00
Darcy Wong
30b67646f4
Merge pull request #6399 from keymanapp/chore/common/crowdin-ha-2
chore(common): Update Hausa strings
2022-03-25 08:19:52 +07:00
Darcy Wong
19f1d4f5a7 chore(android): Merge remote-tracking branch 'origin/beta' into fix/android/subkey-move 2022-03-23 13:05:25 +07:00
Darcy Wong
a6186489b5 Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-ha-2 2022-03-22 21:15:28 +07:00
Darcy Wong
6b01ba7003
Merge pull request #6370 from keymanapp/fix/android/keyboard-picker-display-artifacts
chore(android/engine): Remove visual gaps in keyboard picker menu
2022-03-21 18:07:11 +07:00
Darcy Wong
2d52719a00 chore(common): Update Hausa strings 2022-03-18 08:24:55 +07:00
Darcy Wong
1a413bcb6a fix(android/engine): Fix ACTION_DOWN returns 2022-03-16 14:01:48 +07:00
Darcy Wong
328175deba chore(android): Merge remote-tracking branch 'origin/beta' into fix/android/subkey-move 2022-03-16 09:29:32 +07:00
Darcy Wong
c3da55d9ae
Merge pull request #6369 from keymanapp/fix/fv/dictionary-keyboard-list
fix(oem/fv/android): Consolidate dictionary and keyboard settings
2022-03-15 21:03:32 +07:00
Darcy
63b8867aa4 chore(android): Separate CI step to generate Play Store notes 2022-03-15 09:54:00 +07:00
Darcy Wong
812e6040e2
Merge pull request #6356 from keymanapp/fix/android/hold-globe-longpress-menu
fix(android/engine): Activate menu on globe longpress before release
2022-03-15 05:56:44 +07:00
Darcy Wong
103e618680 chore(android/engine): Remove visual gaps in keyboard picker menu 2022-03-14 13:01:20 +07:00
Darcy Wong
738b3cc08a fix(oem/fv/android): Fold model picker into Keyboard settings menu 2022-03-14 06:56:55 +07:00
Darcy Wong
1e2939f82e
Update android/KMAPro/kMAPro/src/main/res/values/strings.xml
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-03-11 06:21:07 +07:00
Darcy Wong
c3c8c219d7 chore(android/engine): Tweak handling globe key 2022-03-10 19:41:03 +07:00
Darcy Wong
6a622b4255 fix(android/engine): Activate menu on globe longpress before release 2022-03-10 15:24:21 +07:00
Darcy Wong
b213c3b829 fix(android/engine): Test fileVersion during package install 2022-03-10 13:15:59 +07:00
Darcy Wong
6c6b899b49 chore(android/engine): Remove bold styling in lists 2022-03-08 14:16:45 +07:00
Darcy Wong
39cb6dad01 fix(android/engine): Fix longpress on move gesture 2022-03-02 12:57:36 +07:00
Darcy Wong
d85af16858 feat(oem/fv/android): Add keyboard and dictionary controls 2022-03-02 12:30:51 +07:00
Marc Durdin
db9822147f
chore(android): disable debugging 2022-02-28 15:06:32 +11:00
Marc Durdin
e0bba0da02 fix(android): count number of surrogate pairs correctly when deleting
The system keyboard, when deleting-left, would not count the number of
surrogate pairs correctly in the text to delete. This would often leave
it deleting half a surrogate pair.

Rather than change the countSurrogatePairs function, I opted to write
this inline. The countSurrogatePairs function is used elsewhere, it
appears correctly.
2022-02-25 16:05:51 +11:00
Marc Durdin
e7be5f62a4 fix(android): ignore delete-left if selection exists in-app
If there is an active selection, we delete the selection before
inserting text. In this case, we also ignore the deleteLeft value coming
from KeymanWeb, so we won't delete twice.

Note: in the future, we will hopefully refactor this to use
OutputTarget, which will change the way this function works and will
probably clean up some of the spaghetti.
2022-02-25 16:04:05 +11:00
Marc Durdin
9ba4b9645c fix(android): further selection tweaks 2022-02-23 15:16:23 +11:00
Marc Durdin
c389ad0df8 fix(android): selection on Android
Part of #5853.

Building on the fixes in KeymanWeb, we do similar patches for Android.
2022-02-23 15:16:21 +11:00
Marc Durdin
4d37fd0a5b chore(android): separate android-host.js
This is part of the fix chain for #5853. Split android-host.js out from
keyboard.html in order to make it easier to debug and mock. No changes
to the content of the script, just moving it here.
2022-02-23 15:15:22 +11:00