Jeremy Koritzinsky
23d252f608
Cleanup legacy build/test files.
8 years ago
Jeremy Koritzinsky
2cd66f4d49
Fix PropertyParserTests.
8 years ago
Dan Walmsley
7d28d1b2ab
fix failing unit test.
8 years ago
WojciechKrysiak
ec57b63908
Implemented cancelling ContextMenu opening/closing. ( #1781 )
8 years ago
MonkAlex
e69f3c7f85
#1798 Test for binding checkbox with three state.
8 years ago
Dan Walmsley
5062f823b3
rename stackpanel Gap property to Spacing property.
8 years ago
wojciech krysiak
03e8594451
Bug reproduction unit test
8 years ago
Steven Kirk
dc6f14e775
Reader -> CharacterReader
And moved `CharacterReader` and `IdentifierParser` into Avalonia.Utilities.
8 years ago
Steven Kirk
62526bef35
Don't disallow setting unregistered properties.
The changes made to the animation system in #1768 currently needs to be able to set any property on any object in order for animations on transforms to work.
8 years ago
Jeremy Koritzinsky
e0be7353a8
Fix tests that broke from the API change.
8 years ago
Steven Kirk
5210926c03
Disallow setting unregistered properties.
8 years ago
Steven Kirk
ffcaa545bb
Added PropertyParser.
So we don't need to use a regex to parse property strings.
8 years ago
Steven Kirk
16e274d29a
Added some unit tests for #1764 .
8 years ago
Benedikt Schroeder
c0dd75bcce
Refactoring
Add interpolation to TileBrush
8 years ago
Dan Walmsley
ee55b4fa3d
bug is in selecting items control. add failing unit test.
8 years ago
Benedikt Schroeder
f6c9aa88b9
Naming fixes
8 years ago
Benedikt Schroeder
4d525aac6c
Code style
8 years ago
Luis Silva
e1ddeee321
Created new test
Created new test to determine if StackPanels with gaps add gaps for invisible children.
8 years ago
Jeremy Koritzinsky
274d8d8e82
Fix #1717
8 years ago
Steven Kirk
b163892a7d
Make TemplateBinding.Converter work.
Also:
- Add some unit tests
- Make `TwoWay` bindings back to the parent control work at `LocalValue` priority
Fixes 1737
8 years ago
CommonGuy
e7275f34fb
Call AddOwner on Slider.Orientation instead of declaring a new property
8 years ago
Jeremy Koritzinsky
e2020f3012
Fix mock setup.
8 years ago
Steven Kirk
27589e87a8
Don't create virtualizer before panel.
Otherwise, an `ItemVirtualizerNone` is created which can materialize all items, even if `ItemVirtualizationMode.Simple` is set.
Hopefully fixes #1707 .
8 years ago
Jeremy Koritzinsky
00f8dfabc0
Use SingleOrQueue instead of Queue in DeferredSetter. Make sure tests pass.
8 years ago
José Pedro
f32e71c977
Fixed Window.Close, so that Closing is only invoked once.
8 years ago
Benedikt Schroeder
370bfe3c82
Support double values that start with a dot for implicit commands
8 years ago
Benedikt Schroeder
ac8342ebf8
Allow lower case e for scientific notation
8 years ago
Steven Kirk
9c1c8749dd
Added failing test for #1709 .
8 years ago
Steven Kirk
9ccf63d51b
Add failing test for clearing templated child's parent.
8 years ago
Benedikt Schroeder
b3cfc22e27
Add scientific notation support for double values
8 years ago
Karnah
48dd3b94d1
Using transparent brush when image source is null
8 years ago
Steven Kirk
27daffeb3e
Abstracted storage of styled values into ValueStore.
8 years ago
Steven Kirk
af7e139ed4
Added failing test for #1698 .
8 years ago
Steven Kirk
b8f127fce7
Reimplemented TemplateBinding.
Rather than just use a standard `Binding`, make `TemplateBinding` a lightweight binding in the case where the binding is simply to a property on the templated parent.
8 years ago
Steven Kirk
0c078c9dec
Don't use rx for ExpressionNodes.
`ExpressionNode`s were always single-subscriber and making them use `IObservable<>` meant that we had to have extra allocations in order to return `IDisposable`s. Instead of using `IObservable` use a simpler `Subscribe`/`Unsubscribe` pattern. This saves a bunch more memory.
8 years ago
Steven Kirk
a3dea23560
Use LightweightObservableBase for BindingExpression.
8 years ago
Steven Kirk
fcbde80682
Added a couple of tests.
9 years ago
Steven Kirk
de35eb9fee
Updated ActivatedSubject.
Can be expressed more cleanly given the new `ActivatedObject`.
9 years ago
Steven Kirk
0945478357
Fix grammar.
8 years ago
Steven Kirk
6a14747eb6
StringFormatConverter -> StringFormatValueConverter
8 years ago
Steven Kirk
740b6073f0
Escape braces in format string.
8 years ago
Karnah
d8615643dd
Fixed NullReferenceException for ImageBush with null Source
8 years ago
Nelson Carrillo
88bfdf87ea
Skia backend cleanup.
8 years ago
Steven Kirk
70440517ca
Initial implementation of StringFormat.
XAML tests failing because of https://github.com/cwensley/Portable.Xaml/pull/106
8 years ago
Jeremy Koritzinsky
63ec705748
Remove extraneous whitespace in tests.
8 years ago
Benedikt Schroeder
977010de95
Added unit tests
8 years ago
Benedikt Schroeder
90fdfae3bd
Remove invoke call on Application.Run
8 years ago
Benedikt Schroeder
0214939fd3
Add unit test
8 years ago
Benedikt Schroeder
7e8f9fbf61
Add NullArgumentException for Run with main window
8 years ago
Jeremy Koritzinsky
1b2d644e48
Make tests in Avalonia.Base.UnitTests use ExpressionObserver.Create. For tests that require using invalid members or are more tedious to test with expression trees, test them in Avalonia.Markup.UnitTests with ExpressionObserverBuilder.
8 years ago