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

40 Коммитов

Автор SHA1 Сообщение Дата
Matthew Leibowitz 66ed32a5a0
Build and include all the emscripten version for WASM (#1590)
* Build for the most common Emscripten versions
* Update MSBuild.Sdk.Extras for .NET 5
* Do not rely on WasmHead to detect WebAssembly (#1550)

Co-authored-by: Jerome Laban <jerome.laban@nventive.com>
2021-01-27 06:07:39 +02:00
Matthew Leibowitz 2d811fb6d1
Update MSBuild.Sdk.Extras (#1511) 2020-09-27 17:28:47 +02:00
Matthew Leibowitz b5c12d6081
Use buildTransitive as well as build (#1440) 2020-08-02 09:38:07 +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
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 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 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 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 dbfa791d67
Update mdoc and move into the .targets file 2018-12-23 15:21:26 +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 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 2f9adbceba
Update mdoc 2018-08-07 23:33:39 +02:00
Matthew Leibowitz d9e3ac2c8b
Remove the extra backslash after %(RecursiveDir)
- it is technically incorrect as the recursive directory already has the trailing slash
 - it breaks on mac as vs for mac is more strict/sensitive
2018-07-23 23:43:28 +02:00
Matthew Leibowitz b7efe03d58
Update all the versions to the latest of everything 2018-07-18 02:52:19 +02:00
Matthew Leibowitz b7eed6a312
make sure the encoding is correct 2018-07-12 16:59:13 +02:00
Matthew Leibowitz 278dab9358
Make sure we create PDB files for debugging and testing 2018-07-12 16:58:28 +02:00
Matthew Leibowitz 5475b7e051
We don't need to be fancy. 2018-05-23 01:17:09 +02:00
Matthew Leibowitz 1deb7d9180
Removing shared projects from the source 2018-05-23 00:38:01 +02:00
Matthew Leibowitz 88a573f133
Update the rest of the projects to the SDK-style projects 2018-05-11 03:59:30 +02:00
Matthew Leibowitz 96448a09d2
Updated all the SkiaSharp projects 2018-05-10 07:10:48 +02:00
Matthew Leibowitz b2751a6521
Starting the work to get SDK-style projects into the system 2018-05-10 06:54:48 +02:00
Matthew Leibowitz bfbd358167
Changing the way docs are generated...
- using the frameworks mode
 - updated mdoc
 - moved the docs scripts into a new file as they are not part of the main script
2018-04-21 01:56:38 +02:00
Matthew Leibowitz fcafca3072
Using the shiny new mdoc (v5.6.0) 2018-03-23 06:37:31 +02:00
Matthew Leibowitz 6c25780a6b
Moving more work into MSBuild 2018-03-20 05:01:37 +02:00
Matthew Leibowitz 6484936159
Applying some of the modernization:
- libSkiaSharp is now built using GN/Ninja for Android/Linux/UWP/Windows
 - all native source code lives in mono/skia
2018-03-19 23:08:30 +02:00
Matthew Leibowitz 20f613a98d Updated the projects to use ProjectReferences 2017-09-05 20:14:54 +02:00
Matthew Leibowitz 9bee2ce8fd reset all the project upgrades, MSBuild 15 is just not there yet with Mono 5.0 2017-06-24 01:03:09 +02:00
Matthew Leibowitz 126c985f73 - Updating the projects to use <PackageReference>
- no longer project.json or packages.config
    - minimum VS version is 2017
    - no more messing with the .csproj files
    - also cleaned up the project files a bit
 - Added .NET Standard for SkiaSharp.Views.Forms
2017-06-23 08:34:28 +02:00
Matthew Leibowitz fc08b9530d Added iOS/tvOS/macOS binding projects 2017-04-28 16:05:31 -04:00
Matthew Leibowitz bb231e3849 Added the initial work for HarfBuzz
WIP for #272
2017-04-27 21:35:54 +02:00
Matthew Leibowitz ce36f0882d Re-worked all the solutions for easier development 2016-09-19 00:05:58 +02:00
Matthew Leibowitz 555a626395 Added support for converting to/from HSV and HSL 2016-09-01 23:38:48 +02:00
Matthew Leibowitz 79c6075801 Added strong name signing #92 2016-08-12 00:11:33 +02:00
Matthew Leibowitz 470591f7a1 Added tvOS support 2016-06-09 15:55:48 +02:00
Matthew Leibowitz f6a0e7c157 Rename Native Library [#77] (#81)
Main change:
 * Changed the native library to libSkiaSharp for Windows, UWP, Android, OSX and iOS
   Issue #77 #81

Other changes
 * Updated the version number
 * Use Android level 10 or v2.3 s the library version
 * Update the docs
 * Allow for the case where a custom libSkiaSharp is to be provided
 * Make sure we have all the Android architectures
2016-05-14 01:12:32 +02:00
Matthew Leibowitz fc477a4d35 Some changes for a stable 1.49.1 release 2016-03-07 19:44:47 +02:00
Matthew Leibowitz ec58b7752d [C# API] [Samples] Reworked the structure / references
- bindings now reference the files in the ./native-builds/lib/ directory
 - OS X no longer needs an explicit .dylib references, it just needs the .targets file
 - cleaned up the unnecessary Android references
 - moved Desktop & Driver projects into samples for later
 - Cake now builds the C# libraries and samples
2016-01-15 02:18:32 +02:00
Bill Holmes 1118ac7f07 Trying out embedded frameworks for Skia on iOS
- Created a libskia_ios xcode project to be the embedded framework
 - Changed the binding to use the new embedded framework

The theory is that we can rely on the xcode linker to strip out the
symbols that are not referenced in the c api.  If a new c file is added
to skia core we will have to change libskia_ios/SkiaKeeper.c to reference
one of the methods in that file.

From what I can tell it works pretty well.  Now the iOS binding is only 7MB
and that is all that is added to the size of the release iphone app size.
2015-11-21 22:54:21 -05:00
Bill Holmes 1b20613378 Adding iOS binding project for Skia. 2015-11-20 19:39:46 -05:00