Steven Kirk
5a9be7d94a
Make sure new value is returned.
When a property value is set, if a new value isn't notified via INPC,
then send the new value after the set succeeds.
10 years ago
Steven Kirk
941246e75c
Started to implement data validation on TextBox.
Not working still - added a failing test to demonstrate it.
10 years ago
Steven Kirk
760adfc126
Update BindingTest with changes.
Data validation still doesn't work in BindingTest though.
10 years ago
Steven Kirk
99a635f31f
Remove data validation for non-direct properties.
We're going to say that for the moment only direct properties handle
data validation. This gets around a few thorny issues with data
validation on styled properties.
10 years ago
Steven Kirk
edc538185f
Handle BindingNotifications in SetValue.
As one-time bindings don't set up a binding as such: they just call
`SetValue`.
10 years ago
Wiesław Šoltés
9afa755acb
Make build.sh script executable
10 years ago
Wiesław Šoltés
1d2be074d6
Added cake build scripts
10 years ago
Wiesław Šoltés
7cca79b435
Updated projects and packages
10 years ago
Wiesław Šoltés
445dc21081
Removed no longer necessary nuget folder
10 years ago
Steven Kirk
5bd0d327fe
Added missing file in .csproj.
10 years ago
OronDF343
5e0243cfba
Added PositionChanged event in TopLevel
Implements #629
10 years ago
Steven Kirk
d27cab10b5
Added more data validation tests, some failing.
10 years ago
Steven Kirk
66b7b547c4
Add missing file to .csproj.
10 years ago
Steven Kirk
ecfe572465
FIx failing test.
Introduced in a refactoring a few commits ago where I saw code that
looked wrong. It wasn't wrong, it's just the mechanism is a little
unintuitive. Added a comment explaining the reasoning.
10 years ago
Steven Kirk
57e646583f
Only send BindingNotifications on error.
Assume that a normal value when received by a property with data
validation enabled means no error.
10 years ago
Steven Kirk
736d290f19
Fixed typo.
10 years ago
Steven Kirk
f720a7d66f
Test that BindingNotificationReceived is called.
For direct properties.
10 years ago
Steven Kirk
92ebb7f6d8
Log meaningful message for AggregateException.
10 years ago
Steven Kirk
74e870333b
Correctly convert BindingNotifications.
In ExpressionSubject.
10 years ago
Steven Kirk
f618103518
Fix casting of BindingNotification value.
10 years ago
danwalmsley
e995d18935
Merge pull request #682 from tfreitasleal/master
Fix "Run Avalonia" instructions so they point to ControlCatalog.Desktop sample.
10 years ago
tfreitasleal
a3b18b2b9e
Fix "Run Avalonia instructions" so they point to ControlCatalog.Desktop sample.
10 years ago
Nikita Tsukanov
34fdc0cb61
Merge pull request #680 from VitalElement/issue-679-fix-skia-fonts
skia font cache now correctly handles font weight and font style.
10 years ago
danwalmsley
fbfa7fe997
implemented Equals and GetHashCode in FontKey for skia typeface cache.
10 years ago
Steven Kirk
5a9371f786
Pass EnableDataValidation to ExpressionObserver.
10 years ago
Steven Kirk
f4c57b169b
Handle BindingNotifications in ExpressionSubject.
10 years ago
Dan Walmsley
7330250e95
skia font cache now correctly handles font weight and font style.
10 years ago
Steven Kirk
06b0d15fc2
Surface BindingNotifications in AvaloniaObject.
10 years ago
Steven Kirk
4fe2a3d86c
Removed vestiges of old data validation.
10 years ago
Steven Kirk
0c2057e458
Fix failing tests, add other tests.
Also use logical parent's DataContext as base for DataContext bindings
instead of visual parent's. Was previously in error.
10 years ago
Steven Kirk
0d4a613580
Updated some docs.
And simplified a bit of failing test code.
10 years ago
Steven Kirk
0b0ca8b0cb
Fix MemberSelector.
10 years ago
Steven Kirk
daff817ce4
Subscribe to ExpressionSubject before setting value.
The inner `ExpressionObserver` must be subscribed to as setting the
value requires the expression to be evaluated.
10 years ago
Steven Kirk
c5c60c483a
Add concept of "value plugins".
These are used to extensibly handle special values like `Task` and
`IObservable<>`. Previously this was baked into the expression observer
architecture with a TODO comment saying that it needs to be extensible.
10 years ago
Steven Kirk
2f72295657
Started refactor of ExpressionObserver.
Tying to be more "rx", but also will allow us to move forward on BindingNotification changes.
10 years ago
Steven Kirk
4ffae3eb55
Added IndeiBase
And use it as base class for test data that implements
INotifyDataErrorInfo. Removed IndeiValidatorTests as its been
superceeded by IndeiValidationPluginTests.
10 years ago
Steven Kirk
ac427192df
Use NotifyingBase in unit tests.
And rename NotifyingBase.SubscriptionCount ->
PropertyChangedSubscriptionCount as we also track ErrorsChanged
subscription count.
10 years ago
Steven Kirk
4906a472b0
Reimplemented data validation using BindingNotifications.
10 years ago
Wiesław Šoltés
9be6a6ea59
Simplify test app
10 years ago
Wiesław Šoltés
e24ed49784
Fixed Avalonia.Skia.Android.TestApp
10 years ago
Wiesław Šoltés
69e05384ca
Code cleanup
10 years ago
Wiesław Šoltés
704d6ae421
Draw current drawing context
10 years ago
Wiesław Šoltés
efe76e59c4
Add SetContentView to draw view
10 years ago
Wiesław Šoltés
4c9540eed7
Use platform handle
10 years ago
Wiesław Šoltés
07a7bd033f
Do not Initialize Skia
10 years ago
Wiesław Šoltés
3cce058c39
Render simple rectangle using SkiaSharp
10 years ago
Wiesław Šoltés
a5837a9683
Fixed AssemblyName
10 years ago
Wiesław Šoltés
6d89510272
Added AppBuilder and Initialize
10 years ago
Steven Kirk
1fa066ac8e
Merge pull request #675 from wieslawsoltes/AndroidNuGetFix
Added missing SkiaSharp dependency for Avalonia.Android NuGet package
10 years ago
Steven Kirk
4dbdd3949e
Merge pull request #673 from yusuf-gunaydin/issue-666
Fixed crash when redo is called on a TextBox with no redoable change #666
10 years ago