Commit graph

33431 commits

Author SHA1 Message Date
Eberhard Beilharz
aea2e2ab98
refactor(web): use unitTestEndpoint pattern in OSK
This changes the exports for unit testing to the unitTestEndpoint pattern.

Part-of: #15292
Test-bot: skip
2026-01-16 16:37:49 +01:00
Eberhard Beilharz
9930a8cbae
refactor(web): remove web-utils exports from keyboard
Types defined in keyman/common/web-utils were re-exported in
keyman/engine/keyboard. This change removes the re-export.

Part-of: #15292
Test-bot: skip
2026-01-16 16:25:32 +01:00
Marc Durdin
c9164a7acd
Merge pull request #15458 from keymanapp/auto/A19S20-merge-master-into-web-core
auto: A19S20 merge master into web-core
2026-01-16 11:58:36 +01:00
Marc Durdin
f6b8bfb463
Merge branch 'epic/web-core' into auto/A19S20-merge-master-into-web-core 2026-01-16 08:40:12 +01:00
Keyman Server
0c1549c749
Merge pull request #15442 from keymanapp/auto/version-master-19.0.193
auto: increment master version to 19.0.193
2026-01-15 19:02:22 +01:00
Keyman Build Agent
525f1d2cfa auto: increment master version to 19.0.193
Test-bot: skip
Build-bot: skip
2026-01-15 12:01:26 -06:00
Eberhard Beilharz
7c05ac8239
Merge pull request #15431 from keymanapp/chore/web/e2e
chore(web): fix e2e tests 🍪

The Playwright tests occasionally failed complaining about `Page` and `Locator` not being defined. The solution is to import them as types.

The test failures probably happened when running the tests with a node version > 20.16.0.
2026-01-15 12:53:11 +01:00
Eberhard Beilharz
18127b4002
Merge pull request #15430 from keymanapp/docs/common/kmntests
docs(common): improve documentation for .kmn test files 🍪
2026-01-15 12:52:29 +01:00
Eberhard Beilharz
2d0c1c0aab
Merge pull request #15429 from keymanapp/feat/web/loadAllMatching
feat(web): add CookieSerializer.loadAllMatching function 🍪

- rename tests from `cookies.tests.ts` → `cookieSerializer.tests.ts` 
- add test for new function

Part-of: #13426
2026-01-15 12:40:47 +01:00
Eberhard Beilharz
a329ef967d
Update core/tests/unit/kmx/README.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-01-15 12:05:25 +01:00
Markus Greiner
993644fe17
Merge pull request #15434 from keymanapp/fix/linux/issues-in-build-test-linux
fix(linux): issues when running ./build.sh test:linux (starting and stopping ibus lead to unintended exit fo script)
2026-01-15 11:59:04 +01:00
Eberhard Beilharz
f8546c0e5f
feat(web): address code review comments
Test-bot: skip
2026-01-15 11:57:41 +01:00
Eberhard Beilharz
c7fecbf4bd
Merge pull request #15428 from keymanapp/refactor/web/publicprivate
refactor(web): explicitly specify public/private on CookieSerializer 🍪
2026-01-15 11:37:37 +01:00
Markus Greiner
bd492542cc fix(linux): issues when running ./build.sh test:linux, improving ibus-daemon stop after review
Test-bot: skip
2026-01-15 11:09:20 +01:00
Markus Greiner
8009bc7959
Update linux/ibus-keyman/tests/scripts/test-helper.inc.sh
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-01-15 10:20:49 +01:00
Markus Greiner
60db18681e fix(linux): issues when running ./build.sh test:linux 2026-01-14 22:35:00 +01:00
Keyman Server
8f4a6735ae
Merge pull request #15432 from keymanapp/auto/version-master-19.0.192
auto: increment master version to 19.0.192
2026-01-14 19:02:21 +01:00
Keyman Build Agent
b98cb74149 auto: increment master version to 19.0.192
Test-bot: skip
Build-bot: skip
2026-01-14 12:01:24 -06:00
Eberhard Beilharz
4e1b7730e4
chore(web): fix e2e tests
The Playwright tests occasionally failed complaining about `Page`
and `Locator` not being defined. The solution is to import them as
types.

Test-bot: skip
2026-01-14 18:16:57 +01:00
Eberhard Beilharz
b339a9772c
docs(common): improve documentation for .kmn test files
Build-bot: skip
Test-bot: skip
2026-01-14 18:16:57 +01:00
Eberhard Beilharz
ac22e0b1c5
feat(web): add CookieSerializer.loadAllMatching function
- rename tests from `cookies.tests.ts` → `cookieSerializer.tests.ts`
- add test for new function

Part-of: #13426
Test-bot: skip
2026-01-14 11:08:23 +01:00
Eberhard Beilharz
26ba3c8510
refactor(web): explicitly specify public/private on CookieSerializer 2026-01-14 11:06:33 +01:00
Eberhard Beilharz
051b32219f
Merge pull request #15422 from keymanapp/chore/common/nodepath
maint(common): fix build when using different default node version

Currently automatically setting the node version (by setting the `KEYMAN_USE_NVM` env variable) is kind of broken on Linux because it still requires to put `~/.keyman/node` on the PATH. This basically limits us to the node version Keyman needs.

This change checks the path variable and adds `~/.keyman/node` if necessary. This allows to not have that on the path, thus allowing to use different node versions outside of Keyman, but still allows Keyman to build with the node version it needs.
2026-01-14 11:04:32 +01:00
Eberhard Beilharz
1aac4e3170
docs(common): update documentation comments
Addresses code review comment.

Build-bot: skip
Test-bot: skip
2026-01-14 11:03:09 +01:00
Eberhard Beilharz
5d942116bc
Merge pull request #15423 from keymanapp/maint/linux/plucky
maint(linux): remove EOL Ubuntu 25.04 Plucky

Support for Ubuntu 25.04 Plucky ends on 15th January 2026 after which it is no longer possible to upload and build on Launchpad. This change removes Plucky.

Fixes: #14955
2026-01-14 09:58:47 +01:00
Keyman Server
ff3ebad978
Merge pull request #15427 from keymanapp/auto/version-master-19.0.191
auto: increment master version to 19.0.191
2026-01-14 08:17:12 +01:00
Keyman Build Agent
2e73f23801 auto: increment master version to 19.0.191
Test-bot: skip
Build-bot: skip
2026-01-14 01:15:16 -06:00
Darcy Wong
5be7be9692
Merge pull request #15420 from keymanapp/chore/crowdin-custom-lang
maint(common): Handle custom languages in Crowdin CLI v4
2026-01-14 09:40:49 +07:00
Darcy Wong
bda54797ed
Merge pull request #15418 from keymanapp/chore/crowdin/it
chore(common): Update Crowdin strings for Italian
2026-01-14 09:40:29 +07:00
Marc Durdin
147066e07a
Merge pull request #15426 from jeffheath-sil/patch-1
Update link to PrimerPrep in step-3.md
2026-01-14 02:07:04 +01:00
Jeff Heath
7158a56097
Update link to PrimerPrep in step-3.md 2026-01-13 17:40:33 -05:00
Eberhard Beilharz
7102bed1e5
maint(linux): remove EOL Ubuntu 25.04 Plucky
Support for Ubuntu 25.04 Plucky ends on 15th January 2026 after which
it is no longer possible to upload and build on Launchpad. This change
removes Plucky.

Fixes: #14955
Test-bot: skip
2026-01-13 18:04:57 +01:00
Eberhard Beilharz
c12cff3d81
maint(common): allow to use different node version
Currently automatically setting the node version (by setting the
`KEYMAN_USE_NVM` env variable) is kind of broken on Linux because it
still requires to put `~/.keyman/node` on the PATH. This basically
limits us to the node version Keyman needs.

This change checks the path variable and adds `~/.keyman/node` if
necessary. This allows to not have that on the path, thus allowing to
use different node versions outside of Keyman, but still allows Keyman
to build with the node version it needs.

Test-bot: skip
2026-01-13 16:28:43 +01:00
Eberhard Beilharz
89681cefba
Merge pull request #15414 from keymanapp/refactor/web/renames
refactor(web): remove some aliases

This is a follow-up of review comments in #15401. 

- rename `DefaultWorker` (in `web` subfolder) → `WebWorker` 
- rename `Worker` (in `node` subfolder) → `NodeWorker`
- rename `BUTTON_CLASSES` → `buttonClassNames`

All exports now also match the filenames.

Follow-up-of: #15401
2026-01-13 10:37:00 +01:00
Darcy Wong
56ebe97cb6 docs(common): Update Crowdin CLI documentation 2026-01-13 10:50:00 +07:00
Darcy Wong
aa88cf0ab0 fix(common): Remove custom language mappings in crowdin.yml 2026-01-13 10:49:52 +07:00
Darcy Wong
665e82a104 chore(common): Update Crowdin strings for Italian 2026-01-13 09:37:15 +07:00
Keyman Server
dd02528f47
Merge pull request #15417 from keymanapp/auto/version-master-19.0.190
auto: increment master version to 19.0.190
2026-01-12 19:03:54 +01:00
Keyman Build Agent
6805de3245 auto: increment master version to 19.0.190
Test-bot: skip
Build-bot: skip
2026-01-12 12:01:38 -06:00
Eberhard Beilharz
050d18aa94
refactor(web): Rename (Default)Worker to WebWorker and NodeWorker
Addresses code review comment: `Worker` is a generic and semi-reserved
name that we should not be stepping on.

This renames it to `WebWorker` instead of the suggested `LMWorker` or
`PredictiveTextWorker`. `WebWorker` is a name that was already used
in a few places and seems to better match: there is a corresponding
class for running with node. Naming it `WebWorker` makes it clearer
that this is the corresponding class when running in the browser.

The corresponding class for running under node was renamed to `NodeWorker`.

Test-bot: skip
2026-01-12 10:52:05 +01:00
Darcy Wong
36d21a6609
Merge pull request #15407 from keymanapp/maint/common/crowdin-cli-4
maint(common): Update `crowdin.yml` to work with Crowdin CLI 4.0+
2026-01-12 08:20:09 +07:00
Keyman Server
b216c5a932
Merge pull request #15416 from keymanapp/auto/version-master-19.0.189
auto: increment master version to 19.0.189
2026-01-09 19:02:22 +01:00
Keyman Build Agent
546907ee0b auto: increment master version to 19.0.189
Test-bot: skip
Build-bot: skip
2026-01-09 12:01:20 -06:00
Eberhard Beilharz
3833f19c44
refactor(web): remove some aliases
This is a follow-up of review comments in #15401.
- rename `DefaultWorker` → `Worker`
- rename `BUTTON_CLASSES` → `buttonClassNames`
Both exports now also match the filename.

Follow-up-of: #15401
Test-bot: skip
2026-01-09 10:55:01 +01:00
Eberhard Beilharz
2dd1ec7591
Merge pull request #15401 from keymanapp/feat/web/15292_removeDefault
feat(web): remove 'export default' to eliminate more aliases

Also rename `KeyTip` to `PhoneKeyTip`.

Fixes: #15292
2026-01-09 09:58:35 +01:00
Eberhard Beilharz
a1492f9acd
Merge pull request #15410 from keymanapp/docs/common/api-verification 2026-01-09 09:38:24 +01:00
Eberhard Beilharz
1a8c909274
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-01-09 09:36:00 +01:00
Darcy Wong
137499d490 maint(common): Revert JSON changes in crowdin.yml 2026-01-09 07:33:01 +07:00
Marc Durdin
1ffe20579b
Merge pull request #15393 from PekingSpades/master
fix(mac): correct memory width mismatch in keyCodeForChar
2026-01-08 20:46:02 +01:00
Keyman Server
0085a9b15c
Merge pull request #15412 from keymanapp/auto/version-master-19.0.188
auto: increment master version to 19.0.188
2026-01-08 19:03:54 +01:00