Commit graph

33096 commits

Author SHA1 Message Date
Marc Durdin
5b1e969c23 maint(common): report builder errors to stderr
Sometimes a builder script can be redirected internally and then error
messages are lost in the redirect if the script fails. This sidesteps
that problem by reporting errors to stderr instead of stdout.
2025-05-12 06:28:42 +02:00
Steven R. Loomis
42d9c68e2b feat(developer): fix Error() function
- swap x, o because the 'api' call getMessageDetail() is going to call with {}

Fixes: #10622
2025-05-09 16:43:59 -05:00
Steven R. Loomis
b23275d7e1 feat(developer): fix imports in ldml-keyboard-xml-reader.ts
Fixes: #10622
2025-05-09 13:32:15 -05:00
Steven R. Loomis
8ec8fb1890 feat(developer): update for line numbers
- annotate why we're calling SymbolUtils.removeSymbols()

Fixes: #10622
2025-05-09 13:09:53 -05:00
Steven R. Loomis
6194392310 feat(developer): update for line numbers
- reduce whitespace churn
- other review comments

Fixes: #10622

Co-authored-by: Marc Durdin <marc@durdin.net>
2025-05-09 13:07:51 -05:00
Steven R. Loomis
8e2eb498e3 feat(developer): update for line numbers
- reduce whitespace churn

Fixes: #10622
2025-05-09 11:41:23 -05:00
Eberhard Beilharz
47407a3164
maint(common): remove obsolete code from docker-images run.sh
PR #13861 missed the fact that docker-images' `run.sh` script also
contains code that got re-added during a faulty merge. This change cleans
this up.
2025-05-09 18:07:16 +02:00
Shawn Schantz
c45135d5b2 fix(mac): handle [PackageInfo] section in kmp.inf file
also prevent crash when no package name found

Fixes: #13718
2025-05-09 18:29:54 +07:00
Eberhard Beilharz
4c4d39ef85
maint(common): use new builder_is_running_on_* functions 2025-05-09 11:56:38 +02:00
Eberhard Beilharz
7f12f904eb
maint(common): address code review comments
- remove `builder_is_running_on_ci` function since there already is a
  similar `builder_is_ci_build` function
- use `GITHUB_ACTIONS` environment variable instead of `GITHUB_RUN_ID`
  to detect if we're run be GitHub Actions
2025-05-09 11:39:57 +02:00
Darcy Wong
8846f89e15 chore(windows): Update Crowdin strings for Italian 2025-05-09 10:29:16 +07:00
Darcy Wong
c22963f302 chore(mac): Update Crowdin comments for Italian 2025-05-09 10:28:56 +07:00
Darcy Wong
e061d3e755 docs(android): Update minimum versions docs 2025-05-09 09:43:54 +07:00
Darcy Wong
5d5609c343 maint(android): Update Java and Gradle for FirstVoices 2025-05-09 09:43:22 +07:00
Darcy Wong
3990ab45db maint(android): Update Java and Gradle for KeyboardHarness 2025-05-09 09:33:00 +07:00
Darcy Wong
428178ce8c maint(android): Update Java and Gradle for Sample projects 2025-05-09 09:31:17 +07:00
Marc Durdin
d8e7353553 chore(common): fix docs link 2025-05-09 03:48:07 +02:00
Steven R. Loomis
307288dc3b chore(developer): deps: fast-xml-parser@5.2.2
My line number changes were merged into the main branch

Fixes: #10622
2025-05-08 17:43:19 -05:00
Steven R. Loomis
ad0ea8678b feat(developer): update for line numbers
- added new DelegatingCompilerCallbacks class
- added ResolvingCompilerCallbacks which does event resolution
- added the XML file name metadata to *every object* after XML parse.

Fixes: #10622
2025-05-08 17:29:30 -05:00
Steven R. Loomis
2ea74f8d71 Merge remote-tracking branch 'upstream/master' into feat/developer/10622-xml-parse-line-numbers-epic-ldml 2025-05-08 13:59:33 -05:00
Keyman Server
e4f2782fa2
Merge pull request #13870 from keymanapp/auto/version-master-19.0.35
auto: increment master version to 19.0.35
2025-05-08 11:03:45 -07:00
Keyman Build Agent
9428fc3e87 auto: increment master version to 19.0.35 2025-05-08 14:03:13 -04:00
Eberhard Beilharz
319406d30d
Merge pull request #13868 from keymanapp/maint/common/tcblocksfix 2025-05-08 17:47:29 +02:00
Eberhard Beilharz
4fb6d2756a
Merge pull request #13861 from keymanapp/maint/common/dockermerge 2025-05-08 17:47:10 +02:00
Eberhard Beilharz
3634dd1702
maint(common): add three more functions to detect if running on CI
This adds the three additional functions `builder_is_running_on_ci`,
`builder_is_running_on_docker`, and `builder_is_running_on_gha` to be
able to detect if the build is running in a CI or CI-like container
environment.
2025-05-08 17:44:40 +02:00
Eberhard Beilharz
907a16012c
maint(common): output start/end messages if not running on TC
If we're not running on TC we should output the start/end messages as
headings unless it's a child build. This was the previous behavior
before we added support for TC blocks.
2025-05-08 17:01:00 +02:00
rc-swag
c02d43b799 fix(windows): use json file name against cache folder
Be more precise by matching the file name in the cache.json file
with the downloaded file in the cache folder. This will mean any
older installation versions that were not correctly cleaned up will
not be installed.

fixes #13831
2025-05-08 22:36:04 +10:00
Joshua Horton
5d00ccdd53
Merge pull request #13860 from keymanapp/fix/web/sustain-batched-layout-on-swap
fix(web): sustain active batched-layout mode when keyboard is switched
2025-05-08 15:49:15 +07:00
Darcy Wong
80710a8303
Apply suggestions from code review
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2025-05-08 15:36:52 +07:00
Eberhard Beilharz
d59291c062
maint(common): remove obsolete code from docker-images build.sh
Looks like a merge undid some of the changes from #13537 so that we
ended up with duplicate code. This change cleans this up.
2025-05-08 09:22:26 +02:00
Joshua Horton
dd563e8a11 fix(web): sustain active batched-layout mode when keyboard is switched
Fixes: #13859
Fixes: KEYMAN-WEB-R4
2025-05-08 13:56:23 +07:00
Darcy Wong
5f0cd83d05 maint(android): Update Gradle to use Java 21 2025-05-08 12:57:17 +07:00
rc-swag
ab10807e2f
Merge pull request #13826 from keymanapp/fix/windows/13767/download-filename-breadcrumb
fix(windows): add breadcrumb to download failures
2025-05-08 15:06:43 +10:00
Darcy Wong
c8cd5b13b3 maint(android): Add setting JAVA_HOME_21 env 2025-05-08 09:59:38 +07:00
Eberhard Beilharz
7f86638f2a
Merge pull request #13855 from keymanapp/docs/common/tcblocks 2025-05-07 22:16:14 +02:00
Marc Durdin
1fbaf60cb5 docs(common): update readme link to builder.md
Fixes: #13851
2025-05-07 20:16:50 +02:00
Keyman Server
3ab837e013
Merge pull request #13856 from keymanapp/auto/version-master-19.0.34
auto: increment master version to 19.0.34
2025-05-07 11:02:09 -07:00
Keyman Build Agent
83256aae41 auto: increment master version to 19.0.34 2025-05-07 14:01:39 -04:00
Eberhard Beilharz
44fb0fe0e9
docs(common): update builder_echo documentation for TC blocks 2025-05-07 18:57:31 +02:00
Eberhard Beilharz
4d81589f48
maint(common): use unique names for Keyman version variables
Previously the builder scripts defined a readonly `VERSION` environment
variable for the Keyman version. That caused problems when another
(external) script tried to define a `VERSION` variable. We encountered
this problem when trying to move the TC build steps of a configuration
into a single script (#13399) when we tried to source `~/.nvm/nvm.sh`.

This change uses a Keyman specific prefix for the version variables and
renames `VERSION` → `KEYMAN_VERSION` etc. Unfortunately these variables
are used in a lot of places, so this turned out to be a bit of a yak
shave.

Test-bot: skip
2025-05-07 18:46:51 +02:00
Eberhard Beilharz
b99a8b58dc
Merge pull request #13852 from keymanapp/docs/common/runningtc 2025-05-07 15:53:09 +02:00
Shawn Schantz
e619e9f89a chore(mac): removed commented-out code
Fixes: #11104
2025-05-07 16:08:14 +07:00
Eberhard Beilharz
ad3747cede
Merge pull request #13844 from keymanapp/maint/common/tcvars
This change makes use of the new builder script function to detect if the script is running on TeamCity. Also use the
`TEAMCITY_GIT_PATH` environment consistently to check if we're running on TC.
2025-05-07 11:06:06 +02:00
Eberhard Beilharz
addd8b2471
docs(common): document new builder_is_running_on_teamcity function 2025-05-07 11:03:06 +02:00
Shawn Schantz
db5a49370b chore(mac): remove files for KMCompGroup, KMCompKey, NSString extension 2025-05-07 12:51:51 +07:00
Shawn Schantz
cd59c298a8 chore(mac): remove NSString extension 2025-05-07 12:36:17 +07:00
Shawn Schantz
623d5af5ab chore(mac): remove group code, stop reading stores at init 2025-05-07 12:07:59 +07:00
Joshua Horton
b8db20fddd
Merge pull request #13759 from keymanapp/docs/web/keystroke-lifecycle
docs(web): add a Web engine keystroke lifecycle internal doc
2025-05-07 10:18:08 +07:00
Joshua Horton
849014687b
Merge pull request #13827 from keymanapp/maint/common/local-builds-as-debug
maint(common): automatically set --debug option for local-environment builder-script uses
2025-05-07 10:17:59 +07:00
Marc Durdin
2a48f54b70 fix(developer): remove ngrok binary at build time
While ngrok.exe was already removed, ngrok (mac? linux?) was still
present in node_modules.

Fixes: #13846
2025-05-07 10:55:29 +08:00