Commit graph

4673 commits

Author SHA1 Message Date
Joshua A. Horton
09d8ea0aa8 chore(web): converts lm-worker test to typescript, uses plugin 2024-05-09 09:40:34 +07:00
Joshua A. Horton
6571e8b383 chore(web): links new reporter into lm-worker tests, includes default reporter for in-progress summary 2024-05-09 09:40:18 +07:00
Joshua A. Horton
af0479f74d chore(web): lm-worker test --debug path 2024-05-09 09:36:39 +07:00
Joshua A. Horton
2543d98dbc chore(web): lm-worker testing - local vs CI mode 2024-05-09 09:36:38 +07:00
Joshua A. Horton
5fa3ebfb08 chore(web): converts lm-worker .spec.html to .spec.mjs 2024-05-09 09:36:38 +07:00
Joshua A. Horton
3fd2323a83 chore(web): lm-worker cleanup 2024-05-09 09:18:04 +07:00
Joshua A. Horton
9adda6b636 chore(web): actually links new test-runner test into lm-worker/build.sh 2024-05-09 09:18:02 +07:00
Joshua A. Horton
8ace9f5868 chore(web): lm-worker in-browser test now in lm-worker project
Uses @web/test-runner to run it, making it our first integrated test with the new testing library
2024-05-09 09:18:02 +07:00
Joshua A. Horton
b9b86e760c feat(web): adds 'stability reporter', exposing error reports when a test-runner launcher fails 2024-05-09 09:18:01 +07:00
Joshua A. Horton
b83a16d0ac chore(web): extra TC-reporter polish 2024-05-09 09:18:00 +07:00
Joshua A. Horton
53e84ff0ad feat(web): better cause-of-failure reporting; notes if spec'd test-files never ran 2024-05-09 09:14:01 +07:00
Joshua A. Horton
c765d3217b chore(web): figured out how to disambiguate browser configs 2024-05-09 09:13:13 +07:00
Joshua A. Horton
eecacc94e9 chore(web): initial TC-style string-escaping implementation 2024-05-09 09:12:47 +07:00
Joshua A. Horton
33dcfe31bf feat(web): prototype TC-reporter for @web/test-runner 2024-05-09 09:12:42 +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
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
Eberhard Beilharz
1b066de292
chore(web): Improve dependencies 2024-05-06 16:41:06 +02: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