Commit graph

33096 commits

Author SHA1 Message Date
Marc Durdin
bb1f2006f1
Merge branch 'master' into maint/resources/14506-dont-fallback-to-build-on-unsupported-targets-in-child-builds 2025-08-19 17:39:29 +07:00
Marc Durdin
50a03b502a maint(resources): don't fall back to 'build' action
When an unsupported action is provided to a child build, then don't fall
back to the default action 'build', because generally that is not what
we want -- we want a no-op

Fixes: #14506
Build-bot: skip:all build:common_linux,common_mac,common_windows
Test-bot: skip
2025-08-19 12:32:46 +02:00
Marc Durdin
a54c349061
Merge pull request #14459 from keymanapp/maint/common/14453-move-ci-scripts
maint(common): cleanup and reorganize ci scripts 🐸
2025-08-19 17:07:46 +07:00
Marc Durdin
47a24a8481 maint(resources): match platforms on whole-word only
Fixes: #14548
2025-08-19 11:29:08 +02:00
Marc Durdin
059e77c993 maint(resources): further tweaks on reading build bot commands
Fixes: #14548
2025-08-19 11:18:03 +02:00
Marc Durdin
726baa75b1 maint(resources): improve logging for build bot commands
Fixes: #14548
2025-08-19 11:11:51 +02:00
Marc Durdin
1c23752bd5 maint(resources): handle build-bot skip correctly
Fixes: #14548
Build-bot: skip
Test-bot: skip
2025-08-19 11:02:11 +02:00
Marc Durdin
81c807c257 chore(common): Merge branch 'master' into maint/common/14453-move-ci-scripts 2025-08-19 10:46:11 +02:00
Marc Durdin
3cdce9b371
Merge pull request #14467 from keymanapp/maint/mac/14287-skip-publishing-on-build-buildlevel
maint(mac): skip unnecessary network steps when buildLevel is build 🦌
2025-08-19 15:42:59 +07:00
rc-swag
aadfe4c7cc
fix(windows): commit review suggestions
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-08-19 14:01:18 +10:00
Darcy Wong
7893ff2616 fix(android): Add FirstVoices preference to show on-screen keyboard 2025-08-19 07:31:22 +07:00
Darcy Wong
c4a156b692
Update android/docs/help/basic/config/index.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-08-19 06:56:43 +07:00
Keyman Server
1f4d479ab4
Merge pull request #14544 from keymanapp/auto/version-master-19.0.102
auto: increment master version to 19.0.102
2025-08-18 11:04:06 -07:00
Keyman Build Agent
8712e3c3bb auto: increment master version to 19.0.102
Test-bot: skip
Build-bot: skip
2025-08-18 14:03:01 -04:00
Eberhard Beilharz
57970724fa
refactor(linux): some code cleanup in bash completion script
Build-bot: skip
Test-bot: skip
2025-08-18 19:54:33 +02:00
Eberhard Beilharz
951793ea84
fix(linux): normalize language tags from keyboard
This fixes a bug where a keyboard didn't show up in the language dropdown
if the first language it specified wasn't a normalized language tag.
Previously in that case we added a custom keyboard with whatever language
tag the keyboard specified. With this change we now continue to use
the first language of the first keyboard but normalize it. Since the
selection of the language now happens a little earlier it is slightly
possible that there will be unexpected side effects that didn't show up
in my testing.

Fixes: #14465
2025-08-18 19:49:38 +02:00
Eberhard Beilharz
e98f2bb53c
maint(common): add warning about not mixing build platforms
Developers have to be consistent if they build on Windows/git-bash or
in WSL/Docker. Mixing builds without cleaning the repo first will fail.
See https://github.com/keymanapp/keyman/pull/14154#issuecomment-3182076088.

Build-bot: skip
Test-bot: skip
2025-08-18 17:51:00 +02:00
Eberhard Beilharz
72d8b705ff
maint(common): on Windows build as root inside docker container
This fixes a permission problem when we run docker from git bash.
On Windows we want to build as _root_ inside of the docker container.
This gives the necessary permissions due to the way the Windows user
is mapped to git bash/mingw and the docker container. On Linux
however we want to build as _build_ user inside the container so that
files we create are owned by the host user.

See https://github.com/keymanapp/keyman/pull/14154#issuecomment-2970577312
for further explanation.
2025-08-18 17:50:29 +02:00
Eberhard Beilharz
45f60b56de
maint(common): use LF line endings for scripts
On Windows files are usually checked out with CRLF line endings.
However, the Docker image is Linux and thus expects LF line endings.
This causes conflicts with the scripts and so trying to build in docker
trips over the shebang line that contains CR - see #14153.
https://stackoverflow.com/a/14610574 suggests a workaround, however that
doesn't work because it converts the script on the fly and removes CR and
then reads the script from the command line. This causes the loss of the
script name and thus causes different failures. Even with that solved
it would likely still not work because of the sourced  include scripts
would still contain CRLF line endings.

The only solution seems to be to check out the script files with LF
line endings which also seems to work when building directly on Windows.
See https://blog.programster.org/fixing-docker-volume-windows-line-endings-on-bash-scripts.

Fixes: #14153
Test-bot: skip
2025-08-18 17:50:28 +02:00
Eberhard Beilharz
57a9583093
maint(common): disable path conversions on Windows
By default Git Bash converts paths starting with `/`, so running the
docker image fails with errors or files mentioning `\Program Files\Git\`.
This change adds a wrapper function that prevents the conversion
and thus uses the paths in the correct form when calling docker.
2025-08-18 17:50:28 +02:00
Joshua Horton
0e46c2d2f7 docs(android): add min Chrome version in polyfill doc 2025-08-18 09:15:04 -05:00
Joshua Horton
ad990b3e52 fix(android): polyfill globalThis for API 28 devices
Fixes: #14450
2025-08-18 09:12:32 -05:00
Marc Durdin
c6a043c5af
Merge pull request #14540 from keymanapp/maint/common/move-node-related-functions-out-of-utils.inc.sh-missing-parts
maint(common): rename and move node-related script functions into node.inc.sh
2025-08-18 18:08:00 +07:00
Markus Greiner
72214187c5 maint(common): rename and move node-related script functions into node.inc.sh
Consolidates the node-related script functions into node.inc.sh, as part
    of cleaning up the build scripts and making them easier to maintain into
    the future. In the earlier commite some changes were missing.

    Fixes: #14447
2025-08-18 11:42:54 +02:00
Marc Durdin
4314088071 maint(mac): only publish sentry for CI builds 2025-08-18 11:28:08 +02:00
Darcy Wong
c30ec23be9
Merge pull request #14514 from keymanapp/fix/android/samples-edge-to-edge
fix(android): Update Sample, Test, and FirstVoices apps for edge to edge 🪟
2025-08-18 14:30:51 +07:00
Darcy Wong
3f38f322ca
Merge pull request #14463 from keymanapp/fix/android/edge-to-edge-activities
fix(android): Update other activities for edge to edge 🪟
2025-08-18 14:30:06 +07:00
Darcy Wong
eaec803701
Merge branch 'master' into fix/android/edge-to-edge-activities 2025-08-18 14:14:54 +07:00
Darcy Wong
84c6d72e8f chore(android): Remove old import 2025-08-18 14:14:09 +07:00
Darcy Wong
7e5e117901
Merge pull request #14396 from keymanapp/fix/android/constraint-layout
fix(android): Convert Keyman app layout to use ConstraintLayout for handling edge-to-edge 🪟
2025-08-18 14:11:51 +07:00
Darcy Wong
77058d00ed
Merge pull request #14395 from keymanapp/main/android/taregt-api-35
maint(android): Update Android Target API to 35 🪟
2025-08-18 14:11:05 +07:00
Darcy Wong
d827d2f796 docs(android): Add "Show On-screen keyboard" to in-app help 2025-08-18 11:18:34 +07:00
Darcy Wong
354b02291e fix(android): Add UI preference for showing OSK with physical keyboard 2025-08-18 11:04:42 +07:00
Darcy Wong
0a565584ea fix(android): Show system keyboard when physical keyboard is connected 2025-08-18 10:15:20 +07:00
Darcy Wong
90a0fae378 fix(android): Show OSK when physical keyboard connected 2025-08-15 11:36:13 +07:00
Keyman Server
56fa83cefd
Merge pull request #14531 from keymanapp/auto/version-master-19.0.101
auto: increment master version to 19.0.101
2025-08-14 11:08:57 -07:00
Keyman Build Agent
371b0801ca auto: increment master version to 19.0.101
Test-bot: skip
Build-bot: skip
2025-08-14 14:05:48 -04:00
Joshua Horton
a85890cd1e
Merge pull request #14510 from keymanapp/maint/web/convert-worker-thread-tests
chore(web): convert worker-thread tests to TS
2025-08-15 00:15:29 +07:00
Joshua Horton
7a9ae50d3b
Merge pull request #14518 from keymanapp/refactor/web/apply-suggestion-casing
refactor(web): move applySuggestionCasing to standalone exportable method
2025-08-15 00:15:19 +07:00
Joshua Horton
118fb6ae94
Merge pull request #14517 from keymanapp/fix/web/suggestion-typing
fix(web): improve accuracy of types for suggestions & suggestion-generation
2025-08-15 00:15:12 +07:00
Joshua Horton
6d27c3468d Merge branch 'refactor/web/apply-suggestion-casing' into maint/web/convert-worker-thread-tests 2025-08-14 11:01:39 -05:00
Joshua Horton
51fc6f636f Merge branch 'fix/web/suggestion-typing' into refactor/web/apply-suggestion-casing 2025-08-14 11:00:11 -05:00
Joshua Horton
aa77e4ca0b fix(web): remove unneeded sort from unit test 2025-08-14 10:59:45 -05:00
Joshua Horton
65885a4669 chore(web): add displayAs strings where previously unset 2025-08-14 08:32:11 -05:00
Joshua Horton
981905717a change(web): add MAX_PROB constant for use in 'keep'-suggestion construction 2025-08-14 08:23:40 -05:00
Joshua Horton
ae469ed1b4
change(web): apply suggestion from code-review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-08-14 20:19:53 +07:00
Marc Durdin
77d7015505
Merge pull request #14528 from keymanapp/maint/resources/increment-version-space
maint(resources): add space to test-bot command
2025-08-14 17:32:43 +07:00
Marc Durdin
223332cb53 maint(resources): add space to test-bot command
Follows: #14526
Test-bot: skip
Build-bot: skip
2025-08-14 10:53:53 +02:00
Keyman Server
d0215b815a
Merge pull request #14527 from keymanapp/auto/version-master-19.0.100
auto: increment master version to 19.0.100
2025-08-14 01:41:55 -07:00
Keyman Build Agent
123b363a56 auto: increment master version to 19.0.100
Test-bot:skip
Build-bot: skip
2025-08-14 04:40:00 -04:00