Steven Kirk
9652a6ee16
Don't log verbose.
11 years ago
Steven Kirk
64a2edac01
Cache Selector.ToString()
Was actually adding up to a noticeable amount of time in large layouts.
11 years ago
Steven Kirk
ca08fce5b7
Work around problem in casting int to double.
Issue #49 .
11 years ago
Steven Kirk
df9951c24e
Merge branch 'master' into optimize-selectors
11 years ago
Steven Kirk
268b34e4fc
Make TextBlock properties attached properties.
This is how they should've been all along, except PerspexObject.Bind
didn't check that a property was registered before binding to it, so it
went unnoticed.
11 years ago
Steven Kirk
e83c2e06fd
Make sure bound property is registered.
11 years ago
Steven Kirk
768718e43f
Started optimizing selectors.
11 years ago
Steven Kirk
92bb2551cd
Id selector is now called Name. Update tests.
11 years ago
Steven Kirk
e7651dfcf2
Use async in selector tests.
11 years ago
Steven Kirk
2763e59adb
Use serilog for logging.
11 years ago
Steven Kirk
d558bd27e6
Handle null values.
11 years ago
Steven Kirk
fceb9b1ba5
Fix ScrollContentPresenter measure/arrange.
11 years ago
Steven Kirk
9125527de5
Tests for previous commit.
11 years ago
Steven Kirk
df77302d94
Another tweak to the binding system.
Binding levels with a an even number priority use the last fired binding
for the current value, those with odd number priorities use the latest
added.
11 years ago
Steven Kirk
8d7d04ffd3
Added diagnostic popup to devtools.
11 years ago
Steven Kirk
dc6f48d697
Merge remote-tracking branch 'origin/master' into binding-debug
11 years ago
Steven Kirk
3aa621cd96
Revert "Removed PerspexReadOnlyListView<T>"
This reverts commit 0359f8c9a3 .
11 years ago
Steven Kirk
0359f8c9a3
Removed PerspexReadOnlyListView<T>
I can't see why it was needed, just assigning the control's logical
child to the presenter's should work? No? Doesn't seem like it breaks
anything....
11 years ago
Steven Kirk
98c2357aab
Commited that by accident.
11 years ago
Steven Kirk
6de240cc4d
Stop DevTools crashing when tree changed.
PerspexReadOnlyListView had some problems...
11 years ago
Steven Kirk
deba950eb2
Make sure a render takes place after layout.
11 years ago
Steven Kirk
52e46f141a
Merge remote-tracking branch 'origin/master' into binding-debug
11 years ago
Steven Kirk
774959a406
Fixed gtk.
11 years ago
Steven Kirk
af7d46e89e
Documented ToolTip.
11 years ago
Steven Kirk
45c6c9cf02
Fix tooltip sizing.
By fixing TopLevel sizing... Width and Height now work like all other
controls in that they're only set when the window has an explicitly set
size. Don't think SizeToContent is needed? Closes #24 .
11 years ago
Steven Kirk
1662cb6548
Don't show tooltip when mouse has left control.
11 years ago
Steven Kirk
1d8f4714ff
Added basic tooltip control.
Can be attached to any control using an attached property.
11 years ago
Steven Kirk
e4d265345e
Merge remote-tracking branch 'origin/master' into readonly-properties
11 years ago
Steven Kirk
41e6bc9a5e
Fix TabControl.
11 years ago
Steven Kirk
fe6e021cb5
Make PriorityValue internal.
Want to add computed/readonly values in the near future which will not
use PriorityValue.
11 years ago
Steven Kirk
56968707de
Added some more tests for Shape.
Can't get all the new tests to pass... need to take a break AAARGH ;)
Need to be more tests added to test different stretch values etc.
11 years ago
Steven Kirk
9e5bce524c
Fixed D2D render tests.
A few were beoken due to UseLayoutRounding changes and a few were false
negatives due to artifacts. Try using RootMeanSquared as the error
metric and an arbitrary value of 0.02 which seems to be about right from
current data.
11 years ago
Steven Kirk
7f608ffa6c
Fixed failing tests.
11 years ago
Steven Kirk
ba8552cb81
Renamed Id to Name.
No reason to be different for the sake of it.
11 years ago
Steven Kirk
04673d539f
Fix TabControl logical parent.
11 years ago
Steven Kirk
d6d7de662c
Don't make SelectingItemsControl focusable for now.
11 years ago
Steven Kirk
67e6b2eaed
Fixed ScrollPresenter arrange.
And added tests because I think it's about the 5th time I've tried to
get this right...
11 years ago
Steven Kirk
7eceb16220
Fix Border/Decorator measure with no child.
Should return border thickness + padding.
11 years ago
Steven Kirk
ff6f3ae7dc
Allow mono test app to run again.
11 years ago
Steven Kirk
3965f7bdae
Updated and fixed all packages.
Now mono project should build.
11 years ago
Steven Kirk
363ad22438
Uninstalled Stylecop.MSBuild
It was causing problems and doesn't work properly with C#6 anyway.
11 years ago
Steven Kirk
b53f29f7e7
Make Perspex.sln only for Windows.
Things weren't working well having dual-targeting projects in VS2015 RC,
so make Perspex.sln just Windows for now.
11 years ago
Steven Kirk
7c6811a136
Cache array sizes.
11 years ago
Steven Kirk
1d617b8cd4
Use Array.GetLength instead of GetUpperBound.
For some reason I used GetUpperBound and added 1 instead of getting the
length. Who knows why. Always use GetLength even when we later subtract
1, to allow comparison to the Moonlight original more easily.
11 years ago
Steven Kirk
afb0ce4a87
Re-enable TreeView horizontal scroll.
11 years ago
Steven Kirk
566e66d848
Removed DeckItem - it's not needed.
11 years ago
Steven Kirk
a267e1c070
DesiredSize doesn't need to be null.
11 years ago
Steven Kirk
9a82daac91
Improved DevTools a bit.
11 years ago
Steven Kirk
97f5770920
Started refactoring DevTools.
11 years ago
Steven Kirk
6f940a7b15
Handle nulls in DataTemplate.
11 years ago