This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d230986
Showing
1,125 changed files
with
306,703 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#root = true | ||
|
||
[*] | ||
indent_style = space | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
max_line_length = 100 | ||
indent_size = 4 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
name: 🕷️ Bug Report | ||
description: Report a bug. | ||
labels: "state-needs-triage" | ||
assignees: Danielku15 | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Is there an existing issue for this? | ||
description: Please search to see if an issue already exists for the bug you encountered. | ||
options: | ||
- label: I have searched the existing issues | ||
required: true | ||
- type: textarea | ||
id: current | ||
attributes: | ||
label: Current Behavior | ||
description: A concise description of what you're experiencing. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected Behavior | ||
description: A concise description of what you expected to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: steps | ||
attributes: | ||
label: Steps To Reproduce | ||
description: Steps to reproduce the behavior. | ||
placeholder: | | ||
1. | ||
2. | ||
3. | ||
4. | ||
validations: | ||
required: true | ||
- type: input | ||
id: link | ||
attributes: | ||
label: Link to jsFiddle, CodePen, Project | ||
description: Providing a minimal reproducible example can help a lot. | ||
validations: | ||
required: false | ||
- type: dropdown | ||
id: version | ||
attributes: | ||
label: Found in Version | ||
description: Which version of alphaTab are you using? | ||
options: | ||
- 1.3-alpha | ||
- 1.2 | ||
- 1.1 | ||
- 1.0 | ||
- Other | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: platform | ||
attributes: | ||
label: Platform | ||
description: On which platform are you using alphaTab? | ||
options: | ||
- Web | ||
- Node.js | ||
- .net (WPF) | ||
- .net (WinForms) | ||
- .net (Other) | ||
- Android (WebView) | ||
- Android (Native) | ||
- iOS (WebView) | ||
- Other | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: environment | ||
attributes: | ||
label: Environment | ||
description: | | ||
examples: | ||
- **OS**: Windows 10 Pro | ||
- **Browser**: Chrome 92.0.4515.159 | ||
value: | | ||
- **OS**: | ||
- **Browser**: | ||
- **.net Version**: | ||
render: markdown | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: further | ||
attributes: | ||
label: Anything else? | ||
description: | | ||
Links? References? Anything that will give us more context about the issue you are encountering! | ||
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Feature Request | ||
url: https://github.com/CoderLine/alphaTab/discussions?discussions_q=category%3AIdeas | ||
about: Propose your desired feature with a new discussion. | ||
- name: General Question | ||
url: https://github.com/CoderLine/alphaTab/discussions?discussions_q=category%3AQ%26A | ||
about: Ask any question about alphaTab. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
- package-ecosystem: "nuget" | ||
directory: "/src.csharp" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
### Issues | ||
<!-- Each pull request needs to be related to an issue, mention it here below --> | ||
Fixes # | ||
|
||
### Proposed changes | ||
<!-- Describe the proposed changes --> | ||
|
||
### Checklist | ||
- [ ] I consent that this change becomes part of alphaTab under it's current or any future open source license | ||
- [ ] Changes are implemented | ||
- [ ] Existing builds tests pass | ||
- [ ] New tests were added | ||
|
||
## Further details | ||
- [ ] This is a breaking change | ||
- [ ] This change will require update of the documentation/website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
- master | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_web: | ||
name: Build and Test Web | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '12.x' | ||
- run: npm install | ||
- run: npm run build-ci | ||
- run: npm run test-ci | ||
|
||
build_csharp: | ||
name: Build and Test C# | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '12.x' | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
- run: npm install | ||
- run: npm run build-csharp-ci | ||
- run: npm run test-csharp-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Dependabot auto-merge | ||
on: pull_request | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
steps: | ||
- name: Dependabot metadata | ||
id: metadata | ||
uses: dependabot/fetch-metadata@v1.1.1 | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
- name: Enable auto-merge for Dependabot PRs | ||
run: gh pr merge --auto --squash "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
name: Publish | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
nighty_web: | ||
name: Web | ||
runs-on: windows-2022 | ||
steps: | ||
- name: Create cache file | ||
run: | | ||
mkdir check-sha | ||
echo ${{ github.sha }} >> github-sha.txt | ||
- name: Check SHA | ||
id: check_sha | ||
uses: actions/cache@v2 | ||
with: | ||
path: check-sha | ||
key: check-sha-${{ github.sha }} | ||
|
||
- name: Checkout the repo | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
|
||
- name: Build Project | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
run: | | ||
npm install | ||
node ./scripts/update-version.js alpha ${{github.run_number}} | ||
npm run build-ci | ||
- uses: actions/setup-node@v2 | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
with: | ||
node-version: '16' | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Publish to NPM (alpha) | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
run: npm publish --access public --tag alpha | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPMJS_AUTH_TOKEN}} | ||
|
||
nightly_csharp: | ||
name: C# | ||
runs-on: windows-2022 | ||
steps: | ||
- name: Create cache file | ||
run: | | ||
mkdir check-sha | ||
echo ${{ github.sha }} >> github-sha.txt | ||
- name: Check SHA | ||
id: check_sha | ||
uses: actions/cache@v2 | ||
with: | ||
path: check-sha | ||
key: check-sha-${{ github.sha }} | ||
|
||
- name: Checkout the repo | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
|
||
- name: Setup DotNet | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
- run: npm install | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
|
||
- name: Update C# Version | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
run: node ./scripts/update-csharp-version.js alpha ${{github.run_number}} | ||
|
||
- name: Build Project | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
run: npm run build-csharp-ci | ||
|
||
- name: Publish AlphaTab.nupkg | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
run: dotnet nuget push src.csharp\AlphaTab\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json | ||
|
||
- name: Publish AlphaTab.Windows.nupkg | ||
if: steps.check_sha.outputs.cache-hit != 'true' | ||
run: dotnet nuget push src.csharp\AlphaTab.Windows\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Release | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
release_web: | ||
name: Web | ||
runs-on: windows-2022 | ||
steps: | ||
# Checkout the repo | ||
- uses: actions/checkout@v2 | ||
|
||
# Build Project | ||
- uses: actions/setup-node@master | ||
- name: Build Project | ||
run: | | ||
npm install | ||
node ./scripts/update-version.js ${{github.run_number}} | ||
npm run build-ci | ||
# Publish to GitHub Package Registry | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: '12.x' | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Publish to GitHub Package Registry (release) | ||
run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPMJS_AUTH_TOKEN}} | ||
|
||
release_csharp: | ||
name: C# | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
env: | ||
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}} | ||
- run: npm install | ||
- run: node ./scripts/update-csharp-version.js ${{github.run_number}} | ||
- run: npm run build-csharp-ci | ||
- 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 | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
dist/ | ||
node_modules/ | ||
private/ | ||
playground/ | ||
obj/ | ||
bin/ | ||
.idea/ | ||
.vs/ | ||
*.user | ||
*.tgz | ||
test-results/ | ||
debug.log | ||
src/generated/VersionInfo.ts | ||
.gradle | ||
build/ | ||
gradle-app.setting | ||
!gradle-wrapper.jar | ||
.gradletasknamecache | ||
**/build/ | ||
local.properties |
Oops, something went wrong.