Commit graph

32685 commits

Author SHA1 Message Date
Eberhard Beilharz
a579d7185b
Merge pull request #15172 from keymanapp/maint/linux/15171_debpkg
maint(linux): free disk space before running autopkgtests

Running the autopkgtests during a Ubuntu packaging build GHA recently started to fail with an out-of-disk-space error. This change removes some large directories with tools that we don't need for the autopkgtests.

We could delete some more that are not quite as big, but this gives us more than enough space and saves a bit of build-time.

Fixes: #15171
2025-11-14 18:45:26 +01:00
Eberhard Beilharz
6fe3e3e8ba
maint(linux): free disk space before running autopkgtests
Running the autopkgtests during a Ubuntu packaging build GHA recently
started to fail with an out-of-disk-space error. This change removes
some large directories with tools that we don't need for the autopkgtests.

Fixes: #15171
Build-bot: skip
Test-bot: skip
2025-11-14 18:23:49 +01:00
Eberhard Beilharz
ef64529300
Merge pull request #15159 from keymanapp/fix/web/defaultpath
fix(web): improve determination of default path

Browser extensions can dynamically insert scripts into a web page, so it's possible that the last script is not what we expected, which can cause the path to the script to be wrong. This change fixes the determination of the default path by using the `document.currentScript` property. It also replaces the use of the deprecated `substr` function in those places.

Fixes: #15158
2025-11-14 14:50:44 +01:00
Marc Durdin
57c0fa3d03
Merge pull request #15129 from keymanapp/maint/resources/builder_launch
maint(resources): add `builder_launch` function
2025-11-14 14:24:19 +01:00
Marc Durdin
8f95d84014
Merge pull request #15114 from keymanapp/maint/resources/builder-timing
maint(resources): add build timing report to builder
2025-11-14 14:24:11 +01:00
Marc Durdin
7d6e04f9ac
Apply suggestions from code review
Build-bot: skip
2025-11-14 13:58:16 +01:00
Eberhard Beilharz
fc04e2445b
fix(web): address code review comments
Deal with `currentScript` being null/undefined.
2025-11-14 12:35:59 +01:00
Marc Durdin
0988a86fa4 maint(resources): improve builder_launch to allow for arbitrary parameters
Also cleans up reporting of child scripts and links the list of reserved
parameters across a few locations. Address review comments.
2025-11-14 10:44:35 +01:00
Eberhard Beilharz
5783ec0900
Merge pull request #15157 from keymanapp/chore/linux/14954_resolute
chore(linux): use `devel` for next Ubuntu release

This change moves to use [`devel`](https://hub.docker.com/_/ubuntu#whats-in-this-image) instead of a specific release name for the next Ubuntu release. That way it will always be able to find an image and will automatically start using the next one as soon as it becomes available.

Follow-up-of: #15137
2025-11-14 08:39:53 +01:00
Keyman Server
4922b089e5
Merge pull request #15160 from keymanapp/auto/version-master-19.0.162
auto: increment master version to 19.0.162
2025-11-13 19:03:38 +01:00
Keyman Build Agent
cd4e7c02b9 auto: increment master version to 19.0.162
Test-bot: skip
Build-bot: skip
2025-11-13 12:01:24 -06:00
Eberhard Beilharz
cb1a308418
fix(web): improve determination of default path
Browser extensions can dynamically insert scripts into a web page, so
it's possible that the last script is not what we expected, which
can cause the path to the script to be wrong. This change fixes the
determination of the default path by using the `document.currentScript`
property. It also replaces the use of the deprecated `substr` function
in those places.

Fixes: #15158
Test-bot: skip
2025-11-13 18:41:27 +01:00
Eberhard Beilharz
72da1be22a
chore(linux): use devel for next Ubuntu release
This change moves to use
[`devel`[1]](https://hub.docker.com/_/ubuntu#whats-in-this-image)
instead of a specific release name for the next Ubuntu release. That way
it will always be able to find an image and will automatically start
using the next one as soon as it becomes available.

Build-bot: skip
Test-bot: skip
2025-11-13 16:43:54 +01:00
Darcy Wong
48b19c468c
Merge pull request #15136 from keymanapp/docs/android/adware
docs(android): Document disclaimer of Keyman NOT containing adware/spyware
2025-11-13 07:08:27 +07:00
Keyman Server
696a7475e4
Merge pull request #15143 from keymanapp/auto/version-master-19.0.161
auto: increment master version to 19.0.161
2025-11-12 19:03:42 +01:00
Keyman Build Agent
a49ee18378 auto: increment master version to 19.0.161
Test-bot: skip
Build-bot: skip
2025-11-12 12:01:30 -06:00
Eberhard Beilharz
197af81b5b
Merge pull request #15137 from keymanapp/chore/linux/14954_resolute 2025-11-12 14:30:24 +01:00
Darcy Wong
1fe688ec9e
Merge pull request #15098 from keymanapp/fix/android/alert-no-keyboards-lexical-models
fix(android): Change Alert Dialog instead of Toast if package missing keyboard and lexical-model files
2025-11-12 08:24:42 +07:00
Keyman Server
776279aa3d
Merge pull request #15139 from keymanapp/auto/version-master-19.0.160
auto: increment master version to 19.0.160
2025-11-11 19:04:06 +01:00
Keyman Build Agent
602b28fe6c auto: increment master version to 19.0.160
Test-bot: skip
Build-bot: skip
2025-11-11 12:01:26 -06:00
Eberhard Beilharz
e56619911d
chore(linux): add support for Ubuntu 26.04 LTS Resolute
Build-bot: skip
Test-bot: skip
2025-11-11 11:28:20 +01:00
Eberhard Beilharz
7f52ad7249
Merge pull request #15131 from keymanapp/maint/core/wasmtests2
maint(core): fix option defaults for Meson >= 1.1

Meson 1.1 changed the name of the options file from `meson_options.txt` to `meson.options`. Currently we're stuck with Meson 1.0 as minimum Meson version because we still support Ubuntu 22.04 Jammy, but on some machines a newer version of meson gets installed which causes the options to be ignored.

The first attempt to simply symlink or copy `meson_options.txt` to `meson.options` failed because git on Windows doesn't support symlinks by default, and Meson complains if it finds two options files (#15127).

Fortunately not having an options file is only a problem for Core where we have one option in the options file that defaults to true. The solution implemented in this change is to always pass the option to Meson.
2025-11-11 10:33:12 +01:00
Darcy Wong
32de05a385 docs(android): Rearrange section and add Sentry blurb 2025-11-11 15:42:58 +07:00
Darcy Wong
1c5fc9d6fc
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-11-11 15:03:41 +07:00
Darcy Wong
61eb2d9090 docs(android): Document disclaimer of Keyman containing adware/spyware 2025-11-11 14:37:05 +07:00
Keyman Server
f56bf8f61c
Merge pull request #15134 from keymanapp/auto/version-master-19.0.159
auto: increment master version to 19.0.159
2025-11-10 19:02:25 +01:00
Keyman Build Agent
43d022ba01 auto: increment master version to 19.0.159
Test-bot: skip
Build-bot: skip
2025-11-10 12:01:09 -06:00
Eberhard Beilharz
2d8a4aeebc
maint(core): fix option defaults for Meson >= 1.1
Meson 1.1 changed the name of the options file from `meson_options.txt`
to `meson.options`. Currently we're stuck with Meson 1.0 as minimum
Meson version because we still support Ubuntu 22.04 Jammy, but on some
machines a newer version of meson gets installed which causes the
options to be ignored.

The first attempt to simply symlink or copy `meson_options.txt` to
`meson.options` failed because git on Windows doesn't support symlinks
by default, and Meson complains if it finds two options files (#15127).

Fortunately not having an options file is only a problem for Core where
we have one option in the options file that defaults to true. The solution
implemented in this change is to always pass the option to Meson.

Test-bot: skip
2025-11-10 15:24:46 +01:00
Eberhard Beilharz
eff0d078a5
Merge pull request #15113 from keymanapp/fix/web/deadkeys
While working on the connection between web's TextStore (OutputTarget) and core's context I tried to understand what the `Deadkey` and `DeadkeyTracker` classes are doing. This lead me to add some unit tests and that showed that there were a few bugs in those classes. This PR fixes these:

- initialize `Deadkey.matched` in c'tor 
- fix `Deadkey.equal` method 
- verify deadkey exists before removing it in `DeadkeyTracker.remove` 
- add unit tests for DeadkeyTracker
2025-11-10 12:30:20 +01:00
Eberhard Beilharz
408514daf3
Update web/src/engine/js-processor/src/deadkeys.ts
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-11-10 12:00:28 +01:00
Marc Durdin
5dbc438f53 maint(resources): add builder_launch function
Use `builder_launch` to launch other builder scripts rather than calling
directly, so that inheritable state and options are passed through.

Test-bot: skip
2025-11-10 11:46:14 +01:00
Marc Durdin
c573709ee6 maint(resources): add build timing report to builder
This is enabled automatically for CI builds, and can be enabled with
`--timing` parameter otherwise. Also, adds `builder_launch`,
documentation to come.

Test-bot: skip
2025-11-10 11:03:45 +01:00
Eberhard Beilharz
269d619ed9
docs(web): add another clarifying comment 2025-11-07 17:32:33 +01:00
Eberhard Beilharz
03831e4f25
fix(web): clarify meaning of parameters for isMatch 2025-11-07 13:47:23 +01:00
Eberhard Beilharz
98ed960c8f
fix(web): address code review comments 2025-11-07 13:22:45 +01:00
Eberhard Beilharz
28d3378589
fix(web): add unit tests for DeadkeyTracker and fix a few bugs
- initialize `Deadkey.matched` in c'tor
- fix `Deadkey.equal` method
- verify deadkey exists before removing it in `DeadkeyTracker.remove`
- add unit tests for DeadkeyTracker

Test-bot: skip
2025-11-07 12:09:54 +01:00
Keyman Server
2069d7fd44
Merge pull request #15108 from keymanapp/auto/version-master-19.0.158
auto: increment master version to 19.0.158
2025-11-06 19:03:44 +01:00
Keyman Build Agent
c58ce35248 auto: increment master version to 19.0.158
Test-bot: skip
Build-bot: skip
2025-11-06 12:01:22 -06:00
Darcy Wong
36c1e47bed
Merge pull request #15053 from keymanapp/chore/common/test9469
chore(common): Consolidate test9469.js keyboard to `/common/test/keyboards/` 🚛
2025-11-06 13:24:47 +07:00
Darcy Wong
f908546969
Merge pull request #15034 from keymanapp/chore/common/platform-rules
chore(common): Consolidate platformtest.js keyboard to `/common/test/keyboards/` 🚛
2025-11-06 13:24:14 +07:00
Keyman Server
aaa2fc500d
Merge pull request #15105 from keymanapp/auto/version-master-19.0.157
auto: increment master version to 19.0.157
2025-11-05 19:04:05 +01:00
Keyman Build Agent
a78d68662e auto: increment master version to 19.0.157
Test-bot: skip
Build-bot: skip
2025-11-05 12:01:53 -06:00
Marc Durdin
85b46c3f2c
Merge pull request #15091 from keymanapp/chore/windows/new-timestamp-server
maint(windows): new timestamp server for test signing
2025-11-05 08:06:12 +01:00
Marc Durdin
ab2561619c
Merge pull request #15088 from keymanapp/fix/developer/11892-clear-package-version-if-follow-keyboard-version
fix(developer): remove package version if FollowKeyboardVersion is set in Package Editor
2025-11-05 08:05:58 +01:00
Darcy Wong
9201baa65b fix(android): Use Alert DIalog if keyboard pkg missing js files
Fixes: #15097

Fixes: KEYMAN-ANDROID-251
2025-11-05 09:49:21 +07:00
Markus Greiner
f92483d630
Merge pull request #14900 from keymanapp/fix/common/match-container-permissions
maint(resources): Docker container changes permissions to match the file owner uid and gid
2025-11-04 23:06:28 +01:00
Markus Greiner
473b177050 Handle uid and gid the same way as in the other Dockerfiles 2025-11-04 22:53:26 +01:00
Markus Greiner
e86c419a42
Update resources/docker-images/android/Dockerfile
Forgotten to remove when CHANGE_PERMISSIONS was invented.

Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-11-04 22:48:00 +01:00
Eberhard Beilharz
57681ce516
Merge pull request #14965 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2025-11-04 19:28:46 +01:00
Marc Durdin
e96cab6307 maint(windows): new timestamp server for test signing
Old timestamp servers are no longer working

Test-bot: skip
Build-bot: skip
2025-11-04 10:02:42 +01:00