Steven Kirk
f8b4bf6df3
Added new keyword.
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
Steven Kirk
71c3cb3b72
Added failing assert for #1559 .
8 years ago
Wiesław Šoltés
f327ef4cd5
Merge pull request #1556 from wieslawsoltes/Fix1555
Add GetPosition method to DragEventArgs
8 years ago
Wiesław Šoltés
3fb17af571
Remove null check
8 years ago
Wiesław Šoltés
7b56a5cc1c
Remove code duplication
8 years ago
Wiesław Šoltés
ee0c3dfa94
Add GetPosition method to DragEventArgs
8 years ago
Wiesław Šoltés
73b9c40214
Merge pull request #1552 from AvaloniaUI/fixes/1548-custom-control-attached-property
Fix attached member namespace resolution
8 years ago
Wiesław Šoltés
496520defb
Merge branch 'master' into fixes/1548-custom-control-attached-property
8 years ago
Steven Kirk
c5090ee275
Merge pull request #1546 from boombuler/FixMouseCursorUpdate
force mousecursor if the mouse is over the window
8 years ago
Steven Kirk
9fdd58ef78
Merge branch 'master' into FixMouseCursorUpdate
8 years ago
Steven Kirk
6a6662df92
Fix attached member namespaces resolution.
Updated Portable.Xaml to include fix from https://github.com/cwensley/Portable.Xaml/pull/96
8 years ago
Steven Kirk
6dfd705660
Added failing test for #1548 .
Caused by a bug in Portable.Xaml: https://github.com/cwensley/Portable.Xaml/issues/95
8 years ago
Steven Kirk
c5b94d663b
Merge pull request #1389 from AvaloniaUI/local-assembly-for-xaml
Support default clr-namespace when loading XAML from Uri or previewer
8 years ago
Steven Kirk
3f617a9081
FIx failing designer support test.
`Assembly.LoadFile` doesn't like relative paths.
8 years ago
Steven Kirk
92cd84a353
Merge branch 'master' into local-assembly-for-xaml
Conflicts:
samples/BindingTest/MainWindow.xaml
src/Markup/Avalonia.Markup.Xaml/AvaloniaXamlLoaderPortableXaml.cs
8 years ago
Steven Kirk
9b24d244b5
Remove now-unneeded assembly references.
8 years ago
Steven Kirk
1ee4fa47f9
Tweak IAssetLoader API and fix tests.
8 years ago
Steven Kirk
d79b74055a
Merge pull request #1495 from Sorien/master
Fix Window Size Constraints
8 years ago
Steven Kirk
f4c7430c38
Merge branch 'master' into master
8 years ago
Steven Kirk
11e348a4bd
Merge pull request #1513 from amis92/parent-ambient-provider
Support StaticResource in Bindings inside DataTemplate
8 years ago
Steven Kirk
7f3ff65668
Merge branch 'master' into parent-ambient-provider
8 years ago
Steven Kirk
08829a1590
Merge pull request #1522 from CommonGuy/can-resize
Add CanResize to Window
8 years ago
Amadeusz Sadowski
c7f7640ae7
Removed comments about not working parent ambient providers
8 years ago
Amadeusz Sadowski
fee44d59a2
Cleanup AvaloniaXamlObjectWriter factory methods
8 years ago
Amadeusz Sadowski
976196b3e5
Merge branch 'master' into parent-ambient-provider
8 years ago
Manuel
1535756c35
Merge branch 'master' into can-resize
8 years ago
Wiesław Šoltés
51eb3e1cef
Merge pull request #1545 from boombuler/FixDragDrop
Fix drag drop
8 years ago
Wiesław Šoltés
5408418cab
Merge branch 'master' into FixDragDrop
8 years ago
boombuler
5a5fc13632
force mousecursor if the mouse is over the window
without the call of SetCursor the cursor will only be updated once the
mouse is moved.
this fixes #1536
8 years ago
boombuler
1e2e5b5efc
fixes #1537
since the `System.Runtime.InteropServices.ComTypes.IDataObject` of .net
core is missing the GUID, any OLE-Calls with this type will fail.
8 years ago
boombuler
1f4d21244a
register `DragSource` after the UI thread has set
due to the fact that the UI-Thread is unknown, there
is no OLEContext available and the platform specific
DragSource will never be used.
8 years ago
Steven Kirk
5d37be469a
Merge branch 'master' into can-resize
8 years ago
danwalmsley
9ac3b9a8c2
Merge pull request #1543 from AvaloniaUI/pr-template
Added PR template.
8 years ago
Steven Kirk
a0e92d85a0
Merge branch 'master' into parent-ambient-provider
8 years ago
Steven Kirk
a5b535e4af
Merge branch 'master' into master
8 years ago
Steven Kirk
3514171338
Added PR template.
8 years ago
Eli Arbel
d40a5e958c
Merge pull request #1539 from Gillibald/fix/numericParsing
Removed culture aware parsing of types like Thickness, Matrix, Rect
8 years ago
Eli Arbel
7f62efcd47
Merge branch 'master' into fix/numericParsing
8 years ago
Steven Kirk
d03276c285
Merge pull request #1499 from AvaloniaUI/refactor/properties-overhaul
Allow AvaloniaProperties to be registered anywhere.
8 years ago
Steven Kirk
1da23aa0a3
Merge branch 'master' into refactor/properties-overhaul
8 years ago
Benedikt Schroeder
f2e01704b2
comment removed
8 years ago
Benedikt Schroeder
36be969fc6
Merge branch 'master' into fix/numericParsing
8 years ago
Benedikt Schroeder
4e4c49b1e3
fix comments
8 years ago
Benedikt Schroeder
eb273c0fcb
Inital
8 years ago
danwalmsley
93a6da0b9c
Merge pull request #1526 from AvaloniaUI/feature/context-menus-obey-screen-edges
Make menus and context menus obey screen edges.
8 years ago
Dan Walmsley
fd8e1ecba7
walk tree to find window.
8 years ago
Dan Walmsley
6bb25bea93
fix typo.
8 years ago
danwalmsley
ec21fe244a
Merge branch 'master' into feature/context-menus-obey-screen-edges
8 years ago
Jeremy Koritzinsky
7d8530ea8a
Merge pull request #1524 from Gillibald/fix/1520-BindingExpressionTests
Fix/1520 binding expression tests
8 years ago