robloo
0863a05c76
Rename PointerLeave to PointerExited
4 years ago
robloo
8a0903f616
Rename PointerEnter to PointerEntered
4 years ago
robloo
017788cd8e
Add Loaded/Unloaded Events ( #8277 )
* Add Loaded/Unloaded events
* Don't allow OnLoaded() twice unless OnUnloaded() is called
* Call OnLoadedCore within Render()
* Call OnLoadedCore() from OnAttachedToVisualTreeCore by scheduling it on the dispatcher
* Improve comments
* Queue loaded events
* Make the loaded queue static
* Make more members static per review
* Make sure control wasn't already scheduling for Loaded event
* Add locks around HashSet usage for when enumerating
* Remove from loaded queue in OnUnloadedCore() as failsafe
* Make Window raise its own Loaded/Unloaded events
* Attempt to fix leak tests to work with Loaded events
* Make WindowBase raise its own Loaded/Unloaded events
* Move hotkey leak tests to the LeakTest project
* Address some code review comments
* Attempt at actually queueing Loaded events again
* Fix typo
* Minor improvements
* Update controls benchmark
Co-authored-by: Max Katz <maxkatz6@outlook.com>
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
4 years ago
Steven Kirk
4f4f291b2d
Move mac-specific tests to a separate file.
And tidy stuff up a bit.
4 years ago
Steven Kirk
c9e10f0d2f
Added additional failing test.
Exposed by the previous fix for #8372 : re-entrancy in `PropertySetterInstance.Dispose()` is causing detaching a style to call `ClearValue` on the property. Previously this wasn't a problem as `ClearValue` didn't work, but now it is.
(Also added one passing test which tests the same scenario in `PropertySetterBindingInstance` for future coverage)
4 years ago
Steven Kirk
64518efc51
Add failing test for #8372 .
4 years ago
Steven Kirk
8b9e675bd4
Refactor PlatformFact.
To make it inclusive rather than exclusive.
4 years ago
Steven Kirk
8c3424baa4
Refactor OSX window tests a bit.
Try not to rely on `_session.ResetApp();` because restoring the application state in the tests tends to show up more errors (which this change has done: https://github.com/AvaloniaUI/Avalonia/issues/8335#issuecomment-1162804733 )
4 years ago
Steven Kirk
860fcc524d
Refactor how we show windows.
Trying to make it a little less hacky. Only tested on Win32 so far.
4 years ago
Benedikt Stebner
7f347308f1
Update generator
4 years ago
Benedikt Stebner
608238211b
Disable trie generation
4 years ago
Benedikt Stebner
f6c5dbe5ea
First naive attempt to get zero reflection unicode data
4 years ago
Benedikt Stebner
6502fa1ef7
More TextAlignment fixes
4 years ago
Ahmed Fawzy
7698505770
Removed tests which collided with removing the _ignoreTextChanges field
4 years ago
Benedikt Stebner
3dfad3bc79
Remove redudant test
4 years ago
Benedikt Stebner
9cfac4dd3f
FIx GeometryGroup.Children parent handling
4 years ago
Benedikt Stebner
71aba01b10
Implement FormattedText.BuildGeometry
4 years ago
Benedikt Stebner
e48c984443
Update tests
4 years ago
Benedikt Stebner
020c8de59e
Fix mocks
4 years ago
Benedikt Stebner
73c06b323e
Skia - Correctly translate current position when multiple glyphs are added to a path
4 years ago
Benedikt Stebner
7a533700d0
Implement GlyphRun.BuildGeometry
4 years ago
Dan Walmsley
236d10bf64
discard unused params
4 years ago
Dan Walmsley
0b4ea2b1eb
add unit test.
4 years ago
Giuseppe Lippolis
3b9a34274a
feat(IDispatcher): Add void Post(Action<object> action,object arg, DispatcherPriority priority = default);
4 years ago
kaminova
0907e9519a
Fix test
4 years ago
kaminova
987a69aafb
spaces
4 years ago
kaminova
eaf8fec5cf
Test for matrix inversion
4 years ago
Patrick Tellier
e47b742d3e
Use own Pen (if set) in GeometryDrawing.GetBounds
4 years ago
Max Katz
210727175a
Add simple IsDefault/IsCancel tests
4 years ago
Dan Walmsley
a0af269d36
reset app after most tests, add test for fullscreen mode with modal osx.
4 years ago
Dan Walmsley
827692fa27
add test for osx modal dialog window order when clicking resize grip of parent.
4 years ago
Steven Kirk
902703fbed
Allow nested styles inline in parent style XAML.
Removes the need to enclose nested styles in a `<Style.Children>` element in XAML.
4 years ago
Dan Walmsley
97cb3a68f0
Add unit test.
4 years ago
Dan Walmsley
1917def959
full set of window tests for osx.
4 years ago
Dan Walmsley
a70dadea18
simplify test.
4 years ago
Dan Walmsley
a7713dcda9
add a unit test for child window order osx.
4 years ago
Dan Walmsley
0d6e3a55f0
add test to show that osx chrome buttons are disabled when modal dialog is opened.
4 years ago
daniel mayost
b6e66047f2
add fixes
4 years ago
Max Katz
bc6d5ec87d
Add tests
4 years ago
daniel mayost
5bf28b671d
some fixes
4 years ago
daniel mayost
c77c500bcd
fixes tests
4 years ago
daniel mayost
402790ba86
improve UpdateFlowDirection
4 years ago
Max Katz
bc2179b337
Add XDataType_Should_Be_Ignored_If_DataType_Has_Non_Standard_Name test
4 years ago
Steven Kirk
33f6974df1
Added failing test for Viewbox layout.
4 years ago
Takoooooo
b0f7871eec
Don't allow bindings to private methods.
4 years ago
daniel mayost
05db047d29
typo
4 years ago
daniel mayost
03e01a6e55
initial working
4 years ago
Steven Kirk
4c8240b7bf
Added integration tests for WindowStartupLocation.
4 years ago
Max Katz
1d9645f01f
Validate DataTemplates
4 years ago
Max Katz
d2af5dbcac
Implicitly map x:DataType to a DataType on a DataTemplate.
4 years ago