Commit graph

33096 commits

Author SHA1 Message Date
Eberhard Beilharz
02ca6222bd
maint(mac): add TC build scripts for macOS
Fixes: #14190
Part-of: #13399
Build-bot: release mac
Test-bot: skip
2025-07-02 19:11:45 +02:00
Eberhard Beilharz
9c6838096e
maint(ios): add TC build scripts for iOS
Fixes: #14189
Part-of: #13399
Build-bot: release ios
Test-bot: skip
2025-07-02 19:06:35 +02:00
Eberhard Beilharz
e82a873cff
maint(linux): use tc_rsync_upload and write_download_info functions
Also make `_tc_rsync` function cross-platform. A comparison might show
that we omit `--perms` when calling rsync with this change. However the
short form (`-p`) is already included, so we don't have to additional
add the long form `--perms`.
2025-07-02 19:05:04 +02:00
Eberhard Beilharz
fe2024a13f
maint(android): add TC build scripts for Keyman for Android
There is one difference compared to the old build configurations on TC:
previously we had a separate build step to build and test FV that would
run only if environment variables were set.

This change combines building and testing FV with building the engine
and the app. If the environment variables are set we pass an additional
parameter to the TC build script.

Fixes: #14188
Part-of: #13399
Build-bot: release android
Test-bot: skip
2025-07-02 18:45:51 +02:00
Eberhard Beilharz
8bb0be2f8f
maint(windows): replace Powershell scripts
Refactors the Powershell scripts that download and upload files and
create .download_info files.

This change is based on #14236/#14254 which bypasses the path rewriting
that msys does when calling Windows rsync. Part of this change was done
for developer in #14255.

Related: #14236, #14255
2025-07-02 18:43:08 +02:00
Eberhard Beilharz
52943600dc
maint(web): move rsync code to shared functions
Build-bot: skip
Test-bot: skip
2025-07-02 17:01:30 +02:00
Eberhard Beilharz
cd796fe770
chore(windows): Merge branch 'master' into maint/windows/13399_tconfig 2025-07-02 16:59:23 +02:00
Eberhard Beilharz
8ea81be621
maint(web): move rsync code to shared functions
Build-bot: skip
Test-bot: skip
2025-07-02 11:51:25 +02:00
Eberhard Beilharz
bde4db43ae
refactor(common): improve downloads include script
- add shebang so that shellcheck knows what shell we use
- fix line endings
2025-07-02 10:34:58 +02:00
Eberhard Beilharz
307ae20790
refactor(web): move helper functions to beginning of function
The previous code showed a warning in the Firefox console: "Unreachable
code after return statement". Moving the helper functions to the
beginning of the surrounding function solves it.

Also make some variables `const`.
2025-07-02 10:29:21 +02:00
Marc Durdin
f38d7171b4
Merge pull request #14162 from keymanapp/maint/common/14149-7z-sevenz-seven-z
maint(common): consolidate 7Z_HOME, SEVENZ_HOME, SEVEN_Z_HOME env vars
2025-07-02 13:57:49 +07:00
Marc Durdin
755357ecdf chore(common): Merge branch 'master' into maint/common/14149-7z-sevenz-seven-z 2025-07-02 15:43:38 +10:00
Marc Durdin
d5c61df5bf
Merge pull request #14216 from keymanapp/feat/resources/14200-builder-ignore-unknown-for-script-integrations
feat(resources): support ignoring unknown options in builder
2025-07-02 12:39:10 +07:00
Keyman Server
27552c93d4
Merge pull request #14250 from keymanapp/auto/version-master-19.0.75
auto: increment master version to 19.0.75
2025-07-01 15:22:41 -07:00
Keyman Build Agent
feed26832d auto: increment master version to 19.0.75 2025-07-01 18:22:10 -04:00
Marc Durdin
533bc73312
Merge pull request #14249 from keymanapp/maint/web/14225-simplify-rsync-call-and-download-info-build
maint(web): adjust rsync path
2025-07-02 05:20:27 +07:00
Marc Durdin
c5dc3e583d chore: remove unnecessary comment 2025-07-02 08:18:24 +10:00
Marc Durdin
3011a0816d maint(web): adjust rsync path 2025-07-02 08:12:35 +10:00
Keyman Server
7970d59248
Merge pull request #14247 from keymanapp/auto/version-master-19.0.74
auto: increment master version to 19.0.74
2025-07-01 11:02:09 -07:00
Keyman Build Agent
20896e14f4 auto: increment master version to 19.0.74 2025-07-01 14:01:38 -04:00
Eberhard Beilharz
3477032d2e
Merge pull request #14244 from keymanapp/fix/web/14242_SEVENZ_HOME
The build agents have the env variable `SEVENZ_HOME` set instead of `SEVEN_Z_HOME`. That name is also used elsewhere, so this PR changes it to the more widespread name.
2025-07-01 17:03:33 +02:00
Eberhard Beilharz
f324431754
fix(web): change env variable name
The build agents have the env variable `SEVENZ_HOME` set instead of
`SEVEN_Z_HOME`. That name is also used elsewhere, so this PR changes it
to the more widespread name.

Fixes: #14242
Follow-up-of: #14225
Build-bot: skip
Test-bot: skip
2025-07-01 16:21:21 +02:00
Meng-Heng
0c2e9ca13c docs: add ansi and iso context and image, change img tags, and polish for readibility 2025-07-01 16:24:28 +07:00
Eberhard Beilharz
42ff6fab20
Merge pull request #14237 from keymanapp/fix/web/14234_filelocations
This fixes a deployment problem which seems have been around since 17.0. We also have to deploy the `web/build/publish` folder which contains all the files necessary to load and run the test keyboards.
2025-07-01 09:23:30 +02:00
rc-swag
6345a0b9b3
fix(windows): review comment
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-07-01 15:13:02 +10:00
Keyman Server
d1e1e71070
Merge pull request #14241 from keymanapp/auto/version-master-19.0.73
auto: increment master version to 19.0.73
2025-06-30 17:35:00 -07:00
Keyman Build Agent
a0c2abd2fb auto: increment master version to 19.0.73 2025-06-30 20:34:25 -04:00
Marc Durdin
5473eb43d5
Merge pull request #14236 from keymanapp/maint/web/14225-simplify-rsync-call-and-download-info-build
maint(web): cleanup rsync call from bash for Windows agents and refactor
2025-07-01 06:04:45 +07:00
Keyman Server
a28ea8eee9
Merge pull request #14240 from keymanapp/auto/version-master-19.0.72
auto: increment master version to 19.0.72
2025-06-30 11:01:51 -07:00
Keyman Build Agent
2af491f999 auto: increment master version to 19.0.72 2025-06-30 14:01:16 -04:00
Eberhard Beilharz
4937362fdd
fix(web): deploy web/build/publish folder
This fixes a deployment problem which seems have been around since 17.0.
We also have to deploy the `web/build/publish` folder which contains all
the files necessary to load and run the test keyboards.

The fix can only be tested after a release build has happened and the
files have been deployed.

Fixes: #14234
Build-bot: skip
Test-bot: skip
2025-06-30 15:50:11 +02:00
Eberhard Beilharz
6ad7440512
Merge pull request #14231 from keymanapp/refactor/linux/tcscripts
This change prefixes functions with `ba_` that are intended to be run on a Linux build agent. That should make it easier to distinguish them from functions that deal with building Keyman for Linux.
2025-06-30 08:55:46 +02:00
Eberhard Beilharz
df0fdf5963
Merge pull request #14223 from keymanapp/maint/developer/improve_scripts 2025-06-30 08:54:57 +02:00
Marc Durdin
90b7c34df8 maint(web): cleanup rsync call from bash for Windows agents and refactor
Refactors the Powershell script which built the .download_info file for
web into the keyman-web-release.sh script, and then bypasses the path
rewriting that msys does when calling a Windows executable (rsync).

This was tricky because msys was mangling all the paths to Windows-style
but we specifically need to reference one remote Unix-style path in the
rsync call. As we wanted to move away from the Powershell script anyway,
it was cleaner to resolve this in one go by moving the whole script to
bash.

The new tc-download-info.inc.sh script is a minimally generalized
version of the download_info writing from keyman-linux-release.sh, and
once the dust settles, it would be good to DRY this out.

Note that this is still Windows-only, despite the rest of the build
being basically platform-agnostic. I wanted to get this stable before we
generalize, which should be fairly straightforward, as it's only the
rsync call which will be touched.

Tested locally with a drop-in Windows executable that just prints its
arguments, to verify that path mangling is not occurring where we don't
want it. The DEBUG lines in keyman-web-release.sh will be removed once
we are confident this is correct.

Fixes: #14225
2025-06-29 10:13:22 +10:00
Keyman Server
7b0533a0d6
Merge pull request #14235 from keymanapp/auto/version-master-19.0.71
auto: increment master version to 19.0.71
2025-06-27 11:02:01 -07:00
Keyman Build Agent
c7895532ad auto: increment master version to 19.0.71 2025-06-27 14:01:32 -04:00
rc-swag
82649634e5 chore(windows): Merge branch 'master' into feat/windows/13918/human-readble-msg-413-err 2025-06-27 14:54:04 +10:00
Steven R. Loomis
5b22124be1
Merge pull request #14218 from keymanapp/chore/developer/14117/expand-the-x-in-context
chore(common,developer): expand 'x' to 'compileContext'
2025-06-26 16:34:52 -05:00
Steven R. Loomis
c8ab945348 chore(common): clarify docs on boxXmlArray
- not related to #14117 but mention o[x] instead of o.x in jsdocs
2025-06-26 15:58:47 -05:00
Steven R. Loomis
0a35181bed chore(developer): rename x: to compileContext:
Fixes: #14117
2025-06-26 15:58:43 -05:00
Steven R. Loomis
28ba904b37 chore(developer): rename ObjectWithMetadata to ObjectWithCompileContext
Fixes: #14117
2025-06-26 15:56:52 -05:00
Marc Durdin
a756a7d2e4
Merge pull request #14228 from keymanapp/template-details
docs(developer): Add details on Template choices
2025-06-27 03:39:03 +07:00
Eberhard Beilharz
399baddf23
refactor(linux): rename linux agent specific functions
This change prefixes functions with `ba_` that are intended to be run on
a Linux build agent. That should make it easier to distinguish them from
functions that deal with building Keyman for Linux.

Test-bot: skip
2025-06-25 20:13:09 +02:00
Keyman Server
3bd2272115
Merge pull request #14230 from keymanapp/auto/version-master-19.0.70
auto: increment master version to 19.0.70
2025-06-25 11:01:56 -07:00
Keyman Build Agent
3262946928 auto: increment master version to 19.0.70 2025-06-25 14:01:20 -04:00
DavidLRowe
9077e6a7b2
fix line lengths 2025-06-24 21:46:24 -08:00
DavidLRowe
5f20b2ff56
adjust spacing 2025-06-24 21:41:57 -08:00
DavidLRowe
61faff2057
Add details about Template choices 2025-06-24 21:40:03 -08:00
Marc Durdin
d3a38b93d0
Merge branch 'master' into maint/common/14149-7z-sevenz-seven-z 2025-06-25 10:05:24 +07:00
Marc Durdin
516eb79c01
Merge pull request #14204 from keymanapp/flick-longpress
chore: add tips and caution of gestures for Keyman Developer + update license + removal of span tag
2025-06-25 06:44:42 +07:00