Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Steven Kirk
5c756f435d
Added a comment about RenderLoop threading.
10 years ago
Steven Kirk
2f693acaf0
Add IRendererFactory.
I don't like to add factories, but it's better than the previous
`Attach` way of doing things; it's necessary because it's not possible
to pass constuctor parameters using `AvaloniaLocator`.
10 years ago
Steven Kirk
e54ac6b5bf
Fixed name of method.
It's creating a render target, not a renderer.
10 years ago
Steven Kirk
96700226c3
Don't need reentry guard here.
10 years ago
Steven Kirk
e190cb4e8c
Use multimedia timer on Win32 for render loop.
10 years ago
Steven Kirk
81d31a4e20
Rename RenderLoop -> DefaultRenderLoop.
Make it overridable and register it in the windowing subsystem, so that
windowing subsystems can provide custom implementations.
10 years ago
Steven Kirk
bd4bcea888
Somehow missed a file from merge.
10 years ago
Wiesław Šoltés
0221b8543c
Removed RenderTarget implementation from shared project
10 years ago
Dan Walmsley
0d8a82c07a
fixes Cairo.Pattern leaks. Courtest of nc4rrillo
10 years ago
Wiesław Šoltés
1291ffff83
Set ShouldIncludeNativeSkiaSharp flag
10 years ago
Wiesław Šoltés
749f086d0c
Updated SkiaSharp to version 1.54.1
10 years ago
Steven Kirk
85f07274d4
Fixed failing test.
10 years ago
Steven Kirk
af696acc69
Removed gtkMode from Next/PreviousWord.
As we always want this behaviour.
10 years ago
Steven Kirk
1b4ebf5b1d
Renamed AsBinding -> ToBinding.
10 years ago
Dan Walmsley
c33a7da97b
Added todo comment for focus scopes.
10 years ago
Dan Walmsley
980a04b38f
Whitespace changes.
10 years ago
Dan Walmsley
3fea4d34f1
Restore focus of input element after alt-key has stolen focus.
10 years ago
Dan Walmsley
4c5c099ec3
Dont focus menu then alt key down event is followed
by another keydown event.
10 years ago
Steven Kirk
b0e0596500
Updated OmniXAML to allow '^' in markup extension.
10 years ago
Steven Kirk
b6c51b34ef
Renamed ValueHandler -> StreamPlugin
10 years ago
Steven Kirk
715149b1f5
Improve stream operator error message.
When a stream operator is applied to an unsupported type.
10 years ago
Steven Kirk
0ddf4caa95
Added a "stream" binding expression operator.
Which is now required when wanting to get the value produced by a
Task/IObservable rather than the Task/IObservable itself. Fixes #711 .
10 years ago
Ivan Kochurkin
f940456d3e
gtkMode = true by default in NextWord and PreviousWord methods.
10 years ago
Ivan Kochurkin
8eea7fb4bc
fixes #686 : "End" key works incorrectly in TextBox.
10 years ago
Steven Kirk
612839c13a
Fix virtualized list keyboard scrolling.
When cross-axis scrollbar is visible.
10 years ago
Dan Walmsley
256465cd73
Improved text rendering quality on skia backend.
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
Robbie Knuth
507bc51b59
Handle special case of deleting carriage returns and linefeeds in multiline textboxes.
10 years ago
Robbie Knuth
6b9c7c1c47
Textboxes should take whitespace into account when calculating size.
10 years ago
Robbie Knuth
48760735ee
When a textbox gets focus via the tab key, select all text if the textbox is single line.
10 years ago
Steven Kirk
f15a136e00
Throw an exception if FontWeight <= 0
In FormattedText. Fixes #700 .
10 years ago
AndrewSt
795cb3bb9b
Change property LastState on TryGetLastState method and add HasState property in UndoRedoHelper
10 years ago
Steven Kirk
1b32a6aac3
Fixed unused member warnings.
That only show up on mono: seems the standard C# compiler silently
ignores most of these.
10 years ago
AndrewSt
03aa3c0b82
UndoRedoHelper.cs remove the commented-out code
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
AndrewSt
e3f94011bc
Fix bug Pressing Ctrl-Z in a TextBox with no changes removes text #493
10 years ago
AndrewSt
c7b772b262
TextBox fix NullReference bug when Text=Empty and press Ctrl+A (SelectAll)
10 years ago
Steven Kirk
7e4babfd9a
Fix FPS counter.
It was updating on every tick rather than every second.
10 years ago
Steven Kirk
52438d64db
Don't try to invalidate an already closed window.
And make sure the window is hidden before `_window.Dispose` is called.
Fixes #729 .
10 years ago
Wiesław Šoltés
a508b594e8
Removed unused references
10 years ago
Steven Kirk
94082ce958
Make Avalonia.Android compile again.
No idea if it actually works because android doesn't seem to work at all
at the moment.
10 years ago
Wiesław Šoltés
edc0a86178
Use latest app builder
10 years ago
Steven Kirk
6afa000c42
Added a render loop.
Rather than repainting whenever, this adds a render loop which is called
N times per second. IRenderQueueManager and ITopLevelRenderer have been
removed, replaced by IRenderer.
10 years ago
Steven Kirk
ae4589a5d4
WM_PAINT must always be handled.
Timers won't be called if not as WM_PAINT has a higer priority.
10 years ago
Steven Kirk
bf2285bbe4
Added a render test sample.
To measure FPS with animations.
10 years ago
Steven Kirk
6e7fb76966
Allow movement to after last char with arrow keys.
Fixes #716 .
10 years ago
Steven Kirk
df2f685ec8
Set canvas property default values to NaN.
And add unit tests. Fixes #704 .
10 years ago
Steven Kirk
85e025da6b
Fixed spacing.
10 years ago
OronDF343
26f1f0b884
Fixed bad diff tool errors
10 years ago