Max Katz
c2e00428df
Remove AppBuilderBase and generics
3 years ago
Emmanuel Hansen
586c3350dc
adds tests
3 years ago
Max Katz
b3eab25240
Fix tests build
3 years ago
Max Katz
8a78f134c5
Remove JetBrains.Annotations from the repo
3 years ago
Steven Kirk
02fe8bcd4b
Fix missing FontManagerImpl exception.
3 years ago
Steven Kirk
40228a3886
Ensure required assemblies are loaded.
And ensure the ResUri parsers are initialized.
3 years ago
Steven Kirk
4f6d51e166
Add tests for property binding threading.
- Added a failing tests for styled property binding with threading
- Made direct property test actually confirm that binding was done on UI thread
3 years ago
Steven Kirk
fdc4a4c497
Added WindowClosingEventArgs.
Fixes #9524 .
3 years ago
Steven Kirk
58b404a3ab
Added failing test for #7974 .
3 years ago
Benedikt Stebner
895d85aa89
Implement CharacterBufferReference and related classes
3 years ago
Daniil Pavliuchyk
6b8b5d78f4
Rework focus so we don't return focus to the lastly enabled element
3 years ago
Glen Nicol
2a5dceecbb
Feature: Double click expand/collapse treeview and numpad keyboard shortcuts
3 years ago
Steven Kirk
f4eeb82a58
Actually dispose DisposeAnimationInstanceSubject.
We were creating a `DisposeAnimationInstanceSubject` and then just discarding it, meaning it was never disposed.
Fixes #6111
Fixes #9514
3 years ago
Steven Kirk
23e45beb90
Fix integration tests on macOS.
3 years ago
Steven Kirk
003923b50d
Fix integration tests on Windows.
We need to be explicit about which element we're talking about when there are two elements with the same content, and so use accessibility IDs rather than Name.
3 years ago
Nikita Tsukanov
eaf2ce38a4
Context management
3 years ago
Max Katz
bdceb1c3df
Do not require matching ctor, if top level element
3 years ago
Daniil Pavliuchyk
80e1e1eb4c
Disabled controls should lose focus and don't accept keyboard events
3 years ago
Steven Kirk
387728fb2d
Added failing test for animations without activator.
Mentioned in #9561 .
3 years ago
Steven Kirk
58b5eeb9d2
Added failing tests for #9561 .
3 years ago
robloo
932d52dcf3
Standardize Default members in Size
3 years ago
robloo
3fc6a51571
Remove Rect.Default
3 years ago
daniel mayost
aa31daecde
Move FlowDirectionTests to Avalonia.Base.Tests
3 years ago
daniel mayost
4fae1b6e7a
Move FlewDirection to Visual and fix tests
3 years ago
Max Katz
526d9d052b
Avalonia.Base and controls related project trimming attributes
3 years ago
Max Katz
de039015ca
Small cleanup of warnings
3 years ago
Steven Kirk
306ac0e21a
Throw an exception on unit test assertion fail.
3 years ago
robloo
509ebddcc4
Standardize Default member in Rect
3 years ago
Giuseppe Lippolis
2aa79269e8
fix: Address reviw
3 years ago
Max Katz
6ed60610c9
Add ServiceProvider to the xaml runtime loader too
3 years ago
Dan Walmsley
1af7eb6f3a
fix window showdialog, and show raising exceptions when incorrect behavior is used.
3 years ago
Max Katz
de9e9580c0
Pass parent's service provider to the StyleInclude, so parents stack is complete
3 years ago
Max Katz
c03187ff7c
Add a new benchmark
3 years ago
Max Katz
390221b3ce
Implement compile time MergedDictionaties
3 years ago
Nikita Tsukanov
a2ba58c0f9
Added some tests for composition animations
3 years ago
Max Katz
98cf91c385
Properly support relative Uris in StyleInclude/ResourceInclude
3 years ago
Steven Kirk
f480455131
Added failing test for #9565 .
And another (passing) test for checking that window order is correct when a child window is shown in fullscreen.
3 years ago
Dan Walmsley
7d6932bd5e
add failing unit tests.
3 years ago
Benedikt Stebner
173f5e1b6e
Update test file
3 years ago
Steven Kirk
6f03f1c3d6
Removed ITemplatedControl.
3 years ago
Steven Kirk
8347093f90
Removed IInteractive.
3 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
3 years ago
Max Katz
c8120fbbe7
Update tests with "LoadGroup" method instead of assetloader hacks
3 years ago
Max Katz
4460de529e
Implement multiple documents loading and transforming in AvaloniaRuntimeXamlLoader
3 years ago
Steven Kirk
e074a70187
Refactored style invalidation/removal.
3 years ago
Steven Kirk
c29ed43e0e
Move attaching styles in tests to a helper.
The API is now internal, so this should prevent churn in the tests when the API changes.
3 years ago
Steven Kirk
1945345cd1
Rename TemplatedParent priority to Template.
It no longer represents just `TemplatedParent` bindings, but every value or binding created by a template.
3 years ago
Steven Kirk
326dac2328
Refactored how we switch control themes.
Instead of simply wiping all control themes and styles that are applied to a control, we can now just remove the `ValueFrame`s which relate to the control theme that was changed.
To do this, added `ValueFrame.FramePriority` which encodes both the `BindingPriority` and source of the frame (style, control theme, templated parent control theme).
3 years ago
Steven Kirk
273124603f
Added benchmark for changing control theme.
3 years ago
Steven Kirk
086c2c7e70
Don't apply styling in TopLevel ctor.
Applying styling in the constructor isn't a good idea as demonstrated by #8549..
Instead apply styling when showing a window, or if it's needed call `ApplyStyling` manually, e.g. in unit tests.
Fixes #8549
3 years ago