Rolf Bjarne Kvinge
d23c146e84
[mk] Make sure we're on the right hash after cloning maccore. ( #108 )
...
This fixes the following problem:
* xamarin-macios is cloned
* xamarin mode is enabled
* make world is executed
* The maccore repo will be cloned immediately
* make reset-versions will be executed, which will reset the maccore version.
If this brings a new version of maccore, maccore dependencies might be
out of date.
* make all will be executed, which may fail because some dependencies
are out of date.
2016-05-31 18:51:32 +02:00
Jeffrey Stedfast
f59d1195e5
[msbuild] Fixed up MmpTaskBase
2016-05-31 11:59:18 -04:00
Jeffrey Stedfast
582101a996
Macios symbolicate ( #74 )
2016-05-31 11:57:47 -04:00
Rolf Bjarne Kvinge
ef43763241
[mk] Don't use sub-make to clone maccore. ( #107 )
...
It ends up in an infinite loop of submakes.
2016-05-31 16:29:15 +02:00
Rolf Bjarne Kvinge
bbf2682b5a
[tests] Fix a few paths to test files. ( #106 )
...
This was incorrectly fixed in 4ad86833
, so this is just fixing that fix.
2016-05-31 15:03:45 +02:00
Rolf Bjarne Kvinge
c5ef10a221
[msbuild] Provide better info when a test fails due to unexpected build failures in the test. ( #105 )
2016-05-31 12:58:11 +02:00
Rolf Bjarne Kvinge
db68e69a1d
[runtime] Support binding NSObjects as IntPtr. Fixes #41132 . ( #103 )
...
Support binding NSObjects as IntPtr. This is usually not
a problem, because when we fetch the ObjC signature for a
method, we usually get the signature as exported by us,
(in which case a parameter bound as 'IntPtr' would be treated
as 'void *' in the dynamic registrar) *except* when the
selector corresponds with a protocol the type implements,
in which case we get the signature as defined in the protocol.
https://bugzilla.xamarin.com/show_bug.cgi?id=41132
2016-05-31 11:58:27 +02:00
Rolf Bjarne Kvinge
9454ac7015
[mk] Don't use a stamp file to detect if maccore has been cloned. ( #102 )
...
Instead check if the maccore directory exists.
This prevents an issue where if the stamp file did not exist and
the maccore directory did, we'd reset the maccore directory even
for make targets that shouldn't change anything (such as 'check-versions').
2016-05-31 11:09:52 +02:00
Rolf Bjarne Kvinge
55dfad1351
[msbuild] Define __TVOS__, not __IOS__ for tvOS projects. ( #101 )
2016-05-31 10:33:59 +02:00
Zoltan Varga
ca3f7c4334
Bump mono to 48e3e32add94dc83ed9a3dbf668217a079e7d3e0.
2016-05-30 23:16:25 -04:00
Zoltan Varga
e3b219bc71
[builds] Disable the building of libmono-profiler-log.dylib on tvos as well.
2016-05-30 19:50:41 -04:00
Zoltan Varga
423da3e2f3
Bump mono to mono-4.5.1-branch.
2016-05-30 18:29:24 -04:00
Rolf Bjarne Kvinge
c9bcf1f56d
[runtime] Mark all the new Mono API we're using for coop as optional. ( #100 )
...
This fixes Xamarin.Mac apps using older system monos.
2016-05-30 15:27:02 +02:00
Chris Hamons
f3602b4e93
Fix tests broke by 47dc0f26c9
( #99 )
2016-05-28 12:06:32 -04:00
Zoltan Varga
7fad8dfb40
[tests] Build the bitcode configuration on arm64 only, armv7 doesn't seem to link:
...
Undefined symbols for architecture armv7:
"___gxx_personality_v0", referenced from:
2016-05-27 21:54:49 -04:00
Zoltan Varga
ff8525e37e
Emit configure arguments into configure.inc to make it easier to re-run it.
2016-05-27 15:37:21 -04:00
Timothy Risi
9a59f9804b
[Mac] fix dontlink and apitests ( #98 )
2016-05-27 19:41:29 +02:00
Rolf Bjarne Kvinge
3ab8d24268
Merge pull request #92 from rolfbjarne/test-import
...
Import tests.
2016-05-27 19:39:25 +02:00
Rolf Bjarne Kvinge
4918be4c56
Bump maccore to get fix for #40933 . ( #97 )
...
https://bugzilla.xamarin.com/show_bug.cgi?id=40933
2016-05-27 19:17:04 +02:00
Rolf Bjarne Kvinge
d86d0597e1
Bump mono to get fix for cloning repositories anonymously. ( #96 )
2016-05-27 18:29:37 +02:00
Rolf Bjarne Kvinge
27402f8142
[builds] Avoid looking for libmono-profiler-log.dylib when bitcode is enabled, its not built anymore on mono master. ( #95 )
2016-05-27 17:46:06 +02:00
Rolf Bjarne Kvinge
9c88937811
Merge pull request #94 from rolfbjarne/coop
...
Add support for the GC in cooperative mode.
2016-05-27 16:41:49 +02:00
Rolf Bjarne Kvinge
73d0e722d5
[tests] Add more files which are ignored by default.
2016-05-27 14:43:21 +02:00
Rolf Bjarne Kvinge
0b24bc0b8d
[runtime] Fix boolean logic for thread attach/detach implementation.
2016-05-27 10:35:05 +02:00
Rolf Bjarne Kvinge
0629b461c6
[tests] Remove duplicated file.
2016-05-27 10:19:27 +02:00
Rolf Bjarne Kvinge
4ad86833ab
[tests] Update a few paths after test move.
2016-05-27 10:17:26 +02:00
Rolf Bjarne Kvinge
ba3c967619
[tests] Fix paths for mtouch tests.
2016-05-27 10:14:43 +02:00
Rolf Bjarne Kvinge
80e0ef0b50
[tests] Only generate qa-test-dependencies when the Xamarin build is enabled.
2016-05-27 10:14:28 +02:00
Rolf Bjarne Kvinge
5034fa5b68
[link sdk] Add missing file.
2016-05-27 10:01:12 +02:00
Rolf Bjarne Kvinge
82bbac0ae1
[docs] Fix wrench-docs.
2016-05-27 09:56:48 +02:00
Rolf Bjarne Kvinge
489017576a
Merge pull request #93 from joj/master
...
Add Windows support for building Xamarin.Mac
2016-05-26 18:54:36 +02:00
joj
dea10d50b3
Renamed TaskBase class files to *TaskBase; Fixed Mac reference
2016-05-26 13:06:39 -03:00
Rolf Bjarne Kvinge
e1464027f2
[runtime] Make new functions optional so that they don't hang XM apps using system mono at launch.
2016-05-26 17:47:44 +02:00
Rolf Bjarne Kvinge
5054c1ee45
[runtime] Update thread attach/detach according to mono changes.
...
* Restore the mono_jit_thread_attach signature to how it's in
the latest stable.
* Don't use the new attach/detach methods when using the dynamic
mono runtime, since the methods aren't available in any released
version of mono. Also XM doesn't support coop yet, so it's not
needed.
* And finally don't use the new attach/detach methods for anything
that isn't building using mono/master (iow only watchOS). This
should be changed once the rest of the products starts using
mono/master again.
2016-05-26 17:47:44 +02:00
Rolf Bjarne Kvinge
00f39e4390
[mtouch] Force min deployment target to 9.0 when enabling bitcode.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
7759aa579c
[src] Add a Release-bitcode configuration to project files.
2016-05-26 17:47:10 +02:00
Zoltan Varga
5270b63cee
[runtime] Use the same coop gc macro names as mono master does.
2016-05-26 17:47:10 +02:00
Zoltan Varga
88dd823e40
Add a --enable-bitcode-on-ios configure option to enable bitcode support in the ios/tvos runtimes.
2016-05-26 17:47:10 +02:00
Zoltan Varga
bcf86f4ff2
[mtouch] Link non-bitcode ios apps with -lc++ if ENABLE_BITCODE_ON_IOS is set, since the mono libs require it.
2016-05-26 17:47:10 +02:00
Zoltan Varga
8b59d42144
Make the sdb send/receive functions run in gc safe mode.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
13b7c6dd11
[runtime] Make sure to switch to GC SAFE before calling xamarin_switch_gchandle.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
ac8d493581
[runtime] Attach the current thread in xamarin_invoke_trampoline.
...
It's entirely possible to call xamarin_invoke_trampoline on a
thread we've never heard about before.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
4a5ce42b48
[runtime] Add a MONO_ASSERT_GC_SAFE_OR_DETACHED.
...
Since MONO_ASSERT_GC_SAFE asserts when executed on a detached thread,
and yet it's clearly safe for the GC to run when a thread is detached.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
d7bdc5d126
[runtime] mono_set_pending_exception expects to be in GC Unsafe mode.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
af0d01c93a
Initial review pass for COOP for watchOS.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
16824dd40f
[builds] Enable checked builds for watchOS for now, to make it easier to track down failures.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
ac5ff5e321
[runtime] Replace xamarin_try_get_nsobject with xamarin_has_nsobject.
...
Removes one usage of ObjectWrapper, since we don't actually need
the return value, we just need to know if an object exists.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
fc0f656a53
[runtime] Make xamarin_[create|release]_managed_ref icalls.
...
This way we can pass pointers to managed objects to the native objects
without the coop GC interfering (since icalls won't automatically
switch to "gc safe" mode).
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
297b6a24f3
[runtime] Ignore SIGPIPE for watchOS.
...
Usually mono does this for other apps, but not for watchOS (where mono doesn't
use signals at all).
watchOS can still raise signals though, so we need to ignore at least SIGPIPE.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge
314ec50e23
[tests] Add missing file.
2016-05-26 17:42:40 +02:00