Commit graph

33096 commits

Author SHA1 Message Date
rc-swag
b1b065b912 fix(windows): fix download failing when cache.json missing
or stale. This commit adds a precondition check when entering the
Download state. It checks to see if the cache.json file still exists
then it checks if there are packages or installer files to download.
This will also check the version with ucrsUpdateReady, so if the
installed version is already newer it will not attempt the download.
If the check fails it will removed any cached files and return to
the idle state and check for updates.

Fixes: #13767
2025-06-02 20:39:46 +10:00
Eberhard Beilharz
ea6bd736ca
maint(linux): update to new version of gha-ubuntu-packaging
The previous version 2.0 of gha-ubuntu-packaging was missing `--` to
separate the command to be called from `retry`, so the arguments
for that command were considered arguments for `retry`. The new version
2.0.1 of gha-ubuntu-packaging fixes this.

Follow-up-of: #14089
Test-bot: skip
2025-06-02 09:20:17 +02:00
Darcy Wong
ceb7f741ae fix(android): Fix typos 2025-06-02 13:35:17 +07:00
Darcy Wong
6e5e25b5ea fix(android): Updates to handle zip-excludes 2025-06-02 11:45:32 +07:00
Darcy Wong
86061d0523 maint(android): Add archive step to prep release artifacts 2025-06-02 10:28:21 +07:00
Darcy Wong
c455b8d74b
Merge pull request #13919 from keymanapp/maint/ios/use-zip-inc
maint(ios): Use zip.inc.sh to prep release artifacts
2025-06-02 10:27:36 +07:00
Keyman Server
87e7c1d706
Merge pull request #14092 from keymanapp/auto/version-master-19.0.56
auto: increment master version to 19.0.56
2025-05-31 11:02:02 -07:00
Keyman Build Agent
8a69f108e2 auto: increment master version to 19.0.56 2025-05-31 14:00:40 -04:00
Steven R. Loomis
e1638ad458 feat(comon): ldml: test fix for element strings with context
Fixes: #13937
2025-05-31 07:46:11 -05:00
Eberhard Beilharz
8669d7f9f2
Merge pull request #14089 from keymanapp/maint/linux/gha
Version 2.0 of gha-ubuntu-packaging retries 5 times to install the packages, so hopefully this will improve the reliability.
2025-05-31 02:46:28 +02:00
Eberhard Beilharz
eb1b060d66
Merge pull request #14086 from keymanapp/maint/linux/cherry-pick/sudo
Since we have write access to the directory we don't need `sudo` for removing the temporary dependency files if we pass `-f` to `rm`.
    
Cherry-pick-of: commit 4f27f6e256
Cherry-pick-of: #14085
2025-05-30 23:05:05 +02:00
Steven R. Loomis
bc3a8ff36d feat(developer): ldml: tran compiler: all relevant messages in ldml have line numbers!
Fixes: #13937
2025-05-30 15:41:16 -05:00
Steven R. Loomis
814c9b9ef9 feat(developer): ldml: list compiler: add context to linter
Fixes: #13935
2025-05-30 14:47:10 -05:00
Steven R. Loomis
9d0d34bf09 feat(developer): ldml: list compiler: add context to lists. vars, markers, usets...
- update several messages and the substitution tracker to take context

Fixes: #13935
2025-05-30 14:34:40 -05:00
Eberhard Beilharz
f74cbde633
maint(linux): update to new version of gha-ubuntu-packaging
Version 2.0 of gha-ubuntu-packaging retries 5 times to install the
packages, so hopefully this will improve the reliability.

Test-bot: skip
2025-05-30 21:18:16 +02:00
Keyman Server
50d2ef3069
Merge pull request #14088 from keymanapp/auto/version-master-19.0.55
auto: increment master version to 19.0.55
2025-05-30 11:01:56 -07:00
Keyman Build Agent
b27d236a39 auto: increment master version to 19.0.55 2025-05-30 14:00:42 -04:00
Steven R. Loomis
8662acc46d feat(developer): ldml: list compiler: add context to lists
add contexts to lists and elements and uset

Fixes: #13935
2025-05-30 12:55:57 -05:00
Steven R. Loomis
96f0f783f5 feat(developer): ldml: strscompiler: remaining allocString() calls
This concludes all of the allocString() calls that aren't part of lists, sets, elements etc.

Fixes: #13932
2025-05-30 11:34:57 -05:00
Steven R. Loomis
097c03d2c3 feat(developer): ldml: strscompiler: exclude line numbers from some tests assertions
- remove line number information for some "simpler" uses of the compileKeyboard() test helper

For: #13932
2025-05-30 09:26:39 -05:00
Eberhard Beilharz
c1214e7971
Merge pull request #14061 from keymanapp/maint/linux/movetcscripts 2025-05-30 11:21:39 +02:00
Eberhard Beilharz
10e21cb433
maint(linux): sudo not required for removing temporary files 🍒
Since we have write access to the directory we don't need `sudo` for
removing the temporary dependency files if we pass `-f` to `rm`.

Cherry-pick-of: commit 4f27f6e256
Cherry-pick-of: #14085
Test-bot: skip
2025-05-30 11:12:56 +02:00
rc-swag
2c0de47ded
Merge branch 'master' into fix/windows/14066/reduce-executing-kmshell-process-sentry-err 2025-05-30 14:58:21 +10:00
Keyman Server
681801c9e7
Merge pull request #14084 from keymanapp/chore/version-stable-18.0-18.0.238-master-history
auto: increment stable-18.0 version to 18.0.238 (history cherry-pick to master)
2025-05-29 18:25:02 -07:00
Keyman Build Agent
f0bbf53ce4 auto: increment stable-18.0 version to 18.0.238 (history cherry-pick to master) 2025-05-29 21:24:34 -04:00
Steven R. Loomis
d65bd6670f
Merge pull request #14073 from keymanapp/chore/developer/14068-e2e-test-kmc-ldml-run-validation 2025-05-29 19:10:51 -05:00
Steven R. Loomis
70ced9847a chore(developer): ldml: unit test for .run() validation
- re-run invalid-illegal.xml through compiler.run()
- ensure it fails

Fixes: #14067
2025-05-29 13:53:23 -05:00
Keyman Server
7d289a7bc0
Merge pull request #14072 from keymanapp/auto/version-master-19.0.54
auto: increment master version to 19.0.54
2025-05-29 11:01:47 -07:00
Keyman Build Agent
0d02e73c13 auto: increment master version to 19.0.54 2025-05-29 14:00:34 -04:00
Steven R. Loomis
6971c97c70
Merge branch 'master' into feat/developer/13932-ln-more-strscompiler 2025-05-29 09:10:35 -05:00
Steven R. Loomis
c3705bf9ef feat(developer): ldml: strscompiler: add context to more allocString call sites
- disp, keys, layr, tran

For: #13932
2025-05-29 09:09:58 -05:00
Steven R. Loomis
695b344bea
Merge pull request #14068 from keymanapp/fix/developer/14067-kmc-ldml-skipping-validate
fix(developer): ensure that kmc doesn't skip validate phase of kmc-ldml 🙀
2025-05-29 08:50:41 -05:00
rc-swag
e33322fe8a fix(windows): change from error to breadcrumb and log
As this will also be seen when a user declines elevation
it is not really an error just breadcrumb incase there is
some actual error as a result.
fixes: #14066
2025-05-29 13:32:33 +10:00
Steven R. Loomis
db24750bd3 feat(developer): update strs compiler to collect context
- default state needs to be null not undefined

For: #13932
2025-05-28 20:17:45 -05:00
Steven R. Loomis
633f9551c7 feat(developer): update strs compiler to collect context
- attempt to find an object with a context

For: #13932
2025-05-28 20:17:44 -05:00
Steven R. Loomis
c70464e23f fix(developer): ldml: make sure .run() calls compile() with postValidation
- .run() doesn't call validate() and then compile(), so it needs to call compile() with postValidation=true

Fixes: #14067
2025-05-28 20:15:33 -05:00
Eberhard Beilharz
1ba77cc5b2
maint(linux): improve output of install action 2025-05-28 20:23:06 +02:00
Keyman Server
554778b362
Merge pull request #14063 from keymanapp/auto/version-master-19.0.53
auto: increment master version to 19.0.53
2025-05-28 11:02:46 -07:00
Keyman Build Agent
bb06fe06c6 auto: increment master version to 19.0.53 2025-05-28 14:01:39 -04:00
Eberhard Beilharz
eb1172b076
Merge pull request #14047 from keymanapp/maint/common/buildtrigger
This modifies the build triggers so that changes in `resources/teamcity` don't trigger builds on all platforms anymore. If a change happened in `resources/teamcity/$platform` or `resources/teamcity/includes` it will trigger a build for `$platform`. 

Since bash doesn't support negative look-aheads we use `grep` with the Perl regex option.

Fixes: #13943
2025-05-28 18:09:55 +02:00
Eberhard Beilharz
3e4d463fc1
maint(linux): move TC build scripts to resources/teamcity/linux
Test-bot: skip
2025-05-28 11:54:08 +02:00
Eberhard Beilharz
e7cb8b0617
maint(common): tweak labels for common and core
This change addresses code review comments. `common` and `core` also
have TC build configs, so we add labels for them as well.

Co-authored-by: Marc Durdin <marc@durdin.net>
2025-05-28 11:31:26 +02:00
Eberhard Beilharz
9a1f6052ea
Merge pull request #14057 from keymanapp/fix/common/usenvm
Previously, if we had to install a new node version, we activated it in the same subshell as the installation. This had the effect that `NVM_BIN` was set to the new version only in the subshell, but otherwise it still had the wrong value. This caused build failures. Subsequent builds would succeed because the node version was now available.

This change fixes things by using an explicit `if` instead of the construct with parens which opened another subshell. 

Fixes: #14056
2025-05-28 09:05:11 +02:00
Steven R. Loomis
043ccf9687
Merge pull request #14054 from keymanapp/feat/developer/13940-ln-locacompiler
feat(developer): line numbers for LocaCompiler
2025-05-27 19:00:53 -05:00
Steven R. Loomis
4d9551ae07
Merge pull request #14050 from keymanapp/feat/developer/13939-ln-layrcompiler
feat(developer): line numbers for layr compiler
2025-05-27 19:00:41 -05:00
Steven R. Loomis
fd032eb9aa
Merge pull request #14048 from keymanapp/feat/developer/13938-ln-dispcompiler
feat(developer): add line numbers to disp compiler
2025-05-27 19:00:25 -05:00
Steven R. Loomis
2d93f94ab9
Merge pull request #14037 from keymanapp/feat/developer/13937-line-numbers-trancompiler
feat(developer): line numbers for tran compiler
2025-05-27 19:00:05 -05:00
Eberhard Beilharz
9939ef9e30
maint(developer): allow to build locally on Linux and macOS
This adds a `configure` build step that will install any missing
dependencies required to build on Linux and macoS.

macOS was added based on `resources/devbox/macos/macos.sh` but is
untested.

Test-bot: skip
2025-05-27 20:14:02 +02:00
Eberhard Beilharz
254544364b
maint(web): fix typo 2025-05-27 20:10:43 +02:00
Eberhard Beilharz
58bf8557bb
maint(web): change to correct directory 2025-05-27 20:08:24 +02:00