Commit graph

32557 commits

Author SHA1 Message Date
Marc Durdin
5f538c88c3
Merge pull request #15041 from keymanapp/maint/resources/npm-publish-skip-nvm
maint(resources): skip nvm in npm-publish script
2025-10-28 15:31:40 +01:00
Marc Durdin
3040c72174 maint(resources): skip nvm in npm-publish script
Test-bot: skip
Build-bot: skip
2025-10-28 15:28:24 +01:00
Marc Durdin
01a832f67d
Merge pull request #15039 from keymanapp/maint/resources/npm-publish-status-write
maint(resources): add write permission for statuses for npm-publish
2025-10-28 15:14:21 +01:00
Marc Durdin
a4779a7f93 maint(resources): add write permission for statuses for npm-publish
Build-bot: skip
Test-bot: skip
2025-10-28 15:04:19 +01:00
Marc Durdin
e20eb7b4db
Merge pull request #15038 from keymanapp/maint/resources/npm-publish-build-first
maint(resources): add build and test for npm packaging and add status check results
2025-10-28 15:00:04 +01:00
Marc Durdin
b582e3c0fb maint(resources): improve reporting of status for npm-publish
Build-bot: skip
2025-10-28 14:14:42 +01:00
Marc Durdin
17cc7fd321 maint(resources): fix build call in npm-publish 2025-10-28 13:41:55 +01:00
Marc Durdin
fe7209cdeb maint(resources): verify keyman_root 2025-10-28 13:40:48 +01:00
Marc Durdin
f1368dd418 maint(resources): rename npm-publish workflow and give detailed title 2025-10-28 13:34:37 +01:00
Marc Durdin
7e1d38b498
Merge pull request #15028 from keymanapp/maint/mac/tweak-macos-env
maint(mac): minor tweaks to mac setup, using build.sh
2025-10-28 13:31:39 +01:00
Marc Durdin
49161075f3 maint(resources): lower case npm 2025-10-28 13:30:57 +01:00
Marc Durdin
0f6b4d52e0 maint(resources): add commit status check for npm-publish
Build-bot: skip release:developer
2025-10-28 13:29:40 +01:00
Marc Durdin
c282e557c4 maint(resources): add build and test for npm packaging
Test-bot: skip
Build-bot: skip release:developer
2025-10-28 13:10:04 +01:00
Marc Durdin
5eb8df1cff
Merge pull request #15037 from keymanapp/maint/resources/gha-npm-publish-set-env
maint(resources): set env variables in npm publish GHA
2025-10-28 11:33:37 +01:00
Marc Durdin
844219f2cb maint(resources): set env variables in npm publish GHA
Test-bot: skip
Build-bot: skip
2025-10-28 11:14:22 +01:00
Marc Durdin
af858fc3eb
Merge pull request #15036 from keymanapp/maint/resources/npm-publish-ver-string
maint(resources): use a string for version, rather than number
2025-10-28 09:03:26 +01:00
Marc Durdin
794faedbde maint(resources): remove gh status check for npm-publish
Build-bot: skip
2025-10-28 09:00:40 +01:00
Marc Durdin
fe484826ac maint(resources): use a string for version, rather than number
Test-bot: skip
Build-bot: skip
2025-10-28 08:59:27 +01:00
Marc Durdin
9f521cfccc
Merge pull request #15035 from keymanapp/maint/resources/npm-publish-npm-i-non-global
maint(resources): use actions/setup-node to upgrade npm
2025-10-28 08:49:33 +01:00
Marc Durdin
971d67e266 maint(resources): use actions/setup-node to upgrade npm
We don't have permissions to use `npm install --global npm` to get a
specific version, but this action is supported by GH so should be fine.

It remains to be seen if there will be other compatibility issues due to
being a later version of Node than what we are using in v19.

Build-bot: skip
Test-bot: skip
2025-10-28 08:12:15 +01:00
Marc Durdin
fe6e8e72a8
Merge pull request #15029 from keymanapp/maint/resources/14963-npm-publish-on-gha
maint(resources): move npm package publishing to GitHub Actions
2025-10-28 07:57:35 +01:00
Keyman Server
a463d1b1fa
Merge pull request #15032 from keymanapp/auto/version-master-19.0.147
auto: increment master version to 19.0.147
2025-10-27 19:04:00 +01:00
Keyman Build Agent
d7d2a2810c auto: increment master version to 19.0.147
Test-bot: skip
Build-bot: skip
2025-10-27 13:01:50 -05:00
Marc Durdin
ba411774f6 maint(resources): move NPM package publishing to GitHub Actions
Due to recent changes in NPM package publishing security requirements,
we have to move from TeamCity build to a GitHub Action to publish our
NPM packages, so we can take advantage of trusted publishing. This
change also consolidates and centralizes the npm publishing into
resources/build/ci/npm-publish.sh, which removes a lot of boilerplate
from each of the build.sh scripts, and ensures consistency.

Packages will be `npm pack`ed on PR and test builds, and published in
release builds.

Ref: https://docs.npmjs.com/trusted-publishers
Ref: https://github.blog/changelog/2025-09-29-strengthening-npm-security-important-changes-to-authentication-and-token-management/
Fixes: #14963
Test-bot: skip
Build-bot: release:developer
2025-10-27 16:31:55 +01:00
Marc Durdin
4a685ba8aa
Merge pull request #15021 from cvosoft/test/add-osk-character-use-warnings
test(developer): add coverage tests for warning messages in kmc-analyze/AnalyzeOskCharacterUse
2025-10-27 16:00:41 +01:00
Marc Durdin
89f0aed697
Merge pull request #15022 from keymanapp/fix/developer/11909-prevent-ansi-keyboards-crashing-debugger
fix(developer): prevent ANSI keyboards crashing debugger
2025-10-27 15:41:47 +01:00
Marc Durdin
b653f32a54
Merge pull request #15008 from keymanapp/fix/mac/15007-ignore-ansi-kvk
fix(mac): ignore non-Unicode key caps when preparing OSK
2025-10-27 15:41:35 +01:00
Christoph Völker
368766acdc test(kmc-analyze): fix import paths and order 2025-10-27 14:05:13 +01:00
Marc Durdin
1d223908ff maint(mac): minor tweaks to mac setup, using build.sh
Build-bot: skip
Test-bot: skip
2025-10-27 09:10:33 +01:00
Christoph Völker
469149e72d test(kmc-analyze): add message coverage tests for AnalyzeOskCharacterUse 2025-10-27 08:36:56 +01:00
Christoph Völker
07c13e81ac test(kmc-analyze): add message coverage tests for AnalyzeOskCharacterUse 2025-10-25 07:38:28 +02:00
Marc Durdin
1e8e3587cf
Merge branch 'master' into test/add-osk-character-use-warnings 2025-10-25 06:15:48 +02:00
Keyman Server
a5b55715d6
Merge pull request #15025 from keymanapp/auto/version-master-19.0.146
auto: increment master version to 19.0.146
2025-10-24 20:03:52 +02:00
Keyman Build Agent
fc87ef38aa auto: increment master version to 19.0.146
Test-bot: skip
Build-bot: skip
2025-10-24 13:01:38 -05:00
Marc Durdin
55d6efe482 fix(developer): prevent ANSI keyboards crashing debugger
Note: #11909 has some additional future cleanup we could do, but these
code paths are not currently accessible, so in the interest of moving
forward, am leaving them for now.

Fixes: #11909
Test-bot: skip
2025-10-24 14:45:17 +02:00
Christoph Völker
cbaae084f7 test(kmc-analyze): add warnings coverage tests for AnalyzeOskCharacterUse 2025-10-24 13:31:15 +02:00
Marc Durdin
da364f978d
Merge pull request #14038 from cvosoft/test-warn-previousmap
test(developer): add test to kmc-analyze for Warn_PreviousMapFileCouldNotBeLoaded
2025-10-24 11:07:22 +02:00
Marc Durdin
a51f4ff965 fix(mac): ignore non-Unicode key caps when preparing OSK
The typeFlags property is used to differentiate Unicode and non-Unicode
keys in the array of keys in a .kvk file. All non-Unicode keys should
be ignored, as we do not support non-Unicode keyboards on macOS.

The reason this fixes #15007, is that the keyboard in question had both
ANSI and Unicode sections in its .kvk file, and the ANSI section was
stored after the Unicode section, so the font spec for ANSI was
overriding the previously (correctly) set Unicode font spec.

Fixes: #15007
2025-10-24 11:00:07 +02:00
Marc Durdin
a7a8cb0b72
Merge pull request #15002 from keymanapp/fix/developer/14411-handle-missing-begin-unicode
fix(developer): handle missing `begin Unicode` in KMW compiler
2025-10-24 09:19:10 +02:00
Marc Durdin
e862f533ce
Merge pull request #15001 from keymanapp/fix/developer/14988-string-escape-syntax-highlight
fix(developer): do not treat backslash as a string escape in syntax highlighting
2025-10-24 09:18:49 +02:00
Christoph Völker
15ea1f321e test(developer): use unitTestEndPoints for loadPreviousMap and clean up test 2025-10-24 08:09:14 +02:00
Christoph Völker
d57274b26d test(developer): add unit test for Warn_PreviousMapFileCouldNotBeLoaded and raise coverage threshold to 75% 2025-10-23 21:03:52 +02:00
Keyman Server
b9c50f3724
Merge pull request #15003 from keymanapp/auto/version-master-19.0.145
auto: increment master version to 19.0.145
2025-10-23 20:03:52 +02:00
Keyman Build Agent
f93b39bcd0 auto: increment master version to 19.0.145
Test-bot: skip
Build-bot: skip
2025-10-23 13:01:54 -05:00
Marc Durdin
c6a96fc457 fix(developer): handle missing begin Unicode in KMW compiler
This probably arose with the move to kmcmplib in WASM, and as it was
never unit tested, we missed it. A simple signed vs unsigned issue.

Fixes: #14411
Test-bot: skip
2025-10-23 15:08:12 +02:00
Marc Durdin
4307073464
Merge pull request #15000 from keymanapp/revert-14984-dependabot/npm_and_yarn/playwright-1.56.1
chore(web): revert "chore(deps-dev): bump playwright from 1.46.1 to 1.56.1"
2025-10-23 14:39:39 +02:00
Marc Durdin
a6f476e557 fix(developer): do not treat backslash as a string escape in syntax highlighting
Adjust two incorrect rules that caused backslash to be treated as an
escape in strings in syntax highlighting in .kmn language.

Fixes: #14988
Test-bot: skip
Build-bot: skip
2025-10-23 11:55:17 +02:00
Marc Durdin
58b56f7ed1
Revert "chore(deps-dev): bump playwright from 1.46.1 to 1.56.1" 2025-10-23 11:02:53 +02:00
Marc Durdin
75ef3d66ac
Merge pull request #14984 from keymanapp/dependabot/npm_and_yarn/playwright-1.56.1
chore(deps-dev): bump playwright from 1.46.1 to 1.56.1
2025-10-23 10:31:33 +02:00
dependabot[bot]
006f0a57cf
chore(deps-dev): bump playwright from 1.46.1 to 1.56.1
Bumps [playwright](https://github.com/microsoft/playwright) from 1.46.1 to 1.56.1.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.46.1...v1.56.1)

---
updated-dependencies:
- dependency-name: playwright
  dependency-version: 1.56.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 18:55:50 +00:00