Steven Kirk
988e26ed9b
Use new AvaloniaPropertyDictionary.
4 years ago
Steven Kirk
d45f96daa3
Merge branch 'refactor/avaloniapropertystore' into refactor/new-value-store
4 years ago
Steven Kirk
102302999c
Added Clear method.
4 years ago
Steven Kirk
2589f26751
Remove unneeded change.
4 years ago
Steven Kirk
2bfaa8bd07
Renamed/moved benchmark.
4 years ago
Steven Kirk
13a5ce6c64
Added tests for AvaloniaPropertyDictionary.
And fixed a couple of bugs.
4 years ago
Steven Kirk
f07f64dbf4
Added ContainsKey.
4 years ago
Steven Kirk
036557b369
Remove some null forgiving operators.
4 years ago
Steven Kirk
7b0f5368a1
Add null check.
4 years ago
Steven Kirk
0518fddd30
Conform better to dictionary API.
And rename collection to indicate this.
4 years ago
Steven Kirk
7f5171e04a
Store property instead of id in Entry.
4 years ago
Steven Kirk
d77fe8c38a
WIP: Speed up benchmarks.
4 years ago
Steven Kirk
cda288ff03
WIP: Removed initializing, use try pattern.
4 years ago
Steven Kirk
309b1276af
WIP: Tweaking benchmarks.
4 years ago
Steven Kirk
f6d15d3e71
Merge branch 'master' into value-storage-perf-refactor
4 years ago
Steven Kirk
14a21f1156
Remove unused method.
4 years ago
Steven Kirk
a98772cf92
Remove assertion.
Due to #8549 .
4 years ago
Steven Kirk
653a6b804d
Stop assert dialogs popping up in leak tests.
4 years ago
Steven Kirk
56c098f77e
Use shared StyleInstance if possible.
If a `StyleBase` has no activator, and its `Setter`s don't need to be separately instanced on the control, then we can share a `StyleInstance` between controls.
This causes failing tests because `TopLevel` applies styles in its constructor, but doesn't set `_styled` to true, meaning that styles get applied twice. This issue will need to be addressed separately.
4 years ago
Steven Kirk
c386447f30
Make ValueFrame.Priority non-virtual.
4 years ago
Steven Kirk
caf5686777
Remove IValueFrame.
And use the concrete `ValueFrame` (renamed from `ValueFrameBase`) as this was the only implementation of the interface.
4 years ago
Dan Walmsley
ae0fe11895
Merge pull request #8547 from AvaloniaUI/tray-icon-fixes
Tray icon fixes
4 years ago
Steven Kirk
09d0c3ae3e
Refactored style activators.
- Always evaluate the active state from current information, don't rely on subscriptions to fire as the current state may not be up-to-date
- Don't notify the `IStyleActivatorSink` of a change immediately on subscription
4 years ago
Max Katz
d1b932a8e0
Allow tray icon only on the Application
4 years ago
Max Katz
7bc11941fb
Use bindings in native menu exporter
4 years ago
Max Katz
62d1b4f3b6
Add missing IsEnabled binding
4 years ago
Max Katz
949b7f2d94
Call GetHicon only once when creation a windows icon
4 years ago
Dan Walmsley
5e1c48ed4b
Merge pull request #8544 from AvaloniaUI/fixes/trayicon-interaction
Fix multiple enumeration of TrayIcon menu items on win32 causing broken tray icon menus
4 years ago
Dan Walmsley
961c693e34
fix win32native to managed menu exporter.
4 years ago
Dan Walmsley
a51acea5e0
MenuItem might have to look up the logical tree to find its menu parent (as in trayicon)
4 years ago
Steven Kirk
0119cf1af1
Fix a couple of inheritance bugs.
With associated unit tests.
4 years ago
Steven Kirk
c44e0bda34
Unwrap exceptions before logging.
4 years ago
Steven Kirk
88d59a4ed5
Fix missing logging.
4 years ago
Steven Kirk
f3369cbc35
Remove unused field.
4 years ago
Steven Kirk
2377dca2d1
Tweak naming.
4 years ago
Steven Kirk
a49a01c94b
Fix DataContext notifications.
4 years ago
Steven Kirk
18caac12ca
Don't start values unnecessarily.
4 years ago
Steven Kirk
1e4577fa3f
Don't produce value when reading (Has)Value.
4 years ago
Steven Kirk
14f17f263c
Stop assert dialogs popping up in netfx tests.
4 years ago
Steven Kirk
fd3e561404
Reinstated test.
4 years ago
Steven Kirk
fb3e9d71b7
Implemented coercion.
4 years ago
Steven Kirk
483bbd2e26
Refactored inheritance.
To remove `InheritanceFrame` - it was unneeded, we can just point to the nearest ancestor value store with inherited values.
4 years ago
Nikita Tsukanov
ed0ee6517e
Merge pull request #8536 from AvaloniaUI/fixes/renderer-fixes-2022-07-18
Fixed various invalidation and hit-testing issues
4 years ago
Steven Kirk
72308f1f37
Use custom binary search in ValueStore.
4 years ago
Steven Kirk
79115bd199
Don't add duplicate frames.
4 years ago
Steven Kirk
71785b73d8
Initial refactor of AvaloniaObject value store.
Most (but not all) tests passing, all features mostly implemented exception coercion.
4 years ago
Steven Kirk
edef92f42f
Merge branch 'master' into feature/7120-control-themes
4 years ago
Max Katz
1eead138fc
Merge pull request #8540 from AvaloniaUI/fix-dataGrid-typo
Fix typo in DataGrid
4 years ago
Takoooooo
78a49b3fb3
Fix typo in DataGrid. DataGridComparerSortDesctiption -> DataGridComparerSortDescription
4 years ago
Dan Walmsley
2224ff9892
Merge pull request #8538 from AvaloniaUI/feature/expose-gtk-thread-invoke
Introduced GtkInteropHelper.RunOnGlibThread, fixed demos
4 years ago