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

3802 Коммитов

Автор SHA1 Сообщение Дата
Brendan Zagaeski 71902a15bf Bump mono to get fix for mono/mono#7472. (#3701)
Fixes https://github.com/mono/mono/issues/7472.

Commit list for mono/mono:

* mono/mono@145ca6391f [d15-6-2017-10] Only null check target for delegate if method is not static. (#7477)
* mono/mono@835a98d855 Bump bockbuild to get curl error changes
* mono/mono@bbd88d02b2 Bump bockbuild for mono/bockbuild#62 (#7208)
* mono/mono@1eac626536 Pass TRUE for 'repeat' of send variants. This matches behavior of receive variants. Fixes blocking send call where Win32 returns WSAEWOULDBLOCK.
* mono/mono@33652b57eb Bump bockbuild to get new gtk+ repo location
* mono/mono@3f39812cb9 [2017-10] [reference-assemblies] Fix public key for some newer v4.7.1 facades (#6864)

Diff: da1e498884...145ca6391f
2018-03-09 13:02:05 -05:00
Brendan Zagaeski 0feae1cba0 Bump XI to 11.8.1 (and XM to 4.2.1) (#3704)
This updates the revision number in preparation for the next servicing
release from the `d15-6` branch.
2018-03-09 08:07:54 -05:00
Chris Hamons c1a42fe3d0
Update CODEOWNERS files (#3455) (#3694) 2018-03-08 09:33:54 -06:00
Jeffrey Stedfast b0145de9c7 [msbuild] Always codesign libraries and frameworks (#3354)
Fixes issue #3289
2018-03-07 16:40:36 -05:00
Xamarin Release Engineering 1c6f300ef2 Updated reference to mono/mono@da1e498 (#3426) 2018-02-07 21:50:24 -05:00
Sebastien Pouliot 5b1f716850
Bump mono to pick up fix for gh#3241 (#3380)
Commit list for mono/mono:

* mono/mono@38502063ca Revert "[mini] Align stack when resuming to catch handler" (#6744)

Diff: 3c3e692887...38502063ca
2018-02-01 17:36:06 -05:00
Xamarin Release Engineering 4c56cbbf02 Updated reference to mono/mono@3c3e692 (#3282) 2018-01-23 08:30:45 -05:00
Sebastien Pouliot 0565f7be57
Bump mono to 2017-10 head and track d15-6 for llvm (#3276)
Commit list for mono/mono:
    
    * mono/mono@9a93d3e51a Bump msbuild to pick up the IsOSX performance fix
    * mono/mono@3e771b512a Bump corefx dependency
    * mono/mono@7344771071 [Tests] Skip a subset of the System.IdentityModel for iOS and Mac. (#6576)
    
    Diff: bb9f666858...9a93d3e51a
2018-01-22 14:25:08 -05:00
Sebastien Pouliot 431cad0311
[tests] Confirm a device/sim support Metal before running MetalPerformanceShaders tests. Fixes #3237 (#3268) (#3270)
https://github.com/xamarin/xamarin-macios/issues/3237
2018-01-19 16:45:04 -05:00
Vincent Dondain 26d46dace5
[msbuild] Add missing {1} in LogMessage (#3271) 2018-01-19 13:14:11 -05:00
Jeffrey Stedfast e8bb3d2a99
[msbuild] Fixed embedding of provisioning profiles for tvOS (#3261)
Instead of hard-coding the platform as iOS for the EmbedMobileProvision
task, use the SdkPlatform to determine the appropriate platform to use
in the MobileProvisionIndex query.

This is a follow-up fix with near identical changes to the
CompileEntitlements fix for tvOS.
2018-01-18 17:09:45 -05:00
Jeffrey Stedfast ce5765771f
[msbuild] Resolve a Provisioning Profile if needed for iOS Sim builds (#3245) 2018-01-18 16:46:07 -05:00
Sebastien Pouliot e34d5061a3
Bump dependencies to their heads (#3258)
Commit list for mono/mono:
    
    * mono/mono@bb9f666858 [Tests] Skip System.ServiceModel tests that are not supported on XamMac 4.5 (#6565)
    * mono/mono@9c9140bb72 [Tests] Do not assume order of returned interfaces
    * mono/mono@267896c45d Bump linker (#6550)
    * mono/mono@ba2e556947 [sgen] Fix overflow on large arrays (#6542)
    * mono/mono@cb1747a70c [Tests] Skip some of the System.ServiceModel tests when using MOBILE (#6539)
    * mono/mono@2057307374 Use Environment.Platform to access the platform, rather than probing the file system (#6540)
    * mono/mono@ba9ca156ea [2017-10] [bcl] Add .NET 4.7.1 reference assemblies (#6504)
    * mono/mono@c7ec6a03ae Bump gtksharp in bockbuild (#6387)
    * mono/mono@c8921a6394 [w32process] Ensure process_handle is a legal value (#6449)
    * mono/mono@9aa78573ee [jit] Convert stores into sign/zero extensions for small ints during alias-analysis. Fixes gh #6414.
    
    Diff: 3f5fd4287b...bb9f666858
    
    Commit list for xamarin/maccore:
    
    * xamarin/maccore@d3ef7c63f4 [15.6] Update iOS documentation to it's head
    * xamarin/maccore@5fe7f6b307 Bump maciostools hash to HEAD of d15-6 (#613)
    
    Diff: 62c4393c94...d3ef7c63f4
2018-01-18 16:08:17 -05:00
Jeffrey Stedfast 2a7579b8ab
[msbuild] Fixed provisioning profile lookups for tvOS (#3243) 2018-01-18 10:30:32 -05:00
Sebastien Pouliot d1d4446060
[CoreGraphics] Fix issue with the MakeMutable in CGPath where ref count was leaking. (#3228) (#3231) 2018-01-16 08:40:40 -05:00
Jeffrey Stedfast 0059e3e5b5 [msbuild] DetectSigningIdentity fix for Mac when RequireProvisioningProfile is false (#3218)
* [msbuild] DetectSigningIdentity fix for Mac when RequireProvisioningProfile is false

Fixes https://github.com/xamarin/maccore/issues/612

* Disable some tests since they don't make correct assumptions anymore

* Added comment to explain why tests are disabled
2018-01-12 17:13:08 -05:00
Sebastien Pouliot eaff169db3
Revert "[macos] Fix pdb mismatch when saving assemblies processed by mmp (#2901)" (#3188)
This reverts commit 91ded43b0b.

Discussed in https://bugzilla.xamarin.com/show_bug.cgi?id=60923
2018-01-09 17:21:50 -05:00
Sebastien Pouliot 9a4bc2ba91
bump for preview 3 (#3186)
Commit list for xamarin/Xamarin.MacDev:

* xamarin/Xamarin.MacDev@e08b3ad D15 6 entitlements (#21)

Diff: 2cff0d7412...e08b3ad722

Commit list for mono/mono:

* mono/mono@3f5fd4287b [System] Set exception on Finish*Failure in SocketAsyncEventArgs (#6462)
* mono/mono@253f2e9b27 Implement a couple of SocketAsyncEventArgs methods

Diff: e70439f186...3f5fd4287b
2018-01-09 16:42:09 -05:00
Jeffrey Stedfast 30ae7d3d32 [msbuild] Tweak the codesign logic for iOS Simulator builds (#3180)
Don't *always* codesign, especially for Xcode 8 which seems to break.

iOS Simulator builds should only be codesigned if they require
Entitlements (signified by RequireProvisionProfile).
2018-01-08 15:59:26 -05:00
Jeffrey Stedfast fc723647c7 [msbuild] Repack all iOS Task assemblies into Xamarin.iOS.Tasks.dll (#3179) 2018-01-08 15:57:58 -05:00
Alex Soto 590b976abe
[SceneKit] Workaround SCNAnimationEvent breaking change introduced in iOS 11 (#3160) (#3165)
This fixes xamarin-macios#3145 and xamarin/xamarin-macios#3146

This workarounds an Apple breaking change (since `SCNAnimation` protocol is new in iOS 11):

The Old definition was
> typedef void (^SCNAnimationEventBlock)(CAAnimation animation, id _Nonnull animatedObject, BOOL playingBackward)

The new ObjC definition is:
> typedef void (^SCNAnimationEventBlock)(id<SCNAnimation> animation, id animatedObject, BOOL playingBackward);

and it is bound as:
> delegate void SCNAnimationEventHandler (CAAnimation animation, NSObject animatedObject, bool playingBackward);

and for watchOS and XAMCORE_4_0 it is bound as:
> delegate void SCNAnimationEventHandler (ISCNAnimationProtocol animation, NSObject animatedObject, bool playingBackward);

Fortunatelly `CAAnimation` conforms to `SCNAnimation` protocol and
we are now abusing this fact and forcing its creation with `GetINativeObject`
this way we keep a single API and we can always completely fix this
when XAMCORE_4_0 happens following suit with apple's breaking change.
2018-01-05 11:00:23 -06:00
Sebastien Pouliot 9b106941a8
Bump mono to head of 2017-10 branch (#3161) 2018-01-05 09:09:54 -05:00
Alex Soto dd330fc760 [Vision] Removes incorrect [Abstract] from VNDetectBarcodesRequest (#3155) (#3158)
Fixes xamarin/xamarin-macios#3140

According to headers and documentation this should not be abstract.
This was incorrectly added by me in 89071bc19d
I could not find why this was added by checking headers nor I can
recall why I added it so I'll just say it was a honest mistake :) Oops... 🙈
2018-01-04 16:11:21 -05:00
Sebastien Pouliot 82e38cd165
[mtouch] Fix Xamarin.Sdk not to link with private frameworks. Fixes #61039 (#3118) (#3130)
We can't trust Apple's native linker to pick the right (non private)
framework when an older TargetVersion is used. It just prefer what's
available - even if specified with a WeakFramework :(

That was already dealt with for applications. However the native linking
of the Xamarin.Sdk.framework (code sharing with extensions) is done with
the `LinkTask` instead of the `NativeLinkTask` so it did not have the
"auto correct" code.

Unit test added.

reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=61039
2017-12-22 13:11:25 -05:00
Matt Sylvia d15aa28a06 Branching for d15-6 2017-12-19 17:30:26 -05:00
Sebastien Pouliot 0cd74f2ed9
Bump mono and fix default for linker UserAction (#3113)
The linker bump (included in the mono bump) requires setting a default value for UserAction
4d2362d808

Commit list for mono/mono:

* mono/mono@ce89e4c5fa [threads] Fix leak of gchandle to MonoInternalThread (#6258)
* mono/mono@9bd33ec5b6 [android] Android NDK does not contain API level/platform 12
* mono/mono@63e8dc6ea1 Bump cecil
* mono/mono@e65bf00e22 Merge pull request #6122 from lewurm/2017-10-interp-aot-mode-fixes
* mono/mono@8f0589ae81 [mini] Add missing try holes
* mono/mono@ab20369d5f [mini] Align stack when resuming to catch handler
* mono/mono@3a134a2d8c [mini] Add missing try holes
* mono/mono@2e775c7e39 [mini] Fix clause try hole checking
* mono/mono@a9a4166431 [loader] Don't assert on abstract methods in get_method_constrained
* mono/mono@feba66a6ce [interp] small improvment for error reporting in interp compile method callback
* mono/mono@6fc6ca1e18 [aot] encode interp_in wrappers with proper signature
* mono/mono@7332690826 [interp] fix copy/paste-typo in n2m macro magic
* mono/mono@b64faae88c [aot] add more signatures for interp_in wrapper needed for iOS
* mono/mono@b3b0613ad3 Bump msbuild to bring in fix for #60770 (#6107)
* mono/mono@ddeba6e1ba [interp] fix using conv.u with string
* mono/mono@0360f420fe Bump API snapshot submodule
* mono/mono@2f18e7dd23 Bump cecil & linker to match master.
* mono/mono@0f53cb275c [interp] allow unsigned i8 in pinvoke signature

Diff: c5cd0f1e7f...ce89e4c5fa

https://bugzilla.xamarin.com/show_bug.cgi?id=60770
2017-12-18 17:56:12 -05:00
Sebastien Pouliot 701ec075c8
[macos][photos] Fix breaking change wrt PHLivePhotoFrameProcessingBlock (#3112)
API diff reported

```
Type Changed: Photos.PHLivePhotoEditingContext

Removed property:

	public virtual PHLivePhotoFrameProcessingBlock FrameProcessor { get; set; }

Removed Type Photos.PHLivePhotoFrameProcessingBlock
````
2017-12-18 13:31:17 -05:00
Sebastien Pouliot 48530bcd8d
[tests][security] Update TrustTest to run faster (without timeouts) (#3108)
The original test was to cover both X509Certificate and X509Certiicate2
when using with SecTrust. However the code diverged over time. That and
the different certificates used caused the `*2` tests to hit a time
loop (designed to reduce incorrect errors randomly reported).

We want to keep the "delay" logic for it's intended purpose - but it
should not be needed normally.

The tests have been refactored to reuse the same logic (between both
types of certificates) which solve this (when used with the same
certificates)

Replace https://github.com/xamarin/xamarin-macios/pull/3068
2017-12-18 11:14:31 -05:00
Sebastien Pouliot fffaba2414
[xtro] Add sanity tests to keep the entries up to date (avoid invalid, dupes and out of date entries) (#3110) 2017-12-18 10:49:07 -05:00
Alex Soto f8d7c54a0f [generator] Disallow the use of [Async] when the signature contains ref/out parameters, fixes bug 58792. (#3059)
When a method signature contains any ref/out parameters
it is a hint that this method is not a candidate to be
used with [Async] we now error BI1062 in the generator.

The reason of an error instead of a warning is that we
currently generate not compilable code when ref/out is
used on the method signature or in the signature of the
delegate (completion handler), it is very unlikely we are
breaking someone now that we emit an error instead of broken
code.

* Fix Anchor and Clarify the addition of BI1117 Warning into docs/website/generator-errors.md

BI1117 Warning documentation was missing from docs/website/generator-errors.md
so I added it.
2017-12-18 09:21:23 -05:00
Jeffrey Stedfast ddf9d63078 bumped Xamarin.MacDev to fix bug #60377 (#3094) 2017-12-15 17:48:37 -05:00
Sebastien Pouliot 8d854a0f3d
[xtro] Split results by framework and add an HTML report (#3093)
* Not every old annotations have been migrated (work in progress, to be completed in another PR);

* Sanitation of the data files (e.g. removal of dupes and fixed, by Apple, entries) is done, but not automated (also a work in progress)

Even then this is immediately useful, i.e. better merged before 15.6 gets branched.
2017-12-15 14:08:09 -05:00
Manuel de la Pena cb688be5c4
[CoreAnimation] Ensure that we increase the handle refenrece count in MakeMutable. Fixes #3089 (#3099)
* [CoreAnimation] Ensure that we increate the handle referene in MakeMutable. Fixes 3089

Fixes https://github.com/xamarin/xamarin-macios/issues/3089
2017-12-15 16:13:42 +01:00
Emanuel Fernandez Dell'Oca 53f260166d Bumps maccore to get Xamarin Analysis fix for XVS (#3105)
Gets the latest version of Xamarin Analysis that includes a fix to copy the Xamarin.iOS.Analysis.targets file to the build output directory
2017-12-14 20:03:59 -05:00
Emanuel c84f0dac3d [msbuild] Fixes MoveTaskBase inclusion
MoveTaskBase inherits from Microsoft.Build.Tasks.Move, and Mono has a different implementation of it, so when building from a Mac we need to include XBuildMoveTaskBase.cs instead. The previous condition does no apply any more, because we're now using MSBuild to build, but the Move task implementation didn't change so it doesn't matter if we're using Xbuild or MSBuild.

This issue is preventing us (XVS) from merging features to our master branch
2017-12-14 19:37:15 -03:00
Chris Hamons b357bb4e1e [macos] NSView.LocationInView should accept null (#3103)
- https://bugzilla.xamarin.com/show_bug.cgi?id=61101
2017-12-14 15:57:07 -05:00
Emanuel 4526a3cf74 Bump maccore to get fix for package step issue 2017-12-14 15:23:37 -03:00
Sebastien Pouliot d414072b74
Update API diff references with xcode92 data (#3097) 2017-12-14 11:48:19 -05:00
Sebastien Pouliot bb330468ec
Bump maccore and guiunit to HEAD (#3098)
There's a separate PR for mono
https://github.com/xamarin/xamarin-macios/pull/3082
2017-12-14 09:48:37 -05:00
Emanuel Fernandez Dell'Oca 37683f771e [xvs] Bump maccore to get msbuild.zip changes (#3095)
We need xamarin/maccore@f819228 because it changes the msbuild.zip to include Xamarin Analysis targets and binaries.
2017-12-13 10:53:52 -05:00
Vincent Dondain 808c67017d
[msbuild] Add support for optionally explaining why inapplicable certificates are not applicable (#3085)
Help fix #58251: When looking for valid signing certificates, print out each invalid certificate and state why it's not valid
(https://bugzilla.xamarin.com/show_bug.cgi?id=58251)
2017-12-12 14:25:04 -05:00
Jeffrey Stedfast b52a38bd33
[msbuild] Catch json parser exceptions to provide better error reporting (#2992)
* [msbuild] Catch json parser exceptions to provide better error reporting

This is in response to https://bugzilla.xamarin.com/show_bug.cgi?id=60536

* Added unit test
2017-12-12 13:54:09 -05:00
Vincent Dondain 79e1d3613e
[xamarin-analysis] Add rule #6 and updated md file (#3088)
- Add XIA0006: HttpClientAvoidManaged.
- Add documentation on how the rules work and how to activate them.
  Also mention that they need to be ran on each active configuration.
- Bump maccore to include XIA 0006.
2017-12-12 12:43:36 -05:00
Vincent Dondain 8899158260
[arkit] Fix 'Vertices', 'TextureCoordinates' and 'TriangleIndices' in 'ARFaceGeometry' (#3090)
- Fixes bug #61056: [ARKit] TriangleIndices, Vertices and TextureCoordinates should be respectively short [], Vector3 [] and Vector2 []
(https://bugzilla.xamarin.com/show_bug.cgi?id=61056)
- Obsolete `short TriangleIndices`.
- Obsolete `Vector3 Vertices`.
- Obsolete `Vector2 TextureCoordinates`.
- Introduced new `short [] GetTriangleIndices ()`.
- Introduced new `Vector3 [] GetVertices ()`.
- Introduced new `Vector2 [] GetTextureCoordinates ()`.
2017-12-12 12:33:48 -05:00
Manuel de la Pena 1e777cdfca
[Tools] Reduce the verbosity of install sources which is in debugging mode. (#3092) 2017-12-12 12:30:34 +01:00
Sebastien Pouliot c32474b7e9
Merge pull request #3086 from VincentDondain/xcode9.2-merge
Xcode 9.2 merge
2017-12-07 08:51:07 -05:00
Vincent Dondain 18378d752e Fix merge mistake in monotouch-test.csproj 2017-12-06 15:18:11 -05:00
Chris Hamons c85c1a1b11 Add initial github issue template (#3080)
* Add initial github issue template

* Update template to not suggest pasting huge build logs inline

* Update template

* Update template some more
2017-12-06 15:03:12 -05:00
Vincent Dondain d7b7a6ea02 Merge branch 'xcode9.2' 2017-12-06 14:41:13 -05:00
Vincent Dondain 479733c386 [Make.config] Add TODO for PACKAGE_VERSION_REV (#3083)
In my bump to Xcode 9.2 final: https://github.com/xamarin/xamarin-macios/pull/3081 I updated the `IOS_PACKAGE_VERSION`'s minor # (for the release) but forgot to update `PACKAGE_VERSION_REV` (genuinely didn't know about it).

In retrospect, I should have read the bloc of text a couple lines above that says: "A release branch requires updating". Therefore in a desperate attempt to avoid that future me missing this I added a `/!\ README /!\`. I also updated the comment above `PACKAGE_VERSION_REV` to better highlight the importance of resetting to 0 and a TODO to, again, help future me see this (:
2017-12-06 09:36:08 -05:00