Steven Kirk
ea6b1d4cfd
Starting removing hard dependency on Serilog.
Instead log through a static Logger, and provide a Serilog consumer for
this.
10 years ago
Steven Kirk
96ab9e62cd
Added attached property support in bindings.
10 years ago
Steven Kirk
bc7c0ece15
Ensure active direct bindings don't get collected.
10 years ago
Steven Kirk
248f059e6f
Added failing TreeViewItem test.
Binding returned from TreeDataTemplate is getting collected.
10 years ago
Steven Kirk
93884ea063
Added test for issue 284.
Moved NotifyingBase to Perspex.UnitTests in order to do this.
10 years ago
danwalmsley
4107a59c09
implemented new interface in TestScrollable
10 years ago
Steven Kirk
fa9e7fbcd8
Don't use observables to detach styles.
Rather than adding a TakeUntil(control.StyleDetach) to each applied
style, keep track of the applied styles in a static list. This
dramatically reduces memory usage.
10 years ago
donandren
a530f5b7e7
reformat LayoutTransformControl code
10 years ago
Steven Kirk
d845bec0a9
Forgot to save .csproj.
10 years ago
Steven Kirk
20cb202232
Fix bindings not being unsubscribed on Dispose.
10 years ago
donandren
4e2513b3ff
LayoutTransformControl Unit tests
10 years ago
Steven Kirk
a84127c768
Make benchmark more complex.
10 years ago
Steven Kirk
14360b1b7b
Modified benchmark.
10 years ago
Steven Kirk
072941837b
Refactored styles...
To try and make them more performant.
10 years ago
Steven Kirk
1f504b903f
Added Benchmarks project.
10 years ago
Steven Kirk
9e10cec9f5
Removed AutoMoq from Perspex.UnitTests.
It was causing problems with binding redirects to Moq and it's not much
harder to do it by hand.
10 years ago
Steven Kirk
444b806eda
Changes made my NuGet.
10 years ago
Steven Kirk
8c9a2e89ad
Make DataTemplate-created TreeViewItems namescopes.
Closes #463 .
10 years ago
Steven Kirk
81d7d76659
Renamed paml => xaml in files.
10 years ago
Steven Kirk
fbe681c925
Use weak events for indexer subscriptions.
10 years ago
Steven Kirk
4057670f43
Ensure that PerspexObject bindings are unsubbed.
10 years ago
Steven Kirk
3d271cd020
Started implementing weak bindings.
Tests currently failing as WeakSubscriptionManager doesn't support
unsubscribing yet.
10 years ago
Steven Kirk
d0dc103c5e
Supply UnsetValue for DirectProperty.
When a direct property is set to UnsetValue, previously it used
default(TValue). Allow that value to be overridden and make it be -1 for
SelectingItemsControl.SelectedIndex.
10 years ago
Steven Kirk
21ae855a06
Supply UnsetValue for DirectProperty.
When a direct property is set to UnsetValue, previously it used
default(TValue). Allow that value to be overridden and make it be -1 for
SelectingItemsControl.SelectedIndex.
10 years ago
Steven Kirk
1ae6b929b3
Think I've fixed the leak...
But I think it's showing up bugs elsewhere that need to be fixed.
10 years ago
Steven Kirk
ba008e987d
Demonstrate leak in test.
10 years ago
Steven Kirk
d87f585ead
Fixed changes affected by last commit.
10 years ago
Steven Kirk
79843ae311
Make DataTemplate-created controls namescopes.
10 years ago
Steven Kirk
21f4570559
Allow binding to anchor's DataContext.
Fixes #461 .
10 years ago
Steven Kirk
5d53ec9822
Fix binding to Window.
10 years ago
Steven Kirk
b227e8623f
Removed bogus test.
It wasn't testing the actual leak and relied on messy reflection so
removing it.
10 years ago
Steven Kirk
080638e079
Ensure DataTemplate contents can be named.
10 years ago
Steven Kirk
768c5c0f5e
Added new failing leak test.
10 years ago
Steven Kirk
667c17af4b
Removed leak tests and added failing test.
These were from a time when templates were applied when
attached/detached from visual tree. Template controls are now retained
until another template is applied.
10 years ago
Jeremy Koritzinsky
eea178500a
Added test and fixed implementation.
10 years ago
Steven Kirk
ab2d7571e1
Include default theme and base color in App.paml.
10 years ago
Steven Kirk
13599a6ebc
Set Track's logical child.
To its Thumb. This fixes a problem with styling ScrollBar.
10 years ago
Steven Kirk
6e337ec877
Fix loading of UserControls.
Also added a UserControl test, though it turns out it was unrelated to
the problem at hand.
10 years ago
Steven Kirk
8209a85193
Make IBinding return an InstancedBinding.
Instead of an ISubject<object> as this was wasteful when a OneTime or
OneWay binding was required.
10 years ago
Steven Kirk
a9f5fac632
Added failing test.
10 years ago
Steven Kirk
b4fbc1d50e
Make failing test pass.
10 years ago
Steven Kirk
80ecc8002b
Implemented delayed bindings.
10 years ago
Jeremy Koritzinsky
7baf8ba615
Changed argument parser to parse everything as strings and refactored the IndexerNode.GetValue to special case places where we can check validity (and multidimensional arrays since they don't work like everything else). Removed LiteralParser since it isn't used by anything any more.
10 years ago
Steven Kirk
bacab96ec1
Added test to demonstrate problem.
10 years ago
Steven Kirk
8ca890d168
Started implementing XAML lifecycle listener.
We need to delay bindings until everything is set up before everything
works though.
10 years ago
Steven Kirk
f7cd106937
Updated OmniXAML and added checks for initialization order.
OmniXAML issue #84 is now fixed. Added tests to confirm this and to check that setting the Name property now fails because of this fix.
The fix for Name will come next.
10 years ago
Jeremy Koritzinsky
8c6c1ffaea
Added unit tests for parsing floating point indexers and changed LiteralParser to support it.
10 years ago
Jeremy Koritzinsky
5ed27d36d3
Added code for listening for indexer updates via INotifyPropertyChanged.
10 years ago
Jeremy Koritzinsky
74cea95956
Can now bind to a non-IList/Array indexer (with any parameter type convertible via TypeUtilities).
10 years ago
Steven Kirk
fd1196f190
Forgot to save .csproj. Again.
10 years ago