Commit graph

33096 commits

Author SHA1 Message Date
Eberhard Beilharz
601a11e681
Merge pull request #13537 from keymanapp/chore/linux/improve-docker
fix(linux): fix building in Docker with different Ubuntu/Debian version 
2025-03-19 12:46:55 +01:00
Joshua Horton
71df37930f
Merge pull request #13360 from keymanapp/feat/web/gesture-error-traces
feat(web): adds gesture 'traces' for warning/error logging
2025-03-19 08:13:48 +07:00
Joshua Horton
f1567018ac
Merge pull request #13534 from keymanapp/fix/web/consistent-model-loading-check
fix(web): model unload and load should use consistent, canEnable check
2025-03-19 08:12:39 +07:00
rc-swag
8a43d0eccb fix(windows): add img & update form message install now
fixes: #13488
2025-03-19 10:57:43 +10:00
Marc Durdin
bc4462a312
Merge pull request #13532 from keymanapp/fix/developer/13455-ERROR_TextBeforeOrAfterNulInOutput
fix(developer): add validation of `nul` usage in output part of rule
2025-03-19 06:12:54 +07:00
Eberhard Beilharz
5ccbb65be2
chore(linux): some more replacements of setup.py
The recommended replacement for `setup.py build` is to use the `build`
module, so we have to add this as additional build dependency.

This change also removes the `devdist` target from the makefile - it
isn't referenced in any script, so I think we can do without.

Unfortunately the `python3-build` package available on Ubuntu 22.04 Jammy
is buggy and looks for `/usr/local/bin/python` so we can't use that.
Instead we continue to use `setup.py` for building on Jammy.
2025-03-18 19:57:37 +01:00
Keyman Server
a90733e016
Merge pull request #13539 from keymanapp/auto/version-beta-18.0.218
auto: increment beta version to 18.0.218
2025-03-18 11:12:02 -07:00
Keyman Build Agent
3190c70c03 auto: increment beta version to 18.0.218 2025-03-18 14:11:31 -04:00
Keyman Server
66acc8df3c
Merge pull request #13538 from keymanapp/auto/version-master-19.0.16
auto: increment master version to 19.0.16
2025-03-18 11:09:30 -07:00
Keyman Build Agent
cfed1a47ab auto: increment master version to 19.0.16 2025-03-18 14:09:01 -04:00
Eberhard Beilharz
4609abaaaf
chore(linux): use bash by default when building containers 2025-03-18 18:37:58 +01:00
Eberhard Beilharz
d85cd135db
chore(linux): update comment 2025-03-18 18:34:26 +01:00
Eberhard Beilharz
25184429c7
Merge pull request #13536 from keymanapp/chore/linux/cherry-pick/docker
chore(linux): allow to build and use Debian docker image 🍒
2025-03-18 18:25:18 +01:00
Eberhard Beilharz
2fbacc4e28
Merge pull request #13535 from keymanapp/chore/linux/docker
chore(linux): update URL for lcov package 
2025-03-18 18:24:50 +01:00
Steven R. Loomis
4e3379c698 feat(core): improve kmxplus validation tests
- ratchet required coverage level to 90%!
- comment out failing run() test though - run() adds an embedded .kvk

Fixes: #9446
2025-03-18 11:50:28 -05:00
Eberhard Beilharz
e649222a1c
fix(linux): fix building in Docker with different Ubuntu/Debian version
Also some general improvements for building and running Docker container.
2025-03-18 17:25:10 +01:00
Steven R. Loomis
443681999d feat(core): improve kmxplus validation tests
- update per review notes

Fixes: #9446
2025-03-18 11:08:44 -05:00
Eberhard Beilharz
da305bab57
chore(linux): deal with default values
When `_convert_parameters_to_build_args` sets the defaults, our previous
implementation to check for default values no longer works.
2025-03-18 16:18:55 +01:00
Eberhard Beilharz
18a600be6a
chore(linux): initialize variables with default values if not set
This changes `convert_parameters_to_build_args` to set the variable to
the default values unless set already. Then we don't have to deal with
unset variables and setting default values when we use the variables.
2025-03-18 16:18:47 +01:00
Eberhard Beilharz
1dde4c3f1f
chore(linux): allow to build and use Debian docker image 2025-03-18 16:16:59 +01:00
Eberhard Beilharz
a8adb33d9a
chore(linux): update URL for lcov package 2025-03-18 12:55:23 +01:00
Marc Durdin
0ea9938036
Merge pull request #9390 from keymanapp/epic/linux-mcompile
epic: linux and mac mcompile 🐘
2025-03-18 14:36:37 +07:00
Eberhard Beilharz
b1aca3fa9c
Merge pull request #13521 from keymanapp/docs/common/file-formats
docs(common): add link to schemas
2025-03-18 08:31:27 +01:00
Joshua Horton
ae576f4833
Merge pull request #13520 from keymanapp/docs/web/engine-processing-and-context-management
docs(web): add internal documentation for context state and keystroke processing
2025-03-18 14:20:31 +07:00
Joshua Horton
a015fd0296 change(web): context-state logging now oldest to most recent
The gesture traces themselves, within their indentation, maintain stacktrace-style ordering.
2025-03-18 14:19:37 +07:00
Joshua Horton
76a5e067e9 fix(web): unload and load should use consistent, canEnable check
Fixes: #13512
Fixes: KEYMAN-WEB-QD
2025-03-18 14:07:07 +07:00
rc-swag
200494f2dc fix(windows): update label text add logo
Fixes: #13487
2025-03-18 17:02:28 +10:00
Marc Durdin
fdd219a481 chore(developer): remove mozhi_malayalam.kmx from baseline fixtures
This is required because it includes rules with nul and other output.
2025-03-18 12:16:40 +07:00
Darcy Wong
18a15ffe29
Merge pull request #13527 from keymanapp/fix/crowdin/ru-strings
fix(android,windows): Update Russian language strings to use Cyrillic script
2025-03-18 11:19:35 +07:00
rc-swag
b5a5a3c4c3 fix(windows): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-18 13:14:04 +10:00
rc-swag
975df45304 fix(windows): add bread crumbs to XMLRenderer 2025-03-18 13:13:51 +10:00
rc-swag
0a8df9480f fix(windows): add exceptions for loading xml 2025-03-18 13:13:40 +10:00
Marc Durdin
5683b370fe fix(developer): add validation of nul usage in output part of rule
If `nul` is used in the output part of a rule, then text or
text-emitting statements cannot also be included in the output of that
rule. This was not enforced in earlier versions of Keyman.

Adds a unit test for the enhanced validation.

Fixes: #13455
Relates-to: keymanapp/keyboards#3379
2025-03-18 09:54:06 +07:00
rc-swag
5698e53f7e
Merge pull request #13526 from keymanapp/fix/windows/cherry-pick/hard-code-key-cap
fix(windows): cherry pick hard code key cap 🍒
2025-03-18 12:44:11 +10:00
Joshua Horton
d0c0159d56 docs(web): adds section on JS-keyboard interfacing 2025-03-18 08:31:13 +07:00
Darcy Wong
d767936254 fix(android): Update string for Russian language 2025-03-18 08:29:25 +07:00
Darcy Wong
bf00c7a453 fix(windows): Update strings for Russian language 2025-03-18 08:27:52 +07:00
Joshua Horton
f3d15eca2d docs(web): improved doc on fat-finger correction paragraph 2025-03-18 08:07:04 +07:00
Joshua Horton
cdb3505f96 docs(web): tweak docs per review 2025-03-18 08:02:07 +07:00
Keyman Server
8e8d38b1e3
Merge pull request #13525 from keymanapp/auto/version-beta-18.0.217
auto: increment beta version to 18.0.217
2025-03-17 11:03:20 -07:00
Keyman Build Agent
449f1107b8 auto: increment beta version to 18.0.217 2025-03-17 14:02:48 -04:00
Eberhard Beilharz
3346a31115
chore(linux): replace deprecated setup.py
Now that we no longer support Focal we can move to more modern ways of
installing `km-config`. This change removes the deprecated use of
`setup.py` and replaces it with `pip3 install`.

Fixes: #13319
2025-03-17 18:41:25 +01:00
Steven R. Loomis
9989217f9e feat(core): improve kmxplus validation
- restructured validation calls to be more consistent

Fixes: #9446
2025-03-17 12:09:04 -05:00
Eberhard Beilharz
2b6cf97af8
chore(linux): rename "Debian packaging" to "Ubuntu packaging"
So far the GHA was called "Ubuntu packaging" but the status reported as
"Debian packaging" which was confusing. This change now uses "Ubuntu
packaging" in both places.

We still keep the filename `deb-packaging.yml` because we're packaging
the .deb format, and because it's shorter.

Fixes: #13497
2025-03-17 17:52:18 +01:00
Steven R. Loomis
0011a2d10d feat(core): improve kmxplus validation
- improve an output string
- catch BMP noncharacters besides U+FFFF (H/T @mcdurdin - this was the whole point of the PR) plus test

Fixes: #9446

Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-17 11:26:57 -05:00
Eberhard Beilharz
04eeba2fb5
docs(common): add link to schemas
Related-to: #13453
2025-03-17 12:09:17 +01:00
Shawn Schantz
1f79b7e2c8
Merge branch 'beta' into docs/mac/10706-update-screenshots 2025-03-17 16:26:36 +07:00
Marc Durdin
dff4c2463c
Merge pull request #13365 from keymanapp/fix/developer/13348-handle-non-bmp-numeric-entities-in-xml-reader
fix(developer): handle non bmp numeric entities in xml reader
2025-03-17 16:02:06 +07:00
Joshua Horton
6c72a30a84 docs(web): add internal documentation for context state and keystroke processing
Fixes: #13518
2025-03-17 15:37:40 +07:00
rc-swag
df938fef51 Merge pull request #13444 from keymanapp/feat/windows/13106-hard-code-osk-font-colour
feat(windows): hard code key cap colour
2025-03-17 17:14:45 +10:00