Max Katz
17562c16bd
Fixes after review
4 years ago
Max Katz
b4b869a429
Fix after event were renamed
4 years ago
Max Katz
f9c34a4c23
Merge branch 'master' into Stylus
4 years ago
Steven Kirk
0d7f2a0de5
Merge pull request #8421 from AvaloniaUI/refactor/resourcedictionary-no-inherit
Don't make ResourceDictionary inherit from `AvaloniaDictionary`
4 years ago
Steven Kirk
5c6370aa56
Don't make ResourceDictionary inherit...
...from `AvaloniaDictionary`.
4 years ago
Steven Kirk
83f60dd21a
Merge pull request #8420 from AvaloniaUI/Takoooooo-patch-1
Fix leak in the InternalSelectionModel
4 years ago
Tako
2b1eba8c7c
Fix leak in the InternalSelectionModel
4 years ago
Max Katz
c64507fd0d
Merge pull request #8404 from Gillibald/feature/UnicodeDataSpeedup
Update to Unicode 14
4 years ago
Max Katz
5c10bf411c
Merge branch 'master' into feature/UnicodeDataSpeedup
4 years ago
Dan Walmsley
2e1f65cc71
Merge pull request #8405 from AvaloniaUI/fixes/8335-more-macos-window-issues
Fix more macos window issues and add more integration tests.
4 years ago
Benedikt Stebner
5acd47f2b9
Merge branch 'master' into feature/UnicodeDataSpeedup
4 years ago
Steven Kirk
15c26b9dd5
Use frame size for CenterOwner startup location.
4 years ago
Steven Kirk
cebd5b169d
Added script to run automation tests on macOS.
4 years ago
Steven Kirk
19ca0ff14b
Merge branch 'master' into fixes/8335-more-macos-window-issues
4 years ago
Steven Kirk
b74a2bd8ac
Merge pull request #8232 from AvaloniaUI/feature/window-integration-tests
Feature/window integration tests
4 years ago
Steven Kirk
28f5e4b751
Merge branch 'master' into feature/window-integration-tests
4 years ago
Benedikt Stebner
77e32f4bbe
Update to Unicode 14
4 years ago
Max Katz
c10f144e2d
Merge pull request #8365 from ltetak/feature/borders_different_dpis
OffScreenMargin calculation with different DPI monitors calculation
4 years ago
Max Katz
ca363badce
Merge branch 'master' into feature/borders_different_dpis
4 years ago
Max Katz
2bc89e79be
Merge pull request #7450 from ngarside/windows-position
Fix offset window position
4 years ago
Max Katz
0f32ef50ce
Merge branch 'master' into windows-position
4 years ago
Max Katz
b46d4390c6
Merge pull request #8146 from AvaloniaUI/fixes/8092-uselayoutrounding-fixes
Fix problems with UseLayoutRounding.
4 years ago
Max Katz
a77dff0b85
Merge branch 'master' into fixes/8092-uselayoutrounding-fixes
4 years ago
Max Katz
035059f533
Merge pull request #8396 from robloo/rename-entered-exited-events
Rename to PointerEntered and PointerExited
4 years ago
Max Katz
9babd79ab1
Merge branch 'master' into rename-entered-exited-events
4 years ago
Steven Kirk
4e63f19a0b
Account for scaling.
4 years ago
Steven Kirk
91fc1335a0
Sigh, winappdriver.
4 years ago
Steven Kirk
7156339304
Test CenterOwner window position.
4 years ago
Steven Kirk
4f84950c41
Added tests for #8335 .
4 years ago
Nikita Tsukanov
67db0acac7
Merge pull request #8400 from YohDeadfall/duplicate-concat
Removed duplicate concatentation in the build task
4 years ago
Steven Kirk
19c55102e5
Use manual window startup location in macOS tests.
Seems to cause less flaky tests; `mainWindow.Click()` clicks the main window in the middle, where the secondary window is shown, so don't go out of our way to put the secondary window in front of where we're clicking.
4 years ago
Yoh Deadfall
2ab262136c
Removed duplicate concatination
The type system concatenates the target to references internally.
4 years ago
Steven Kirk
cd04964c85
Added a retry to macOS window tests.
MacOS sometimes seems to need a bit of time to get itself back in order after switching out of fullscreen.
4 years ago
Steven Kirk
2822f5bfcb
Fix window minimization attempt 2.
The previous solution didn't work for owned windows. Hopefully this fixes the problem at its root: that `BringToFront` activates a window even if it's miniaturized.
4 years ago
Steven Kirk
4b08e659f6
Revert "Fix window minimization."
This reverts commit 20ddbad2ad .
It didn't work with owned windows, there's something else going on here.
4 years ago
Steven Kirk
267710787e
Tweak tests.
- Add a retry to `GetWindowInfo`
- Owned windows can't go fullscreen on macOS.
4 years ago
Steven Kirk
519e850bf8
Correctly update position.
`Window.Position` isn't an Avalonia property so doesn't auto-update, we need to listen for `PositionChanged`.
4 years ago
Steven Kirk
dfa0c44269
Set actualWindowState earlier.
Previously, `_actualWindowState` was being set after the window state had finished changing, but `ExitFullScreenMode` calls `UpdateStyle` which expects `_actualWindowState` to be up-to-date, meaning that previously we ended up with an invalid size when exiting full screen mode programatically.
4 years ago
robloo
0863a05c76
Rename PointerLeave to PointerExited
4 years ago
robloo
8a0903f616
Rename PointerEnter to PointerEntered
4 years ago
Max Katz
14de358749
Merge pull request #8393 from Tetedeiench/bugfix-window-margin
Set window margin to 0 WinUiComp is used - issue #8316
4 years ago
Max Katz
f545205234
Merge branch 'master' into bugfix-window-margin
4 years ago
Benedikt Stebner
f142022d39
Merge pull request #8347 from Gillibald/feature/TextAlignmentJutify
Port windows.ui.xaml.textalignment to Avalonia
4 years ago
Benedikt Stebner
e6bf9b2ac6
Merge branch 'master' into feature/TextAlignmentJutify
4 years ago
Tetedeiench
0c0b1bb54b
set window margin to 0 WinUiComp is used - issue #8316
4 years ago
Nikita Tsukanov
84d1efeeb6
Merge pull request #8391 from AvaloniaUI/DirectBindingSubscription-NRE
Fix DirectBindingSubscription NRE
4 years ago
Max Katz
5f7818fa08
Fix DirectBindingSubscription NRE
4 years ago
robloo
017788cd8e
Add Loaded/Unloaded Events ( #8277 )
* Add Loaded/Unloaded events
* Don't allow OnLoaded() twice unless OnUnloaded() is called
* Call OnLoadedCore within Render()
* Call OnLoadedCore() from OnAttachedToVisualTreeCore by scheduling it on the dispatcher
* Improve comments
* Queue loaded events
* Make the loaded queue static
* Make more members static per review
* Make sure control wasn't already scheduling for Loaded event
* Add locks around HashSet usage for when enumerating
* Remove from loaded queue in OnUnloadedCore() as failsafe
* Make Window raise its own Loaded/Unloaded events
* Attempt to fix leak tests to work with Loaded events
* Make WindowBase raise its own Loaded/Unloaded events
* Move hotkey leak tests to the LeakTest project
* Address some code review comments
* Attempt at actually queueing Loaded events again
* Fix typo
* Minor improvements
* Update controls benchmark
Co-authored-by: Max Katz <maxkatz6@outlook.com>
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
4 years ago
Jumar Macato
ae2156183a
Merge pull request #8383 from Oxc3/bug-TimePickerPresenter-wrong-time-at-12PM
Fix 12PM bug in TimePickerPresenter
4 years ago
Oxc3
eaf31be6f1
Update TimePickerPresenter.cs
formatting change
4 years ago