Commit graph

33137 commits

Author SHA1 Message Date
Eberhard Beilharz
5666b4296e
Merge branch 'epic/web-core' into test/common/baseline 2026-01-06 18:54:37 +01:00
Eberhard Beilharz
65642ae2d4
Merge pull request #15341 from keymanapp/test/web/jsbaseline
test(web): add baseline tests for .js keyboards

This change adds baseline tests for .js keyboards. Several of those tests fail and so are skipped for now (#15342).

This test also includes the .js files of the baseline keyboards because they can't easily be generated on non-Windows platforms. This is similar to the .kmx files that are also included in the repo for the same reason.
2026-01-06 18:52:45 +01:00
Eberhard Beilharz
f65a752b47
test(web): address code review comments 2026-01-06 18:19:07 +01:00
Eberhard Beilharz
5f2e72749a
test(web): address code review comments 2026-01-06 17:43:27 +01:00
Eberhard Beilharz
4ba1fcbfb3
Merge pull request #15376 from keymanapp/refactor/web/keyboard-storage
refactor(web): remove defaults in keyboard-storage

- Also renamed `prefixed` and `withoutPrefix` functions to use the name   that was aliased on most cases: `toPrefixedKeyboardId` and   `toUnprefixedKeyboardId`. 
- Renamed `ModelManager` class to `ModelCache` which was the name used   everywhere except in comments.

Part-of: #15292
2025-12-22 14:53:28 +01:00
Eberhard Beilharz
72637a9379
Merge pull request #15374 from keymanapp/maint/web/playwright-tc
maint(web): escape single quotes in TC service messages

This fixes a problem where TC shows an error because it can't find the end of the service message for a failed test. Single quotes have to be escaped with `|'` inside of a message, as well as some other characters.
2025-12-22 14:51:42 +01:00
Eberhard Beilharz
f276c672c0
Merge pull request #15344 from keymanapp/refactor/web/constants
chore(web): remove default from hardware keyboard 

Also some other refactorings like use constants instead of hard coded values.
2025-12-22 14:33:53 +01:00
Eberhard Beilharz
f063bc3181
Merge pull request #15332 from keymanapp/refactor/web/cleanup 2025-12-22 11:58:17 +01:00
Eberhard Beilharz
074fa01d69
Merge pull request #15331 from keymanapp/refactor/web/notify 2025-12-22 11:57:54 +01:00
Eberhard Beilharz
0dbbcc452e
maint(web): escape single quotes in TC service messages
This fixes a problem where TC shows an error because it can't find the
end of the service message for a failed test. Single quotes (and some
other characters) have to be escaped with `|'` inside of a message.

Build-bot: skip:all build:web
Test-bot: skip
2025-12-19 19:53:06 +01:00
Eberhard Beilharz
5b38557227
refactor(web): remove defaults in keyboard-storage
- Also renamed `prefixed` and `withoutPrefix` functions to use the name
  that was aliased on most cases: `toPrefixedKeyboardId` and
  `toUnprefixedKeyboardId`.
- Renamed `ModelManager` class to `ModelCache` which was the name used
  everywhere except in comments.

Part-of: #15292
Test-bot: skip
2025-12-19 18:43:02 +01:00
Eberhard Beilharz
72d12622ff
refactor(web): address code review comment 2025-12-19 11:59:32 +01:00
Eberhard Beilharz
1895a944a2
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-12-18 12:48:45 +01:00
Eberhard Beilharz
e4e76caea7
refactor(web): address code review comment
Build-bot: skip
Test-bot: skip
2025-12-17 15:55:52 +01:00
Eberhard Beilharz
6de40e903b
test(common): better group baseline tests
This change groups similar tests together. Also update `build.sh` to
compile .js files.

Follow-up-of: #15341
Test-bot: skip
2025-12-15 18:12:01 +01:00
Eberhard Beilharz
4d644cd00e
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-12-15 15:44:42 +01:00
Eberhard Beilharz
80c1f8864a
test(web): add baseline tests for .js keyboards
Test-bot: skip
2025-12-12 18:23:39 +01:00
Eberhard Beilharz
52812dd18f
Merge pull request #15347 from keymanapp/fix/windows/cherry-pick/web-core/tests
fix(windows): use Thai Kedmanee instead of Arabic 101 in RightAltEmulationCheck.tests.cpp🍒

Cherry-pick-of: #15346
Fixes: #15345
2025-12-12 16:13:24 +01:00
Marc Durdin
d147fa9b0b
fix(windows): use Thai Kedmanee instead of Arabic 101 in RightAltEmulationCheck.tests.cpp
Fixes: #15345
Test-bot: skip
2025-12-12 11:39:14 +01:00
Eberhard Beilharz
1b04772bb9
refactor(web): address code review comments 2025-12-12 11:31:55 +01:00
Eberhard Beilharz
878b8ab2f0
chore(web): remove default from hardware keyboard
Test-bot: skip
2025-12-11 19:27:04 +01:00
Eberhard Beilharz
dbb05e3fcc
refactor(web): use constants instead of hard coded values
And some other refactorings.

Test-bot: skip
2025-12-11 19:27:03 +01:00
Eberhard Beilharz
aef1442398
Merge pull request #15295 from keymanapp/feat/web/15283_keydown
feat(web): properly set keyDown flag

This change passes the right value to the `is_key_down` parameter of Core's `process_event`. It also updates the WASM interface to accept a boolean instead of a number, and adds the enum values for the core event flags.

Fixes: #15283
2025-12-09 20:47:48 +01:00
Eberhard Beilharz
d1ddff8b56
refactor(web): cleanup and clarifications
Build-bot: skip
Test-bot: skip
2025-12-09 20:15:50 +01:00
Eberhard Beilharz
79ad53f9cf
refactor(web): document and cleanup parameters of Keyboard.notify()
Document what values are possible for the `eventCode` parameter and what
these values mean. Also change `data` parameter to a `boolean`.

Test-bot: skip
2025-12-09 20:14:14 +01:00
Eberhard Beilharz
654f1b2103
chore(web): Merge remote-tracking branch 'origin/epic/web-core' into feat/web/15283_keydown 2025-12-09 20:06:48 +01:00
Eberhard Beilharz
c87f29648b
Merge pull request #15278 from keymanapp/test/web/tcreporter 2025-12-09 20:04:27 +01:00
Eberhard Beilharz
b7369d79d7
Merge pull request #15251 from keymanapp/test/web/baseline
test(web): add baseline tests

This adds the baseline tests from `/common/test/keyboards/baseline`. Some tests are skipped because they rely on functionality not implemented in Web, other tests are skipped because they require functionality still marked with `TODO-web-core` and should pass once web-core is finished.
2025-12-09 18:13:01 +01:00
Eberhard Beilharz
cbab541f38
Merge pull request #15250 from keymanapp/tests/web/e2ekmxkbds
test(web): add e2e tests for KMX keyboard with web-core

Also add similar tests for a JS keyboard.
2025-12-09 18:03:40 +01:00
Eberhard Beilharz
78cd9f8663
test(web): address code review comments 2025-12-09 17:37:01 +01:00
Eberhard Beilharz
588d08cb90
test(web): address code review comments
- include `km_core_actions_wasm.toString` only for debug builds
- simplify waiting on KMW fully initialized

Test-bot: skip
2025-12-09 17:28:11 +01:00
Eberhard Beilharz
0b244690a0
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-12-09 17:26:08 +01:00
Eberhard Beilharz
d594afb317
Merge pull request #15310 from keymanapp/maint/web/cleanup
maint(web): remove file that sneaked in through wrong merge

A previous PR (#15092) renamed `outputTargetForElement.ts` to `textStoreForElement.ts`, another PR (#15093) moved files around. In the end we ended up having both files. This change removes the unused file.

Follow-up-of: #15092
Follow-up-of: #15093
2025-12-08 08:43:25 +01:00
Eberhard Beilharz
191964260f
feat(web): properly set keyDown flag
This change passes the right value to the `is_key_down` parameter of
Core's `process_event`. It also updates the WASM interface to accept
a boolean instead of a number, and adds the enum values for the core
event flags.

Fixes: #15283
Test-bot: skip
2025-12-05 19:18:15 +01:00
Eberhard Beilharz
8cea94dd8c
test(web): add TC reporter for Playwright tests
This adds a custom reporter used when building on TeamCity that outputs
the test results in a form that TeamCity can show them nicely.

Build-bot: skip:all build:web
Test-bot: skip
2025-12-05 19:16:27 +01:00
Eberhard Beilharz
8784e0aacf
test(web): add baseline tests 2025-12-05 19:14:09 +01:00
Eberhard Beilharz
12d56453a4
test(web): add e2e tests for KMX keyboard with web-core
Also add similar tests for a JS keyboard.

Test-bot: skip
2025-12-05 19:13:27 +01:00
Eberhard Beilharz
70627e104f
Merge pull request #15293 from keymanapp/chore/web/todos 2025-12-05 17:02:32 +01:00
Eberhard Beilharz
490add936f
maint(web): remove file that sneaked in through wrong merge
A previous PR (#15092) renamed `outputTargetForElement.ts` to
`textStoreForElement.ts`, another PR (#15093) moved files around. In the
end we ended up having both files. This change removes the unused file.

Follow-up-of: #15092
Follow-up-of: #15093
Test-bot: skip
2025-12-05 15:01:18 +01:00
Eberhard Beilharz
6b24bbdd31
chore(web): address code review comments, and more consts 2025-12-05 11:31:14 +01:00
Marc Durdin
c53e59ff6c
Merge pull request #15306 from keymanapp/auto/A19S17-merge-master-into-web-core
auto: A19S17 merge master into web-core 🎼
2025-12-05 11:21:05 +01:00
Marc Durdin
00e88d37a4 chore: Merge remote-tracking branch 'origin/epic/web-core' into auto/A19S17-merge-master-into-web-core 2025-12-05 08:07:35 +01:00
Marc Durdin
acc86f5bce
Merge pull request #15280 from keymanapp/change/windows/add-shortcuts-to-install-dialog
change(windows): add shortcuts to 'Update Available' dialog
2025-12-05 07:11:05 +01:00
Marc Durdin
f813442c40
Merge pull request #15276 from keymanapp/revert-14799-change/windows/include-map2pdb-for-relevant-projects
change(windows): Revert "change(windows): include map2pdb generation for relevant Delphi projects"
2025-12-05 07:10:52 +01:00
Marc Durdin
76baf1a6d6
Merge pull request #15258 from keymanapp/maint/common/15130-use-builder_launch-for-child-builds
maint(common): use `builder_launch` for child builds
2025-12-05 07:10:44 +01:00
Marc Durdin
c3a8fdec13
Merge pull request #15257 from keymanapp/maint/resources/verify-order-of-builder_int_deps
maint(resources): verify order of builder_describe_internal_dependency
2025-12-05 07:10:37 +01:00
Eberhard Beilharz
133f46330d
chore(web): add issue# for some todos
Also use const instead of let in `renderer_core.ts`.

Test-bot: skip
2025-12-04 15:57:08 +01:00
Marc Durdin
6c07c48235 change(windows): add shortcuts to 'Update Available' dialog
`&X` means you can press Alt+X.

Test-bot: skip
Build-bot: skip
2025-12-04 04:32:18 +01:00
Keyman Server
88f3f26b62
Merge pull request #15277 from keymanapp/auto/version-master-19.0.171
auto: increment master version to 19.0.171
2025-12-03 19:04:01 +01:00
Keyman Build Agent
dccea53761 auto: increment master version to 19.0.171
Test-bot: skip
Build-bot: skip
2025-12-03 12:02:03 -06:00