Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology

MIT License

Stars
23.8K
Committers
478

Bot releases are visible (Hide)

Avalonia - 0.10.19

Published by grokys over 1 year ago

What's Changed

Bugfixes

#8514 Skip disabled controls when moving to first/last item
#8880 [macOS] macOS: Fix child window order with multiple child windows
#9221 Fix setting WindowState before showing Window.
#9300 [macOS] OSX: fix menu re-entrancy crash
#9326 [macOS] OSX: fix minimise button being disabled when either a parent or a dialog.
#9451 [macOS] [OSX] Fixed NativeMenu memory leak
#9469 [macOS] [OSX] Use non-opaque window background for non-transparent windows
#9566 [macOS] MacOS: Only bring windows to front if they're on the active space.
#9699 Fix SelectionModelSelectionChangedEventArgs.SelectedItems indexer.
#9716 [macOS] macos: Fix child window key handling
#10153 [macOS] macOS: Sync actual window state after window show, and fix integration tests on macOS 13.1
#10196 [macOS] macOS: Fix window transparency
#10204 [Windows] Update Angle to 2.1.0.2023020321
#10265 [Windows][macOS] Various macOS and win32 fixes
#10427 [macOS] macOS: Fix window order breaking when closing modal dialog
#10431 if the window is closed, we cannot become the key window.
#10575 [macOS] macOS: Don't allow window zoom when CanResize=false.
#10600 [Linux] Add nullable reference checking to X11Window.
#10677 [macOS] macOS: Fix interaction between ExtendClientAreaToDecorationsHint and SystemDecorations

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/0.10.18...0.10.19

Avalonia - 11.0.0 Preview 4

Published by danwalmsley almost 2 years ago

Avalonia - 11.0.0-preview3

Published by danwalmsley almost 2 years ago

Avalonia - 11.0.0 Preview 2

Published by danwalmsley about 2 years ago

  • Stable android and iOS. text input
  • Stable wasm-browser support via dotnet 7 rc1+
  • much much more

https://github.com/AvaloniaUI/Avalonia/compare/release/11.0.0-preview1...release/11.0.0-preview2

Avalonia - 11.0.0 Preview1

Published by danwalmsley about 2 years ago

Avalonia - 0.10.18

Published by danwalmsley about 2 years ago

https://www.nuget.org/packages/Avalonia/0.10.18

Diff of all changes:
https://github.com/AvaloniaUI/Avalonia/compare/release/0.10.17...release/0.10.18

  • Fix crash loading some images from stream.
  • Fix reopening hidden windows on macos when parent window is clicked.
  • Win32 minimize and restore window size is kept consistent.
  • Fix window CanResize issue with ExtendClientAreaToDecorations.
Avalonia - 0.10.17

Published by danwalmsley about 2 years ago

https://www.nuget.org/packages/Avalonia/0.10.17

Full changelog: https://github.com/AvaloniaUI/Avalonia/compare/release/0.10.16...release/0.10.17

Bugfixes

#8483 [macOS] Fix initial window size on osx.
#8494 [macOS] Fixes red window contents on startup.
#8478 #8544 #8547 [Windows] Fix various issues with TrayIcon on Windows.
#8492 Fix edge case causing crash modifying classes property.
#8482 Window positioning edge case in extreme scenario fix.

Misc

#8518 [Windows] Backport native control host handle validation

Avalonia - 0.10.16

Published by danwalmsley over 2 years ago

Full changelog: https://github.com/AvaloniaUI/Avalonia/compare/0.10.15...0.10.16

Bugfixes

#8415 [macOS] Backport macOS windowing fixes.
#8440 [macOS] [OSX] popups shouldnt have shadow
#8245 Use own Pen (if set) in GeometryDrawing.GetBounds
#8291 Fix FluentTheme density style
#8305 Fixes/reduce excessive layout passes
#8315 Make GridSplitter scaling aware.
#8373 Correctly clear PriorityValue local value
#8383 Fix 12PM bug in TimePickerPresenter
#8391 Fix DirectBindingSubscription NRE
#8409 Don't promote layout property values to local values in DevTools.
#8420 Fix leak in the InternalSelectionModel
#8427 Fix crash in deferred renderer when reparenting a control.
#8442 Fix empty batch nested updates.
#8456 make splitview not culture sensitive.

Misc

#8270 [Linux] [X11] Improve _NET_WM_SYNC_REQUEST handling
#8431 Remove perf-expensive DottedLineFocusAdorner style
#8433 Improve performance of style class selector subscriptions

Avalonia - 0.10.15

Published by danwalmsley over 2 years ago

Full changelog: https://github.com/AvaloniaUI/Avalonia/compare/0.10.14...0.10.15

New features/APIs

#8083 Expose CurrentOpacity on ISkiaDrawingContextImpl.
#8119 Added support for IReflectableType in InpcPropertyAccessorPlugin

Bugfixes

#8154 [macOS] Multiple windowing platform fixes on OSX
#8187 [macOS] Fix file dialog filter nullable annotation, and osx platform.
#8258 [macOS] Fix call to virtual method from ctor.
#8268 [Linux] Added support for the basic version of _NET_WM_SYNC_REQUEST protocol
#8095 Respect Window MaxWidth and MaxHeight when using any SizeToContent to Auto
#8106 Make ThreadSafeObjectPool actually thread safe
#8114 #8126 #8141 Fix property and events registrations
#8172 Fix Menu selection to match UWP
#8115 Fix missing NotifyCountChanged in AvaloniaList.AddRange
#8236 Fix FlyoutBase/ContextMenu memory leak
#8252 Check if BindingValue actually has a value before logging an error
#8253 Stop listening for IsCancel on button detached

Misc

#8233 Upgraded SkiaSharp packages

Avalonia - 0.10.14

Published by Takoooooo over 2 years ago

Full changelog: https://github.com/AvaloniaUI/Avalonia/compare/0.10.13...0.10.14

New features/APIs

#7165 Add more platform specific screen from Window/Rect/Point methods.
#7854 + #7911 Implement TemplatePartAttribute from WPF

Bugfixes

#7774 [Linux] Fix pinvoke signature for smc and ice error handlers for 32 bit
#7775 [Windows] Fix dwm opaque backdrop
#7787 + #7788 [Windows] Make mica fallback to acrylic on compatible windows 10
#7937 [Osx] Reset maximised state when window is dragged.
#8035 [Osx] Fixes/nullable avalonia native
#7832 Measure overlay layer children to constraint.
#7834 + #7964 Fix using touch for date/time pickers.
#7930 Relax Typface resolution
#7954 Fix NativeMenuBar exception.

Avalonia - 0.10.13

Published by danwalmsley over 2 years ago

Full changelog: https://github.com/AvaloniaUI/Avalonia/compare/0.10.12...0.10.13

New features/APIs

#7622 Exposing Window.ChildWindows collection
#7449 Add DensityStyle property in Fluent Theme provider
#7611 Add TransitioningContentControl (previously existed in Avalonia.ReactiveUI namespace).
#7581 Introduced RawPointerPoint for usage with IntermediatePoints
#7605 Add Skia Helper Methods to allow applying Skia Filter Effects (Blur, DropShadow, Lighting) to DC content

Dev-Tools

#7440 Ensure Control Inspection in Diagnostics tool window is triggered on Key Down
#7576 DevTools: Enable inspection for Button.Flyout

Bugfixes

#7537 [Windows] Minimization bugfix on Windows
#7551 [Windows] Fix COM issue in Cursor
#7775 [Windows] Fix dwm opaque backdrop
#7730 [Windows] Fall back from CenterOwner to CenterScreen when owner window is minimized.
#7787 #7788 [Windows] Make mica fallback to acrylic on compatible windows 10
#7548 [Linux] fix 32 bit raspberry pi session manager seg fault
#7736 [Osx] Allow setting the window title to null.
#7455 Fix Monitor.Enter in finally
#7528 Reset fb and depth buffer Ids once they are deleted
#7534 Fix AOT incompatible code
#7634 Fix Date/Time picker popups
#7658 Fix brush opacity animation
#7660 Add missing call to base class in ReactiveUserControl.OnDataContextChanged
#7723 Fix expander header stretching

Misc

#7569 [Windows] Avoid using COM exceptions for dialog control flow.
#7520 Shift + PointerWheel should scroll horizontally
#7645 Change default binding mode of SelectedDateProperty to TwoWay

Avalonia - 0.10.12

Published by danwalmsley over 2 years ago

Full changelog: https://github.com/AvaloniaUI/Avalonia/compare/0.10.11...0.10.12

New features/APIs

#7148 [Osx] allow disabling of native menu export.
#7248 Add a DataType property on CompiledBindingExtension to enable specifying the start type explicitly on a binding.
#7301 Added reflection-free API for weak events
#7315 Editable DataGridTemplateColumn
#7395 Exposed PreciseArcTo for ellipses with extreme width:height ratios

Bugfixes

#7251 #7370 [Linux] Workaround for broken TopLevel.cs causing crash on X11
#7411 [Linux] fix deadlock from X11Window on close
#7270 [Browser] [WASM] Fix wrong DPI value
#7394 [Browser] Add IsDirty to Avalonia.Web.Blazor (Fix Chromium 97 not resizing render)
#7285 [Windows] Ensure Alpha is set for WGL display
#7374 [Windows] Don't raise TextInput event when KeyDown was handled
#7299 [Osx] Add additional null checks to Avalonia.Native.WindowBaseImpl.
#7302 [Osx] [MacOS] fix quit menu item copy paste mistake
#7341 [Osx] Fixes/standard osx item generation
#6948 Fix DataGrid SelectionChanged event not raised after 3 right clicks
#7250 Fix pointer popup positioning for overlay popups
#7258 Fix ScrollViewer with touch inside of rotated LayoutTransformControl
#7298 Check for null visual parent.
#7337 Only handle a KeyBinding if it's actually been handled.
#7343 Reduce the priority in AvaloniaSynchronizationContext.
#7350 Fix Skia FormattedTextImpl text alignment
#7365 Fix vertical alignments in Calendar control
#7373 Fix NRE on window close with opened menu
#7400 Fix ClassicDesktop Lifetime so that ShutdownRequested event is raised.
#7405 Fix UseRenderTransformProperty registration typo

Misc

#7295 #7300 [Browser] [WASM] Implement Cursors API
#7409 [Browser] Butter Smooth resizing in Browser
#7321 [Osx] DataGrid - handle OSX key modifiers (ctrl vs cmd)
#7368 Set antialias to true when calling ClipRoundRect
#7388 Use CompiledBindings for Fluent theme
#7252 Improve ButtonSpinner OnPointerWheel
#7256 Fast Fluent theme switching
#7288 Progress Bar progress text implementation in FluentTheme
#7320 ListBox should respect ClipToBounds
#7336 Enable ClearType on Windows
#7344 Introduce font related platform implementations for unit tests

Avalonia - 0.10.11

Published by danwalmsley almost 3 years ago

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/0.10.10...0.10.11

New features/APIs

#7029 [Browser] Avalonia.Web (wasm)
#6223 #7007 [Windows] Windows IME
#7078 #7082 #6754 (and more) Nullable annotations for most of the base Avalonia package namespaces.
#6883 [Linux] Implement IPlatformLifetimeEvents for X11/Linux
#6836 Border StrokeDashArray
#7031 Add support for drawing ellipses directly via DrawingContext
#7080 #7094 Add Property DataGridColumn.HeaderTemplate
#7089 Introduce FontManagerOptions
#6811 Add InputManager.RemoveFocusScope + fix memory leak
#7043 make IsOpenProperty on flyoutbase public.

Dev-Tools

#6790 Allow to navigate to children (especially DataContext)
#6807 Fix: Added lost lines in event debugging
#6839 Fix: Double subscribe/unsubscribe INotifyPropertyChanged
#6849 Fix Ambiguous match found Exception

Bugfixes

#6867 [Osx] Allow child windows to be shown on top of fullscreen windows.
#6868 [Windows] only take focus on button down events.
#6896 [Osx] Clipping rendering issues osx
#6913 [Windows] Fix TrayIcon commands executes twice
#6926 [Osx] Only raise non-client click when outside view client area.
#6950 [Linux] Fixed missing XA_WM_NAME remove on empty window Title
#7006 [Osx] fix stuck tooltips on macOS
#7015 [Osx] Do not enforce DND copy effect
#7110 [Osx] Bring window to front when Activate() is called.
#7111 [Windows] Use WS_EX_LAYERED style for native control holders with winui composition
#7163 [Linux] [X11] Dispose transparency helper
#7187 [Osx] Fixes red flicker on Catalina when resizing
#6815 Fix implicit color to brush conversion in StaticResource
#6818 Filter pointer pressed events from disabled sub-menu items
#6830 Update NumericUpDown template MinWidth
#6847 ElementManager follows the behavior of ViewManager
#6860 DataGridColumn - fix LayoutRoundedWidth with DPI scaling applied
#6900 Don't update TransformedBounds from RenderTargetBitmap.
#6970 Investigation of animation system failure issue #6969
#6973 Expander properties to all directions
#6989 Fix transform problems caused by missing transform data or invalid order of operations
#7016 Fix slider behaviour for bigger thumbs
#7021 Fix: [Calendar] pointer wheel and page keys should not change the selection
#7028 Use MicroCOM for Win32 dialogs implementation + minor fixes
#7071 Fix issues with positioning of non-overlay popups
#7096 Fix condition in HotKeyProperty.Changed handler
#7112 Don't forget to add SplitView.Pane to the logical tree
#7194 Update Calendar in CalendarDatePicker Popup properly
#7201 Support RelativeSource-based bindings without requiring an x:DataType property.
#7206 Disabled button can be pressed issue/bug
#7219 Use pointer position relative to the scroll gesture recognizer target

Misc

#6909 [Osx] Refactor Native App Menu. Move default menu initialization code from ObjC to C#.
#7183 [Breaking-Change] Do not copy UWP behavior with ListBoxItem horizontal alignment
#6823 Added lost focus-within to pseudo classes attribute
#6854 type of the TreeView's items can be customized
#6894 Setting weak reference target instead of field
#6907 Use event args to get value instead of field
#6972 MsBuild property to simplify XamlX debugging
#7044 Handle TabStops
#7172 Enable nullable warnings as errors on projects which enabled Nullable Reference Types

Regressions (to be fixed in next update)

#7249 Context Menu Submenus now changing main menu position on menu open (overlay popups only)
#7236 Constrained NumericUpDown with MinWidth has visual problems
#7251 Linux NullReferenceException on tooltip closed

Avalonia - 0.10.10

Published by danwalmsley almost 3 years ago

Continues 0.10.9 update with a hotfix https://github.com/AvaloniaUI/Avalonia/pull/6803

Don't forget to check out 0.10.9 changelog to see full changes list!

Avalonia - 0.10.9

Published by danwalmsley almost 3 years ago

New features/APIs

#6574 [Windows] Add support for Mica effect on Windows 11
#6381 NthChild and NthLastChild selectors support
#6730 Add ability to programmatically sort the DataGrid
#6739 Add constructor to DrawingImage which accepts Drawing

Bugfixes

#6700 [Osx] Implement non-client clicks on OSX
#6783 [Osx] Restore OSX window shadow fix
#6724 [Linux] [X11] Check for XOpenDisplay error before trying to use display
#6779 [Linux] Graceful error handling of Linux Tray icons
#6651 Try to load a custom font with all possible weights and styles
#6732 ItemsRepeater: unsubscribe from ItemsSourceView before disposing it
#6748 Fix DataGrid headers horizontal scrolling
#6749 #6789 Do not inherit text properties in Popup + make Default theme Popups transparent (to match Fluent theme behavior)
#6796 Update context menu popup parameters on each show
#6532 Fix OpenBrowser on Linux ("About Avalonia" dialog)
#6753 Fix changing focus with Tab key for Button
#6763 Fix RepeatButton keeps sending clicks when focus changed
#6764 Fix clips with transforms in deferred renderer
#6794 Fix GenerateAvaloniaResourcesDependencyCache target
#6702 Fix handled event misses in dev tools

Misc

#6717 [Windows] Disable WindowManagerAddShadowHint by default
#6745 [Linux] Changed X11 default cursor to XC_left_ptr
#6784 Add support for access keys to Button.
#6709 Simulate font weight bold and font style italic when a fallback is used
#6746 #6747 LineNode hit test
#6780 DataGrid minimum distance threshold when dragging headers
#6735 Make IBlurHost internal

Avalonia - 0.10.8

Published by danwalmsley about 3 years ago

New features/APIs

#6560 Tray-icon support
#6453 Implement MaskedTextBox
#6576 Add GeometryGroup and CombinedGeometry
#6665 Added support for non-control templates in XAML
#6617 Add DesignStyle property
#6492 Add text box clipboard events
#6392 Allow end user to change menu show delay globally
#6689 Allow creating custom Datagrid columns
#6652 [Linux] Allow customizing the framebuffer FPS + Respect IRendererFactory

Bugfixes

#6471 [Windows] Fix EntryPointNotFound on Windows 8 due to missing version check
#6484 [Osx] Fix middle click
#6552 [Osx] Correctly implement fullscreen mode so that app ca be started in full.
#6555 [Windows] Dont loose window state when hide and show are called programmatically
#6597 [Windows] Fix handling of subsequent keypress after Alt/F10
#6604 [Linux] Fixed potential freezes/segfaults on window close
#6649 [Linux] Fix deferred renderer performance regression
#6675 [Linux] Use XC_hand2 for hand cursor
#6456 Revert "Fix skia OpacityMask push and pop methods" (regression)
#6522 Revert "Fixed gradient brush target rectangles." (regression)
#6524 Revert "ScrollContentPresenter, fix order of operations, set Offset before setting Extent" (regression)
#5638 Fix DataGridTemplateColumn Recycled Issue
#6226 ContentPresenter should create child without content, if template was set
#6404 Close popup if combobox is not visible
#6457 Don't display warning when WinUICompositorConnection succeeds.
#6461 Prevent DeferredRenderer crash when a VisualBrush is used as OpacityMask
#6464 Update AvaloniaSynchronizationContext to don't wrap exceptions
#6466 Don't focus children of disabled controls when tabbing between controls.
#6491 Fix alt down shortcuts and allow alt down handling for end users
#6507 Don't log $parent binding errors when control detached from logical tree
#6509 Fix DataGrid issue: does not re-enter the edit mode after pressing ESC
#6566 CompiledBinding correctly locates IDataContextProvider as anchor.
#6569 Fix avalonia resource generation on resource deletion
#6570 Fixes DataGrid issue: New line in Editable DataGrid, Not editable
#6581 Fixes PathMarkupParser flag parsing when no separator is used
#6619 Add ProgressBar missed TemplateBinding.CornerRadius
#6620 Add NotificationCard missed TemplateBinding.CornerRadius
#6632 Fix opening disabled menu with accelerator key
#6639 Fix Expander HeaderTemplate for Simple Theme
#6657 Fix ICustomDrawOperation HitTest coordinate space.
#6616 Fix opening submenu popup for menus without subitems

Misc

#6575 Allow popups to move using horizontal or vertical offsets like in WPF
#6638 FlyoutBase create presenter before calling Opening event
#6656 Improve scroll gesture with virtualization.
#6485 Tweaks to ItemsSourceView
#6495 Fixes datagrid warnings
#6499 Fixes AvaloniaList XML Comments
#6506 Fixes input warnings
#6533 Compiler intrinsic based type nullability check
#6572 Set MenuItem icon presenter size from style
#6646 Used EqualityComparer.Default to check values for equality

Avalonia - 0.10.7

Published by danwalmsley about 3 years ago

New features/APIs

#5996 Port tab navigation algorithm from WPF (including TabIndex support)
#6029 #6183 Transitions for solid color brushes + Gradient animations
#6174 #6310 [OSX] [Windows] Cancellable IClassicDesktopStyleApplicationLifetime.ShutdownRequested event
#6347 Add CornerRadius to TemplatedControl and use it where possible
#6076 Add API to get FrameSize of a window
#6023 TextBox: Add IsUndoEnabled and UndoLimit
#6058 Add PolyLineSegment path segment
#6059 Add ContextRequest event, use it to show ContextFlyout/ContextMenu, allow to open context using keyboard
#6082 Allow setting custom Animator in property to Setter (attached property alternative)
#6133 Add Arc shape control
#6175 Add "Star" static to GridLength
#6210 Add ItemsControl.IsTextSearchEnabled
#6220 Expose EnsureCapacity() on AvaloniaList
#6235 Allow for disabling clipping of adorners. Cleanup AdornerLayer class
#6313 Add ClipGeometry and OpacityMask properties to DrawingGroup
#6322 Properties of PointerEventArgs in TappedEventArgs
#6379 Allow for controlling delay of scrollbar hide/show.
#6430 Add Not value converter to BoolConverters
#6101 [Linux] Adds a pixel format parameter to Linux frame buffer platform setup.

Dev-Tools

#6191 Support for inspecting Popup visual tree
#6074 Configurable startup screen
#6046 #6049 Fix log errors
#6176 Adding more ToString() overloads to improve DevTools
#5998 Enable nullable on Avalonia.Diagnostics project

Bugfixes

#6052 [Linux] Fix dialogs crashing on X11 when Title is set to null
#6188 [Osx] Fix child window activation
#6199 [Osx] Fix com issues
#6212 [Osx] Fix initial keyboard input
#6245 [Osx] Window state - keep field in sync.
#6250 [Osx] Fix window flicker
#6258 [Osx] Fix light dismiss overlay intercepting titlebar hit tests for OSX.
#6407 [Osx] Fix a couple of minimized WindowState bugs
#6425 [Osx] Fix tab shortcuts in NativeMenu
#6266 [Osx] Fix showing window with no specified size.
#6268 [Osx] Fix existing and add missing osx-specific key shortcuts
#6083 [Osx] Fix window state logic.
#6340 Fix DataGrid wheel scroll calculation
#5055 Fix crash when KeyBindings change while they are being handled
#5858 Fix ArgumentNullException in TreeView.ExpandSubTree()
#6016 Fix light dismiss overlay intercepting titlebar hit tests.
#6039 Fix problems with mutable brush being passed to an immutable pen.
#6064 Fix fetching neutral value in animations.
#6066 Fix gradient brush target rectangles.
#6069 Fix RemoteWidget error when width or height is equal to zero. Issue.
#6072 Ensure we unsubscribe from PropertyChanged in AnimationInstance
#6091 Scale flyout transient area.
#6092 Implement measure pass in AdornerLayer.
#6093 ScrollContentPresenter, fix order of operations, set Offset before setting Extent
#6135 Use IsNullOrEmpty instead of IsNullOrWhiteSpace for :empty pseudoclass
#6146 Prevent ScrollSlotIntoView from crashing on start
#6151 Fixes issue with Alt+F4 on ComboBox
#6213 Fixes/textbox crash when focused but not visible
#6242 Invalidating measure on TransformedBounds update
#6244 Fix: Thumb should handle pointer capture loss
#6246 Fix "." (empty) paths with compiled bindings.
#6251 Fix DataGrid column sorting with inherited interface property
#6254 Fix autosizing when DPI changed
#6271 Implement indexed sort for visual children.
#6283 fixes(DataGrid): Fixes DataGridColumn IsVisible binding
#6373 Fix skia OpacityMask push and pop methods
#6380 [OverlayPopupHost] remove render white rect override
#6429 Check if TextBox.Text is null in AutoCompleteBox

Misc

#6341 [Windows] Win32 WindowImpl: Don't change z-order when Position is set
#6351 Add comments about OSX,Linux, Windows platform options
#6187 Allow moving items in ItemsRepeater
#6374 Enable antialiasing for PushGeometryClip
#6024 Remove timer on UndoRedoHelper and manually manage undo/redo snapshots a bit more
#6032 Use immutable data to limit allocations.
#6022 SelectedDate and SelectedTime => TwoWay by default
#6053 Fix caret positioning with empty newlines
#6105 ComboBox: Let Data and Stretch be overridden
#6198 Validate parent/owner when showing windows
#6228 Makes TextBox.UndoRedoState struct readonly
#6275 [DataGrid] Invert ascending/descending arrows for Fluent Theme and match their behaviour with Simple Theme
#6285 Remove TextBox margin hack
#6342 Improve DataGrid scrolling (horizontal wheel + touch)
#6361 Enable multitouch on X11,Windows by default
#6362 Respect CancellationToken in InternalPlatformThreadingInterface.RunLoop.