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).
And add the new file to the build.
commit spouliot/Touch.Unit@ffe2a6dcff
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date: Wed May 25 18:11:59 2016 +0200
Add a HttpTextWriter that can send logs over http.
There is no public API to create raw sockets with watchOS, so
we can't use Tcp directly, thus the need for using Http.
Added the missing static factory methods and the missing property. In
order to give a clean API a new flag was added to the NSExpression class
to track if the Block property does return a block or a null ptr. The
idea is to avoid user from seeing an obj-c exception.
This commit fixes bug #35012:
https://bugzilla.xamarin.com/show_bug.cgi?id=35012
The evaluation of the NSExpression and the defition of the
NSExpressionHandler have also been fixed since both should be using
NSObjects.
https://bugzilla.xamarin.com/show_bug.cgi?id=17232
* Added support for specifying library path in FieldAttribute
* Fixed generator error when Namespaces contains dots `.`
* Added error BI1042 Missing '[Field (LibraryName=value)]' for {field_pi.Name} (e.g."__Internal")
instead of generating invalid c# code when no LibraryName is provided
in 3rd party bindings
* Kept support for just using the system library name in FieldAttribute
(i.e. [Field ("UnboundFooSymbol", "UIKit")]
This does not change our current generated code at all:
https://gist.github.com/dalexsoto/338464a260bc6971e7b665ca9463e8b9
It's based on our work, with a few extra commits. That should reduce a
bit the checkout time and ensure more consistent results.
Also bump Touch.Unit since that requires a small API change.
We were missing initByReferencingFile: which initializes
the image object lazily.
The non working use case was:
var iconFile = NSBundle.MainBundle.PathForResource ("AppIcons", "icns");
NSApplication.SharedApplication.ApplicationIconImage = new NSImage (iconFile);
In this example, the constructor is calling initWithContentsOfFile: which will
not load the right icon from the .icns file.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=40349.
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.