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

5117 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge dbd247ed38
[NSLayoutManager] Complete bindings for NSLayoutManager. Fixes #4740. (#4853)
Fix numerous issues with NSLayoutManager[Delegate]:

* The classes are available in both AppKit and UIKit, but the bindings are
  duplicated (unsuccessfully) in both appkit.cs and uikit.cs. So create a new
  xkit.cs that is shared between XI and XM, and put a shared version of the
  bindings there.

* Bind everything that hasn't already been bound (or deprecated by Apple).

* Methods that take a nullable NSRangePointer has been bound with three overloads:

	* A protected overridable (exported) method that uses IntPtr.
	* A public method without the parameter.
	* A public method with the parameter typed as 'ref NSRange'.

	This makes sure the native method can be overridden if needed, while at
	the same time making it possible to call without providing the nullable
	parameter.

* Fix numerous ugly bindings:

	* There's a great nint/nuint confusion for parameters referring to
	  'character index' and 'glyph index'. XI seems to prefer nuint, while XM
	  seems to prefer nint. Standardize on nuint, since that's how Apple
	  created them.

	* Many methods have names than sound like Objective-C. Fix them all,
	  either right away when possible, or for XAMCORE_4_0.

	* Several parameter names have been modified to comply with our naming
	  guidelines (no abbreviations).

Fixes https://github.com/xamarin/xamarin-macios/issues/4740.
2019-01-29 15:37:48 -05:00
Chris Hamons 6ebe19f630
Add xtro test for [Deprecated] attributes and fix up usages (#4966)
- https://github.com/xamarin/xamarin-macios/issues/4431
2019-01-29 15:37:48 -05:00
Alex Soto b8b135fbe6
[SafariServices] Update bindings to Xcode 10.2 Beta 1 (#5505) 2019-01-29 14:14:21 -05:00
Vincent Dondain b59b608a7e
[healthkit] Update for Xcode 10.2 beta 1 (#5497)
- Fix `CategoryTypeIdentifierTest` for 10.2 APIs
2019-01-29 13:07:48 -05:00
Sebastien Pouliot aebbe023e0
[apidiff] Build API diffs based on 15.9/xcode10.1 so it only shows the changes from Xcode 10.2 (#5508) 2019-01-29 10:41:58 -05:00
Sebastien Pouliot 3d49944cfa
[avfoundation] Update for xcode 10.2 beta 1 (#5503) 2019-01-29 08:52:06 -05:00
Sebastien Pouliot cbbd305cb6
[classkit] Update for xcode 10.2 beta 1 (#5501)
All types now have availability annotations for macOS 10.14.4, however
there's no headers (yet?) for ClassKit in the macOS SDK that ships with
Xcode 10.2 beta 1.
2019-01-28 16:51:39 -05:00
Alex Soto 7ec1140a38
[Metal] Update bindings to Xcode 10.2 Beta 1 (#5500) 2019-01-28 16:26:03 -05:00
Sebastien Pouliot 626a7c188a
[passkit] Update for xcode 10.2 beta 1 (#5498)
Filed rdar #47596444 for missing PKDisbursementVoucher.h header file

Tracked in release checklist https://github.com/xamarin/xamarin-macios/issues/5086
2019-01-28 16:08:18 -05:00
Sebastien Pouliot 850ea9d10d
[carplay] Update for xcode10.2 beta 1 (#5499) 2019-01-28 15:28:51 -05:00
Rolf Bjarne Kvinge 8a579bbbdb
Merge pull request #5493 from rolfbjarne/mojave
Xcode 10.2 requires macOS Mojave, so make Mojave the main build bot version.
2019-01-28 15:04:46 +01:00
Sebastien Pouliot 3807937dea
[ituneslibrary] Update for xcode10.2 beta 1 (#5489) 2019-01-28 08:53:09 -05:00
Rolf Bjarne Kvinge c02fdb8565 Xcode 10.2 requires macOS Mojave. 2019-01-28 06:19:26 +01:00
Rolf Bjarne Kvinge 4ea181e95b [jenkins] Don't execute the packaged XM tests on the main macOS version. (#5165)
* [jenkins] Don't execute the packaged XM tests on the main macOS version.

Don't execute the packaged XM tests on the main macOS version, since it's redundant.

It also prevents a potential test deadlock if all main bots are busy.

* Rework to make it show better in the Jenkins UI.
2019-01-28 06:17:56 +01:00
Sebastien Pouliot 20dc77d5ca
[cloudkit] Update for xcode 10.2 beta 1 (#5485) 2019-01-25 17:51:59 -05:00
Sebastien Pouliot 4bbc1cb2df
[javascriptcore] Update for xcode 10.2 beta 1 (#5487)
The only new API is a p/invoke but we only bound the ObjC (not the C) API
so the entry is moved to the common ignore file for the framework
2019-01-25 17:51:11 -05:00
Sebastien Pouliot 0a8b94c58a
[photosui] Update for xcode 10.2 beta 1 (#5484) 2019-01-25 16:41:05 -05:00
Sebastien Pouliot 721d330e1b
[mediaplayer] Update for xcode 10.2 beta 1 (#5483) 2019-01-25 16:20:21 -05:00
Vincent Dondain 3a647a6a25
[tests][mtouch] SimlauncherSymbols issues (#5482)
- Fix maccore issue #1372: [mtouch] Test failure: "Xamarin.MTouch.SimlauncherSymbols("i386","32-sgen"): no missing simlauncher symbols"
(https://github.com/xamarin/maccore/issues/1372)
2019-01-25 15:27:02 -05:00
Sebastien Pouliot be5e3c9a33
[security] Update for Xcode 10.2 beta 1 (#5481)
The added `SecTrustSetSignedCertificateTimestamps` API existed in older
versions of the OS so I kept the Xcode headers availability (instead of
current SDK version).
2019-01-25 15:00:56 -05:00
Alex Soto 0e8393f1f7
[UIKit] Update bindings to Xcode 10.2 Beta 1 (#5475)
* [UIKit] Update bindings to Xcode 10.2 Beta 1

* Remove the test from tvOS because it will break the build...
2019-01-25 13:01:07 -05:00
Alex Soto 9b92ddd18b
[StoreKit] Update bindings to Xcode 10.2 Beta 1 (#5478) 2019-01-25 11:59:41 -05:00
Vincent Dondain 0344842a6b
[tests] Ignore UIPreviewInteraction failing selectors for now (#5474)
- With Xcode 10.2 beta 1 these selectors do not respond anymore.
  Still investigating why as part of https://github.com/xamarin/xamarin-macios/issues/5471
- Fix Make.config Xcode xip url.
2019-01-25 10:41:24 -05:00
Alex Soto 94b63196d7
[WatchKit] Update bindings to Xcode 10.2 Beta 1 (#5473) 2019-01-25 08:41:12 -05:00
Alex Soto de4d084923
[WebKit] Update bindings to Xcode 10.2 Beta 1 (#5472)
* [WebKit] Update bindings to Xcode 10.2 Beta 1

* Bump macOS intro ApiAvailabilityTest Maximum version to 10,14,4
2019-01-25 08:39:51 -05:00
Vincent Dondain dd90dcb615
Bump for Xcode 10.2 beta 1 (#5470) 2019-01-24 16:36:15 -05:00
Rolf Bjarne Kvinge 1700febc1d Bump maccore to get several CI fixes. (#5422)
These changes do not affect any shipped code.

Commit list for xamarin/maccore:

* xamarin/maccore@23271f4980 [install-qa-provisioning-profiles] Backport several patches for CI fixes. (#1344)

Diff: 93c90fec3a...23271f4980
2019-01-17 09:34:59 -06:00
Chris Hamons a4332c90aa
[mmp] Add support for mono 5.18 by pulling in libmono-system-native.a (#5328)
- https://github.com/xamarin/xamarin-macios/issues/5324
- Patch tweaked over multiple commits in master so applied directly instead of cherry-pick
2019-01-10 13:31:31 -06:00
Sebastien Pouliot 65ec520faa
[d15-9] Bump maccore to head of d15-9 branch (#5205) 2018-12-05 11:28:34 -05:00
Sebastien Pouliot 5ef73d3447
Bump mono to fix System.Threading.Tasks.Extensions facade (#5161)
Commit list for mono/mono:

* mono/mono@000780ca82 [2018-04] Add non-generic AsyncValueTaskMethodBuilder, etc (#11747)

Diff: 969357ac02...000780ca82
2018-11-20 22:53:11 -05:00
Sebastien Pouliot f2a05eddc7
Merge xcode10.1 into d15-9 (#5063) 2018-10-31 17:30:44 -04:00
Sebastien Pouliot 6284095545
Bump maccore to head of 15.9 (#4958)
Commit list for xamarin/maccore:

* xamarin/maccore@1c87736468 Bump maciostools to head of d15-9 (#1082)

Diff: c64e799574...1c87736468
2018-10-09 19:11:14 -04:00
Chris Hamons b981621b4c Bump mono (#4949)
Commit list for mono/mono:

* mono/mono@969357ac02 Bump API snapshot submodule
* mono/mono@fb7bbea8f9 Bump corefx

Diff: 1fd01f4fd7...969357ac02
2018-10-09 09:26:59 -04:00
Rolf Bjarne Kvinge bc07227ffa [msbuild] Fix SceneKit asset compilation. Fixes #3766. (#4851) (#4948)
* [msbuild] Fix SceneKit asset compilation. Fixes #3766.

It seems SceneKit assets must be compiled into a directory whose parent
directory is named like the app.

In addition the `--resource-folder-path` argument is required.

Fixes https://github.com/xamarin/xamarin-macios/issues/3766.

* [msbuild] Use AppBundlePath to get correct .app[ex] variant.

* [msbuild] Fix XM builds.

* [msbuild] Use AppBundleDir instead of AppBundlePath.
2018-10-09 09:26:39 -04:00
Xamarin Jenkins User 8d0de1b595 Bundle Make.version with the packaged XM tests to fix testing. (#4946) 2018-10-09 09:26:15 -04:00
Connor Adsit 3f728dacac Report updateinfo for xamarin.ios and xamarin.mac in artifacts.json (#4871) (#4943)
Expose the productId and versionId in artifacts.json to autofill this information in while publishing so it's less of a manual process.
2018-10-08 09:28:42 +02:00
Chris Hamons 2d1d118302
Merge pull request #4929 from xamarin/d15-9-bump-mono-head
Bump mono to head of 2018-04
2018-10-05 09:14:03 -05:00
Rolf Bjarne Kvinge 1044fa602d [linker] Add new Facade (System.Threading.Tasks.Extensions).
Fixes these MTouch test failures:

    1. Xamarin.Linker.SdkTest.iOS_Unified :   Facades
      Expected:
      But was:  < "System.Threading.Tasks.Extensions" >

    2. Xamarin.Linker.SdkTest.tvOS :   Facades
      Expected:
      But was:  < "System.Threading.Tasks.Extensions" >

    3. Xamarin.Linker.SdkTest.watchOS :   Facades
      Expected:
      But was:  < "System.Threading.Tasks.Extensions" >
2018-10-05 10:38:58 +02:00
Sebastien Pouliot 6d4e78b419
[d15-9] Try to make version numbers clearer, and establish some ground rules. (#4931)
Backport of https://github.com/xamarin/xamarin-macios/pull/4927
with 15.9 numbers
2018-10-04 16:38:08 -04:00
Sebastien Pouliot 4aa26844b6 * [compression] Hide API using Span until it's back (publicly) in mono 2018-10-04 21:42:01 +02:00
Chris Hamons 90a477cde8 Bump mono to head of 2018-04
Commit list for mono/mono:

* mono/mono@1fd01f4fd7 [2018-04] [runtime] Disable stack guard for main thread on osx (#10904)
* mono/mono@e1af6ea5e7 [sdks] One more update to get XA PR builds working on Linux (#10854)
* mono/mono@288a9254f5 [merp] Fix return value handling of posix_spawn (#10829)
* mono/mono@d95b5e57c4 [sdks] Debian Linux doesn't need to build MXE
* mono/mono@1d40dbb42e [SDKS] Build host runtime with correct bitness (#10776)
* mono/mono@5b9b00dd61 [crash] Fix summarize_frame assertion (#10726)
* mono/mono@99f7533b63 Bump API snapshot submodule
* mono/mono@33a0966d83 [mcs] Removes tests which depend on new public APIs
* mono/mono@4d8bdab15e [mcs] Don't report internal error when Span type is not available
* mono/mono@4309250dcd [corlib] Hide types which could conflict with System.Memory
* mono/mono@2334327c43 [offset-tool] Error out when parsing fails. (#10697)
* mono/mono@ddb9dc31f3 Bump API snapshot submodule
* mono/mono@9fca0d8760 [2018-04] [Facades] Adds System.Threading.Tasks.Extensions for mobile profiles (#9977)

Diff: 46ff31252d...1fd01f4fd7
2018-10-04 11:08:37 -05:00
Chris Hamons a50180d20b [macos][msbuild] Cache actool results like XI (#4892) (#4915)
- https://github.com/xamarin/xamarin-macios/issues/3584
- Prevents a 2 second pause on every single launch
- Test added but commented out due to msbuild build machine issue :(
2018-10-04 09:44:22 -04:00
Xamarin Jenkins User bc5d9a1b74 [mtouch] Fix [InternalsVisibleTo] attribute parsing. Fixes #4895 (#4921)
The input is a "user" string, i.e. not some well formatted metadata.
Spec [1] mention it's comma separated, but spaces are optional.

[1] https://docs.microsoft.com/en-us/dotnet/framework/reflection-and-codedom/specifying-fully-qualified-type-names#specifying-assembly-names

Fixes https://github.com/xamarin/xamarin-macios/issues/4895
2018-10-04 09:43:38 -04:00
Xamarin Jenkins User a36bd01e36 [d15-9] [builds] Adjust ifdefs to fix not building device architectures. Fixes maccore#1074. (#4908)
* [builds] Adjust ifdefs to fix not building device architectures. Fixes maccore#1074.

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

* [jenkins] Running configure and then cleaning everything is kind of useless, so reverse the order.
2018-10-03 16:06:07 +02:00
Sebastien Pouliot 41c6ea48cb
Update API diff references wrt XM 5.0 (#4905) 2018-10-03 08:28:16 -04:00
Sebastien Pouliot 930b516806
Bump XM to 5.2 and audit fixes from `xcode10` (#4885)
We plan to release XM 5.0 based on 15.8
So 15.9 will ship XM 5.2.x

Backport of
b40230c09d
2018-09-27 16:05:51 -04:00
Rolf Bjarne Kvinge 8077b509d0
[msbuild] Implement support for faking the watchOS 4.3 SDK. Fixes #4810. (#4873)
The App Store requires the arm64_32 architecture when building with Xcode 10.

Unfortunately we don't support arm64_32 quite yet, so we need to make the App
Store think watch extensions were built with Xcode 9.4 in order to pass
validation.

Fixes https://github.com/xamarin/xamarin-macios/issues/4810.
2018-09-26 13:02:38 +02:00
Vincent Dondain 6a460bb50b [Make.config] Set IOS_PACKAGE_VERSION_REV (#4857)
If this isn't set the `Constants.*.cs.in` files won't have the proper version values. E.g: '12.3.' instead of '12.3.0'.
2018-09-20 16:18:38 -04:00
Sebastien Pouliot 204c233335
[apidiff] Update API diff to be based on XI 12.0 (#4844)
* XI references updated from `xcode10` (XI 12.0)
* XM references are not updated, we continue to compare with `d15.8`
* references_/* were temporary files that should not have been committed (old mistake)
2018-09-20 10:05:24 -04:00
Vincent Dondain 65d7652912
Merge pull request #4834 from VincentDondain/d15-9-merge-xcode10
Merge branch 'xcode10' into d15-9
2018-09-20 09:38:45 -04:00