Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
76cef03
Bump mono to 5.4.0.0
luhenry Jun 5, 2017
0bf122c
[linker] add new source files to project file
lewurm Jun 6, 2017
cc6a7e8
[mono] bump to https://github.com/mono/mono/commit/ac71acfd526a3763bb…
lewurm Jun 6, 2017
26846b7
bump mono and java.interop
lewurm Jun 6, 2017
588aaa1
bump mono
lewurm Jun 7, 2017
dcc7e47
bump mono
lewurm Jun 9, 2017
17ae5c2
bump mono
lewurm Jun 12, 2017
d69494a
bump mono
lewurm Jun 14, 2017
2868769
Updated submodule references
luhenry Jun 14, 2017
5cf27f9
Updated reference to mono
luhenry Jun 15, 2017
9b74651
bump mono
lewurm Jun 20, 2017
f2e2998
bump mono, java.interop and linker
lewurm Jun 21, 2017
2b92f3a
bump mono desktop package
lewurm Jun 21, 2017
93fd979
bump MonoRequiredMinimumVersion
lewurm Jun 21, 2017
3e8a1fb
Merge remote-tracking branch 'origin/master' into mono-2017-06
lewurm Jul 18, 2017
3559b60
bump mono
lewurm Jul 18, 2017
690845b
bump java.interop
lewurm Jul 19, 2017
86d7164
bump libzipsharp
lewurm Jul 19, 2017
e4fc7ad
bump linker
lewurm Jul 19, 2017
8ca38ce
bump mono
lewurm Jul 19, 2017
edfca92
[monodroid] Update to new profiler init symbol name.
alexrp Jul 20, 2017
f2d5245
Merge remote-tracking branch 'origin/master' into mono-2017-06
lewurm Aug 7, 2017
979ab34
bump mono
lewurm Aug 7, 2017
67672d9
bump linker
lewurm Aug 7, 2017
bcab75b
bump java.interop
lewurm Aug 7, 2017
b8157eb
bump libzipsharp
lewurm Aug 7, 2017
f10d69c
revert linker changes from 0bf122c7246274fcce1f5dc17cce4d019e4d7b95
lewurm Aug 7, 2017
92d3d71
Bump mono to 2017-08
lambdageek Aug 7, 2017
957e434
MonoRequiredMinimumVersion 5.6.0.0
lambdageek Aug 7, 2017
7072bc0
Update .gitmodules references
lambdageek Aug 7, 2017
4185060
Merge remote-tracking branch 'alexrp/master' into mono-2017-08
lambdageek Aug 7, 2017
f145230
[mono-runtimes] eglib\config.h doesn't exist anymore
lambdageek Aug 7, 2017
a8393c6
Bump mono@74a8e56233f
lambdageek Aug 8, 2017
24aaccb
Merge remote-tracking branch 'origin/master' into mono-2017-08
lambdageek Aug 9, 2017
46603aa
bump llvm
lewurm Aug 7, 2017
8f75b7b
bump xamarin-android-api-compatibility
lewurm Aug 9, 2017
b539112
Bump to Java.Interop/master/1cd03611 (#732)
jonpryor Aug 10, 2017
cedcacd
Bump mono/mono@ed0f1b4
lambdageek Aug 11, 2017
401297f
Merge remote-tracking branch 'origin/master' into mono-2017-08
lambdageek Aug 15, 2017
028c11b
bump xamarin/java.interop@3343634
lambdageek Aug 22, 2017
359b56d
Merge remote-tracking branch 'origin/master' into mono-2017-08
lambdageek Aug 28, 2017
102450c
Merge remote-tracking branch 'origin/master' into mono-2017-08
luhenry Sep 12, 2017
6e59512
Bump mono to 2017-08
luhenry Sep 12, 2017
c28b020
Avoid dumping the content of libmono-profiler-log.so when test in fai…
luhenry Sep 20, 2017
1ce74e4
Bump to mono/mono@d5885b19
lambdageek Sep 25, 2017
a403ed6
Merge remote-tracking branch 'origin/master' into mono-2017-08
lambdageek Sep 27, 2017
a86a1cd
Bump to mono/mono@b7422c2c
lambdageek Oct 6, 2017
1e23ae3
Merge remote-tracking branch 'origin/master' into mono-2017-08
lambdageek Oct 6, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[submodule "external/mono"]
path = external/mono
url = https://github.com/mono/mono.git
branch = 2017-06
branch = 2017-08
[submodule "external/mxe"]
path = external/mxe
url = https://github.com/xamarin/mxe.git
Expand Down
4 changes: 2 additions & 2 deletions Configuration.props
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
<JavaInteropSourceDirectory Condition=" '$(JavaInteropSourceDirectory)' == '' ">$(MSBuildThisFileDirectory)external\Java.Interop</JavaInteropSourceDirectory>
<LlvmSourceDirectory Condition=" '$(LlvmSourceDirectory)' == '' ">$(MSBuildThisFileDirectory)external\llvm</LlvmSourceDirectory>
<MonoSourceDirectory>$(MSBuildThisFileDirectory)external\mono</MonoSourceDirectory>
<MonoRequiredMinimumVersion Condition=" '$(MonoRequiredMinimumVersion)' == '' ">5.4.0</MonoRequiredMinimumVersion>
<MonoRequiredDarwinMinimumVersion>$(MonoRequiredMinimumVersion).147</MonoRequiredDarwinMinimumVersion>
<MonoRequiredMinimumVersion Condition=" '$(MonoRequiredMinimumVersion)' == '' ">5.6.0</MonoRequiredMinimumVersion>
<MonoRequiredDarwinMinimumVersion>$(MonoRequiredMinimumVersion).0</MonoRequiredDarwinMinimumVersion>
<LinkerSourceDirectory>$(MSBuildThisFileDirectory)external\linker</LinkerSourceDirectory>
<OpenTKSourceDirectory>$(MSBuildThisFileDirectory)external\opentk</OpenTKSourceDirectory>
<LibZipSourceDirectory Condition=" '$(LibZipSourceDirectory)' == '' ">$(MSBuildThisFileDirectory)external\libzip</LibZipSourceDirectory>
Expand Down
4 changes: 2 additions & 2 deletions build-tools/dependencies/dependencies.projitems
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_DarwinMonoFramework>MonoFramework-MDK-5.4.0.147.macos10.xamarin.universal.pkg</_DarwinMonoFramework>
<_DarwinMonoFramework>MonoFramework-MDK-5.6.0.0.macos10.xamarin.universal.pkg</_DarwinMonoFramework>
<_AptGetInstall>apt-get -f -u install</_AptGetInstall>
</PropertyGroup>
<ItemGroup>
Expand Down Expand Up @@ -58,7 +58,7 @@
<MinimumVersion>$(MonoRequiredMinimumVersion)</MinimumVersion>
<DarwinMinimumVersion>$(MonoRequiredDarwinMinimumVersion)</DarwinMinimumVersion>
<CurrentVersionCommand>$(MSBuildThisFileDirectory)..\scripts\mono-version</CurrentVersionCommand>
<DarwinMinimumUrl>https://bosstoragemirror.blob.core.windows.net/wrench/mono-2017-06/28/28a417c2c0d1a2d1231d8b0a5beea3201208b57d/$(_DarwinMonoFramework)</DarwinMinimumUrl>
<DarwinMinimumUrl>https://bosstoragemirror.blob.core.windows.net/wrench/mono-2017-08/94/9417be0f1183e100e7c88953d5944e1a59d5ef5f/$(_DarwinMonoFramework)</DarwinMinimumUrl>
<DarwinInstall>installer -pkg "$(AndroidToolchainCacheDirectory)\$(_DarwinMonoFramework)" -target /</DarwinInstall>
</RequiredProgram>
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions build-tools/mono-runtimes/mono-runtimes.targets
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,11 @@
/>
<_RuntimeEglibHeaderSource
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' "
Include="@(_MonoRuntime->'$(IntermediateOutputPath)\%(Identity)\eglib\config.h');@(_MonoRuntime->'$(IntermediateOutputPath)\%(Identity)\eglib\src\eglib-config.h')"
Include="@(_MonoRuntime->'$(IntermediateOutputPath)\%(Identity)\eglib\src\eglib-config.h')"
/>
<_RuntimeEglibHeaderOutput
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' "
Include="@(_MonoRuntime->'$(_OutputIncludeDir)%(Identity)\eglib\config.h');@(_MonoRuntime->'$(_OutputIncludeDir)%(Identity)\eglib\eglib-config.h')"
Include="@(_MonoRuntime->'$(_OutputIncludeDir)%(Identity)\eglib\eglib-config.h')"
/>
<_MonoConstsSource
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' "
Expand Down
2 changes: 1 addition & 1 deletion external/mono
Submodule mono updated 1118 files
Original file line number Diff line number Diff line change
Expand Up @@ -1058,9 +1058,11 @@ public void CheckWhichRuntimeIsIncluded (string[] supportedAbi, bool debugSymbol
Assert.AreEqual (runtime.Size, inApkRuntime.Size, "expected {0} got {1}", expectedRuntime, inApkRuntime.Runtime);
inApk = ZipHelper.ReadFileFromZip (apk, string.Format ("lib/{0}/libmono-profiler-log.so", abi));
if (string.Compare (expectedRuntime, "debug", StringComparison.OrdinalIgnoreCase) == 0) {
Assert.IsNotNull (inApk, "libmono-profiler-log.so should exist in the apk.");
if (inApk == null)
Assert.Fail ("libmono-profiler-log.so should exist in the apk.");
} else {
Assert.IsNull (inApk, "libmono-profiler-log.so should not exist in the apk.");
if (inApk != null)
Assert.Fail ("libmono-profiler-log.so should not exist in the apk.");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,12 @@
<Compile Include="$(LinkerSourceFullPath)\linker\Mono.Linker\MethodAction.cs">
<Link>Linker\Mono.Linker\MethodAction.cs</Link>
</Compile>
<Compile Include="$(LinkerSourceFullPath)\linker\Mono.Linker\MethodReferenceExtensions.cs">
<Link>Linker\Mono.Linker\MethodReferenceExtensions.cs</Link>
</Compile>
<Compile Include="$(LinkerSourceFullPath)\linker\Mono.Linker\Pipeline.cs">
<Link>Linker\Mono.Linker\Pipeline.cs</Link>
</Compile>
<Compile Include="$(LinkerSourceFullPath)\linker\Mono.Linker\MethodReferenceExtensions.cs">
<Link>Linker\Mono.Linker\MethodReferenceExtensions.cs</Link>
</Compile>
<Compile Include="$(LinkerSourceFullPath)\linker\Mono.Linker\TypePreserve.cs">
<Link>Linker\Mono.Linker\TypePreserve.cs</Link>
</Compile>
Expand Down
14 changes: 8 additions & 6 deletions src/monodroid/jni/monodroid-glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -3426,7 +3426,7 @@ set_trace_options (void)
/* Profiler support cribbed from mono/metadata/profiler.c */

typedef void (*ProfilerInitializer) (const char*);
#define INITIALIZER_NAME "mono_profiler_startup"
#define INITIALIZER_NAME "mono_profiler_init"

static mono_bool
load_profiler (void *handle, const char *desc, const char *symbol)
Expand Down Expand Up @@ -3470,7 +3470,7 @@ load_embedded_profiler (const char *desc, const char *name)
}

static mono_bool
load_profiler_from_directory (const char *directory, const char *libname, const char *desc)
load_profiler_from_directory (const char *directory, const char *libname, const char *desc, const char *name)
{
char *full_name = path_combine (directory, libname);
int exists = file_exists (full_name);
Expand All @@ -3485,7 +3485,9 @@ load_profiler_from_directory (const char *directory, const char *libname, const
free (full_name);

if (h) {
mono_bool result = load_profiler (h, desc, INITIALIZER_NAME);
char *symbol = monodroid_strdup_printf ("%s_%s", INITIALIZER_NAME, name);
mono_bool result = load_profiler (h, desc, symbol);
free (symbol);
if (result)
return 1;
dlclose (h);
Expand Down Expand Up @@ -3515,18 +3517,18 @@ monodroid_profiler_load (const char *libmono_path, const char *desc, const char
for (oi = 0; oi < MAX_OVERRIDES; ++oi) {
if (!directory_exists (override_dirs [oi]))
continue;
if ((found = load_profiler_from_directory (override_dirs [oi], libname, desc)))
if ((found = load_profiler_from_directory (override_dirs [oi], libname, desc, mname)))
break;
}

do {
if (found)
break;
if ((found = load_profiler_from_directory (app_libdir, libname, desc)))
if ((found = load_profiler_from_directory (app_libdir, libname, desc, mname)))
break;
if ((found = load_embedded_profiler (desc, mname)))
break;
if (libmono_path != NULL && (found = load_profiler_from_directory (libmono_path, libname, desc)))
if (libmono_path != NULL && (found = load_profiler_from_directory (libmono_path, libname, desc, mname)))
break;
} while (0);

Expand Down