Benedikt Stebner
5acd47f2b9
Merge branch 'master' into feature/UnicodeDataSpeedup
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
Nikita Tsukanov
67db0acac7
Merge pull request #8400 from YohDeadfall/duplicate-concat
Removed duplicate concatentation in the build task
4 years ago
Yoh Deadfall
2ab262136c
Removed duplicate concatination
The type system concatenates the target to references internally.
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
Todd
cc2512e2e4
ignore +12 when hour is exactly 12 and period is 1
4 years ago
Steven Kirk
be9c9cfaad
Remove debug code.
4 years ago
Lubomir Tetak
011232d67b
make PrimaryScreenRenderScaling private
4 years ago
Steven Kirk
4a12fbcc75
Merge branch 'master' into feature/window-integration-tests
4 years ago
Max Katz
461bdde70d
Merge pull request #8368 from Gillibald/feature/ZeroReflectionUnicodeData
Zero reflection unicode data
4 years ago
Steven Kirk
4f4f291b2d
Move mac-specific tests to a separate file.
And tidy stuff up a bit.
4 years ago
Benedikt Stebner
5d71d88ad9
Merge branch 'master' into feature/ZeroReflectionUnicodeData
4 years ago
Max Katz
138791e3e6
Merge pull request #8373 from AvaloniaUI/fixes/8372-clear-local-value
Correctly clear PriorityValue local value
4 years ago
Steven Kirk
857bfb5bd2
Prevent re-entrancy in PropertySetterInstance.Dispose.
The call to `_subscription.Dispose()` causes `BindingEntry.Dispose()` to call `_subscription.Dispose()`, but in this case the `BindingEntry._subscription` instance is the `PropertySetterInstance`!
Except now `PropertySetterInstance._subscription` is null, and so `PropertySetterInstance.Dispose` called `ClearValue`, which is obviously wrong.
4 years ago
Steven Kirk
c9e10f0d2f
Added additional failing test.
Exposed by the previous fix for #8372 : re-entrancy in `PropertySetterInstance.Dispose()` is causing detaching a style to call `ClearValue` on the property. Previously this wasn't a problem as `ClearValue` didn't work, but now it is.
(Also added one passing test which tests the same scenario in `PropertySetterBindingInstance` for future coverage)
4 years ago
Steven Kirk
f33d4e881f
Correctly clear local value in PriorityValue.
4 years ago
Steven Kirk
64518efc51
Add failing test for #8372 .
4 years ago
Steven Kirk
8b9e675bd4
Refactor PlatformFact.
To make it inclusive rather than exclusive.
4 years ago
Steven Kirk
8c3424baa4
Refactor OSX window tests a bit.
Try not to rely on `_session.ResetApp();` because restoring the application state in the tests tends to show up more errors (which this change has done: https://github.com/AvaloniaUI/Avalonia/issues/8335#issuecomment-1162804733 )
4 years ago
Benedikt Stebner
66fced01db
Merge branch 'master' into feature/TextAlignmentJutify
4 years ago
Max Katz
6a5e005539
Add trim_trailing_whitespace to editorconfig
4 years ago
Max Katz
6b6de640c9
Merge pull request #8318 from ahmedmohammedfawzy/patch-1
TextBox Ignore Changes While Editing
4 years ago
ahmedmohammedfawzy
355066769a
Merge branch 'master' into patch-1
4 years ago
Benedikt Stebner
cedafc6807
Merge branch 'master' into feature/TextAlignmentJutify
4 years ago
Benedikt Stebner
f9ea275e9d
Merge branch 'master' into feature/ZeroReflectionUnicodeData
4 years ago
Steven Kirk
43700d3525
Merge pull request #8224 from danielmayost/fixesFlowDirectionComboBox
Add unit test for FlowDirection and rework implementation in ComboBox
4 years ago
Steven Kirk
860fcc524d
Refactor how we show windows.
Trying to make it a little less hacky. Only tested on Win32 so far.
4 years ago
Benedikt Stebner
7f347308f1
Update generator
4 years ago
Benedikt Stebner
db9e408c6a
Use ReadOnlySpan<byte>
4 years ago