Jeremy Koritzinsky
bc882f5b11
Add back NetFX.props framework path overriding.
8 years ago
Jeremy Koritzinsky
18f436a2c3
Clean up unused code warnings and malformed doc comments.
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
Dan Walmsley
3536496f21
Add test for when carousel Items is reset and virtualized.
8 years ago
Dan Walmsley
612d99d01e
use GetVisualDescendents in test.
8 years ago
Dan Walmsley
2a78b5e9c2
Add unit test and Fix for case where TemplateApplied when SelectedIndex is already set.
8 years ago
Dan Walmsley
2900333f69
Add test to ensure SelectedIndex / SelectedItem is maintained when
items are removed mid-list.
8 years ago
Dan Walmsley
65d57262b2
Add unit tests to demonstrate the issues with Carousel
8 years ago
CommonGuy
ab36f86325
Add the NewLine property to TextBox
8 years ago
Jeremy Koritzinsky
c2d95fbd57
Added unit test for remote designer in Win32 mode.
8 years ago
Jeremy Koritzinsky
68309101e4
Remove legacy designer.
8 years ago
Jeremy Koritzinsky
e3686ab10d
Fix intermittent test failures introduced by accidental possible inter-test dependency that caused a test to fail when a different (moved over from the refactor) test ran before it.
8 years ago
Jeremy Koritzinsky
72708cae67
Fix namespace build break.
8 years ago
Jeremy Koritzinsky
b38b46a280
PR Feedback.
8 years ago
Jeremy Koritzinsky
da0ab8b681
Move the styling system up the stack to live right below Avalonia.Animation since it has no dependencies on anything further down the dependency chain
8 years ago
Jeremy Koritzinsky
cf8244b37a
Move current contents of Avalonia.Markup to Avalonia.Base. Move Avalonia.Markup.Xaml.Data/Parser classes to Avalonia.Markup since they're not Xaml-specific.
Use pattern-matching switch.
Fix bug from cleanup.
8 years ago
Jeremy Koritzinsky
63daa04852
Fix intermittent test failure introduced by font tests
8 years ago
Benedikt Schroeder
d550526936
Unit test fix
8 years ago
Benedikt Schroeder
f3f750cf86
Cleanup
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
Benedikt Schroeder
a10a756366
IAssetLoader changes
Rename resource to asset
8 years ago
Dan Walmsley
8266621d65
fix nits.
8 years ago
Unknown
92ad156d83
Add test that default value of TextBlock.Text property is empty string.
8 years ago
Unknown
18c963aac9
Add test for password char on TextPresenter.
8 years ago
Unknown
4b5ce0cf40
add failing unit test.
8 years ago
Benedikt Schroeder
5a5be9e767
Requested changes
8 years ago
Jeremy Koritzinsky
8d8480c086
Allow indexer bindings to be at the start of a binding path.
8 years ago
Steven Kirk
25ed770790
Fix raising property changed for attached property.
Raise a property changed event for attached properties when `InheritanceParent` is set. This was broken by #1499 .
Fixes #1576
8 years ago
Steven Kirk
ffeefabf1c
Update ControlCatalog.Desktop output dir.
The output path has changed from `bin\Release` to `bin\Release\net461`.
8 years ago
Steven Kirk
b615be746a
Added a few StringTokenizer tests.
8 years ago
Steven Kirk
4025522680
Skip failing test for now.
As I can't work out why it's only failing on AppVeyor.
Also fix typo in its name.
8 years ago
Benedikt Schroeder
0c7c69dbe7
First unit tests
8 years ago
Steven Kirk
44fe6aa6ac
Fix failing unit tests.
AvaloniaProperty registrations are for life (of the test runner) not for christmas.
8 years ago
Steven Kirk
7d8dcc02ec
Added failing test for #1568
8 years ago
walterlv
3f1a5ed009
Remove language usage condition.
8 years ago
walterlv
2052d53d68
Order the grid codes and make most unit test passed.
8 years ago
walterlv
163744b89b
Add support for layout that the children have multi span but also have desired size.
8 years ago
walterlv
cae8a2ab5c
Add not enough length unit test for all test facts.
8 years ago
walterlv
a0518955f5
Grid layout support positiveinfinity measure.
8 years ago
walterlv
fc73d7cc37
When the available length is not enough, clip the measure list.
8 years ago
walterlv
e403299bb2
Use a new algorithm to layout Grid.
8 years ago
walterlv
b135f988e4
Try to use new algorithm to measure and arrange Grid.
8 years ago
walterlv
b9d71860ff
Add a new version of Grid layout. and its performance may be better than the original one.
8 years ago
walterlv
b8bebd634d
Add unit test for grid layout:
- start row column with min length.
8 years ago
walterlv
431407437b
Add unit test for grid layout:
1. Pixel row column
1. Start row column
1. Mix pixel star row column
8 years ago
Steven Kirk
7588b16044
Reworked TypeConverters.
I started fixing #1559 and decided to rework our `TypeConverter` infrastructure a bit.
This PR renames `AvaloniaDefaultTypeConverters` to `AvaloniaTypeConverters` and allow registration of 3rd party converters here.
`AvaloniaTypeConverters` improves upon the type converter functionality in the BCL by providing the followinng extra functionality:
- Allow registering non-constructed generic types (such as `AvaloniaList<>`) - `AvaloniaTypeConverters` will do the sensible thing and create an `AvaloniaListConverter<T>` with the correct type
- If no type converter is provided, look for a a static `Parse(string)` method which can be used to create an implicit type converter
This allows us to remove a bunch of `TypeConverter`s which just called the relevant `Parse` method.
Fixes #1559
8 years ago