iain
e1505be111
XM] Add NSAccessibilityElement as a class ( #171 )
...
Add NSAccessibilityElement as a class and rename the NSAccessibilityElement protocol to NSAccessibilityElementProtocol to match Swift
2016-06-13 11:00:21 -04:00
Manuel de la Pena
90c7eab95e
[Fix] Ensure that strong dictionaries can work with templated dictionaries as property types.
2016-06-13 12:13:48 +02:00
Daniel Cazzulino
9642dd9be0
Provide .editorconfig support for easier contributor formatting
...
Scoped to the msbuild folder for now which has consistent C# and
MSBuild formatting. The rest of the repo seems to be using different
formatting, so I didn't want to have to decide one way or the other.
2016-06-13 00:43:37 -03:00
Sebastien Pouliot
d479ed00c7
[tests][link sdk] Add tests to validate default properties for all (3) handlers that we ship ( #177 )
2016-06-12 13:44:37 -04:00
Sebastien Pouliot
6ea42d2196
Bump mono to include System.Net.Http fix for CFNetworkHandler.CookieContainer ( #176 )
...
reference:
https://github.com/mono/mono/pull/3141
2016-06-12 03:29:50 -04:00
Aleksey Kliger (λgeek)
8474a21176
[runtime] Add MonoMethodMessage::InitMessage to linker descriptors ( #172 )
...
It's called from the runtime mono_message_init method since
Mono commit 83f37161192b7735ffd04a4235253d790eefff99
2016-06-10 13:21:19 -04:00
Alex Soto
69740e78ed
[AudioUnit] Fix some breaking changes ( #173 )
...
commit 1f207bd3f3df363cb5a74e59b93acd8eb6e1fec2 in xamarin/maccore
introduced some breaking changes, this fixes them
2016-06-10 13:20:33 -04:00
joj
28bb84d62b
Added missing SessionId to CreateInstallerPackage ( #170 )
...
* [build] Moved CreateInstallerPackage to Core
* [build] Converted CreateInstallerPackage into a base with SessionId
2016-06-10 11:32:41 -04:00
Alexander Köplinger
654597c172
Bump mono to e3da710362c196a54ed344567dc29481a8d98312 ( #169 )
...
Get in the latest fixes from mono-4.5.1-branch
2016-06-10 15:30:00 +02:00
Timothy Risi
14a7ba1c2e
[Mac] Fix notificationcenter.cs warnings ( #166 )
2016-06-10 10:06:13 +02:00
Daniel Cazzulino
fbf06ee933
[msbuild] Redefine the Exec task to prepare for remote execution from VS ( #164 )
...
Like the Copy/Delete/MakeDir/RemoveDir/Touch tasks, we need to override
this one so we can allow customer targets to also execute Mac tools
remotely when building from Windows, bringing parity to the build
customizations allowed on XS/xbuild since they build locally and Exec
"just works" there of course.
2016-06-10 10:02:53 +02:00
Oleg Demchenko
1e7fa12f89
[AudioToolbox] Add missing MusicSequence.SetUserCallback method ( #48 )
...
* [AudioToolbox] Add missing MusicSequence.SetUserCallback method
* [AudioToolbox] MusicEventUserData internal .ctor refactoring
* [AudioToolbox] Correct callbacks storage
* [AudioToolbox] Remove deprecated checks and fix code style issues
2016-06-09 16:33:45 -04:00
Rolf Bjarne Kvinge
8af0326105
[xharness] Clean targets are named 'Clean', not 'clean'. ( #162 )
...
At least according to mdtool.
Fixes this:
[...]
Target 'clean not supported
make[4]: *** [clean-mac-classic-introspection] Error 1
2016-06-09 14:23:58 -04:00
Rolf Bjarne Kvinge
bf806525f6
[monotouch-test] Simplify test case to make it compile on all platforms. ( #163 )
2016-06-09 20:03:18 +02:00
Manuel de la Pena
ef70fd48b5
[foundation] Reduce the API changes while adding the new valid methods. ( #161 )
2016-06-09 13:00:09 -04:00
Rolf Bjarne Kvinge
386c15c503
Merge pull request #153 from rolfbjarne/more-exceptions
...
Handle any exceptions when returning from managed code back to our native runtime.
2016-06-09 18:13:23 +02:00
Rolf Bjarne Kvinge
e3cc7c31bc
[xharness] Write relative paths in the makefiles. ( #160 )
...
Fixes the packaged mac tests when they're executed on a different
machine with a different path.
2016-06-09 17:36:32 +02:00
Rolf Bjarne Kvinge
fac7270eb8
[registrar] Rewrite ctor's super call to invoke objc_msgSendSuper directly. Fixes #41319 . ( #159 )
...
There's a clang bug [2] where if a selector is marked as unavailable,
it's marked as unavailable for every class, not just the class where
the unavailable selector is.
This means that we can't do `[super initWithCoder:x]` anywhere,
because `initWithCoder:` is marked as unavailable for UIActivityViewController.
So instead rewrite the call to super to call objc_msgSendSuper
directly, circumventing clang's broken availability checks.
[1] https://bugzilla.xamarin.com/show_bug.cgi?id=41319
[2] https://llvm.org/bugs/show_bug.cgi?id=28058
2016-06-09 17:18:35 +02:00
Sebastien Pouliot
8fe3df96b1
Bump ModernHttpClient to set AllowAutoRedirect to true when building inside Xamarin's SDK ( #158 )
...
This aligns the handler with the managed and CFNetwork-based ones
and makes it easier to switch between them without additional or
conditional code.
2016-06-09 09:29:02 -04:00
Rolf Bjarne Kvinge
b213ddd6c3
[registrar] Fix the old static registrar according to internal signature changes.
2016-06-09 13:18:45 +02:00
Rolf Bjarne Kvinge
d8287824e0
[mtouch tests] Fix MT1015 after mtouch change to not use fastsim for release builds. ( #157 )
...
MT1015 is a check that only occurs when using fastsim, so make sure
the test actually ends up using fastsim.
2016-06-09 13:03:14 +02:00
Sebastien Pouliot
5fd35014c1
[tests][introspection] Re-apply special case from 05bedce306
( #156 )
...
[FAIL] Selector not found for AppKit.NSCell : accessibilityNotifiesWhenDestroyed
[FAIL] Selector not found for AppKit.NSView : accessibilityNotifiesWhenDestroyed
Location changed and the duplicated files were removed (but I missed this
change on dontlink-mac)
2016-06-09 11:06:54 +02:00
Rolf Bjarne Kvinge
b78e29d85d
Bump mono to get fix for watchOS corlib tests. ( #155 )
...
commit mono/mono@5ac529a182
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date: Wed Jun 8 23:01:22 2016 +0200
[corlib] Fix tests for watchOS. (#3130 )
2016-06-08 20:42:56 -04:00
Chris Hamons
b7a797b068
[XM] Dynamically look up NSExtensionMain to unbreak pre-10.10 XM apps ( #154 )
...
* [XM] Dynamically look up NSExtensionMain to unbreak pre-10.10 XM apps
- So having a simple reference to NSExtensionMain is enough for /usr/lib/libextension.dylib to get added as a reference to libxammac.dylib
- If you have a reference to /usr/lib/libextension.dylib then any XM app (including our tests) bomb out on startup. This is suboptimal.
- So dlopen/dysm our way to victory.
* Fix spacing
2016-06-09 00:19:16 +02:00
Rolf Bjarne Kvinge
9c01fe6c9d
[tests] Use the right sources for dontlink, linksdk and linkall tests. ( #152 )
2016-06-08 23:39:47 +02:00
Martin Baulig
fe396d6d08
[AppleTls]: Correctly handle large read/write sizes. Fixes #41206 .
...
* On write, the inner write must always accept and queue all the
data that it receives from SSLWrite().
* On read, SSLRead() may return a non-zero amount of data and
'SslStatus.WouldBlock'. We need to treat this as a successful
read and return to the user.
2016-06-08 22:57:36 +02:00
Rolf Bjarne Kvinge
b9629ac8ba
[runtime] Improve documentation about exceptions a little bit.
2016-06-08 20:11:07 +02:00
Rolf Bjarne Kvinge
2d28e24837
[runtime] Handle any exceptions whenever we return from managed code.
2016-06-08 20:05:54 +02:00
Rolf Bjarne Kvinge
5e302f9719
[runtime] Catch and process managed exceptions that are thrown in reverse P/Invoke (delegate) callbacks.
2016-06-08 20:05:54 +02:00
Rolf Bjarne Kvinge
e450dae136
[xharness] Add support for the introspection tests. ( #151 )
...
* [xharness] Add support for the introspection tests.
* [tests] Add support for mac introspection tests to xharness.
2016-06-08 19:45:31 +02:00
Chris Hamons
06c18bd887
[XM] Add release value option to msbuild/mmp to resolve XM 4.5 assemb… ( #150 )
...
[XM] Add release value option to msbuild/mmp to resolve XM 4.5 assemblies from system GAC
- This option "reverts" a C7 fix that prevented resovling assemblies from the GAC, which is unsafe
- If you use this option, you need to know what you are doing. The mono BCL and the XM BCL need to be compatible
- Use strictly puts you in the no support "you get to keep the pieces if it breaks" category.
2016-06-08 12:47:09 -04:00
Rolf Bjarne Kvinge
ca729b9773
[mtouch tests] Add Xamarin.Analysis.Tasks.dll as a valid assembly to have in the Classic BCL directory. ( #146 )
2016-06-08 17:47:09 +02:00
Rolf Bjarne Kvinge
e9983ef148
[mtouch tests] Fix typo in RegistrarTest. ( #147 )
2016-06-08 16:57:40 +02:00
Rolf Bjarne Kvinge
98af8b7d66
[mtouch tests] Make a few simulator tests more resilient against other output from mlaunch. ( #148 )
2016-06-08 16:19:56 +02:00
Chris Hamons
05bedce306
[XM] Fix dontlink by fixing some NSAccessibility binding mistakes ( #143 )
...
[XM] Fix dontlink by fixing some NSAccessibility binding mistakes
2016-06-08 09:51:19 -04:00
Timothy Risi
ca094772fc
Bind FIFinderSync correctly (has both class and protocol with same name) ( #145 )
2016-06-08 14:03:53 +02:00
Sebastien Pouliot
ef65ca51be
[gamekit] Fix breaking change in GKLocalPlayerListener for classic ( #144 )
...
reference: apidiff
Namespace MonoTouch.GameKit
Type Changed: MonoTouch.GameKit.GKLocalPlayerListener
Removed method:
public virtual void DidRequestMatchWithPlayers (GKPlayer player, string[] playerIDsToInvite);
2016-06-07 20:25:04 -04:00
Sebastien Pouliot
fcd270cc37
[apidiff] Update references definition to C7 stable (XI 9.8 / XM 2.8) ( #142 )
...
Newer apidiff from master will compare to C7 (instead of C6)
2016-06-07 17:04:37 -04:00
Rolf Bjarne Kvinge
0a19b5e3fc
[tests] Fix mac tests package layout after tests move. ( #141 )
2016-06-07 13:35:12 -04:00
Rolf Bjarne Kvinge
a0a1288143
Bump Xamarin Studio version to a build that contains mlaunch. ( #140 )
2016-06-07 14:22:07 +02:00
Zoltan Varga
46dccaf7bc
[builds] Don't pass --disable-shared-handles to mono's configure, its the default. Avoid some duplicate configure options.
2016-06-07 01:37:51 -04:00
Zoltan Varga
d2300a17b2
[builds] Don't pass --enable-gsharedvt and --enable-native-types to mono's configure, they are enabled by default.
2016-06-07 01:35:58 -04:00
Zoltan Varga
fdd4f9cfb5
Bump mono to fix the build.
2016-06-06 16:50:37 -04:00
joj
a063725298
Added MtouchTargetsEnabled property to build ( #139 )
2016-06-06 15:30:34 -04:00
Zoltan Varga
24bd707bb4
Bump mono to 726c4a3f18e209096db67e89dfe650e9592ef099.
2016-06-06 13:29:42 -04:00
Rolf Bjarne Kvinge
d28f42babd
Only recurse into tests once everything else is done. ( #136 )
2016-06-06 17:13:52 +02:00
Alexander Köplinger
86ce3d9e81
Add DISABLE_CAS_USE constant to the bcl-test .csproj's ( #135 )
...
Some tests rely on this constant to disable CAS code paths so we need to define it.
2016-06-06 16:03:39 +02:00
Rolf Bjarne Kvinge
aaae585d52
[xharness] Xcode 7.3 ships symbolicatecrash in a new place, so look there as well. ( #134 )
2016-06-06 15:32:09 +02:00
Rolf Bjarne Kvinge
f0319ac6ae
Add bindings-generator.csproj to Xamarin.iOS.sln ( #132 )
2016-06-06 15:01:28 +02:00
Rolf Bjarne Kvinge
71f4d78b18
[runtime] Generated binding wrappers that catch ObjC exceptions are supposed to always convert to managed exceptions. ( #133 )
2016-06-06 14:33:37 +02:00