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

3987 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 2f2ac89da7 [mtouch] Remove misleading comment.
mtouch calculates the exact set of native functions to reference now,
so there's no need to sync anything.
2016-05-17 11:24:04 +02:00
Rolf Bjarne Kvinge 62cbe7e1f6 [mtouch] Fix logic to detect if simlauncher can be used. 2016-05-17 11:24:04 +02:00
Rolf Bjarne Kvinge f631069bbd [mmp] Only 64-bit apps have the dynamic objc_msgSend wrappers. 2016-05-17 11:24:04 +02:00
Rolf Bjarne Kvinge 1f1f6991a3 Implement support for exception marshalling. 2016-05-17 11:23:48 +02:00
Rolf Bjarne Kvinge 86c73f8fc0 Refactor static registrar to produce both a header and a source file.
This way we can re-use the header in other files.
2016-05-17 11:23:47 +02:00
Rolf Bjarne Kvinge 3903e01076 [mmp/mtouch] Add a Driver.WriteIfDifferent overload that takes a byte array. 2016-05-17 11:20:26 +02:00
Rolf Bjarne Kvinge 9b4f7532ab Add runtime variable to specify the exception marshalling modes, and mmp/mtouch options to select it. 2016-05-17 11:20:26 +02:00
Rolf Bjarne Kvinge b8abf3db01 Add runtime variable to specify if the Coop GC should be used, and a mmp/mtouch option to select it.
The mmp/mtouch option is hidden for now, since it's not actually possible
to select the Coop GC yet.
2016-05-17 11:20:26 +02:00
Sebastien Pouliot 61b3006b84 [mtouch] Fix --sdkroot not to report a default to /Developer/. Fixes part of #41083
Also bump maccore so `mlaunch` behave like `mtouch` wrt --sdkroot

https://bugzilla.xamarin.com/show_bug.cgi?id=41083
2016-05-14 11:11:40 -04:00
Sebastien Pouliot 448a3cf1d6 [mtouch] Look where XS 6.1+ has installed mlaunch. Fixes part of #41083
The initial location was incorrectly guessed (before XS added it).

$ mtouch --launchsim tests//monotouch-test/bin/iPhoneSimulator/Debug/monotouchtest.app --sdkroot /Applications/Xcode73.app/Contents/Developer/
error MT0092: Could not find 'mlaunch'.

https://bugzilla.xamarin.com/show_bug.cgi?id=41083
2016-05-13 16:29:41 -04:00
Rolf Bjarne Kvinge 0d376c521a [mtouch] Properly link with CoreAudioKit when not using simlauncher. (#49)
Also bump maccore to get new test.

commit xamarin/maccore@eb9c34d875
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Fri May 13 12:46:04 2016 +0200

    [monotouch-test] Add test to ensure mtouch properly links with CoreAudioKit when not using simlauncher.
2016-05-13 08:23:49 -04:00
Rolf Bjarne Kvinge 0e7952053c [mmp] References are optional when not linking the app, so don't show errors in that case. Fixes #40786. (#40)
It is apparently common to have references to assemblies that can't
be resolved when building apps with the linker disabled, so we need
to support that.

So add a custom reference loading step that only shows a warning
for unresolvable assemblies.

Also bump maccore to add a test.

commit xamarin/maccore@190c67d855
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Tue May 10 18:14:04 2016 +0200

    [tests] Add test case for bug #40786.

    https://bugzilla.xamarin.com/show_bug.cgi?id=40786

https://bugzilla.xamarin.com/show_bug.cgi?id=40786
2016-05-11 10:16:30 -04:00
Rolf Bjarne Kvinge cf4fcbf3c5 [mmp] Implement support for finding the local XamMac prefix when running from Xamarin Studio. (#37)
Traverse directories to find the locally build XamMac directory
when DEBUG is defined (which is only defined in the csproj, which
is only built when running from Xamarin Studio, since the mmp we
ship is built manually in the Makefile).
2016-05-10 14:38:16 -04:00
Zoltan Varga 89154c1b66 [mtouch] Add armv7k+llvm configuration for bitcode on watchos. 2016-05-09 21:03:32 -04:00
Manuel de la Pena 5095ae5d97 [Fix] Ensure we do remove the bin directory when we do a make clean. 2016-05-05 12:16:38 +02:00
Chris Hamons ada548abcb Fix mmp script to use MAC_TARGETDIR so it works when installed from packages (#23)
- Now matches mtouch
- https://bugzilla.xamarin.com/show_bug.cgi?id=40837
2016-05-03 18:04:04 -04:00
Rolf Bjarne Kvinge 5c9c058dde Add Xamarin.iOS solution file. (#11) 2016-04-27 15:36:08 -04:00
Rolf Bjarne Kvinge 57c9885ff6 [mtouch] Fix issue where we'd incorrectly compute the target executable name. (#10)
When reading a plist using NSDictionary, getting a value for a key
that doesn't exist returns null.

This changed when we switched to using our own managed plist reader,
which returns an empty string if a key doesn't exist.

Unfortunately we have code that checks if CFBundleExecutable is null,
in which case we compute the executable name using the executable
assembly, but since we started getting an empty string for
CFBundleExecutable if the key wasn't available, we now ended up wanting
to create an executable named as an empty string.

This broke our bug-13945 test case.

The fix is to continue returning null if the plist key isn't present.
2016-04-27 15:35:21 -04:00
Sebastien Pouliot 2edb2ae4f5 [linker] Fix debugging of watchOS apps when link all is used. Fixes #40641 (#3)
Watch apps are inside .dll (not .exe) and needs to be processed
differently (e.g. to register their content). The issue was that the
debugging symbols were not loaded by that code so it was not part of
the .appex for debugging.

https://bugzilla.xamarin.com/show_bug.cgi?id=40641
2016-04-26 19:01:49 -04:00
Vincent Dondain 2145c468a0 [msbuild] Add tvOS AppExtension targets 2016-04-26 10:19:54 -04:00
Rolf Bjarne Kvinge fec5655dfe [mtouch/mmp] Use full path to mono. 2016-04-26 08:11:12 -04:00
Rolf Bjarne Kvinge 804dfc6343 [mtouch/runtime] Implement support for tvOS extensions. 2016-04-25 18:15:02 -04:00
Rolf Bjarne Kvinge 00a855f2b1 [mtouch] Fix building the static registrar files. 2016-04-25 18:15:02 -04:00
Rolf Bjarne Kvinge d4548852b2 [mmp] Fix looking up the XamMac prefix based on the mmp path. 2016-04-25 18:15:00 -04:00
Rolf Bjarne Kvinge 4dc4580129 [mtouch] Cleanup project file a bit. 2016-04-25 18:14:59 -04:00
Rolf Bjarne Kvinge 822adc3966 [mmp] Cleanup project file a bit. 2016-04-25 18:14:58 -04:00
Rolf Bjarne Kvinge 30f0530c6a Remove unused files. 2016-04-25 18:14:58 -04:00
Rolf Bjarne Kvinge 54a503eb00 [mtouch] Fix dependencies before building the partial registrar code. 2016-04-25 18:14:57 -04:00
Rolf Bjarne Kvinge 56308e7eb6 [mmp/mtouch] Don't mkbundle anymore.
mtouch only uses Xamarin.Mac to read plists, so change to use
our purely managed plist reader in Xamarin.MacDev instead.

That makes us able to change mtouch to be a normal command-line
executable (and project).

Which makes it logical to not mkbundle mtouch anymore,
it executes just fine with the system mono (and there's
no code to protect anymore either).

And since mmp and mtouch share some files, do the same
for mmp.
2016-04-25 18:14:56 -04:00
Rolf Bjarne Kvinge c09ea1213d [mmp] Use the system monolinker.
Makes the mmp build a little bit simpler (and faster).
2016-04-25 18:14:56 -04:00
Rolf Bjarne Kvinge 8f108ef746 [tools/apidiff] Fix typo in README. 2016-04-24 15:59:43 -04:00
Rolf Bjarne Kvinge cb54598c11 Add apidiff tool. 2016-04-24 14:47:29 -04:00
Rolf Bjarne Kvinge 4b38b09468 Install source code. 2016-04-24 14:47:27 -04:00
Rolf Bjarne Kvinge 50a8af84db Add mtouch to the build. 2016-04-24 14:47:27 -04:00
Rolf Bjarne Kvinge 82ab3fc106 Build mmp. 2016-04-24 14:47:26 -04:00
Rolf Bjarne Kvinge 5830166c63 Build the platform assemblies. 2016-04-24 14:47:26 -04:00
Rolf Bjarne Kvinge ac418df815 Build our runtime. 2016-04-24 14:47:24 -04:00