Commit graph

321 commits

Author SHA1 Message Date
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
Joshua A. Horton
5eb787bac6 fix(web): default multitap logic conditions on and affects both default and shift layers 2023-12-19 09:50:38 +07:00
Joshua A. Horton
b95051bd95 fix(web): transplanted layout methods must be @Enumerable for ES6 bundling 2023-12-18 15:24:11 +07:00
Joshua A. Horton
f6e77a3736 feat(web): alternate artifact - es6-bundled Web
Does not affect the worker.

Bundling is in a temp-script and not properly connected to our actual build infrastructure.
2023-12-18 10:32:35 +07:00
Joshua A. Horton
b34a020990 change(web): keyboard-processor bundler script use 2023-12-18 10:13:31 +07:00
Marc Durdin
eb881dc137
Merge pull request #7324 from keymanapp/feature-gestures
epic: new gesture engine 🐵
2023-12-14 15:23:43 +11:00
Steven R. Loomis
6488a42875 chore(linux): docs: fix Node.js install
- update other docs to simply point to NodeSource's instructions

Fixes: chore(linux): script deprecation warning from nodesource #10024
2023-12-13 18:33:51 +00:00
Marc Durdin
aa458152cf
Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures 2023-12-08 14:24:38 +11:00
Eberhard Beilharz
38c783935e
fix(web): Fix null error with legacy keyboards
This uses a different approach in response to code review.

Fixes #10099.
2023-12-06 16:45:18 +01:00
Eberhard Beilharz
b58dcbcc3d
fix(web): Fix null error with legacy keyboards
Fixes #10099.
2023-12-05 18:11:18 +01:00
Joshua A. Horton
094492775b change(web): adds a 'default' nextlayer key in default shift-multitap rota 2023-12-05 08:44:11 +07:00