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

4487 Коммитов

Автор SHA1 Сообщение Дата
Sebastien Pouliot 7e770663d9
[audiotoolbox][tvos] Remove AudioFileReadPackets symbol (#4570)
The public API was removed a long time ago (with XAMCORE_2_0) but
the p/invoke was still present in the platform assemblies.

Since tvOS requires bitcode this can cause a problem when linking
natively since a direct call won't be possible. That would only
happen if the symbol is removed (from the binary, not just the
headers) and if the managed linker is not enabled (otherwise it
will always be removed).
2018-08-04 00:24:54 -04:00
Manuel de la Pena 3613803471 [CoreMedia] Add Xcode 10 beta 5 support. (#4567) 2018-08-04 00:24:24 -04:00
Chris Hamons 7669300fcb Fix appkit warning (#4573) 2018-08-04 00:22:07 -04:00
Manuel de la Pena b47305ede2 [CoreImage] Add Xcode 10 beta 5 support. (#4564) 2018-08-03 17:06:45 -04:00
Rolf Bjarne Kvinge 9d65e42f58 Fix testing 32-bit XM apps. Fixes maccore issue 884. (#4555)
* [jenkins] Only XM apps with variations are Classic/32-bit apps, so adjust ignore logic accordingly. Fixes maccore issue 884.

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

* [mmp] Fix passing -stdlib=libc++ to clang.

* [tests] Fix 32-bit XM issues.

* [xharness] Add support for building 32-bit XM apps by using Xcode 9.4.

* [xharness] Since xharness can now build 32-bit mac apps, enable them by default.

* Remove debug code.

* Remove unused variable.
2018-08-03 17:06:23 -04:00
Rolf Bjarne Kvinge 5400e01178
[xtro] Make 'classify' faster by running it for each platform in parallel with eachother. (#4563) 2018-08-03 16:20:00 +02:00
Rolf Bjarne Kvinge 0ede8b07bc
[jenkins] Implement support for slack notifications. (#4369)
Implement support for slack notifications.

Notifications will only be sent when something fails, and unfortunately I wasn't able to make notifications ping due to https://github.com/jenkinsci/slack-plugin/issues/353.
2018-08-03 11:37:54 +02:00
Rolf Bjarne Kvinge c77f191064 [CoreGraphics] Add missing API added in Xcode 10 beta 1. (#4547)
* [CoreGraphics] Add CGPDFArray.Get* overloads that take a nint index, since the CGPDFArray.Count property returns nint.

This makes the following code work:

    for (var i = 0; i < array.Count; i++)
    	array.GetInt (i, ...)

* Don't add [MonoPInvokeCallback] to Mac code.

* [CoreGraphics] Rename CGPDFArray.ApplyBlockCallback to ApplyCallback.

Since the fact that the method is implemented using a block is not relevant
for managed code.

This also makes the method named like an equivalent method in CGPDFDictionary.

* [CoreGraphics] Change CGPDFArray.Apply to take an 'object' as the info parameter instead of IntPtr.

This makes it nicer for managed code.

* [CoreGraphics] CGPDFArray.Apply: resolve the iterated object to the actual CGPDFObject type.

* [CoreGraphics] Add an CGPDFDictionary.Apply overload that resolves the iterated object to the actual CGPDFObject type.

This method was previously only available in Classic, so I just reintroduced
it with a few changes to make the API nicer (which isn't a breaking change
since we're not building Classic anymore).

* [tests] Add test for CGPDF types.

* [tests] Don't run the new tests unless the SDK was part of Xcode 10
2018-08-02 20:30:41 -04:00
Vincent Dondain f3b5b81163 [arkit] Add ARAnchorCopyingCtorTest (#4551)
- Fixes https://github.com/xamarin/xamarin-macios/issues/4497.
2018-08-02 20:29:50 -04:00
Manuel de la Pena ab64222d5b [AudioToolbox] Add Xcode 10 beta 5 support. (#4559) 2018-08-02 20:29:15 -04:00
Chris Hamons abcce7c2b9 Add missing AppKit Xcode 10 bindings (#4546) 2018-08-02 16:32:30 -04:00
Manuel de la Pena bf3d722360 [UIKit] Add support for Xcode 10 beta 5. (#4556) 2018-08-02 16:31:35 -04:00
Manuel de la Pena a2bfd0b633 [AVFoundation] Add support for Xcode 10 beta5. (#4554) 2018-08-02 16:15:16 -04:00
Rolf Bjarne Kvinge 04b181f574 [tests] Adjust the MT5211 test according to modified ld output. Fixes maccore issue 897. (#4557)
Fixes https://github.com/xamarin/maccore/issues/897.
2018-08-02 15:42:17 -04:00
Chris Hamons 9e3c69a7f5
Add soft deprecations from Foundation beta 5 on macOS (#4548) 2018-08-02 11:06:28 -05:00
Sebastien Pouliot 66a4a0fd79
[iad] Update for beta 5 (#4544)
Apple removed `MPMoviePlayerController_iAdPreroll.h` in beta 5.

The deprecation existed, but indirectly, on `MPMoviePlayerController`,
the type on which the category is based. IOW it's became obsoleted so
we're adding the attributes to match this.
2018-08-02 10:13:15 -04:00
Chris Hamons 42bdecda4d Ignore instead of todo CoreWLand bindings uncovered by 24f865655f (#4552) 2018-08-02 09:16:48 -04:00
Sebastien Pouliot 1c2c655bb8
[coremidi] Update to beta 5 (#4550)
Be more explicit (and match headers) about API availability - even
if it does not change what we expose.
2018-08-02 09:15:09 -04:00
Rolf Bjarne Kvinge 0181606fce
[jenkins] Skip any executing builds on internal jenkins when new builds are scheduled for pull requests. (#4518) 2018-08-02 09:53:46 +02:00
Chris Hamons e77560fff3
Xcode 10 Beta 5 AppKit (#4539)
- Mark NSBindingSelectionMarker as 10.14+ and note in XAMCORE_4_0 future usages
2018-08-01 12:31:20 -05:00
Alex Soto b808213465 [Vision] Update bindings to Xcode 10 beta 1, nothing in beta 2 (#4321) 2018-08-01 10:50:13 -04:00
Miguel de Icaza 49bb4aa0ca Xcode10 CoreGraphics B1-B5 (#4198)
* [CoreGraphics] Add first batch of Xcode10 APIs, added an enum that we did not surface before

* [xcode10] CoreGraphics support

* Fix whitespace/formatting and add comma after last enum value.

* Make CFPropertyList follow normal INativeObject creation pattern.

* Make CFPropertyList.AsData return the error as a tuple.

* Fix CFPropertyList.AsData to not leak.

* CFPropertyList.Value: use Runtime.GetNSObject so that we don't accidentally create duplicate wrappers for the same native object.

* [CoreGraphics] Update to beta 5.

* Update xtro definitions.

* Add tests.

* Don't compare value type with null.

* Use PascalCase for named return tuples.

* [CoreFoundation] Make CFPropertyList enums native and fix code accordingly.

* [tests] Fix fetching 64-bit int to actually fetch a 64-bit int and not a nint.

* [tests] Teach introspection's ApiCMAttachmentTest about CFPropertyList.
2018-08-01 16:25:40 +02:00
Vincent Dondain 52aae1858b [homekit] Remove export for 'RemoveUser' (iOS prohibited) (#4542)
We want to remove the native API because it's prohibited and Apple could reject apps with it. Therefore we exposed empty stubs to avoid breaking the API.
2018-08-01 08:13:49 -04:00
Sebastien Pouliot 7f30793364
[scenekit] Update for beta 5 (#4541) 2018-08-01 08:13:21 -04:00
Sebastien Pouliot b13347b1be
[storekit] Update for beta 5 (#4535) 2018-07-31 21:50:55 -04:00
Vincent Dondain 1ffa311117 [coreml] Update for Xcode 10 beta 5 (#4534) 2018-07-31 21:50:40 -04:00
Sebastien Pouliot c682959deb
[tvos][tvuikit] Update for beta 5 (#4533) 2018-07-31 21:50:10 -04:00
Vincent Dondain 021be4890b [modelio] Update for Xcode 10 beta 5 (#4536) 2018-07-31 21:25:30 -04:00
Sebastien Pouliot c987e054e3
[passkit] Update for beta 5 (#4537) 2018-07-31 21:22:30 -04:00
Vincent Dondain 839c26e21d [arkit] Add ARAnchorCopying protocol (#4523)
Even if empty this protocol will help with tests and subclasses.
2018-07-31 21:20:16 -04:00
Chris Hamons 65b1d0cfb5
AppKit 10b4 (#4488) 2018-07-31 15:17:25 -05:00
Sebastien Pouliot fe159bda2d
Update for xcode 10 beta 5 (#4527) 2018-07-31 08:49:19 -04:00
Vincent Dondain a9229354d2 [xtro] Update makefile to call u2todo.cs (#4529) 2018-07-30 21:39:56 -04:00
Vincent Dondain 53d7e23c46 [arkit] Introduce runWithConfiguration: (#4521)
The comment: "'runWithConfiguration:' selector marked as unavailable in Xcode 9 beta 5"
was *wrongly* referencing 'NS_SWIFT_UNAVAILABLE("Use run(_:options:) instead")'. However that applies to swift and not objective-c, this selector is valid and lets users skip the options.

Note: tested with real-world ARKit app.

* Add None to ARSessionRunOptions
2018-07-30 08:25:57 -04:00
Sebastien Pouliot 3bb8f82e19
[coreimage] Add new CISaliencyMapFilter from beta 4 (#4513) 2018-07-27 08:27:23 -04:00
Sebastien Pouliot 6ba08239a7
Bump mono to fix (2nd part) watchos calling convention (#4514) 2018-07-27 08:27:09 -04:00
Rolf Bjarne Kvinge 7b8a7a3ced
[CoreBluetooth] Add availability attributes for CBUUID.CBUUIDValidRangeString. (#4508)
Fixes introspection on macOS 10.7-10.11.
2018-07-26 15:04:58 +02:00
Sebastien Pouliot 0402ef3f2f
[watchos][intents] Enable MediaPlayer related API (now enabled for watchOS) (#4505) 2018-07-26 08:38:12 -04:00
Rolf Bjarne Kvinge 72124256f9
Merge pull request #4501: Use libc++ instead of stdlibc++ for Xamarin.Mac too.
Use libc++ instead of stdlibc++ for Xamarin.Mac too.

See 0d31720770 for more info.

Also revert a series of commits that bumps min macOS version from 10.7 to 10.9
2018-07-25 17:10:21 +02:00
Rolf Bjarne Kvinge f12c7259a8
Revert "[mtouch] Work around broken tvOS headers in Xcode 10 beta 1." (#4502)
This reverts commit 663eaeb389.
2018-07-25 16:00:22 +02:00
Jeffrey Stedfast 5e5e5382eb [msbuild] Xcode10 changed the copySceneKitAssets command-line arguments (#4469) (#4499)
Fixes https://github.com/xamarin/xamarin-macios/issues/4467
2018-07-25 08:23:29 -04:00
Rolf Bjarne Kvinge 03d4dc0aca Revert "Temporarily bump the MIN_OSX_SDK_VERSION to 10.9 to avoid SceneKit compilation issues"
This reverts commit 63a4f19356.
2018-07-25 11:56:41 +02:00
Rolf Bjarne Kvinge 84718186d7 Revert "Update min macOS version in Versions-mac.plist"
This reverts commit 0fdcd45d20.
2018-07-25 11:56:29 +02:00
Rolf Bjarne Kvinge a339290fac Revert "More 10.7 -> 10.9 bumps"
This reverts commit 24a4360600.
2018-07-25 11:56:18 +02:00
Rolf Bjarne Kvinge 302328db34 Revert "Bump tests minimum version from 10.7 to 10.9"
This reverts commit acc58900dd.
2018-07-25 11:55:58 +02:00
Rolf Bjarne Kvinge 55f2eda4be Use libc++ instead of stdlibc++ for Xamarin.Mac too.
See 0d31720770 for more info.
2018-07-25 11:55:17 +02:00
Vincent Dondain 44799dc42c [arkit] Update for Xcode 10 beta 4 (#4496)
Inlined protocol member. No constructor in interfaces in C#.
Add 'initWithAnchor' to all subclasses of 'ARAnchor'
2018-07-24 20:40:15 -04:00
Sebastien Pouliot f2b82a393f
[xtro][foundation] Move some API to common-Foundation.ignore since they are now common across all OS (#4494) 2018-07-24 08:25:02 -04:00
Sebastien Pouliot ab57c4c53e
[macos][quartzcomposer] Update for beta 4 (#4493)
Apple re-added some constants that were dropped without any clue (and we
filed a rdar for it since it's a breaking change to remove them).

It's now clear that it's deprecated and why
`QC_GL_DEPRECATED(10_5, 10_14);`

so we can update the attribute (and fix the version).

note: also fix extra `;` in `CBUUIDValidRangeString` tests while removing
the special case added earlier (from beta 1)
2018-07-24 08:24:42 -04:00
Manuel de la Pena 538ca047b7
[CoreMidi] Xcode 10 beta 3 update. (#4470)
Re-addition of the removed bindings after we fixed the structure.
2018-07-23 11:03:17 +02:00