amwx
e51bb40387
ignoreChangeCount in SnapshotUndoRedo in set Text
4 years ago
amwx
e5e0b7f3e6
Try fix failing test
4 years ago
Emmanuel Hansen
e685659173
adjust view size when osk is shown or hidden
4 years ago
Steven Kirk
e074a70187
Refactored style invalidation/removal.
4 years ago
Steven Kirk
1945345cd1
Rename TemplatedParent priority to Template.
It no longer represents just `TemplatedParent` bindings, but every value or binding created by a template.
4 years ago
Steven Kirk
326dac2328
Refactored how we switch control themes.
Instead of simply wiping all control themes and styles that are applied to a control, we can now just remove the `ValueFrame`s which relate to the control theme that was changed.
To do this, added `ValueFrame.FramePriority` which encodes both the `BindingPriority` and source of the frame (style, control theme, templated parent control theme).
4 years ago
Steven Kirk
086c2c7e70
Don't apply styling in TopLevel ctor.
Applying styling in the constructor isn't a good idea as demonstrated by #8549..
Instead apply styling when showing a window, or if it's needed call `ApplyStyling` manually, e.g. in unit tests.
Fixes #8549
4 years ago
Steven Kirk
1a338ac087
Remove IStyler and make style apply internal.
- Removes the `IStyler` service and the `Styler` implementation
- Moves the logic for applying styles and control themes into `StyledElement`
- Removes the style `TryAttach` method from the public API
- Removes style caching for now - this will need to be added back
4 years ago
Steven Kirk
0db8d5a2d2
Refactored style attach benchmark.
Now tries to simulate an application with a lot of styles applied at different points in the logical tree.
Make `StyledElement.ApplyStyling` a public API in order to do this.
4 years ago
amwx
4b089c0e82
Add some missing xml docs & a little cleanup
4 years ago
amwx
16f3114e61
TextBox programmatic Undo/Redo & CanUndo/CanRedo
4 years ago
Nikita Tsukanov
2d7c8645d0
Recalculate parent's child render nodes on visual tree attachment
4 years ago
Nikita Tsukanov
bb1469dbff
[OSX] Use non-opaque window background for non-transparent windows
4 years ago
Max Katz
82a6d1431b
Fix tests
4 years ago
Max Katz
cd83f8558f
Changes after the reivew
4 years ago
Max Katz
c111b235f7
Fix static property getter/setter
4 years ago
Max Katz
7b00f34df8
Fix template parent compiled bindings with "!" in the beginning
4 years ago
Steven Kirk
16afcecb99
Only resize if WindowState is Normal.
4 years ago
Dan Walmsley
c29fff0342
rename avalonia.web to avalonia.browser
4 years ago
Max Katz
4043c6aa66
Minor formatting issues
4 years ago
Max Katz
07d53775ba
Make all themes AOT friendly by moving StyleInclude to the XAML
4 years ago
Max Katz
fcf26fe4f2
Inject generated types into Ref assembly as well
4 years ago
Max Katz
a0f0e161cb
Cleanup StyleInclude and ResourceInclude in the Core project
4 years ago
Nikita Tsukanov
a30d8ba768
[X11] Skip TextInput event if KeyDown event was handled
4 years ago
Giuseppe Lippolis
e74feb8096
fix: build
4 years ago
Nikita Tsukanov
c7d76e49e4
[OSX] Fixed NativeMenu memory leak
4 years ago
Max Katz
0992c3e6d4
Rename AvaloniaDialogsInternalViewModelBase
4 years ago
Max Katz
76887ef16a
Move Shift scrolling to the ScrollPresenter layer
4 years ago
Max Katz
8e1a878e83
Some devtools fixes
4 years ago
Max Katz
cb753b3a2b
Move dialog details of implementation to the internal folder
4 years ago
Giuseppe Lippolis
84ca1673c9
fix: Ensure Dev*,Microcom and Build Task are builds before Controls when build solution in IDE
4 years ago
Max Katz
de4415274e
Fix devtools not making screenshots
4 years ago
Max Katz
50efce1bf4
Fix selectors with template bindings
4 years ago
Max Katz
fa0cea97fe
Enable compiled bindings by default and fix all the usages + adjust some namespaces
4 years ago
Max Katz
3c73f9dc0f
Fix CanExecute for compiled binding commands
4 years ago
Max Katz
79332f208b
Fix wrong type parameter for the command accessor
4 years ago
DJGosnell
9d999a6827
Changed SKPaintCache.Return to ReturnReset.
Added SKPaintCache.Return which only returns the paint and does not reset.
Removed PaintWrapper._disposePaint.
Removed all method call's references to setting PaintWrapper._disposePaint.
4 years ago
DJGosnell
713d2cab35
Added documentation.
4 years ago
DJGosnell
b51ba178c9
Added SKPaintCache.
Cached all SKPaint usages in the DrawingContextImpl to reduce disposals.
4 years ago
Max Katz
bdd588fef8
Also check for previous XamlIlTypeSelector
4 years ago
Max Katz
ddeb27e0a3
CompiledBinding resolve template type from selector
4 years ago
Max Katz
e1c7e8b5ec
Apply changes after review
4 years ago
Max Katz
66ad721763
Inject AvaloniaUseCompiledBindingsByDefault from Cecil
4 years ago
Max Katz
0d60f972f9
Fix nullable
4 years ago
Max Katz
dc0c7e756a
Respect AvaloniaUseCompiledBindingsByDefault in previewer
4 years ago
Max Katz
5553958238
Remove RuntimeHostConfigurationOption
4 years ago
Giuseppe Lippolis
5e52a59897
fix: Address review
4 years ago
Giuseppe Lippolis
8da962a71d
perf: optimizze TryLoad
4 years ago
Giuseppe Lippolis
dd61a5d7a8
perf: parse uri when xaml compiled
4 years ago
Max Katz
f489a336a0
Fix onplatform generics crash on macOS
4 years ago