* Repro unit test for GetCharacterHitFromDistance being broken with hidden runs
* Repro for infinite loop in GetTextBounds
* Fix failing tests
* Fix GetRunBoundsRightToLeft
---------
Co-authored-by: Nikita Tsukanov <keks9n@gmail.com>
- Renamed `ItemsControlFromItemContaner` in `ItemsControlFromItemContainer'
- Add `ItemsControlFromItemContaner` with attributes `Obsolete` and `EditorBrowsable Never` that call `ItemsControlFromItemContainer`
* feat: add Content and ContentPresenter for ColorPicker
* feat: update according to https://github.com/AvaloniaUI/Avalonia/pull/13073 feedback.
* feat: add HorizontalContentAlignment and VerticalContentAlignment default value to simple theme.
* feat: update documentation wording.
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* fixed incorrect reset of a captured control when moving the pointer over a MenuItem
* format code
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* In `Avalonia.Base`, sealed several classes whose constructors aren't available from public API, and which have no inheritors
* un-sealed class that is inherited from
* Made `Delete` method non-virtual
---------
Co-authored-by: Lehonti Ramos <lehonti@ramos>
* Add failing test for #13064
* Remove Content binding from ScrollViewer template.
Since #10803, the `ScrollContentPresenter.Content` binding is managed internally, not via a binding in the template.
* Assign owner before doing subscriptions.
Fixes#13064.
* Add "EGL_ANGLE_flexible_surface_compatibility" ext check
* Use stackalloc with CreatePBufferFromClientBuffer attributes
* Fix broken API
* Update to latest angle
* Add trimming attributes to the Runtime XAML Loader project
* Create CompilerDynamicDependenciesAttribute with all known dynamic types
* Use master XamlX
* Implement CompilerDynamicDependenciesGenerator to simplify CompilerDynamicDependencies attribute
* Better formatting of generated code
* Be safe about type converters as well
* Remove unnecessary warning
* Also include FindType just in case
* Add Fluent HeaderContentControl theme
* Fix file name, add content template
* Add simple theme for HeaderedContentControl
* Add sample page for HeaderedContentControl in the catalog
* Change the HeaderedContentControl to use a Grid instead of a stack panel for its layout
* Fix template part names
* Fix HeaderedContentControl typename
* Fix the template part type again
* Fix control template names
* Introduce IFilePickerFileTypes to have more control over file types in the native backend
* Update samples page for dialogs
* Rename to IAvnFilePickerFileTypes
* WIP
* Fix disabled popup
* Explicitly dispose AvnString and AvnStringArray + GetNSArrayOfStringsAndRelease
* Fix potential crash
---------
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
* compute win32 window styles from properties, instead of toggling relevant styles
* save client rect early, before swithing to full screen
* add callbacks for window style and wndproc
* move new options class to Avalonia.Controls
* use toplevel instance to set the callbacks instead
* remove redundant casting
* call wndproc callback before the default handler
* remove unused using
* ensure window state when decorations changed
* move win32 specific delegates
* make Win32SpecificOptions static
* fix build
* replace Set callbacks with Add/Remove callbacks
* fix docs
* only recreate styles when the change isn't caused by a fullscreen update
* In `Avalonia.Dialogs`, added `readonly` to fields that are never modified
* Re-added namespace references
* Removed `readonly` modifier from field which is used as a `ref` value
* Removed `readonly` from yet another field
---------
Co-authored-by: Lehonti Ramos <lehonti@ramos>
* add hold size to platform settings, reduce hold size
* use class handler for control hold event
* improve holding interaction with textbox
* remove GetHoldSize method
* inprove touch input pointer over detection
* improve hold support in textbox
* fix tests
* remove selection updates on hold
* make pointer event args for holding event internal
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* Trigger CI/CD
* Bugfix: CanResize unused when Width/Height is set
2 problems in X11Window.cs
- In UpdateSizeHints: max and min sizes were set
regardless of _canResize, if preResize is not null
- In Resize, many things are set without checking for _canResize
Added the check for _canResize, which stops the resizing if not forced
(e.g. when a dialog needs a startup size)
Make setting varying max and min exclusively when _canResize is false
---------
Co-authored-by: stepan_govorko <stepan.govorko@jetbrains.com>
* Stop tooltip timer on pointer pressed to avoid hanging tooltips in some cases (i.e. when modal window is opened)
* Hiding tooltip on click
---------
Co-authored-by: Herman Kirshin <herman.kirshin@jetbrains.com>
* Fix HeadlessUnitTestSession creation race condition
* Bind Compositor/MediaContext to a fixed UI thread
* Fix dead lock in AvaloniaTestCase
* Rename Compositor.UIThreadDispatcher to Dispatcher
* fix focus loss issue with autocomplete box
* close dropdown when focus actually moves within the autocompletebox's focus scope
* make GetFocusScope internal for now
* remove GetFocusScope from focus manager
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* TabItem: dispose _ownerSubscriptions when item is detached from visual tree
* TabItem: update of TabStripPlacement moved to TabControl
* TabControl: iterate over ItemsPresenterPart's children instead of calling ContainerFromIndex
* TabItem: SubscribeToOwnerProperties marked as obsolete
---------
Co-authored-by: Dmitry Zhelnin <d.zhelnin@of-group.ru>
* Physical key handling for Windows
* Physical key handling for macOS
* Physical key handling for X11
* Physical keys: cleanup unused keys
* Key symbols: ensure consistent behavior between platforms
* Fix dead key symbol for Windows
* Physical key handling for browser
* Physical keys: use new overloads where possible
* Key symbol for VNC
* Physical key handling in previewer
* Key symbol for forwarded X11 IME key
* Key symbol for Android
* Obsolete old RawKeyEventArgs ctor
* Fix key symbols for macOS with modifiers
* Adjust PhysicalKey members naming
* Use explicit std::hash for AvnKey/AvnPhysicalKey
Should hopefully satisfy the older compiler on the CI server
* Headless: added KeyPressQwerty
---------
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
* implement tizen platform, resolve#6110
* Fix enum types of touch event
* Fix issue of touch tracking.
* #6110 fix ui thread lock
* #6110 send keypad from tizen window
* #6110 fix touch update
* #6110 add text editor for input fields
* #6110 Hide text field
* #6110 Fix issue of text selection and backspace
* #6110 support multi and single line for input
* #6110 temporary set multiline true by default.
* #6110 fix issue of build with latest version and make it compatible
* #6110 by pass double input when softkeyboard showing.
* #6110 adding support for clipboard.
* #6110 add permission helper to tizen platform
* #6110 Implementation of storage provider for tizen
* #6110 send text for key character from hard keyboard
* #6110 Complete the input implementation. soft and hard keyboard
* #6110 remove ElmSharp
* Update Permissions.cs
* #6110 remove open folder for tizen
* #6110 fix the issue of keyboard frezee for tizen
* #6110 add workload to build tizen
* #6110 try to setup tizen workloads for windows
* #6110 change tizen workload install to powershell
* #6110 skip api diff check when package not exists
* #6110 try to fix linux pipeline
* #6110 implement tizen native view
* #6110 add dev analyzer and trimming
* #6110 Migrate to GLES and remove framebuffer
* #6110 Temporary solution to make GL work
* #6110 WIP and add comments
* #6110 optimise gles rendering and timing.
* #6110 fix dependency issue of tizen HarfBuzzSharp
* #6110 patch a fix for clipboard issue
* #6110 Support tizen sdk for old proj type, WIP
* #6110 wip setup app
* #6110 support only net6 for tizen
* #6110 resolve comments
---------
Co-authored-by: Kangho Hur <rookiejava+github@gmail.com>
Co-authored-by: Max Katz <maxkatz6@outlook.com>