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

803 Коммитов

Автор SHA1 Сообщение Дата
Benedikt Schroeder 85d6d33dc6 Refactor Script to support better debugging 2019-01-31 09:50:00 +01:00
Matthew Leibowitz 2d86b5ed04
Fixed the SKRectI overload for SKRegion.Intersects
- fixes https://github.com/mono/SkiaSharp/issues/770
2019-01-31 05:31:16 +02:00
Benedikt Schroeder dd88bc663b Remove C# 7.3 usage in project files 2019-01-29 19:42:56 +01:00
Benedikt Schroeder ec5e186dc5 Remove use of Span<T> 2019-01-29 19:37:00 +01:00
Benedikt Schroeder 612844df71 SerializeGlyphs fixes 2019-01-21 10:14:18 +01:00
Benedikt Schroeder f556be70bb
Merge branch 'master' into harfbuzzUpdate 2019-01-20 18:05:38 +01:00
Benedikt Schroeder 9206f17aed HarfBuzz binding additions
Disable fastFail
2019-01-20 18:02:08 +01: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 15bacd97ab
Merging development into SkDrawable
- added some basic tests
 - added the xamarin files to the mac projects
 - merged the native skia branches
2018-12-27 00:04:49 +02:00
Matthew Leibowitz ae6350966e
Merging development into SkDrawable
- added some basic tests
 - added the xamarin files to the mac projects
 - merged the native skia branches
2018-12-26 23:54:48 +02:00
Matthew Leibowitz dbfa791d67
Update mdoc and move into the .targets file 2018-12-23 15:21:26 +02:00
Charlenni 6ff9b758e9 Changed name for creating a new picture snapshot to Snapshot() and the corresponding delegate to OnSnapshot() 2018-12-23 12:21:53 +01:00
Charlenni 546add4889 Changed return type of NewPictureSnapshot from SKPicture to IntPtr
Changed some typos
Changed function name NewPictureSnapshot() to ToPicture()
2018-12-21 21:38:57 +01: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
Charlenni 3abc2a59ed Removed SKAbstractDrawable
Added SKPictureRecorder.EndRecordingAsDrawable()
2018-12-20 21:35:12 +01:00
Charlenni 00b8017755 Merged master 2018-12-20 15:14:33 +01:00
Charlenni 955c7e735f Added some memory management 2018-12-20 15:07:08 +01:00
Charlenni e1c0178a62 Removed some bugs 2018-12-20 14:26:10 +01:00
Charlenni d60e7fafa0 Added bounds at function OnGetBounds as reference 2018-12-19 18:54:10 +01:00
Matthew Leibowitz edba9a6607
Fixed and enhanced the SKColorSpace API 2018-12-18 08:44:49 +02:00
Matthew Leibowitz 22032a69ab
Support the case of measuring empty strings. Fixes #734
- previous logic: did not check for nulls, the update did
 - new logic: still check for nulls, but now only if we have indicated that there _should_ be text (there is a length)
 - added overloads for text pointers that accept an int as opposed to just an IntPtr
2018-12-17 23:50:29 +02:00
Charlenni 1e64da634d Add SkDrawable 2018-12-14 12:07:16 +01:00
Matthew Leibowitz 4a117f0bdf
The DPI constant should be in SKDocument 2018-12-02 04:10:20 +02:00
Matthew Leibowitz 121ab0496c
Fixed the matrix interop 2018-12-02 03:54:36 +02:00
Matthew Leibowitz 0cf1c6d293
Fixing the bitmap resize/scale methods
- consistency
    - `Resize` is for methods that create new objects
    - `ScalePixels` is for mthods that COPY pixels INTO a provided object
 - uniformity
    - all 3 imageing types have pixel scaling capabilities
 - improved obsolete desriptions
 - added new methods instead of just obsoleting
 - added more tests
2018-11-29 19:26:57 +02:00
Matthew Leibowitz 6c7f018724
More improvements for image decoding:
- SKCodec can now decode more imputs (bytes, streams)
 - SKImage no longer unnecessarily copies image data all over when decoding
 - SKBitmap no longer copies data unnecessarily
2018-11-27 23:46:12 +02:00
Matthew Leibowitz 51adc3c1b2
Non-ASCII Paths Fixes
- A bunch of changes to no longer wrpa a managed stream for non-ASCII paths on Windows
 - All paths are now converted to a UTF-8 path before been shipped over to native code
 - Fixes #697
2018-11-25 01:57:16 +02:00
Matthew Leibowitz d814a432ee
Handle the case where the file does not exist
- return null instead of just crashing in native code
 - fixes #618
 - fixes #677
2018-11-23 20:36:46 +02:00
Matthew Leibowitz e243c2a7f3
Updated the docs 2018-11-19 19:39:13 +02:00
Matthew Leibowitz a2f2d35609
Enhanced the PDF/XPS implementation and features 2018-11-17 00:55:17 +02:00
Matthew Leibowitz ca5eb3a70a
Moved the points, sizes and rects into a new file 2018-11-15 06:27:34 +02:00
Matthew Leibowitz 6a6e94af40
Add bindings for SKTextBlob, SKTextBlobBuilder and other text APIs 2018-11-15 04:27:17 +02:00
Matthew Leibowitz e7262adbcb
Renamed `GetMaxSurfaceSampleCountForColorType` to remove the redundant suffix 2018-11-13 22:45:39 +02:00
Matthew Leibowitz d2011ddc60
Updated the docs to match the API 2018-11-12 12:14:12 +02:00
Matthew Leibowitz 69357ab5d1
A few tweaks to the API to remove unnecessary changes 2018-11-11 03:48:53 +02:00
Matthew Leibowitz 53fbd5509f
Making the C layer dumber
- no "clever" mapping from types, just cast
 - removing variables, just use a direct call
 - sk_imageinfo_t still requires mapping because of the sk_sp<T> must be mapped to a T*
 - sksurfaceprops_t is now a class
2018-11-10 22:39:32 +02:00
Matthew Leibowitz b30b0ab56f
Some improvements to the code
- use "real" types instead of just IntPtr in the interop layer to make things easier to read
 - using some new C# features
 - corrected the use of the "fixed" keyword to no longer require arrays to have elements
2018-11-09 01:26:10 +02:00
Matthew Leibowitz 783bb1d069
Fix whitespaces before major overhaul 2018-11-09 00:16:56 +02:00
Matthew Leibowitz 1f929695f6
Added a "trim" path effect 2018-11-06 19:37:10 +02:00
Matthew Leibowitz 66bd030f70
Added some utility methods to SKPath. Closes #669 2018-11-02 04:00:41 +02:00
Matthew Leibowitz 8f9975a722
Added a few overloads to SKImage
- FromEncodedData now can decode streams, buffers and files
 - FromPixelCopy now can copy from streams and buffers
2018-11-02 01:52:08 +02:00
Matthew Leibowitz 83e0941cb0
Added the rest of the sweep gradient shader arguments
- Closes #656
2018-10-29 22:19:44 +02:00
Matthew Leibowitz efc709437f
SKPixelSerializer is actually removed, but we go obsolete 2018-10-12 03:22:53 +02:00
Matthew Leibowitz 660b7c0cb5
This was accidentally added 2018-10-12 03:21:49 +02:00
Matthew Leibowitz c5296fa75d
We must try not to break everything after Google's rename 2018-10-04 15:37:44 +02:00
Matthew Leibowitz 102d6477f6
Renamed the extension method to be both more specific and more accurate 2018-10-04 02:49:03 +02:00
Matthew Leibowitz 66b8b479db
Made things nicer still 2018-10-03 02:16:51 +02:00
Matthew Leibowitz 929945ef40
Improved the API a bit 2018-10-03 00:15:49 +02:00
Matthew Leibowitz 35d3f00f55
Exposed SKTypeface.CreateDefault() and SKTypeface.Default to C# 2018-09-28 20:57:43 +02:00
Matthew Leibowitz aa0ce80fb6
The subset is still invalid 2018-09-28 16:02:57 +02:00
Matthew Leibowitz 8332c99ec1
Correctly marshal the inner struct 2018-09-27 15:13:25 +02:00
Matthew Leibowitz 63b2dfc3a2
If there are no glyphs, don't try and read them. Fixes #630 2018-09-26 07:03:18 +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 3473c45954
SKStream readXXX now return bool and have an out parameter for the value 2018-09-04 21:58:34 +02:00
Matthew Leibowitz e43a90af42
Make sure to preserve the color type 2018-09-03 14:28:02 +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 3f320a1a60
Merge remote-tracking branch 'origin/master' into development 2018-08-09 03:56:01 +02:00
Matthew Leibowitz 319f127875
Tizen will include all the RIDs by default, so work around this 2018-08-09 02:00:42 +02:00
Matthew Leibowitz 2f9adbceba
Update mdoc 2018-08-07 23:33:39 +02:00
Matthew Leibowitz 67057ca2b3
The merge went south... 2018-08-06 22:53:05 +02:00
Matthew Leibowitz 092b5e0a6d
Merge remote-tracking branch 'origin/master' into development
# Conflicts:
#	source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKCanvasViewRendererBase.cs
2018-08-06 22:47:10 +02:00
Wonyoung Choi eed6c2f224 Fix target files for Tizen to use TizenTPKFiles
Current temprary hacks for tizen-x86 RID are still needed because the Tizen 4.0 platform
including .NETCore 2.0 does not understand the tizen-x86 RID.

In this changes, Use TizenTPKFiles defined in Tizen.NET.Sdk instead of Link and CopyToOutputDirectory
to solve following problems.
- The linked file (runtime/linux-x86/native/foo.so) is displayed in VS Project tree.
- The linked file is always copied to tpkroot/bin even when RID is specified.
- The linked file can't be excluded using the file excluding features of Tizen.NET.Sdk.
2018-07-30 10:28:57 +09: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 c073697bb0
Added the HEIF to the encoded enum
- commented out as it appears to still be in dev
2018-07-22 01:04:40 +02:00
Matthew Leibowitz 30c119ae9e
marking everything with color tables as obsolete
- this is now a private api
 - may be removed at any time
2018-07-21 22:51:30 +02:00
Matthew Leibowitz 04883d0fb6
Added bindings for SkOverdrawCanvas
- also set flags to reduce file sizes
2018-07-21 22:35:05 +02:00
Matthew Leibowitz 084e53e47f
First check to see if the index is in range 2018-07-21 03:17:33 +02:00
Matthew Leibowitz 6814514573
Matching fonts from an existing typeface will be going away and it is not working on all platforms 2018-07-21 03:17:11 +02:00
Matthew Leibowitz 8dc9af4255
The default value for SKCodecOptions.PriorFrame = -1 2018-07-18 18:15:00 +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 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 5486cefa55
Added back some members that we can still support 2018-07-12 16:58:02 +02:00
Matthew Leibowitz 15f1263fc7
Updating the binding members and types 2018-07-12 13:30:18 +02:00
Matthew Leibowitz f2a51f8ae9
The managed SkiaSharp now builds again. 2018-07-08 00:12:16 +02:00
Matthew Leibowitz 7f35c022d5
Move the GPU definitions into a new file 2018-07-07 19:10:02 +02:00
Matthew Leibowitz f0bc5660e5
Removing the incorrect headers and setting the encoding 2018-07-06 18:21:40 +02:00
Matthew Leibowitz 2bd9433621
Use the correct delegate. Fixes #547 2018-06-08 10:28:50 -07:00
Matthew Leibowitz 90bc92597e
Be more descriptive with the filter flags 2018-05-31 19:17:15 +02:00
Matthew Leibowitz 8cccf5c4ff
incorrect visibility 2018-05-31 17:13:34 +02:00
Matthew Leibowitz ff838ceccb
Added bindings for SKRoundRect 2018-05-29 03:43:29 +02:00
Matthew Leibowitz bae73b457b
Added some overloads to improve lives 2018-05-26 17:01:17 +02:00
Matthew Leibowitz 7a4b1e6054
Merge pull request #529 from mono/dev/nway-canvas
Bindings for SKNWayCanvas and SKNoDrawCanvas
2018-05-25 21:42:18 +02:00
Matthew Leibowitz a87713b422
Add more encoding options to SKPixmap 2018-05-25 01:42:59 +02:00
Matthew Leibowitz b0ddea825a
Revert "Add more encoding options to SKPixmap"
This reverts commit 1cd83d58e5.
2018-05-25 01:42:19 +02:00
Matthew Leibowitz 1cd83d58e5
Add more encoding options to SKPixmap 2018-05-25 01:41:33 +02:00
Matthew Leibowitz 865f94f0f8
Merge branch 'master' into dev/nway-canvas 2018-05-24 20:38:37 +02:00
Matthew Leibowitz d9b53a2b92
No wildcards just yet... #457 2018-05-24 20:25:09 +02:00
Matthew Leibowitz faa4095802
Adding bindings for SKNWayCanvas and SKNoDrawCanvas
Fixes #457
2018-05-24 19:12:09 +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 d38573a6f7
Merge branch 'master' into dev/sdk-style-project 2018-05-22 04:39:59 +02:00
Matthew Leibowitz 9fc88f0a70
Added a new .editorconfig
- and removed a comment from a .csproj
2018-05-17 04:11:32 +02:00
Matthew Leibowitz 6c05bf00af
Added some better .editorconfig files 2018-05-12 22:13:44 +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 b481d3821f
Don't copy native files if asked not to do so 2018-05-10 16:18:57 +02:00
Matthew Leibowitz 58b4dfdcd8
The wrong file... 2018-05-10 14:54:40 +02:00
Matthew Leibowitz df4904b840
Updated all the HarfBuzzSharp projects 2018-05-10 07:51:11 +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 f46d9ce0ae
Some changes that were reverted, breaking the code 2018-05-06 20:05:36 +02:00
Matthew Leibowitz 82cafbece2
Properly copy bitmaps. Fixes #497 2018-05-06 02:57:13 +02:00
Matthew Leibowitz ec909a01a3
Case sensitive paths for linux 2018-05-03 03:17:20 +02:00
Matthew Leibowitz 0a0560a511
HACK: Added a .targets file for tizen-x86 2018-05-01 23:00:53 +02:00
Matthew Leibowitz 9d4f672584
Moved the Tizen GL init to the core SkiaSharp library 2018-05-01 20:32:00 +02:00
Matthew Leibowitz 5e6c998241
Updated mdoc to the latest 2018-04-19 21:10:52 +02:00
Matthew Leibowitz d261379027
Merge branch 'master' into dev/add-tizen-support 2018-04-17 22:35:30 +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
Matthew Leibowitz 0b38873fee
Fixed a case where exceptions were thrown in the constructors. Fixes #482
- only dispose the list if the list was actually created
 - sign the tests so we can use InternalsVisibleTo
 - added a test to identify #482
2018-04-12 19:35:36 +02:00
Hobum (Vincent) Kwon 5bc9650021 Fix SKGLSurficeView upside down issue for Tizen backend 2018-04-03 14:31:17 +09:00
Hobum (Vincent) Kwon f1429acbb4 Remove building_for_tizen 2018-04-02 19:38:58 +09:00
Hobum (Vincent) Kwon cfd8d476cc Add Xamarin.Forms for Tizen support 2018-04-01 22:35:30 +09:00
Matthew Leibowitz 71498535d5
Fixed a bug when either the XPS or PDF is not supported 2018-03-24 03:18:41 +02:00
Matthew Leibowitz a3f35901b9
Merge branch 'master' into dev/somewhat-modern 2018-03-24 02:38:48 +02:00
Matthew Leibowitz d3a54285a8
Some platforms require COM to be initialized Fixes #463
- create a helper class
 - used primarily for XPS
2018-03-24 00:13:34 +02:00
Matthew Leibowitz fcafca3072
Using the shiny new mdoc (v5.6.0) 2018-03-23 06:37:31 +02:00
Matthew Leibowitz 9180933aa0
Fixes for macOS 2018-03-22 05:11:20 +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 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 6dbbdea5a3 Using an internal MonoPInvokeCallbackAttribute 2018-02-16 16:52:30 +02:00
Matthew Leibowitz 842ce1a0db Don't force building with .net standard library 1.6.0 2018-02-09 23:27:40 +02:00
Matthew Leibowitz eb629db98b Added SKImage.IsLazyGenerated to help with cases like #445 2018-02-08 15:04:59 +02:00
Matthew Leibowitz 5c5c505e68 Added an overload to SKSwizzle 2018-02-08 13:59:21 +02:00
Matthew Leibowitz b04f9cabc9 Created an abstract, writeable, managed stream 2018-02-06 19:12:44 +02:00
Matthew Leibowitz 88aa6ab08d Return null if the file does not exist when opening a stream 2018-02-05 17:31:09 +02:00
Matthew Leibowitz 9a0bff839b Make sure that we do dispose the streams. #422 2018-02-02 17:46:25 +02:00
Matthew Leibowitz 12cfd60f1a Avoid passing unicode paths to native code as it doesn't support non-ASCII characters on Windows. Fixes #390 2018-02-02 01:12:07 +02:00
Matthew Leibowitz f294636b9c Close document streams. Fixes #422 2018-02-02 00:23:53 +02:00
Matthew Leibowitz 06bef73cfe removing obsolete types and members 2018-01-31 23:30:28 +02:00
Matthew Leibowitz 853c222dc7 Updating NuGet dependencies 2018-01-31 05:13:26 +02:00
Matthew Leibowitz cdabd53d9e Fix the casing for linux 2018-01-30 17:50:18 +02:00
Matthew Leibowitz 3103ee9662 Make sure to copy linux native files around 2018-01-24 21:04:35 +02:00
Matthew Leibowitz cdeb6b67ec Improved the means for creating surfaces around textures. #413 2018-01-13 17:19:18 +02:00
Matthew Leibowitz b601851ca1 Improvements to the unsafe code 2018-01-13 17:15:33 +02:00
Matthew Leibowitz 812b9ab8dc Merge commit 'master' into dev/v1.60.0 2017-12-20 01:53:31 +02:00
Matthew Leibowitz 2f86d008f6 Corrected the implementation of SKPaint.BreakText
- Fixes #381
 - Breaking change:
    - BreakText(string) returns the number of characters
    - BreakText(byte[]) returns the number of bytes
2017-12-19 23:57:49 +02:00
Matthew Leibowitz a58f62bfc9 Using a better front buffered stream 2017-12-17 22:19:42 +02:00
Matthew Leibowitz aab51650ac abstracted the managed stream for arbitary streams 2017-12-17 17:54:43 +02:00
Matthew Leibowitz 987c909a4b Added SKStream.Peek() 2017-12-14 07:30:27 +02:00
Matthew Leibowitz 848eb5fbd7 Update to v1.59.3 2017-12-07 01:24:48 +02:00
Matthew Leibowitz 53a8c4d425 SK3dView does not appear to be going away 2017-12-07 01:22:25 +02:00
Matthew Leibowitz e7778882cd Use the native drawBitmapNine and drawImageNine methods. Fixes #395 2017-11-30 09:59:22 +02:00
Matthew Leibowitz 8ddb0f6668 Added a member to swizzle the R and B 2017-11-03 00:11:32 +02:00
Matthew Leibowitz 59128dd87e Merge branch 'master' into dev/v1.60.0 2017-10-27 12:38:38 +02:00
Matthew Leibowitz 4106505ab0 SKManagedStream Memory Fixes (#386)
Fixed the memory management of a `SKManagedStream` - especially when used with a `SKTypeface`.
2017-10-25 16:29:51 +02:00
Matthew Leibowitz 6920c9390d Make sure we can create a typeface from non-seekable streams 2017-10-03 22:29:18 +02:00
Matthew Leibowitz 36dfe607a5 Setting the version number to v1.59.2 2017-09-27 03:14:38 +02:00
Matthew Leibowitz 5c4f019673 Merge "master" into "v1.60" 2017-09-27 03:10:32 +02:00
Matthew Leibowitz 619588dcc4 Desktop versions of the native p/invoke don't need an extension 2017-09-23 22:45:56 +02:00
Matthew Leibowitz dbd09b0ffe SkiaSharp streams always return all the requested bytes (blocking). Closes #335 2017-09-18 16:54:11 +02:00
Matthew Leibowitz d9a0f9849a Using PackageReference in the UWP apps (no more project.json) 2017-09-06 13:17:17 +02:00
Matthew Leibowitz 20f613a98d Updated the projects to use ProjectReferences 2017-09-05 20:14:54 +02:00
Matthew Leibowitz d02cd89a68 Revert "Revert back to 1.59.1 so we can patch"
This reverts commit 96fa157f03.
2017-09-05 17:29:58 +02:00
Matthew Leibowitz 96fa157f03 Revert back to 1.59.1 so we can patch 2017-09-05 17:28:56 +02:00
Matthew Leibowitz 9cde46f9aa Updated the version number to v1.60 2017-09-01 18:29:56 +02:00
Matthew Leibowitz d1c4ac5656 Adding support for watchOS 2017-08-31 15:28:22 +02:00
Matthew Leibowitz c7821fc974 Some more changes to the build 2017-08-30 17:00:38 +02:00
Matthew Leibowitz 83ea608b4e Added some more TODOs 2017-08-30 15:26:09 +02:00
Matthew Leibowitz c78d3bbc2e Added some TODOs for future features 2017-08-24 16:51:39 +02:00
Matthew Leibowitz d33ad19f99 Added bindings for SkManagedPixelSerializer 2017-08-21 21:58:39 +02:00
Matthew Leibowitz 11c8cf8c65 Making sure the managed objects match the native 2017-08-16 23:49:35 +02:00
Matthew Leibowitz 210ca364b6 Update the managed API for the m60 update 2017-08-16 01:06:01 +02:00
Matthew Leibowitz e4f9defab7 Updating the version to v1.59.1 2017-07-17 21:39:20 +02:00
Matthew Leibowitz 8280bd533c Added tests for the marshaling api
- private bool is now byte
 - structs are blittable
 - all bools are marshaled as I1
 - all strings are LPStr
2017-07-17 14:48:34 +02:00
Matthew Leibowitz f900f3215c Corrected the marshalling. Fixes #333 2017-07-17 01:46:12 +02:00
Matthew Leibowitz dbbfad1c6d Additional colorspace APIs 2017-07-11 21:57:42 +02:00
Matthew Leibowitz 1a0917727c Updated version numbers to v1.59 2017-07-11 15:11:38 +02:00
Matthew Leibowitz b55ea75884 .NET Native suddenly has an issue with auto-properties... (MCG0037) 2017-07-11 15:09:01 +02:00
Matthew Leibowitz a8fdaeed7b Update the C# API 2017-07-11 15:01:04 +02:00
Matthew Leibowitz 8a046706e9 Changes to HarfBuzzSharp and support VS2017 live unit testing 2017-06-28 00:08:41 +02:00
Matthew Leibowitz 6d531b60f3 improvements for building on linux and/or anycpu 2017-06-28 00:48:01 +04:00
Matthew Leibowitz 3571c20d5f We don't actually care about platform. Just copy all platforms. 2017-06-27 12:37:09 +02:00
Matthew Leibowitz 4449fcb8f1 Updated the .targets files to work on an older .NET and/or MSBuild 2017-06-27 12:16:47 +02:00
Matthew Leibowitz fdaed9a88e make sure we sign netstandard 2017-06-24 15:52:38 +04:00
Matthew Leibowitz 82904ad5ca build net45 on linux 2017-06-24 15:52:09 +04:00
Matthew Leibowitz 78175088fe some improvements to the platform detection 2017-06-24 12:32:45 +02:00
Matthew Leibowitz 1448a820c0 Initial work to get better platform detection during msbuild 2017-06-24 12:20:06 +02:00
Matthew Leibowitz 0db86eefae Updated the version number to v1.58.1 2017-06-24 12:09:20 +02:00
Matthew Leibowitz b79570a9db normalized the solution files 2017-06-24 02:19:20 +02:00
Matthew Leibowitz 6b0b1f8368 Re-applied some of the changes that were not specific to MSBuild 2017-06-24 02:02:42 +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 8136e15245 roll back a few changes for linux
- <PackageReference> is not fully supported
 - GenAPI fails when run in a .targets
2017-06-24 01:32:40 +04:00
Matthew Leibowitz ccde9e6a24 Clean up the managed build:
- auto-gen the portable code during the .net core build
 - removed the generic projects
 - removed the dev workbook, now that Workbooks has the required features
 - reduce the duplicate "copy output" logic
2017-06-23 22:01:37 +02:00
Matthew Leibowitz 3cda52c2e1 Merge pull request #318 from mono/rect-adds
add overloads to have more control over the ceiling/floor operations
2017-06-23 08:48:29 +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 5ab9817553 Make adjustments to the SKRectI.Ceiling/Floor logic 2017-06-22 09:56:30 +02:00
Matthew Leibowitz a56d09cd3b Fixed the logic for SKRegion.SetPath. Closes #316 2017-06-20 16:05:02 -05:00
Matthew Leibowitz 4e25cc1015 add overloads to have more control over the ceiling/floor operations 2017-06-20 13:51:52 -05:00
Matthew Leibowitz c9e0001b6b fixed all the solution files 2017-06-06 04:11:37 +02:00
Matthew Leibowitz fda999a93b Native returns can't handle auto-uint-to-struct on x86 Android. Fixes issues #284 2017-05-30 19:11:18 -05:00
Matthew Leibowitz ce9ca309e7 Fixed the structures 2017-05-20 19:33:08 -05:00
Matthew Leibowitz 64669727db Added a few more filters and effects 2017-05-16 17:29:08 +02:00
Matthew Leibowitz 093066124b SKSurface can now be created from a SKPixmap 2017-05-13 23:36:56 +02:00
Matthew Leibowitz 42a1a4abe8 For backwards compatibility, we are not going to use a colorspace when decoding with SKBitmap.Decode(...) 2017-05-13 02:54:24 +02:00
Matthew Leibowitz 59139457ae Added bindings for SKPath.ComputeTightBounds() 2017-05-12 23:56:55 +02:00
Matthew Leibowitz a0272c9300 Updated the versions to v1.58 2017-05-12 02:50:50 -05:00
Matthew Leibowitz 71851abdf6 Merge branch 'master' into update-m58 2017-05-12 00:24:00 -05:00
Matthew Leibowitz fa80f26dd8 Merge pull request #295 from mono/fix-282
Always decode images with premultiplied alpha
2017-05-11 21:31:25 -05:00
Matthew Leibowitz d873e9d6ab Update the build with the latest native 2017-05-11 21:15:58 -05:00
Matthew Leibowitz 81491dd62a Merge branch 'master' into update-m58
# Conflicts:
#	externals/skia
2017-05-11 20:15:14 -05:00
Matthew Leibowitz 478a8665ec Added some extra types:
- SKColorSpace
 - SKImageInfo is now just a managed container since it contains pointers to unmanaged types
 - Fixed the GRContextOptions structure
2017-05-11 20:07:52 -05:00
Matthew Leibowitz 577909f7b3 Decoded images will always be unpremul, but skia cars in premul 2017-05-11 14:43:26 -05:00
Matthew Leibowitz ddc4a5ee96 Added some more members to SKData 2017-05-11 13:41:53 -05:00
Matthew Leibowitz 402d0bf3fa Merge pull request #294 from mono/master
Merge master into m58
2017-05-11 04:20:31 +02:00
Nikita Tsukanov 6b1f226891 Fixed dllmap entries for OSes with .so libs 2017-05-10 23:07:40 +03:00
Matthew Leibowitz 0d7b0a6422 Merge branch 'master' into update-m58
Fixed the issue with the updated version numbers
2017-05-08 17:48:35 -04:00
Matthew Leibowitz 4e1d1ea539 dropping the versions so we can merge 2017-05-08 17:46:25 -04:00
Matthew Leibowitz a2221c7ddc Upping the version number for fixes 2017-05-08 16:10:51 -04:00
Matthew Leibowitz f27a4685b0 Fixed the mappings for SKImageEncodeFormat. Fixes #285 2017-05-08 15:32:19 -04:00
Matthew Leibowitz 78e5c46c24 Upping the version number of SkiaSharp (v1.58) and HarfBuzzSharp (v1.4.6) 2017-05-07 14:59:20 -04:00
Matthew Leibowitz 3579f7a9b0 Update the managed builds with the updated native library 2017-05-06 19:26:17 -04:00
Matthew Leibowitz 0f5efb80e2 Fixed casing 2017-05-04 19:28:39 -04:00
Matthew Leibowitz 32964b1b94 Using a binding project with macOS 2017-05-02 08:00:43 -04:00
Matthew Leibowitz efa91c3ca4 Correcting the filename casing 2017-05-02 03:59:06 +04:00
Matthew Leibowitz 39d377da33 Added ignored files 2017-05-01 16:38:58 -04:00
Matthew Leibowitz a0cface521 Added the UWP binding for HarfBuzz 2017-05-01 10:25:10 +02:00
Matthew Leibowitz 66968d4dbd Added the Android binding 2017-04-28 17:19:14 -04:00
Matthew Leibowitz fc08b9530d Added iOS/tvOS/macOS binding projects 2017-04-28 16:05:31 -04:00
Matthew Leibowitz c73beba005 fixed the type for iOS 2017-04-28 15:35:09 -04:00
Matthew Leibowitz 305550e2b0 Added the ignored files 2017-04-28 17:17:21 +02:00
Matthew Leibowitz aaa8b19ef2 Cleaning up the repo a bit 2017-04-28 09:56:53 -04:00
Matthew Leibowitz bb231e3849 Added the initial work for HarfBuzz
WIP for #272
2017-04-27 21:35:54 +02:00
Matthew Leibowitz 2cdbe0558d The new version is now v1.57.1 2017-04-23 15:52:26 +02:00
Matthew Leibowitz dd901ae957 Added some members 2017-04-21 07:25:27 +02:00
VitalyKnyazev b1709d9d72 Fixed "Could not AOT the assembly" issue for Xamarin 2017-04-04 19:39:54 +01:00
Matthew Leibowitz 6950d67659 All obsolete members are now errors 2017-03-27 00:22:27 +02:00
Matthew Leibowitz 9efa3017d3 Added more apis 2017-03-24 11:58:56 -04:00
Matthew Leibowitz c7c794366d Added more SKSurface members. Resolves #248 2017-03-23 10:47:31 -04:00
Matthew Leibowitz ea3b4a9dd4 More encoding members (now via pixmap/bitmap in addition to image) 2017-03-21 11:01:54 -04:00
Matthew Leibowitz 9a80f17ffc some stream members 2017-03-21 11:01:03 -04:00
Matthew Leibowitz 38629387ec more data members 2017-03-21 11:00:22 -04:00
Matthew Leibowitz 863a6ba217 Added bindings for XPS documents #266 2017-03-20 22:07:22 +02:00
Matthew Leibowitz 7dc39e9770 Updated the packaging version to v1.57.0 2017-03-18 17:08:10 +04:00
Matthew Leibowitz 7f2be6cb7b Make sure we use v1.6.0 2017-03-18 01:19:01 +02:00
Matthew Leibowitz 7d2f89b2b9 A C "long" is a C# "Int32" 2017-03-14 19:52:04 -04:00
Matthew Leibowitz 271f4d6aec Updated the API for the new skia 2017-03-13 23:26:57 -03:00
Matthew Leibowitz 2f3101077f Don't copy the .NET Standard output on non-Windows as it cannot be signed 2017-03-11 12:13:31 +02:00
Matthew Leibowitz df158f63ce Updated the project files for .NET Core v1.1.1 2017-03-11 08:37:12 +02:00
Matthew Leibowitz 1e241bd5e5 Replaced SK3dView with SKMatrix44
- SK3dView is not meant to be used
 - SKMatrix44 is far superior
2017-03-09 07:28:58 -03:00
Matthew Leibowitz eaa2a6f675 Fixed the SKPMColor bit shifts - they differ per platform 2017-03-07 07:34:23 -03:00
Matthew Leibowitz 14aa35e11d A few small tweaks 2017-03-07 07:42:25 +02:00
Matthew Leibowitz 9b18070521 Removed useless method 2017-03-02 17:44:12 +02:00
Matthew Leibowitz cce5bd6b9b Added a buffered stream for decoding images with non-seekable streams
Added .NET Stream overloads for SKBitmap and SKTypeface
2017-03-02 17:07:56 +02:00
Matthew Leibowitz 7e5838bfe4 Merge branch 'master' of github.com:mono/SkiaSharp 2017-03-02 06:06:54 +02:00
Matthew Leibowitz f8736cedfa Make sure we use premultiplied and unpremultiplied colors when the skia API does 2017-03-02 06:06:15 +02:00
Matthew Leibowitz c3fe69b70a No need to change the method name 2017-03-01 09:31:24 +02:00