Commit graph

1789 commits

Author SHA1 Message Date
Eberhard Beilharz
1b066de292
chore(web): Improve dependencies 2024-05-06 16:41:06 +02: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 Horton
e8c7f525b7
Merge pull request #11321 from keymanapp/fix/web/gesture-model-failure-handling 2024-05-01 07:52:15 +07:00
Joshua A. Horton
725b973bfd chore(web): removes old doc that has completed its purpose 2024-04-30 09:31:15 +07:00
Joshua A. Horton
068437d818 fix(web): also prevent path-update crashes from causing issues 2024-04-30 09:14:08 +07:00
Joshua A. Horton
3ff7664ca2 fix(web): invalid initial-state aborts further model processing 2024-04-30 09:06:31 +07:00
Joshua A. Horton
456ab70322 fix(web): failed gesture-model spinup should not lock the gesture engine 2024-04-30 09:06:30 +07:00
Marc Durdin
85fccb35f6
Merge pull request #11269 from keymanapp/fix/developer/11233-ne-plus-ultra
fix(developer): keep escaped plus-sign escaped 🙀
2024-04-22 23:42:57 +10:00
Joshua A. Horton
7bf6826a64 feat(web): adds recent-history log to gesture engine + clean JSON version 2024-04-22 10:57:37 +07:00
Steven R. Loomis
f0ff05a9a9 fix(developer): escape plus sign
Fixes: #11233
2024-04-19 13:58:31 -05:00
Joshua Horton
09a65a497b
Merge pull request #11174 from keymanapp/change/web/init-osk-with-keyboard
change(web): initializes OSK with keyboard if available during init 🪠
2024-04-19 12:41:48 +07:00
Joshua A. Horton
006151f054 fix(web): longpress cancellation on extra touch should not cancel the extra touch 2024-04-18 10:15:22 +07:00
Joshua A. Horton
b107daab22 chore(web): Merge branch 'beta' into change/web/init-osk-with-keyboard 2024-04-18 08:15:30 +07:00
Joshua Horton
500533925f
Merge pull request #11232 from keymanapp/fix/web/no-selection-clear-on-caps-multitap 2024-04-17 17:43:01 +07:00
Joshua Horton
026cef2e44
Merge pull request #10953 from keymanapp/fix/ios/sample-builds
fix(ios): sample build script --debug detection
2024-04-17 11:56:32 +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
Marc Durdin
29420f7af9
Merge pull request #11214 from keymanapp/chore/developer/recognize-keyboard3-xml
chore(developer): use keyboard3 tag rather than DTD to identify LDML keyboard xml files
2024-04-13 08:22:46 +10:00
Marc Durdin
41e16b3c5f chore(developer): use keyboard3 tag rather than DTD to identify LDML keyboard xml files
Relates to #10469. Apply same test in kmc that we are using in TIKE.
2024-04-12 06:49:43 +10:00
Joshua Horton
d075c8f192
Merge pull request #11189 from keymanapp/fix/web/quick-multitap-modipress-use
fix(web): blocks nextLayer for keys quickly typed when multitapping to new layer when final tap is held
2024-04-10 14:33:26 +07:00
Joshua A. Horton
7466b82893 fix(web): OSK now checks pred-text state on init 2024-04-10 11:04:56 +07:00
Joshua Horton
966d894d0d
Merge pull request #11142 from keymanapp/change/web/gesture-event-queue-polish
change(web): merges split async method in gesture engine 🪠
2024-04-10 10:29:41 +07:00
Joshua A. Horton
75bde80a05 fix(web): quick multitap-modipress use 2024-04-08 14:44:32 +07:00
Joshua A. Horton
3a3d2a8177 change(web): merges split async method in gesture engine 2024-04-05 10:47:31 +07:00
Joshua A. Horton
db9e80776f fix(common/models): suggestion stability after multiple whitespaces 2024-04-04 14:58:51 +07:00
Joshua Horton
769b6118f6
Merge pull request #10960 from keymanapp/fix/web/queued-closure-source-linking
fix(web): proper linkage of sources to events 🪠
2024-04-03 09:22:29 +07:00
Joshua Horton
d999877d8e
Merge pull request #10843 from keymanapp/change/web/input-sequentialization
change(web): input-event sequentialization 🪠
2024-04-03 09:22:23 +07:00
Joshua Horton
23cfb11eea
Merge pull request #10840 from keymanapp/fix/web/proper-gesture-match-sequencing
fix(web): proper gesture-match sequencing 🪠
2024-04-03 09:22:16 +07:00
Joshua Horton
5e30fa76b7
Merge pull request #10838 from keymanapp/fix/web/infinite-model-replacement-loop
fix(web): infinite model-match replacement looping 🪠
2024-04-03 09:22:09 +07:00
Joshua Horton
cde3807d79
Merge pull request #10836 from keymanapp/fix/web/early-matchGesture-abort
fix(web): early gesture-match abort when unable to extend existing gestures 🪠
2024-04-03 09:22:03 +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
4e403e9374
Merge pull request #11032 from keymanapp/fix/web/7866-layer-switch-key-deletes-selection
fix(web): prevent layer switch key from erasing selection
2024-03-29 15:22:58 +11:00
Steven R. Loomis
5f836d72f0
Merge pull request #11059 from keymanapp/fix/core/11045-assert-marker
fix(core,developer): variable/marker substitution in sets and strings🙀
2024-03-28 00:11:28 -05: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
Joshua A. Horton
75dff78a30 chore(web): Merge branch 'change/web/input-sequentialization' into fix/web/queued-closure-source-linking 2024-03-27 09:48:17 +07:00
Joshua A. Horton
38d80bcdd6 chore(web): Merge branch 'fix/web/proper-gesture-match-sequencing' into change/web/input-sequentialization 2024-03-27 09:47:45 +07:00
Joshua A. Horton
45e43d4b84 chore(web): Merge branch 'fix/web/infinite-model-replacement-loop' into fix/web/proper-gesture-match-sequencing 2024-03-27 08:24:14 +07:00
Joshua A. Horton
a6144c0730 chore(web): Merge branch 'fix/web/early-matchGesture-abort' into fix/web/infinite-model-replacement-loop 2024-03-27 08:23:48 +07:00
Joshua A. Horton
37b31f1abd chore(web): Merge branch 'fix/web/sticky-preview' into fix/web/early-matchGesture-abort 2024-03-27 08:23:21 +07:00
Steven R. Loomis
baeb3c80fc fix(developer): fix an additional issue on illegal UnicodeSets
- update comments per review comments
- improve logic of checks around malloc
2024-03-26 17:24:56 -05:00
Steven R. Loomis
f2ad7d4e68 fix(common): further improvement to string/set substitution
- tran: check for \uXXXX earlier in the chain, because we emit this format further down
- add test cases for syntax chars being used in variables

Fixes: bug(core): assert when matching markers #11045
Fixes: bug(developer): escape on string substitution if syntax char #11037
2024-03-25 14:52:32 -05:00
Steven R. Loomis
f773066fa0 fix(developer): store set variables in literal form, unescape in tran
- update the tran compiler to call escapeStringForRegex() on set items being substituted into an expression
2024-03-25 12:46:55 -05:00
Steven R. Loomis
67838e60a2 fix(developer,core): fix for marker substitution in sets
- for bug(core): assert when matching markers #11045
- track raw and marker-substituted sets
2024-03-25 12:00:55 -05:00
Steven R. Loomis
18ba46d874 fix(common): fix an additional issue on illegal UnicodeSets
- similar fix to https://github.com/keymanapp/keyman/pull/9492
- again may be due to a wasm version variant
- also additional rangechecking on the input side
2024-03-25 10:26:33 -05: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