Skip to content

Commit

Permalink
chore: Merge branch 'master' into chore/merge-beta-into-master
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdurdin committed May 15, 2024
2 parents 9c273cf + 2e7e948 commit 1643c1d
Show file tree
Hide file tree
Showing 241 changed files with 23,869 additions and 11,483 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-binary-packages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
path: artifacts/keyman-srcpkg

- name: Build
uses: sillsdev/gha-ubuntu-packaging@1f4b7e7eacb8c82a4d874ee2c371b9bfef7e16ea # v1.0
uses: sillsdev/gha-ubuntu-packaging@7b56f50d5d5537e9e9cafd3f6139ec6da69cfcda # v1.1
with:
dist: "${{ inputs.dist }}"
platform: "${{ inputs.arch }}"
Expand Down
32 changes: 23 additions & 9 deletions .github/workflows/deb-packaging.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Ubuntu packaging"
run-name: "Ubuntu packaging - ${{ github.event.client_payload.branch }} (branch ${{ github.event.client_payload.baseBranch }}), by @${{ github.event.client_payload.user }}"
run-name: "Ubuntu packaging - ${{ github.event.client_payload.branch }} (branch ${{ github.event.client_payload.baseBranch }}), by @${{ github.event.client_payload.user }}, testbuild: ${{ github.event.client_payload.isTestBuild }}"
on:
repository_dispatch:
types: ['deb-release-packaging:*', 'deb-pr-packaging:*']
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
PRERELEASE_TAG: ${{ steps.prerelease_tag.outputs.PRERELEASE_TAG }}
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
with:
ref: '${{ github.event.client_payload.buildSha }}'

Expand Down Expand Up @@ -112,13 +112,19 @@ jobs:
binary_packages_released:
name: Build binary packages for released versions
needs: sourcepackage
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
dist: [focal, jammy, mantic]
dist: [focal, jammy, mantic, noble]

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
with:
ref: '${{ github.event.client_payload.buildSha }}'
sparse-checkout: '.github/actions/'

- name: Build
uses: ./.github/actions/build-binary-packages
with:
Expand All @@ -131,15 +137,21 @@ jobs:
binary_packages_unreleased:
name: Build binary packages for next Ubuntu version
needs: sourcepackage
continue-on-error: true
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
dist: [noble]
dist: [oracular]

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
with:
ref: '${{ github.event.client_payload.buildSha }}'
sparse-checkout: '.github/actions/'

- name: Build
continue-on-error: true
uses: ./.github/actions/build-binary-packages
with:
dist: ${{ matrix.dist }}
Expand Down Expand Up @@ -182,7 +194,7 @@ jobs:
needs: [sourcepackage, binary_packages_released, binary_packages_unreleased]
runs-on: ubuntu-latest
environment: "deploy (linux)"
if: github.event.client_payload.isTestBuild == 'false'
if: ${{always() && needs.sourcepackage.result == 'success' && needs.binary_packages_released.result == 'success' && github.event.client_payload.isTestBuild == 'false'}}

steps:
- name: Sign packages
Expand Down Expand Up @@ -305,7 +317,9 @@ jobs:
- name: Verify API
run: |
cd linux
PKG_NAME=libkeymancore
# Extract line containing "Package: libkeymancore1" and then strip "Package: "
PKG_NAME=$(grep -E 'Package: libkeymancore([0-9]+|$)' debian/control)
PKG_NAME="${PKG_NAME#Package: }"
./scripts/deb-packaging.sh \
--gha \
--bin-pkg "${GITHUB_WORKSPACE}/artifacts/${PKG_NAME}_${{ needs.sourcepackage.outputs.VERSION }}-1${{ needs.sourcepackage.outputs.PRERELEASE_TAG }}+jammy1_amd64.deb" \
Expand Down
160 changes: 158 additions & 2 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,160 @@
# Keyman Version History

## 18.0.35 alpha 2024-05-14

* (#11340)

## 18.0.34 alpha 2024-05-13

* feat(windows): Don't install desktop shortcut for Keyman for windows on installation (#11401)
* feat(common): improve builder parameter passing for child and dep builds (#11410)
* chore: merge 17.0 beta into master A17S2 (#11431)
* chore(android): Update dependencies (#11393)

## 18.0.33 alpha 2024-05-10

* chore(common): Merge beta to master for Sprint A18S1 (part 2) (#11413)

## 18.0.32 alpha 2024-05-09

* chore(common): Add `minimum-versions.inc.sh` (#11380)
* chore(core): km_core_cp -> km_core_cu (#11341)

## 18.0.31 alpha 2024-05-08

* fix(windows): "Keyboard" should be lower case in UI string for font helper tool (#11392)

## 18.0.30 alpha 2024-05-07

* chore(web): Improve dependencies (#11377)
* test(developer) keyboard info compiler unit tests 3 (#11255)

## 18.0.29 alpha 2024-05-06

* chore(web): Improve web/test.sh script (#11355)
* chore(linux): Fix typo (#11356)

## 18.0.28 alpha 2024-05-04

* chore(common): maintenance on build scripts - cd (#11329)

## 18.0.27 alpha 2024-05-03

* chore(linux): Adjust distros for GHA (#11333)
* fix(common): Fix colorization of help output of builder script (#11336)

## 18.0.26 alpha 2024-05-02

* chore: merge beta into master A18S1 (#11332)

## 18.0.25 alpha 2024-04-30

* fix(linux): Improve detection of Gnome environment (#11292)

## 18.0.24 alpha 2024-04-29

* fix(common): Retry curl downloads up to 5 times (#11314)

## 18.0.23 alpha 2024-04-26

* chore(common): Merge beta to master for Sprint B17S6 (part 2) (#11305)
* fix(web): Fix layout for subkey menus with unusually-sized keys (#11266)

## 18.0.22 alpha 2024-04-25

* chore(linux): Install python3-dev (#11296)

## 18.0.21 alpha 2024-04-24

* chore: merge beta into master B17S6 (#11291)

## 18.0.20 alpha 2024-04-19

* chore(deps): bump tar from 6.1.13 to 6.2.1 (#11211)

## 18.0.19 alpha 2024-04-15

* chore(linux): Fix wrong merge (#11224)

## 18.0.18 alpha 2024-04-12

* chore(common): Merge beta to master for Sprint B17S5 (#11217)

## 18.0.17 alpha 2024-04-05

* chore(linux): Show failed job for next Ubuntu version as failed (#11168)

## 18.0.16 alpha 2024-04-04

* chore(linux): Revert "Ignore failed package builds differently" (#11157)
* chore(linux): Sign packages even if build for next Ubuntu fails (#11163)

## 18.0.15 alpha 2024-04-03

* chore(linux): Build packages for next Ubuntu version separately (#11145)
* chore(linux): Fix typo in path of `build-binary-packages` action (#11154)
* chore(linux): More fixes for workaround for failing linux builds (#11156)

## 18.0.14 alpha 2024-04-02

* chore(linux): Update debian changelog (#11097)

## 18.0.13 alpha 2024-03-29

* chore(deps): bump express from 4.17.3 to 4.19.2 (#11103)

## 18.0.12 alpha 2024-03-28

* chore(common): Merge beta to master for Sprint B17S4 (#11105)

## 18.0.11 alpha 2024-03-20

* chore(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6 (#11010)

## 18.0.10 alpha 2024-03-16

* chore: Merge beta to master for Sprint B17S3 (#11008)

## 18.0.9 alpha 2024-03-05

* chore: B17S2 merge beta to master (#10909)

## 18.0.8 alpha 2024-03-04

* chore(linux): Update debian changelog (#10898)

## 18.0.7 alpha 2024-02-29

* chore: Merge 17.0.270 beta back to master (#10886)

## 18.0.6 alpha 2024-02-27

* chore(linux): Temporarily disable autopkgtests gha (#10853)
* chore(linux): Update debian changelog (#10827)

## 18.0.5 alpha 2024-02-26

* fix(linux): Dynamically get package name (#10826)
* chore(linux): Add running autopkgtests on GHA (#10823)
* fix(linux): Fix autopkgtest gha (#10849)

## 18.0.4 alpha 2024-02-23

* chore(linux): Update debian changelog (#10786)

## 18.0.3 alpha 2024-02-21

* chore(deps): bump ip from 2.0.0 to 2.0.1 (#10792)

## 18.0.2 alpha 2024-02-20

* chore(linux): Add testbuild info to workflow title (#10771)

## 18.0.1 alpha 2024-02-15

* chore(common): move to 18.0 alpha (#10713)
* chore: move to 18.0 alpha

## 17.0.323 beta 2024-05-13

* chore(windows): Update crowdin string for Khmer (#11409)
Expand All @@ -9,7 +164,7 @@

## 17.0.322 beta 2024-05-10

* (#11385)
* fix(web): fixes illegal KMW event state - can't focus a null element (#11385)

## 17.0.321 beta 2024-05-09

Expand Down Expand Up @@ -152,7 +307,7 @@
* change(web): input-event sequentialization (#10843)
* fix(web): proper linkage of sources to events (#10960)
* fix(developer): handle buffer boundaries in four cases (#11137)
* chore(linux): Build packages for next Ubuntu version separately (#11153)
* chore(linux): Build packages for next Ubuntu version separately (#11153)
* fix(common): upgrade sentry-cli to 2.31.0 (#11151)
* fix(android/app): Track previous device orientation for SystemKeyboard (#11134)
* change(web): reworks nearest-key detection to avoid layout reflow (#11129)
Expand Down Expand Up @@ -189,6 +344,7 @@
* feat(developer/compilers): better unit test for suggestion accessibility (#11085)
* fix(core): fix pointer math in actions_normalize() (#11101)


## 17.0.296 beta 2024-03-27

* fix(developer): in model compiler, give correct key to shorter prefix words when a longer, higher-frequency word is also present (#11074)
Expand Down
2 changes: 1 addition & 1 deletion TIER.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
stable
alpha
2 changes: 1 addition & 1 deletion VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17.0.324
18.0.36
4 changes: 2 additions & 2 deletions android/KMAPro/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.0'
classpath 'com.android.tools.build:gradle:7.4.2'
// sentry-android-gradle-plugin 2.1.5+ requires AGP 7.0
classpath 'io.sentry:sentry-android-gradle-plugin:2.1.2'
classpath 'io.sentry:sentry-android-gradle-plugin:4.5.1'
classpath 'name.remal:gradle-plugins:1.5.0'

// From jcenter() which could be sunset in future
Expand Down
9 changes: 1 addition & 8 deletions android/KMAPro/build.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
#!/usr/bin/env bash
# Build Keyman for Android app (KMAPro)

# set -x
set -eu

## START STANDARD BUILD SCRIPT INCLUDE
# adjust relative paths as necessary
THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
. "${THIS_SCRIPT%/*}/../../resources/build/build-utils.sh"
. "${THIS_SCRIPT%/*}/../../resources/build/builder.inc.sh"
## END STANDARD BUILD SCRIPT INCLUDE

. "$KEYMAN_ROOT/resources/shellHelperFunctions.sh"
. "$KEYMAN_ROOT/resources/build/build-help.inc.sh"
. "$KEYMAN_ROOT/resources/build/build-download-resources.sh"

# This script runs from its own folder
cd "$THIS_SCRIPT_PATH"

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

# Definition of global compile constants
Expand Down
2 changes: 1 addition & 1 deletion android/KMAPro/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
10 changes: 5 additions & 5 deletions android/KMAPro/kMAPro/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'com.android.application'
id 'io.sentry.android.gradle'
// https://github.com/Triple-T/gradle-play-publisher/issues/947#issuecomment-843634852
id 'com.github.triplet.play' version '3.8.1' apply false
id 'com.github.triplet.play' version '3.9.1' apply false
id 'name.remal.default-plugins'
}

Expand Down Expand Up @@ -150,12 +150,12 @@ repositories {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.6.0-rc01'
implementation 'com.google.android.material:material:1.6.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.12.0'
implementation 'com.stepstone.stepper:material-stepper:4.3.1'
api(name: 'keyman-engine', ext: 'aar')
implementation 'io.sentry:sentry-android:6.9.2'
implementation 'androidx.preference:preference:1.2.0'
implementation 'io.sentry:sentry-android:7.8.0'
implementation 'androidx.preference:preference:1.2.1'
implementation "com.android.installreferrer:installreferrer:2.2"

// Add dependency for generating QR Codes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ public void onClick(DialogInterface dialog, int which) {

@Override
public void onBackPressed() {
super.onBackPressed();
finish();
overridePendingTransition(0, android.R.anim.fade_out);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public boolean onSupportNavigateUp() {

@Override
public void onBackPressed() {
super.onBackPressed();
finish();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public boolean onSupportNavigateUp() {

@Override
public void onBackPressed() {
super.onBackPressed();
finish();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ protected void onNewIntent(Intent intent) {

@Override
public void onBackPressed() {
super.onBackPressed();
finish();
overridePendingTransition(0, android.R.anim.fade_out);
}
Expand Down
Loading

0 comments on commit 1643c1d

Please sign in to comment.