Jeremy Koritzinsky
22ed332c70
Made UsePlatformDetect more modular and updated our platform assemblies to use this feature.
Implemented feedback and fixed iOS build.
10 years ago
Jeremy Koritzinsky
9a18ef0afa
Added support for auto-loading "Avalonia modules", which are classes that are auto-initialized via the instance constructor.
10 years ago
Jeremy Koritzinsky
397f0ad38b
Updated AppBuilder to have a way to track names of the windowing and rendering subsystems.
10 years ago
Steven Kirk
26f9d3fcd5
Add ncrunchprojects for new projects.
They need to be ignored by NCrunch.
10 years ago
Steven Kirk
c2a14f9db7
Swapped names in ExpressionNode.
Swapped names of StartListening and StartListeningCore - method names
ending with Core should be the subclass implementation.
10 years ago
Wiesław Šoltés
028c5c2f2f
Renamed file name same as class
10 years ago
Wiesław Šoltés
8b035ffb2b
Renamed typeparam to fix build
10 years ago
Nikita Tsukanov
fa2c3ab4a8
Fixed keyboard focus for gtk
10 years ago
Nikita Tsukanov
d1ac5a4002
Code cleanup
10 years ago
Nikita Tsukanov
c08673fed5
Fix for layout
10 years ago
Wiesław Šoltés
01d8d465e7
Fix reference hintpath
10 years ago
Nikita Tsukanov
07fea3befa
Added RuntimePlatformInfo
10 years ago
Nikita Tsukanov
440e35f1f1
Incorporated Avalonia.DotNetFrameworkRuntime.dll to the main nuget package
10 years ago
Nikita Tsukanov
8d21c8069d
Moved project
10 years ago
Nikita Tsukanov
11703d166f
Update SharedAssemblyInfo.cs
10 years ago
Nikita Tsukanov
3af869f49f
Moved IPclPlatformWrapper and IAssetLoader to a separate assembly
10 years ago
Nikita Tsukanov
4a25b33cea
Sync package versions
10 years ago
Wiesław Šoltés
9cdcf6cb02
Revert "Updated projects and packages"
This reverts commit 7cca79b435 .
10 years ago
Dan Walmsley
a4f63f0ecf
added fontweight converter to the project file.
10 years ago
Nikita Tsukanov
d9607a5fca
Initial (with bugs) gtk embedding implementation
10 years ago
Nikita Tsukanov
528e891e55
Embeddable control window lifecycle should be tied to native host control
10 years ago
Nikita Tsukanov
8ee9d17ff6
Fixed some focus issues
10 years ago
Nikita Tsukanov
b89d334147
Implemented embedding to WPF and WinForms
10 years ago
danwalmsley
937fc21af4
Added implementation of FontWeight TypeConverter.
10 years ago
Steven Kirk
472133d349
Catch D2D error and log it.
As to not mask e.g. underlying path parse error.
10 years ago
Steven Kirk
7f2cbd0b71
Use a path for the TextBox error icon.
10 years ago
Steven Kirk
40c2111548
Fix path absolute/relative parsing logic.
10 years ago
Steven Kirk
079d481e36
Renamed ExpressionSubject -> BindingExpression.
`ExpressionSubject` wasn't a good name as the important thing it isn't
convert an `ExpressionObserver` into an `ISubject`. The important thing
it does is insert an `IValueConverter` into the pipeline.
10 years ago
Steven Kirk
c9d3408c29
Improve numerical binding error messages.
10 years ago
Steven Kirk
7cb001801a
Try to improve logged binding errors.
- Don't log an error when the target for the root ExpressionNode is
null. This is usually because the `DataContext` hasn't been set up yet
and it spewed a load of useless error messages.
- Add a Description field to `ExpressionObserver` that can be used in
the case of e.g. #control bindings to record the whole expression (with
the "#control" part) rather than just the part tracked by the
`ExpressionObserver`.
10 years ago
Steven Kirk
7206580175
Filter out broken binding errors in TextBox.
10 years ago
Steven Kirk
f59c16bc00
Improve broken binding diagnostic messages.
10 years ago
Steven Kirk
922b0c5cd7
Don't clear ItemContainerGenerator on template change.
Can't remember why this was there but it was wrong anway - it wasn't
actually removing the items from the presenter panel. Doesn't seem to
break any unit tests so hope for the best...
10 years ago
Steven Kirk
4c0b82a68d
Always use an IList (array) for DataValidationErrors.
It's dangerous to pass a non-collection IEnumerable to an ItemsControl
and will be made illegal at some point.
10 years ago
Steven Kirk
1db12af4dc
Don't clear TemplatedParent on removal from logical tree.
This meant that if a control with a template was removed, when it gets
re-added all of the template children's bindings are broken. The logic
to clear the TemplatedParent when applying a new template is in
TemplatedControl.ApplyTemplate - this is where it should be done.
10 years ago
Steven Kirk
b53fd363e5
Fix logic in setting templated parent in Popup.
The brackets were in the wrong place!
10 years ago
Steven Kirk
6db7687c78
Unpack AggregateException in TextBox.
10 years ago
Steven Kirk
57a611533c
Added Data Annotations validation.
10 years ago
Steven Kirk
8addd927e2
Add string representation of BindingNotification.
For easier debugging.
10 years ago
Steven Kirk
8b9f25ff24
Fix OneTime bindings.
OneTime bindings were failing in BindingTest because the initial binding
error was being counted as the single value to transfer. Don't do this
with OneTime bindings - only transfer valid values.
10 years ago
Steven Kirk
7a2adc63e9
Fix TextBox/error icon scrolling.
10 years ago
Steven Kirk
9094de563e
Fix the TextBox error ToolTip.
Create a new popup window for each ToolTip as sharing one was causing
problems when ToolTip was included in a control template.
10 years ago
Steven Kirk
3633e201d0
Revert "Merge pull request #674 from nc4rrillo/img-rz"
This reverts commit d892ac393e , reversing
changes made to 06bacaa7ee .
10 years ago
Steven Kirk
41ba3b7782
Started adding TextBox error adornments.
10 years ago
Steven Kirk
a222fa9b0c
Don't modify text due to binding when typing.
If a TextBox is e.g. bound to an int and the user types "02" then the
TextBox text should be "02" - not the value that comes back from the
binding which will be "2".
10 years ago
Steven Kirk
a560c3b6d3
Use WeakReference in BindingNotification.
So that it doesn't keep objects alive when cached by
`.Publish().RefCount()` in `ExpressionObserver`. Added a leak test to
test that.
10 years ago
Steven Kirk
91b855b056
Convert to WeakReference in ExpressionObserver.
Doing a `Publish().Refcount()` caches the latest value so it can be sent
to subsequent subscribers, and this causes a leak. Convert the value
to/from `WeakReference` for that part.
10 years ago
Steven Kirk
50b0b687cd
Moved some leak tests to LeakTests.
So they can be debugged in dotMemory.
10 years ago
Steven Kirk
19b034651e
Use `:error` pseudoclass in TextBox.
10 years ago
Steven Kirk
b063ddf872
Only enable data validation for LocalValue bindings.
10 years ago