Commit graph

267 commits

Author SHA1 Message Date
Joshua A. Horton
7166428d72 fix(web): check for longpresses with .sk, not .sp 2024-06-21 08:38:53 +07:00
Joshua A. Horton
7dbadef7bd chore(web): Merge branch 'feat/web/osk-layer-deferral' into feat/web/layer-processing-deferral 2024-06-19 15:49:05 +07:00
Joshua A. Horton
9c79aa4f65 chore(web): Merge branch 'master' into change/web/keyboard-preprocess-optimization 2024-06-19 15:21:14 +07:00
Joshua A. Horton
eb40a0f6ee chore(web): Merge remote-tracking branch 'origin/chore/web/remove-no-implicit-any' into chore/web/remove-no-implicit-any 2024-06-03 11:58:06 +07:00
Joshua A. Horton
d2987ac26f chore(web): Merge branch 'chore/web/partial-config-cleanup' into chore/web/remove-no-implicit-any 2024-06-03 11:57:33 +07:00
Joshua A. Horton
46e4518749 chore(web): Merge branch 'master' into chore/web/partial-config-cleanup 2024-06-03 10:57:51 +07:00
Joshua Horton
b304069425
Merge pull request #11603 from keymanapp/fix/web/kbd-proc-strictness-bugs
fix(web): fix keyboard-processing bugs uncovered by stricter TS settings 🔩
2024-06-03 10:55:10 +07:00
Joshua A. Horton
3d77cf2fef docs(web): on KLS format and its arrays of 65 entries 2024-06-03 08:38:12 +07:00
Joshua Horton
2b33d6c0a5
docs(web): tweaks comment regarding a @ts-ignore
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-31 15:14:33 +07:00
Joshua A. Horton
5abd621ddc change(web): isKeyNotCorrected -> isFrameKey 2024-05-31 13:58:31 +07:00
Joshua Horton
8f3569681b
docs(web): Update codes.ts with docs on use of the 50000 literal 2024-05-30 16:56:30 +07:00
Joshua Horton
006f15b225
change(web): minor simplification from review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-30 16:53:17 +07:00
Joshua A. Horton
487a28da8e docs(web): for EncodedVisualKeyboard 2024-05-30 16:44:27 +07:00
Joshua A. Horton
10033f4dea docs(web): fixes detail about readonly keystroke params 2024-05-30 16:40:59 +07:00
Joshua A. Horton
61dfcc98f6 docs(web): documents KeyboardObject properties 2024-05-30 16:37:00 +07:00
Joshua Horton
ee0c107afe
fix(web): for...of, not for...in
We moved to the Object.keys() pattern, which means replacing the 'in'

Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-30 15:58:57 +07:00
Joshua A. Horton
5ddcf2cbe5 chore(web): patches web tools for enforcement of no implicit any 2024-05-29 10:43:12 +07:00
Joshua A. Horton
6591c61eeb chore(web): enforces noImplicitAny for app/browser and app/webview 2024-05-29 10:43:11 +07:00
Joshua A. Horton
2f42f3943c chore(web): better use of scope within getVKDictionaryCode 2024-05-29 10:36:38 +07:00
Joshua A. Horton
3530314cbd chore(web): noImplicitReturns, strictNullChecks 2024-05-29 10:36:37 +07:00
Joshua A. Horton
b56628ea24 chore(web): removes all Web-related implicit-any usage outside of web/ and common/web/gesture-recognizer 2024-05-29 10:36:30 +07:00
Joshua A. Horton
fbe9f4d2fd fix(web): missing return value when setting stores 2024-05-29 10:24:24 +07:00
Joshua A. Horton
be1cc343ef change(web): remove broken redundant check for keys to not correct 2024-05-29 10:22:28 +07:00
Joshua A. Horton
fec1bbc008 fix(web): legacy BK array typing - uses array of strings, not a singlestring 2024-05-29 10:10:50 +07:00
Joshua A. Horton
3e8cd1b73e refactor(web): keyboard-layout preprocessing property transplantation 2024-05-29 09:30:31 +07:00
Joshua A. Horton
826204cdc1 chore(web): cleans up unused locals outside of web/ 2024-05-29 09:24:16 +07:00
Joshua A. Horton
70d06d7cd1 chore(web): updates all KMW-related projects to TS 5.4.5 2024-05-15 16:00:34 +07:00
Joshua A. Horton
a34e5c9100 fix(web): EventEmitter import pattern update 2024-05-09 08:49:50 +07:00
Joshua A. Horton
bb0420109f feat(web): touch-layout layer spec processing now deferred until needed 2024-04-23 10:31:53 +07:00
Joshua A. Horton
fdd4c2a6a7 refactor(web): gesture-check preprocessing, removal of redundant param 2024-04-23 10:31:52 +07:00
Joshua A. Horton
326eaa2700 chore(web): type-related prep for touch-spec process deferral 2024-04-23 10:31:52 +07:00
Joshua A. Horton
1fccce581a chore(web): revert ineffective attempt to optimize prop-name looping 2024-04-23 10:29:34 +07:00
Joshua A. Horton
bef266548a fix(web): default multitap fix + sets one layout field private 2024-04-23 10:29:33 +07:00
Joshua A. Horton
b9cfaa156b change(web): more efficient key-spec processing 2024-04-23 10:29:32 +07:00
Joshua A. Horton
ad6ff80bbf change(web): lazy-init for baseKeyEvent generation 2024-04-23 10:29:32 +07:00
Joshua A. Horton
99d4dad00c change(web): trims sanitize deletes, key iteration 2024-04-23 10:29:30 +07:00
Joshua A. Horton
fb127e761b fix(web): more robustness in case of deadkeys 2024-04-17 10:33:16 +07:00
Joshua A. Horton
0c8f520e2a fix(web): prevents selection-clear for pure layer-switching multitaps 2024-04-17 10:17:28 +07:00
Steven R. Loomis
5b1c853557 fix(common,core): support other lookup for modifiers
- the 'other' keyword was incorrectly called 'default'

Fixes: #11072
2024-04-01 23:21:33 -05:00
Steven R. Loomis
5615a5eb4c chore(common): add more references to 0x10000
- at least add comments pointing back to keyman_core_ldml.ts

Fixes: #11072
2024-04-01 12:26:00 -05:00
Marc Durdin
26e99047b6
Merge pull request #11110 from keymanapp/fix/common/11084-isemptytransform-nullish-is-empty
fix(common): make `isEmptyTransform` return true if passed a nullish transform
2024-03-29 15:23:22 +11:00
Marc Durdin
1bc5db3527 fix(common): make isEmptyTransform return true if passed a nullish transform
Fixes #11084.
2024-03-28 10:45:08 +07:00
Marc Durdin
a54053bec6 fix(web): prevent layer switch key from erasing selection
Fixes #7866.

When the transform generated by a key event results in no changes to the
text, this will no longer trigger a change event in the apps. This means
that layer switch keys will no longer erase the selection.

Fix proposed by @jahorton.
2024-03-21 10:08:23 +07:00
Joshua A. Horton
0e06b7a20b docs(web): adds a bit of extra documentation re: method return value paradigm 2024-02-13 11:05:38 +07:00
Joshua A. Horton
aefef2181d chore(web): further PR cleanup 2024-02-08 13:12:26 +07:00
Joshua A. Horton
f36aba7bad chore(web): explicit edge case condition 2024-02-08 11:52:13 +07:00
Joshua A. Horton
0f0784a0e7 change(web): simpler return value 2024-02-07 16:24:42 +07:00
Joshua A. Horton
1222b2b3e2 chore(web): minor simplification 2024-02-07 16:04:42 +07:00
Joshua A. Horton
e3da931606 change(web): clearer maxInterval handling 2024-02-07 15:40:36 +07:00
Joshua A. Horton
a903bb91e7 chore(web): some more cleanup + docs 2024-02-07 15:36:21 +07:00