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

143 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 514c16becb Bump Touch.Unit to get extension test improvements. 2017-02-10 16:39:28 +01:00
Sebastien Pouliot a94e4dc423 Revert c633bd378f and fix #51805 with a new Cecil API (#1640)
* Revert "[mtouch][linker] Remove type forwarders. Fixes #51805 (#1589) (#1600)"

This reverts commit c633bd378f.

* [mono] Bump mono to get latest cecil (cycle9) and fix linker's ExternalType.Scope. Fixes #52187 and #51805

Original fix for bug #51805 was reverted since it caused a regression [2]
when type forwarders are used thru reflection, which happens when
serializing some types.

[1] https://bugzilla.xamarin.com/show_bug.cgi?id=51805
[2] https://bugzilla.xamarin.com/show_bug.cgi?id=52187
2017-02-03 16:12:28 -05:00
Sebastien Pouliot cc0f41f1a7 [mono] Bump to latest revison of mono-4.8.0-branch (#1611) 2017-02-01 15:42:58 -05:00
Timothy Risi 687aa6f25f Port monotouch-test suite to Xamarin.Mac (#1445)
* Port the Monotouch-test suite to run on Xamarin.Mac

Adds over 1300 new API tests for XM
2017-01-12 09:13:56 -09:00
Sebastien Pouliot b1281b259f [cecil] Bump mono to get the latest Cecil's revision. Fixes #51336 (#1478)
This includes [1] which fix the parsing of broken .mdb as seen in [2]

Also fix mtouch's resolver and the static registrar to match some Cecil
API changes.

references:
[1] 045b0f9729
[2] https://bugzilla.xamarin.com/show_bug.cgi?id=51336
2017-01-12 08:47:06 -05:00
Sebastien Pouliot 7e461645dc [mono][aot] Bump for fixing #51206 (master) (#1449)
commit e0baa814b0cacfece4c615255c67c4300db4a8b1
Author: Zoltan Varga <vargaz@gmail.com>
Date:   Thu Jan 5 19:44:42 2017 -0500

    [aot] Avoid a crash in the aot compiler if a delegate doesn't have a BeginInvoke ()/EndInvoke () method. Fixes #51206.

https://bugzilla.xamarin.com/show_bug.cgi?id=51206
2017-01-08 11:07:04 -05:00
Sebastien Pouliot 03a7042d17 Bump mono to the head of mono-4.8.0-branch (same as c9) (#1437)
* [apidiff] Update XML references to match C8SR2 (10.3.1)

* Bump mono to the head of mono-4.8.0-branch (same as c9)
2017-01-04 17:03:04 -05:00
Rolf Bjarne Kvinge 06b15ee45d Bump mono to get fix for #50631. (#1394)
https://bugzilla.xamarin.com/show_bug.cgi?id=50631
2016-12-22 14:11:56 +01:00
Rolf Bjarne Kvinge 9ede593efe Bump mono to get fix for System.Core tests. (#1392)
And also define the FULL_AOT_RUNTIME conditional constant.
2016-12-22 11:05:31 +01:00
Rolf Bjarne Kvinge e42178e105 Bump mono to get fix for #49056. (#1390)
https://bugzilla.xamarin.com/show_bug.cgi?id=49056
2016-12-21 20:21:56 +01:00
Sebastien Pouliot 1d9356bf94 Bump mono to include fix for #47064: [linker] Fix marking types inside custom attributes. (#1376)
* Bump mono to include fix for #47064: [linker] Fix marking types inside custom attributes.

* Add unit tests for bug #47064
2016-12-21 11:52:43 +01:00
Emanuel e99ead9c0d Bumps Xamarin.MacDev (#1349) 2016-12-15 11:59:20 +01:00
Jeffrey Stedfast 1e41bc3750 [msbuild] Added a PropertyListEditor task which works like PlistBuddy (#1306)
* [msbuild] Added a PropertyListEditor task which works like PlistBuddy

This is a convenience Task for customers and isn't currently used
by the core MSBuild targets.

* [msbuild] The PropertyListEditor task does not need a SessionId property

* [msbuild] Added support for non-container root plist elements

* [msbuild] Catch & log exceptions loading plist document
2016-12-06 13:29:31 -05:00
Rolf Bjarne Kvinge 6d8421e966 Bump mono to get fix for #45140. (#1228)
https://bugzilla.xamarin.com/show_bug.cgi?id=45140
2016-11-23 16:31:10 +01:00
Zoltan Varga f0640443a9 Bump llvm to the tip of the 'master' branch. (#1225) 2016-11-23 07:30:31 -05:00
Rolf Bjarne Kvinge 3ac54f01a4 Bump mono to get fix for #45369. (#1212) 2016-11-18 10:17:10 +01:00
Manuel de la Pena aa38ab68ac [Jenkins] Add nuint xml logs (#883)
* [Jenkins] Make test to write output as an xml file so that it can be parsed by the jenkins bot.

* Point to the correct Touvh.Unit repo.

* Use the available property to determine if we are being ran in Jenkins.

* Log where are test results stored.

* Add @MonkeyWrench: prefix.

* Ensure that we do set the build env in jenkins/run-tests.sh

* Do not mix Wrench with Jenkins. The reports in jenkins can be Xml, in Wrench we prefer the old style.

* Ensure that the main node of the unit tests does contain the target, that will improve the tests results reporting.

* Revert "Fix binding project LinkWithAttributes generation to prevent rebuilds" (#1018)

* Added xslt to be used to keep the old Test Reports until we move to only Jenkins reports.

* Add an extra log for the xslt transformation.

* Point to the correcto dir in jenkins.

* Deal with the xslt once we have finished rather than in a batch.

* Remove noise.

* Readd case removed in rebase.

* Fix indentation.

* Skip lock keychain.
2016-11-15 19:04:37 +01:00
João Matos ab5cf5cafd [cross] Bump Mono and update the AOT cross offsets generation paths. (#1176)
Following https://github.com/mono/mono/pull/3927 this needs to be updated to work with latest Mono revisions.
2016-11-11 14:24:47 -05:00
Jeffrey Stedfast 6a44376aa6 bumped Xamarin.MacDev 2016-11-01 14:05:07 -04:00
Jeffrey Stedfast 146e7b3962 [msbuild] Allow Provisioning Profile lookups by name and use only the most recent version
Use the 'unique' argument to MobileProvisionIndex's lookup methods
to only get back the most recent versions of each provisioning
profile so that we don't accidentally pick an older version.
2016-11-01 12:27:18 -04:00
Rolf Bjarne Kvinge ab58a1f808 Bump mono to get fix for #45223. (#1053)
commit mono/mono@a06e82f6c0
    Author: Aleksey Kliger <aleksey@xamarin.com>
    Date:   Fri Oct 21 11:00:04 2016 -0400

    [coop handles] Don't scan null object references

    Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=45223
2016-10-28 13:03:54 +02:00
Rolf Bjarne Kvinge f70602de16 Bump mono to get test fix for System/watchOS. (#1043)
commit mono/mono@16b8979fd1
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Wed Oct 26 11:39:30 2016 +0200

    [System] Tweak define to exclude System.Net.WebProxy.CreateDefaultProxy and update corresponding test.
2016-10-27 15:16:18 -04:00
Sebastien Pouliot 3eb8aae49a Restore bmonorevision to pre-merge 2016-10-26 17:31:10 -04:00
Sebastien Pouliot e9705a7dc6 Remove watch-mono (added back by merge) 2016-10-26 16:34:14 -04:00
Sebastien Pouliot 8c93e7758d Merge branch 'xcode8.1' 2016-10-26 15:56:34 -04:00
Rolf Bjarne Kvinge 0bb2eb7217 Bump mono to get fixes for #45902 and #45847. (#1035)
The recent BTLS changes causes trouble for both XI and XM,
which should be fixed with this bump:

    commit mono/mono@78619b1580
    Author: Alexander Köplinger <alex.koeplinger@outlook.com>
    Date:   Tue Oct 25 18:44:33 2016 +0200

    [System] Don't build managed BTLS code on monotouch

    After 2fb07d6c6d5b3915ef4665391febbb7b8be09fb5 BTLS can be used as a shared lib,
    but this caused an issue in some monotouch tools which grepped the P/Invokes for `__Internal`
    since these icalls wouldn't resolve on monotouch since BTLS is disabled there.

    Instead, we now completely leave out building the managed parts of BTLS when
    BTLS is not enabled.

    (cherry picked from commit db21455da9d74354b75accafc4e8e3c21466f048)

This bump also includes the fix for #45847:

    commit mono/mono@c023b2b30a
    Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
    Date:   Mon Oct 24 19:50:16 2016 +0200

    [System] Remove any CFNetwork usage from the watchOS profile. Fixes #45847.

    The MacProxy class uses CFNetwork, but since CFNetwork is not a public
    framework on watchOS, we can't use it.

    So remove MacProxy completely (it only contains internal classes), and throw
    PlatformNotSupportedException in any API that used it (the managed networking
    stack is not supported on watchOS anyway, so this should be safe).

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

https://bugzilla.xamarin.com/show_bug.cgi?id=45902
https://bugzilla.xamarin.com/show_bug.cgi?id=45847
2016-10-26 07:14:43 +02:00
Rolf Bjarne Kvinge ca8dc04ddf Revert "Bump mono to get fix for #45847." (#1033) 2016-10-25 20:07:22 +02:00
Rolf Bjarne Kvinge 4e61231137 Bump mono to get fix for #45847. (#1031)
commit mono/mono@c023b2b30a
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Mon Oct 24 19:50:16 2016 +0200

    [System] Remove any CFNetwork usage from the watchOS profile. Fixes #45847.

    The MacProxy class uses CFNetwork, but since CFNetwork is not a public
    framework on watchOS, we can't use it.

    So remove MacProxy completely (it only contains internal classes), and throw
    PlatformNotSupportedException in any API that used it (the managed networking
    stack is not supported on watchOS anyway, so this should be safe).

    https://bugzilla.xamarin.com/show_bug.cgi?id=45847
2016-10-25 13:37:28 -04:00
Chris Hamons 3e1204278b Bump mono (#1004) 2016-10-18 15:20:44 -05:00
Chris Hamons 84e9975e41 Bump mono to latest 4.8 (#991) 2016-10-13 15:36:14 -05:00
Duncan Mak 043c11ac4f Merge branch 'cycle8-sr0-xi' into xcode8 2016-10-06 17:57:32 -04:00
Sebastien Pouliot 860b694002 Bump mono to the head of mono-4.8.0-branch at PeterC's request (#950) 2016-10-06 08:07:39 +02:00
Rolf Bjarne Kvinge 07600238fc Bump mono to get linker fix. (#948)
commit mono/mono@fb01e0742c
Merge: 960ae16 3090df7
Author: Alexander Köplinger <alex.koeplinger@outlook.com>
Date:   Wed Oct 5 13:50:49 2016 +0200

    Merge pull request #3708 from rolfbjarne/linker-mark-nested-types-4.8.0

    [linker] We need to mark nested types even if the declaring type isn't marked.
2016-10-05 15:24:18 -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
Rolf Bjarne Kvinge 8abaa2a742 Bump [watch-]mono to get ServicePointManager adjustments. 2016-10-04 18:40:50 +02:00
Sebastien Pouliot ad1cd42d42 Bump [watch-]mono to get fix for bug #44708
commit c5b34ef43985f253ebf9db87b66633cb3530e788
Author: Martin Baulig <martin.baulig@xamarin.com>
Date:   Sat Oct 1 21:29:32 2016 +0200

    [System]: ChainValidationHelper: ignore port number when validating a certificate's host name.

    (cherry picked from commit 4d28eb4b889d4f317675998f906cd9ca47440566)
    (cherry picked from commit 7c88bf755ec19ecd7e6db578de329567ee41b8d0)

    This fixes the certificate validation bug here:

    https://bugzilla.xamarin.com/show_bug.cgi?id=44708
2016-10-03 14:01:51 -04:00
Rolf Bjarne Kvinge c4f4056b22 Bump [watch-]mono to get more API removal for watchOS. 2016-10-03 18:31:04 +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 460d41e9e3 Bump mono to get System test fixes. (#919) 2016-09-30 16:14:43 -04:00
Martin Baulig 860704ddb4 [AppleTls]: API cleanups in preparation of the BTLS integration.
* Bump Mono to mono-4.8.0-branch commit 9437553e545f57443ccc33fe4129cbb6ac94f832.

* Rename MobileCertificateHelper -> AppleCertificateHelper.

  All the non-Apple-specific functionality now lives in System.dll's
  MobileTlsContext, so it can be shared with BTLS.

* Remove old src/Security/Tls sources which have been moved into System.dll
  a couple of weeks ago.
2016-09-29 00:59:15 +02:00
Sebastien Pouliot 5f6ed20db0 [AppleTls]: Disallow calling SSLHandshake() again after the handshake has finished.
Bump Mono to pickup the BCL part of the fix

commit 7ec55bdbe668b917dddab9996ddda372bcc9a561
Author: Martin Baulig <martin.baulig@xamarin.com>
Date:   Fri Sep 23 17:42:05 2016 +0200

    [AppleTls]: Flush the write queue before finishing the handshake.

    It is possible for SSLHandshake() to return SslStatus.Success while we're still
    having a pending write (AsyncOperationStatus.WantWrite).

    This is because our managed write callback must never return 'WouldBlock', so
    SSLHandshake() things that all data have been sent while we still have them in
    our write queue.

    When this happens, we currently flush the write queue then call SSLHandshake()
    again via AsyncOperationStatus.WantWrite -> AsyncOperationStatus.Continue.

    This returns SslStatus.Protocol on iOS 10.

    (cherry picked from commit 2cc1b887c1c6e86b6844116c8010bac3305c84f9)
2016-09-28 16:49:30 -04:00
Sebastien Pouliot a4767a9a15 Bump mono and watch-mono for AppleTLS issue w/iOS 10. Fixes #42443
https://bugzilla.xamarin.com/show_bug.cgi?id=42443
2016-09-28 16:39:13 -04:00
Sebastien Pouliot 0bc23b379a Bump mono for an (pre C9/master) alpha refresh (#902)
* mono revision at fc99fc4313e7afd75a4605a48b47e7d1273aefe4

* watch-mono revision is more recent to include the BCL adjustments
  for types not available on that platform

* Update two linksdk  test cases that won't work _normally_ for watchOS
2016-09-27 23:45:13 -04:00
Sebastien Pouliot bf47897568 Bump mono/bug42443 branch
It was missing a few recent commits which broke the build with:

[8:45:24] make[5]: *** No rule to make target `/Users/builder/data/lanes/3426/8568b0c2/source/xamarin-macios/_mac-build/Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/System.Numerics.Vectors.dll'.  Stop.
2016-09-27 08:57:04 -04:00
Sebastien Pouliot 8568b0c2c1 [AppleTls]: Disallow calling SSLHandshake() again after the handshake has finished.
Bump Mono to pickup the BCL part of the fix (from temporary PR'ed branch)

commit 7ec55bdbe668b917dddab9996ddda372bcc9a561
Author: Martin Baulig <martin.baulig@xamarin.com>
Date:   Fri Sep 23 17:42:05 2016 +0200

    [AppleTls]: Flush the write queue before finishing the handshake.

    It is possible for SSLHandshake() to return SslStatus.Success while we're still
    having a pending write (AsyncOperationStatus.WantWrite).

    This is because our managed write callback must never return 'WouldBlock', so
    SSLHandshake() things that all data have been sent while we still have them in
    our write queue.

    When this happens, we currently flush the write queue then call SSLHandshake()
    again via AsyncOperationStatus.WantWrite -> AsyncOperationStatus.Continue.

    This returns SslStatus.Protocol on iOS 10.

    (cherry picked from commit 2cc1b887c1c6e86b6844116c8010bac3305c84f9)
2016-09-26 16:34:10 -04:00
Martin Baulig 6ed46cc6a1 [AppleTls]: Disallow calling SSLHandshake() again after the handshake has finished.
Bump Mono to pickup the BCL part of the fix.

commit 2a3e4002ead94aae6796c7eb7af9a850398beb51
Author: Martin Baulig <martin.baulig@xamarin.com>
Date:   Fri Sep 23 17:42:05 2016 +0200

    [AppleTls]: Flush the write queue before finishing the handshake.

    It is possible for SSLHandshake() to return SslStatus.Success while we're still
    having a pending write (AsyncOperationStatus.WantWrite).

    This is because our managed write callback must never return 'WouldBlock', so
    SSLHandshake() things that all data have been sent while we still have them in
    our write queue.

    When this happens, we currently flush the write queue then call SSLHandshake()
    again via AsyncOperationStatus.WantWrite -> AsyncOperationStatus.Continue.

    This returns SslStatus.Protocol on iOS 10.

    (cherry picked from commit 2cc1b887c1c6e86b6844116c8010bac3305c84f9)
2016-09-24 07:41:28 +02:00
Sebastien Pouliot 4ab726601b Bump mono to mono-4.6.0-branch-c8sr0/8c9e34069f63e516038cd12a237d648079789622 2016-09-23 14:16:28 -04:00
Sebastien Pouliot 4d05122bb9 Bump watch-mono for socket fix #44666 2016-09-23 13:27:34 -04:00
Sebastien Pouliot 298cdbaf4c Bump mono for socket fix #44666 2016-09-23 13:27:21 -04:00
Chris Hamons e3863afb30 [XM] Enable System.Numerics.Vector assembly (#850)
- Bump mono to get 377041fd6e
2016-09-19 16:43:58 -04:00