Commit graph

357 commits

Author SHA1 Message Date
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
2c79db4cb5 chore(web): Merge branch 'master' into chore/web/update-typescript 2024-05-27 09:20:01 +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
1d8de02c2f fix(web): configure should include playwright setup 2024-05-15 15:54:25 +07:00
Joshua A. Horton
efd84942da chore(web): kbd-proc wtr config simplification 2024-05-15 14:47:13 +07:00
Joshua A. Horton
c8949c77e7 chore(web): kbd-proc browser test now TS 2024-05-15 14:44:04 +07:00
Joshua A. Horton
730b64c5da chore(web): guess who forgot to wrap the launchers for the stability checks 2024-05-15 14:41:35 +07:00
Joshua A. Horton
d0a6a88dec chore(web): adds reporting details for CI-failing test section 2024-05-15 14:41:35 +07:00
Joshua A. Horton
6f20cb2992 chore(web): kbd-processor testing - local vs ci 2024-05-15 14:41:34 +07:00
Joshua A. Horton
55434c95ed chore(web): keyboard-proc kbd loading test conversion 2024-05-15 14:41:34 +07:00
Joshua A. Horton
a34e5c9100 fix(web): EventEmitter import pattern update 2024-05-09 08:49:50 +07:00
Joshua A. Horton
01d0019d86 chore(web): removes package.json references to old @npm/types versions 2024-05-07 14:38:41 +07:00
Joshua A. Horton
2bc2f77f11 fix(web): kbd-proc Karma test fix 2024-05-07 14:35:10 +07:00
Joshua A. Horton
398b9e0ae2 chore(common): drops package-specific 'chai', '@types/chai' versions
chore(web): missed leaving these out of the rebase
2024-05-07 14:35:09 +07:00
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +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
ea8366455c chore(web): update test fixture 2024-03-21 14:03:40 +07:00
Marc Durdin
8fbb0c3281 chore(web): update tests 2024-03-21 10:38:43 +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
444aeec509 chore(web): unit test patchup after method rename 2024-02-08 15:40:39 +07:00
Joshua A. Horton
aefef2181d chore(web): further PR cleanup 2024-02-08 13:12:26 +07:00