Commit graph

4665 commits

Author SHA1 Message Date
Joshua Horton
aa68c1755e
Merge pull request #11402 from keymanapp/chore/web/other-dependency-updates
chore(web): EventEmitter3, sinon dependency updates 🏃
2024-05-15 14:10:52 +07:00
Joshua Horton
d6ea20f520
Merge pull request #11319 from keymanapp/chore/web/consistent-npm-types
chore(web): updates most @types/node dependencies, makes them consistent 🏃
2024-05-15 14:10:35 +07:00
Joshua Horton
887a47930f
Merge pull request #11318 from keymanapp/chore/web/chai-update
chore(web): updates chai, @types/chai dependencies 🏃
2024-05-15 14:10:27 +07:00
Joshua A. Horton
8d7721545a chore(web): updates sinon to a version with fully-ESM artifact 2024-05-09 08:49:51 +07:00
Joshua A. Horton
a34e5c9100 fix(web): EventEmitter import pattern update 2024-05-09 08:49:50 +07:00
Joshua A. Horton
ad8bdaa4c1 chore(web): updates eventemitter3 to v5, when it provides esmodule exports 2024-05-09 08:49:50 +07:00
Joshua A. Horton
7b9bff10b2 chore(web): Merge branch 'chore/web/chai-update' into chore/web/consistent-npm-types 2024-05-09 08:10:12 +07:00
Joshua A. Horton
5c43042589 chore(web): update Safari BrowserStack target as stopgap measure 2024-05-08 16:08:11 +07:00
Joshua A. Horton
18cfd76e66 chore(web): Merge branch 'chore/web/chai-update' into chore/web/consistent-npm-types 2024-05-08 08:53:13 +07:00
Joshua A. Horton
079e68393a fix(common): Chai 5.0 update strictness broke some common/web/types tests 2024-05-08 08:50:18 +07:00
Steven R. Loomis
1fe76bcd26
Merge branch 'master' into chore/core/11033-points-not-units 2024-05-07 09:26:07 -05: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
7a66eb29b4 fix(web): gesture-recognizer Karma tests 2024-05-07 14:35:10 +07:00
Joshua A. Horton
812de690d8 chore(web): fixes pred-text karma config
The upgrade to chai means that karma's 'framework' feature is no longer compatible, meaning a _little_ extra legwork is required to use it for karma browser tests.  It's just a little bit, though.

Will need to replicate this for the other packages that use karma to test, as the pattern kinda proliferated.
2024-05-07 14:35:09 +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
Joshua A. Horton
5574b9418f chore(web): chai dependency updates
Updates 'chai' assertion library to latest; old version used CommonJS imports
2024-05-07 14:35:08 +07:00
Steven R. Loomis
fbd1c0c841 chore(core): km_core_cp -> km_core_cu
- fix comment
- fix API version

Fixes: #11033

Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-05-06 09:54:07 -05:00
Eberhard Beilharz
1b066de292
chore(web): Improve dependencies 2024-05-06 16:41:06 +02:00
Steven R. Loomis
6706ae0957 chore(core): km_core_cp -> km_core_cu
- km_core_cp represents a 16 bit code unit, not a code point.

Fixes: #11033
2024-05-02 17:39:15 -05:00
Marc Durdin
b003e7b4bf chore(common): builder_describe and builder_parse should come first
builder_describe and builder_parse should come before other tests, so
that (a) scripts can return --help details, and (b) so that
builder.inc.sh can tell that the script is a valid builder script, even
if environment means that the script will not otherwise run.
2024-05-02 15:54:32 +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 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
d019707a65
Merge pull request #11244 from keymanapp/fix/developer/11199-export-osk-without-keyman-installed
fix(developer): support export of visual keyboard when Keyman for Windows not installed
2024-04-26 17:08:58 +10:00
Marc Durdin
571fbb6c50 fix(developer): don't include DTD in visual keyboard export
The DTD reference at tavultesoft.com is no longer valid. In order for
the .xml file to be parseable, we need to remove the DTD reference. This
resolves the issue where the emitted .html file is blank, and adds an
additional step of verifying that the .xml file loads successfully in
the XML to HTML transform.
2024-04-26 10:07:01 +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
ace7474428 fix(web): fixes pred-text unit test instability 2024-04-22 15:40:37 +07:00
Joshua Horton
122351bea4
Merge pull request #11277 from keymanapp/feat/web/gesture-engine-history
feat(web): add recent-history log to gesture engine
2024-04-22 15:29:44 +07:00
Marc Durdin
a8f5f561e0
Merge pull request #11243 from keymanapp/fix/developer/11193-emit-json-strings-as-chars
fix(developer): emit JSON strings as characters, not surrogate pairs
2024-04-22 14:17:34 +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
Marc Durdin
89773e13de fix(developer): support export of visual keyboard when Keyman for Windows not installed
Fixes #11199.
2024-04-18 10:26:06 +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
Marc Durdin
2d6ab45f9a fix(developer): emit JSON strings as characters, not surrogate pairs
Fixes #11193.

The JSON pretty-printed format in Delphi would emit strings with
surrogate pairs as e.g. "\uD801\uDDB0" instead of the character. This
change uses TStringBuilder which emits the characters cleanly.
2024-04-18 09:20:40 +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