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

9694 Коммитов

Автор SHA1 Сообщение Дата
Manuel de la Pena ea0071823d
[Main] Bring all Xcode 12.2 changes to main. 2020-11-18 21:45:09 -05:00
Rolf Bjarne Kvinge 3ed6d978d5 [msbuild] Make sure '_AppContentsPath' is set for extension projects as well.
The '_GenerateBundleName' target is defined separately for normal projects and
extension projects, and only one of the was updated in a previous refactoring.
2020-11-18 22:16:09 +01:00
Rolf Bjarne Kvinge 7bc5e36f1e [msbuild] Fix codesign arguments for hardened runtime. 2020-11-18 22:02:28 +01:00
Rolf Bjarne Kvinge 6a726517b4
[msbuild] Stop allowing a watch family for iOS apps. (#10110)
A Watch family is no longer valid for an iOS app because we don't support
watchOS 1 anymore.
2020-11-18 17:57:32 +01:00
Manuel de la Pena f340fb92a3 Merge branch 'main' into main-xcode12.2 2020-11-18 11:45:50 -05:00
Manuel de la Pena 15a3060d65 [Tests] Fix msbuild tests after the test API changed. 2020-11-18 10:26:35 -05:00
Rolf Bjarne Kvinge f555c9656b
[jenkins] Clean more Xcodes. (#10102) 2020-11-18 12:18:53 +01:00
Manuel de la Pena 59748f187b
[Maccore] Bump maccore to remove old not needed code. (#10105)
The maccore lib dependency was a problem for governance checks. Also
removes the roslyn analyzer code.

Commits:

* [Deps] Remove Ionic.Zip. Is not needed and gives governance issues. (#8c98216) 8c98216efd
* Remove roslyn-analyzers files (#2149) 8c98216efd

Full diff: f490737c8e..6c3fe624a9
2020-11-17 18:36:39 -05:00
Manuel de la Pena 79e910f34e [APIDiff] Update api diff. 2020-11-17 15:23:41 -05:00
Manuel de la Pena f6010bee10 [AVFoundation] Fix merge issue. 2020-11-17 15:16:58 -05:00
Manuel de la Pena 6a7c1b32ac [Carplay] Remove not needed API that was added and remove. 2020-11-17 14:50:57 -05:00
Manuel de la Pena 999ddda01b [Xtro] Update xtro ignore files with the new mac os x bindings. 2020-11-17 12:07:19 -05:00
Manuel de la Pena 54f60948d6 [ApiTests] Add missing dot.
Co-authored-by: Sebastien Pouliot <sebastien.pouliot@microsoft.com>
2020-11-17 11:16:20 -05:00
Manuel de la Pena a810f6954a [Security] Fix some tests after the bump to NUnitlite. 2020-11-17 11:14:04 -05:00
Manuel de la Pena 0f7bc75e50 Merge branch 'xcode12.2' into main-xcode12.2 2020-11-17 11:09:15 -05:00
Manuel de la Pena 3cc861d6a8
[Maccore] Bump maccore to fix governance issues. (#10101)
Commits:

* Insert keychain into search list without overwriting other keychains 243810037e
* Fix working in comment 243810037e
* Insert login keychain without overwriting other keychains in the search 7e6beed1d0
* Merge pull request #2332 from xamarin/yaml-pipeline-device-tests 7e6beed1d0
* Avoid adding duplicate keychains to keychain list (#2333) 7e6beed1d0
* [Governance] Fix some small polycheck issues. 51bea51d06
* [Governance] Fix some small polycheck issues. f490737c8e

Full diff: 6a86f16e0f..f490737c8e
2020-11-17 09:28:47 -05:00
Manuel de la Pena b949a93c40
[fileprovider] Fix breaking change (#10099)
Co-authored-by: Sebastien Pouliot <sebastien.pouliot@microsoft.com>
2020-11-16 16:47:27 -05:00
Manuel de la Pena 13567cc11a
[VSMac] Bump max version to current stable. (#10092) 2020-11-13 16:07:24 -05:00
Přemek Vysoký 0fba63cdc7
[xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
Chris Hamons c2697b1bf3
Update CODEOWNERS. 👋 (#10090) 2020-11-13 09:20:14 -06:00
Sebastien Pouliot d4fb41b172
[tests] Update framework tests not to embed/zip the native binaries (#10073)
Manually added `NoBindingEmbedding` to bindings .csproj and removed
`[LinkWith]` attributes.

Also added support for NativeReference to harness and updated the
workaround for watchOS (since it can't link against ModelIO)

Fixed/adapted unit tests wrt change
2020-11-11 12:00:48 -05:00
Rolf Bjarne Kvinge cd362f8ffa
[msbuild] Remove unnecessary properties in Xamarin.Mac.Common.targets. (#10080)
The _ACTool_PartialAppManifestCache and _ACTool_BundleResourceCache are
duplicated (merge conflict resolution failure?), and also already present in
Xamarin.Shared.targets, so just remove these definitions.
2020-11-11 11:06:42 +01:00
Rolf Bjarne Kvinge bbc81dd80c
[dotnet] We're not doing anything with regards to the http handler, so we won't have a runtime-options.plist. (#10083) 2020-11-11 07:43:49 +01:00
Rolf Bjarne Kvinge d0d0a3dd93
[dotnet-linker] Remove AssemblyResolver.cs from the project, it's not needed. (#10081) 2020-11-11 07:42:34 +01:00
Rolf Bjarne Kvinge 9ada363d10
[mmp] Fix build. (#10082)
This broke in 59bc3c16ab, and wasn't caught because the Xamarin.Mac build is disabled.
2020-11-10 17:20:23 +01:00
Rolf Bjarne Kvinge 59bc3c16ab
[tools] Add all our product constants to SdkVersions.cs and use them in dotnet-linker. (#10065)
Also, the correct constants to use is now determined by current platform in the Application
instance, instead of a constant value.
2020-11-10 14:21:47 +01:00
Rolf Bjarne Kvinge db23ca881a
[dotnet] Add _CreateDebugSettings, _CreateDebugConfiguration and _CreatePkgInfo to the targets we run on app creation. (#10061) 2020-11-10 13:44:26 +01:00
Rolf Bjarne Kvinge ac36750f49
[tests] Add a tvOS version of the dotnet introspection test project. (#10066)
* [tests] Move the dotnet introspection test project to a new test directory.

A tvOS project will come soon too, this makes the separation nicer.

* [tests] Add a tvOS version of the dotnet introspection test project.
2020-11-10 13:44:05 +01:00
Rolf Bjarne Kvinge 90d43ab86d
[mmp] Fix link path for Stripper.cs (#10062)
This makes the file show up in the right place (together with other files from
the tools/mtouch directory) in the solution explorer in VSMac.
2020-11-10 08:27:51 +01:00
Rolf Bjarne Kvinge 390b9e4b83
[dotnet-linker] Improve error reporting (#10064)
Improve error reporting in dotnet-linker by not requiring an instance of a LinkerConfiguration
to report errors. This is accomplished by making the LinkerConfiguration.Report method
a static method.

Otherwise reporting errors before we've successfully created a LinkerConfiguration
turns out to be troublesome (we end up throwing another exception, usually a NullReferenceException,
which is just confusing).
2020-11-10 08:27:28 +01:00
Alex Soto 42bec7dfa0
[mono] Bump mono to match android (#10069)
New commits in mono/mono:

* mono/mono@ac596375c7 Add support for OP_FCONV_TO_I to mini-arm64.c. (#20548)
* mono/mono@392fe5b87b [2020-02][watchOS] Add simwatch64 support (#20552)
* mono/mono@a22ed3f094 Fix potential crash for Encoder.Convert (#20522)
* mono/mono@970783731f Bump to F# 5.0 (#20511)
* mono/mono@32ab5066f7 Bump msbuild to fix a build issue
* mono/mono@93a7fe77e8 Ensure special static slots respect alignment. (#20506)
* mono/mono@3db5b35841 [debugger] Switch to GC Unsafe in signal handler callbacks (#20495)
* mono/mono@af315f44c4 [2020-02][corlib] ThreadAbortException protection for ArraySortHelper (#20468)

Diff: ca11fb0fd8..ac596375c7
2020-11-09 11:16:25 -05:00
Sebastien Pouliot 61cb18be6c
Bump Xcode 12.2 to RC (#10060)
Both xtro and intro looks fine locally, no update required.
2020-11-06 10:12:06 -05:00
Rolf Bjarne Kvinge 8b76cf4735
[dotnet] Fix MSBuild syntax. (#10055)
For some reason .NET 6 does not like spaces in certain places:

    MSB4259: Unexpected space at position "32" of condition [...]

So just remove them.
2020-11-06 14:01:19 +01:00
Rolf Bjarne Kvinge 06cd5722cc
[msbuild] Add SceneKit assets to our items included by default. (#10053) 2020-11-06 08:11:25 +01:00
Sebastien Pouliot 7db9e66d87
[tests] Disable XM samples that use QTKit, ibtool won't compile their nib anymore (#10057) 2020-11-05 13:24:27 -05:00
monojenkins f7b13c49f2
[tests] Bump sampletester hashes to pick up fixes (#10054) 2020-11-05 11:32:05 -05:00
Manuel de la Pena dcfc6467fa
[Makefile] Respect the configuration of dotnet after the make clean. (#10045) 2020-11-05 09:58:15 -05:00
Rolf Bjarne Kvinge 0def89604d
[msbuild] Add Metal files to our items included by default. (#10049) 2020-11-05 15:36:36 +01:00
Rolf Bjarne Kvinge 6fcf25ffd4
[msbuild] Share targets related to Collada assets. (#10050) 2020-11-05 15:10:19 +01:00
Rolf Bjarne Kvinge 8aa53ba943
[dotnet] Add app extension targets to our list of stuff to do during the build. (#10044)
That makes app extensions build in dotnet.

This required adding a RuntimeIdentifier property to all the extension test
projects.
2020-11-05 08:34:29 +01:00
Rolf Bjarne Kvinge 1c6cd0b439
[tests] Re-enable the ReleaseBuild.RebuildTest, since we're using msbuild exclusively now. (#10041)
This test also required a few changes to pass.
2020-11-05 08:24:50 +01:00
Sebastien Pouliot 505b6c659a
[generator] Remove generated availability attribute duplicates (and some incorrect ones) (#9866) 2020-11-04 14:12:05 -05:00
TJ Lambert c67a2d076c
[msbuild] Adding W0111 Translations (#10022)
Updating msbuild localization string translation for error code W0111
2020-11-04 09:55:06 -06:00
Rolf Bjarne Kvinge e7dd367125
[msbuild] Add CoreML models to our items included by default. (#10038) 2020-11-04 16:01:43 +01:00
Rolf Bjarne Kvinge 354beec69c
[msbuild] Share the app extensions targets between iOS and Mac. (#10039)
* Share the following targets:

    * _ResolveAppExtensionReferences
    * _SplitAppExtensionReferencesByExistent
    * _AssignAppExtensionConfiguration
    * _SeparateAppExtensionReferences
    * _CopyAppExtensionsToBundle

The first four were pretty much identical between iOS and Mac already, and
needed very few changes.

The latter, _CopyAppExtensionsToBundle, required a little bit of tweaking to
the targets to make sure it works for both iOS and Mac:

* Removed the conditions on the Ditto task to check if we have app extensions
  - this is unnecessary because Inputs/Outputs on the target itself (which
  weren't there when the Ditto task conditions were written).
* Added a '_PlaceAppExtensions' target that calculates where in the
  container's app bundle extensions should be placed (the '_AppExtensionRoot'
  property), and the name of the containing folder (the 'ContainerName'
  metadata).
2020-11-04 15:39:02 +01:00
Rolf Bjarne Kvinge 32f360ed42
[tests] Re-enable an that requires msbuild (as opposed to xbuild). (#10040)
Since we're using msbuild exclusively now.
2020-11-04 15:19:05 +01:00
Sebastien Pouliot 9eeeb5c512
[tests] Bump sampletester hashes to pick up fixes (#10020) 2020-11-04 09:01:47 -05:00
juliuszint 3a1a7d4e77
Generate default compilation includes for pdf image assets. (#10018)
iOS and macOS have support to generate image assets for various
resolutions from vector based PDF files. These files should be included by
default for SDK-Style projects.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-11-04 09:00:06 +01:00
Rolf Bjarne Kvinge 781bc851a5
[dotnet] Add atlas textures to the our items included by default. (#9995) 2020-11-04 08:40:16 +01:00
Manuel de la Pena 738b237355
[VSTS] Remove the UI prompt ASAP. (#10034)
Using provisionator could result in the UI prompt being shown which will
make the pipeline hang until there is human interaction.

Move the step to be one of the first ones to ensure provisionator does
not get stuck.
2020-11-03 18:32:32 -05:00