Steven Kirk
00d077a634
Pass both owner and host type to AvaloniaProperty.
For non-attached properties these will be the same. For attached properties the metadata needs to be registered on the host, but the `Owner` property needs to be set to the owner, not the host.
3 years ago
Max Katz
6b9b771c53
Merge branch 'master' into fixes/11212-attached-property-coercion
3 years ago
Max Katz
69b5c7aad8
Merge pull request #11361 from robloo/api-standardization
Standardize CaptionButtons to Minimize/Maximize spelling
3 years ago
robloo
4edb8a5fec
Use template part name constants in CaptionButtons
3 years ago
robloo
a0f70f4b02
Standardize CaptionButtons to Minimize/Maximize spelling
3 years ago
Max Katz
5e2b6c1e3a
Merge branch 'master' into fixes/11212-attached-property-coercion
3 years ago
Max Katz
e1b203b409
Merge pull request #11342 from timunie/fix/NumericUpDown_Decrease_when_null
Fix/numeric up down decrease when null
3 years ago
Tim
85b816c27f
fix unit tests
Do not set Min / max in case it is decimal,Min / decimal.Max
3 years ago
Tim
a2cf40c812
Use `IsSet` instead of hardcoded values
3 years ago
Tim
d5b73e2109
Add some unit tests for Incement / Decrement
3 years ago
Tim
4340052cae
fix incement / decrement when value was null
3 years ago
Steven Kirk
559640fb1a
Register attached metadata on host not owner.
3 years ago
Steven Kirk
e7c3e0c673
Added failing test for #11212 .
3 years ago
Max Katz
7e2150ec54
Merge pull request #11313 from workgroupengineering/features/Issue_11311
feat: CompiledBinding StringFormat without curly braces
3 years ago
Max Katz
132c3b8a6a
Merge pull request #11323 from AvaloniaUI/fixes/itemscontrol-tab-navigation
Fix ItemsControl tab navigation
3 years ago
Steven Kirk
f3640afc56
Set KeyboardNavigationMode.Once on Menu.
Not 100% sure this is necessary, but WPF does it.
3 years ago
Steven Kirk
6b2d6f71a1
Fix tab navigation in TabControl.
This control is a bit trickier as `KeyboardNavigationMode.Once` needs to only apply to the header panel. Set `KeyboardNavigationMode.Once` on the panel when the template is applied, and forward `TabOnceActiveElement` from the `TabControl` to the panel.
3 years ago
Steven Kirk
d4194c8e2b
Added failing tests for TabControl tab navigation.
3 years ago
Steven Kirk
31ece204fc
Fix tab navigation in ItemsControl & ListBox
- Don't set `KeyboardNavigationMode.Once` on `ItemsPresenter`
- Instead set it on `ListBox` (more controls to come)
- Make `TabOnceActiveElement` follow `Selection.AnchorIndex` in `SelectingItemsControl` and set it on `ItemsControl` itself
3 years ago
Giuseppe Lippolis
20971097ca
test: Binding StringFormat without curly braces
3 years ago
Giuseppe Lippolis
85734f1a47
feat: Binding StringFormat without curly braces
3 years ago
Max Katz
31e2f3375c
Merge pull request #11314 from workgroupengineering/fixes/CompiledBinding_Command
fix: CompiledBinding Binding Command DependsOn
3 years ago
Giuseppe Lippolis
cf2d107a19
test: fix test CompiledBinding Binding Command DependsOn
3 years ago
Giuseppe Lippolis
bd9280c761
fix: CompiledBinding Binding Command DependsOn
3 years ago
Jumar Macato
482cf0295e
Merge pull request #11304 from AvaloniaUI/fixes/animation-expression-parsing
Fix TokenParser
3 years ago
Nikita Tsukanov
5ec758d790
Fix TokenParser
3 years ago
Max Katz
2130689cb5
Merge pull request #10510 from workgroupengineering/fixes/DevTools/WithoutApplicationLifetime
fix(DevTools): Debug Application without ApplicationLifetime
3 years ago
Max Katz
13c98937b3
Merge branch 'master' into fixes/DevTools/WithoutApplicationLifetime
3 years ago
Max Katz
2b1ab99d6e
Fix window duplicates on macos
3 years ago
Max Katz
f46977cdc1
Merge pull request #11146 from AvaloniaUI/nunit-headless-intergration
NUnit headless integration + XUnit test attributes
3 years ago
Max Katz
08641748f9
Merge pull request #11169 from AvaloniaUI/unify-test-mocks
[WIP] Reuse text and geometry related headless mocks in Avalonia unit test and benchmarks
3 years ago
Max Katz
0f3a4b313c
Uncomment test that should always fail
3 years ago
Max Katz
972e83bff2
Revert CancellationToken changes
This reverts commit 6b51f00a4a .
3 years ago
Max Katz
238a8ae58a
Add timeouts to the tests
3 years ago
Max Katz
4093a53444
Merge branch 'nunit-headless-intergration' into unify-test-mocks
3 years ago
Max Katz
dbaffc8206
Remove Solution usage from the nuke tests to avoid random CI errors
3 years ago
Max Katz
0c466d4f39
Merge branch 'master' into nunit-headless-intergration
3 years ago
Max Katz
4c580ddd4b
Merge branch 'nunit-headless-intergration' into unify-test-mocks
# Conflicts:
# tests/Avalonia.Base.UnitTests/VisualTree/MockRenderInterface.cs
# tests/Avalonia.Benchmarks/NullDrawingContextImpl.cs
# tests/Avalonia.Benchmarks/NullRenderingPlatform.cs
# tests/Avalonia.UnitTests/MockGlyphRun.cs
# tests/Avalonia.UnitTests/MockPlatformRenderInterface.cs
3 years ago
Max Katz
6b51f00a4a
Minor adjustments to changes in master + fix failing test (need to tick the timer manually) + add some comments
3 years ago
Max Katz
3dae1ff15e
Merge pull request #11298 from affederaffe/bump-tmds-dbus-sourcegenerator
Fix KDE accent color hot switching
3 years ago
affederaffe
fd995d63bc
Turn off log messages
3 years ago
affederaffe
451f30c9e1
Fix color scheme hot switching
3 years ago
Max Katz
78529a7479
Merge branch 'freeze-ios-android-target-versions' into nunit-headless-intergration
3 years ago
affederaffe
542481a8fd
Merge remote-tracking branch 'upstream/master' into bump-tmds-dbus-sourcegenerator
3 years ago
Max Katz
85a2fc504d
Merge pull request #11288 from workgroupengineering/features/Analyzers/CA1854
feat: Enable Rule CA1854
3 years ago
Max Katz
b3bca1ae76
Merge pull request #11289 from AvaloniaUI/datagrid-fix
DataGrid fixes
3 years ago
Max Katz
d7ff2482ee
Merge branch 'master' into features/Analyzers/CA1854
3 years ago
workgroupengineering
31d7728a54
fix nits
3 years ago
Max Katz
568f0f6ee2
Fix appium test
3 years ago
Max Katz
b0e3d0f116
Merge branch 'master' into fixes/DevTools/WithoutApplicationLifetime
3 years ago