Jeremy Koritzinsky
f6fc30665e
Fix nits.
8 years ago
Jeremy Koritzinsky
5f31c3589c
Move CreateLayoutManager to be next to other methods.
8 years ago
José Pedro
f32e71c977
Fixed Window.Close, so that Closing is only invoked once.
8 years ago
Jeremy Koritzinsky
e76eda1abf
Add back missing typeResolver arguments removed in the merge.
8 years ago
Jeremy Koritzinsky
0d3d138499
Make AdornerLayer hit-test visible
Fix #1463
8 years ago
Jeremy Koritzinsky
dbc942b066
Add XML docs.
8 years ago
Sannan Khan
2a14f4d6a5
Moved SetWindowStartupLocation() to end of Show() function
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
2f7a578c38
Added null check for panel.
Problem reared its head when #1709 was fixed.
8 years ago
Steven Kirk
cf14976dcc
Fix #1709 .
8 years ago
Steven Kirk
95fe6f4cdf
Clear templated child's parent when template detached.
8 years ago
Benedikt Schroeder
b3cfc22e27
Add scientific notation support for double values
8 years ago
Steven Kirk
cbc0755098
Move default value handling to AvaloniaObject.
8 years ago
Steven Kirk
b00350658a
Lazily create ValueStore.
8 years ago
Steven Kirk
8ad680187a
Store LocalValues in value store as plain values.
Instead of using a `PriorityValue`, when a property is assigned a simple `LocalValue` just store the value directly in the value store.
8 years ago
Dan Walmsley
617dd6a5ab
fix win32 clipboard settext async.
8 years ago
Steven Kirk
27daffeb3e
Abstracted storage of styled values into ValueStore.
8 years ago
Steven Kirk
8bd8a61142
Throw if no matching property accessor found.
This shouldn't happen normally as `InpcPropertyAcessorPlugin` matches everything.
8 years ago
Steven Kirk
114b393813
Only publish distinct values from ClassObserver.
Fixes #1698 .
8 years ago
Steven Kirk
6d0e461349
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
Robert Hencke
4f0764ea6b
Make Delete on macOS delete correctly.
On a Mac keyboard, the Delete key functions as the Backspace key
does on a PC keyboard. Map VK_Delete to Key.Back (VK_ForwardDelete
correctly maps to Key.Delete)
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`.
9 years ago
Steven Kirk
34474af835
Make AvaloniaPropertyObservable use weak refs.
And remove `WeakPropertyChangedObservable`/`GetWeakObservable`.
9 years ago
Steven Kirk
0f1664a846
Use custom rx for observing properties.
9 years ago
Steven Kirk
dadc30d84e
Use lightweight observable for ExpressionObserver.
9 years ago
Steven Kirk
29eafc6be2
Added LightweightObservableBase class.
And use it for `ActivatedValue`.
9 years ago
Steven Kirk
fcbde80682
Added a couple of tests.
9 years ago
Steven Kirk
cdba9b856d
Make ActivatedValue a custom Observable.
And make `ActivatedObservable` inherit from it.
9 years ago
Steven Kirk
de35eb9fee
Updated ActivatedSubject.
Can be expressed more cleanly given the new `ActivatedObject`.
9 years ago
Steven Kirk
6d3381dd6e
Make ActivatedObservable a custom observable.
9 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.
9 years ago
Jeremy Koritzinsky
85159c069c
Span-ification v2. Remove CommandToken and just operate directly on the single span. Memory allocation is now down to less than 5KB.
8 years ago
Nelson Carrillo
88bfdf87ea
Skia backend cleanup.
8 years ago
Jeremy Koritzinsky
11d3e7f7e3
Make _isOpen non-nullable since the only two values that were used were true and null.
8 years ago
Jeremy Koritzinsky
c31edafb55
Clear up code logic.
8 years ago
Jeremy Koritzinsky
e2f5453798
Remove LINQ usage.
8 years ago