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

940 Коммитов

Автор SHA1 Сообщение Дата
Alex Soto 9f781aa45b Merge pull request #423 from dalexsoto/usernotifications
[UserNotifications] Update UserNotifications to Xcode 8 beta 3
2016-07-19 11:15:43 -05:00
Alex Soto ef296e5865 [UserNotifications] Update UserNotifications to Xcode 8 beta 3 2016-07-19 11:15:11 -05:00
Vincent Dondain f2a74668f0 [messages] Update for iOS 10 beta 3 (#428) 2016-07-19 17:02:41 +02:00
Sebastien Pouliot 1a58afb47d Fix FetchString change from PR335, other (wrong) cases and reduce code duplication (#389)
PR335 [1] caused a leak and, upon verification, the same pattern was used
elsewhere too. There were also other (good) cases that now share the same
code.

[1] https://github.com/xamarin/xamarin-macios/pull/335
2016-07-19 08:44:59 -04:00
Sebastien Pouliot 3f57690e53 Merge branch 'cycle8' into xcode8 2016-07-19 08:15:01 -04:00
Alex Soto 9f8c1139c4 [Intents] Update intents to Xcode 8 Beta 3 (#425)
* Some availability attributes were added by Apple
  and are now fixed accordingly but still we have
  some more members that need instrospection tests
  to be run on macOS 10.12 to be completly sure or
  wait for a future beta and hope they are fixed
2016-07-19 08:08:55 -04:00
Alex Soto 60826625cb [Callkit] Update CallKit bindings to Xcode 8 Beta 3 (#422)
* Apple removed macOS availability with this release
2016-07-19 08:04:15 -04:00
Sebastien Pouliot 7a4f5b81d4 [coreanimation] Update for beta 3 (#421) 2016-07-19 08:02:53 -04:00
Sebastien Pouliot 53179c7f41 [replaykit] Update for beta 3 (#420) 2016-07-19 08:02:09 -04:00
Rolf Bjarne Kvinge ef0c82b741 [src] Make sure dlls have their timestamps updated after attempting to build them. (#426)
This tries to work around a make bug where make gets confused and ends
up in an infinite loop if a executing a target (because one of the dependencies
changed) does not actually change the timestamp of the target (while this is logically
unsound, it can certainly happen when invoking submakes to build stuff because
the supermake does not have a complete knowledge about all the dependencies
(because our makefiles aren't perfect)).
2016-07-19 13:52:12 +02:00
Rolf Bjarne Kvinge f1f233a6e7 [src] Tell make how to install System.Drawing.Primitives.dll for XM. (#427)
Otherwise there's a matching pattern target that will create a symlink to nowhere.
2016-07-19 13:51:40 +02:00
Rolf Bjarne Kvinge fed6b450e4 [builds] Fix symlinks from Unified facades to Classic facades. (#424)
Instead of having a symlink of the entire Facades directory for
Unified, we must now create a real directory and symlink each Facade
assembly, because there's one Facade assembly that can't be shared
between Unified and Classic (System.Drawing.Primitives.dll) because
it references monotouch.dll/Xamarin.iOS.dll.
2016-07-19 11:12:00 +02:00
Sebastien Pouliot 980e71bc10 Bump Xcode requirement to 8.0 beta 3 (#418) 2016-07-18 23:16:44 -04:00
Vincent Dondain 7c22f4af9a [message] Fix missleading binding (#417)
Reported in bug #42635:
"IMSStickerBrowserViewDataSource.GetStickerBrowserView() should be GetSticker()"
https://bugzilla.xamarin.com/show_bug.cgi?id=42635

Indeed since the method returns an MSSticker there's no reason to keep
BrowserView in the method's name.
2016-07-18 16:15:11 -04:00
Sebastien Pouliot 52ffb2b251 Merge branch 'cycle8' into xcode8 2016-07-18 14:34:12 -04:00
Manuel de la Pena 53e2129230 [Fix] Ensure that symbolication contains the aotid subdirs that will contain the msym files. 2016-07-18 18:19:25 +02:00
Alex Soto 9a09366f4b [VideoSubscriberAccount] Update bindings to Xcode8 Beta 2 (#414) 2016-07-18 10:23:28 -04:00
Marek Safar 2835ad61e4 Merge pull request #413 from xamarin/hamons_xm_drawprim
[build] Fixes System.Drawing.Primitives facades to be proxy for appropriate profiles. Fixes #42557
2016-07-18 15:15:04 +02:00
Sebastien Pouliot 24b5dfbcb9 [tests] Disable PassLibraryTest.Default on watchOS as it hangs the process (#412)
Jul 15 15:44:26 castor monotouchtest[42732]: [default] [ERROR] error while getting ubiquityIdentityToken: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.bird.token was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.bird.token was invalidated.}

^ the above is printed several times after this
2016-07-18 08:35:53 -04:00
Chris Hamons e8de72c7fe Remove xm45 custom System.Drawing.Primitives.dll since normal magic works for it 2016-07-15 18:14:12 -05:00
Sebastien Pouliot f38d545d31 [tests] Ensure monotouch-test runs fine down to iOS 6.1 (#411)
* Mostly missing checks

* FontTest: Apple never fixed that and the way we link now, without
  dlsym, makes the test crash

dyld: lazy symbol binding failed: Symbol not found: _CTFontCreateWithFontDescriptorAndOptions
  Referenced from: /var/mobile/Applications/6025D222-F50E-46E0-8BF5-9C45D4C7DACB/monotouchtest.app/monotouchtest
  Expected in: /System/Library/Frameworks/CoreText.framework/CoreText
2016-07-15 18:10:30 -04:00
Chris Hamons 3e8ab20f8a Fix XM bits of System.Drawing.Primitives.dll changes 2016-07-15 17:07:13 -05:00
Marek Safar 945ce0bb3a Bump mono 2016-07-15 21:19:37 +02:00
Sebastien Pouliot d29eb7a436 Workaround for #42549 until correct support for symbolification is available in C8 (#410) 2016-07-15 14:01:32 -04:00
Vincent Dondain b62ecd5348 [xtro-sharpie] Use default mono in Makefile (#407) 2016-07-15 13:52:40 -04:00
Vincent Dondain 2dfe8fe400 [mediaplayer] Update for iOS 10 beta 1 - Part 2 (#406) 2016-07-15 13:19:25 -04:00
Vincent Dondain 777733539a [messages] Fixes wrt xtro-sharpie errors (#408)
1. !missing-field! MSMessagesErrorDomain not bound
2. !missing-protocol-conformance! MSStickerBrowserViewController should conform to MSStickerBrowserViewDataSource
2016-07-15 13:17:51 -04:00
Marek Safar 5bded52bc3 Bump mono 2016-07-15 18:56:55 +02:00
Marek Safar 7517e622b1 [build] Fixes System.Drawing.Primitives facades to be proxy for appropriate profiles. Fixes #42557 2016-07-15 17:43:50 +02:00
Alex Soto a4a4dc18fc [UserNotifications(UI)] Update UserNotifications(UI) to Xcode8 b2 (#405) 2016-07-15 08:19:46 -04:00
Alex Soto fc96f5a9f1 [Speech] Update to Xcode8 beta 2 (#404)
* About radar://26799291 https://trello.com/c/s6s6YKua
  the member using the private API has been removed from
  the public API, still no response in the radar heh
2016-07-15 08:17:57 -04:00
Alex Soto 57f246053a [CallKit] Update to Xcode8 Beta 2 (#403)
* All removals included in this commit are because members
  got deprecated and will be removed on a future release no
  point on having them around anymore
2016-07-15 08:17:09 -04:00
Sebastien Pouliot 4f68d7cb0f [foundation] Add a few types to complete bindings for Intents.framework (#402)
and uncomment those bindings.
2016-07-15 08:12:29 -04:00
Sebastien Pouliot d2c1b63ec0 Fix monotouch-tests failures on older iOS versions (#401)
Tested with iOS 7.1 on an iPad 3

- Dynamic registrar needs to ignore new CBManager base class;
- CGImageMetadataTag.Value returns a mutable array on iOS10;
- MPMediaItem properties needed 9.2 / 10.0 check;
- MSMessage not available before Xcode 8;
- Metal not available before Xcode 6;
- MetalPerformanceShaders not available before Xcode 7;
2016-07-14 22:00:52 -04:00
Alex Soto af8289880e [IntentsUI] Add IntentsUI framework from Xcode 8 b2 (#400) 2016-07-14 20:42:48 -04:00
Sebastien Pouliot ab6cc886ac [corevideo] Update for beta 2 (#378)
The enums were redefined (added clarity) and this is now reflected into
our source - without breaking compatibility.
2016-07-14 16:29:26 -04:00
Sebastien Pouliot 9998d35f37 [watchos][cloudkit] Fix introspection tests (#399)
I enabled CloudKit earlier, but that framework was not updated and the
tests did not run on watchOS.

Now the tests are enabled (and fails PR) so this is a minimal fix to
get PR green again. CloudKit still needs to be updated for the new SDK.

Note: headers often mention 2.0 and 2.2 for API but the framework was
not available before 3.0. Some information might not be trustworthy.
2016-07-14 16:17:41 -04:00
Alex Soto 059f5000ea Merge pull request #384 from dalexsoto/intents
[Intents] Add Intents framework from Xcode 8 beta2
2016-07-14 14:53:04 -05:00
Chris Hamons 8a6a464b4c Appkit for Xcode Beta 2 (#392) 2016-07-14 15:38:00 -04:00
Rolf Bjarne Kvinge 724308cb0d [registrar] Forward-declare ObjC classes. Fixes #42454. (#395)
There can be circular dependencies between Objective-C classes,
so make sure we don't fail compilation when that occurs by
forward declaring any Objective-C classes/protocols.

The test case in question does not contain a circular dependency,
but the same issue occurs due to types not being generated in the
correct order (a correct order could be constructed for the test
case, but there's no general solution since circular dependencies
can exist).

https://bugzilla.xamarin.com/show_bug.cgi?id=42454
2016-07-14 15:28:57 -04:00
Rolf Bjarne Kvinge ddfad1bc88 [registrar] Use the correct parameters when generating category methods. Fixes #42489. (#396)
Category methods are exposed like extension methods, and the first parameter
specifies the class, which means we need to skip the first type when generating
the ObjC signature.

https://bugzilla.xamarin.com/show_bug.cgi?id=42489
2016-07-14 18:42:30 +02:00
Rolf Bjarne Kvinge e6fc5a15d0 [runtime] Parse unions in objc encodings correctly. Fixes #42452. (#394)
Unions are defined as follows:

    (name=type...)

and we were not correctly parsing the 'name=' part.

https://bugzilla.xamarin.com/show_bug.cgi?id=42452
2016-07-14 18:03:02 +02:00
Marek Safar e95841dfe2 Merge pull request #390 from marek-safar/cycle8
Bump mono for netstandard 1.6 updates
2016-07-14 16:29:40 +02:00
Marek Safar a48b3001ab [build] Update facades script to include correct names 2016-07-14 14:54:23 +02:00
Vincent Dondain 23386a9217 [mediaplayer] Update for iOS 10 beta 1 - Part 1 (#386)
- Includes tests.
- Add availability flags.
- Turn new fields into properties.
- Verify bindings on iOS 9.3.
- Added protection in MPNowPlayingInfoCenter if native fields
  are not available (depending on the iOS version).
2016-07-14 08:45:30 -04:00
Marek Safar c95b256d8d Bump mono for netstandard 1.6 updates 2016-07-14 14:09:12 +02:00
Alex Soto aef1775532 [Intents] Add Intents bindings from Xcode 8 b2 2016-07-14 04:02:12 -05:00
Alex Soto 15ff32ce38 [generator] Fixes Trampolines generation code for generic types
We generated invalid trampolines code when using generics

//
// This class bridges native block invocations that call into C#
//
static internal class SDActionArity1V36 {
	static internal readonly DActionArity1V36 Handler = Invoke;

	[MonoPInvokeCallback (typeof (DActionArity1V36))]
	static unsafe void Invoke (IntPtr block, IntPtr obj) {
		var descriptor = (BlockLiteral *) block;
		var del = (global::System.Action<global::Intents.INIntentResolutionResult<global::Intents.INRestaurantGuest>>) (descriptor->Target);
		if (del != null)
**BAD ->		del ( Runtime.GetNSObject<Intents.INIntentResolutionResult`1[[Intents.INRestaurantGuest, temp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]> (obj));
	}
} /* class SDActionArity1V36 */

We now generate the right thing

//
// This class bridges native block invocations that call into C#
//
static internal class SDActionArity1V36 {
	static internal readonly DActionArity1V36 Handler = Invoke;

	[MonoPInvokeCallback (typeof (DActionArity1V36))]
	static unsafe void Invoke (IntPtr block, IntPtr obj) {
		var descriptor = (BlockLiteral *) block;
		var del = (global::System.Action<global::Intents.INIntentResolutionResult<global::Intents.INRestaurantGuest>>) (descriptor->Target);
		if (del != null)
**OK ->			del ( Runtime.GetNSObject<global::Intents.INIntentResolutionResult<global::Intents.INRestaurantGuest>> (obj));
	}
} /* class SDActionArity1V36 */
2016-07-13 22:27:38 -05:00
Sebastien Pouliot f085b17b36 [tests] Add missing version check on AUViewController tests. Fixes #42440 (#393)
Type was introduced in iOS 9, so it fails on earlier versions.

https://bugzilla.xamarin.com/show_bug.cgi?id=42440
2016-07-13 23:10:35 -04:00
Sebastien Pouliot cf27c2e7a8 Merge branch 'cycle8' into xcode8 2016-07-13 16:43:00 -04:00