-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into tomlm/issue189speed
- Loading branch information
Showing
136 changed files
with
691 additions
and
267 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,49 @@ | ||
name: Publish Incremental Nuget Release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Bump build version | ||
id: bump | ||
uses: vers-one/[email protected] | ||
with: | ||
files: | | ||
"**/Consolonia.csproj" | ||
version: bump-build | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore src/Consolonia.sln | ||
|
||
- name: Build | ||
run: dotnet build src/Consolonia.sln -c Release --no-restore | ||
|
||
- name: dotnet pack | ||
run: | | ||
dotnet pack src/Consolonia.sln -c Release -o packages --include-symbols --property WarningLevel=0 | ||
- name: Publish NuGet and symbols | ||
id: nuget-push | ||
uses: edumserrano/nuget-push@v1 | ||
with: | ||
api-key: '${{ secrets.NUGET_KEY }}' | ||
working-directory: 'packages' | ||
fail-if-exists: false | ||
|
||
- name: Commit new version changes | ||
run: | | ||
git config --global user.name "Github Action" | ||
git config --global user.email "[email protected]" | ||
git commit -a -m "Bumped version for published nuget artifacts" | ||
git push |
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,35 @@ | ||
name: Publish Nuget Release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore src/Consolonia.sln | ||
|
||
- name: Build | ||
run: dotnet build src/Consolonia.sln -c Release --no-restore | ||
|
||
- name: dotnet pack | ||
run: | | ||
dotnet pack src/Consolonia.sln -c Release -o packages --include-symbols --property WarningLevel=0 | ||
- name: Publish NuGet and symbols | ||
id: nuget-push | ||
uses: edumserrano/nuget-push@v1 | ||
with: | ||
api-key: '${{ secrets.NUGET_KEY }}' | ||
working-directory: 'packages' | ||
fail-if-exists: 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
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,14 @@ | ||
# Consolonia UI | ||
|
||
TUI (Text User Interface) (GUI Framework) implementation for [Avalonia UI](https://github.com/AvaloniaUI) | ||
|
||
Supports XAML, data bindings, animation, styling and the rest from Avalonia. | ||
|
||
> Project is in proof of concept state and is looking for collaboration. | ||
## Showcase (click picture to see video) | ||
[![datagridpic](https://user-images.githubusercontent.com/10516222/141980173-4eb4057a-6996-45bf-83f6-931316c98d88.png)](https://youtu.be/ttgZmbruk3Y) | ||
|
||
Example of usage: https://github.com/jinek/ToolUI | ||
|
||
Solution contains one more readme file with coding information. |
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
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
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
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
18 changes: 18 additions & 0 deletions
18
src/Consolonia.Core/Infrastructure/ExceptionSinkExtensions.cs
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,18 @@ | ||
using Avalonia; | ||
using Avalonia.Logging; | ||
using Consolonia.Core.Infrastructure; | ||
|
||
// ReSharper disable CheckNamespace | ||
namespace Consolonia | ||
// ReSharper disable once ArrangeNamespaceBody | ||
{ | ||
public static class ExceptionSinkExtensions | ||
{ | ||
public static AppBuilder LogToException(this AppBuilder builder) | ||
{ | ||
Logger.Sink = new ExceptionSink(); | ||
return builder; | ||
} | ||
} | ||
// ReSharper restore UnusedMember.Global | ||
} |
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 @@ | ||
# Consolonia.PlatformSupport | ||
This package is the core Consolonia library. | ||
|
||
## Background | ||
Consolonia is a TUI (Text User Interface) (GUI Framework) implementation for [Avalonia UI](https://github.com/AvaloniaUI) | ||
|
||
Supports XAML, data bindings, animation, styling and the rest from Avalonia. | ||
|
||
## Showcase (click picture to see video) | ||
[![datagridpic](https://user-images.githubusercontent.com/10516222/141980173-4eb4057a-6996-45bf-83f6-931316c98d88.png)](https://youtu.be/ttgZmbruk3Y) | ||
|
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
Oops, something went wrong.