Commit graph

124 commits

Author SHA1 Message Date
Darcy Wong
3872f57cbf fix(common): Update references to test9469 keyboard 2025-10-30 13:03:09 +07:00
Darcy Wong
5bf5a5941f chore(common): Move platformtest to common/test/keyboards 2025-10-28 07:18:49 +07:00
Darcy Wong
5fa0dccbcb chore(android): Update keyboard harness reference to chirality.js 2025-10-22 06:54:01 +07:00
Darcy Wong
e5291fc90b fix(android): Remove flatDir from other Gradle files 2025-08-22 09:08:34 +07:00
Darcy Wong
77b56c5018 maint(android): Cleanup builder_describe_outputs for configure action 2025-08-20 12:49:42 +07:00
Marc Durdin
81c807c257 chore(common): Merge branch 'master' into maint/common/14453-move-ci-scripts 2025-08-19 10:46:11 +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
1a3d08bcb5 fix(android): Don't register model on KeyboardHarness app 2025-08-13 10:10:59 +07:00
Marc Durdin
a81138c62b
Merge pull request #14449 from keymanapp/maint/common/14065-consolidate-builder-scripts
maint(common): consolidate builder scripts 🐸
2025-08-12 10:41:09 +07:00
Marc Durdin
f95b26ac1f
Merge pull request #14446 from keymanapp/maint/common/14275-rename-and-cleanup-shellHelperFunctions.sh
maint(common): rename shellHelperFunctions.sh to utils.inc.sh 🐸
2025-08-12 10:40:59 +07:00
Darcy Wong
827127d2e0
Merge pull request #14491 from keymanapp/chore/android/java-21-features
chore(android): Specify Java language version 21
2025-08-12 08:02:00 +07:00
Darcy Wong
3ceccfc054 chore(android): Specify Java language version 21
Resolves Gradle deprecation and language version warnings
```gradle
Java compiler version 21 has deprecated support for compiling with source/target version 8.
```

The `java.toolchain.languageVersion` syntax is a superset that covers the previous syntax `android.compileOptions`
2025-08-11 11:44:51 +07:00
Darcy Wong
1a1787c2b0 chore(android): Use API 35 2025-08-08 08:21:55 +07:00
Darcy Wong
0992061c41 fix(android): Update Sample and Test apps to edge-to-edge 2025-08-07 13:38:24 +07:00
Marc Durdin
f3fb3ac87b maint(common): move build-utils-ci.inc.sh to ci/ci-publish.inc.sh
Removes a number of unused functions from the file, renames remaining
functions to match our builder script prefix patterns, removes unused
imports from various build scripts (e.g. Android).

Fixes: #14453
2025-08-05 12:54:56 +10:00
Marc Durdin
f394245636 maint(common): consolidate builder scripts
Clarifies the confusing builder.inc.sh / build-utils.sh distinction by
giving the scripts more appropriate names. Most build scripts should use
builder-full.inc.sh; some helper scripts can use builder-basic.inc.sh.
Documented in resources/build/README.md.

Renames:
* resources/build/builder.inc.sh to resources/build/builder-full.inc.sh
* resources/build/build-utils.sh to resources/build/builder-basic.inc.sh

Other changes:
* Moves Android-specific functions out of builder-basic.inc.sh and into
  android/build.sh.
* Renames functions in builder-basic.inc.sh

More functions may be moved from builder-basic.inc.sh into utils.inc.sh
or other scripts in the future.

Fixes: #14065
Build-bot: build all
Test-bot: skip
2025-08-02 08:11:24 +10:00
Marc Durdin
65158a0526 maint(common): rename shellHelperFunctions.sh to utils.inc.sh
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.

Fixes: #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
2025-08-02 06:58:40 +10:00
Darcy Wong
d694ab0889 fix(android): Update compileSdk to 35 2025-07-29 10:07:18 +07:00
Darcy Wong
ed7c0caf9d maint(android): Update Android Target API to 35 2025-07-24 08:04:50 +07:00
Darcy Wong
eedfcf2f0e chore: Merge remote-tracking branch 'origin/master' 2025-05-13 07:05:25 +07:00
Darcy Wong
3990ab45db maint(android): Update Java and Gradle for KeyboardHarness 2025-05-09 09:33:00 +07:00
Eberhard Beilharz
4d81589f48
maint(common): use unique names for Keyman version variables
Previously the builder scripts defined a readonly `VERSION` environment
variable for the Keyman version. That caused problems when another
(external) script tried to define a `VERSION` variable. We encountered
this problem when trying to move the TC build steps of a configuration
into a single script (#13399) when we tried to source `~/.nvm/nvm.sh`.

This change uses a Keyman specific prefix for the version variables and
renames `VERSION` → `KEYMAN_VERSION` etc. Unfortunately these variables
are used in a lot of places, so this turned out to be a bit of a yak
shave.

Test-bot: skip
2025-05-07 18:46:51 +02:00
Darcy Wong
b9f1f51a33 chore(android): Use builder_is_ci_build rather than --ci flag 2025-04-28 10:42:52 +07:00
Darcy Wong
072aa7d21f chore(android): update Gradle wrapper version 2024-05-14 13:55:52 +07:00
Darcy Wong
0c955acb72 chore(android/samples): Update dependencies 2024-05-08 08:22:47 +07:00
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Darcy Wong
c79487f706 test(android/samples): Add special characters to keyboard harness kmp 2024-04-22 16:37:42 +07:00
Darcy Wong
fdb14f2582 chore(android): Update targetSdkVersion to 34 2024-01-16 09:26:24 +07:00
Darcy Wong
c93269a21d chore(android): Clenaup keyboard harness package 2023-09-29 09:08:09 +07:00
Darcy Wong
ffd428da21 chore(android): Update test keyboard again 2023-09-28 21:36:00 +07:00
Darcy Wong
2d8013360f chore(android): Update test9469 to use ZWNJGeneric 2023-09-28 15:36:04 +07:00
Darcy Wong
70a204131f chore(web,android): Update test9469 keyboard 2023-09-27 06:10:46 +07:00
Darcy Wong
dbd03aa320 chore(android): Update test harness keyboard 2023-09-11 08:25:48 +07:00
Darcy Wong
059c233b6a test(web): Add special characters to shift layer 2023-08-18 14:30:22 +07:00
Joshua Horton
2ac8a4503b
Merge branch 'master' into feature-esmodule-web-engine 2023-06-26 09:09:43 +07:00
Darcy Wong
89fde7a447 fix(android/samples): Cleanup Sample/Tests apk's 2023-06-16 07:39:41 -05:00
Joshua A. Horton
289a11c629 chore(web): Merge branch 'fix/web/webview-android-launch' into refactor/web/legacy-web-events 2023-05-02 16:04:15 +07:00
Darcy Wong
8d296568ce chore(android): Move namespace to gradle files 2023-04-25 14:39:15 +07:00
Joshua A. Horton
5f07d34bc0 fix(web): final patches for hand-written chirality keyboard 2023-04-21 09:14:49 +07:00
Joshua A. Horton
1f3887a8b0 fix(web): more chirality bootstrapping-keyboard fixes 2023-04-19 12:32:15 +07:00
Joshua A. Horton
4e75235643 fix(android): updates KeyboardHarness chirality kbd 2023-04-19 10:58:28 +07:00
Darcy Wong
cd2d2b794b fix(android): Move cp from configure to build actions 2023-03-31 13:22:28 +07:00
Darcy Wong
ff6d5dbd44 chore(android): Update Android projects for Java 11 2023-03-29 09:46:27 +07:00
Darcy Wong
9948407ee9 chore(android): Update gradle-wrapper to 7.5.1 2023-03-29 09:46:27 +07:00
Darcy Wong
30859f8d2c chore(android/samples): Add todo comments for builder tests 2023-03-16 09:27:59 +07:00
Darcy Wong
3d57f17c83 fix(android/samples): Define empty builder test steps 2023-03-16 09:20:31 +07:00
Darcy Wong
1a8d047ba1
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-13 11:13:14 +07:00
Darcy Wong
78adb337a1 refactor(android): Use builder_is_debug_build 2023-03-08 09:57:36 +07:00
Darcy Wong
55349e32cf fix(android): Have top level builder handle cleaning up upload 2023-03-03 13:21:16 +07:00