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

5217 Коммитов

Автор SHA1 Сообщение Дата
Sebastien Pouliot 29f7fbadc7 [xtro][iads] Comment category/static members bound manually 2018-08-23 10:51:37 -04:00
Sebastien Pouliot 0dc94fd73c [gamekit] Ignore some additional (deprecated) API on watchOS 2018-08-23 10:44:13 -04:00
Sebastien Pouliot d0ecdc9c42 [corewlan] Add missing API found by xtro 2018-08-23 10:21:27 -04:00
Sebastien Pouliot 5adbf19400 [coreimage] Add missing API found by xtro 2018-08-23 09:47:05 -04:00
Vlad Brezae a49aff1eb8 Bump mono 2018-08-23 16:10:48 +03:00
Rolf Bjarne Kvinge 6c8847b863
[system-dependencies] Remove any cached files by xcodebuild before checking if first launch task needs executing. (#4681)
This is an additional fix for https://github.com/xamarin/maccore/issues/952.
2018-08-23 15:06:38 +02:00
Vlad Brezae cf205396ff Use same compile flags also for link
Linking can fail if the minimum versions are different
2018-08-23 16:04:13 +03:00
Vlad Brezae 24c69996af Reflect latest X509CertificateImpl changes 2018-08-23 16:01:50 +03:00
Rolf Bjarne Kvinge 759c3f22b4 [mtouch] Build using csproj instead of manual csc command. Partial fix for #4384.
* Make sure mtouch.csproj builds using the same compiler arguments as the makefile used.
* Build mtouch.exe using msbuild in the makefile, and clean up the resulting unused make logic.

Partial fix for https://github.com/xamarin/xamarin-macios/issues/4384.
2018-08-23 13:49:40 +02:00
Rolf Bjarne Kvinge 0d6c74e3d0 [mmp] Build using csproj instead of manual csc command. Partial fix for #4384.
* Make sure mmp.csproj builds using the same compiler arguments as the makefile used.
* Clean up mmp.csproj by removing stuff that was left over from when it was a Xamarin.Mac project.
* Build mmp.exe using msbuild in the makefile, and clean up the resulting unused make logic.

Partial fix for https://github.com/xamarin/xamarin-macios/issues/4384.
2018-08-23 13:49:40 +02:00
Rolf Bjarne Kvinge 3472a17b21 [generator] Build using csproj instead of manual csc command. Partial fix for #4384.
1. Put the source files into generator.csproj, and stop generating it.
2. Build bgen.exe using msbuild in the makefile.

Partial fix for https://github.com/xamarin/xamarin-macios/issues/4384.
2018-08-23 13:49:40 +02:00
Rolf Bjarne Kvinge 03075f1142 Add a tool that can list all inputs for a given csproj, and create a corresponding make variable. 2018-08-23 13:49:40 +02:00
Rolf Bjarne Kvinge 80430df393 [src] Use generated rsp files when executing the generator.
This is step 1 in not having to generate generator.csproj, since we can
reference the rsp files statically instead of injecting the actual command
line arguments to the generator for the debugging run configurations.

It also makes sure the project's run configurations are always up to date,
since they're using the exact same input as the command line build.
2018-08-23 13:38:32 +02:00
Rolf Bjarne Kvinge e955a489f8 Move generator-ikvm.csproj.in -> generator.csproj.in. 2018-08-23 13:38:32 +02:00
Rolf Bjarne Kvinge dea087332e [src] Simplify the IOS_TARGETS_template template to have fewer variables.
Turns out we only need a single variable now.
2018-08-23 13:38:32 +02:00
Rolf Bjarne Kvinge ab4b6fa8d9 [src] Expand the IOS_GENERATOR_template template, since it's only used once.
No need to have complicated template code when it's only instantiated once.
2018-08-23 12:59:03 +02:00
Rolf Bjarne Kvinge 508ecd16c8 [src] Remove make targets for SRE-based generators.
They're not used anymore.
2018-08-23 12:53:22 +02:00
Rolf Bjarne Kvinge 30af5e34ad Remove unneeded solution to simplify things / avoid confusion. 2018-08-23 12:32:57 +02:00
Rolf Bjarne Kvinge 53b88bfd7f Remove unusued project configuration ('DebugStaticRegistrar') from Xamarin.iOS.sln. 2018-08-23 12:32:09 +02:00
Rolf Bjarne Kvinge 51c16e4fdc Fix mtouch's Release configuration to build the right Cecil assemblies. 2018-08-23 12:31:24 +02:00
Rolf Bjarne Kvinge 91fcb31688 Fix mmp's Release configuration to build the right Cecil configuration. 2018-08-23 12:30:10 +02:00
Vlad Brezae f668561761 Fix llvm build 2018-08-23 11:47:22 +03:00
Sebastien Pouliot 216966ee87 [coredata] Add some missing API spotted by xtro 2018-08-22 16:51:24 -04:00
Sebastien Pouliot beeb0021c5 [coreanimation][macos] Update for xtro 2018-08-22 15:46:26 -04:00
Sebastien Pouliot 387e45093d [cloudkit] Add back (an updated) watchOS-CloudKit.ignore 2018-08-22 15:42:55 -04:00
Sebastien Pouliot b348cc56b6 [contacts] Add comment why 'CNPhoneNumber::init' is not bound (since it's reported by xtro) 2018-08-22 15:42:07 -04:00
Sebastien Pouliot 10d13cc986 [cloudkit] Review missing 'init' on some types, in particular allow them outside watchOS 2018-08-22 14:56:51 -04:00
Rolf Bjarne Kvinge 2ba60926a5
[introspection] Fix typo test on Mojave. (#4677)
Fixes:

    [FAIL] Typo in METHOD name: TcpSetDisableAckStretching - Ack, Type: NWProtocolOptions
    [FAIL] Typo in METHOD name: get_DrmProtected - Drm, Type: ITLibMediaItem
    [FAIL] Typo in FIELD name: DistinguisedKind - Distinguised, Type: ITLibPlaylistProperty
    [FAIL] Typo in FIELD name: IsDrmProtected - Drm, Type: MediaItemProperty
2018-08-22 16:54:43 +02:00
Rolf Bjarne Kvinge ea4909034b
[xharness] Be resilient when trying to copying contents from an inexistent file. (#4676)
Should fix this (or at the very least not prevent xharness from writing out the report):

    21:07:30.3947450 Failed to write log: System.IO.FileNotFoundException: Could not find file '/Users/builder/Library/Logs/CoreSimulator/6DA2ED3C-B1FA-4D0B-9DD6-113E5F9A1381/system.log'.
    File name: '/Users/builder/Library/Logs/CoreSimulator/6DA2ED3C-B1FA-4D0B-9DD6-113E5F9A1381/system.log'
        at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x00207] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/io/__error.cs:188
        at System.IO.FileInfo.get_Length () [0x00038] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/io/fileinfo.cs:171
        at xharness.CaptureLog.Capture () [0x0004a] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tests/xharness/Log.cs:334
        at xharness.CaptureLog.Flush () [0x00008] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tests/xharness/Log.cs:373
        at xharness.Jenkins.GenerateReportImpl (System.IO.Stream stream, System.IO.StreamWriter markdown_summary) [0x017db] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tests/xharness/Jenkins.cs:2012
        at xharness.Jenkins.GenerateReport (System.Boolean only_if_ci) [0x00075] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tests/xharness/Jenkins.cs:1313
2018-08-22 16:54:19 +02:00
Sebastien Pouliot 19683847c2 [avfoundation] Add missing API (previously missed by xtro) 2018-08-22 09:14:10 -04:00
Manuel de la Pena 8012d4cd54
[Runtime] Small fix for the runtime.h exposed by Emb-4000. Fixes #4442 (#4663)
This fixes issue #4442 by fixing a small struct issues.

https://github.com/xamarin/xamarin-macios/issues/4442
2018-08-22 11:16:27 +02:00
Vlad Brezae 8076525f23 Merge remote-tracking branch 'origin/mono-2018-06' into mono-2018-08 2018-08-22 00:54:42 +03:00
Rolf Bjarne Kvinge 1d5c334a89
[jenkins] Don't give VSTS a fake branch. (#4667)
Something in VSTS changed, and now fake branch names don't work anymore.

So instead use real branch names (and for pull requests I've created a
'pull-request' branch we can use).
2018-08-21 23:31:42 +02:00
Sebastien Pouliot 885ee6f3c1 [corebluetooth] Update xtro (we provided something else, enabling events) 2018-08-21 16:59:51 -04:00
Sebastien Pouliot 5ee10601d9 [xtro] Add new todo 2018-08-21 16:04:28 -04:00
Sebastien Pouliot b8e50117f9 [xtro] Remove duplicated filter method from reporter and share the new common one 2018-08-21 16:03:37 -04:00
Sebastien Pouliot 75b146b9d2 [xtro] Update u2todo not to create todo files for non supported frameworks 2018-08-21 15:42:36 -04:00
Vincent Dondain 1eefd4e383 Bump maccore for d15-8 merge (#4668) 2018-08-21 14:30:04 -04:00
Sebastien Pouliot b8d1a8739e [xtro] Skip '+type:new' selectors, we do not bind them 2018-08-21 14:21:12 -04:00
Sebastien Pouliot 4b7d631dba [xtro] Fix how we get selectors so parameter-less are not skipped 2018-08-21 14:20:25 -04:00
Rolf Bjarne Kvinge 1d0e058636
[xharness] Replace existing content in TCC.db. Might fix maccore#951. (#4666)
There seems to be an issue where adding stuff to the TCC.db might fail
partially. In that case we try again, but we try to add every entry once more,
which now might fail due to existing entries.

So always replace when adding new entries in TCC.db. Also dump the database
when done to help debugging if it turns out this doesn't fix maccore#915.

Might fix https://github.com/xamarin/maccore/issues/951.
2018-08-21 19:11:23 +02:00
Sebastien Pouliot d99be7a03e
Merge d15-8 into xcode 10 2018-08-21 09:29:35 -04:00
Rolf Bjarne Kvinge f9a3be16da
[system-dependencies] Use 'xcodebuild -runFirstLaunch' to install first-launch packages instead of manually installing each package. (#4662)
This is more future-proof, since the list of packages may change, or there may
be other tasks that need doing in addition to installing packages.

This might help/fix https://github.com/xamarin/maccore/issues/952.
2018-08-21 15:21:29 +02:00
Sebastien Pouliot d9edf5928d
[avfoundation] Deprecate 'AVMediaTypeTimedMetadata' (#4655)
AVMediaTypeTimedMetadata has been obsoleted since iOS 6 but was totally
removed (returns null) in iOS 12.

Adjust test and provide a (better) deprecation warning for developers.
2018-08-21 08:57:44 -04:00
Rolf Bjarne Kvinge 347f472b03
[jenkins] Improve error reporting a bit. (#4646)
We keep track of the current stage by using the 'currentStage' variable, so that we can properly report what failed.

There were a couple of problems with this:

* The 'Package Xamarin.Mac tests' is not a fatal step, which means that the
  pipeline will continue executing even if it fails. In this case the previous
  code would assign any failure to package the XM tests to the last stage
  ('Test docs').

* Something similar seems to happen if there are failures in the Xamarin.Mac
  tests executed in parallel (on other bots), where any failure would be
  reported as a failure in the last stage ('Test docs').

* No support for reporting failure in multiple stages.

So do a couple of things:

* Clear out the 'currentStage' variable at the end, and handle it being empty
  when reporting results. This should solve at least some of the problems
  where blame as being assigned incorrectly (we'll probably run into cases
  where blame isn't assigned at all, but this is still half the way of getting
  it right).

* Add a 'failedStages' variables where we can keep track of (and report)
  multiple failed stages.
2018-08-21 09:55:07 +02:00
Rolf Bjarne Kvinge b6f2ad4b57 Bump mono.
Commit list for mono/mono:

* mono/mono@4e0a2ac0dd [llvm] Avoid using the preserveall calling convention on watchos, xcode10 asserts on it. (#9325)
* mono/mono@02928166e5 Bump nunitlite to get NUnit2 xml output fix and failure on file not found fix (#10188)
* mono/mono@6c1f4b9746 [System.Xml.Linq] Fix namespace conflict with new Xamarin.Mac namespace in test code. (#10185)

Diff: 4fe3280bba...4e0a2ac0dd
2018-08-21 07:07:44 +02:00
Manuel de la Pena 92d6e94707 [NaturalLanguage] Change return type to use double instead on nuint. Fixes #4642 (#4654)
The docs or headers do not specify the exact type. Using double to be
sure.

Issue: https://github.com/xamarin/xamarin-macios/issues/4642
2018-08-20 21:44:24 -04:00
Sebastien Pouliot 213590b3c0
[tests] Re-enable AVPlayerViewController.PrepareForPrerollAds test (broken in early betas) (#4656) 2018-08-20 21:15:58 -04:00
Vincent Dondain c40822d846 [healthkit] Add missing static to GetClinicalType (#4657)
*Note: Credit to Paul DiPietro (@pauldipietro) for finding this when trying to use the new HealthKit APIs.*
2018-08-20 20:54:22 -04:00
Manuel de la Pena 82dfd4fb59 [AppKit] Xcode 10 beta 6 support. (#4653) 2018-08-20 18:00:32 -04:00