184 Commits

Author SHA1 Message Date
Max Katz 54158b475e Fix separators issue in ApiDiffValidatiton too 2023-07-11 23:09:49 -04:00
Max Katz 98e5f74f4e Fix xml files generation 2023-07-10 20:22:40 -04:00
Max Katz c755ea628b Fix regex 2023-07-07 23:39:13 -07:00
Max Katz 36b74afa17 Set UpdateApiValidationSuppression to true by default on local build 2023-07-07 12:31:52 -07:00
Max Katz 003bed5c80 Update exclusions 2023-07-07 12:31:52 -07:00
Max Katz 8097a1c993 Throw on any output error 2023-07-07 12:31:52 -07:00
Max Katz 65e29787dd Parameters fixes 2023-07-07 12:31:52 -07:00
Max Katz c72aa402a8 Run in parallel 2023-07-07 12:31:52 -07:00
Max Katz 96f21b6cbf Create initial ApiDiffValidation implementation 2023-07-07 12:31:52 -07:00
Max Katz 94e709972b Merge remote-tracking branch 'origin/master' into wpf-winforms-interop-core
# Conflicts:
#	src/Windows/Avalonia.Win32.Interop/Wpf/WpfTopLevelImpl.cs
2023-05-30 11:08:14 -04:00
Max Katz d1967cce49 Merge pull request #11563 from AvaloniaUI/maxkatz6-patch-1
Fix debug code previously committed to master.
2023-05-29 19:42:00 -04:00
Max Katz c663c14290 Fix debug code previously committed to master. 2023-05-29 15:10:59 -07:00
Nikita Tsukanov b445ea9d68 Borking changes 2023-05-29 19:26:45 +01:00
Nikita Tsukanov f300a24402 Media system refactoring
- animation/layout/render cycle is now managed from a central location
- animations are now throttled if animation/layout/render pass takes longer than a frame which previously caused a soft-freeze with input not being processed
- the public API is trimmed to make sure that we can make other planned changes during the 11.x support cycle

"Changelog":
- IClock is hidden and is planned to be replaced later
- Animator classes are hidden and are planned to be refactored later
- IAnimation members are hidden, it's supposed to be a marker interface for Style.Animations collection now, to start animations manually use Animation.RunAsync
- Sealed several classes in Avalonia.Animation namespace
- Spring class is removed from the public API (it wasn't possible to use it directly in a meaningful way anyway)
- Sealed brushes, transforms, effects and drawings
- Removed separate dispatcher priorities for Layout and Composition, everything now happens from a central place with Render priority (same as WPF)
- - some private "hook" priorities are added for now, those will be removed later
- IRenderLoop is hidden and removed from locator
- IRenderer is hidden (the plan is to remove that concept later)
- - Renderer.Start/Stop exposed as StartRendering/StopRendering on the toplevel (will be on a CompositionTarget/PresentationSource-like type later)
- - Renderer.Diagnistics exposed as RendererDiagnostics (same)
- - Renderer is no longer created by the platform code and is created by TopLevel itself
- - From the user-code hit-testing should be done by VisualExtensions.GetVisual(s)At, which has the same features
- - For unit tests a separate IHitTester interface is added which can be changed for a particular toplevel
- ILayoutManager is hidden
- - LayoutManager.ExecuteLayoutPass() exposed as TopLevel.UpdateLayout()
- Custom animators now have a separate base class that only deals with interpolation

Minor improvements:
- Compositor has a mode that doesn't use DispatcherTimers, useful for unit tests
- Introduced ScopedTestBase that auto-resets the locator when test is finished
2023-05-29 13:48:59 +06:00
Max Katz 691ff9f33a Make Avalonia.Win32.Interoperability build again on CI 2023-05-22 22:10:12 -04:00
Max Katz 80c7086d25 Merge pull request #11340 from AvaloniaUI/feature/composition-resources-3
Compositor-aware resources
2023-05-17 01:02:16 +00:00
Nikita Tsukanov 64610c264b Composition aware resources 2023-05-15 13:39:53 +06:00
Max Katz fe0edf557c Update Cecil 2023-05-14 23:29:19 -04:00
Max Katz dbaffc8206 Remove Solution usage from the nuke tests to avoid random CI errors 2023-05-09 22:08:38 -04:00
Max Katz eabb408009 Merge remote-tracking branch 'origin/master' into nunit-headless-intergration 2023-05-01 02:39:50 -04:00
Max Katz a11bef715b Add Message parameter to the Unstable attribute 2023-04-29 23:44:21 -04:00
Max Katz eabd3ca7f0 Fix pack and execute tests on CI 2023-04-27 02:32:28 -04:00
Max Katz 44c3cdc521 Merge branch 'master' into include-analyzers-in-the-main-package 2023-04-24 18:33:42 -04:00
Max Katz 2d7c55ccdc Merge remote-tracking branch 'origin/master' into xunit-ext
# Conflicts:
#	src/Headless/Avalonia.Headless/HeadlessPlatformStubs.cs
#	src/Headless/Avalonia.Headless/HeadlessPlatformThreadingInterface.cs
#	src/Headless/Avalonia.Headless/HeadlessWindowImpl.cs
2023-04-21 22:07:13 -04:00
Nikita Tsukanov c5ae8bb762 Fixes 2023-04-19 21:40:26 +06:00
Nikita Tsukanov 0f7fba7f7f SourceLink? 2023-04-19 20:53:24 +06:00
Nikita Tsukanov 30064443b1 Added [PrivateApi] 2023-04-19 20:16:34 +06:00
Nikita Tsukanov f9955f0c79 More patches 2023-04-19 18:57:45 +06:00
Nikita Tsukanov a24e0185fc Generate fake ref assemblies with patched *Impl and [NotClientImplementable] interfaces 2023-04-19 18:09:18 +06:00
Max Katz 3da148f5c2 Fix analyzers nuget package 2023-04-19 00:33:44 -04:00
Max Katz 93c0274730 Merge remote-tracking branch 'origin/master' into xunit-ext
# Conflicts:
#	src/Avalonia.Controls/TopLevel.cs
2023-03-05 00:51:32 +09:00
Max Katz fa6fb50620 Merge branch 'master' into move-name-generator 2023-03-05 00:49:09 +09:00
Dan Walmsley c1de1ca902 skip netfx tests on macos. 2023-03-02 21:28:30 +00:00
Max Katz d8a69c6581 Include Avalonia.Generators in the main package 2023-02-27 23:33:50 -05:00
Max Katz 60b3467123 Merge branch 'master' into move-name-generator 2023-02-27 22:24:56 -05:00
Max Katz 5e4509deb1 Run tests on Avalonia.Headless 2023-02-25 00:30:20 -05:00
Max Katz c35259dc3f Run generators tests on CI 2023-02-20 02:53:22 -05:00
Giuseppe Lippolis 35e6156c20 fix: Sourcelink Avalonia.Build.Tasks 2023-02-10 17:28:29 +01:00
Max Katz 8a78f134c5 Remove JetBrains.Annotations from the repo 2022-12-21 20:47:28 -05:00
Max Katz de039015ca Small cleanup of warnings 2022-12-05 02:10:34 -05:00
Max Katz 6b080eabe0 Restore Microsoft.Build.Framework dependency 2022-11-08 14:28:16 -05:00
Max Katz 9003dfde51 Parse target framework manually 2022-11-08 14:17:14 -05:00
Max Katz a52696bcd6 Update Microsoft.Build.Framework 2022-11-08 13:41:08 -05:00
Nikita Tsukanov b13f7cbd38 Use strong-named version of microcom 2022-11-02 15:47:18 +06:00
Dan Walmsley 9714462521 try fix nuke 2022-10-08 12:17:01 +01:00
Stebner 8aa64528e8 Merge 2022-10-06 00:49:48 -07:00
Dan Walmsley 6e6102e110 build with net 6 2022-10-06 02:50:11 +01:00
Dan Walmsley 7423441ee0 turn of warning as errors for nuke build. 2022-10-06 02:47:11 +01:00
Dan Walmsley 6be88c5dcb use net 7 2022-10-06 02:38:46 +01:00
Dan Walmsley 72e1c7fe9b Merge remote-tracking branch 'origin/master' into features/blazorless-wasm
# Conflicts:
#	azure-pipelines.yml
#	global.json
2022-10-06 02:25:13 +01:00