Steven Kirk
4a386d1b84
Added skipped failing leak test for transitions.
It's leaking on master too, so address this separately.
7 years ago
Nikita Tsukanov
657447ff0c
Reproed binding issue
7 years ago
Nikita Tsukanov
d0301bb4c4
Now passing most of the tests
7 years ago
Nikita Tsukanov
dbf6c3a148
Entire control catalog is now loaded from precompiled xaml
7 years ago
Dariusz Komosinski
1b869ff27b
Get rid of not needed interfaces.
7 years ago
Dariusz Komosinski
12fc28e2d0
Add mocks for geometry impls.
7 years ago
Dariusz Komosiński
8534769435
Platform geometry implementations for D2D and Skia.
7 years ago
Steven Kirk
fafa695257
Use recommended ContentControl pattern.
7 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
7 years ago
Jeffrey Ye
3a28179704
return new string[0] from mock interfaces
7 years ago
Jeffrey Ye
2ed745d493
#2222 Get all fonts in the system
7 years ago
Nikita Tsukanov
343905ebb3
Generate asset resource info with paths
7 years ago
Jeremy Koritzinsky
acb3d46ca0
Enable generating NuGet packages via the MSBuild Pack target.
8 years ago
Nikita Tsukanov
e00f0f0385
Platform-specific key gestures
7 years ago
Steven Kirk
a0e8dca6e9
Use PixelSize for device-dependent sizes.
8 years ago
Steven Kirk
afdfb28da8
Added failing tests for brush invalidation.
8 years ago
Steven Kirk
0b4e6b8471
Make centralized RenderLoop.
- Renamed `RenderLoop` to `RenderTimer`
- Added new `RenderLoop` which `DeferredRenderer`s register themselves with for updates
8 years ago
Nicolas Musset
0befa22692
Support invoking a task in the dispatcher.
8 years ago
Nicolas Musset
434bf0d3db
Support invoking a function in the dispatcher.
8 years ago
Jeremy Koritzinsky
87a91e186c
Clean up usage of global ILayoutManager from after this PR was originally created.
8 years ago
Jeremy Koritzinsky
4ec647b870
Make our unit tests support library (Avalonia.UnitTests) target netstandard2.0 so we don't have to worry about targetting .NET Framework on linux.
8 years ago
Jeremy Koritzinsky
bc882f5b11
Add back NetFX.props framework path overriding.
8 years ago
Jeremy Koritzinsky
df593b3a80
Get leak tests running again in the build script. They were removed at some point. Also, update the tooling used and clean up the code for running them.
8 years ago
Benedikt Schroeder
a59cf3a135
New asset loader
Added unit test for wildcard
8 years ago
Benedikt Schroeder
f609c9c5d9
Cleanup
8 years ago
Benedikt Schroeder
3bec8036a7
Initial
8 years ago
Benedikt Schroeder
2c8953de97
Requested changes
8 years ago
Benedikt Schroeder
33ea1925c7
Fixed unit tests
8 years ago
Steven Kirk
1ee4fa47f9
Tweak IAssetLoader API and fix tests.
8 years ago
ahopper
e967a8eb72
rename WritableBitmap
8 years ago
Nikita Tsukanov
fee5b4e594
Support default clr-namespace when loading XAML from Uri or previewer
8 years ago
Steven Kirk
30e78dc5b6
Only run unit tests on .net core.
This allows us to run them on linux.
8 years ago
Steven Kirk
d2e1eba876
Refactored geometry.
There were a number of problems with `Geometry` and its subclasses and platform implementations. Fix these, for more details see the PR that this commit is a part of.
8 years ago
Steven Kirk
64ed0761c7
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
8 years ago
Jeremy Koritzinsky
abe1afbb01
Retarget base unit tests library (that is just included in tests) back to net461.
8 years ago
Jeremy Koritzinsky
bc3e3cb25d
Update project file for Avalonia.UnitTests to use net47 instead of net461
8 years ago
Jeremy Koritzinsky
eb7c010462
Retarget .Net Framework projects to 4.7
Works around dotnet/standard#567 .
8 years ago
Steven Kirk
e6b5df8d08
Simplified DeferredRendererTests,
8 years ago
Nikita Tsukanov
a4c9f1e400
Make ShapeLayoutTests use MockPlatformRenderInterface
8 years ago
Steven Kirk
685a509c5c
Reimplement commented-out tests.
8 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Steven Kirk
4a9302b61e
More work on static resources.
Also found a scenario that Portable.Xaml can't seem to handle...
9 years ago
Steven Kirk
84aa27162f
Made a start adding Control/Application.Resources.
9 years ago
Steven Kirk
d2eca3968b
Removed IRendererFactory.
Make the `ITopLevelImpl` create the renderer instead.
9 years ago
Steven Kirk
2f5d8e2d1e
Fix merge error.
9 years ago
Steven Kirk
bb11b302b8
Added failing unit test for #277 .
9 years ago
Steven Kirk
78bb593f97
Use CurrentCulture instead of CurrentUICulture.
Use `CurrentCulture` instead of `CurrentUICulture` in converters etc. `CurrentUICulture` should be used for translations, `CurrentCulture` should be used for things like numbers, dates etc.
9 years ago
Steven Kirk
309c9f7a4b
Added some LayoutManager tests.
Some passing, some failing.
9 years ago
Wiesław Šoltés
1f9426b345
Fix InvariantCultureFixture
9 years ago
Wiesław Šoltés
9247a82ea8
Updated XUnit props
9 years ago