Commit graph

33096 commits

Author SHA1 Message Date
Joshua Horton
843221c466 chore(web): improve clean actions
A few cases weren't properly handled, while a few others simply weren't called by the top-level script.  This PR seeks to make the top-level clean action able to fully clean all built components, perhaps save for sample and test pages.

Test-bot: skip
2025-04-30 12:18:59 +07:00
Marc Durdin
61a114e937 maint(common): test imported resource versions
Examines imported resources such as standards data for version
information, and compares against our published minimum-versions.inc.sh
data. This test will be run in CI in common/tests.

Fixes: #13582
Test-bot: skip
2025-04-30 10:31:21 +07:00
Joshua Horton
2011d117d6 chore(developer): finalize activation of prefer-const within developer TS modules 2025-04-30 09:41:07 +07:00
Joshua Horton
871ebee552 change(developer): clean up developer/src/kmc-package linter issues 2025-04-30 09:37:32 +07:00
Marc Durdin
97f0c29afa
Merge pull request #13801 from keymanapp/maint/codeowners-remove-advocates
maint(common): remove platform advocates from CODEOWNERS
2025-04-30 09:37:18 +07:00
Joshua Horton
828128fc84 change(developer): clean up developer/src/kmc-model-info linter issues 2025-04-30 09:36:43 +07:00
Joshua Horton
87fff31212 change(developer): clean up developer/src/kmc-model linter issues
The model-defaults.ts file is excluded because that code actually lands in models and could have unwanted side-effects on the oldest Android devices we support.
2025-04-30 09:35:55 +07:00
Darcy Wong
f5c7e2b1c6
Merge pull request #13786 from keymanapp/fix/android/downgrade-no-language-error
fix(android): Change Alert Dialog instead of Toast if package missing languages
2025-04-30 09:33:43 +07:00
Joshua Horton
63ad1a8fff change(developer): clean up developer/src/kmc-ldml linter issues 2025-04-30 09:20:12 +07:00
Marc Durdin
762fa9a3d7 maint: remove platform advocates from CODEOWNERS
These remain commented out, but status.keyman.com will parse all lines
starting with #/<path>/ in order to find the platform owners.
2025-04-30 09:19:25 +07:00
Joshua Horton
da7bfc0982 change(developer): clean up developer/src/kmc-kmn linter issues 2025-04-30 09:18:45 +07:00
Marc Durdin
e976b55635
Merge branch 'master' into maint/meson-versioning-improvements 2025-04-30 09:18:17 +07:00
Marc Durdin
9d2db4faf3 maint(common): consolidate standard.meson.build configuration
Use a shared function standard_meson_build to prep the
resources/meson.build folder for consistency. A future cleanup would be
to use meson-utils.inc.sh for all meson build scripts.
2025-04-30 09:16:43 +07:00
Joshua Horton
6b8c90c191 change(developer): clean up developer/src/kmc-analyze linter issues 2025-04-30 09:16:22 +07:00
Joshua Horton
d92ef04049 change(developer): clean up developer/src/kmc linter issues 2025-04-30 09:15:34 +07:00
Joshua Horton
b14d842027 Merge branch 'master' into chore/increase-linter-strictness 2025-04-30 09:06:31 +07:00
Joshua Horton
de0eaa411b change(web): lint kmwstring web-utility
This removes the exception in #13797 for KMWString, properly including the newly-refactored code in linting as well.
2025-04-30 09:01:47 +07:00
Joshua Horton
16fb2fef49 Merge branch 'chore/web/add-string-handling-unit-tests' into refactor/web/eliminate-kmwstring-side-effects 2025-04-30 08:57:36 +07:00
Marc Durdin
926be6e946 maint(common): only read VERSION_WITH_TAG.md if it exists 2025-04-30 08:48:26 +07:00
Joshua Horton
7217d7cf72 feat(web): add more indexOf, lastIndexOf unit test statements
Co-authored-by: Eberhard Beilharz <eb1@sil.org>
2025-04-30 08:42:27 +07:00
Joshua Horton
4e4fbc174a Merge branch 'chore/web/replace-kmwfromcharcode' into chore/web/add-string-handling-unit-tests 2025-04-30 08:33:02 +07:00
Joshua Horton
efb14e7b2a Merge branch 'change/web/lint-web-utils' into chore/web/replace-kmwfromcharcode 2025-04-30 08:32:09 +07:00
Joshua Horton
80f95d979a change(web): lint engine/common/web-utils
Does not lint kmwstring.ts, as that has an existing rework.  A separate PR will be added as a followup to the refactor PR (#13726) to handle it.
2025-04-30 08:30:06 +07:00
Marc Durdin
f8917d2454 maint(common): cleanup meson versioning
* Adds `VERSION_WITH_TAG` variable to standard.meson.build
* Consistently uses `file('VERSION.md')` to retrieve version number

Note that VERSION_WITH_TAG is not yet used but should be used for
version tagged files later.
2025-04-30 08:23:05 +07:00
Joshua Horton
efe8ed39cc Merge branch 'master' into chore/web/replace-kmwfromcharcode 2025-04-30 08:22:43 +07:00
Joshua Horton
d9bddee90e
Merge pull request #13714 from keymanapp/fix/web/web-util-unit-testing
fix(web): reconnect unit tests for low-level web utility classes/methods 🧶
2025-04-30 08:21:20 +07:00
Joshua Horton
56dbe78281
Merge pull request #13787 from keymanapp/change/web/add-kmw-linting
change(web): enable linting for Keyman Engine for Web modules
2025-04-30 08:17:34 +07:00
Marc Durdin
7a56017f5b maint(core): batch build kmx in tests for performance
Build all the .kmx files used for kmn and ldml unit tests in batch
rather than one at a time. The ldml-test-data builds remain unbatched
for now (and are visibly slow!).

Fixes: #13495
2025-04-30 06:02:59 +07:00
Keyman Server
dc6f661b67
Merge pull request #13794 from keymanapp/auto/version-master-19.0.29
auto: increment master version to 19.0.29
2025-04-29 11:02:24 -07:00
Keyman Build Agent
9e9153184e auto: increment master version to 19.0.29 2025-04-29 14:01:52 -04:00
Eberhard Beilharz
2ff9e309fa
chore(common): allow to run tests in virtual environment
This changes the shebang at the top of the file to allow use Python
from a virtual environment instead of hard-coding the path. This might
not be strictly necessary, but reduces confusion and doesn't hurt.
2025-04-29 19:20:49 +02:00
Eberhard Beilharz
0f8999a736
fix(common): fix configure step in check-markdown
The check-markdown tool gets called as part of a TC build. The
configure action in `build.sh` will select the correct node version
and set the necessary environment variables. However, previously this
failed because `${KEYMAN_ROOT}/node_modules` might already exist even
though we didn't configure check-markdown before.

This change checks a local directory as output of the configure action
and thus allows to build on a Noble based TC agent.
2025-04-29 11:54:39 +02:00
Eberhard Beilharz
b7649defd0
chore(common): override check when running on TC
This change overrides a check added in Ubuntu 24.04+ that prevents
mixing Python packages installed through apt and through pip. This
allows to install the necessary Python package for TC which isn't
available as Debian package. This change allows builds on Ubuntu 24.04
based TC agents.
2025-04-29 11:54:33 +02:00
Eberhard Beilharz
82cb949289
Merge pull request #13778 from keymanapp/change/linux/linkissue 2025-04-29 09:03:06 +02:00
Joshua Horton
94944b0dff chore: increase linter strictness
Fixes: #13776
2025-04-29 12:10:59 +07:00
Joshua Horton
8f04951c80 chore(web): enable web/ linting 2025-04-29 12:01:42 +07:00
Joshua Horton
d6579495f8 change(web): address recorder-tool linter errors 2025-04-29 11:54:44 +07:00
Joshua Horton
4762429e96 change(web): address app/ui linter errors 2025-04-29 11:40:19 +07:00
Joshua Horton
da138b098d change(web): address app/browser linter errors 2025-04-29 11:38:08 +07:00
Joshua Horton
241f9655f2 change(web): address app/webview linter errors 2025-04-29 11:32:35 +07:00
Joshua Horton
19021f1419 change(web): address engine/main linter errors 2025-04-29 11:30:30 +07:00
Joshua Horton
0288048340 change(web): address engine/keyboard-storage linter errors 2025-04-29 11:29:16 +07:00
Joshua Horton
7baf8d0b69 change(web): address engine/attachment linter errors 2025-04-29 11:28:28 +07:00
Marc Durdin
42cbe1f988
Merge pull request #13780 from keymanapp/maint/common/labels
chore(common): rename `chore` GH label to `maint`
2025-04-29 11:16:14 +07:00
Marc Durdin
8b3c2a710a chore: add maint to CONTRIBUTING.md 2025-04-29 11:15:55 +07:00
Darcy Wong
86740c9a91 fix(android): Show Dialog instead of Toast if package missing languages
If a keyboard package is missing associated languages, show an error dialog instead of Toast notification., This way we don't clutter Sentry with noise.

Fixes: #13782

Fixes: KEYMAN-ANDROID-251
2025-04-29 11:11:10 +07:00
Marc Durdin
2dc14c8f7a
Merge pull request #13765 from keymanapp/chore/labeler-for-19-round-two
chore: additional tweaks to scopes/labels
2025-04-29 11:07:50 +07:00
Joshua Horton
f839810cc0 change(web): address engine/osk/gesture-processor linter errors 2025-04-29 11:03:59 +07:00
Joshua Horton
f6134244f2 change(web): address engine/osk linter errors 2025-04-29 11:02:23 +07:00
Joshua Horton
6ba37bc61b change(web): address engine/interfaces linter errors 2025-04-29 10:57:52 +07:00