Commit graph

331 commits

Author SHA1 Message Date
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
Joshua A. Horton
f36aba7bad chore(web): explicit edge case condition 2024-02-08 11:52:13 +07:00
Joshua A. Horton
c32691c2e7 feat(web): extra edge-case unit tests 2024-02-08 08:19:40 +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
b1adb857b3 fix(web): forgot to delete a ref to deleted name 2024-02-07 15:41:56 +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
Joshua A. Horton
7d4e3c70d0 change(web): replaces function for unit tests (just one instance) 2024-02-07 15:27:14 +07:00
Joshua A. Horton
ce468303fb docs(web): a bit of documentation 2024-02-07 15:26:47 +07:00
Joshua A. Horton
3a1303fb6f change(web): PR change nomenclature 2024-02-07 15:19:35 +07:00
Joshua A. Horton
f7d7e071f1 fix(web): logic for divergence at start position 2024-02-07 15:13:15 +07:00
Joshua A. Horton
957f403ba0 fix(web): restoreTo() tweaks 2024-02-07 12:22:56 +07:00
Joshua A. Horton
5fe64b0cd4 fix(web): transcription-construction from contexts with selections 2024-02-07 12:08:19 +07:00
Joshua A. Horton
e2360a9ad0 fix(web): outputTarget.apply() now clears selection; adds unit tests 2024-02-07 10:12:32 +07:00
Joshua A. Horton
627e93dd91 fix(web): bksp passthrough when no deletable context exists 2024-02-01 10:42:57 +07:00
Joshua A. Horton
62de528197 feat(web): extra test case - empty left-context, but selected text 2024-02-01 10:42:06 +07:00
Joshua A. Horton
c4eb4d4b04 feat(web): unit tests - bksp with empty context 2024-02-01 10:21:29 +07:00
Joshua A. Horton
dbae8392b9 fix(web): removes temp .only from unit-test suite, tweaks comments per review 2024-01-25 10:51:26 +07:00
Joshua A. Horton
fc1d90ee61 docs(web): adds compare/contrast comments for related recent unit-test sets 2024-01-23 14:12:28 +07:00
Joshua A. Horton
e9becef82a feat(web): rule processing unit tests for mnemonic, KMW 1.0 keyboard formats 2024-01-23 14:02:37 +07:00
Joshua A. Horton
2520d97d7f fix(web): minimal harness loading for kbds with KLOAD 2024-01-23 12:24:11 +07:00
Joshua A. Horton
a404c20ddf feat(web): mnemonic + legacy keystroke pre-proc unit tests 2024-01-22 14:08:10 +07:00
Joshua A. Horton
dc368c9168 fix(web): U_ key id -> text for all subkeys; is now preprocessed 2024-01-18 12:56:21 +07:00
Joshua A. Horton
dc7bfc1344 chore(web): Merge branch 'change/web/build-bundler-replacement' into feat/web/es6-target-artifact 2023-12-22 12:59:20 +07:00
Joshua A. Horton
d554a0046f chore(web): Merge branch 'refactor/web/common-esbundling' into change/web/build-bundler-replacement 2023-12-22 12:54:53 +07:00
Joshua A. Horton
b824fb96ef fix(web): defaultShift null-guard 2023-12-19 10:05:01 +07:00