2463 Commits

Author SHA1 Message Date
Vitalii Orazov 3098b22ba5 x11. fix nullref 2023-07-17 22:08:29 +03:00
Vitaliy Orazov 2f51fec236 wip. ControlCatalog. handling of bitmap formats in clipboard 2023-07-17 19:54:08 +03:00
afunc 2b1c0e25ac Country or Region 2023-07-06 22:08:49 +08:00
AtomCrafty 640fb5ec1b add AutoCompleteBox with MinimumPrefixLength=0 to control gallery 2023-07-05 20:12:59 +02:00
Benedikt Stebner c956d50af2 Merge branch 'master' into textInputMethodClientRework 2023-06-30 10:25:39 +02:00
Max Katz ec6ec09ac9 Merge pull request #11898 from AvaloniaUI/win-platorm-settings-cleanup
Restructure Win32PlatformOptions options
2023-06-30 05:56:23 +00:00
Max Katz 46affc04c7 Merge branch 'master' into textInputMethodClientRework 2023-06-29 20:05:05 -04:00
Max Katz 53d8f2b649 Merge pull request #11843 from AvaloniaUI/fix-palette-getresourcec-code
Fix palette TryGetResource code
2023-06-29 22:00:32 +00:00
Max Katz 1381ec28be Allow only Light and Dark in the ColorPaletteResourcesCollection 2023-06-29 17:04:24 -04:00
Emmanuel Hansen 3f56045885 remove debug code 2023-06-29 20:40:03 +00:00
Max Katz a390f9f50c Make RenderingMode and CompositionMode lists with fallbacks 2023-06-26 23:18:34 -04:00
Max Katz 29d3c7670b Restructure Win32PlatformOptions options 2023-06-25 23:26:45 -04:00
Trym Lund Flogard 9b66943dd2 Use widechar variant for win32 pinvokes 2023-06-24 16:11:29 +02:00
Benedikt Stebner 037bbd3ca0 Adjust TextInputMethodClient 2023-06-23 10:55:23 +02:00
Benedikt Stebner be9a26cbb1 Rework ITextInputMethodClient 2023-06-23 10:22:07 +02:00
Max Katz 7238fe7da1 Merge branch 'master' into on-loaded-unloaded 2023-06-22 21:22:39 -04:00
Emmanuel Hansen 5c852c54b3 fix safe area demo 2023-06-21 13:26:22 +00:00
Emmanuel Hansen 97f81c6d57 add animated splash screens for android api 31+ 2023-06-20 08:43:46 +00:00
Emmanuel Hansen 112648c1a8 drop splash screen activity 2023-06-20 08:43:46 +00:00
robloo 85390a1812 Add EventArgs parameter to OnLoaded/Unloaded methods 2023-06-18 11:19:01 -04:00
Max Katz 4a720367ff Merge pull request #11768 from AvaloniaUI/feature/double-composition
Use double for compositor types
2023-06-16 21:50:17 +00:00
Steven Kirk 2b00b1c145 Merge branch 'master' into fixes/Issue_6263 2023-06-14 12:29:54 +02:00
Nikita Tsukanov 700b199602 Use double for compositor types 2023-06-13 19:52:13 +06:00
Elias fe3d51d6be Merge branch 'master' into linux-only-fbdev-run-fix 2023-06-07 13:06:09 +03:00
Vladimir Florov bceacedae3 [FIX] Added missing IPlatformIconLoader in LinuxFramebufferPlatform.cs
[FIX] --fbdev parameter check before attach DevTools
2023-06-07 12:48:17 +03:00
Benedikt Stebner 2ff2b6ada1 Merge remote-tracking branch 'upstream/master' into addWasmMobileSandbox 2023-06-07 07:12:12 +02:00
Benedikt Stebner a7886d64e5 Add MobileSandbox for Browser target 2023-06-07 07:11:50 +02:00
Steven Kirk 1aa1c17b16 Merge branch 'master' into pr/11418 2023-06-04 23:03:06 +02:00
Nikita Tsukanov 14b8025d83 Fixes for animation registry 2023-06-03 22:31:13 +06: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 b879144ace Adjust to merge conflicts 2023-05-29 21:48:38 -04:00
Max Katz aa78d2fc06 Merge remote-tracking branch 'origin/master' into feature/borking-changes 2023-05-29 19:39:39 -04:00
Max Katz 1218a0ae51 Merge branch 'master' into feature/transparency-hints-list 2023-05-29 19:38:22 -04:00
Max Katz c302d82de3 Merge branch 'master' into refactor/singlesubscriberobservablebase-internal 2023-05-29 19:13:02 -04:00
Steven Kirk 44454f5ab3 Merge pull request #11549 from robloo/event-renaming
Event Renaming (Removing Type Prefix)
2023-05-29 21:07:08 +00:00
Nikita Tsukanov b445ea9d68 Borking changes 2023-05-29 19:26:45 +01:00
Jumar Macato afaa92f988 Merge branch 'master' into feature/media-context-4 2023-05-29 20:25:21 +08: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 28d7c1c3bd Adjust transformers and comments 2023-05-28 23:44:15 -04:00
robloo 04c88b09fb Rename ContextMenu Opening/Closing events removing type prefix 2023-05-28 13:07:59 -04:00
affederaffe d94c0670c8 Log DBus Exceptions 2023-05-26 00:59:35 +02:00
Steven Kirk 4954228f14 Fix display of unsupported transparency levels.
Only make the window brush transparent when we requested a transparent window and were given one, otherwise we display a transparent brush for e.g. `None` because `None` is not available when using composition.
2023-05-25 23:05:05 +02:00
Steven Kirk b2d7805060 Replace WindowTransparencyLevel enum with list of structs
The transparency level is not yet communicated to the backends though.

Co-Authored-By: Max Katz <maxkatz6@outlook.com>
2023-05-24 00:08:20 +02:00
Max Katz 59ffdd9950 Revert to net461 2023-05-23 03:14:11 -04:00
Max Katz c406b51cd0 Remove WPF integration after internal discussion 2023-05-23 02:53:41 -04:00
Benedikt Stebner 65339723d3 Merge pull request #11366 from Enscape/fixes/tabitem-contenttemplate-analyzer-warnings
Made TabControl observe changes which affect SelectedContent/Template, plus various analyzer warning fixes
2023-05-23 04:03:31 +00:00
Max Katz 7bf2b7668c Use Skia in windows interop test + remove old hacks for old wpf control 2023-05-22 23:39:03 -04:00
Max Katz da157ff509 Fix WindowsInteropTest 2023-05-22 23:28:01 -04:00
Max Katz f31b42d901 Start WF control render timer when handle is created and stop when handle is destroyed 2023-05-22 23:27:29 -04:00
Max Katz 7618cd74c3 Fix some minor issues with ControlCatalog on NetFramework 2023-05-22 22:27:23 -04:00