Wiesław Šoltés
e31d8f3bca
Renamed SkiaSharp.Linux.props to SkiaSharp.Desktop.props
9 years ago
Wiesław Šoltés
d0fbbc9182
Removed nuget libraries for Android and iOS targets
They are part of Xamarin bcl.
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
9 years ago
Steven Kirk
a56ca5f319
Ported IDispatcher from scenegraph branch.
9 years ago
Nikita Tsukanov
6754bda125
Switched back to using DependencyContext (we might even want to use it for net451 later)
9 years ago
Steven Kirk
04b35fef62
Removed unused field.
9 years ago
Steven Kirk
8e6b6258ed
Fix re-enabling windows when dialog is closed.
9 years ago
Steven Kirk
42239d4498
Moved IDrawingContextImpl to Avalonia.Platform.
So it can be alongside its impl brethren.
9 years ago
Wiesław Šoltés
38bc75b5ab
Updated NuGet packages to fix package downgrades
9 years ago
Wiesław Šoltés
7146b91303
Removed unnecessary project.json
9 years ago
Steven Kirk
a2fe941e2e
Added more comments on workaround.
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
Steven Kirk
65f9fe67f7
Added a set of immutable brushes.
Make `SolidColorBrush` immutable, but make the static `Brushes`
properties return immutable brushes. The immutable brushes will be
needed by the deferred renderer.
9 years ago
Nikita Tsukanov
42c68debf9
Disable default items
9 years ago
Nikita Tsukanov
beda69a2e6
Special hack to keep VS happy
9 years ago
Nikita Tsukanov
f6cad5f10c
use msbuild for package restore
9 years ago
Nikita Tsukanov
4bb5ebf070
Fixed build script for windows
9 years ago
Nikita Tsukanov
88ef461d53
Reference native linux binaries
9 years ago
Nikita Tsukanov
d7c48e17f4
Exclude resources from submodules
9 years ago
Nikita Tsukanov
8b8a9b99d9
Fixed vs build
9 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
9 years ago
Nikita Tsukanov
7a6dd834fa
Make sure that everything is buildable
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
380bd7b74f
Don't validate thread affinity for bindings.
The scheduler should ensure that bindings are called on the correct
thread.
9 years ago
Steven Kirk
609c571424
Added AspectRatio and division operator to Size.
9 years ago
Steven Kirk
2b87e22db4
Use the dirty rect from BeginPaint on WM_PAINT.
The one returned by `GetUpdateRect` at this point will be empty, from
the win32 docs:
> BeginPaint automatically validates the update region, so any call to
GetUpdateRect made immediately after the call to BeginPaint retrieves an
empty update region.
9 years ago
Steven Kirk
5546ed043f
Added Rect.Union.
9 years ago
Steven Kirk
6cc829a132
Renamed Rect.CenterIn -> CenterRect.
The previous naming suggested that the `Rect` that the method was being
called on was the one being centered.
9 years ago
Steven Kirk
4e7b743ecd
Ported changes to DrawingContext from scenegraph
Ported changes to `DrawingContext` and `DrawingContextImpl` from the
`scenegraph` branch.
9 years ago
Steven Kirk
c6b3440e70
Remove Rect.operator*
It was wrong - use Rect.TransformToAABB instead.
9 years ago
Steven Kirk
74a0faa637
Use brush interfaces in rendering backends.
9 years ago
Steven Kirk
f6dee9eab4
Add interfaces for all brush types.
Also:
- Change `GradientBrush.GradientStops` to be a readonly list, as changes
to it would have been ignored anyway.
- Fix typo in ImageBrush filename.
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
71c6c572ac
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Steven Kirk
4ca0bb72b2
Added GetObservable for routed events.
Fixes #905 .
9 years ago
Nikita Tsukanov
131fa44fa1
Fixed namespaces
9 years ago
Nikita Tsukanov
67a82d0462
Reverted WIC default pixel format
9 years ago
Nikita Tsukanov
90a4915549
Implemented WritableBitmap
9 years ago
Nikita Tsukanov
7013033a1b
Added `Bitmap(PixelFormat format, IntPtr data, int width, int height, int stride)` constructor
9 years ago
Nikita Tsukanov
657c53fb73
Make it clear that MaxClientSize is used when available
9 years ago
Nikita Tsukanov
6072bad3f6
Naming
9 years ago
Nikita Tsukanov
e1b2ac5697
Add a way to pass view model for the main window
9 years ago
Nikita Tsukanov
03ae54cb25
Platform toplevel cleanup
9 years ago
Nikita Tsukanov
026c943055
Fixed tests
9 years ago