Rolf Bjarne Kvinge
548ff02ed5
[mtouch] When in embeddinator mode the global gcc flags apply to the framework we create.
2017-04-18 11:36:28 +02:00
Rolf Bjarne Kvinge
08ba65ce67
[mtouch] Don't try to lipo the main executable in embeddinator mode.
...
Don't try to lipo the main executable in embeddinator mode, because there
isn't a main executable.
2017-04-18 11:36:28 +02:00
Rolf Bjarne Kvinge
ca3fc72d38
[mtouch] When in embeddinator mode, create the NOTICE in the framework instead of the app.
2017-04-18 11:36:27 +02:00
Rolf Bjarne Kvinge
4c2419f993
[mtouch] When in embeddinator mode, libxamarin and libmono are linked statically into the target framework.
2017-04-18 11:36:27 +02:00
Rolf Bjarne Kvinge
d1ebaa94db
[mtouch] Add an embeddinator mode.
2017-04-18 11:36:27 +02:00
Rolf Bjarne Kvinge
392deaca30
[mtouch] Refactor NOTICE writing a little bit to make it possible to write NOTICE to any directory.
2017-04-18 11:36:27 +02:00
Rolf Bjarne Kvinge
098b24d99e
[mtouch] Set linker flags required by libxamarin when linking with libxamarin.
2017-04-18 11:36:26 +02:00
Rolf Bjarne Kvinge
a3e066738c
[mtouch] Set linker flags required by libmono when linking with libmono.
2017-04-18 11:36:26 +02:00
Rolf Bjarne Kvinge
1afae37c7f
[runtime] Add support for initializing in an embedder mode.
2017-04-18 11:13:42 +02:00
Rolf Bjarne Kvinge
38960a5b9a
[mtouch] Add support for multiple root assemblies from the command line.
2017-04-18 11:13:41 +02:00
Rolf Bjarne Kvinge
2eb1ce4616
[mtouch/mmp] When gathering frameworks, gather into the product assembly's frameworks.
...
When gathering frameworks, gather into the product assembly's frameworks, not
the global frameworks.
This is necessary when building a non-linked dylib/framework in embeddor mode,
because we link the registrar code into the framework, and that code will
require linking with all the frameworks all the assemblies require.
2017-04-18 11:13:21 +02:00
Zoltan Varga
3334846365
[tests] Fix the test target names in bcl-test/Make.frag. Not used.
2017-04-18 00:03:22 -04:00
Rolf Bjarne Kvinge
6b9e61eebc
[runtime] Make xamarin_open_assembly public and stable. ( #2011 )
...
This is needed for Embeddinator-4000.
2017-04-17 18:38:52 +02:00
Rolf Bjarne Kvinge
1c67a84d90
[runtime] Make headers safe for compiling C code. ( #2010 )
2017-04-17 18:12:37 +02:00
Sebastien Pouliot
d9fc5cf837
[mtouch] Update code that only considered .mdb (not .pdb) ( #2003 )
...
Also stop using `mdb` as the name for debug symbols and remove
> static MdbReader mdb_reader;
since we're not mkbundl'ing mtouch anymore.
Related to https://github.com/xamarin/xamarin-macios/pull/2002 for mmp
2017-04-17 12:48:35 +02:00
Sebastien Pouliot
e1bd566a1f
Bump mono for AppleTLS/keychain fix ( #2009 )
...
* Bump mono for AppleTLS/keychain fix
* Bump again to ensure new API that does not exists on iOS are not part of the XI build
2017-04-16 11:10:18 -04:00
Chris Hamons
521bdf3691
Fix bird typo in mmp args ( #2006 )
2017-04-14 10:53:27 -05:00
Chris Hamons
7d252a5353
[macos] Refactor framework skipping logic in mmp ( #2005 )
...
- Fixup comment in https://github.com/xamarin/xamarin-macios/pull/1968 that was missed
2017-04-14 10:45:14 -05:00
Marek Safar
cfe7240789
Disable desktop assemblies references
2017-04-14 09:11:01 +02:00
Marek Safar
4e94334487
Update debug symbols names
2017-04-14 09:11:01 +02:00
Marek Safar
50255f02b1
Enable csc change
2017-04-14 09:11:01 +02:00
Marek Safar
996b582128
Update few mcs calls in src/
2017-04-14 09:11:01 +02:00
Marek Safar
594a375c02
Update tools to use csc
2017-04-14 09:11:01 +02:00
Vincent Dondain
111d3357f6
Update reference to maccore ( #2007 )
2017-04-13 17:22:06 -04:00
Marek Safar
ae5e483764
[linker] Update linker to recognize debug async notification methods. Fixes #55037 ( #2004 )
2017-04-13 11:54:47 -04:00
Sebastien Pouliot
d3d7e6752a
[mmp] Update code that only considered .mdb (not .pdb) ( #2002 )
2017-04-12 17:38:54 -04:00
Jeffrey Stedfast
0fe6c076d5
[msbuild] Don't force mcs for building Xamarin.Mac apps ( #1994 )
2017-04-12 16:01:35 -04:00
Rolf Bjarne Kvinge
93ef38fb09
[mtouch/mmp] Handle empty aggregated exceptions better. ( #1996 )
...
This only happens when something else is wrong, but this makes finding out
what that something else is much easier.
2017-04-12 15:59:15 +02:00
Rolf Bjarne Kvinge
337feb6cc0
[runtime] Fix lookup of assembly in default location in framework. ( #1998 )
2017-04-12 15:54:30 +02:00
Rolf Bjarne Kvinge
c3596041ee
[src] Declare a single .SECONDARY without prerequisites. ( #2000 )
...
Declare a single .SECONDARY target without prerequisites, which means all
implicit targets are treated as secondary (which means they won't be
automatically deleted by make).
2017-04-12 09:18:43 -04:00
Rolf Bjarne Kvinge
ea074817e2
Bump Touch.Unit to fix compiler warning. ( #1999 )
...
commit spouliot/Touch.Unit@708348b0c1
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date: Wed Apr 12 11:17:43 2017 +0200
Fix compiler warning.
Fix this compiler warning:
> TouchRunner.cs(313,24): warning CS0618: `UIKit.UIAlertView.UIAlertView(string, string, UIKit.UIAlertViewDelegate, string, params string[])' is obsolete: `Use overload with a IUIAlertViewDelegate parameter'
2017-04-12 09:18:01 -04:00
Rolf Bjarne Kvinge
bac1492d36
Fix path to Mono.Linker.csproj. ( #1997 )
2017-04-12 09:14:57 -04:00
Rolf Bjarne Kvinge
30b21dcc0e
[xharness] Fix async code to propagate exceptions correctly. ( #1991 )
...
This fix will ensure that xharness won't hang when failing to list simulators.
2017-04-12 07:53:30 +02:00
Rolf Bjarne Kvinge
e61e5cce98
[mtouch] Make code sharing work on watchOS. ( #1988 )
...
* [mtouch] Only iOS has version 8 (and earlier OS versions that don't support frameworks).
* [mtouch] Update logging to be less confusing when logging about WatchKit extensions.
* [mtouch] Don't compile P/Invoke wrappers for extensions that are sharing code.
The container app already has the P/Invoke wrappers.
2017-04-11 19:20:22 +02:00
Sebastien Pouliot
54e16ab9c5
[mmp] Add new Profile subclasses for Xamarin Mac (full / system) ( #1989 )
...
The fallback to MonoMacProfile is not correct if we ask for the
platform assembly - which blocks enabling the linker for that
assembly (only)
2017-04-11 12:01:06 -04:00
Sebastien Pouliot
479394782f
[mmp] Show more information when a MM2001 error occurs ( #1987 )
...
Same that was done for `mtouch` in
https://github.com/xamarin/xamarin-macios/pull/1947
2017-04-11 11:06:51 -04:00
Rolf Bjarne Kvinge
0a47a8ce0c
Patch from Zoltan to fix build error with CppSharp.CppParser.dll ( #1967 ) ( #1986 )
2017-04-11 15:01:57 +02:00
Rolf Bjarne Kvinge
e2835aec51
[README] Explain that 'make world' should not be used to rebuild. ( #1984 )
2017-04-11 08:56:49 -04:00
Sebastien Pouliot
ef399e8756
[mmp] Add Intents and Photos mappings for namespaces ( #1983 )
...
MonoMacNamespaces needs them to properly remove the entries from
NSObject.mac.cs.
Fix debug logs:
Unprocessed library / namespace /System/Library/Frameworks/Intents.framework/Intents
Unprocessed library / namespace /System/Library/Frameworks/Photos.framework/Photos
2017-04-11 08:18:25 -04:00
Jeffrey Stedfast
52aba009f1
[msbuild] Enable device-specific builds for appex's ( #1974 )
2017-04-11 08:17:54 +02:00
Rolf Bjarne Kvinge
651a9735ff
Use Visual Studio instead of Xamarin Studio. ( #1972 )
...
* Use Visual Studio instead of Xamarin Studio.
* VS doesn't have mdtool, it has vstool.
Also there's no need to manually invoke the mdtool.exe executable anymore
(which we did because the mdtool executable had a min macOS version of 10.9,
and we used to build tests on older macOS versions [1]), since now we only run
tests on older macOS versions, we don't build those tests there.
[1] a1932b0ccd
2017-04-11 08:13:34 +02:00
Timothy Risi
41fa74fc12
[Mac] Update numerous availability tags from 10.12.1 to 10.12.2 ( #1672 )
2017-04-10 21:19:10 -08:00
Rolf Bjarne Kvinge
fe5c62410d
[msbuild] Fix running bgen for Xamarin.Mac. ( #1977 )
...
bgen must be executed with the system mono, not bmac-mobile-mono, and without
the MONO_PATH variable set.
2017-04-10 16:34:49 +02:00
Alex Soto
3fe0d2010a
[CoreText] CTParagraphStyle uses the incorrect float return type. Fixes bug 54148. ( #1975 )
...
* [CoreText] Fix bug 54148 - CoreText.CTParagraphStyle does not pick up settings from CTParagraphStyleSettings
https://bugzilla.xamarin.com/show_bug.cgi?id=54148
CTParagraphStyle float properties have the incorrect float return type,
the headers state this API's returns CGFloats (aka nfloat) instead of floats
this used to work ok fetching them due to there is no difference in size
for 32 bits devices but once 64 bit devices appeared the API began to fail
The actual method that fetches the values `CTParagraphStyleGetValueForSpecifier`
asks for the size of the returned data and we used to give the size of a float
which is incorrect in 64 bits devices and the API call just correctly returned
false because it could not write back the value to us.
Added tests for the full properties available on CTParagraphStyle
* Add comment about the weird Dispose method implementation in CreateFromSettings
2017-04-10 08:24:25 +02:00
Alex Soto
2a85ec1674
[mtouch] Remove workaround for bug 43462, this fixes slow builds (bug 52545) ( #1976 )
...
https://bugzilla.xamarin.com/show_bug.cgi?id=52545
Some projects took a lot of time to build with the workaround for
bug 43462 but now that it is fixed we can remove it and stop the slowness
2017-04-10 08:20:13 +02:00
Jeffrey Stedfast
3b4c6e720e
[msbuild] Add support for passing extra args to btouch ( #1969 )
...
* [msbuild] Add support for passing extra args to btouch
Partial fix for https://bugzilla.xamarin.com/show_bug.cgi?id=51753
* [msbuild] Update the Mac ObjCBinding targets as well
2017-04-10 08:14:42 +02:00
Chris Hamons
0d4243d793
[macos] Fix XM projects with p/invokes into non-system frameworks ( #1968 )
...
- Broken by d20ccf5bc6
2017-04-07 11:19:39 +02:00
Sebastien Pouliot
7d930369af
Revert "[msbuild] Don't override the OnDemandResourcesUrl if previously set ( #1963 )"
...
This reverts commit 46e8bd00ef
.
2017-04-06 14:43:16 -05:00
Sebastien Pouliot
1b87264f5e
Bump mono to get a cecil fix for bug #54409 ( #1957 )
...
Bug 54409 - [iOS]System.Linq tests fail to build with error MT2001
https://bugzilla.xamarin.com/show_bug.cgi?id=54409
2017-04-06 13:20:26 -05:00
Jeffrey Stedfast
46e8bd00ef
[msbuild] Don't override the OnDemandResourcesUrl if previously set ( #1963 )
...
This change allows users to specify a custom URL for hosting their
OnDemand Resources.
2017-04-06 12:57:32 -04:00