Skip to content

Instantly share code, notes, and snippets.

View bcl.txt
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/Microsoft.Win32.Primitives.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/Microsoft.Win32.Registry.AccessControl.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/Microsoft.Win32.Registry.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/netstandard.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/System.AppContext.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/System.Collections.Concurrent.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/System.Collections.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/System.Collections.NonGeneric.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/System.Co
View keybase.md

Keybase proof

I hereby claim:

  • I am rolfbjarne on github.
  • I am rolfbjarne (https://keybase.io/rolfbjarne) on keybase.
  • I have a public key ASB7VNis2wnoySoHWAdAvJrPhgkKoQbmAqm7EzKePxO9CAo

To claim this, I am signing this object:

View foo.diff
diff --git a/Make.config b/Make.config
index 57462c6..ba5f835 100644
--- a/Make.config
+++ b/Make.config
@@ -79,6 +79,7 @@ TVOS_SDK_VERSION=10.0
MIN_IOS_SDK_VERSION=6.0
MIN_OSX_SDK_VERSION=10.7
MIN_WATCHOS_SDK_VERSION=2.0
+MIN_WATCH_OS_VERSION=1.0
MIN_TVOS_SDK_VERSION=9.0
View assembly-attribute-iteration.diff
diff --git a/tools/mtouch/Target.cs b/tools/mtouch/Target.cs
index cf522ba..af75c72 100644
--- a/tools/mtouch/Target.cs
+++ b/tools/mtouch/Target.cs
@@ -377,34 +377,8 @@ namespace Xamarin.Bundler
GetCustomAttributeReferences (assembly, assemblies, exceptions);
GetCustomAttributeReferences (main, assemblies, exceptions);
if (main.HasTypes) {
- foreach (var t in main.Types) {
- GetTypeReferences (t, assemblies, exceptions);
View foo.diff
diff --git a/mono/mini/mini-llvm.c b/mono/mini/mini-llvm.c
index b83c823..ab39f17 100644
--- a/mono/mini/mini-llvm.c
+++ b/mono/mini/mini-llvm.c
@@ -5810,8 +5810,19 @@ process_bb (EmitContext *ctx, MonoBasicBlock *bb)
const char *name = (const char*)ins->inst_p0;
LLVMValueRef var;
- if (!ctx->module->objc_selector_to_var)
+ if (!ctx->module->objc_selector_to_var) {
View foo.patch
diff --git a/mcs/build/profiles/monotouch_runtime.make b/mcs/build/profiles/monotouch_runtime.make
index 1603d12..4fb49a0 100644
--- a/mcs/build/profiles/monotouch_runtime.make
+++ b/mcs/build/profiles/monotouch_runtime.make
@@ -41,3 +41,5 @@ MOBILE_STATIC = yes
MOBILE_PROFILE = yes
PROFILE_DISABLE_BTLS=1
+
+MCS_FLAGS = $(MONOTOUCH_MCS_FLAGS)
View test.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
class C {
static void Main ()
{
Console.WriteLine ($"PID: {Process.GetCurrentProcess ().Id}");
for (int i = 0; i < 10000; i++) {
View sierra.patch
commit 08856883b945ca5b8ea1086da7c3dd23cf600664
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date: Tue Sep 27 18:16:31 2016 +0200
[builds] Apply magic to make us build on Sierra.
diff --git a/builds/Makefile b/builds/Makefile
index bfcf7a1..74132ef 100644
--- a/builds/Makefile
+++ b/builds/Makefile
View signals.diff
commit 862721199f1adec210bfc7b1943f975ffb8048a9
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date: Fri Sep 23 14:03:55 2016 +0200
Use Mono's support for uninstalling/reinstalling signal handlers.
diff --git a/source/HockeySDK.iOSBindings/Additions.cs b/source/HockeySDK.iOSBindings/Additions.cs
index 7e7a17d..0c2cdcb 100644
--- a/source/HockeySDK.iOSBindings/Additions.cs
+++ b/source/HockeySDK.iOSBindings/Additions.cs
@rolfbjarne
rolfbjarne / mono_runtime_install_chained_signal_handler.patch
Last active Sep 19, 2016
mono_runtime_install_chained_signal_handler.patch
View mono_runtime_install_chained_signal_handler.patch
commit fe39d32800002f60624bcf6b48f6ba17b967c7ac
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date: Tue Sep 13 13:19:25 2016 +0200
[mini] Add API to change/install the saved signal handler for a signal.
diff --git a/mono/mini/mini-posix.c b/mono/mini/mini-posix.c
index e192403..770a33c 100644
--- a/mono/mini/mini-posix.c
+++ b/mono/mini/mini-posix.c