Commit graph

1859 commits

Author SHA1 Message Date
Darcy Wong
c38f488986 chore(common): Update crowdin strings for Vietnamese 2025-10-09 11:40:18 +07:00
Darcy Wong
499e427b8e fix(android): Fallback to legacy calculation when not initialized 2025-10-08 15:23:33 +07:00
Darcy Wong
eda50b2232 chore(android): Remove unused insets 2025-10-07 14:11:09 +07:00
Darcy Wong
329125a1b1 fix(android): Separate bottom insets for in-app and system keyboard 2025-10-07 13:29:46 +07:00
Darcy Wong
0e2011eca8 chore(android): Cleanup code 2025-10-07 10:24:22 +07:00
Darcy Wong
295dfd9e92 test(android): Adjust system keyboard insets 2025-10-07 08:36:20 +07:00
Darcy Wong
5aee77d5a8 fix(android): Use a toggle for adjusting the navigation bar height 2025-10-06 11:05:24 +07:00
Darcy Wong
65a631b53d test(android): Experiment with insets 2025-10-04 09:43:49 +07:00
Darcy Wong
3249f75b40 fix(android): Use max of gesture and navigation bar height 2025-10-03 13:02:21 +07:00
Darcy Wong
942723dad8 chore(android): Cleanup missing change 2025-10-03 11:25:23 +07:00
Darcy Wong
dd6a1aaf00 fix(android): Revert to using systemBars() 2025-10-03 09:02:53 +07:00
Darcy Wong
c9cc466e09 fix(android): Don't assume landscape inset 0 2025-10-02 14:41:03 +07:00
Darcy Wong
6820718d44 fix(android): Check visibility flags to determine which insets used 2025-10-02 14:02:45 +07:00
Darcy Wong
f1ad3ec4d1 fix(android): Use gestureInsets dimension when visible 2025-10-02 07:29:42 +07:00
Darcy Wong
22f63ccfdd fix(android): Try to factor in gesture insets 2025-10-01 15:45:37 +07:00
Darcy Wong
f3d9b1a2ab fix(android): Update calculation of navigation bar 2025-10-01 14:19:22 +07:00
Darcy Wong
8af7803839 fix(android): Adjust top insets for the navigation bar inset 2025-09-25 10:39:06 +07:00
Darcy Wong
0a91f50fcc fix(android): Move setting system keyboard insets to KMManager 2025-09-24 13:05:34 +07:00
Darcy Wong
ddc994857d fix(android): Fix the alignment 2025-09-24 08:43:35 +07:00
Darcy Wong
aa886cecba fix(android): Separate insets for inapp and system keyboard 2025-09-23 17:07:48 +07:00
Darcy Wong
440f6c9c7e fix(android): Apply bottom insets to system keyboard
Reverts part of #14619
2025-09-23 08:26:31 +07:00
Darcy Wong
6b48078dc6 fix(android): Cleanup list layout so it's not covered by navigation bar 2025-09-01 10:32:33 +07:00
Darcy Wong
a992b98d47
Merge pull request #14619 from keymanapp/fix/android/osk-gap
fix(android): Fix insets for in-app vs system keyboard 🪟
2025-08-29 07:58:12 +07:00
Darcy Wong
aebb9270b3
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java 2025-08-29 07:50:21 +07:00
Joshua Horton
a194e02bfd
Merge pull request #14541 from keymanapp/fix/android/globalThis-polyfill
fix(android): polyfill globalThis for API 28 devices
2025-08-28 20:12:32 +07:00
Darcy Wong
a9a3c3ab25 fix(android): Check API level for getColor
CI build reports getColor requires API >= 23
2025-08-28 14:31:21 +07:00
Darcy Wong
dd43435a05 fix(android): Fix insets for in-app vs system keyboard 2025-08-28 13:30:16 +07:00
Darcy Wong
ca3c19441b fix(android): Update sentry-android to 8.19.1 2025-08-20 07:29:31 +07:00
Joshua Horton
a54e5a027a change(android): check globalThis before polyfill 2025-08-19 08:12:50 -05:00
Marc Durdin
81c807c257 chore(common): Merge branch 'master' into maint/common/14453-move-ci-scripts 2025-08-19 10:46:11 +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
Darcy Wong
eaec803701
Merge branch 'master' into fix/android/edge-to-edge-activities 2025-08-18 14:14:54 +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
5e62747cf1
Merge branch 'master' into main/android/taregt-api-35 2025-08-12 15:36:25 +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
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
476ee0a18e
Merge pull request #14472 from keymanapp/fix/android/init-keyboard-order
fix(android): Get default sizes before initializing keyboard
2025-08-08 07:44:36 +07:00
Darcy Wong
fddbba52e1 fix(android): Get default sizes before initializing keyboard 2025-08-07 07:18:48 +07:00
Darcy Wong
afd4256ce6 chore(common): Update Crowdin strings for Spanish 2025-08-06 11:36:52 +07:00
Darcy Wong
9f92f44e8b fix(android): Update other activities for edge to edge 2025-08-06 11:30:13 +07:00
Darcy Wong
2b16ecbb67 fix(android): Incorporate KAB mods
This brings in some of the changes the Keyboard App builder team  did to integrate with Keyman Engine for Android 18.0 and supporting edge to edge
2025-08-06 09:26:40 +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
16c9bfc90d fix(android): Handle when navigation bar is left/right of screen 2025-07-31 10:39:32 +07:00
Darcy Wong
b7eb61815c fix(android): Fix insets 2025-07-31 09:55:56 +07:00
Darcy Wong
3b91f09074 fix(android): Add API check for changing colors 2025-07-30 14:32:40 +07:00
Darcy Wong
85986dd6d8 fix(android): Convert to ConstraintLayout and apply insets
Using Android Studio's tool to convert the top level RelativeLayout to ConstraintLayout. This way, the edge-to-edge doesn't cover up the top and bottom portions of the app.

Also apply insets so app and keyboard fit in usable areas.
2025-07-30 14:12:03 +07:00