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

4110 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 50a35d2a88
Bump mono to get fix for mono/mono#7364. (#3706)
Commit list for mono/mono:

* mono/mono@266326d7c2 Move the check for open constructed types later in mono_jit_compile_method_with_opt (), this function can receive gshared methods in llvmonly mode. (#7505)
* mono/mono@89cc3619d5 Use runtime template for iOS
* mono/mono@05453b1c80 Use runtime template for Android
* mono/mono@0938bbc98c Create common runtime compilation template
* mono/mono@c06eb62b14 Have RELEASE be empty when CONFIGURATION != 'release'
* mono/mono@0fb02c88cd Move common targets
* mono/mono@d4aa545f56 [metadata] An array is not an IEnumerator`1
* mono/mono@ff7f5576d2 [test] An array is not an IEnumerator`1
* mono/mono@d5d67eab6a [metadata] Add IEnumerator`1 to MonoDefaults struct
* mono/mono@15d76bf5e2 Revert "[profiler] Correctly encode counter type/unit/variance values."
* mono/mono@f3ac8fdeb3 Fix for gcc 4.4; nominal support for older. attribute(deprecated(message)) was introduced in gcc 4.5. attribute(deprecated) was introduced in gcc 4.0? pragma GCC diagnostic 4.2? https://github.com/mono/mono/issues/7408 (#7436)
* mono/mono@1f48672a90 Fixes decoding of CMS/PKCS #7 messages with an explicit cryptographic object identifier

Diff: becded2606...266326d7c2
2018-03-09 15:30:30 +01:00
Alex Soto fc5f57ed8c
[monotouch-test] Enchance MidiThruConnectionTests.FindTest from #3696 comments (#3700) 2018-03-08 12:51:21 -06:00
Rolf Bjarne Kvinge 8faec078d0
Fix maccore bump hash. (#3699)
Commit list for xamarin/maccore:

* xamarin/maccore@4505cd6f02 Bump maciostools to get mlaunch fixes. (#667)
* xamarin/maccore@4b0ac89faa Merge pull request #668 from xamarin/ts-closures
* xamarin/maccore@243e063b43 Changed unit tests to use [TestCase()] - thanks, Chris!
* xamarin/maccore@2cd35b93f1 Added support for non-escaping closures.

Diff: 689fae7440...4505cd6f02
2018-03-08 17:30:19 +01:00
Rolf Bjarne Kvinge 31a37a0407
Bump maccore to get mlaunch fix. (#3697)
Commit list for xamarin/maccore:

* xamarin/maccore@aa77d5e811 Bump maciostools to get mlaunch fixes.
* xamarin/maccore@0d74e34e16 Merge pull request #659 from xamarin/ts-swift4mangling
* xamarin/maccore@5135e9dd60 Reformatted an exception, switched to Ordinal string comparisons where it makes sense (everywhere, as it turns out).
* xamarin/maccore@40d676bf96 Updates for PR: formatting, names, obsolete comments addressed.
* xamarin/maccore@9751df85ca Updated for swift4 support - major changes include new name demangling, new demangled name -> SwiftType conversion, updated pinvokes, ABI changes.

Diff: 689fae7440...aa77d5e811
2018-03-08 17:15:09 +01:00
Alex Soto 4d51294bdf [monotouch-test] Stop MidiThruConnectionTests.FindTest from randomly failing (#3696)
Fixes xamarin/maccore#658

When a MidiThruConnection is created but for some reason is not disposed
the system keeps it alive even between app/simulator restarts, if you want
to clean the connections you must reset contents and settings from simulator.

In order to avoid this test from failing randomly and since the intent of the
test is to check if `MidiThruConnection.Find` works we change the assert to
`>= 2` since this is at least the number of connections we expect.
2018-03-08 07:33:13 +01:00
Rolf Bjarne Kvinge bb2041e5ce
[tests] Don't try to compile the Main function in F# extensions. (#3683)
The F# compiler complains that:

    /Users/xamarinqa/vsts/_work/52/s/tests/fsharp/Main.fs(13,9): error FS0433: A function labeled with the 'EntryPointAttribute' attribute must be the last declaration in the last file in the compilation sequence.

Main.fs is the last file in the project file, but the MSBuild tasks adds
another one at the end:

    obj/iPhone/Debug64-today-extension/Xamarin.iOS,Version=v1.0.AssemblyAttribute.fs

because we're building a library (in which case the MSBuild tasks assume that
there won't be any Main functions in the project, and as such it's safe to
append files to compile).

Work around this by excluding the Main function from F# extensions, it's not
needed anyway.
2018-03-07 22:13:13 +01:00
Chris Hamons 2ebfda5476
Fix missing [NullAllowed] on NSWindow.FieldEditor
- https://github.com/xamarin/xamarin-macios/issues/3686
2018-03-07 14:37:21 -06:00
Rolf Bjarne Kvinge 636b2547c5
[xharness] Detect launch failures better and report them as such. (#3682) 2018-03-07 14:48:24 +01:00
Eberhard Beilharz 78583313eb Fix download path for mono (#3681) 2018-03-07 14:46:59 +01:00
mdbech 933ab0d70a [security] Strongly typed key generation (#3502)
* [security] Modifying structure of bindings

Added strong dictionary for key generation according to
https://developer.apple.com/documentation/security/certificate_key_and_trust_services/keys/key_generation_attributes
in preparation making a strongly typed key generation possible.

* Making strong dictionary and composite of other strong dictionaries.

* Implementing access control as property type of SecPublicPrivateKeyAttrs.

* Adding new overload for SecKey.CreateRandomKey.

* Moving TokenID to strongly typed property.

* Fix coding style + use nameof

* Fixing Xcode version assertion of key generation tests.

* Fixing errors in test case.

* Fixing whitespace issue.

* Resolving inheritance issue

Removing inheritance between SecKeyGenerationParameters and
SecPublicPrivateKeyAttrs and instead add the necessary properties
to SecKeyGenerationParameters. Adds redundant code, but I don't
see a way around it.

* Moving test case to appropriate test class.

* Creating necessary strong dictionaries for key generation.

* [formatting] Mono coding guidelines

Make sure you're following http://www.mono-project.com/community/contributing/coding-guidelines/
In VSMac: Preferences > Source Code > Code Formatting > C# source code > Policy Mono.

* Remove [Advice] that are specific to GenerateKeyPair

`SecKeyGenerationParameters` and `SecKeyParameters` cannot be used for `GenerateKeyPair`.

* Clarify 'ArgumentException' for invalid 'SecKeyType'

* Fixed CreateRandomKeyTest

- Renamed CreateRandomKeyWithParametersTests to CreateRandomKeyTest.
- Add messages to all asserts.

```
keyGenerationParameters = new SecKeyGenerationParameters ();
keyGenerationParameters.KeyType = SecKeyType.Invalid;
Assert.Throws<ArgumentException> (() => { SecKey.CreateRandomKey (keyGenerationParameters, out _); }, "CreateRandomKey - invalid key type");
```
- ^ didn't work because `SecKeyGenerationParameters`'s setter protects against invalid. There's no constant for invalid so null is returned.

```
Assert.That (SecKey.CreateRandomKey (keyGenerationParameters, out _), Is.EqualTo (SecStatusCode.Param), "CreateRandomKey - Param issue, invalid RSA key size");
```
- ^ `SecKey.CreateRandomKey` doesn't return a `SecStatusCode` like `GenerateKeyPair`.

* Fixes based on spouliot's input.

* Mono styling fix.
2018-03-06 15:25:50 -05:00
Rolf Bjarne Kvinge 796a2ae71c
Bump mono to get fix for xamarin/maccore#629. (#3669)
Fixes https://github.com/xamarin/maccore/issues/629.

Commit list for mono/mono:

* mono/mono@becded2606 [2017-12] [corlib] Ignore TimeZoneTest.TestCtors on iOS under certain conditions due to an Apple bug. (#7427)
* mono/mono@d21cb0853b Don't throw NotImplementedException in Dispose()
* mono/mono@f7f359a2dd IOS SDK fixes. (#7417)
* mono/mono@607cbde47a Reenable HttpRequestIgnoreBadCookies in monotouch. (#7392)
* mono/mono@85fb6bce10 [appdomain] Fix path clobbering when trying to shadow copy siblings
* mono/mono@78136c4a90 Use attribute(deprecated) instead of attribute(error). (#7370)
* mono/mono@b4c45099fb [sdks] Add watch device build.
* mono/mono@70837feda9 [sdks] Add watch simulator build.
* mono/mono@c2728d29f7 [sdks] Add tv simulator build.
* mono/mono@54b2e194f3 [runtime] Don't assert in mono_class_is_assignable_from on iface gtd
* mono/mono@10f1f84138 [test] System.Type.IsAssignableFrom of gtd array special interfaces.
* mono/mono@e1ff841329 [ci] Consistently use CI_TAGS instead of label (#6782)
* mono/mono@46912f8f80 Fix errors in cpu-s390x.md which are exposed by the new genmdesc. (#7323)
* mono/mono@3f4f070d3d disable test_42_arm64_dyncall_vtypebyval

Diff: 331f927bfe...becded2606
2018-03-06 17:43:04 +01:00
Vincent Dondain 97ef51bf8b
[msbuild] Use a response file in 'MTouchTaskBase' (#3635)
The main cause of the warning: "warning MSB6002: The command-line for the 'MTouch' task is too long" was the number of references that can be passed to `mtouch`.
Now all the arguments are written in a response file which in turn is passed to `mtouch`.

- Fixes bug #56501: MSB6002 command-line for MTouch task is too long, > 32000 characters
(https://bugzilla.xamarin.com/show_bug.cgi?id=56501)
- The response file is created in the device specific folder, as `response-file.rsp`. It is re-created every time.
- Added an msbuild test to ensure the response file is created by `GenerateCommandLineCommands` and that it includes all the references.
- Introduce `AddLine` and `AddQuotedLine` which we use to populate the response file (and go to the next line).
- Move to C# 7 syntax for string replacement.
- Update all tests in `MTouchTaskTests` to use the response file since the arguments are no longer passed directly to `mtouch`.
- Update MT0018's documentation for response files.
2018-03-05 11:59:53 -05:00
Rolf Bjarne Kvinge 5fc4fc66af
[registrar] Don't throw NRE when finding methods that almost implement optional protocol members. (#3658)
If a class implements a protocol with optional members, and that class also exports methods whose selectors match an optional member, but the signature doesn't match, we must show a useful warning instead of erroring out due to a NullReferenceException.

Fixes this:

    System.NullReferenceException: Object reference not set to an instance of an object
      at Registrar.StaticRegistrar.GetBlockProxyAttributeMethod (Mono.Cecil.MethodDefinition method, System.Int32 parameter) [0x00001] in /Users/builder/data/lanes/1381/9de35b83/source/xamarin-macios/tools/common/StaticRegistrar.cs:4113
      at Registrar.StaticRegistrar.GetBlockWrapperCreator (Registrar.Registrar+ObjCMethod obj_method, System.Int32 parameter) [0x001e1] in /Users/builder/data/lanes/1381/9de35b83/source/xamarin-macios/tools/common/StaticRegistrar.cs:4101
      at Registrar.StaticRegistrar.Specialize (Registrar.AutoIndentStringBuilder sb, Registrar.Registrar+ObjCMethod method, System.Collections.Generic.List`1[T] exceptions) [0x0216b] in /Users/builder/data/lanes/1381/9de35b83/source/xamarin-macios/tools/common/StaticRegistrar.cs:3683

when building the msbuild/tests/MyWatchKit2IntentsExtension project.
2018-03-05 15:26:16 +01:00
Rolf Bjarne Kvinge b112cd9e3b
[tests] Use NUnit.Runners v2.6.4 for the install sources tests. (#3645)
Since that's what all the other test suites that use NUnit v2 use, and it's
also what xharness expects (and tries to execute).

This fixes running these tests when other tests haven't already restored the
v2.6.4 nuget.
2018-03-05 14:54:56 +01:00
Rolf Bjarne Kvinge 08f98e9cf8
[xharness] Add UI to expand/collapse all tests. (#3657) 2018-03-05 14:53:14 +01:00
Rolf Bjarne Kvinge f7369e652c
[xharness] Don't try to reload every second, instead wait a second after each reload to reload again. (#3656)
If the browser is slow to update the page, reloading every second can overload the browser.
2018-03-05 14:52:59 +01:00
Rolf Bjarne Kvinge 9de35b835a [xharness] Only run the install source tests if we're including either Mac or Simulator tests. (#3648)
This means we won't be running these tests when running device tests (which is
not needed).
2018-03-02 15:17:36 -05:00
Marius Ungureanu d4d542d051 [MMP] Allow resolving assemblies to the ones passed in command line args (#3575)
* [MMP] Revert recursive search dirs changes
* [MMP] Allow resolving assemblies to the ones passed in command line args

This is what actually makes the MonoMacResolver actually resolve to
assemblies given as arguments.

This mirrors the behaviour of Pack, which is called on the other
code-path (that's not --runregistrar)

3113c5d2b5/tools/mmp/driver.cs (L513)
2018-03-02 12:59:25 -06:00
Rolf Bjarne Kvinge f3055ddd6d
[mtouch] Move native code sharing check for the remove-dynamic-registrar optimization until after checking the linker settings. (#3643)
Fixes this test failure:

1) Failed : Xamarin.MTouch.MT0113_linker
The error 'MT0113: Native code sharing has been disabled for the extension 'testServiceExtension' because the managed linker settings are different between the container app (None) and the extension (All).' was not found in the output:
	Message #1 did not match:
		actual:   'Native code sharing has been disabled for the extension 'testServiceExtension' because the remove-dynamic-registrar optimization differ between the container app (default) and the extension (false).'
		expected: 'Native code sharing has been disabled for the extension 'testServiceExtension' because the managed linker settings are different between the container app (None) and the extension (All).'

which happens because:

* Removing the dynamic registrar requires the linker, so removal of the dynamic registrar is disabled if the linker is not disabled
* This results in the app and appex having different values for the remove-dynamic-registrar option
* Thus the error message.

Technically either error is correct, but I prefer the previous one (about the
linker), because it directly assigns blame (the linker setting). Figuring out
what has to change (the linker setting) when the error message complains about
an optimization is not so straight forward for users.
2018-03-02 18:28:07 +01:00
Rolf Bjarne Kvinge b131a54be5
[static registrar] Optimize creation of delegates for blocks. (#3623)
* [static registrar] Optimize creation of delegates for blocks.

Optimize creation of delegates for blocks so that it doesn't require the
dynamic registrar.

This is done by getting the metadata token for the Create method that creates
the delegate, and embed that metadata token in the generated code from the
static registrar.

Also add tests, since this scenario was not covered by tests already.

* [mmptest] Fix test after recent changes.

* [test-libraries] Avoid duplicate symbols.

* [tests] Update according to changes.
2018-03-02 14:30:18 +01:00
Rolf Bjarne Kvinge 4be1cd723b
[runtime] Enable signal chaining for Xamarin.Mac apps. (#3631)
Reported in the forums: https://forums.xamarin.com/discussion/122594/xamarin-mac-signal-handling
2018-03-02 09:42:16 +01:00
Rolf Bjarne Kvinge a106cd7520
[mtouch] Bundle duplicated assemblies in the container app. Fixes #58873. (#3626)
Assemblies that satisfy all of these conditions:

* Are not in the container project.
* Are in multiple app extensions.

can (and should) be bundled in the container app.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=58873
2018-03-02 09:39:42 +01:00
Rolf Bjarne Kvinge aa9243f528
[introspection] Put type-based exception in the type-based switch. (#3636) 2018-03-02 09:38:53 +01:00
Rolf Bjarne Kvinge 3ce723e577
[ObjCRuntime] Fix error message to show the assembly name instead of a pointer to the assembly name. (#3625) 2018-03-02 09:38:01 +01:00
Rolf Bjarne Kvinge 699d3ed582
[tests] Don't run mmp regression tests in parallel. Fixes maccore #645. (#3638)
* [tests] Don't run mmp regression tests in parallel. Fixes maccore #645.

For some reason vstool becomes confused and starts erroring out if multiple
vstools are running at the same time.

So work around this by executing the MMP regression tests serialized.

Fixes https://github.com/xamarin/maccore/issues/645.

* [xharness] Upload the logs from the mmp regression tests.
2018-03-02 07:48:41 +01:00
Rolf Bjarne Kvinge 573c8ae30b Bump maccore to get a few mlaunch fixes. (#3628)
Commit list for xamarin/maccore:

* xamarin/maccore@689fae7440 Bump maciostools to get a few mlaunch fixes.

Diff: c76baed02b...689fae7440
2018-03-01 14:21:57 -05:00
Chris Hamons c9fac28a8f
Fixes for Embeddinator after header changes (#3607)
- Two locations in our runtime headers were unable to be compiled outside of ObjC++ (Embeddinator)
2018-03-01 11:04:01 -06:00
Rolf Bjarne Kvinge 6c1bdea375
[xharness] Improve html report by formatting newlines and tabs in test failure messages using corresponding html tags. (#3627)
* [xharness] Improve html report by formatting newlines and tabs in test failure messages using corresponding html tags.

* [xharness] Improve nunit test reporting in html report by creating a list of failures.
2018-03-01 17:20:19 +01:00
Chris Hamons ca4360116c
[mmp] Add stripping of 32-bit dylibs to work with new App Store restrictions (#3387)
- https://github.com/xamarin/xamarin-macios/issues/3367
- App Store will now fail builds if you add in a 32-bit dylib
- If you are a 32-bit app you don't need the 64-bit part of your fat
dylib anyway
- Add --optimize=-trim-architectures to allow customization of behavior, as not everyone
uses app store

In addition, while writing tests for this is was noticed that mmp tests did not "really" run Release configuration correctly in most cases. Fixing this turned out to be a bit of a pain, but necessary to correctly test this (and other things).

- Turns out that /p:configuration:debug is not sufficient to tell mmp to
do the right thing
- That, in most projects, sets the DebugSymbols property, which really
is what is checked.
- However, two of our projects did not have that, so we always did
release mmp work.
- Removed configuration property for tests and added real "Release"
configuration option
2018-03-01 09:36:06 -06:00
Matt Ward 78e966d7ee [Security] Fix not being able to change the authorization prompt (#3612)
When asking for user credentials it was not possible to change the
default authorization prompt message so the application name is used
by default. When running an application with Mono this will be
mono-sgen64 or mono-sgen32.

The prompt is now added to the environment authorization item set
passed to AuthorizationCreate. It was being passed as part of the
rights item set. This allows a custom message to be set in the
authorization dialog.
2018-03-01 09:33:30 -06:00
Rolf Bjarne Kvinge de15337f61
[mtouch] Propagate the computed value for removal of the dynamic registrar to code shared app extensions. (#3622)
This fixes a startup crash in code shared app extensions due to having the
wrong value set in the runtime (the dynamic registrar was removed, but the
executable didn't know it).
2018-03-01 14:59:54 +01:00
Rolf Bjarne Kvinge 1a49079ee4
[static registrar] Make sure to include frameworks for linked away protocol types as well. (#3617)
At some point the code wasn't able to figure out the framework for linked away
types (because linked away types don't know which assembly they belong to, and
thus we couldn't verify that the type in question was a platform type or not),
so I skipped checking the namespace for such types.

Some time later I implemented support for storing the assembly for a linked
away type separately, so that it can later be looked up, and thus it's not
necessary to exclude linked away types anymore.

This fixes a build problem with the generated registrar code (which happens
only if the INCWidgetProviding interface is linked away) when building the
linkall extension tests:

    /work/maccore/master/xamarin-macios/tests/xharness/tmp-test-dir/link all1894/obj/iPhone/Debug64-today-extension/mtouch-cache/registrar.h:319:51: error: no type or protocol named 'NCWidgetProviding'
    @interface TodayViewController : UIViewController<NCWidgetProviding> {
                                                      ^
2018-03-01 14:57:58 +01:00
Rolf Bjarne Kvinge d421caeb97
[tests] Run iOS extensions tests on device. (#3618) 2018-03-01 14:57:28 +01:00
Rolf Bjarne Kvinge 514a3de817
[runtime] Fix exception marshalling when the dynamic registrar is removed. (#3616)
This can be reproduced by running monotouch-test with all optimizations in
Debug mode (because some of the exception marshalling tests are only enabled
in debug mode), so add such a configuration to xharness. To avoid bloating PR
builds, this configuration is only enabled when running all tests (either
manually selecting all tests for a PR, or on Wrench, where everything is
always tested).
2018-02-28 22:28:06 +01:00
Rolf Bjarne Kvinge 7ddb263e7d
[xharness] Propagate custom defines to referenced projects as well. Fixes maccore #655. (#3615)
The ProtocolTest test is located in the bindings-test assembly, and it
requires certain conditional compilation defines to be set in order to behave
properly.

With this fix we correctly set these defines when cloning the bindings-test
project (in addition to when we set the defines for the main project, which is
either monotouch-test or linkall for this test).

Fixes https://github.com/xamarin/maccore/issues/655.
2018-02-28 21:55:26 +01:00
Sebastien Pouliot 27e757e45e [tests][macos] Fix AuthenticodeDeformatterTest.VerifySignedAssembly failure on modern. Fixes 3207 (#3603)
* [tests][macos] Fix AuthenticodeDeformatterTest.VerifySignedAssembly failure on modern. Fixes 3207

Modern does not, by default/design, ship a machine.config file. This
means it only knowns about the default crypto shipped with .NET.

That's a problem for MD2 for which some old certificates might still
exists in the computer store, like our wrench bots.

That's generally not a problem since XM apps delegate trust to macOS
except for one case: Authenticode.

So verifying an authenticode signature can end up, thru X509Chain,
loading a certificate using MD2 without knowing how to create the
digest algorithm - and fail.

The fix is to register the algorithm manually (if not found).

https://github.com/xamarin/xamarin-macios/issues/3207

* [tests] Only call CryptoConfig on XM modern builds and add a reference to Mono.Security.dll on such projects
2018-02-28 09:35:08 +01:00
Bernhard Urban bc509bd7f1 Bump mono and touchunit (#3610)
* Bump mono

Commit list for mono/mono:

* mono/mono@331f927bfe Bump nunitlite (#7276)
* mono/mono@da6a45a158 Check if we are exceeding the worker count limit
* mono/mono@21d6b331fc Ios sdk changes (#7258)
* mono/mono@e87d1235da Merge mxe-Win32 and mxe-Win64 targets since we are building both in XA anyway (#7280)
* mono/mono@b9fb4d8857 Bump bockbuild to get curl error changes
* mono/mono@b7031bccfc Emit the same instances in hybrid aot mode as in full aot mode.
* mono/mono@3538148a18 [2017-12] [xbuild] add property that is available in msbuild (#7224)
* mono/mono@947e457f0e [sdks] Instead of using a XCODE_VERSION variable, let the caller set the XCODE_DIR variable directly, since x.ios is using a full path. (#7111)
* mono/mono@7f0c97aa03 Bump bockbuild for https://github.com/mono/bockbuild/pull/62 (#7207)
* mono/mono@85cfb9ccab Disable partial sharing during JITting, its only been tested in full aot mode, and doesn't seem to work with JITted methods. Fixes https://github.com/mono/mono/issues/7085.
* mono/mono@22a6ec10b1 Add hybrid aot tests.
* mono/mono@454bd206aa Remove reflection calls for value has to be set

Diff: 4adf8229e8...331f927bfe

* Bump Touch.Unit

Commit list for spouliot/Touch.Unit:

* spouliot/Touch.Unit@1c41c75 Revert "[TouchRunner] do not use FinallyDelegate in Runner, because it requires remoting API to be available (#49)" (#50)

Diff: 4ac4e32500...1c41c75983
2018-02-28 09:33:23 +01:00
Joel Martinez 3bb0702a45 bump maccore for classic deprecation (#3591) 2018-02-27 15:34:20 +01:00
Rolf Bjarne Kvinge d973192c57
[xharness] All variants of GuiUnit projects must be special-cased. (#3602)
This fixes an issue where multiple copies of the GuiUnit project would have
the same output directory, causing random problems when building those
projects in parallel.
2018-02-27 10:28:42 +01:00
Rolf Bjarne Kvinge afb6c6cd62
[xharness] Always build the test libraries before doing anything else. (#3601)
Fixes an issue where multiple projects would try to build the test libraries simultaneously.
2018-02-27 07:43:51 +01:00
John Miller 2a29834ba2 Update README.md (#3587)
* Update README.md

New README layout which includes sections to help direct visitors to the appropriate areas.
Adds note about the license

* Adds Gitter Button

Back by popular demand!

* Fixes Vote link
2018-02-26 14:31:49 -05:00
Rolf Bjarne Kvinge bfa4c548ed
[tests] Fix ProtocolTest to work with in both monotouch-test and linkall. (#3598)
The [Protocol] attributes the test checks for are not linked away in
monotouch-test (because monotouch-test only links SDK assemblies), but they
are linked away in link all, so adjust the test accordingly.
2018-02-26 17:37:09 +01:00
Rolf Bjarne Kvinge 346051c5e3
[xharness] Don't try to execute an empty collection of tests. Fixes xamarin/maccore#600. (#3600)
Fixes https://github.com/xamarin/maccore/issues/600.
2018-02-26 17:36:05 +01:00
Rolf Bjarne Kvinge a2676ba064
[introspection] Don't process IKPictureTaker, it may crash at any time. (#3599)
See also https://bugzilla.xamarin.com/show_bug.cgi?id=46624, where the same
logic was applied to apitest.

Ref: https://trello.com/c/T6vkA2QF/62-29311598-ikpicturetaker-crashes-randomly-upon-deallocation?menu=filter&filter=corenfc
2018-02-26 17:31:41 +01:00
Bernhard Urban f5b860cf75 [system-dependencies] simplify mono version check (#3596) 2018-02-26 14:45:26 +01:00
Rolf Bjarne Kvinge 452aeaa59b
[src] Fix csc warnings. (#3589)
Now that we've switched to csc, we're also delighted to get new warnings 🎉

    ObjCRuntime/Blocks.cs(54,26): warning CS0649: Field 'XamarinBlockDescriptor.descriptor' is never assigned to, and will always have its default value
    AudioUnit/AudioUnit.cs(405,19): warning CS0649: Field 'AudioUnit.handle' is never assigned to, and will always have its default value
    ObjCRuntime/Blocks.cs(55,23): warning CS0649: Field 'XamarinBlockDescriptor.ref_count' is never assigned to, and will always have its default value 0
    ObjCRuntime/Blocks.cs(54,26): warning CS0649: Field 'XamarinBlockDescriptor.descriptor' is never assigned to, and will always have its default value
    AudioUnit/AudioUnit.cs(405,19): warning CS0649: Field 'AudioUnit.handle' is never assigned to, and will always have its default value
    ObjCRuntime/Blocks.cs(55,23): warning CS0649: Field 'XamarinBlockDescriptor.ref_count' is never assigned to, and will always have its default value 0

We're so delighted that we want them gone asap 😎
2018-02-26 07:46:32 +01:00
Rolf Bjarne Kvinge 0dd292f3d1
Bump maccore & macios-binaries to fix the documentation workflow. (#3571)
This should make the "test-docs" step on wrench pass again.

Commit list for xamarin/macios-binaries:

* xamarin/macios-binaries@e1e8bdf Add ios/compat version of core.dll and temp.dll from d15-5 for documentation workflow. (#7)
* xamarin/macios-binaries@e64e7ef Merge pull request #5 from timrisi/ClassicDocs
* xamarin/macios-binaries@3c92bb1 Remove .DS_Store files
* xamarin/macios-binaries@587623f Add classic docs

Diff: 93fb980b0e...e1e8bdf7a8

Commit list for xamarin/maccore:

* xamarin/maccore@1b5311781c [docs] Look for binary classic files in the right place. (#646)

Diff: 4872731c32...1b5311781c
2018-02-22 22:37:32 +01:00
Chris Hamons 040461ba0a
Warn when building 32-bit macOS applications (#3564)
- https://github.com/xamarin/xamarin-macios/issues/3325
2018-02-22 12:47:28 -06:00
Vincent Dondain 3b56d5e780
[modelio] MDLVoxelArray should have a base type of MDLObject (fix xtro) (#3563)
Moving the base type to `MDLObject` wasn't a breaking change on macOS.
There is no reason for the ifdef and xtro reports the issue correctly.
2018-02-22 12:25:18 -05:00
Chris Hamons 4ba4dfc813
Build with CSC instead of MCS (#3393)
- Improve error messages from install-source when crashing
2018-02-22 11:07:33 -06:00