From eb83444f09ed8193ca544c0099acb045022f9d4c Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Tue, 19 Jan 2021 14:53:22 +0100 Subject: [PATCH 1/6] Add labels to issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++-- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 80716520d9..6b910fc615 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,8 +1,8 @@ --- name: Bug report -about: Create a report to help us improve +about: Create a report to help us improve Avalonia title: '' -labels: '' +labels: bug assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index bbcbbe7d61..11fc491ef1 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -2,7 +2,7 @@ name: Feature request about: Suggest an idea for this project title: '' -labels: '' +labels: enhancement assignees: '' --- From 9933de07fd2f1aad2950e1ed84d13f0a0a572edf Mon Sep 17 00:00:00 2001 From: Max Katz Date: Fri, 22 Jan 2021 19:37:02 -0500 Subject: [PATCH 2/6] Override default value instead of setting local value in LightDismissOverlayLayer --- .../Primitives/LightDismissOverlayLayer.cs | 6 ++++++ src/Avalonia.Controls/Primitives/VisualLayerManager.cs | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Avalonia.Controls/Primitives/LightDismissOverlayLayer.cs b/src/Avalonia.Controls/Primitives/LightDismissOverlayLayer.cs index 752eedb68a..1d655bb691 100644 --- a/src/Avalonia.Controls/Primitives/LightDismissOverlayLayer.cs +++ b/src/Avalonia.Controls/Primitives/LightDismissOverlayLayer.cs @@ -2,6 +2,7 @@ using System; using System.Linq; using Avalonia.Controls.Templates; using Avalonia.Input; +using Avalonia.Media; using Avalonia.Rendering; using Avalonia.Styling; using Avalonia.VisualTree; @@ -17,6 +18,11 @@ namespace Avalonia.Controls.Primitives { public IInputElement? InputPassThroughElement { get; set; } + static LightDismissOverlayLayer() + { + BackgroundProperty.OverrideDefaultValue(Brushes.Transparent); + } + /// /// Returns the light dismiss overlay for a specified visual. /// diff --git a/src/Avalonia.Controls/Primitives/VisualLayerManager.cs b/src/Avalonia.Controls/Primitives/VisualLayerManager.cs index d8d3450c6f..e5e27c169a 100644 --- a/src/Avalonia.Controls/Primitives/VisualLayerManager.cs +++ b/src/Avalonia.Controls/Primitives/VisualLayerManager.cs @@ -74,7 +74,6 @@ namespace Avalonia.Controls.Primitives { rv = new LightDismissOverlayLayer { - Background = Brushes.Transparent, IsVisible = false }; From 9052b2b73a95e36f6069a29905430ef293c0d9da Mon Sep 17 00:00:00 2001 From: Sven Almgren Date: Sat, 23 Jan 2021 09:25:18 +0100 Subject: [PATCH 3/6] Mark glBlitFramebuffer optional to allow ES2.0 drm devices --- src/Avalonia.OpenGL/GlInterface.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.OpenGL/GlInterface.cs b/src/Avalonia.OpenGL/GlInterface.cs index 28b62136da..cae245732f 100644 --- a/src/Avalonia.OpenGL/GlInterface.cs +++ b/src/Avalonia.OpenGL/GlInterface.cs @@ -128,7 +128,7 @@ namespace Avalonia.OpenGL int dstY1, int mask, int filter); - [GlMinVersionEntryPoint("glBlitFramebuffer", 3, 0)] + [GlMinVersionEntryPoint("glBlitFramebuffer", 3, 0), GlOptionalEntryPoint] public GlBlitFramebuffer BlitFramebuffer { get; } public delegate void GlGenRenderbuffers(int count, int[] res); From 86a9a7184113ee15e94c4586d6aa757ac8e3a31c Mon Sep 17 00:00:00 2001 From: Tako <53405089+Takoooooo@users.noreply.github.com> Date: Mon, 25 Jan 2021 12:42:01 +0200 Subject: [PATCH 4/6] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index cfa08149cb..46cfc7f38a 100644 --- a/readme.md +++ b/readme.md @@ -12,7 +12,7 @@ Avalonia is a cross-platform XAML-based UI framework providing a flexible stylin ([Xaml Control Gallery](https://github.com/AvaloniaUI/xamlcontrolsgallery)) -> **Note:** The UI theme you see in the picture above is still work-in-progress and will be available in the upcoming Avalonia 0.10.0 release. However, you can connect to our nightly build feed and install latest pre-release versions of Avalonia NuGet packages, if you are willing to help out with the development and testing. See [Using nightly build feed](https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed) for more info. +> **Note:** You can connect to our nightly build feed and install latest pre-release versions of Avalonia NuGet packages, if you are willing to help out with the development and testing. See [Using nightly build feed](https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed) for more info. To see the status of some of our features, please see our [Roadmap](https://github.com/AvaloniaUI/Avalonia/issues/2239). You can also see what [breaking changes](https://github.com/AvaloniaUI/Avalonia/issues/3538) we have planned and what our [past breaking changes](https://github.com/AvaloniaUI/Avalonia/wiki/Breaking-Changes) have been. [Awesome Avalonia](https://github.com/AvaloniaCommunity/awesome-avalonia) is community-curated list of awesome Avalonia UI tools, libraries, projects and resources. Go and see what people are building with Avalonia! From a1f9749490fcef22bb682a763ae77a2b54c36c15 Mon Sep 17 00:00:00 2001 From: Mike James Date: Mon, 25 Jan 2021 11:10:49 +0000 Subject: [PATCH 5/6] Fixing FluentTheme Expanded header foreground issue My first attempt at contributing! This commit adds a style selector to ensure that the Expanded control keeps its foreground when expanded. Fixes #5349 Tested with 0.10.0 with both Light and Dark themes. --- src/Avalonia.Themes.Fluent/Controls/Expander.xaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Avalonia.Themes.Fluent/Controls/Expander.xaml b/src/Avalonia.Themes.Fluent/Controls/Expander.xaml index ad0fd18ea5..a6371a5be9 100644 --- a/src/Avalonia.Themes.Fluent/Controls/Expander.xaml +++ b/src/Avalonia.Themes.Fluent/Controls/Expander.xaml @@ -26,6 +26,9 @@ +