Commit graph

31788 commits

Author SHA1 Message Date
Eberhard Beilharz
bfc3aa3456
refactor(linux): move dbus defines to common include
This got missed in #14372.

Fixes: #13281
Follow-up-of: #14372
Test-bot: skip
2025-07-25 19:39:50 +02:00
Eberhard Beilharz
179a73a65a
Merge pull request #14267 from keymanapp/maint/resources/14201_prefixtc
- added `tc_` prefix to functions in `includes/tc-*.inc.sh` 
- moved `includes/tc-actions.inc.sh` → `linux/linux-actions.inc.sh` 
- didn't change `write_download_info`. That will be done as part of #14259. 
- didn't change `is_*`. That will be done as part of #14109. 
- removed unnecessary functions that only call another function.
- moved functions from `tc-windows.inc.sh` → `tc-helpers.inc.sh` because they are no longer Windows-specific (although currently only used for   Windows).

Fixes: #14201
2025-07-25 15:25:00 +02:00
Eberhard Beilharz
6738f757b4
chore(resources): Merge branch 'master' into maint/resources/14201_prefixtc 2025-07-25 08:12:58 +02:00
Eberhard Beilharz
b5395999ea
Merge pull request #14399 from keymanapp/maint/common/builder.inc.sh-standalone
`resources/builder.inc.sh` is designed to be used on other non-builder scripts, so not all variables can be assumed to be set. This change fixes some "unbound variable" errors.
2025-07-25 08:11:05 +02:00
Keyman Server
bed9a609d7
Merge pull request #14400 from keymanapp/auto/version-master-19.0.90
auto: increment master version to 19.0.90
2025-07-24 11:02:06 -07:00
Keyman Build Agent
2c0158f050 auto: increment master version to 19.0.90 2025-07-24 14:01:39 -04:00
Eberhard Beilharz
07f6fba238
maint(common): fix standalone use of resources/builder.inc.sh
`resources/builder.inc.sh` is designed to be used on other non-builder
scripts, so not all variables can be assumed to be set. This change
fixes some "unbound variable" errors.

Test-bot: skip
2025-07-24 16:33:42 +02:00
Eberhard Beilharz
e493ba238c
chore(linux): fix merge 2025-07-24 14:59:15 +02:00
Eberhard Beilharz
5b8753e806
chore(resources): Merge branch 'master' into maint/resources/14201_prefixtc 2025-07-24 14:54:08 +02:00
Darcy Wong
689f7e58bd
Merge pull request #14391 from keymanapp/chore/android/chrome-min-95
refactor(android): Update minimum target Chrome version to 95.0 and refactor to use constants
2025-07-24 19:17:38 +07:00
Darcy Wong
423e6c8dab
Merge branch 'master' into chore/android/chrome-min-95 2025-07-24 06:30:34 +07:00
Darcy Wong
3a041f568e
Merge pull request #14385 from keymanapp/chore/common/update-min-versions-19
docs(common): Document minimum version of Chrome 95.0 for Android
2025-07-24 05:52:40 +07:00
Keyman Server
ec45617238
Merge pull request #14394 from keymanapp/auto/version-master-19.0.89
auto: increment master version to 19.0.89
2025-07-23 11:02:42 -07:00
Keyman Build Agent
22cfb071ad auto: increment master version to 19.0.89 2025-07-23 14:02:10 -04:00
Eberhard Beilharz
c420a0ca40
Merge pull request #14353 from keymanapp/maint/android/14350_consolidatezip 2025-07-23 16:41:09 +02:00
Eberhard Beilharz
c228635ef4
chore(android): Merge branch 'master' into maint/android/14350_consolidatezip 2025-07-23 16:19:37 +02:00
Eberhard Beilharz
0f9d4e488a
Merge pull request #14347 from keymanapp/maint/linux/13464_emscripten
If the `$EMSCRIPTEN_BASE` dir is missing (which usually points to `emsdk/upstream/emscripten`), but we have the `emsdk` root directory with `emsdk/emsdk`, we can have everything we need to install the desired emscripten version.

Issue #13464 describes an error where the `upstream/emscripten` directory was missing - probably because the build got interrupted while installing emscripten. This change fixes this.

Fixes: #13464
2025-07-23 16:15:13 +02:00
Darcy Wong
3580aeea80 Merge branch 'master' into chore/android/chrome-min-95 2025-07-23 21:08:11 +07:00
Eberhard Beilharz
0b172cc79d
Merge pull request #14351 from keymanapp/refactor/android/refactorbuild.sh
Move action code in separate functions. Also cleanup some shellcheck warnings.
2025-07-23 15:59:44 +02:00
Eberhard Beilharz
7732520e68
Merge pull request #14346 from keymanapp/maint/common/locate_emscr_tests 2025-07-23 15:59:23 +02:00
Eberhard Beilharz
193fb75a60
Merge pull request #14338 from keymanapp/maint/windows/addzip
This changes makes use of the logic that used to be in `win/zip.inc.sh`: if the environment variable `GO_FAST` is set to 1, we use a low compression level, resulting in faster builds. If it is set to 0 we use maximum compression, resulting in slower builds. If `GO_FAST` is not set we don't specify the compression level and rely on the defaults.

Also make use of the new functionality by replacing the use of the `wzzip` function.

Note: `GO_FAST` gets set in some existing scripts.
2025-07-23 07:55:05 +02:00
Darcy Wong
c472b5a03d docs(android): Update system-requirements help on minimum Chrome version 2025-07-23 08:48:24 +07:00
Darcy Wong
6148495e27 refactor(android): Update minimum required Chrome version to 95.0
* Change from 57.0 to 95.0 as the minimum target version of Chrome
* Refactor Chrome version check to use constants, and updated applicable strings
2025-07-23 08:47:57 +07:00
Keyman Server
5c64e3a111
Merge pull request #14390 from keymanapp/auto/version-master-19.0.88
auto: increment master version to 19.0.88
2025-07-22 11:02:24 -07:00
Keyman Build Agent
b4c65425d4 auto: increment master version to 19.0.88 2025-07-22 14:01:49 -04:00
Eberhard Beilharz
b6c0c68af3
maint(windows): cd before adding to zip 2025-07-22 18:09:41 +02:00
Eberhard Beilharz
71af4a9636
chore(windows): Merge branch 'master' into maint/windows/addzip 2025-07-22 17:29:56 +02:00
Eberhard Beilharz
fba8797fd2
Merge pull request #14387 from keymanapp/maint/common/fixzip
Previously `add_zip_files` didn't work if the zip filename was not specified as first parameter. This change allows it to come after flags.

This will fix web release and other builds.
2025-07-22 17:16:18 +02:00
Eberhard Beilharz
96dc8e0db7
Merge pull request #14386 from keymanapp/test/common/ziptests
Some cleanup and better use of functionality of testing framework.
2025-07-22 17:15:16 +02:00
Eberhard Beilharz
edf9b4765f
maint(android): rely on RELEASE_OEM* to be set on TC
This partially reverts the previous commit in that it doesn't set the
`RELEASE_OEM` and `RELEASE_OEM_FIRSTVOICES` env variables if called with
`--fv`. Instead we rely on these variables being set in the TC config.
See also #14388 for a better solution.
2025-07-22 17:06:00 +02:00
Eberhard Beilharz
1fe8b893c6
chore(common): Merge branch 'master' into maint/common/locate_emscr_tests 2025-07-22 16:49:54 +02:00
Eberhard Beilharz
39b1da2940
Merge pull request #14382 from keymanapp/maint/common/jqstandalone
`jq.inc.sh` gets also used in some scripts that don't source our builder scripts, e.g. in git hooks. This means that `builder_is_windows` is not defined. This change replaces the call of that function with a slightly modified version of the previous implementation.

Follow-up-of: #14324
2025-07-22 15:14:49 +02:00
Eberhard Beilharz
d9e788d20d
maint(common): address code review comments
- update doc in the function header
- add unit tests to show that flags are allowed anywhere now
2025-07-22 15:08:07 +02:00
Eberhard Beilharz
e7ce49a295
maint(common): fix add_zip_files if flags come before zip filename
Previously `add_zip_files` didn't work if the zip filename was not
specified as first parameter. This change allows it to come after flags.

This will fix web release builds.

Test-bot: skip
2025-07-22 10:48:27 +02:00
Eberhard Beilharz
cb6e62531e
test(common): improve zip tests
Some cleanup and better use of functionality of testing framework.
2025-07-22 10:46:35 +02:00
Eberhard Beilharz
61d30ae0b7
Merge pull request #14380 from keymanapp/refactor/common/ziptests
This makes of the testing framework added in #14345 and also renames the tests to better separate the parts of the test name.
2025-07-22 09:55:49 +02:00
Darcy Wong
1e2b533e61 docs(common): Document minimum version of Chrome 95.0 for Android 2025-07-22 08:51:55 +07:00
Keyman Server
1926a836cb
Merge pull request #14383 from keymanapp/auto/version-master-19.0.87
auto: increment master version to 19.0.87
2025-07-21 11:03:15 -07:00
Keyman Build Agent
3513312a38 auto: increment master version to 19.0.87 2025-07-21 14:02:48 -04:00
Eberhard Beilharz
acfb706111
Merge pull request #14379 from keymanapp/maint/resources/testframework 2025-07-21 18:18:29 +02:00
Eberhard Beilharz
87d6e1273f
maint(common): fix use of jq.inc.sh in git hooks
`jq.inc.sh` gets also used in some scripts that don't source our
builder scripts, e.g. in git hooks. This means that `builder_is_windows`
is not defined. This change replaces the call of that function with
a slightly modified version of the previous implementation.

Follow-up-of: #14324
Build-bot: skip
Test-bot: skip
2025-07-21 18:16:51 +02:00
Eberhard Beilharz
68031e7b78
maint(common): address code review comments 2025-07-21 17:33:08 +02:00
Eberhard Beilharz
67a7c69324
refactor(common): use test framework for zip tests
This makes of the testing framework added in #14345 and also renames
the tests to better separate the parts of the test name.

Build-bot: skip
Test-bot: skip
2025-07-21 16:50:49 +02:00
Eberhard Beilharz
1ed4af1f7f
test(common): add unit test for reporting test failures
I added a unit test as part of #14345 but then forgot to commit it.

Follow-up-of: #14345
Build-bot: skip
Test-bot: skip
2025-07-21 16:44:07 +02:00
Darcy Wong
c6ecb256ba
Merge pull request #14377 from keymanapp/fix/android/tc-missing-zip.inc
fix(android): use correct path to zip.inc.sh for CI
2025-07-21 19:30:24 +07:00
Eberhard Beilharz
3594a5ae23
Merge pull request #14324 from keymanapp/maint/common/14109_isOsFuncs
- add `builder_is_windows`, `builder_is_macos` and `builder_is_linux`   functions 
- add/move `BUILDER_OS` env variable to `resources/builder.inc.sh` 
- use the new functions and env variable

Fixes: #14109
2025-07-21 11:27:18 +02:00
Eberhard Beilharz
e4c1867583
maint(windows): remove another (unused) include of win/zip.inc.sh
Addresses code review comment.
2025-07-21 10:26:32 +02:00
Eberhard Beilharz
4a2cf53fbc
maint(windows): replace use of wzzip with add_zip_files
This makes use of the new functionality refactored in the previous
commit by replacing the use of the `wzzip` function with `add_zip_files`.

Test-bot: skip
2025-07-21 10:26:31 +02:00
Eberhard Beilharz
501c666d7d
maint(windows): consider GO_FAST env variable
This changes makes use of the logic that used to be in `win/zip.inc.sh`:
if the environment variable `GO_FAST` is set to 1, we use a low
compression level, resulting in faster builds. If it is set to 0 we
use maximum compression, resulting in slower builds. If `GO_FAST` is
not set we don't specify the compression level and rely on the defaults.

Test-bot: skip
2025-07-21 10:26:30 +02:00
Eberhard Beilharz
197ae290e1
Merge branch 'master' into refactor/android/refactorbuild.sh 2025-07-21 09:36:44 +02:00