Commit graph

32194 commits

Author SHA1 Message Date
Eberhard Beilharz
6133d87723
Merge pull request #14708 from keymanapp/fix/linux/14707_NoneTypeNotIterable
Some keyboards seem to be missing the `keyboards` section in the `kmp.json` file. This change prevents a crash and instead returns `None` and thus we don't create a .ldml file and so onboard will show the default keyboard instead. The alternative would be to create an empty .ldml file, but that causes onboard to show a keyboard with all key caps being empty.

Fixes: #14707
Fixes: KEYMAN-LINUX-8P
2025-09-09 16:31:06 +02:00
Keyman Server
a69be20019
Merge pull request #14710 from keymanapp/auto/version-master-19.0.115
auto: increment master version to 19.0.115
2025-09-08 11:05:54 -07:00
Keyman Build Agent
e22e46db36 auto: increment master version to 19.0.115
Test-bot: skip
Build-bot: skip
2025-09-08 14:04:31 -04:00
Eberhard Beilharz
189ee50e24
fix(linux): don't crash if kmp.json is missing keyboards section
Some keyboards seem to be missing the `keyboards` section in the
`kmp.json` file. This change prevents a crash and instead returns `None`
and thus we don't create a .ldml file and so onboard will show the
default keyboard instead. The alternative would be to create an empty
.ldml file, but that causes onboard to show a keyboard with all key caps
being empty.

Fixes: #14707
Fixes: KEYMAN-LINUX-8P
Test-bot: skip
2025-09-08 18:06:36 +02:00
Eberhard Beilharz
d1920acf94
Merge pull request #14698 from keymanapp/refactor/resources/shellcheck 2025-09-08 09:09:26 +02:00
Eberhard Beilharz
e92a82db62
Merge pull request #14684 from keymanapp/fix/web/14108_NaN
PR #13860 fixed a similar error by adding a check for NaN. However, it missed doing it for `layoutWidth` and only changed `layoutHeight`. 

This PR adds a similar check to `layoutWidth` and will thus fix the error we're still seeing in Sentry.

Also add unit tests for both methods.

Fixes: #14108
Fixes: [KEYMAN-WEB-RA](https://keyman.sentry.io/issues/6579536471/?referrer=github_integration)
2025-09-08 09:06:49 +02:00
Eberhard Beilharz
a9597b58da
refactor(resources): remove shellcheck warnings 2025-09-05 19:02:16 +02:00
Eberhard Beilharz
f809d6a77f
Merge pull request #14695 from keymanapp/maint/resources/comments
Git allows to specify a comment character different from the default `#`. This is helpful when using markdown in commit messages, especially when adding a user test section that has to start with `# User testing` in order for the test bot to detect it.

This change modifies the `prepare-commit-msg` hook and adds a check for a configured `core.commentString` or `core.commentChar`. If both are not set it falls back to the default `#` character.

You can set a different comment character with `git config core.commentChar //`.
2025-09-05 15:36:37 +02:00
Eberhard Beilharz
8262d868aa
Merge pull request #14694 from keymanapp/maint/linux/makefile
All commands from `linux/Makefile` are now available elsewhere and not used anymore. The one exception was `make tmpsources` - this change moves the code to the TC build script.
2025-09-05 15:36:04 +02:00
Eberhard Beilharz
1becb87547
maint(resources): honor configure comment character in commit message
Git allows to specify a comment character different from the default
`#`. This is helpful when using markdown in commit messages, especially
when adding a user test section that has to start with `# User testing`
in order for the test bot to detect it.

This change modifies the `prepare-commit-msg` hook and adds a check for
a configured `core.commentString` or `core.commentChar`. If both are not
set it falls back to the default `#` character.

You can set a different comment character with
`git config core.commentChar //`.

Build-bot: skip
Test-bot: skip
2025-09-05 10:45:58 +02:00
Eberhard Beilharz
5c9e4f2c08
maint(linux): remove obsolete Makefile
All commands from `linux/Makefile` are now available elsewhere and not
used anymore. The one exception was `make tmpsources` - this change
moves the code to the TC build script.

Test-bot: skip
2025-09-05 10:40:16 +02:00
Eberhard Beilharz
8e65d13559
Merge pull request #14646 from keymanapp/refactor/common/13205_UnifyWhatsNew
Standardize on `whatsnew.md`.

Fixes: #13205
Related: https://github.com/keymanapp/help.keyman.com/pull/2234
2025-09-05 09:44:02 +02:00
Eberhard Beilharz
f464008326
fix(web): add check to internalHeight
The same error could potentially happen in `internalHeight`, so we
add the check for NaN there as well. Addresses code review comments.
2025-09-05 09:35:50 +02:00
Keyman Server
e1c50546c5
Merge pull request #14688 from keymanapp/auto/version-master-19.0.114
auto: increment master version to 19.0.114
2025-09-04 11:07:41 -07:00
Keyman Build Agent
6402da52aa auto: increment master version to 19.0.114
Test-bot: skip
Build-bot: skip
2025-09-04 14:02:30 -04:00
Eberhard Beilharz
74ef39726b
fix(web): fix error trying to calculate style scaling effects
PR #13860 fixed a similar error by adding a check for NaN. However, it
missed doing it for `layoutWidth` and only changed `layoutHeight`. This
PR adds a similar check to `layoutWidth` and will thus fix the error
we're still seeing in Sentry.

Also add unit tests for both methods.

User Testing
============

TEST_INUKTITUT_KEYBOARD: Using Keyman for Android, install the
`inuktitut_pirurvik` and verify that no error notifications appear.

Fixes: #14108
Fixes: [KEYMAN-WEB-RA](https://keyman.sentry.io/issues/6579536471/?referrer=github_integration)
2025-09-04 17:28:15 +02:00
Darcy Wong
cee2368611
Merge pull request #14678 from keymanapp/fix/android/sample1-rotation
fix(android): Update KMSample1 layout when changing orientation
2025-09-04 07:34:56 +07:00
Keyman Server
e4683b75c3
Merge pull request #14681 from keymanapp/auto/version-master-19.0.113
auto: increment master version to 19.0.113
2025-09-03 11:08:20 -07:00
Keyman Build Agent
9d8c346e9e auto: increment master version to 19.0.113
Test-bot: skip
Build-bot: skip
2025-09-03 14:06:51 -04:00
Joshua Horton
191db9cba9
Merge pull request #14618 from keymanapp/refactor/web/simplify-calculation-inputs
refactor(web): simplify edit-distance calculation-object inputs
2025-09-03 22:11:00 +07:00
Joshua Horton
770ac2a13f
Merge pull request #14592 from keymanapp/feat/web/search-subset-batching
feat(web): batch correction-search paths by related subsets
2025-09-03 22:10:46 +07:00
Joshua Horton
6969206701
Merge pull request #14581 from keymanapp/feat/web/transform-cataloging
feat(web): adds transform cataloging methods to predictive-text worker
2025-09-03 22:10:38 +07:00
Eberhard Beilharz
e615139348
Merge pull request #14669 from keymanapp/chore/windows/desktop 2025-09-03 11:53:46 +02:00
Eberhard Beilharz
3e3cccc97d
Apply suggestions from code review
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2025-09-03 08:42:39 +02:00
Eberhard Beilharz
e50ee3fe98
Merge pull request #14671 from keymanapp/maint/linux/14288_buildLevel
Fixes: #14288
2025-09-03 08:40:20 +02:00
Marc Durdin
69a538b691
Merge pull request #14668 from keymanapp/docs/license
docs(common): update license date and owner
2025-09-03 06:37:04 +02:00
Darcy Wong
33e216fbc6 fix(android): Update KMSample1 when changing orientation 2025-09-03 09:47:43 +07:00
Darcy Wong
5c9fe45cf2
Merge pull request #14655 from keymanapp/fix/android/listview-padding
fix(android): Cleanup list layout in Engine and FirstVoices for edge to edge 🪟
2025-09-03 09:42:03 +07:00
Marc Durdin
07617c2f2a
Merge pull request #14667 from keymanapp/docs/history-and-get-started
docs(developer): tweak get-started for kmc and add entry to HISTORY.md
2025-09-03 04:41:14 +02:00
Marc Durdin
76ed9b55dd
Merge pull request #14659 from keymanapp/fix/developer/new-lm-project-validation-message
fix(developer): add clear messages about validation failures to New LM Project Parameters form
2025-09-03 04:39:36 +02:00
Keyman Server
035ffdf7e7
Merge pull request #14672 from keymanapp/auto/version-master-19.0.112
auto: increment master version to 19.0.112
2025-09-02 11:05:55 -07:00
Keyman Build Agent
2197f9cfab auto: increment master version to 19.0.112
Test-bot: skip
Build-bot: skip
2025-09-02 14:03:36 -04:00
Eberhard Beilharz
91eab26389
maint(linux): skip tarball creation for Build-bot: build buildLevel
Fixes: #14288
Test-bot: skip
2025-09-02 18:06:32 +02:00
Marc Durdin
f420f15567 docs(common): update license date and owner
Fixes: #14665
Test-bot: skip
Build-bot: skip
2025-09-02 16:13:36 +02:00
Marc Durdin
d407857717 docs(developer): tweak get-started for kmc and add entry to HISTORY.md
Yeah, two things but they are both minor!

Build-bot: skip
Test-bot: skip
2025-09-02 15:12:14 +02:00
Eberhard Beilharz
f166f11d14
docs(common): update docs Keyman Desktop → Keyman for Windows
Also change path to engine help pages. This requires a corresponding
change in help.keyman.com.

Test-bot: skip
2025-09-02 14:29:53 +02:00
Markus Greiner
ef8297b352
Merge pull request #14648 from keymanapp/maint/common/13954-registry-usage-for-docker-images
maint: add registry usage for Docker images
2025-09-02 13:54:41 +02:00
Marc Durdin
c263a2bd2a
Merge pull request #14658 from keymanapp/fix/developer/new-ldml-keyboard-project-validation-message
fix(developer): add clear messages about validation failures to New LDML Project Parameters form
2025-09-02 11:29:39 +02:00
Marc Durdin
c557124006
Merge pull request #14657 from keymanapp/fix/developer/14169-new-keyboard-project-validation-message
fix(developer): add clear messages about validation failures to New Project Parameters form
2025-09-02 11:29:30 +02:00
Marc Durdin
8150f36b09
Merge pull request #14651 from keymanapp/fix/developer/13903-offset-compiler-error-line
fix(developer): remove incorrect offset for compiler error line
2025-09-02 11:29:12 +02:00
Eberhard Beilharz
5692399179
Merge pull request #14660 from keymanapp/docs/web/whatsnew 2025-09-02 08:31:46 +02:00
Marc Durdin
44afd7b12f
Merge pull request #14656 from keymanapp/change/developer/14116-new-sil-logo
change(developer): update SIL logo
2025-09-02 05:38:53 +02:00
Marc Durdin
5f64033603
docs(developer): Update developer/docs/help/context/new-project-parameters.md
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2025-09-02 05:38:03 +02:00
Keyman Server
3898ea66cb
Merge pull request #14661 from keymanapp/auto/version-master-19.0.111
auto: increment master version to 19.0.111
2025-09-01 11:05:35 -07:00
Keyman Build Agent
12b6bd6bab auto: increment master version to 19.0.111
Test-bot: skip
Build-bot: skip
2025-09-01 14:03:26 -04:00
Markus Greiner
62eabcc0f0 maint: 13954 simplified if clause after review 2025-09-01 17:53:00 +02:00
Markus Greiner
8152731de7
Update resources/docker-images/docker-build.inc.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-09-01 17:46:52 +02:00
Markus Greiner
2d72727ca5
Update resources/docker-images/README.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-09-01 17:46:17 +02:00
Eberhard Beilharz
50950c6737
docs(web): Improve empty What's New page for Web
Build-bot: skip
Test-bot: skip
2025-09-01 17:39:21 +02:00
Marc Durdin
5df9e70a31 fix(developer): add clear messages about validation failures to New LM Project Parameters form
Apply new FormValidation to New Lexical Model Project Parameters form.

Follows: #14658
2025-09-01 17:07:36 +02:00