Nikita Tsukanov
b963d68668
Try to respect DispatcherPriority when possible
9 years ago
Steven Kirk
a56ca5f319
Ported IDispatcher from scenegraph branch.
9 years ago
Steven Kirk
a46be4e200
Ensure correct thread for AvaloniaProperty access.
Previously we ensured that `AvaloniaObject.SetValue` was run on the main
thread. This makes sure that `GetValue`, `IsSet` and `ClearValue` are
also run on the main thread. Unit testing this turned out to be more
complicated than expected, because `Dispatcher` keeps a hold of a
reference to the first `IPlatformThreadingInterface` it sees, so made
`UnitTestApplication` able to notify `Dispatcher` that it should update
its services.
9 years ago
Steven Kirk
d34c279ba1
WIP: Adding render layers.
9 years ago
Steven Kirk
934e18c8ba
Initial impl of incremental update to SceneGraph.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
04f10b9faf
CurrentThreadIsLoopThread is a property.
11 years ago
Nikita Tsukanov
45da235507
Renaming stuff
11 years ago
Nikita Tsukanov
d1c6b50911
Added VerifyAccess call to PerspexObject. We need to do something about Dispatcher and unit tests
11 years ago
Nikita Tsukanov
17f90128c9
Method renaming
11 years ago
Nikita Tsukanov
21f977ac9d
Replaced InvokeAsync with Invoke and InvokeTask to avoid exception swallowing and misunderstanding
11 years ago
Nikita Tsukanov
f50a2c361c
Reverted Dispatcher.UIThread and added SingleThreadDispatcher
11 years ago
Nikita Tsukanov
d7f3778de6
New main loop system
11 years ago
Nikita Tsukanov
3cd3579475
"field can be readonly"
11 years ago
Nikita Tsukanov
21a3554260
Change property getter to expression properties
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Nikita Tsukanov
7923159c61
DispatcherTimer should now swallow exceptions
11 years ago
Nikita Tsukanov
99af4bfdb3
Added SynchronizationContext support
11 years ago
Nikita Tsukanov
e2198a0c67
Added RunJobs to Dispatcher (needed for designer)
11 years ago
Nikita Tsukanov
ea1acce696
Fixed render updates
11 years ago
Steven Kirk
5dc0e604fb
Slyecoping.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
1599828f9d
Documentation.
11 years ago
Steven Kirk
0717b980e1
Refactored Dispatcher.
To make it easier to implement dispatchers on other platforms. Currently
assuming a single dispatcher per application. Had to copy most of
NGenerics locally just to get a PriorityQueue implementation as it has
no PCL version.
11 years ago
Steven Kirk
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago
Steven Kirk
7dc715d27e
Make TextBox caret flash.
12 years ago