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

242 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 6528978fc4 [build] Make csc as quiet as mcs was. (#2018) 2017-04-18 16:00:04 +02:00
Marek Safar 50255f02b1 Enable csc change 2017-04-14 09:11:01 +02:00
Marek Safar 594a375c02 Update tools to use csc 2017-04-14 09:11:01 +02:00
Rolf Bjarne Kvinge 0a47a8ce0c Patch from Zoltan to fix build error with CppSharp.CppParser.dll (#1967) (#1986) 2017-04-11 15:01:57 +02:00
Rolf Bjarne Kvinge 651a9735ff Use Visual Studio instead of Xamarin Studio. (#1972)
* Use Visual Studio instead of Xamarin Studio.

* VS doesn't have mdtool, it has vstool.

Also there's no need to manually invoke the mdtool.exe executable anymore
(which we did because the mdtool executable had a min macOS version of 10.9,
and we used to build tests on older macOS versions [1]), since now we only run
tests on older macOS versions, we don't build those tests there.

[1] a1932b0ccd
2017-04-11 08:13:34 +02:00
Rolf Bjarne Kvinge 033d156716 [system-dependencies] Check for Visual Studio instead of Xamarin Studio. (#1965) 2017-04-06 17:12:32 +02:00
Sebastien Pouliot 2cf0a5ed95 Bump XI and XM versions now that we have branched for d15-2 (#1954) 2017-04-02 16:08:52 -05:00
Sebastien Pouliot 0dfcb1f09f Merge branch 'master' into mono-2017-02 2017-03-28 21:31:33 -05:00
Sebastien Pouliot fe4ce3d7f8 Bump Xcode and SDK versions to match Xcode 8.3 2017-03-28 11:21:02 -05:00
Rolf Bjarne Kvinge 2ad0a418d1 Bump min macOS version, since Xcode 8.3 requires macOS 10.12. (#1635) 2017-03-28 09:19:32 -05:00
Rolf Bjarne Kvinge 8415874826 Bump system mono to get fix for #53481.
https://bugzilla.xamarin.com/show_bug.cgi?id=53481
2017-03-28 08:28:15 +02:00
Rolf Bjarne Kvinge d48d0452e5 Merge remote-tracking branch 'origin/master' into mono-2017-02 2017-03-24 13:56:03 +01:00
Rolf Bjarne Kvinge b982503052 Bump max mono version to the d15.2 mono. (#1907) 2017-03-24 13:55:09 +01:00
Marek Safar 105ee26509 Merge remote-tracking branch 'origin/master' into mono-2017-02 2017-03-23 23:13:43 +01:00
Marek Safar cace323b45 Another system mono bump 2017-03-14 11:54:13 +01:00
Marek Safar cd73b0697b Update system Mono to 2017-02 2017-03-14 11:54:13 +01:00
Rolf Bjarne Kvinge 91ad0897fa Bump Xamarin Studio to get fix for bug #52648.
Bump Xamarin Studio to get fix for bug #52648 causing build failures.
2017-03-14 11:51:08 +01:00
Marek Safar ddb377b7ff [build] Register linker for submodule checks 2017-03-14 11:47:06 +01:00
Marek Safar 1d3ad5e8c2 Bump mono and linker submodule 2017-03-14 11:47:06 +01:00
Marek Safar 1f606b58b3 Replace mdbrebase tool with pathmap and fix broken debug symbols mapping in public builds 2017-03-14 11:47:06 +01:00
Rolf Bjarne Kvinge 9dc3a0b615 [generator] Flip the switch. 2017-03-09 12:48:17 +01:00
Rolf Bjarne Kvinge 9581bbb0f6 Bump Xamarin Studio to get fix for bug #52648. (#1833)
Bump Xamarin Studio to get fix for bug #52648 causing build failures.
2017-03-07 14:13:58 +01:00
Sebastien Pouliot 63850b6c69 [build] Bump XI version to 10.9.x and XM to 3.3.x (#1770)
`15.1` has branched, time to bump again!
2017-02-24 23:37:04 -05:00
Sebastien Pouliot 797f417758 [build] Bump XI version to 10.7.x (#1750)
Cycle 9 (10.4) is now out and I'm fairly certain we'll see Xcode8.3 out
in March, so that will become 10.6 (once stable), making our `15.1`
target to be 10.8, again when stable.

XM is not affected as it gets the API updates on the next cycle/train.
2017-02-22 23:08:11 -05:00
Rolf Bjarne Kvinge dd0180b389 Set max mono version to Cycle 9's mono. (#1670)
It looks like mono master has become incompatible, builds now fail with:

    error: File '/Users/builder/jenkins/workspace/xamarin-macios-pr-builder/external/guiunit/bin/net_4_5/GuiUnit.exe.mdb' is missing.
    make[4]: *** [build-mac-classic-introspection] Error 1

so restrict to C9 only, until we can fix these issues.
2017-02-09 11:34:56 -05:00
Chris Hamons 5ba09748a0 Merge pull request #1344 from xamarin/xcode82-master-hamons
Merge Xcode82 support into master
2016-12-16 13:56:37 -06:00
Sebastien Pouliot 0c65506145 Fix Xcode 8.2 (to final) 2016-12-13 19:38:39 -05:00
Vincent Dondain bde2d58de9 Bump MAX_XAMARIN_STUDIO_VERSION 2016-12-13 16:52:54 -05:00
Vincent Dondain 445877c159 [Versions-ios.plist] watchOS started at 1.0 (#1328)
- The WatchKit App on a watchOS 1 project has a version of 1.0 (the IDE needs that).
- We still have a watchOS 1 template.
- Use MIN_WATCH_OS_VERSION instead of MIN_WATCHOS_SDK_VERSION.
- iOS com.apple.watchkit is 8.2 not 8.0
- Added watchOS com.apple.watchkit (2.0).
- Fixed typo in versions-check.csharp.
2016-12-13 10:52:58 +01:00
Sebastien Pouliot b5632f9c2f merge xcode8.2 into master 2016-12-12 21:26:23 -05:00
Chris Hamons 2afb7ccd81 Bump master XM to 3.1.x (#1150) 2016-11-10 10:54:22 +01:00
Sebastien Pouliot 953e189c85 Bump version to 10.5 to avoid confusion with cycle9 branch 2016-11-01 11:54:46 -04:00
Sebastien Pouliot e6b65f2a7e Bump Xcode 8.1 to the final version (#1062) 2016-10-28 20:48:29 -04:00
Rolf Bjarne Kvinge 1ca1c3a004 Bump mono requirement to fix mmp tests. (#1066)
This fixes the following mmptests:

1) Classic_NewRefCount_Warns (Xamarin.MMP.Tests.MMPTests.Classic_NewRefCount_Warns)
2) SystemMono_SmokeTest (Xamarin.MMP.Tests.MMPTests.SystemMono_SmokeTest)

That fails like this with earlier versions of Mono 4.8:

    Undefined symbols for architecture i386:
      "_mono_btls_x509_lookup_method_mono_init", referenced from:
         -u command line option
      "_mono_btls_x509_name_list_add", referenced from:
         -u command line option
      "_mono_btls_x509_name_list_free", referenced from:
         -u command line option
      "_mono_btls_x509_name_list_get_count", referenced from:
         -u command line option
      "_mono_btls_x509_name_list_get_item", referenced from:
         -u command line option
      "_mono_btls_x509_name_list_new", referenced from:
         -u command line option
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    error MM5109: Native linking failed with error code 1.  Check build log for details.
2016-10-28 14:22:58 -04:00
Sebastien Pouliot 8c93e7758d Merge branch 'xcode8.1' 2016-10-26 15:56:34 -04:00
Sebastien Pouliot 1b77dcc9bb Update .xip location (for provisioning) and the maximum version of mono that can be used to build 2016-10-24 17:10:43 -04:00
Sebastien Pouliot 84393219b2 Bump Xcode 8.1 to GM and version to 10.2 2016-10-24 15:32:44 -04:00
Sebastien Pouliot ae54390ccf Bump Xcode 8.1 to beta 3 (#978) 2016-10-11 16:49:10 -04:00
Sebastien Pouliot 0eff36c466 Bump Xcode 8.1 to beta 2 (#945)
* Bump Xcode 8.1 to beta 2
* Bump maccore to get simulator support fix
* [xharness] Get updated mlaunch binary. (#3)
2016-10-05 13:28:36 -04:00
Rolf Bjarne Kvinge 1d54c461b0 Remove the watch-mono repository, and use a single mono repository. (#941)
Still keeping some of the logic so that it's easy to switch back if we wish
to.
2016-10-05 16:21:01 +02:00
Manuel de la Pena da1478a680 New url session handler (#932)
* Added rewritten NSUrlSessionHandler that handles memory better

This is a rewrite of the ModernHttpClient version of NSUrlSessionHandler, it has better handling for memory that provides a more consistant memory footprint. It accomplishes this by using NSInputStream for requests, and reading and disposing directly from NSData instead of transitioning the NSData to a byte[] array.

* Try to fix build of PR #31

* [foundation] Restore compatibility with the new NSUrlSessionHandler

Mostly my comments in PR #174

* Add support for redirection [1]
* Add support for credentials [1]
* Add support for caching [2]
* Remove 2nd dictionary lookup in GetHeaderSeparator
* Avoid extraneous cast for credentialsToUse

PR 177 [3] adds tests that ensure no commits can remove, or change
default values, for handlers.

[1] breaking changes (feature, not API)
[2] breaking change (API removal)
[3] https://github.com/xamarin/xamarin-macios/pull/177

* [foundation] Restore compatibility with the new NSUrlSessionHandler

Mostly my comments in PR #174

* Add support for redirection [1]
* Add support for credentials [1]
* Add support for caching [2]
* Remove 2nd dictionary lookup in GetHeaderSeparator
* Avoid extraneous cast for credentialsToUse

PR 177 [3] adds tests that ensure no commits can remove, or change
default values, for handlers.

[1] breaking changes (feature, not API)
[2] breaking change (API removal)
[3] https://github.com/xamarin/xamarin-macios/pull/177

* Try to fix build of PR #31

* prevent DEADLOCK in UI code

* Added ConfigureAwait(false) to Task.Delay to prevent DEADLOCK when the stream is being awaited on the UI thread

* added a few more ConfigureAwait(false) statments that were missed on first pass

* Fix some small style issues.

* Set the default value of AllowAutoRedirect to true.
2016-10-03 18:25:16 +02:00
Rolf Bjarne Kvinge 3f74be5a80 [system-dependencies] Add CMake dependency. (#920) 2016-09-30 15:46:40 -04:00
Alexander Köplinger 32e87b3f9a Bump MAX_MONO_VERSION (#893)
We're using 4.9.x in mono master now.
2016-09-26 10:33:26 +02:00
Sebastien Pouliot e4ce16e989 Update branch name (#882)
* Update branch name

* Update SDK version for iOS and watchOS (but not tvOS)

* [xharness] Add support for watchOS Series 2 simulators. (#812)

* [xharness] Add Jenkins support for watchOS Series 2 simulators. (#885)
2016-09-23 11:50:02 -04:00
Sebastien Pouliot d7d3c82d1d Bump Xcode to 8.1 beta 1 2016-09-22 14:40:29 -04:00
Martin Baulig f3501d99af Remove Mono.Security.Providers.*.dll in preparation of their upcoming removal from the BCL. 2016-09-22 07:23:40 +02:00
Chris Hamons e749d428b8 [XM] Unbump master to 3.0.0 so we line up better with beta preview before we get out of visible sync (#870) 2016-09-21 15:29:29 -05:00
Sebastien Pouliot 36870ebdd0 Stay on 10.0.1.x for SR1 2016-09-19 10:03:50 -04:00
Sebastien Pouliot 031c9503ca Bump XM version to 3.0.0 for beta 2016-09-16 13:25:27 -04:00
Sebastien Pouliot 702682a1c1 Bump version for SR1 and update the XML for apidiff 2016-09-16 11:07:16 -04:00
Sebastien Pouliot 43a87d784b Update branch name (to master) and the mininum OSX version to build (El Capitan) (#814) 2016-09-12 17:43:43 -04:00
Rolf Bjarne Kvinge 7e3906a9c3 Bump XI/XM versions to post C8/Xcode8 versions. (#811) 2016-09-12 08:54:09 -04:00
Sebastien Pouliot 38148c718a Merge branch 'xcode8' 2016-09-09 15:29:37 -04:00
Sebastien Pouliot a2b103c317 Bump Xcode for GM, version to 10.0.x and maccore for monotouch.dll packaging (#799) 2016-09-07 17:11:05 -04:00
Rolf Bjarne Kvinge dfc3f7f523 Remove cecil submodule, we only use the one in mono now. 2016-09-01 18:28:35 +02:00
Rolf Bjarne Kvinge e291f1717d Revert "Bump [watch-]mono to master to get fix for #43658." (#665) 2016-08-25 14:44:53 +02:00
Rolf Bjarne Kvinge f6b1ccd748 Bump [watch-]mono to master to get fix for #43658. (#653)
* Bump [watch-]mono to master to get fix for #43658.

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

* [mtouch/mmp] Fix build after breaking cecil update in mono.

Also use mono's cecil instead of our own cecil submodule for mtouch.

* Bump [watch-]mono to get compilation fixes after cecil bump in mono.

* Remove cecil submodule, we only use the one in mono now.
2016-08-25 13:10:14 +02:00
Sebastien Pouliot e9ceab6c40 Bump version of XI and XM after beta 2 (C8) / fifth preview release 2016-08-24 17:21:22 -04:00
Alexander Köplinger a3ad9913a0 Bump MAX_MONO_VERSION to 4.6.99 (#628)
We're already in beta with Mono 4.6 so building XI with the current restriction is annoying.
2016-08-18 20:36:59 -04:00
Sebastien Pouliot 241434a3a4 Bump versions after 4th preview 2016-08-17 15:51:26 -04:00
Sebastien Pouliot 9fe13aaa58 Bump for Xcode8 beta 6 (#610)
* Bump for Xcode8 beta 6

* Bump maccore (to bump maciostools) and update mlaunch download location to run tests on the simulator
2016-08-15 20:19:51 -04:00
Sebastien Pouliot 1227e1c435 Bump to use Xcode 8 beta 5 (#583)
* Bump to use Xcode 8 beta 5

* [metalkit] Update for beta 5

Three new API were removed (by Apple) and this also removes the wrappers
we made over each.

This should fix the introspection failures (on the bump PR) as the
selectors still seems to exists internally (with a different signature)
2016-08-09 18:53:21 -04:00
Sebastien Pouliot 0dd2d40cdc Bump versions numbers post preview #2 2016-08-05 15:32:15 -04:00
Jeffrey Stedfast 235a4ab226 [msbuild] Fixed spelling of MacOSX to Mac OS X (#538)
* [msbuild] Fixed spelling of MacOSX to Mac OS X

* [msbuild] Use the name 'macOS' instead of 'Mac OS X' :)
2016-08-04 14:08:15 -04:00
Vincent Dondain 83e117af74 [Make.config] Update Mono and XS max version (#547) 2016-08-04 13:17:38 -04:00
Sebastien Pouliot 5591207f1f Bump Xcode to beta 4 to run tests against the newest toolchain and SDKs 2016-08-01 14:59:13 -04:00
Sebastien Pouliot 980e71bc10 Bump Xcode requirement to 8.0 beta 3 (#418) 2016-07-18 23:16:44 -04:00
Sebastien Pouliot cf27c2e7a8 Merge branch 'cycle8' into xcode8 2016-07-13 16:43:00 -04:00
Sebastien Pouliot afb3ea1e3f Bump Xcode version to beta 2 (#349)
Fix issues with monotouch-tests with beta2

* TLSMaximumSupportedProtocol returns Unknown, which also means default,
  instead of SslProtocol.Tls_1_2

* Setting NSZone.Name crash the app

* The MDLMesh tests are broken in a different way than beta1

* [callkit] Disable CTCallCenter default ctor as it breaks introspection

> [FAIL] Default constructor not allowed for CoreTelephony.CTCallCenter : SIGILL

The exception, that we catch, puts the process in an unstable state.

This cause weird results and crash later (wrong dispatch queue on main
thread) when testing MapKit.

Crashed Thread:        0  tid_a07  Dispatch queue: CTCallCenter

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000004
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x4:
-->
    __TEXT                 0000000000097000-00000000004d2000 [ 4332K] r-x/rwx SM=COW  /Users/USER/Library/Developer/CoreSimulator/Devices/9446B344-62A2-42A8-A8EE-9FE7AC6BA5C8/data/Containers/Bundle/Application/81183608-DADF-4226-B7FE-4B43759D679A/introspection.app/introspection

Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: dispatch_barrier_sync called on queue already owned by current thread
abort() called
CoreSimulator 278 - Device: iPhone 5 - Runtime: iOS 10.0 (14A5297c) - DeviceType: iPhone 5

Some beta2 adjustments (removals) to get green tests and be able to merge it so bindings of beta2 can start

* [tests] NEFlowMetaData conformance to NSSecureCoding and NSCopying is new in beta2 (and check fails on OSX 10.11)

* [uikit] Add [UIScrollView|UITableViewController].refreshControl to fix monotouch-test build

UIRefreshControlHosting was removed in beta2 but we still need the
refreshControl property on UIScrollView and UITableViewController
to build monotouch-test
2016-07-07 13:10:24 -04:00
Sebastien Pouliot a479bda742 Bump XI/XM versions and branch information for C8 2016-07-04 10:02:00 -04:00
Sebastien Pouliot 284836dd07 Bump XI/XM versions post C8 branch (#343) 2016-07-04 09:14:42 -04:00
Timothy Risi c94d0e7b70 Merge branch 'master' into xcode8 2016-06-23 10:45:09 -08:00
Rolf Bjarne Kvinge 834c0a9fd7 Build with path to the exact SDK version. Fixes #41597. (#244)
If no sdk version (-sdk_version) is passed to the native
linker, it tries to infer the SDK version from the
path to the -syslibroot argument.

In our case we use a versioned path to Xcode, but a general
symlink without the SDK version:

/Applications/Xcode73.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk

which means ld picked up the Xcode version as the SDK version,
since that's the first number part of the path [1], so we'd
end up with libraries whose SDK version was 73.

So instead use an SDK path with the SDK version, so that ld
finds the SDK version instead of the Xcode version.

[1] 266f4401b9/src/ld/Options.cpp (L4005-L4020)

https://bugzilla.xamarin.com/show_bug.cgi?id=41597
2016-06-21 07:24:16 -07:00
Rolf Bjarne Kvinge c71c8ecdf6 Bump to Xcode 8 and corresponding SDK versions. (#188)
This also requires bumping the min iOS SDK version to 6.0,
otherwise the native linker fails with this:

    ld: library not found for -lcrt1.3.1.o

Which happens at configure time for armv7 and armv7s.
2016-06-14 22:43:51 +02:00
Sebastien Pouliot 0ff6210a62 Bump versions of XI to 9.9.2.x and XM to 2.9.2.x (#185)
to make sure they'll be more recent than the current preview refresh
2016-06-14 00:48:16 -04:00
Sebastien Pouliot 4f7fb81d3c Bump versions of XI to 9.99.x and XM to 2.99.x (#184) 2016-06-14 00:47:51 -04:00
Rolf Bjarne Kvinge a0a1288143 Bump Xamarin Studio version to a build that contains mlaunch. (#140) 2016-06-07 14:22:07 +02:00
Rolf Bjarne Kvinge 7cbaa254c5 [tests] Make mdtool verbose on CI, and fix a few xbuild invocation to honor XBUILD_VERBOSITY. (#131) 2016-06-06 13:01:24 +02:00
Rolf Bjarne Kvinge 6c0374a29a [jenkins] Run the api diff. (#73) 2016-06-02 14:30:17 +02:00
Rolf Bjarne Kvinge d48d7c2e11 [configure] Add option to disable device-related parts of the build. (#67)
And use it when building on jenkins.
2016-05-19 14:33:35 +02:00
Rolf Bjarne Kvinge 9c77afa4d7 Use the watchOS mono submodule. 2016-05-16 11:06:03 +02:00
Rolf Bjarne Kvinge 01259ce9e3 Bump to mono 4.4 to get a 64-bit capable mono. (#39)
* [system-dependencies] Teach script about how to get the revision part of the mono version.

* Bump to mono 4.4 to get a 64-bit capable mono.

mdtool from Xamarin Studio 6.0 is a 64-bit process,
and thus requires a 64-bit capable system mono.
2016-05-11 10:14:52 -04:00
Rolf Bjarne Kvinge 25597f8ed6 Bump min Xamarin Studio version to latest alpha. (#38)
To get a version of mdtool that works without any Xamarin.Mac
licenses.

Also bump maccore to run the mmp regression tests now that
we have a working Xamarin Studio.

commit xamarin/maccore@9a5e6f02f3
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Tue May 10 18:20:48 2016 +0200

    [tests] There is now a released version of Xamarin Studio whose mdtool doesn't care about the XM license, so we can run the mmp regression tests again.
2016-05-10 14:38:38 -04:00
Sebastien Pouliot b3cabe4e48 Move guiunit to public repo so it can be used for XM unit tests 2016-05-04 15:12:18 -04:00
Sebastien Pouliot a7226dd097 Switch to using nunitlite submodule from the mono repo.
It's based on our work, with a few extra commits. That should reduce a
bit the checkout time and ensure more consistent results.

Also bump Touch.Unit since that requires a small API change.
2016-05-04 09:26:23 -04:00
Rolf Bjarne Kvinge 4aed2cf7fe Store configure configuration in configure.inc.
And leave Make.config.inc for only manual configuration.
2016-04-26 12:39:21 -04:00
Rolf Bjarne Kvinge 24870304ba Add an optional dependency on xamarin-specific build logic. 2016-04-24 14:48:45 -04:00
Rolf Bjarne Kvinge 68df944ad6 Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
Rolf Bjarne Kvinge 5830166c63 Build the platform assemblies. 2016-04-24 14:47:26 -04:00
Rolf Bjarne Kvinge acf75cd75c Build F#. 2016-04-24 14:47:24 -04:00
Rolf Bjarne Kvinge 9ea0738c48 Add our mono runtimes to the build. 2016-04-24 14:47:24 -04:00
Rolf Bjarne Kvinge 39ef301279 Add build system. 2016-04-21 19:11:24 +02:00