Benedikt Stebner
7cc5e9bbb4
Fix a copy paste error so mouse movements are properly recognized if the width is smaller than the height.
3 years ago
Steven Kirk
915a605cf7
Tweak API for raising direct property changes.
- Make `SetAndRaise` accept a `DirectPropertyBase` instead of an `AvaloniaProperty`: only direct properties can be changed by this method
- Remove `priority` from `RaisePropertyChanged`: direct property changes are always with `LocalValue` priority
- Remove `Optional` and `BindingValue` wrappers from `RaisePropertyChanged`: concrete values must always be supplied
3 years ago
Julien Lebosquain
503b46f492
Remove duplicate OpenGL members
3 years ago
Dariusz Komosinski
4c36520ed6
Fix alignment helper not working and missing icon for clear button.
3 years ago
Dariusz Komosinski
81f6f65c26
Implement LayoutInformation.
3 years ago
Giuseppe Lippolis
80dc4dd0b7
fix: iOS Nullable
3 years ago
Nikita Tsukanov
8280b83e95
Automatically dispatch PropertyChanged notification to the UI thread
3 years ago
Tim
9fc9a32f22
Update Measure and Layout if a child of RelativePanel updates it's
position.
3 years ago
Nikita Tsukanov
95b6343f8f
Respect AdornerLayer.IsClipEnabled
3 years ago
Max Katz
9a5b351b50
Fix build after global rename
3 years ago
Julien Lebosquain
822f5d04aa
Fix Direct2D1 test runner hanging
3 years ago
Julien Lebosquain
c2cd05a5f0
Nullable annotations for Avalonia.OpenGL
3 years ago
Benedikt Stebner
bfafd06cde
Do not register headless font manager and shaper
3 years ago
Steven Kirk
994897a023
Initialize EffectiveValue with inherited value.
Fixes #10345
3 years ago
Steven Kirk
3e81ed8fbc
Revert to LocalValue when animation completes.
Fixes #10255 .
3 years ago
Max Katz
e6b8914b7d
Rename TryGetFileFromPath-like method to end with Async suffix
3 years ago
Max Katz
696c5232e7
Rename StartBrowserApp-like methods to end with "Async" suffix
3 years ago
Max Katz
49a6cbd5a6
Use polyfill for open file and directory dialogs
3 years ago
Max Katz
bd1928efac
Refactor Browser and Blazor startup code
3 years ago
Max Katz
d1c329e819
Pass file extensions to the browser backend in the file picker
3 years ago
Max Katz
e975468e92
Remove unused CanOpenRead/CanOpenWrite
3 years ago
Julien Lebosquain
199d667820
Lazy initialized Win32 pointer info buffers
3 years ago
Tom Edwards
75a47777c2
Clean up diagnostic descriptions
3 years ago
Tom Edwards
1269b19bfc
Fix spelling errors, improved grammar
3 years ago
Tom Edwards
0b7851fd92
Added SuperfluousAddOwnerCall
3 years ago
Tom Edwards
e372338e71
Added PropertyOwnedByGenericType
Disable analyzer release tracking message; this analyzer won't be released separately any time soon
3 years ago
Tom Edwards
28c1f6c32b
Added SettingOwnStyledPropertyValue
3 years ago
Tom Edwards
884c85bc1a
Generalise INamedTypeSymbol to ITypeSymbol
Cache ownerType method params
3 years ago
Tom Edwards
2b68e42e31
Added InappropriatePropertyRegistration and UnexpectedPropertyAccess
Fixed AttachedProperty registrations in non-AvaloniaObject types not being detected
Optimised parameter lookup
3 years ago
Tom Edwards
ebcb512c83
Don't report property name mismatches if the field being assigned to is private
3 years ago
Tom Edwards
d78bcfaa39
Optimisation: convert all collections to immutable forms at the end of FindAvaloniaPropertySymbols
Optimisation: move CLR property wrapper detection into FindAvaloniaPropertySymbols
Don't start analysis if we can't locate AvaloniaObject
3 years ago
Tom Edwards
df9a80c866
Detect AvaloniaProperties in static constructors, and with string literal names
Follow conversion and assignment operations back to their source
Narrowed the report location of several diagnostics
3 years ago
Tom Edwards
1fbd4ab801
Added Avalonia.Analyzers and ten diagonstics
3 years ago
Daniil Pavliuchyk
4ad731ea60
Fix nullability issues
3 years ago
Steven Kirk
c9bb9f2c01
Don't add duplicate logical children.
3 years ago
Emmanuel Hansen
ad56e9d20b
clear composition region when presenter is changed
3 years ago
Emmanuel Hansen
2dd48be45f
remove leftover debug code
3 years ago
Max Katz
d27936af67
Android and browser internals
3 years ago
Max Katz
33f9fe68b2
macOS and iOS internals
3 years ago
Max Katz
f91361a24c
Cleanup linux related APIs
3 years ago
Max Katz
8a322d616f
Cleanup Skia internal APIs
3 years ago
Max Katz
842556177d
Windows specific cleanups
3 years ago
Max Katz
4fc1995246
Make AvaloniaProperty.Register overload with "notifying" parameter internal
3 years ago
Wiesław Šoltés
37f5f50212
Update Layoutable.cs
3 years ago
DJGosnell
4a0a5e68d6
Fix for netstandard2.0.
3 years ago
Daniil Pavliuchyk
02906a6234
Add SliderAutomationPeer
3 years ago
Steven Kirk
5d66bd0c0e
Refactored common code into separate method.
3 years ago
Emmanuel Hansen
7e33d7a235
Add Composition Start and End properties to TextEditable
3 years ago
Steven Kirk
fcf1ce74c9
Use TryGetEffectiveValue.
For consistency with the other methods.
3 years ago
Steven Kirk
15a0fd6a3f
ClearLocalValue => ClearValue.
It no longer just clears the local value, and the method on `AvaloniaObject` is called simply `ClearValue` so makes sense to use the same naming here.
3 years ago