Skip to content

Commit

Permalink
Merge branch 'master' into feat/developer/kmc-generate
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdurdin authored Sep 12, 2024
2 parents 178325c + 6b0d8dd commit 8424cb9
Show file tree
Hide file tree
Showing 179 changed files with 5,649 additions and 538 deletions.
6 changes: 2 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ common/:
- common/**
- resources/**

common/models/: common/models/**
common/models/types/: common/models/types/**
common/models/templates/: common/models/templates/**
common/models/wordbreakers/: common/models/wordbreakers/**
common/models/templates/: web/src/engine/predictive-text/templates/**
common/models/wordbreakers/: web/src/engine/predictive-text/wordbreakers/**

common/resources/: resources/**
common/web/: common/web/**
Expand Down
42 changes: 42 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Keyman Version History

## 18.0.109 alpha 2024-09-11

* chore(common): Update history with 17.0.329 stable (#12394)
* refactor(web): move `model/templates` to `web/src/engine/predictive/text` (#12382)
* refactor(web): move `common/models` to `web/src/engine/predictive-text` (#12383)
* refactor(web): move `common/web/utils` to `web/src/engine/common/web-utils/` (#12384)

## 18.0.108 alpha 2024-09-10

* docs(android): Update help docs (#12367)
* fix(developer): fix building with Ubuntu 24.04 (#12379)
* refactor(android): Move build-publish.sh to builder script (#12351)
* fix(android): Separate `publishSentry` Gradle task to publish symbols to Sentry (#12358)
* refactor(web): move `model/types` to `web/types` (#12370)

## 18.0.107 alpha 2024-09-09

* fix(android): Update Text Size menu icons for RTL support (#12290)

## 18.0.106 alpha 2024-09-06

* feat(windows): add right modifier included in hotkey optional functionality (#12259)
Expand Down Expand Up @@ -759,6 +778,29 @@
* chore(common): move to 18.0 alpha (#10713)
* chore: move to 18.0 alpha

## 17.0.329 stable 2024-09-09

* chore(android,ios): Add ojibwa ifinal/rdot keyboards to FirstVoices (#12020)
* change(web): revert #11174, which loads keyboards before initializing the OSK (#12040)
* fix(web): unrevert #11258, leaving OSK hidden before instructed to display (#12058)
* chore(common): use `nvm` to select version of node for builds (#12074)
* fix(developer): ignore scan code if zero in debugger (#12182)
* fix(developer): enforce presence of Version field when FollowKeyboardVersion is not set, in package compiler (#12206)
* fix(developer): enforce presence of kps Info.Description field in info compilers (#12207)
* fix(web): disable fat-finger data use when mayCorrect = false (#12226)
* chore(common): allow build agents to automatically select emsdk version, and enable support for 3.1.60+ (#12245)
* fix(web): fix documentation-keyboard spacebar-text scaling (#12240)
* fix(core): set mac build version for meson cli build to 10.13 (#12246)
* change(ios): defer registration of fonts past initialization (#12241)
* chore(android,ios): Update FirstVoices keyboards to 12.15 (#12301)
* fix(core): properly support 'other' modifier state with `uint32_t` type (#12285)
* fix(developer): find last matching key in LDML key bag when building KVK (#12284)
* fix(android): check in material-stepper as internal Maven dependency (#12324)
* fix(linux): add `keymanFacename` to .ldml file (#12283)
* chore(oem/fv): Update to fv_all 13.0 (#12363)
* fix(mac): avoid crash on startup with macOS 10.15 (Catalina) (#12364)
* fix(android): skip language counts for lexical-model packages (#12368)

## 17.0.328 stable 2024-07-27

* fix(web): add nullish test in setOsk (#12041)
Expand Down
2 changes: 1 addition & 1 deletion VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.0.107
18.0.110
13 changes: 13 additions & 0 deletions android/KMAPro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
. "$KEYMAN_ROOT/resources/build/build-help.inc.sh"
. "$KEYMAN_ROOT/resources/build/build-download-resources.sh"

. "$KEYMAN_ROOT/android/KMAPro/build-play-store-notes.inc.sh"

# ################################ Main script ################################

# Definition of global compile constants
Expand All @@ -25,6 +27,7 @@ builder_describe "Builds Keyman for Android app." \
"configure" \
"build" \
"test Runs lint and unit tests." \
"publish Publishes symbols to Sentry and the APK to the Play Store." \
"--ci Don't start the Gradle daemon. For CI" \
"--upload-sentry Upload to sentry"

Expand Down Expand Up @@ -109,3 +112,13 @@ if builder_start_action test; then

builder_finish_action success test
fi

if builder_start_action publish; then
# Copy Release Notes
generateReleaseNotes

# Publish symbols and Keyman for Android to Play Store
./gradlew $DAEMON_FLAG publishSentry publishReleaseApk

builder_finish_action success publish
fi
17 changes: 11 additions & 6 deletions android/KMAPro/kMAPro/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,17 @@ android {
}

// how to configure the sentry android gradle plugin
sentry {
// Disables or enables the automatic configuration of Native symbols
uploadNativeSymbols = true

// Does or doesn't include the source code of native code for Sentry
includeNativeSources = true
task publishSentry {
doLast {
println 'Publishing Keyman symbols to Sentry'
sentry {
// Disables or enables the automatic configuration of Native symbols
uploadNativeSymbols = true

// Does or doesn't include the source code of native code for Sentry
includeNativeSources = true
}
}
}

String env_keys_json_file = System.getenv("keys_json_file")
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">

<path android:fillColor="@android:color/white" android:pathData="M0.99,19h2.42l1.27,-3.58h5.65L11.59,19h2.42L8.75,5h-2.5L0.99,19zM5.41,13.39L7.44,7.6h0.12l2.03,5.79H5.41zM23,11v2h-8v-2H23z"/>

</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="48dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="48dp">

<path android:fillColor="@android:color/white" android:pathData="M0.99,19h2.42l1.27,-3.58h5.65L11.59,19h2.42L8.75,5h-2.5L0.99,19zM5.41,13.39L7.44,7.6h0.12l2.03,5.79H5.41zM20,11h3v2h-3v3h-2v-3h-3v-2h3V8h2V11z"/>

</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:contentDescription="@string/ic_text_size_down"
android:src="@drawable/ic_action_decrement" />
android:src="@drawable/textsize_decrease" />

<SeekBar
android:id="@+id/seekBar"
Expand All @@ -32,6 +32,6 @@
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:contentDescription="@string/ic_text_size_up"
android:src="@drawable/ic_action_increment" />
android:src="@drawable/textsize_increase" />

</LinearLayout>
87 changes: 0 additions & 87 deletions android/build-publish.sh

This file was deleted.

2 changes: 1 addition & 1 deletion android/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ builder_describe \
configure \
build \
test \
"publish Publishes the APKs to the Play Store." \
"publish Publishes symbols to Sentry and the APKs to the Play Store." \
--ci+ \
--upload-sentry+ \
":engine=KMEA Keyman Engine for Android" \
Expand Down
2 changes: 1 addition & 1 deletion android/help/about/privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Keyman does not use user accounts, so we are unable to identify which crash repo

### Developer Information

Keyman is developed and published by SIL International.
Keyman is developed and published by SIL Global.

You can contact SIL or provide any feedback using the app store.

Expand Down
4 changes: 4 additions & 0 deletions android/help/about/whatsnew.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ title: What's New
---

Here are some of the new features we have added to Keyman 18.0 for Android:

* New menu to adjust longpress delay time (#12170, #12185)
* Support localizations for right-to-left languages (#12215)
* Handle additional actions for ENTER key (#12125, #12315)
2 changes: 1 addition & 1 deletion android/help/basic/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Click on this to [adjust the keyboard height](adjust-keyboard-height).
## Adjust longpress delay
![](../../android_images/ic_timelapse.png)

Click on this to adjust the delay time for a longpress gesture.
Click on this to [adjust the delay time](adjust-longpress-delay) for a longpress gesture.

## Spacebar Caption
Click on this to [change the displayed keyboard name](spacebar-caption) on the spacebar.
Expand Down
12 changes: 0 additions & 12 deletions common/models/tsconfig.kmw-worker-base.json

This file was deleted.

1 change: 0 additions & 1 deletion common/models/types/.build-builder

This file was deleted.

5 changes: 0 additions & 5 deletions common/models/types/.gitignore

This file was deleted.

68 changes: 0 additions & 68 deletions common/models/types/README.md

This file was deleted.

Loading

0 comments on commit 8424cb9

Please sign in to comment.