Commit graph

1326 commits

Author SHA1 Message Date
Marc Durdin
4d07a393b0 fix(web): sporadic blank keyboard on Android
Fixes #3996.

This is a tentative fix: it merely prevents `_Hide` from having any effect when in embedded mode. Tested on Android and could not force any issues.

However, it addresses the symptom and is probably sufficient but does not actually fix the root issue of the problem, which is that the `_Hide` method should never be called for embedded mode, as keyboard visibility is controlled by the host Keyman Engine on the device. Digging out those code paths is a much bigger job, and as the keyboard continues to function correctly if the effect of the hide (opacity=0) is undone by hand using web inspector, I am reasonably confident that this won't break other things.
2020-12-14 09:51:27 +11:00
Darcy Wong
7e6d2c6ac6
Merge pull request #4098 from keymanapp/fix/web/offsettop-null
fix(web/ui): Add null check for calculations when canceling touch
2020-12-10 10:09:05 +07:00
Darcy Wong
e985dbaccb
Update web/source/osk/visualKeyboard.ts
Co-authored-by: Marc Durdin <marc@durdin.net>
2020-12-09 14:43:31 +07:00
Darcy Wong
993ba2f26b fix(web/ui): Fix check on indexOf 2020-12-09 14:30:47 +07:00
Darcy Wong
eeb5044040 fix(web/ui): Also guard on kbdDiv 2020-12-09 13:31:12 +07:00
Darcy Wong
6ceafea1cc fix(web/ui): Add null check for calculations when canceling touch 2020-12-09 11:50:56 +07:00
Darcy Wong
ca04394751 fix(web/ui): Add check for suggestion.tag
Fixes #4079
2020-12-07 08:59:46 +07:00
Joshua Horton
195b4d0be0
Merge pull request #4072 from keymanapp/fix/common/core/web/predictive-context-reset
fix(common/core/web): predictive context reset
2020-12-04 15:24:59 +07:00
jahorton
07daee7b16 fix(common/models): fixes post-wordbreak suggestions 2020-12-04 13:39:04 +07:00
jahorton
e46c4f371f fix(web/engine): findNearestKey erroneously returned key child 2020-12-04 09:43:39 +07:00
jahorton
6d111783e3 fix(common/core/web): predictive context reset 2020-12-03 15:48:18 +07:00
jahorton
af7be3f1dc fix(web): default attachment behavior 2020-11-25 12:51:34 +07:00
Marc Durdin
c4871c981c
Merge branch 'master' into feat/developer/3863-new-touch-layout-key-tags 2020-11-25 12:51:14 +11:00
Joshua Horton
6a29257b49
Merge pull request #3941 from keymanapp/fix/web/osk-errors
fix(web): adds null guards for two Sentry errors
2020-11-24 11:43:20 +07:00
jahorton
37619d7f03 fix(web): Fixes #3930 - adds keySpec null guard during click processing 2020-11-24 10:33:11 +07:00
jahorton
d264fa5487 fix(web): Fixes #3931 - adds in-rotation null guard 2020-11-24 10:22:26 +07:00
jahorton
afc1288140 chore(web): adds LTREnter, LTRBkSp, and associated layout mapping 2020-11-24 10:08:50 +07:00
jahorton
7cfcb9fa6e docs(web): adds minor comment regarding change 2020-11-24 08:22:23 +07:00
jahorton
927878d6e8 fix(ios/engine): banner inconsistency 2020-11-23 12:56:54 +07:00
jahorton
89da78acf0 fix(web/engine): proactive prevention for swapped keyboards 2020-11-20 10:53:32 +07:00
jahorton
54482e8f1f fix(web/engine): fixes OSK rotation 2020-11-20 10:35:20 +07:00
Joshua Horton
7c001607ad
Merge pull request #3858 from keymanapp/feat/web/engine/touchless-blank-keys
feat(web/engine): allows touch aliasing away from blank keys
2020-11-19 09:50:43 +07:00
Marc Durdin
83325e878c feat(developer): add new touch layout special tags
Fixes #3863.

This adds the new `*RTLEnter*` and other tags introduced in #3851 to
the touch layout editor, and adds validation for use in 14.0 keyboards.

Due to a limitation in the compiler architecture, use of these tags
will not trigger the automatic keyboard versioning functionality; the
keyboard developer must explicitly specify `store(&VERSION) '14.0'`.

Also:

* synchronised error codes between .h and .pas.
* synchronised touch layout tags between Developer and KeymanWeb, and
  cleaned up builder.js usage thereof.
* added support for KeymanwebOsk font override when special tags are
  identified.
* added basic tests to ensure that the compiler is catching use of these
  tags as needed.
* updated keymanweb-osk.ttf font in Developer.
2020-11-18 08:58:57 +11:00
Joshua Horton
ad7a612b42
Merge pull request #3847 from keymanapp/fix/common/core/web/meta-key-handling
fix(common/core/web): meta key handling
2020-11-17 10:02:18 +07:00
Joshua Horton
04610876d2
Merge pull request #3851 from keymanapp/feat/web/engine/osk-font-update
feat(web/engine): updates osk font, adds layout codes for new glyphs
2020-11-17 10:01:52 +07:00
jahorton
37d6d21b5a feat(web/engine): mild rename for new special keys 2020-11-17 08:58:37 +07:00
jahorton
3b2c8bdad6 feat(web/engine): special OSK chars now usable on all keys 2020-11-16 10:49:17 +07:00
jahorton
9a1a78fc5b change(web/engine): tweaks special-key map 2020-11-16 10:14:06 +07:00
jahorton
22c44fedc0 chore(web/engine): polishes code from PR suggestion 2020-11-16 10:13:12 +07:00
Joshua Horton
be254ed23a
Update web/source/osk/visualKeyboard.ts
Co-authored-by: Marc Durdin <marc@durdin.net>
2020-11-16 10:11:47 +07:00
jahorton
1c5e5991ba feat(web/engine): allows touch aliasing away from blank keys 2020-11-13 09:29:42 +07:00
jahorton
ca4679a598 fix(web/engine): blocks key previews for blank/hidden keys 2020-11-13 09:00:12 +07:00
jahorton
c8431c38bc feat(web/engine): updates osk font, adds layout codes for new glyphs 2020-11-12 15:46:55 +07:00
jahorton
5ba0888cfd feat(web/engine): adds META modifier, filters mac meta hotkeys/shortcuts 2020-11-12 09:15:33 +07:00
Darcy Wong
6f0f3e5b62 chore(web): Update keymanweb-osk.ttf to v. 2.100
In preparation for #2713, this updates the keymanweb-osk.ttf font to [v. 2.100](https://github.com/silnrsi/font-keymanweb-osk/releases/tag/v2.100) which adds the new glyphs silnrsi/font-keymanweb-osk#1
2020-10-28 14:42:05 +07:00
Marc Durdin
fcf9a9779d chore(web): Merge branch 'master' into fix/web/2990-dotted-circle-pain 2020-10-21 17:21:37 +11:00
Marc Durdin
941532542c chore(web): address review comments 2020-10-20 18:24:21 +11:00
Joshua Horton
6efb6d23be
Merge pull request #3685 from keymanapp/feat/common/models/context-reversion
feat(common/models): context reversion modeling
2020-10-20 08:42:07 +07:00
Darcy Wong
94c2f2576c chore(web): Remove prependBaseKey() 2020-10-19 13:07:29 +07:00
Darcy Wong
7bd03f8121
chore(web): Include PR number (2 of 2)
Co-authored-by: Marc Durdin <marc@durdin.net>
2020-10-19 10:20:29 +07:00
Darcy Wong
aa70d16ad0
chore(web): Include PR number (1 of 2)
Co-authored-by: Marc Durdin <marc@durdin.net>
2020-10-19 10:20:11 +07:00
Darcy Wong
bd2b87f5c0 fix(web): Remove base key from popup keys 2020-10-19 10:05:31 +07:00
Darcy Wong
d3dd817c49
Merge pull request #3664 from keymanapp/fix/web/pass-tab-enter-back-to-embedded-device
fix(web): Let embedded device handle K_TAB or K_ENTER
2020-10-18 06:12:27 +07:00
Joshua Horton
73a20cfe8c
Merge pull request #3702 from keymanapp/feat/common/core/web/selective-wordbreak-swallow
feat(common/core/web): selective wordbreak swallowing after accepting suggestions
2020-10-14 08:25:35 +07:00
jahorton
f272efdeca feat(common/core/web): selective wordbreak swallowing after accepted suggestion 2020-10-12 15:33:40 +07:00
jahorton
46eecb81cd feat(common/models): disables "keep" when word is not suggestion otherwise 2020-10-12 12:51:47 +07:00
Darcy Wong
02be20e56a chore(web): Add comments about the expected return values 2020-10-09 15:19:40 +07:00
Joshua Horton
7109d5bc2b
Merge pull request #3647 from keymanapp/feat/common/models/model-dependent-revert-annotation
feat(common/models): 'revert' now uses model's punctuation
2020-10-09 10:22:09 +07:00
jahorton
c0ba9740c5 fix(web): missed a spot on prior commit 2020-10-09 09:46:15 +07:00
jahorton
4aae922fb0 change(web): rips out unused suggestion-rotation code 2020-10-09 09:21:33 +07:00