Skip to content

Commit 34d121e

Browse files
authored
Release 1.4.0 (#1923)
2 parents 19293a4 + ace035c commit 34d121e

File tree

1,222 files changed

+29567
-230630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,222 files changed

+29567
-230630
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
test-data/** filter=lfs diff=lfs merge=lfs -text
2+
font/** filter=lfs diff=lfs merge=lfs -text

.github/ISSUE_TEMPLATE/bug_report_form.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ body:
4949
label: Found in Version
5050
description: Which version of alphaTab are you using?
5151
options:
52-
- 1.3-alpha
52+
- 1.4 (alpha)
53+
- 1.3
5354
- 1.2
54-
- 1.1
55-
- 1.0
5655
- Other
5756
validations:
5857
required: true

.github/pull_request_template.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ Fixes #
88
### Checklist
99
- [ ] I consent that this change becomes part of alphaTab under it's current or any future open source license
1010
- [ ] Changes are implemented
11-
- [ ] Existing builds tests pass
12-
- [ ] New tests were added
11+
- [ ] New tests were added <!-- if not test were added explain why, we typically expect new tests for PRs -->
1312

1413
## Further details
1514
- [ ] This is a breaking change

.github/workflows/build.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ on:
1010
jobs:
1111
build_web:
1212
name: Build and Test Web
13-
runs-on: windows-latest
13+
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16+
with:
17+
lfs: true
1618
- uses: actions/setup-node@v4
1719
with:
1820
node-version: 'lts/*'
@@ -22,9 +24,11 @@ jobs:
2224

2325
build_csharp:
2426
name: Build and Test C#
25-
runs-on: windows-latest
27+
runs-on: ubuntu-latest
2628
steps:
2729
- uses: actions/checkout@v4
30+
with:
31+
lfs: true
2832
- uses: actions/setup-node@v4
2933
with:
3034
node-version: 'lts/*'
@@ -37,9 +41,20 @@ jobs:
3741

3842
build_kotlin:
3943
name: Build and Test Kotlin
40-
runs-on: windows-latest
44+
runs-on: ubuntu-latest
45+
env:
46+
OSSRH_USERNAME: ${{secrets.OSSRH_USERNAME}}
47+
OSSRH_PASSWORD: ${{secrets.OSSRH_PASSWORD}}
48+
OSSRH_USERTOKEN_USERNAME: ${{secrets.OSSRH_USERTOKEN_USERNAME}}
49+
OSSRH_USERTOKEN_PASSWORD: ${{secrets.OSSRH_USERTOKEN_PASSWORD}}
50+
SONATYPE_STAGING_PROFILE_ID: ${{secrets.SONATYPE_STAGING_PROFILE_ID}}
51+
SONATYPE_SIGNING_KEY_ID: ${{secrets.SONATYPE_SIGNING_KEY_ID}}
52+
SONATYPE_SIGNING_PASSWORD: ${{secrets.SONATYPE_SIGNING_PASSWORD}}
53+
SONATYPE_SIGNING_KEY: ${{secrets.SONATYPE_SIGNING_KEY}}
4154
steps:
4255
- uses: actions/checkout@v4
56+
with:
57+
lfs: true
4358
- uses: actions/setup-node@v4
4459
with:
4560
node-version: 'lts/*'
@@ -52,9 +67,9 @@ jobs:
5267
path: |
5368
~/.gradle/caches
5469
~/.gradle/wrapper
55-
key: ${{ runner.os }}-gradle-cache-v3-${{ github.job }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
70+
key: ${{ runner.os }}-gradle-cache-v5-${{ github.job }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
5671
restore-keys: |
57-
${{ runner.os }}-gradle-cache-v3-${{ github.job }}-
72+
${{ runner.os }}-gradle-cache-v5-${{ github.job }}-
5873
- run: npm install
5974
- run: npm run build-kotlin
6075
- run: npm run test-kotlin

.github/workflows/publish.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,18 @@ jobs:
2424
name: Web
2525
needs: check_sha
2626
if: needs.check_sha.outputs.hit == 'false'
27-
runs-on: windows-latest
27+
runs-on: ubuntu-latest
2828
steps:
2929
- uses: actions/checkout@v4
30-
30+
with:
31+
lfs: true
3132
- uses: actions/setup-node@v4
3233
with:
3334
node-version: 'lts/*'
3435
cache: 'npm'
3536

36-
- run: npm install
3737
- run: node ./scripts/update-version.js alpha ${{github.run_number}}
38+
- run: npm install
3839
- run: npm run build
3940
- run: npm pack
4041

@@ -51,10 +52,11 @@ jobs:
5152
name: C#
5253
needs: check_sha
5354
if: needs.check_sha.outputs.hit == 'false'
54-
runs-on: windows-latest
55+
runs-on: ubuntu-latest
5556
steps:
5657
- uses: actions/checkout@v4
57-
58+
with:
59+
lfs: true
5860
- uses: actions/setup-node@v4
5961
with:
6062
node-version: 'lts/*'
@@ -68,24 +70,24 @@ jobs:
6870
- run: node ./scripts/update-csharp-version.js alpha ${{github.run_number}}
6971
- run: npm run build-csharp
7072

71-
- run: dotnet nuget push src.csharp\AlphaTab\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
72-
- run: dotnet nuget push src.csharp\AlphaTab.Windows\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
73+
- run: dotnet nuget push src.csharp/AlphaTab/bin/Release/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
74+
- run: dotnet nuget push src.csharp/AlphaTab.Windows/bin/Release/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
7375

7476
nightly_kotlin_android:
7577
name: Kotlin (Android)
7678
needs: check_sha
7779
if: needs.check_sha.outputs.hit == 'false'
78-
runs-on: windows-latest
80+
runs-on: ubuntu-latest
7981
env:
80-
OSSRH_USERNAME: ${{secrets.OSSRH_USERNAME}}
81-
OSSRH_PASSWORD: ${{secrets.OSSRH_PASSWORD}}
82-
SONATYPE_STAGING_PROFILE_ID: ${{secrets.SONATYPE_STAGING_PROFILE_ID}}
83-
SONATYPE_SIGNING_KEY_ID: ${{secrets.SONATYPE_SIGNING_KEY_ID}}
84-
SONATYPE_SIGNING_PASSWORD: ${{secrets.SONATYPE_SIGNING_PASSWORD}}
85-
SONATYPE_SIGNING_KEY: ${{secrets.SONATYPE_SIGNING_KEY}}
82+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{secrets.OSSRH_USERTOKEN_USERNAME}}
83+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{secrets.OSSRH_USERTOKEN_PASSWORD}}
84+
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{secrets.SONATYPE_SIGNING_KEY_ID}}
85+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{secrets.SONATYPE_SIGNING_PASSWORD}}
86+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{secrets.SONATYPE_SIGNING_KEY}}
8687
steps:
8788
- uses: actions/checkout@v4
88-
89+
with:
90+
lfs: true
8991
- uses: actions/setup-node@v4
9092
with:
9193
node-version: 'lts/*'
@@ -100,9 +102,9 @@ jobs:
100102
- run: node ./scripts/update-kotlin-version.js SNAPSHOT
101103
- run: npm run build-kotlin
102104

103-
- run: .\gradlew.bat publishAllPublicationsToSonatypeRepository closeAndReleaseSonatypeStagingRepository
105+
- run: ./gradlew publishToMavenCentral
104106
working-directory: ./src.kotlin/alphaTab/
105107

106-
- run: .\gradlew.bat --stop
108+
- run: ./gradlew --stop
107109
working-directory: ./src.kotlin/alphaTab/
108110

.github/workflows/release-kotlin-manual.yml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ on:
77
jobs:
88
release_web:
99
name: Web
10-
runs-on: windows-latest
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13+
with:
14+
lfs: true
1315
- uses: actions/setup-node@v4
1416
with:
1517
node-version: 'lts/*'
@@ -28,9 +30,11 @@ jobs:
2830

2931
release_csharp:
3032
name: C#
31-
runs-on: windows-latest
33+
runs-on: ubuntu-latest
3234
steps:
3335
- uses: actions/checkout@v4
36+
with:
37+
lfs: true
3438
- uses: actions/setup-node@v4
3539
with:
3640
node-version: 'lts/*'
@@ -42,22 +46,22 @@ jobs:
4246
- run: npm install
4347
- run: node ./scripts/update-csharp-version.js ${{github.run_number}}
4448
- run: npm run build-csharp
45-
- run: dotnet nuget push src.csharp\AlphaTab\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
46-
- run: dotnet nuget push src.csharp\AlphaTab.Windows\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
49+
- run: dotnet nuget push src.csharp/AlphaTab/bin/Release/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
50+
- run: dotnet nuget push src.csharp/AlphaTab.Windows/bin/Release/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
4751

4852
release_kotlin_android:
4953
name: Kotlin (Android)
5054
runs-on: windows-latest
5155
env:
52-
OSSRH_USERNAME: ${{secrets.OSSRH_USERNAME}}
53-
OSSRH_PASSWORD: ${{secrets.OSSRH_PASSWORD}}
54-
SONATYPE_STAGING_PROFILE_ID: ${{secrets.SONATYPE_STAGING_PROFILE_ID}}
55-
SONATYPE_SIGNING_KEY_ID: ${{secrets.SONATYPE_SIGNING_KEY_ID}}
56-
SONATYPE_SIGNING_PASSWORD: ${{secrets.SONATYPE_SIGNING_PASSWORD}}
57-
SONATYPE_SIGNING_KEY: ${{secrets.SONATYPE_SIGNING_KEY}}
56+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{secrets.OSSRH_USERTOKEN_USERNAME}}
57+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{secrets.OSSRH_USERTOKEN_PASSWORD}}
58+
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{secrets.SONATYPE_SIGNING_KEY_ID}}
59+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{secrets.SONATYPE_SIGNING_PASSWORD}}
60+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{secrets.SONATYPE_SIGNING_KEY}}
5861
steps:
5962
- uses: actions/checkout@v4
60-
63+
with:
64+
lfs: true
6165
- uses: actions/setup-node@v4
6266
with:
6367
node-version: 'lts/*'
@@ -70,9 +74,9 @@ jobs:
7074
- run: npm install
7175
- run: node ./scripts/update-kotlin-version.js
7276
- run: npm run build-kotlin
73-
- run: .\gradlew.bat publishAllPublicationsToSonatypeRepository closeAndReleaseSonatypeStagingRepository
77+
- run: ./gradlew publishToMavenCentral
7478
working-directory: ./src.kotlin/alphaTab/
7579

76-
- run: .\gradlew.bat --stop
80+
- run: ./gradlew --stop
7781
working-directory: ./src.kotlin/alphaTab/
7882

.mocharc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
],
55
"node-option": [
66
"experimental-specifier-resolution=node",
7-
"import=tsx",
7+
"import=tsx/esm",
88
"no-warnings"
99
],
1010
"spec": "test/**/*.test.ts",

LICENSE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
alphaTab is licensed under MPL-2.0.
2+
Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
3+
4+
See LICENSE.header for further licenses of integrated submodules.
5+
16
Mozilla Public License Version 2.0
27
==================================
38

LICENSE.header

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,40 @@ This Source Code Form is subject to the terms of the Mozilla Public
66
License, v. 2.0. If a copy of the MPL was not distributed with this
77
file, You can obtain one at http://mozilla.org/MPL/2.0/.
88

9-
SoundFont loading and Audio Synthesis based on TinySoundFont (licensed under MIT)
10-
Copyright (C) 2017, 2018 Bernhard Schelling (https://github.com/schellingb/TinySoundFont)
9+
Integrated Libraries:
1110

12-
TinySoundFont is based on SFZero (licensed under MIT)
13-
Copyright (C) 2012 Steve Folta (https://github.com/stevefolta/SFZero)
11+
Library: TinySoundFont
12+
License: MIT
13+
Copyright: Copyright (C) 2017, 2018 Bernhard Schelling
14+
URL: https://github.com/schellingb/TinySoundFont
15+
Purpose: SoundFont loading and Audio Synthesis
16+
17+
Library: SFZero
18+
License: MIT
19+
Copyright: Copyright (C) 2012 Steve Folta ()
20+
URL: https://github.com/stevefolta/SFZero
21+
Purpose: TinySoundFont is based on SFZEro
22+
23+
Library: Haxe Standard Library
24+
License: MIT
25+
Copyright: Copyright (C)2005-2025 Haxe Foundation
26+
URL: https://github.com/HaxeFoundation/haxe/tree/development/std
27+
Purpose: XML Parser & Zip Inflate Algorithm
28+
29+
Library: SharpZipLib
30+
License: MIT
31+
Copyright: Copyright © 2000-2018 SharpZipLib Contributors
32+
URL: https://github.com/icsharpcode/SharpZipLib
33+
Purpose: Zip Deflate Algorithm for writing compressed Zips
34+
35+
Library: NVorbis
36+
License: MIT
37+
Copyright: Copyright (c) 2020 Andrew Ward
38+
URL: https://github.com/NVorbis/NVorbis
39+
Purpose: Vorbis Stream Decoding
40+
41+
Library: libvorbis
42+
License: BSD-3-Clause
43+
Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
44+
URL: https://github.com/xiph/vorbis
45+
Purpose: NVorbis adopted some code from libvorbis.

0 commit comments

Comments
 (0)