Nikita Tsukanov
dbf6c3a148
Entire control catalog is now loaded from precompiled xaml
8 years ago
Nikita Tsukanov
6ab1fbd432
Inject the call to compiled xaml to x:Class-type
8 years ago
Nikita Tsukanov
a3f3a06478
Emit compiled XAML from msbuild task
8 years ago
José Pedro
129f8ca535
XML comment fixes.
8 years ago
Dan Walmsley
5128f70f48
whitespace.
8 years ago
Dan Walmsley
6b2d9a020f
Revert "Add GCNotifier class."
This reverts commit d42b22d5e8 .
8 years ago
Dan Walmsley
d42b22d5e8
Add GCNotifier class.
8 years ago
Nikita Tsukanov
a89b6128dd
Call Compact on Add
8 years ago
José Pedro
48dccadfb0
Fixed argument exception constructor calls.
Use nameof where possible.
Fixed wrong check in RelativeSource.AncestorLevel.
8 years ago
Nikita Tsukanov
4af9b22c59
Introduced WeakEventHandlerManager
8 years ago
Steven Kirk
6dcd634a87
Missed change from merge.
8 years ago
Steven Kirk
6961d55e7a
Only log binding errors when attached to a tree.
8 years ago
Nikita Tsukanov
58de2aaac0
WIP2
8 years ago
Nikita Tsukanov
f14aac365b
WIP
8 years ago
Steven Kirk
131a4d90ef
Remove Avalonia.ISupportInitialize.
This is a relic from when we were targeting a PCL profile that didn't have `System.ComponentModel.ISupportInitialize`. Now that we have that, use it instead.
8 years ago
mstr2
039991da68
Fixed a bug where AddOwner would add a property to AvaloniaPropertyRegistry's property list more than once
8 years ago
José Pedro
fa8d8c896d
Removed redundant bool comparisons.
8 years ago
ahopper
2f7c6371a5
use XDocument to deserialize assets
8 years ago
mstr2
9d3fd84a7a
Fixes a bug where properties would be added multiple times to the global AvaloniaPropertyRegistry._properties list.
8 years ago
Steven Kirk
f75f85af2b
Fix order of inherited property changed events.
Previously `PropertyChanged` was raised on the child before the parent because the inherited value change was being notified by listening to the parent `PropertyChanged` event, and this event handler was added first.
Added an `InheritablePropertyChanged` event which will be called only after all other property changed events have been raised and only for inheritable properties.
8 years ago
Steven Kirk
d3e8752f15
Make ObservableStreamPlugin work with value types.
Use reflection to call `Observable.Select` on the source observable to box the value.
8 years ago
Steven Kirk
b91df127ea
Remove :valid and :invalid pseudoclasses.
`:valid` and `:invalid` pseudoclasses are being added to all `ContentControls` simply in order to show/hide the `ContentPresenter` in `CheckBox`. Instead of this, add some `ObjectConverters` and use them to set the visibility of the `ContentPresenter.`
Also renamed the converters in `StringConverters` to add an `Is` prefix as the `ObjectConverters` didn't look right as just `Null` and `NotNull`.
8 years ago
mstr2
5cbe89e9d6
Switched AvaloniaPropertyRegistry._properties from Dictionary to List
8 years ago
José Pedro
dcb09a145a
XML comment fixes.
8 years ago
José Pedro
97d624a9ae
Use nameof where possible.
8 years ago
mstr2
814222a15d
Reduced linear search, made FindRegistered method internal
8 years ago
mstr2
c5e4996da2
Improved performance of value lookup in AvaloniaObject's ValueStore
8 years ago
Jeremy Koritzinsky
44bf2ee721
Add unit test and fix #2149 .
8 years ago
Nikita Tsukanov
d470461202
More thread safety and ownsImpl argument for DrawingContext
8 years ago
Nikita Tsukanov
d532223a5a
Switched to post-processing nuget packages from AggregatePackage SDK
8 years ago
Nikita Tsukanov
6347a610c7
Switched back to #if since ReferenceOutputAssembly doesn't work properly for classic project format
8 years ago
Nikita Tsukanov
3279cbd4e8
Fixed some review comments
8 years ago
Steven Kirk
97db5ec657
Cache AvaloniaObject initialization notifications.
When an `AvaloniaObject` is created, it notifies each of the `AvaloniaProperties` registered on it that they have been initialized on a new object. Instead of calling `GetDefaultValue` each time, cache the default values.
8 years ago
Andrey Kunchev
458d45bb49
fix problem in complex binging chain, when a null value in chain reset current value to all subsequent expression nodes, so next change is starting on clean
8 years ago
Nikita Tsukanov
343905ebb3
Generate asset resource info with paths
8 years ago
Andrey Kunchev
aa21fe9d17
fix derived list/extensions for moverange
8 years ago
Jeremy Koritzinsky
5a9e41364b
Convert project references to reference aggregate Avalonia.csproj
8 years ago
Steven Kirk
41c2159aaa
Use features that are now available in netstandard.
Various features were moved into `IRuntimePlatform` because they weren't available on netstandard 1.x. They're now available in netstandard 2 so use them directly.
8 years ago
Andrey Kunchev
5c74c49a0a
pr notes
8 years ago
Nikita Tsukanov
add3e81095
Extracted interop bits from GTK3 backend to Avalonia.Base and IRuntimePlatform
8 years ago
Jumar Macato
ee1a8ee30f
Make a specialized observable for instance lifetime handling. Delete DisposeOnNextObservable.
8 years ago
Steven Kirk
e58b4d5152
Don't dispose completed binding.
8 years ago
Steven Kirk
f2f96e2f46
Don't dispose completed binding.
8 years ago
Jumar Macato
74c8cedde9
Try fixing the sporadic Bindings Exceptions.
8 years ago
Jumar Macato
a8d4c8d799
Add a new Disposable Extention.
8 years ago
Jeremy Koritzinsky
f2ba884e0a
Cleanup logic in LightweightObservableBase.
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Miha Markič
eb93c9f4a7
Spellchecks comments and code in Avalonia.Base
8 years ago
Nicolas Musset
0befa22692
Support invoking a task in the dispatcher.
8 years ago
Nicolas Musset
434bf0d3db
Support invoking a function in the dispatcher.
8 years ago