Граф коммитов

376 Коммитов

Автор SHA1 Сообщение Дата
Matthew Leibowitz 4bc170cdde
Added Uno Platform support (#1396)
Added the initial Uno implementations, code pulled from:
 - https://github.com/unoplatform/Uno.SkiaSharp
 - https://github.com/mono/SkiaSharp/pull/1333

Co-authored-by: Jérôme Laban <jerome.laban@nventive.com>
Co-authored-by: Geoffrey Huntley <ghuntley@ghuntley.com>
Co-authored-by: Martin Zikmund <martin@zikmund.dev>
2020-07-14 01:46:50 +02:00
Matthew Leibowitz aa6a178701
Instead of asking for the context, find it
Related to #1388
2020-07-08 13:52:51 +02:00
Matthew Leibowitz c908d6d71d
Update the version of Clang used to build for Tizen (#1386) 2020-07-07 19:15:40 +02:00
Matthew Leibowitz 35a7522bf8
Fix Packaging (#1366)
* Move non-netcoreapp native files into build
* Update samples
* Fix iOS GL interface assembler
2020-06-30 17:02:03 +02:00
Tyson Williams 695c35270e
SkiaSharpSample project now default startup project in the WPF SkiaSharpSample solution (#1369) 2020-06-30 06:18:57 +02:00
Matthew Leibowitz a5d30e95a6
Build SkiaSharp for Win32 ARM64 (#1358)
* Build SkiaSharp for Win32 ARM64
* Drop net45 so we can use new and more performant things
2020-06-27 02:41:26 +02:00
Matthew Leibowitz 69c89d555e
Don't embed libSkiaSharp in the assemblies (#1296)
* Don't embed libSkiaSharp in the dlls
* Update the samples to use the new .targets
* Update forms
2020-06-10 21:03:56 +02:00
Matthew Leibowitz 282638783f
Update Samples (#1313)
* Update samples (new things, AndroidX, updated versions)
* Update icons
* Move away from all obsolete uses
* Temporary workaround for https://developercommunity.visualstudio.com/content/problem/1057547/incorrect-file-validation-for-the-installappleprov.html
* Fix the API diff
2020-06-03 23:30:51 +02:00
Peter Verswyvelen 38f2220edb
Implemented SKCanvas.DrawTextOnPath (#1198)
Google deleted `DrawTextOnPath` so this PR adds it back along with other text-related APIs.
 - Added an overload for `SKCanvas.DrawTextOnPath` that disables glyph warping
 - Wrapped the `ArrayPool<T>.Shared` logic into a disposable util method
 - Renamed `SKFont.GetPath` to `SKFont.GetTextPath` so that it makes more sense
 - Added `SKFont.GetTextPathOnPath` to get the text path, but following another path instance (warps glyphs)
 - Removed/obsoleted the non-glyph overloads for `SKTextBlobBuilder.Add*Run`
 - Added a set of `SKTextBlob.Create` overloads that are used to make "string" runs
 - A few other small changes to make the API better
 - Fixes #1183
2020-05-15 00:16:53 +02:00
Matthew Leibowitz 5e48f0dea2
Add the expected overload for newer versions XF.Tizen (#1117)
- Updating Xamarin.Forms to v4.4.0.991757
- Work around the portable PDB issue for UWP for now
2020-03-15 15:24:45 +02:00
Matthew Leibowitz b79a59528d
Add a WPF for .NET Core sample (#1140) 2020-02-11 22:15:42 +02:00
Matthew Leibowitz b2d486ad17
Update Xamarin.Forms to v4.2.0.910310 (#1109)
* Use mono 6.4.0
* Things have moved around in Forms
2020-01-19 06:42:42 +02:00
Matthew Leibowitz e2514cda18
[WIP] Add GTK views for Xamarin.Forms (#1089)
* Adding GTK extension methods
* Add initial implementation for Xamarin.Forms GTK
* Better exceptions
* GTK v2 does not build on Windows CI
   This is because of mono not being installed. I could install it, but typically
   this is not available on normal dev boxes. So, to make things easier, just
   build on mac and linux.
2020-01-08 15:35:23 +02:00
Matthew Leibowitz 2f36be4761
Multi-target SkiaSharp.Views.Windows.Forms (#1082)
Related to #1029
2019-12-27 23:01:05 +02:00
Matthew Leibowitz e84ba47396
Upgrade to VS2019 and .NET Core 3.0 (#1030)
* Upgraded a good few things
 - multitargeting for netstandard1.3, netstandard2.0, netcoreapp3.0 and net45
 - iOS, tvOS, macOS, watchOS now builds on non-macOS (not embedded binaries)
 - removed empty assembly infos
 - using Directory.Build.* to clean up a few things
 - improved the msbuild tasks to properly skip
* Add the targets file to the nuget
* Let all the tests run before failing the build
* Pack and validate in one go
* Update the samples to use the new projects
* Use VS 2017 for native builds for now
* Update Dockerfiles
* removed references from Views.WPF to OpenTK #1029 (#1078)
* Install the type redirector
* Update depot_tools
* Don't do any signing for macOS

Co-authored-by: Tyson Williams <34664007+bender2k14@users.noreply.github.com>
2019-12-22 18:50:47 +02:00
Tyson Williams 7fe55eb3ee Remove an unused argument of type TaskScheduler from AnimatedSampleBase (#1063) 2019-12-14 03:46:49 +02:00
Tyson Williams 1403ad8ee0 suffices to start the rotation matrix as the identity matrix (#1062) 2019-12-14 03:41:25 +02:00
Matthew Leibowitz 6cdf2cc73c
Improve the Docker samples (#1051) 2019-12-08 15:21:53 +02:00
Matthew Leibowitz 83ba22c84f
Updated all the samples (#1021)
* Updated all the samples with new things
* Update the docs
2019-11-21 21:26:38 +02:00
Matthew Leibowitz c10c7394a2
Some of the colorspaces created are just references (#922)
* Some of the colorspaces created are just references
  - SRGB and SRGB Linear colorspaces are static and should never be disposed
* Fix concurrent disposal and creation
  - In some cases, a new native object is created with the same memory location while the 
    managed instances is still being disposed. In this case, we cannot remove the managed
    instance from the dictionary, since it is not the current object being disposed anymore.
  - SKColorSpace has some members that should not be disposed, since they are static on the
    native side. Just, there is no docs for this, so calling dispose will crash everything.
  - Added the logic to make sure that all static objects are created before anything, so we can 
    get a handle on them and make sure they are static managed instances.
* Make sure the objects are not collected when using spans
2019-09-24 01:34:44 +02:00
Matthew Leibowitz e6b7934556
Add the WPF backend for Xamarin.Forms (#917)
Add a new NuGet
- add a targets file to the nuget to warn if the platform packages were not installed

Update the pipeline:
- use build artifacts everywhere
- just disable tizen for Windows
2019-07-26 15:05:54 +02:00
Matthew Leibowitz ec5f04fea1
Update Xamarin.Forms (#916)
- so we can update OpenTK
- so we can add WPF and GTK
2019-07-23 14:19:25 +02:00
Matthew Leibowitz 5e8dc3e2c9
Split the desktop projects and packages (#899)
* Removed v2.3.1 and renamed Flags to BufferFlags
* Updated some API and Doc
* Add Gtk3 views
* Reworked the samples logic
 - handle the more varied project structure
 - build the generated zip to test it
 - always use the local nuget cache
* macOS is always Any CPU
* Rename SKWidget to SKDrawingArea for GTK#3
 - this allows us to have a single moniker for docs
 - it indicates that it is not quite the same as the widget in GTK#2
 - is is more specific so we can have more GTK# controls
* merge all the views (except forms) into a single moniker so it is better for browsing in the docs portal
* SK3dView is not actually obsolete :)
* Add readmes to the samples
2019-07-23 03:02:20 +02:00
Benedikt Schroeder 5377b4bf36 Update HarfBuzz to v2.5.2 (#872)
Switched to clang for Android and Linux
2019-06-22 21:05:28 +02:00
Matthew Leibowitz 650f2e43f7
Update some versions and fix the sample builds (#869)
- Xamarin.Forms is now the last v3.x (v3.6)
 - Build using the latest Android (v9.0)
 - Update UWP samples so they can build again
2019-06-21 02:20:42 +02:00
Matthew Leibowitz 87bd5c6d01
Moving Documentation to SkiaSharp-API-docs (#843)
* Added the docs repo submodule
2019-05-17 11:53:05 -07:00
Matthew Leibowitz 276e7ca13b
UWP also requires the platform NuGet 2019-01-16 17:55:24 +02:00
Matthew Leibowitz 2ce378e492
The new 2.x MSBuild.Sdk.Extras do not work without the custom SDK 2019-01-16 04:46:27 +02:00
Matthew Leibowitz ff8c2b9f4b
Reverting the project SDK type as this is not yet supported on mac 2019-01-15 22:39:14 +02:00
Matthew Leibowitz a215f55215
Merge SKGLDrawable into the view code
- there was not that much code duplication
 - far more control per platform
 - surface needs to query the context for the sampls permitted - Fixes #727
 - renamed SKDrawable in preparateion of the incomming PR and because it was not descriptive anymore
2018-12-21 06:54:03 +02:00
Matthew Leibowitz ad21a4455d
Updated the projects
- Use the latest version of MSBuild.Sdk.Extras
 - No longer use MSBuild.Sdk.Extras for the net and netstandard monikers as the new .NET Core already supports these nicely
 - Update all the Android projects to be 4.4+ as below is no longer realistically supported - both by Xamarin and Google
 - Using the Sdk attribute to specify the new project SDK
2018-12-21 01:39:48 +02:00
Matthew Leibowitz aaee57b3ab
Update Xamarin.Forms because we want to be on the edge 2018-10-30 16:43:06 +02:00
Matthew Leibowitz 87b53b2df2
Fix up the linux solutions 2018-10-24 11:22:38 -04:00
Matthew Leibowitz b280fb3c8a
Use the new properties 2018-10-13 03:01:20 +02:00
Matthew Leibowitz 29d2601472
Fixed the incorrect platform 2018-10-12 21:17:15 +02:00
Matthew Leibowitz e497e73e01
Make sure the temporary packages folder exists 2018-10-12 14:09:43 +02:00
Matthew Leibowitz e5cd59ada7 Renamed file so it is not build with the rest of the samples 2018-10-11 19:53:13 +02:00
Matthew Leibowitz 64611b2190
Added a Docker-hosted WebAPI sample 2018-10-11 17:54:17 +02:00
Matthew Leibowitz 310ebdd626
Update the samples 2018-09-28 19:43:23 +02:00
Matthew Leibowitz a27cbb1eae
Improve the Linux CI (#635)
* Prepare the bits to build the linux platforms
* Adding just the required native packages
* Update mdoc and add the --quiet flag to reduce output noise
* Moved the linux native assets into a separate nuget
* Updated the UWP signing key
* Remove the old index8 members
2018-09-17 04:48:12 +02:00
Matthew Leibowitz a6fc98aaf9
Adding a net45 target to SkiaSharp.HarfBuzz. Fixes #604
- netstandard1.3 does not support net45
2018-08-15 22:15:30 +02:00
Matthew Leibowitz 0b756f188b
Update the version of android being used for compilation 2018-07-24 04:06:39 +02:00
Matthew Leibowitz ae8679295b
Xamarin.Forms v3.0 is based on .NET Standard 2.0 2018-07-24 03:43:21 +02:00
Matthew Leibowitz 9ff335b1f6
Update Xamarin.Forms to v3.0 2018-07-24 03:30:38 +02:00
Matthew Leibowitz f26e212599
Fix the samples with the new APIs 2018-07-18 18:15:10 +02:00
Matthew Leibowitz cc40c294ef
Create out own __TIZEN__ define
- things appear to have changed from TIZEN4_0 to TIZEN40
 - we don't want the version in the define
2018-07-18 02:53:15 +02:00
Matthew Leibowitz 8388c21873
Revert the samples project for now. 2018-05-23 18:32:54 +02:00
Matthew Leibowitz c3fdbd0b6d
Removing shared projects from the samples 2018-05-23 01:08:23 +02:00
Matthew Leibowitz 1deb7d9180
Removing shared projects from the source 2018-05-23 00:38:01 +02:00
Matthew Leibowitz 0a9b81a453
Added the Android projects to the Windows samples 2018-05-22 07:23:13 +02:00