Commit graph

33476 commits

Author SHA1 Message Date
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
3ec1338b36
test(developer): add unit tests for isValidUtf8
Follow-up-of: #14369
Test-bot: skip
2025-07-21 17:21:05 +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
Eberhard Beilharz
51ca604b47
chore(common): Merge remote-tracking branch 'origin/master' into maint/common/14109_isOsFuncs 2025-07-21 09:20:12 +02:00
Eberhard Beilharz
dc83c013e5
Merge pull request #14345 from keymanapp/maint/resources/testframework 2025-07-21 09:17:37 +02:00
Eberhard Beilharz
982ff9b8ce
Merge pull request #14325 from keymanapp/maint/mac/write-download-info
Mac had a separate `write-download_info.sh` script that duplicates what is done in the `write_download_info` function. Also remove the unused `dl_info_display_usage` function that is unused and seems to be related to the script we're deleting.

Follow-up-of: #14270
2025-07-21 09:13:34 +02:00
Eberhard Beilharz
a53b5a4ab3
maint(common): address code review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-07-21 09:11:58 +02:00
Marc Durdin
d070057247
Merge pull request #14243 from keymanapp/docs/ansi-iso-related
docs(developer): add ansi and iso context and image, change img tags, and polish for readability
2025-07-21 14:06:33 +07:00
Eberhard Beilharz
c8e0ac314b
Merge pull request #14356 from keymanapp/fix/linux/14349_pkg_resources
Until Ubuntu 24.10/Debian 12 `python3-pkg-resources` got installed as a dependency of `python3-numpy`. With numpy version 2 (Ubuntu >= 25.04/ Debian >= 13) this is no longer the case, so we have to explicitly add it as a runtime dependency. It might be a bug that this dependency doesn't get automatically added, but this workaround will do.

Fixes: #14349
Fixes: KEYMAN-LINUX-82
2025-07-21 08:37:10 +02:00
Eberhard Beilharz
ff275c6196
Merge pull request #14355 from keymanapp/maint/common/12526_c++17
Note that the ICU subprojects still explicitly specify C++17 since they are maintained outside of Keyman and so shouldn't be tied to the Keyman compiler version requirement.

Fixes: #12526
2025-07-21 08:36:36 +02:00
Eberhard Beilharz
fe62983cb4
Merge pull request #14352 from keymanapp/maint/common/dierelative
`7z` and `zip` behave differently if adding files that are not in the current directory. For files with relative paths, zip will add them relative to the current directory which is not what we want and can cause problems for the user. Therefore this change disallows files that are not in the current directory and aborts the build.
2025-07-21 08:35:54 +02:00
Darcy Wong
912d7e951c fix(android): use correct path to zip.inc.sh for CI 2025-07-21 09:42:37 +07:00
Eberhard Beilharz
aceb74c4aa
maint(resources): address code review comments
- return number of failed tests from `run_tests`
- add unit test for `run_tests`
- some cleanup
2025-07-18 20:23:33 +02:00
Keyman Server
f203fc3f2e
Merge pull request #14375 from keymanapp/auto/version-master-19.0.86
auto: increment master version to 19.0.86
2025-07-18 11:03:22 -07:00
Keyman Build Agent
5089fcc76c auto: increment master version to 19.0.86 2025-07-18 14:02:42 -04:00
Eberhard Beilharz
a04dd4b442
Merge pull request #14372 from keymanapp/refactor/linux/13281_defines
Fixes: #13281
2025-07-18 14:20:28 +02:00
Eberhard Beilharz
faa521d82c
maint(common): set C++17 in standard.meson.build
Note that the ICU subprojects still explicitly specify C++17 since they
are maintained outside of Keyman and so shouldn't be tied to the Keyman
compiler version requirement.

Fixes: #12526
Test-bot: skip
2025-07-18 14:04:11 +02:00
Eberhard Beilharz
69f68513d8
Merge pull request #14369 from keymanapp/refactor/developer/codecvt
codecvt is deprecated in C++ 17. See also #12107.
2025-07-18 14:02:36 +02:00
Eberhard Beilharz
6930fe90fa
refactor(developer): replace deprecated std::codecvt_utf8_utf16
codecvt is deprecated in C++ 17. See also #12107.

Test-bot: skip
2025-07-18 08:43:44 +02:00
Eberhard Beilharz
463c2dcd93
Merge pull request #14368 from keymanapp/refactor/common/warnings 2025-07-18 08:39:43 +02:00
dependabot[bot]
1525cd3058
build(deps): bump multer from 2.0.1 to 2.0.2
Bumps [multer](https://github.com/expressjs/multer) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/expressjs/multer/releases)
- [Changelog](https://github.com/expressjs/multer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/expressjs/multer/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: multer
  dependency-version: 2.0.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-18 02:03:46 +00:00
Eberhard Beilharz
d0d774f72c
refactor(linux): move defines to common header files
Fixes: #13281
Test-bot: skip
2025-07-17 19:41:26 +02:00
Eberhard Beilharz
e3dc41f98d
chore(developer): add unit tests for UTF16TempFromUTF8 2025-07-17 17:05:41 +02:00
Eberhard Beilharz
acebacc2b6
maint(core): explain (wrong) meson warning
Build-bot: skip
Test-bot: skip
2025-07-17 17:03:47 +02:00
Eberhard Beilharz
235b3c526e
refactor(resources): remove shellcheck warnings 2025-07-17 17:03:46 +02:00