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

3758 Коммитов

Автор SHA1 Сообщение Дата
Jeffrey Stedfast b8995c5597 [msbuild] Set the target architecture in the Info.plist UIRequiredDev… (#2409)
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=58544

* Added unit test

* Removed support for ARMv6

* Removed CompileAppManifest.Architecture property and usage
2017-11-02 15:01:00 -04:00
Sebastien Pouliot 03b9d1759e
[security] Add RequestSharedWebCredential overload. Fixes #60423 (#2940)
* The original API was incorrect. Lack of documentation at binding time?
* Use a strong dictionary to expose the credentials

The fixed version cannot be unit tested since it popups an UI.

The test case attached to the bug report [1] can be used to verify it.

reference:
[1] https://bugzilla.xamarin.com/show_bug.cgi?id=60423
2017-11-02 14:54:39 -04:00
Alex Soto 8e92d2a350
[Generator] BindAs attribute for smart enum to multidimensional array generates code that doesn't compile, Fixes Bug 57795 (#2948)
https://bugzilla.xamarin.com/show_bug.cgi?id=57795

We now error out with "BI1048 Unsupported type Foo[,] decorated with [BindAs]"
2017-11-02 08:34:10 -06:00
Alex Soto 81115d917f
Adds generator-tests to Xamarin.iOS.sln's Tests solution folder for easier access (#2949) 2017-11-02 08:33:31 -06:00
Timothy Risi 6c2e32d7b5 [Metal] MTLBuffer.CreateTexture shouldn't be abstract on macOS - d15-5 (#2951) 2017-11-02 09:02:54 -04:00
Rolf Bjarne Kvinge 9e59425349
[xharness] Properly handle failure by mlaunch to wait for app exit. (#2946)
Detect MT1111 from mlaunch (which means mlaunch won't wait for the app to
exit), and instead use test run completion to determine test completion.

The main drawback is that if the test app crashes, it won't be detected (the
test run will time out, and reported as such), but it's still an improvement
over the current behavior (the tests may complete successfully, and still be
reported as timed out).

This also requires bumping maccore to get an updated mlaunch (one that reports
MT1111).
2017-11-02 12:46:18 +01:00
Timothy Risi 35017bc974 [Metal] MTLBuffer.CreateTexture shouldn't be abstract on macOS (#2950) 2017-11-01 17:26:30 -04:00
Sebastien Pouliot 8d6aacebf4
Merge pull request #2943 from spouliot/d15-5-xcode9.1
Merge `xcode9.1` into `d15-5`
2017-11-01 13:33:31 -04:00
Rolf Bjarne Kvinge 11d8deadb9
Use DllImports we already have instead of defining new ones. (#2945)
* [NSString] Use DllImports we already have instead of defining new ones.

* [Runtime] Use DllImports we already have instead of defining new ones.
2017-11-01 16:19:16 +01:00
Rolf Bjarne Kvinge ce323717be
Revert "[msbuild] Fixed Condition for CalculateCodesignAppBundleInputs (#2843)" (#2944)
This reverts commit cb216083f1, because it breaks several monotouch-tests:

    [FAIL] KeyChainTest.Add_Certificate :   Add_Certificate
    [FAIL] KeyChainTest.AddQueryRemove_Identity :   Expected: True
    [FAIL] KeyChainTest.CheckId :   same guid
    [FAIL] KeyChainTest.SecItemAdd_Identity :   Expected: True
    [FAIL] RecordTest.Accessible_17579 :   Add
    [FAIL] RecordTest.AuthenticationType_17579 :   Add
    [FAIL] RecordTest.DeskCase_83099_InmutableDictionary :   Password could not be saved to keychain
    [FAIL] RecordTest.IdentityRecordTest :   Identity added
    [FAIL] RecordTest.Protocol_17579 :   Add
2017-11-01 16:19:02 +01:00
Sebastien Pouliot 4dfd82c7f7 Restore external/linker to latest d15-5 revision 2017-11-01 10:04:46 -04:00
Rolf Bjarne Kvinge 948c4e4f95 [xtro-sharpie] Fix wrench build to use the correct MSBuild invocation. 2017-11-01 08:34:03 +01:00
Sebastien Pouliot 0e2df78b72 Fix some merge issues to fix build 2017-11-01 00:06:29 -04:00
Sebastien Pouliot 5239f2528a Merge branch 'xcode9.1' into d15-5-xcode9.1 2017-10-31 23:31:00 -04:00
Sebastien Pouliot 51128b8cee
Merge pull request #2941 from spouliot/xcode91-revert-mps
[metalperformanceshaders] Revert
2017-10-31 21:37:42 -04:00
Sebastien Pouliot 37618c5d14
Bump Xcode 9.1 to the final/stable version (#2942) 2017-10-31 19:47:38 -04:00
Sebastien Pouliot 16214f305b Revert "[MetalPerformanceShaders] Activate bindings for Xamarin.Mac and add n… (#2816)"
This reverts commit 531bafcfaa.
2017-10-31 17:17:54 -04:00
Sebastien Pouliot 4d701789b6 Revert "[MetalPerformaceShaders] Several MPSCnnKernel properties should be readonly (#2938)"
This reverts commit 9ac49c2a4a.
2017-10-31 17:17:35 -04:00
Timothy Risi 9ac49c2a4a
[MetalPerformaceShaders] Several MPSCnnKernel properties should be readonly (#2938)
The subclasses versions of the properties need Override, cannot be removed since it would break visibility for iOS 10
2017-10-31 08:36:24 -08:00
Timothy Risi 2926a13f7e
[test] Change monotouch-test and xammac_tests to use all .cs files in monotouch-test/ Fixes #60290 (#2930)
Exclude the registrar/trampoline generated files from xammac_tests
Remove CoreLocation.LocationTest since is covered by introspection
2017-10-31 08:09:21 -08:00
Jeffrey Stedfast cb216083f1
[msbuild] Fixed Condition for CalculateCodesignAppBundleInputs (#2843)
* [msbuild] Fixed Condition for CalculateCodesignAppBundleInputs

CodesignAppBundle was not being executed because the inputs were empty.

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

* Codesign AppExtensiosn as well (and might as well run CodesignVerify too)

* Revert CompileEntitlements change, only compile them if we require codesigning

* Don't embed mobile provision file unless the build requires codesigning

* More fixes to codesigning iPhoneSimulator builds

* Fixed CodesignAppBundle tests to not check dsym timestamps for iPhoneSimulator builds

* Ignore the user's signing key & provisioning profile for Simulator builds

Xcode9 does not use them. It always codesigns Simulator builds with "-"
and never involves the specified provisioning profile.

This finally fixes the AppGroups sample to work properly

For CodesignVerify, having a _ProvisioningProfile defined means that
we have definitely codesigned the app bundle, so it makes sense to
verify the code signature (it probably doesn't make sense to do if
the codesign key is just "-", for example).
2017-10-30 16:52:03 -04:00
Alex Soto 2dac229ef6
Fix HealthKit xtro output (#2935) 2017-10-30 11:08:42 -06:00
Rolf Bjarne Kvinge 33f8b8bc8f
[monotouch-test] CGColorSpace.CreateIccData is iOS 10+ only. (#2936) 2017-10-30 18:05:41 +01:00
Manuel de la Pena a26d52710a
[AVFoundation] Add missing categories from Xcode 9 and add new API from Xcode 9.1 (#2919)
* [AVFoundation] Add missing categories from Xcode 9 and add new API from Xcode 9.1

* Addresses review comments. Added missinf attr, Get* to those methods that required them and used smart enums where possible.

* Remove not correct use of async attr. Add missing smart enum property.

* Updated bidings as per reviews. Mainly added NoMac when possible and added event args for the flush notification. A helper property was added to go from NSValue to CMTime.
2017-10-30 16:12:39 +01:00
Chris Hamons 2510b805b2
Add XM Modern to BCL test suite (#2923) 2017-10-27 16:44:22 -05:00
Rolf Bjarne Kvinge 64c3ea2cae [monotouch-test] Fix 2 issues when running on iOS 9. (#2934)
* [monotouch-test][GameplayKit] GKAgent3D isn't available on iOS 9.

Fixes this test failure:

> [FAIL] GKAgent3DTest.RotationTest : ObjCRuntime.RuntimeException : Wrapper type 'GameplayKit.GKAgent3D' is missing its native ObjectiveC class 'GKAgent3D'.

* [monotouch-test][MPS] MPSImageHistogram.HistogramSizeForSourceFormat doesn't seem to work on iOS 9.

Calling MPSImageHistogram.HistogramSizeForSourceFormat seems to abort on iOS 9
due to invalid arguments no matter which pixel format I use:

> /BuildRoot/Library/Caches/com.apple.xbs/Sources/MetalImage/MetalImage-39.3/MetalImage/Filters/MIHistogram.mm:103: failed assertion `[MPSImageHistogram histogramSizeForSourceFormat:] unsupported texture format: 114'

So only call this method on iOS 10+.
2017-10-27 17:06:02 -04:00
Rolf Bjarne Kvinge 0006a769bf [NSObject] Embrace Unified in exception messages. (#2932) 2017-10-27 15:43:23 -04:00
Sebastien Pouliot 4de620bcdb
[generator] Improve the BI1001 error message to include the actual parameter type (#2931)
E.g. from

	error BI1001: bgen: Do not know how to make a trampoline for IKVM.Reflection.Reader.ParameterInfoImpl

to

	error BI1001: bgen: Do not know how to make a trampoline for Foundation.NSError&
2017-10-27 15:39:45 -04:00
Rolf Bjarne Kvinge 407a19b59b
[tests][mtouch] Add test case for bug #59617. (#2926)
* [tests][mtouch] Convert MT4162 to new syntax.

This also means adding support for custom usings in test code, and adding
support for asserting filename/linenumber with error patterns, and custom
pattern syntax.

* [tests][mtouch] Add test case for bug #59617.

This amounts to running the MT4162 test with the linker enabled.

https://bugzilla.xamarin.com/show_bug.cgi?id=59617
2017-10-27 19:14:58 +02:00
Alex Soto 79d325d5ae [SceneKit] Adds Xcode 9 Beta 1 to stable bindings (#2925)
* [SceneKit] Add Xcode 9 Beta 1 to stable bindings

* Implement feedback

* Use https instead of htt(t)p in links, and link to iOS directly
2017-10-27 09:47:19 -05:00
Rolf Bjarne Kvinge 25c6ba1ebe Bump mono to get fix for #59956. (#2929)
Commit list for mono/mono:

* mono/mono@4005b8a4a6 Merge pull request #5859 from luhenry/backport-d15-5-2017-06-71997d296fbe80baafc98087b92341d6df009c65
* mono/mono@8b1f61433f [llvm] Fix the returning of vtypes using a hidden argument in bitcode, in some cases, we forgot to generate the code to return the value, causing random data to be returned. Fixes #59956. (#5786)

Diff: 06b96b294f...4005b8a4a6

https://bugzilla.xamarin.com/show_bug.cgi?id=59956
2017-10-27 10:22:30 -04:00
Jeffrey Stedfast b55f758caf [msbuild] Updated DetectSigningIdentity to allow thumbprints for the CodeSignKey (#2914) 2017-10-26 15:30:38 -04:00
Jeffrey Stedfast cb22a0496f bumped max Mono version to 5.8.99 (#2928)
This builds and works fine for me locally.
2017-10-26 13:02:32 -04:00
Rolf Bjarne Kvinge 11f77d226c Add Objective Sharpie 3.4 as an optional dependency, and add support for running xtro tests on wrench+jenkins. (#2887) (#2922)
This will add Objective Sharpie as an optional dependency, only enforced if
actually trying to run the xtro tests.

The wrench/jenkins tests will show up as green for now (since there are known
failures in the xtro tests that have to be addressed first).
2017-10-26 10:43:45 -04:00
Rolf Bjarne Kvinge 6daa7389e2 Bump mono to get fix for #59956. (#2921)
Commit list for mono/mono:

* mono/mono@e66d9abbb2 [llvm] Fix the returning of vtypes using a hidden argument in bitcode, in some cases, we forgot to generate the code to return the value, causing random data to be returned. Fixes #59956. (#5786)
* mono/mono@1f4613aa1a [sre] Register a canonical reflected method for a methodspec token. (Fixes #60233) (#5814)

Diff: d092ad186f...e66d9abbb2

https://bugzilla.xamarin.com/show_bug.cgi?id=59956
2017-10-26 09:26:29 +02:00
Vincent Dondain 01cb38a2a9 Bump maccore to get maciostools with unlock device warning code (#2920)
commit 287cbcf72d81e185f6d9d9534bcd558a718d8001 (HEAD -> master, upstream/master, upstream/HEAD)
Author: Vincent Dondain <vidondai@microsoft.com>
Date:   Wed Oct 25 11:33:11 2017 -0400

    Bump maciostools to get unlock device warning code

    commit af38985deb3dd4ce6f5cf33de921cea602e1e8e1 (HEAD -> master, origin/master, origin/HEAD)
    Author: Vincent Dondain <vidondai@microsoft.com>
    Date:   Fri Oct 20 14:36:18 2017 -0400

        [Xamarin.Hosting] Update '--wait-for-unlock' error message (#94)

        - Use same `1031` error code as in `controller-device.cs`'s `LaunchBundleIdOnDevice`.
        - Simplify message to not mention passcode as there are other ways to unlock a device.
        - This change is needed to show up the alert dialog in https://github.com/xamarin/md-addins/pull/2590.
2017-10-25 13:55:05 -04:00
Rolf Bjarne Kvinge d9b8bd0e06 [UIKit] Remove [Preserve] attributes from various classes related to gesture recognizers. (#2910)
It's not necessary to manually preserve these classes, since they will be
preserved if they're used, and if they're not used, then they're not needed.

The `Conditional = true` parameter suggests the original intent was for the
linker to magically figure out when to link away these classes, but the
Conditional parameter is ignored for classes (conditional on what exactly?),
so these classes were never linked away.

These classes all have manually exported `Activated` methods, and for these
methods the `[Preserve]` attribute is required (and already present).

This saves ~23kb (Release) / ~31kb (Debug) for a minimalistic test app
(details below).

Size comparison
===============

Test project: https://github.com/rolfbjarne/TestApp/tree/minimalistic-test-app (rolfbjarne/TestApp@3bce08836b)

Compiled like this:

```shell
msbuild /verbosity:diag *.sln /p:Platform=iPhone /p:Configuration=Debug
msbuild /verbosity:diag *.sln /p:Platform=iPhone /p:Configuration=Release
```

Before
------

```shell
+ du -s bin/iPhone/Debug/helloworld.app bin/iPhone/Release/helloworld.app
21144	bin/iPhone/Debug/helloworld.app
9264	bin/iPhone/Release/helloworld.app
+ du -hs bin/iPhone/Debug/helloworld.app bin/iPhone/Release/helloworld.app
 10M	bin/iPhone/Debug/helloworld.app
4.5M	bin/iPhone/Release/helloworld.app
+ <magic to get byte count>
10775360 bin/iPhone/Debug/helloworld.app
 4706626 bin/iPhone/Release/helloworld.app

+ find bin/iPhone/Debug/helloworld.app -type f
+ xargs ls -laS
-rwxr-xr-x  1 rolf  staff  8116752 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/helloworld
-rw-r--r--  1 rolf  staff   948568 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/mscorlib.aotdata.arm64
-rw-r--r--  1 rolf  staff   825344 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/mscorlib.dll
-rw-r--r--  1 rolf  staff   306284 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/mscorlib.pdb
-rw-r--r--  1 rolf  staff   243712 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/Xamarin.iOS.dll
-rw-r--r--  1 rolf  staff   234160 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/Xamarin.iOS.aotdata.arm64
-rw-r--r--  1 rolf  staff    77961 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/Xamarin.iOS.dll.mdb
-rw-r--r--  1 rolf  staff     8196 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/embedded.mobileprovision
-rw-r--r--  1 rolf  staff     6453 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/_CodeSignature/CodeResources
-rw-r--r--  1 rolf  staff     4096 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/helloworld.exe
-rw-r--r--  1 rolf  staff     1392 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/helloworld.aotdata.arm64
-rw-r--r--  1 rolf  staff      890 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/Info.plist
-rw-r--r--  1 rolf  staff      500 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/helloworld.pdb
-rw-r--r--  1 rolf  staff      474 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/Settings.bundle/Root.plist
-rw-r--r--  1 rolf  staff      382 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/archived-expanded-entitlements.xcent
-rw-r--r--  1 rolf  staff      159 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/NOTICE
-rw-r--r--  1 rolf  staff       29 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/MonoTouchDebugConfiguration.txt
-rw-r--r--  1 rolf  staff        8 Oct 19 19:33 bin/iPhone/Debug/helloworld.app/PkgInfo
+ find bin/iPhone/Release/helloworld.app -type f
+ xargs ls -laS
-rwxr-xr-x  1 rolf  staff  3565568 Oct 19 19:32 bin/iPhone/Release/helloworld.app/helloworld
-rw-r--r--  1 rolf  staff   515584 Oct 19 19:32 bin/iPhone/Release/helloworld.app/mscorlib.dll
-rw-r--r--  1 rolf  staff   363216 Oct 19 19:32 bin/iPhone/Release/helloworld.app/mscorlib.aotdata.arm64
-rw-r--r--  1 rolf  staff   160256 Oct 19 19:32 bin/iPhone/Release/helloworld.app/Xamarin.iOS.dll
-rw-r--r--  1 rolf  staff    81976 Oct 19 19:32 bin/iPhone/Release/helloworld.app/Xamarin.iOS.aotdata.arm64
-rw-r--r--  1 rolf  staff     8196 Oct 19 19:32 bin/iPhone/Release/helloworld.app/embedded.mobileprovision
-rw-r--r--  1 rolf  staff     4959 Oct 19 19:32 bin/iPhone/Release/helloworld.app/_CodeSignature/CodeResources
-rw-r--r--  1 rolf  staff     4096 Oct 19 19:32 bin/iPhone/Release/helloworld.app/helloworld.exe
-rw-r--r--  1 rolf  staff     1336 Oct 19 19:32 bin/iPhone/Release/helloworld.app/helloworld.aotdata.arm64
-rw-r--r--  1 rolf  staff      890 Oct 19 19:32 bin/iPhone/Release/helloworld.app/Info.plist
-rw-r--r--  1 rolf  staff      382 Oct 19 19:32 bin/iPhone/Release/helloworld.app/archived-expanded-entitlements.xcent
-rw-r--r--  1 rolf  staff      159 Oct 19 19:32 bin/iPhone/Release/helloworld.app/NOTICE
-rw-r--r--  1 rolf  staff        8 Oct 19 19:32 bin/iPhone/Release/helloworld.app/PkgInfo
```

After
-----

```shell
+ du -s bin/iPhone/Debug/helloworld.app bin/iPhone/Release/helloworld.app
21072	bin/iPhone/Debug/helloworld.app
9216	bin/iPhone/Release/helloworld.app
+ du -hs bin/iPhone/Debug/helloworld.app bin/iPhone/Release/helloworld.app
 10M	bin/iPhone/Debug/helloworld.app
4.5M	bin/iPhone/Release/helloworld.app
+ <magic to get byte count>
10743909 bin/iPhone/Debug/helloworld.app
 4683650 bin/iPhone/Release/helloworld.app
+ find bin/iPhone/Debug/helloworld.app -type f
+ xargs ls -laS
-rwxr-xr-x  1 rolf  staff  8095984 Oct 19 19:28 bin/iPhone/Debug/helloworld.app/helloworld
-rw-r--r--  1 rolf  staff   948568 Oct 19 19:28 bin/iPhone/Debug/helloworld.app/mscorlib.aotdata.arm64
-rw-r--r--  1 rolf  staff   825344 Oct 19 19:27 bin/iPhone/Debug/helloworld.app/mscorlib.dll
-rw-r--r--  1 rolf  staff   306284 Oct 19 19:27 bin/iPhone/Debug/helloworld.app/mscorlib.pdb
-rw-r--r--  1 rolf  staff   240640 Oct 19 19:27 bin/iPhone/Debug/helloworld.app/Xamarin.iOS.dll
-rw-r--r--  1 rolf  staff   229232 Oct 19 19:27 bin/iPhone/Debug/helloworld.app/Xamarin.iOS.aotdata.arm64
-rw-r--r--  1 rolf  staff    75278 Oct 19 19:27 bin/iPhone/Debug/helloworld.app/Xamarin.iOS.dll.mdb
-rw-r--r--  1 rolf  staff     8196 Oct 19 19:28 bin/iPhone/Debug/helloworld.app/embedded.mobileprovision
-rw-r--r--  1 rolf  staff     6453 Oct 19 19:28 bin/iPhone/Debug/helloworld.app/_CodeSignature/CodeResources
-rw-r--r--  1 rolf  staff     4096 Oct 19 19:27 bin/iPhone/Debug/helloworld.app/helloworld.exe
-rw-r--r--  1 rolf  staff     1392 Oct 19 19:27 bin/iPhone/Debug/helloworld.app/helloworld.aotdata.arm64
-rw-r--r--  1 rolf  staff      890 Oct 19 19:27 bin/iPhone/Debug/helloworld.app/Info.plist
-rw-r--r--  1 rolf  staff      500 Oct 19 19:27 bin/iPhone/Debug/helloworld.app/helloworld.pdb
-rw-r--r--  1 rolf  staff      474 Oct 19 19:28 bin/iPhone/Debug/helloworld.app/Settings.bundle/Root.plist
-rw-r--r--  1 rolf  staff      382 Oct 19 19:27 bin/iPhone/Debug/helloworld.app/archived-expanded-entitlements.xcent
-rw-r--r--  1 rolf  staff      159 Oct 19 19:28 bin/iPhone/Debug/helloworld.app/NOTICE
-rw-r--r--  1 rolf  staff       29 Oct 19 19:28 bin/iPhone/Debug/helloworld.app/MonoTouchDebugConfiguration.txt
-rw-r--r--  1 rolf  staff        8 Oct 19 19:28 bin/iPhone/Debug/helloworld.app/PkgInfo
+ find bin/iPhone/Release/helloworld.app -type f
+ xargs ls -laS
-rwxr-xr-x  1 rolf  staff  3547968 Oct 19 19:26 bin/iPhone/Release/helloworld.app/helloworld
-rw-r--r--  1 rolf  staff   515584 Oct 19 19:26 bin/iPhone/Release/helloworld.app/mscorlib.dll
-rw-r--r--  1 rolf  staff   363216 Oct 19 19:26 bin/iPhone/Release/helloworld.app/mscorlib.aotdata.arm64
-rw-r--r--  1 rolf  staff   157184 Oct 19 19:26 bin/iPhone/Release/helloworld.app/Xamarin.iOS.dll
-rw-r--r--  1 rolf  staff    79672 Oct 19 19:26 bin/iPhone/Release/helloworld.app/Xamarin.iOS.aotdata.arm64
-rw-r--r--  1 rolf  staff     8196 Oct 19 19:26 bin/iPhone/Release/helloworld.app/embedded.mobileprovision
-rw-r--r--  1 rolf  staff     4959 Oct 19 19:26 bin/iPhone/Release/helloworld.app/_CodeSignature/CodeResources
-rw-r--r--  1 rolf  staff     4096 Oct 19 19:26 bin/iPhone/Release/helloworld.app/helloworld.exe
-rw-r--r--  1 rolf  staff     1336 Oct 19 19:26 bin/iPhone/Release/helloworld.app/helloworld.aotdata.arm64
-rw-r--r--  1 rolf  staff      890 Oct 19 19:26 bin/iPhone/Release/helloworld.app/Info.plist
-rw-r--r--  1 rolf  staff      382 Oct 19 19:26 bin/iPhone/Release/helloworld.app/archived-expanded-entitlements.xcent
-rw-r--r--  1 rolf  staff      159 Oct 19 19:26 bin/iPhone/Release/helloworld.app/NOTICE
-rw-r--r--  1 rolf  staff        8 Oct 19 19:26 bin/iPhone/Release/helloworld.app/PkgInfo
```

Difference
----------

Byte count difference:

```
bin/iPhone/Debug/helloworld.app:   -31.451 bytes
bin/iPhone/Release/helloworld.app: -22.976 bytes
```
2017-10-25 15:01:06 +02:00
Sebastien Pouliot 584da1da18 [uikit] UIAccessibility.RequestGuidedAccessSession completion handler is an ObjC block. Fix #59196 (#2917)
Reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=59196
2017-10-24 16:47:10 -04:00
Sebastien Pouliot 523e95182e [foundation] Fix DateTime from NSDate seconds (decimal) precision loss when converting. Fix #32022 (#2916)
The explicit operator did all it's math using `long` (the internal
representation for DateTime) so the fractional part of the NSDate was
lost. E.g.

> original:  530499149.239266
> roundtrip: 530499149.0

However even when using `double` computations we're still losing some
precision - parts just can be held in the `long` (Ticks) representation
of DateTime.

> original:  530499149.239266
> roundtrip: 530499149.23927

Reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=32022
2017-10-24 10:54:17 -04:00
Rolf Bjarne Kvinge 996d90614b [linker] Handle ParameterInfos preserved from XML definitions. Fixes #60176. (#2915)
Don't assume that a marked method has a caller, since a method can be marked
from XML as well.

This fixes a NullReferenceException:

> error : Could not link assemblies.
>  	Type: `System.Reflection.RuntimeParameterInfo`
>  	Assembly: `mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e`
>  Reason: Object reference not set to an instance of an object
>  --- inner exception
>  System.NullReferenceException: Object reference not set to an instance of an object (Aufgaben-ID: 165)
>    at MonoTouch.Tuner.MonoTouchMarkStep.MarkMethod (Mono.Cecil.MethodReference reference) [0x0004f] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/MonoTouch.Tuner/MonoTouchMarkStep.cs:105
>    at Mono.Linker.Steps.MarkStep.MarkMethodCollection (System.Collections.IEnumerable methods) [0x00017] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/external/linker/linker/Mono.Linker.Steps/MarkStep.cs:1163
>    at Mono.Linker.Steps.MarkStep.MarkMethods (Mono.Cecil.TypeDefinition type) [0x0000b] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/external/linker/linker/Mono.Linker.Steps/MarkStep.cs:1157
>    at Xamarin.Linker.Steps.MobileMarkStep.MarkMethods (Mono.Cecil.TypeDefinition type) [0x0000b] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/MobileMarkStep.cs:123
>    at Mono.Linker.Steps.MarkStep.ApplyPreserveInfo (Mono.Cecil.TypeDefinition type) [0x0004a] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/external/linker/linker/Mono.Linker.Steps/MarkStep.cs:1102
>    at Mono.Linker.Steps.MarkStep.MarkType (Mono.Cecil.TypeReference reference) [0x001ee] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/external/linker/linker/Mono.Linker.Steps/MarkStep.cs:607
>    at Xamarin.Linker.Steps.MobileMarkStep.MarkType (Mono.Cecil.TypeReference reference) [0x00001] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/MobileMarkStep.cs:71
>    at Xamarin.Linker.Steps.CoreMarkStep.MarkType (Mono.Cecil.TypeReference reference) [0x00046] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/CoreMarkStep.cs:156
>    at MonoTouch.Tuner.MonoTouchMarkStep.MarkType (Mono.Cecil.TypeReference reference) [0x00001] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/MonoTouch.Tuner/MonoTouchMarkStep.cs:84
>    at Mono.Linker.Steps.MarkStep.MarkType (Mono.Cecil.TypeReference reference) [0x0007d] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/external/linker/linker/Mono.Linker.Steps/MarkStep.cs:566
>    at Xamarin.Linker.Steps.MobileMarkStep.MarkType (Mono.Cecil.TypeReference reference) [0x00001] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/MobileMarkStep.cs:71
>    at Xamarin.Linker.Steps.CoreMarkStep.MarkType (Mono.Cecil.TypeReference reference) [0x00046] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/CoreMarkStep.cs:156
>    at MonoTouch.Tuner.MonoTouchMarkStep.MarkType (Mono.Cecil.TypeReference reference) [0x00001] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/MonoTouch.Tuner/MonoTouchMarkStep.cs:84
>    at Mono.Linker.Steps.MarkStep.InitializeType (Mono.Cecil.TypeDefinition type) [0x0005b] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/external/linker/linker/Mono.Linker.Steps/MarkStep.cs:94
>    at Mono.Linker.Steps.MarkStep.InitializeAssembly (Mono.Cecil.AssemblyDefinition assembly) [0x00025] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/external/linker/linker/Mono.Linker.Steps/MarkStep.cs:81
>    at Mono.Linker.Steps.MarkStep.Initialize () [0x00016] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/external/linker/linker/Mono.Linker.Steps/MarkStep.cs:73
>    at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x00008] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/external/linker/linker/Mono.Linker.Steps/MarkStep.cs:66
>    at Xamarin.Linker.Steps.MobileMarkStep.Process (Mono.Linker.LinkContext context) [0x00001] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/MobileMarkStep.cs:33
>    at Xamarin.Linker.Steps.CoreMarkStep.Process (Mono.Linker.LinkContext context) [0x00017] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/CoreMarkStep.cs:26
>    at MonoTouch.Tuner.MonoTouchMarkStep.Process (Mono.Linker.LinkContext context) [0x0001d] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/linker/MonoTouch.Tuner/MonoTouchMarkStep.cs:36
>    at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00023] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/external/linker/linker/Mono.Linker/Pipeline.cs:128
>    at MonoTouch.Tuner.Linker.Process (MonoTouch.Tuner.LinkerOptions options, MonoTouch.Tuner.MonoTouchLinkContext& context, System.Collections.Generic.List`1[Mono.Cecil.AssemblyDefinition]& assemblies) [0x000e0] in /Users/builder/data/lanes/5481/2f8bbec0/source/xamarin-macios/tools/mtouch/Tuning.cs:82

https://bugzilla.xamarin.com/show_bug.cgi?id=60176
2017-10-24 10:57:17 +02:00
Timothy Risi 27741b636c [macOS] Fix Introspection and API tests (#2891) 2017-10-23 11:22:17 -08:00
Timothy Risi 531bafcfaa [MetalPerformanceShaders] Activate bindings for Xamarin.Mac and add n… (#2816) 2017-10-23 11:16:38 -08:00
Chris Hamons 91ded43b0b [macos] Fix pdb mismatch when saving assemblies processed by mmp (#2901)
- https://bugzilla.xamarin.com/show_bug.cgi?id=60277
- Teach mmp and mtouch resolver to always ask for symbol reading from Cecil
- In most cases we explicitly load symbols (LoadReferencesStep) but when we don't rewritten assemblies don't match their pdb and we break debugging.
2017-10-23 12:52:14 -05:00
Chris Hamons bbccd445fe [macos][mmp] Update mmp's help to note registrar and fix aot mistake (#2913)
- https://bugzilla.xamarin.com/show_bug.cgi?id=60294
2017-10-20 15:42:14 -05:00
Chris Hamons cdffea44b9 [macos] Fix guiunit error on clean builds by depending on correct copy (#2912)
* [macos] Fix guiunit error on clean builds by depending on correct copy

- From a clean build making a BCL test would error due to the non-mobile guiunit not being built
- This was because the Makefile-mac.inc target was incorrect
- This was because xharness assumed that non variation based targets were always Modern
- However, BCL tests are Full, not Modern

* Code review change

* Swap to var to reduce diff
2017-10-20 17:14:02 +02:00
Alex Soto 2f9a6ca4cd [CoreVideo] Adds API bindings from Xcode 9 Beta 1 to stable (#2902)
* [CoreViceo] Adds API bindings from Xcode 9 Beta 1 to stable

* implement feedback

* adds tests

* exclude watchos from Metal tests
2017-10-19 14:27:32 -05:00
Rolf Bjarne Kvinge 531ae21ab8 [xtro-sharpie] Update README to explain how to install ObjectiveSharpie. (#2909) 2017-10-19 14:25:24 -05:00
Rolf Bjarne Kvinge a7f37301b0 Bump max VSfM version to 7.4 (d15-6). (#2907) 2017-10-19 14:24:35 -05:00
Rolf Bjarne Kvinge 8d1ebd48e5 [xharness] Fix clearing simulator state. Fixes #60229 and #58951. (#2904)
Fix clearing the simulator state by properly finding the correct simulators
from tasks that will actually run, and not from potentially ignored/failed
tasks (which won't have necessarily simulators).

https://bugzilla.xamarin.com/show_bug.cgi?id=58951
https://bugzilla.xamarin.com/show_bug.cgi?id=60229
2017-10-19 17:50:35 +02:00
Rolf Bjarne Kvinge a9f43837da Bump maccore to get better error reporting in mlaunch. (#2908)
commit xamarin/maccore@9b9dd1c752
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Thu Oct 19 11:04:50 2017 +0200

    Bump maciostools to get better error reporting in mlaunch.

    commit xamarin/maciostools@4967539783
    Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
    Date:   Thu Oct 19 10:45:27 2017 +0200

        [Xamarin.Hosting] Be a bit more defensive with nulls when something goes wrong to try to get helpful error messages instead of NREs.
2017-10-19 12:24:15 +02:00