Benedikt Stebner
aaf04a38da
Fix property GetValue
4 years ago
Benedikt Stebner
32d7293097
Fix GetNextCharacterHit for trailing whitespace
4 years ago
Benedikt Stebner
3e6bc0b48d
Some more hit testing fixes
4 years ago
Dariusz Komosinski
066c81b1ac
Another fix for WeakHashList. Added basic unit tests.
4 years ago
Kevin Ivarsen
30531df327
Disable clipping in DevTools content/padding/margin adorner so that the margin part is visible ( fixes #8025 )
4 years ago
Dariusz Komosinski
c53e5307a0
Fix WeakHashList losing one item when upgrading storage.
4 years ago
Steven Kirk
6df672e4c0
Remove IAvaloniaPropertyVisitor.
It was only used internally in creating `ISetterInstance`s so add a virtual method to `AvaloniaProperty` to do this explicitly without generic virtual methods.
4 years ago
Steven Kirk
fa44075d26
Make utility methods non-virtual.
Not sure why these method were virtual anyway: any customization should be done by overriding the non-generic `CreateItemContainerGenerator` method.
4 years ago
Steven Kirk
4ec36c97e2
Remove generic methods from IDispatcher.
4 years ago
Steven Kirk
7f469752d5
Remove generic methods from IInteractive.
4 years ago
Steven Kirk
f9dbbb3da1
Make UpdateDataValidation non-generic.
4 years ago
Benedikt Stebner
050ac5fbba
Fix line metrics for empty lines that are processed by TextWrapping
4 years ago
Kevin Ivarsen
5bacd91443
Fix #6603 : PInvokeStackImbalance error caused by incorrect signature for WindowsDeleteString function.
When PreserveSig=false, a function that natively returns an HRESULT and has no final [out] parameter should instead be marked as void.
4 years ago
Benedikt Stebner
2902e3d24a
Rework Inlines invalidation
4 years ago
Steven He
d7a098b75e
Avoid reparse source in codegen stage
4 years ago
Steven He
de771d6fc4
Remove unnecessary nodes in MethodTargets
4 years ago
Steven He
b4a5d2e88a
Use record struct
4 years ago
Steven He
18e7a11a02
Implement IncrementalGenerator
4 years ago
robloo
26e219404c
Add TemplatePart attributes for DataGrid controls
4 years ago
robloo
a7dc94b3cd
More strictly match color prefixes
4 years ago
robloo
024dd47943
Improve color comments
4 years ago
Dariusz Komosiński
02e7e8702e
Allow for parsing relative points during compile time. ( #7987 )
* Allow for parsing relative points during compile time.
* Revert extra target framework.
4 years ago
robloo
467f78b58d
Improve color format length checking for performance
4 years ago
robloo
c7e0a68f27
Support RGB component percentages in CSS format parsing
4 years ago
robloo
37f678e96a
Fix missing color alpha rounding
4 years ago
Steven He
7530e20be0
Move EnumHelper to Avalonia.Base
4 years ago
Max Katz
be8bcd2be7
Update src/Avalonia.Base/Input/PointerOverPreProcessor.cs
4 years ago
Tako
fd5e2169c1
reimplementation and some tests
4 years ago
Rustam Sayfutdinov
578f5fc1cb
Fix PlatformSupport.UnitTests
4 years ago
Steven He
d416b4de45
NET6_0 -> NET6_0_OR_GREATER
4 years ago
Steven He
67b18b8e3f
Rename EnumParserHelper
4 years ago
Steven He
7418fd7dc3
Apply code review feedbacks
4 years ago
dependabot[bot]
c1644eb214
Bump async in /src/Avalonia.DesignerSupport/Remote/HtmlTransport/webapp
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Steven Kirk
e6044ea330
Remove Avalonia.AndroidTestApplication.
It's no longer needed.
4 years ago
Dariusz Komosiński
705a2813ab
Undo formatting change.
4 years ago
Dariusz Komosiński
7beafdc1d8
Refactor TopLevel and ItemsRepeater handling.
4 years ago
Dariusz Komosiński
832afd2b46
Apply optimization to Pen as well.
4 years ago
Dariusz Komosiński
276afe4271
Reduce allocations when creating weak event subscribers.
4 years ago
Dariusz Komosiński
9296ada343
Post merge fixup.
4 years ago
Steven He
0bb22cff12
SubtypesFactory generator
4 years ago
Max Katz
3c8cc3610f
Use InputHitTest instead of GetInputElementsAt+Linq in dev tools
4 years ago
Max Katz
4591625151
Api compat
4 years ago
Max Katz
9bef2acafe
Move pointerover logic out of input device layer
4 years ago
Max Katz
0ec26bcdc3
Make empty ChildIndexChangedEventArgs ctor private
4 years ago
Steven Kirk
fb0da85ad3
Merge core libraries. ( #5831 )
* Merge core libraries.
Everything below `Avalonia.Controls` into `Avalonia.Base`.
* Move new files to correct place.
* Removed unused dirs/projects,
* Removed outdated references from theme assemblies.
* Merge unit tests to match new assembly layout.
* Fixup test namespaces.
* Make directory match namespace.
* Move files to match namespace.
* Move files to match namespace.
* Fix up incorrect namespace.
`Avalonia.Visuals.Media.Imaging` -> `Avalonia.Media.Imaging`.
* Fix resource URL.
* Removed outdated dependencies.
* Added missing project reference.
* Update test namespaces.
* Fix merge error.
* Fix merge errors.
* Fix bad merge in WindowsInteropTest.csproj.
* Fix up merge errors in csprojs.
* Remove merged tests from nuke.
* Fix up namespace.
* Fix compile error.
* Fix failing tests.
Now that more unit tests are present in Avalonia.Base.UnitTests, general `AvaloniaObject` properties are getting registered. Ignore those.
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
4 years ago
Max Katz
af9f27677d
Fix NRE in DataGrid
4 years ago
Max Katz
5019ee0985
Add missing support of Border properties to the DataGrid templates
4 years ago
Max Katz
f7e8b7658f
Do not hardcode Margin and VerticalAlignment on data grid text column
4 years ago
Max Katz
d083acc20d
Implement support of NthChild in DataGrid
4 years ago
David Gordon
8dd66b2004
refactor DiscardDayTime method
4 years ago