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

159 Коммитов

Автор SHA1 Сообщение Дата
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
Matthew Leibowitz 7a4d067456
Use the new icons for the NuGet packages 2020-05-15 00:30:07 +02:00
Matthew Leibowitz 6baf53f3ab
Vulkan Support for Win32 (and APIs for everyone as well) (#1010)
Add support for Vulkan on Win32 (#252)
* Bindings for m80 Vulkan backend context and related types. (#1276, #897)
* Added tests for Vulkan
* Rename the SKColorType enum values (#1222)

Co-authored-by: Davide Tuccilli <davide@gritworld.com>
Co-authored-by: Davide Tuccilli <d.tuccilli@gmail.com>
Co-authored-by: Dariusz Komosiński <darek.komosinski@gmail.com>
2020-05-14 03:01:38 +02:00
Matthew Leibowitz 9ad68b65d4
Update to a much later version of skia (m80) (#986)
Several iterations of development to come to this:

* [UWP] Fix the ARM build and add ARM64
* [Win32] GDI is optional - and we don't want it
* Update harfbuzz to v2.6.2
* Use Docker
* Use a later version of the linux tools
* Use VS 2019
* Use Xcode 11
* Go all in with MSVC 14.2
* Disable the Tizen builds for now
* Add support for manually specifying VS (This can be done in a few ways, but the common way would be: --vsinstall='C:\PF\MVS\XXX\YYY')
* Update OpenJDK and Tizen Studio
* Using C++ 17
* Also added a THROW_ON_TEST_FAILURE env var to allow previews to be put out when tests are still failing
* Support basic text alignment
* Implement breakText in native code.
2020-04-28 22:20:20 +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 fc9f030a08
A few changes and improvements (#1153)
A few changes and improvements:
- add some helper members
- improved the SKBitmap.CopyTo and related members
- added Encode(...) to SKBitmap
- added Encode(...) with a .NET Stream to SKBitmap, SKImage and SKPixmap
- start the move from SKEncoding to SKTextEncoding
- added more tests
- generator now has a validator for ensuring all declarations have implementations
- added equality members to all structs

Bugs Fixed
- Bitmaps copied with SKBitmap.Copy sometimes have incorrect colors
- The GC would sometimes collect a stream that was being used by a PDF document
2020-02-27 15:12:00 +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
Matthew Leibowitz a030eb229f
Add the .targets file to buildTransitive (#1057)
Fixes #1041
2019-12-13 02:45:34 +02:00
Matthew Leibowitz dc9b306e28
Improve native build process + add Nano Server (#1040)
* Add Nano Server to the list (Fixes #676)
* Make separate cake files for native builds
2019-12-04 03:12:12 +02:00
Matthew Leibowitz f129a11786
Assemblies are required in platform ref folders (#1044)
All the assemblies are required to be in the ref folder as if there is any ref folder, it will take precedence over the lib folder. In the case where we have JUST the netstandard library in the ref, that is used for ALL platforms. Even though the correct assembly is swapped out at compile time, we actually have more things inside the assembly for the platforms.
2019-12-03 03:52:41 +02:00
Matthew Leibowitz e640669979
netstandard SkiaSharp.Views.Forms.dll should be ref-only (#1012) 2019-11-16 05:56:47 +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
Matthew Leibowitz 66e7ac6ebb
Use Span<T> for data, bitmap data and text blobs (#865)
* Add several overloads that take ReadOnlySpan<byte>
* Update to System.Memory 4.5.3
* Made a few tweaks to the text blob
 - copy using new Span<T> CopyTo method
 - split runbuffers out into their own file
* Add Span<T> overloads for the blob allocations
2019-06-26 12:56:14 +02:00
Matthew Leibowitz e28cce8ab4
Upgrade the macOS bots and software (#884)
* Upgrade the macOS bots and software
* Remove the System.Memory NuGet for the mobile platforms (Android, macOS, iOS, watchOS, tvOS)
 - mono 5.18 includes this internally
 - results in https://github.com/xamarin/xamarin-macios/issues/5687
 - related to https://github.com/mono/SkiaSharp/pull/884
2019-06-26 01:11:01 +02:00
Matthew Leibowitz 79b43682ab
Make sure to use the correct .targets name on Linux (#886)
* Ignore the Prefer32Bit property on linux
* Add nuspec placeholders for non-net45
2019-06-25 21:01:47 +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 5da3cfd412
Support building SkiaSharp without fontconfig (#821) 2019-05-18 15:52:44 -07: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 402f2761e1
Finalizing the native assets nuget 2018-09-26 15:57:10 +02:00
Matthew Leibowitz e85bb7ca7a
Added the net45 dll to the nuget. Fixes #604 2018-09-26 07:09:28 +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 573b93cdac
Add SkiaSharp.Views.Interop.UWP to the nuget (and the right folder) 2018-09-07 02:52:25 +02:00
Matthew Leibowitz 718f2ffab6
Remove the version number form the base win RID #599
- Windows 7 is the minimum version anyway, so this does not really matter
2018-08-15 21:06:03 +02:00
Matthew Leibowitz 9ff335b1f6
Update Xamarin.Forms to v3.0 2018-07-24 03:30:38 +02:00
Matthew Leibowitz df67e4b5e1
Add the Android libraires to the NuGet on Windows 2018-05-22 06:59:33 +02:00
Matthew Leibowitz 440ec0a23d
Tizen now has docs 2018-05-07 17:48:59 +02:00
Matthew Leibowitz 1991645c25
Added Tizen to the list of supported OSes 2018-05-07 02:28:48 +02:00
Matthew Leibowitz 0a0560a511
HACK: Added a .targets file for tizen-x86 2018-05-01 23:00:53 +02:00
Matthew Leibowitz 0ec13831a1
The Tizen views are not yet complete 2018-04-27 12:06:57 +02:00
Matthew Leibowitz 042ae7dab3
Made some changes to improve the overall build process
- this includes the Tizen bits from the PR
 - the config.h for harfbuzz is no longer from the repo, but an actual config
 - added a basic Tizen-only sample
 - SkiaSharp.HarfBuzz.NetStandard and SkiaSharp.views.Forms.NetStandard should have died long time ago
2018-04-17 22:14:02 +02:00
Hobum d41600c885 Merge remote-tracking branch 'upstream/master' into dev-forms-tizen 2018-04-04 04:51:12 -07:00
Matthew Leibowitz 0e44e38f54
We now also depend on a later version of Xamarin.Forms 2018-04-04 12:51:26 +02:00
Hobum (Vincent) Kwon 7f0aad74e3 Update nuspec to include SkiaSharp.Views.Tizen.xml file 2018-04-04 19:34:58 +09:00
Hobum (Vincent) Kwon 5bc9650021 Fix SKGLSurficeView upside down issue for Tizen backend 2018-04-03 14:31:17 +09:00
Hobum (Vincent) Kwon cfd8d476cc Add Xamarin.Forms for Tizen support 2018-04-01 22:35:30 +09:00
Matthew Leibowitz 0e653becf8
Merge branch 'master' into dev/somewhat-modern 2018-03-25 01:22:38 +02:00
Matthew Leibowitz 05dfd6d262
Removed the whitespace from the NuGets 2018-03-25 01:22:27 +02:00
Matthew Leibowitz d9c12d5b29
Everything now builds again on Windows 2018-03-22 03:12:17 +02:00
Matthew Leibowitz 6c25780a6b
Moving more work into MSBuild 2018-03-20 05:01:37 +02:00
Matthew Leibowitz b483e166d3 Added the licensing information to the nugets 2018-02-23 04:19:30 +02:00
Matthew Leibowitz d35ec48a02 Reworked the nuget creation logic to be more streamlined and less error prone 2018-02-23 03:25:18 +02:00
Matthew Leibowitz abf9de57d9 Lets build a preview nuget when we build nugets 2018-02-22 19:56:48 +02:00
Matthew Leibowitz 19673bb4ec Set the version to v1.60.0 as we are ready to release 2018-02-20 16:50:41 +02:00
Matthew Leibowitz 6870965a3c Build against Xamarin.Forms v2.5.0 2018-01-31 04:52:25 +02:00
Matthew Leibowitz 5567d7c62f Set the version to v1.60.0-beta as we are nearing release, and want to get a beta out 2018-01-30 18:15:35 +02:00