mstr2
9d3fd84a7a
Fixes a bug where properties would be added multiple times to the global AvaloniaPropertyRegistry._properties list.
7 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.
7 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`.
7 years ago
mstr2
5cbe89e9d6
Switched AvaloniaPropertyRegistry._properties from Dictionary to List
7 years ago
José Pedro
dcb09a145a
XML comment fixes.
7 years ago
José Pedro
97d624a9ae
Use nameof where possible.
7 years ago
mstr2
814222a15d
Reduced linear search, made FindRegistered method internal
7 years ago
mstr2
c5e4996da2
Improved performance of value lookup in AvaloniaObject's ValueStore
7 years ago
Jeremy Koritzinsky
44bf2ee721
Add unit test and fix #2149 .
7 years ago
Nikita Tsukanov
d470461202
More thread safety and ownsImpl argument for DrawingContext
7 years ago
Nikita Tsukanov
d532223a5a
Switched to post-processing nuget packages from AggregatePackage SDK
7 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
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
Jeremy Koritzinsky
7faf079961
Fix tests and fix ControlCatalog.iOS to not reference Sprache.
8 years ago
Steven Kirk
dc6f14e775
Reader -> CharacterReader
And moved `CharacterReader` and `IdentifierParser` into Avalonia.Utilities.
8 years ago
Steven Kirk
5210926c03
Disallow setting unregistered properties.
8 years ago
Steven Kirk
ca416f433e
Make GetDiagnostic work again.
I'd stubbed it out with a `NotImplementedException` and then forgot to reimplement.
8 years ago
Jeremy Koritzinsky
7f945b3950
PR Feedback.
8 years ago
Jeremy Koritzinsky
f6fc30665e
Fix nits.
8 years ago
Jeremy Koritzinsky
45f37dfd1e
Remove cleanup since it was slowing down ControlCatalog.
8 years ago
Jeremy Koritzinsky
95ac57d648
Add some SingleOrQueue documentation.
8 years ago
Jeremy Koritzinsky
1ad7f27cf9
Make DeferredSetter tied to AvaloniaProperty and use a regular Dictionary. Remove SettingStatus entries for bindings from the dictionary for bindings that don't create a queue of pending values.
8 years ago
Jeremy Koritzinsky
00f8dfabc0
Use SingleOrQueue instead of Queue in DeferredSetter. Make sure tests pass.
8 years ago
Jeremy Koritzinsky
f11f5bc154
Get rid of static deferredSetter used for PriorityValues. Use a single DeferredSetter for both styled and direct properties.
8 years ago
Jeremy Koritzinsky
dbc942b066
Add XML docs.
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
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
6d0e461349
Throw if no matching property accessor found.
This shouldn't happen normally as `InpcPropertyAcessorPlugin` matches everything.
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