Andrey Kunchev
dd864dd5c9
add a test for same situation for direct2d
6 years ago
Andrey Kunchev
44fa2152bd
add failing test for #3376
6 years ago
Steven Kirk
11a714dbf7
Use Size not PixelSize in ImageTests.
`Image` now bases the size of a bitmap on `IImage.Size`.
6 years ago
Steven Kirk
a8e75384b7
Added IImage interface.
`IImage` represents a base interface for raster and vector images. `IBitmap` now implements this interface and `DrawingContext` accepts this interface in `DrawImage`.
The interface defines a `Draw` method which introduces a level of indirection for drawing the image through the image itself.
Renamed `IDrawingContextImpl.DrawImage` to `DrawBitmap` as this only handles drawing bitmap images. `Bitmap` now calls this method directly on the platform implementation.
6 years ago
Steven Kirk
062ec0ccb6
Added Image.StretchDirection.
But not yet implemented.
6 years ago
Steven Kirk
a0f72ff47c
Added failing tests for #3371 .
6 years ago
Steven Kirk
3a914c282b
Don't declare property fields AvaloniaProperty<>.
Instead use `StyledProperty<>`.
6 years ago
José Pedro
6fabfdc561
Fixed BindingExtension.TargetNullValue default value.
6 years ago
Luis von der Eltz
d88640b1ea
!B Fixing test
6 years ago
Luis v.d.Eltz
e89d5af718
Adding unit test
6 years ago
macpawluk
b773238c0e
Unit tests covering issues of ImmediateRenderer with transformed children
6 years ago
Andrey Kunchev
b1cc2a1d9c
enable valid xamlil test (disabled before because of portable.xaml)
7 years ago
Andrey Kunchev
73be933bd0
add failing test for ControlTemplate can't be added to resources #3145
7 years ago
Andrey Kunchev
97f57c7bec
add test for style resources
7 years ago
Andrey Kunchev
a04d0b7bbb
add failing test for ControlTemplate don't respect TargetType
7 years ago
Benedikt Schroeder
7901f6f09f
Fix some comments and GlyphRun.GetDistanceFromCharacterHit
7 years ago
Benedikt Schroeder
ab5e062deb
Add GlyphRun support
7 years ago
Benedikt Schroeder
e704823ced
Introduce a struct enumerator implementation for ReadOnlyList that can be reused
7 years ago
Steven Kirk
601abac056
Set resource parent for merged dictionaries.
Allows `DynamicResource` and `StaticResource` in merged resource dictionaries to work properly.
Fixes #3323
7 years ago
Steven Kirk
c2f3f3fdf2
Added failing tests for #3323 .
7 years ago
Benedikt Schroeder
1b0221e224
Reworked the font manager to better manage resoures and also work properly with the application lifetime
7 years ago
Steven Kirk
ce5f884e08
Added failing test for #3321 .
7 years ago
Benedikt Schroeder
527d8376d7
Combine draw and fill rectangle drawing operation
7 years ago
Steven Kirk
b8b8e3f8cc
Fix IWindowImpl mocks to call Close on Dispose.
7 years ago
Jumar Macato
e23da28731
Remove obsolete unit test.
7 years ago
Steven Kirk
d5dc470416
Fixed issue with LocalValue and bindings.
7 years ago
ahopper
8879d4c92d
added benchmark
7 years ago
Dariusz Komosinski
ef8cbf07f7
Rename benchmark file.
7 years ago
Dariusz Komosinski
8e60e83d4c
Reduce memory usage of binding operations.
7 years ago
Steven Kirk
8ed800ad71
I did the merge wrong.
Delete some files that should have been deleted in merge.
7 years ago
Steven Kirk
24f11bba18
Simplify test controls in styling unit tests.
Making a change to interfaces was becoming a pain because of this.
7 years ago
José Pedro
1ba4c68a35
Implemented TargetNullValue for bindings.
7 years ago
Dariusz Komosinski
b1ec049054
Simplify lowest common ancestor code.
7 years ago
Dariusz Komosinski
6be21fb36c
Add more unit tests.
7 years ago
Steven Kirk
b8717bf6dc
Tidy up API.
7 years ago
Steven Kirk
0cfa15913d
Remove ignored validate parameter.
7 years ago
Steven Kirk
6be3acb46c
Make ValueStore typed.
Major refactor of the Avalonia core to make the styled property store typed.
7 years ago
Steven Kirk
fc2439e0cf
Added some benchmarks for styled properties.
7 years ago
Dariusz Komosinski
7a13d819fd
Optimize and add new efficient visual tree extensions.
7 years ago
Dariusz Komosinski
993840a612
Improve measure benchmark.
7 years ago
Dan Walmsley
ca60f9e70d
add unit test
7 years ago
Benedikt Schroeder
e2ff454085
Add failing tests
7 years ago
Dan Walmsley
5b3e2320a8
remove unit tests, skia and direct2d behave differently and making them match is beyond the scope of this bug fix.
7 years ago
Dan Walmsley
620be6f105
add failing unit test for empty textbox hit test.
7 years ago
Steven Kirk
15dfb88fe7
Update tree item container index dynamically.
Update `TreeItemContainerGenerator.Index` when a `TreeViewItem` is added to or removed from the logical tree. This ensures that removed `TreeViewItem`s won't try to add duplicate containers to the index.
Fixes #2985
7 years ago
Steven Kirk
1cd113182c
Added failing test for #2985 .
7 years ago
Andrey Kunchev
f3bb98756f
add tests for #3165
7 years ago
mstr2
e1df65c94b
Failing unit test for #3197
7 years ago
Benedikt Schroeder
46d3a91652
Add missing mocks
7 years ago
Benedikt Schroeder
83bfb8ec70
Initial implementation of a font manager
7 years ago