Commit graph

33096 commits

Author SHA1 Message Date
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
rc-swag
dcf8dee149
Merge branch 'master' into fix/windows/14342/invalid-data-type-for-regkey 2025-07-17 15:37:15 +10:00
rc-swag
4ab409688e
Merge branch 'master' into fix/windows/dont-prompt-updates-off 2025-07-16 13:51:36 +10:00
Keyman Server
7a6a2c59b2
Merge pull request #14362 from keymanapp/auto/version-master-19.0.85
auto: increment master version to 19.0.85
2025-07-15 11:02:07 -07:00
Keyman Build Agent
5cb0d45e7b auto: increment master version to 19.0.85 2025-07-15 14:01:39 -04:00
Eberhard Beilharz
d9810df377
Merge pull request #14334 from keymanapp/maint/developer/usezipfunc
This makes use of `add_zip_files` where possible.

Fixes: #14332
Follow-up-of: #14093
2025-07-15 16:43:08 +02:00
Eberhard Beilharz
ef6adec0ed
chore(developer): Merge branch 'master' into maint/developer/usezipfunc 2025-07-15 09:43:04 +02:00
Eberhard Beilharz
33f77656de
Merge pull request #14333 from keymanapp/maint/common/zipfunc
This change adds support for the `-xr!wildcard` parameter to the `add_zip_files` function, e.g. `-xr!build.sh` will exclude all `build.sh` files from the archive. This is an alternative to adding a file list.

Also add unit tests for `zip.inc.sh`.
2025-07-15 09:37:33 +02:00
rc-swag
314c606aec fix(windows): add check a fix for registry datatypes
Fixes: #14342
The Windows system level keyboard hotkeys controlled in
registry have sometimes been incorrectly written as
a DWORD datatype. There 106 events in sentry for just
July. When opening the Windows setting dialog and the registry
has DWORDS it will show unassinged in the dialog if apply
is pressed it will convert the keys to REG_SZ.
This fix follows a similar pattern it will check the data
type of the registry key if it is DWORD it will remove it
and add a new key of the same name as REG_SZ and set it to
the unassigned value.

Fixes: KEYMAN-WINDOWS-4NK
2025-07-15 16:27:14 +10:00
Keyman Server
9d5a62fed4
Merge pull request #14357 from keymanapp/auto/version-master-19.0.84
auto: increment master version to 19.0.84
2025-07-14 11:05:45 -07:00
Keyman Build Agent
09e1f3be79 auto: increment master version to 19.0.84 2025-07-14 14:05:18 -04:00
Eberhard Beilharz
3ec8ebc8f2
Merge pull request #14309 from keymanapp/maint/developer/14263_kmc-zip 2025-07-14 19:49:55 +02:00
Eberhard Beilharz
0b35b3fd9c
fix(linux): add python3-pkg-resources as explicit dependency
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-14 19:43:37 +02:00
Eberhard Beilharz
bb78c30c55
maint(android): consolidate creating zip file
Also set `RELEASE_OEM` and `RELEASE_OEM_FIRSTVOICES` at build time (if
`--fv` is passed) instead of relying it to be set in TC.

Fixes: #14350
Test-bot: skip
2025-07-14 15:55:18 +02:00
Eberhard Beilharz
39bff3e504
maint(common): fail build if adding relative file to zip
`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-14 15:21:10 +02:00
Eberhard Beilharz
852c9c5e9c
refactor(android): create functions for actions
Move action code in separate functions. Also cleanup some shellcheck
warnings.

Test-bot: skip
2025-07-14 15:03:21 +02:00
Eberhard Beilharz
a1452d6ab8
maint(common): add simple unit testing framework for bash
Build-bot: skip
Test-bot: skip
2025-07-14 14:43:40 +02:00
Eberhard Beilharz
b0dd8c5920
Merge pull request #14335 from keymanapp/maint/resources/tests 2025-07-14 11:13:25 +02:00
Eberhard Beilharz
9be6128377
maint(resources): clarify description
Addresses code review comment.
2025-07-14 11:12:49 +02:00
Eberhard Beilharz
e634f20313
maint(linux): fix locate_emscripten if $EMSCRIPTEN_BASE dir missing
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
Test-bot: skip
2025-07-11 21:37:26 +02:00
Eberhard Beilharz
30836e750b
maint(common): add unit tests for locate_emscripten.inc.sh
Build-bot: skip
Test-bot: skip
2025-07-11 21:16:32 +02:00
Eberhard Beilharz
784941b03c
maint(common): add simple unit testing framework for bash
Build-bot: skip
Test-bot: skip
2025-07-11 20:19:48 +02:00
Keyman Server
882ade2790
Merge pull request #14341 from keymanapp/auto/version-master-19.0.83
auto: increment master version to 19.0.83
2025-07-10 11:02:17 -07:00
Keyman Build Agent
8312a17715 auto: increment master version to 19.0.83 2025-07-10 14:01:47 -04:00
Eberhard Beilharz
a22de0a647
maint(developer): use add_zip_files function
This makes use of `add_zip_files` where possible.

Fixes: #14332
Follow-up-of: #14093
Test-bot: skip
2025-07-10 17:53:16 +02:00
Eberhard Beilharz
b620a260c8
Merge pull request #14331 from keymanapp/maint/mac/fixrelease
We already run `build.sh publish` as part of the regular release build in `macos_build_action`, so we don't have to call it again.
2025-07-10 17:01:24 +02:00
Eberhard Beilharz
c18609914a
Merge pull request #14330 from keymanapp/maint/mac/improvetc 2025-07-10 17:00:59 +02:00
Eberhard Beilharz
195bf68f3d
Merge pull request #14329 from keymanapp/maint/android/fixrelease
Uses absolute paths for zipping files.

Follow-up-of: #14308
2025-07-10 16:59:07 +02:00
Eberhard Beilharz
16d38a0e89
docs(common): update documentation of zip.inc.sh 2025-07-10 15:27:30 +02:00
Eberhard Beilharz
1f88da7deb
maint(resources): add build.sh to run all resource/build/test tests
Also adjust scripts to output standard pass message.
2025-07-10 15:22:50 +02:00
Eberhard Beilharz
d863fc4aa7
maint(common): add unit tests for zip.inc.sh 2025-07-10 14:27:30 +02:00