Steven Kirk
f39e38545d
Use inner methods for invalidation.
8 years ago
Steven Kirk
c7b42d1326
Add the old overloads back in.
And mark them as `[Obsolete]`.
8 years ago
Steven Kirk
fad2e317ba
Make AffectsMeasure/Arrange/Render typed.
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Jumar Macato
b161593994
Moved version and xaml props to build directory.
added Directory.Build.Props to src & samples directory.
cleaned up Avalonia.Markup.csproj. Will do more test to do the same on
Avalonia.Markup.Xaml.
8 years ago
Jumar Macato
7ae90eb7c5
Cleanup all the csproj's that can be cleaned. Ported RenderTest and VirtualizationTest samples to .NET Core.
8 years ago
Benedikt Schroeder
da25b2f61f
LayoutHelper for controls with single content
BorderRenderHelper refactoring
8 years ago
Steven Kirk
64ed0761c7
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
8 years ago
Unknown
ea65626a46
use lower case extensions for avalonia documentation files.
9 years ago
Nikita Tsukanov
70c24908a9
Various fixes for GTK and DeferredRenderer support
9 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Nikita Tsukanov
6b91850579
Switched to netstandard1.3
9 years ago
Dan Walmsley
71dff48a7a
add fix for null reference exception when arranging.
added comments explaining the conditions that the bug occurs in.
(cherry picked from commit fa1f5bc8f9 )
9 years ago
Nikita Tsukanov
35f353c2db
Use OnMeasureInvalidated instead of virtual InvalidateMeasure
9 years ago
Nikita Tsukanov
abf866cf61
Fixes to get it working again after merge
9 years ago
Steven Kirk
ab30fd343b
Handle no previous measure/arrange.
This shouldn't happen, but if it does, don't crash.
9 years ago
Steven Kirk
5a34acac2d
Don't need to do this.
We don't need to invalidate newly added controls with the layout manager - this is already handed by the parent control.
9 years ago
Steven Kirk
40c342989b
Assert control invalidation behavior.
Controls not attached to the visual tree should not notify the `LayoutManager` that they have had their layout invalidated. Similarly when added to the visual tree their parents and themselves should have their layout invalidated.
9 years ago
Steven Kirk
18f9e2840d
Explain the algoithm a bit.
9 years ago
Steven Kirk
a1d46a7784
Use a stack instead of HashSet.
Controls that are already invalid will not invalidate themselves again to with the `LayoutManager`, so we don't need to worry about duplicates.
9 years ago
Steven Kirk
f97ebe961b
Fixed some stupid mistakes in algorithm.
9 years ago
Steven Kirk
ac3ca7ca29
Make LayoutManager pass new tests.
9 years ago
Nikita Tsukanov
09c9d7b7d5
Layout integration seems to be working now
9 years ago
Nikita Tsukanov
317b0f7034
testtesttest
9 years ago
Nikita Tsukanov
3126901721
WPF embedding improvements
9 years ago
Nikita Tsukanov
00fbc5cea7
Use (0, 0) as default for non-existing PreviousMeasure
9 years ago
Nikita Tsukanov
eb6bfd3de8
Moved layout manager from service locator to ILayoutRoot
9 years ago
Steven Kirk
4730ee1c41
Fix spelling of descendant.
While "descendent" is an acceptable English spelling, "descendant" is the common spelling.
9 years ago
Steven Kirk
16a47dac61
Apply margin before width/height.
Fixes #993 .
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
9 years ago
Steven Kirk
96d9cfa2fc
Use the default compile items in core libs.
Now we're using the new project system, we don't have to have a
`<Compile Include="..."/>` element for each file.
9 years ago
Nikita Tsukanov
6cf037ad7c
One liners
9 years ago
Nikita Tsukanov
66ac05b2c2
Removed <Name> elements from new projects
9 years ago
Nikita Tsukanov
d1caaaca3e
Removed <Project>
9 years ago
Nikita Tsukanov
25c7be5b7a
Removed packages.config from csproj.files
9 years ago
Nikita Tsukanov
e35b2af5b2
Don't use multitargeting (we are using only one target anyway)
9 years ago
Nikita Tsukanov
e780c4201a
Switched to .NETStandard (mostly 1.1)
9 years ago
Nikita Tsukanov
b0a063838f
Migrated to PackageReference
9 years ago
Steven Kirk
71c6c572ac
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Steven Kirk
6036bd5998
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Nikita Tsukanov
a7bd6ff192
AppDerpor
9 years ago
Steven Kirk
cfd2be07ec
Added LayoutUpdated event.
Fixes #825 .
9 years ago
Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Steven Kirk
7067fa0146
Cross-axis scrolling for virtualized lists.
There are still a few bugs around scrollbar behavior, and maybe Grid. To
see them, add a long item in the middle of VirtualizationTest's items,
resize the window to require a scrollbar and scroll up and down.
10 years ago
Steven Kirk
ca17c50bf4
Treat warnings as errors.
In Release build in main Avalonia assemblies (couldn't do it in
Avalonia.Markup.Xaml due to warnings in OmniXaml). To do this, fixed a
number of warnings.
10 years ago
Wiesław Šoltés
7282744b70
Removed outdated binding redirects and app.config
10 years ago
Jeremy Koritzinsky
3c5848bc2c
Updated Rx to 3.0 and fixed a failing test from a not fully set up mock.
10 years ago
Steven Kirk
c554467d13
Invalidate measure when control removed
When a control's parent changes, invalidate its measure and the measure
of all descendents.
10 years ago
Steven Kirk
8ed3a7bc7c
Fix copy/paste error in LayoutManager.
Fixes test previously added.
10 years ago
Steven Kirk
8e6976a0da
Tweak measure/arrange algorithm.
To ensure that parent controls are measured/arranged before children.
10 years ago