Steven Kirk
8bd8a61142
Throw if no matching property accessor found.
This shouldn't happen normally as `InpcPropertyAcessorPlugin` matches everything.
8 years ago
Steven Kirk
03edafc0e1
Removed debug code.
8 years ago
Steven Kirk
be39c7cf51
Don't need TemplateBindingExtension.
Can just use TemplateBinding directly.
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
ef5be70c4b
Don't double-check nulls.
8 years ago
Steven Kirk
26b3efd8d4
Use custom rx for control locators.
8 years ago
Steven Kirk
a8d5dc1da4
Use custom rx for ResourceObservable.
8 years ago
Steven Kirk
b488ca179a
Use custom class for direct binding subscriptions.
8 years ago
Steven Kirk
365aa42b4a
Use custom rx for binding update signal.
8 years ago
Steven Kirk
a3dea23560
Use LightweightObservableBase for BindingExpression.
8 years ago
Steven Kirk
de325ec501
Use LightweightObservableBase for WeakCollectionChangedObservable
8 years ago
Steven Kirk
9b0aff8cc1
Use LightweightObservableBase in TypeNameAndClassSelector
8 years ago
Dávid Karnok
360a2603c3
Fix LightweightObservableBase's concurrency, save 1 allocation.
8 years ago
Steven Kirk
3150d3f10a
Added GetPropertyChangedObservable.
Replaced `GetObservableWithHistory` with `GetPropertyChangedObservable`.
8 years ago
Steven Kirk
34474af835
Make AvaloniaPropertyObservable use weak refs.
And remove `WeakPropertyChangedObservable`/`GetWeakObservable`.
8 years ago
Steven Kirk
0f1664a846
Use custom rx for observing properties.
8 years ago
Steven Kirk
dadc30d84e
Use lightweight observable for ExpressionObserver.
8 years ago
Steven Kirk
29eafc6be2
Added LightweightObservableBase class.
And use it for `ActivatedValue`.
8 years ago
Steven Kirk
fcbde80682
Added a couple of tests.
8 years ago
Steven Kirk
cdba9b856d
Make ActivatedValue a custom Observable.
And make `ActivatedObservable` inherit from it.
8 years ago
Steven Kirk
de35eb9fee
Updated ActivatedSubject.
Can be expressed more cleanly given the new `ActivatedObject`.
8 years ago
Steven Kirk
6d3381dd6e
Make ActivatedObservable a custom observable.
8 years ago
Steven Kirk
d3a0507f35
Implement custom observable for classes.
Use a custom `ClassObserver` for observing changes to a control's classes. This saves shaves off about 15% memory use in ControlCatalog after cyling through all tabs.
8 years ago
Nelson Carrillo
88bfdf87ea
Skia backend cleanup.
8 years ago
Benedikt Schroeder
b35e2456eb
Code style
8 years ago
Benedikt Schroeder
935074431c
Normalize whitespaces in path data
8 years ago
Benedikt Schroeder
c36e2e4222
removed using
8 years ago
Benedikt Schroeder
41fd37151f
IGeometryContext implementation
8 years ago
Benedikt Schroeder
cd39703645
Direct2D1 EndFigure fix
8 years ago
Benedikt Schroeder
b8f8c1ef0f
IGeometryContext implementation
8 years ago
vsevolod.pilipenko
e0a626b29e
Removed duplicated code
8 years ago
Jeremy Koritzinsky
68b6c435aa
Add MonoMac implementation.
8 years ago
CommonGuy
ffbc89f50c
Implement SetTopmost stub for Android
8 years ago
sdoroff
3d092b9fcf
Added a Scroll event to ScrollBar
The event is fired when the ScrollBar's value is changed through
interaction with the ScrollBar's Track
8 years ago
Ivan Garcia
1a4fd00f2b
Fix trailing newlines in textboxes when using NetCore/Skia
Fixes issue where if a textbox's text ended with a newline character the additional line at the end would not render. Did this by, in these cases, adding an additional blank AvaloniaFormattedTextLine.
This also fixes an issue where line widths were being measured incorrectly because the Substring() call used for that measurement was using line.Start before it was initialized for the current line.
8 years ago
Benedikt Schroeder
61816fdf92
Relative move command fix
8 years ago
Dan Walmsley
c29a21afc2
ensure tooltips fit inside screen edges.
8 years ago
CommonGuy
835fbe251c
Implement Topmost property on Popup
8 years ago
CommonGuy
42121ec2c1
Move topmost to WindowBase
8 years ago
Dan Walmsley
9911fff84d
fix carousel presenter and add unit test for condition.
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
43e6bd2d49
Switch off from deprecated APIs in Avalonia.MonoMac.
8 years ago
Benedikt Schroeder
cbca7beefd
Initial
8 years ago
CommonGuy
3c3b5b63b3
Use newer WinApi for OpenFileDialog and SaveFileDialog
8 years ago
Jeremy Koritzinsky
38de22cf75
Add empty event implementations for unused events.
8 years ago
Jeremy Koritzinsky
18f436a2c3
Clean up unused code warnings and malformed doc comments.
8 years ago
Jeremy Koritzinsky
93774af3a4
Update Android resource files.
8 years ago
Dan Walmsley
f06fa98819
fix exception when carousel items set to null.
8 years ago
Jeremy Koritzinsky
8b36caf88e
Disable 'Unused' warning in Gtk/Interop/Native.cs
8 years ago