Steven Kirk
a6cfbdac93
Remove Avalonia.Win32.NetStandard dir.
8 years ago
Steven Kirk
79f35161be
Use correct CharSet for WNDCLASSEX
And prepend `Avalonia-` to window class. Looking in Spy++ I noticed that our window class name was garbage because the `CharSet` on `WNDCLASSEX` was wrong. Fix that and include "Avalonia" in our window classes.
8 years ago
Steven Kirk
0e126d2b06
Reimplement EmbeddedWindowImpl.
Without System.Windows.Forms.
8 years ago
Steven Kirk
728c19eb86
Removed unused files.
8 years ago
Steven Kirk
e55ec59ec3
WIP
8 years ago
Steven Kirk
eb0e6650ca
Remove debug code.
8 years ago
Steven Kirk
b9ebff3fb2
Fixed malformed doc comment.
8 years ago
Steven Kirk
6b9e93d267
Fix window child constraint.
Instead of measuring the child and then clipping the child's desired size based on `SizeToContent`, instead pass a constraint based on `SizeToContent` to the child.
8 years ago
Steven Kirk
9b099de4a4
Addressed PR feedback.
8 years ago
Steven Kirk
51a47b3a94
Instance can be null here.
Was causing intermittently failing test: https://ci.appveyor.com/project/AvaloniaUI/Avalonia/build/0.1.4468
8 years ago
Steven Kirk
91a0811c18
Removed unused variable.
8 years ago
Steven Kirk
8901f1d781
Don't make IGeometryImpl implement IDisposable.
8 years ago
Steven Kirk
8a80a724d7
Implement disabling of ListBox scrollbars.
Fixes #1344 .
8 years ago
Steven Kirk
02c6ae3c1a
Added ScrollBarVisibility.Disabled.
8 years ago
Steven Kirk
52dcd41cd9
Don't dispose geometry impls.
We can't do this until we have ref counting infrastructure in, as the impls may still be in use by the deferred renderer.
8 years ago
Steven Kirk
375e0f0a64
WIP
8 years ago
Steven Kirk
d2e1eba876
Refactored geometry.
There were a number of problems with `Geometry` and its subclasses and platform implementations. Fix these, for more details see the PR that this commit is a part of.
8 years ago
Steven Kirk
438bc89a90
Preserve defining geometry transform.
Previous logic was overwriting `DefiningGeometry`'s transform with the transform calculated by the layout pass. Be sure to apply both transforms to the `RenderedGeometry`.
8 years ago
Steven Kirk
64ed0761c7
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
8 years ago
Steven Kirk
46bcbacc53
Fix layout in ScrollContentPresenter.
- Share common layout logic between `Border`, `ContentPresenter` and `ScrollContentPresenter`
- Added a bunch of tests for things not previously convered
- Fix `ScrollContentPresenter` child layout
8 years ago
Steven Kirk
4888d11f2f
Respect CanScrollHorizontally in Arrange.
Fixes #1065
8 years ago
Steven Kirk
f22994a083
Added failing test for #1065 .
Also add setter for `ScrollContentPresenter.CanScrollHorizontally`.
8 years ago
José Pedro
7cccc6bda0
Use nameof where possible.
8 years ago
José Pedro
60a04fbd24
Fixed ToggleButton.IsChecked default value.
8 years ago
Jeremy Koritzinsky
e462e06193
Use memcpy instead of System.Runtime.CompilerServices.Unsafe
8 years ago
Jeremy Koritzinsky
1c12cd4bd6
Fix x64 builds of Avaloina.Direct2D1. Refactor build scripts to reduce time and fix issues.
8 years ago
Jeremy Koritzinsky
f72577cf92
Clean up test scripts
8 years ago
Dan Walmsley
b944783c1b
fix Skia SetForegroundBrush when length = 1.
8 years ago
M. ter Woord
09c7c32e19
Add the missing file.
8 years ago
M. ter Woord
ad02c53a46
- Add XamlLoadException
- Use it for the new load exception info.
8 years ago
Jeremy Koritzinsky
ba481365f6
Enable turning off the setup check for appbuilder tests.
8 years ago
M. ter Woord
381cd64b1f
Add the uri to the error message, that way nested load errors can be diagnosed much quicker.
8 years ago
Jeremy Koritzinsky
23af42e423
Fix explicit StylingParent definition.
8 years ago
Jeremy Koritzinsky
b463d04e9f
Make KeyGestures with +,-,. in them match with both the non-numpad keys and the matching numpad keys.
Fixes #225
8 years ago
Jeremy Koritzinsky
6d075ad27b
Fix #424 .
8 years ago
Jeremy Koritzinsky
8bcd07730a
Change StylingParent for Popup to be PopupRoot so local styles flow to it.
8 years ago
Jeremy Koritzinsky
bdaf4a2046
Fix #1182 .
8 years ago
Unknown
ea65626a46
use lower case extensions for avalonia documentation files.
8 years ago
Steven Kirk
05da271376
Updated Portable.Xaml
Merged `fixes/76-trim-whitespace` into `avalonia` branch (https://github.com/cwensley/Portable.Xaml/pull/77 ). Fixes whitespace trimming in Xaml reader.
Fixes #1275
8 years ago
Jeremy Koritzinsky
f65ae1918f
Change TransformedBounds to a direct property on Visual (exposed on IVisual) instead of using an attached property in BoundsTracker.
8 years ago
Steven Kirk
bf2ca5da72
Removed unneeded code.
8 years ago
Steven Kirk
e49e682f9c
This Max shouldn't be needed.
8 years ago
Jeremy Koritzinsky
8733547cae
Make RangeBase.Value bind TwoWay by default. Fixes #841 .
8 years ago
Steven Kirk
7405cd7952
Match formatting of other block.
8 years ago
Steven Kirk
222ded0c33
Removed remaining collection set.
8 years ago
Steven Kirk
4676ac5fb2
Don't use ObserveOn in Bindings.
Instead of using `Observable.ObserveOn` in bindings, interface with `Dispatcher.UIThread` to schedule binding notifications on the UI thread. This saves a significant amount of memory.
8 years ago
Jeremy Koritzinsky
1cfc9fe47f
Remove extraneous documentation comment.
8 years ago
Jeremy Koritzinsky
a02515fe19
Make pending set condition always !object.Equals since the other condition in PriorityValue didn't match expected behavior as per new unit tests.
8 years ago
Steven Kirk
b3fca2360d
Fix failing skia render test
Make sure we restore the transform in `EndRender` and use the same order of pushing/popping operations that `ImmediateRenderer` uses.
8 years ago
Steven Kirk
2a87dbd6ca
Fix opacity mask rendering.
We're potentially creating a new immutable version of the opacity mask each time the `VisualNode` is updated. Need to implement comparison between mutable and immutable brushes.
8 years ago