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

8441 Коммитов

Автор SHA1 Сообщение Дата
Jeffrey Stedfast 59a1233b26 [msbuild] Create a WatchKitSupport2 directory in the IPA for WatchOS2+ apps (#182)
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=41762
2016-06-15 13:50:27 +02:00
Miguel de Icaza ae3532f38c [uikit] Implement feedback from review 2016-06-14 23:35:05 -07:00
Miguel de Icaza 50458be3af [ios10,UIKit] UIGraphicsRenderer 2016-06-14 15:53:41 -07:00
Rolf Bjarne Kvinge b1a3a6da7c [CoreGraphics] CGWindowListCreateImage can return null, in which case return a null CGImage. (#195)
Instead of returning a managed CGImage instance wrapping IntPtr.Zero.
2016-06-15 00:52:56 +02: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
Chris Hamons 0c5aad0444 [XM] Add missing attributes on new bindings (#194)
[XM] Add missing attributes on new bindings
2016-06-14 16:29:08 -04:00
Rolf Bjarne Kvinge 00370f1e52 Bump mono to get fixes for bug #41786. (#192) 2016-06-14 22:06:02 +02:00
Sebastien Pouliot f50b82df3d [tests][linksdk][watchos] Fix HttpClientHandler tests for CFNetwork/watchOS (#186)
As noted in PR 177 [1] this does not build on watchOS since CFNetwork
is not supported on that platform. Uncaught as the PR bots don't build,
nor run, the tests yet.

[1] https://github.com/xamarin/xamarin-macios/pull/177
2016-06-14 07:42:41 -07:00
Rolf Bjarne Kvinge 12ce7fdffb Bump maccore to xcode8 branch. (#187) 2016-06-14 07:59:08 +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
Daniel Cazzulino a645369e66 [msbuild] Remove improper .0 at the end of package version (#181)
For whatever reason, VS added it even if the package version is
0.9.5, but VS happily finds it and everything builds fine but
it breaks on xbuild/mono/mac??
2016-06-13 16:58:14 -04:00
Manuel de la Pena be5bec99ac Merge pull request #178 from mandel-macaque/strong-dict-templated
[Fix] Ensure that strong dictionaries can work with templated dictioaries as property types.
2016-06-13 22:33:54 +02:00
Daniel Cazzulino 136b9a43b4 [msbuild] Unify and relocate shared MSBuild overriden tasks (#179)
* [msbuild] Remove unnecessary duplicate implementation of Move

Our implementation of the Move task was a partial copy of what
the MSBuild Move task does: https://github.com/Microsoft/msbuild/blob/master/src/XMakeTasks/Move.cs

Remove the unnecessary code, make it inherit the base implementation
like we do for the other MSBuild-overriden tasks, and place it in a
corresponding MsBuildTasks folder to denote this (again, like we do
in iOS.Tasks).

Removing this (unnecessary IMO) custom implementation of Move
ensures that when we switch to MSBuild, we can leverage improvements
and fixes on the task automatically.

* [msbuild] Move all the common MSBuild overriden tasks to MacDev

These tasks previously existed in iOS.Tasks, and Mac.Tasks. Since
they are reused across iOS and XM targets, move them to the common
MacDev project and update the targets accordingly.
2016-06-13 15:07:18 -04:00
Manuel de la Pena 294b984a96 Merge pull request #180 from kzu/editorconfig
Provide .editorconfig support for easier contributor formatting
2016-06-13 17:22:16 +02:00
iain e1505be111 XM] Add NSAccessibilityElement as a class (#171)
Add NSAccessibilityElement as a class and rename the NSAccessibilityElement protocol to NSAccessibilityElementProtocol to match Swift
2016-06-13 11:00:21 -04:00
Manuel de la Pena 90c7eab95e [Fix] Ensure that strong dictionaries can work with templated dictionaries as property types. 2016-06-13 12:13:48 +02:00
Daniel Cazzulino 9642dd9be0 Provide .editorconfig support for easier contributor formatting
Scoped to the msbuild folder for now which has consistent C# and
MSBuild formatting. The rest of the repo seems to be using different
formatting, so I didn't want to have to decide one way or the other.
2016-06-13 00:43:37 -03:00
Sebastien Pouliot d479ed00c7 [tests][link sdk] Add tests to validate default properties for all (3) handlers that we ship (#177) 2016-06-12 13:44:37 -04:00
Sebastien Pouliot 6ea42d2196 Bump mono to include System.Net.Http fix for CFNetworkHandler.CookieContainer (#176)
reference:
https://github.com/mono/mono/pull/3141
2016-06-12 03:29:50 -04:00
Aleksey Kliger (λgeek) 8474a21176 [runtime] Add MonoMethodMessage::InitMessage to linker descriptors (#172)
It's called from the runtime mono_message_init method since
 Mono commit 83f37161192b7735ffd04a4235253d790eefff99
2016-06-10 13:21:19 -04:00
Alex Soto 69740e78ed [AudioUnit] Fix some breaking changes (#173)
commit 1f207bd3f3df363cb5a74e59b93acd8eb6e1fec2 in xamarin/maccore
introduced some breaking changes, this fixes them
2016-06-10 13:20:33 -04:00
joj 28bb84d62b Added missing SessionId to CreateInstallerPackage (#170)
* [build] Moved CreateInstallerPackage to Core

* [build] Converted CreateInstallerPackage into a base with SessionId
2016-06-10 11:32:41 -04:00
Alexander Köplinger 654597c172 Bump mono to e3da710362c196a54ed344567dc29481a8d98312 (#169)
Get in the latest fixes from mono-4.5.1-branch
2016-06-10 15:30:00 +02:00
Timothy Risi 14a7ba1c2e [Mac] Fix notificationcenter.cs warnings (#166) 2016-06-10 10:06:13 +02:00
Daniel Cazzulino fbf06ee933 [msbuild] Redefine the Exec task to prepare for remote execution from VS (#164)
Like the Copy/Delete/MakeDir/RemoveDir/Touch tasks, we need to override
this one so we can allow customer targets to also execute Mac tools
remotely when building from Windows, bringing parity to the build
customizations allowed on XS/xbuild since they build locally and Exec
"just works" there of course.
2016-06-10 10:02:53 +02:00
Oleg Demchenko 1e7fa12f89 [AudioToolbox] Add missing MusicSequence.SetUserCallback method (#48)
* [AudioToolbox] Add missing MusicSequence.SetUserCallback method

* [AudioToolbox] MusicEventUserData internal .ctor refactoring

* [AudioToolbox] Correct callbacks storage

* [AudioToolbox] Remove deprecated checks and fix code style issues
2016-06-09 16:33:45 -04:00
Rolf Bjarne Kvinge 8af0326105 [xharness] Clean targets are named 'Clean', not 'clean'. (#162)
At least according to mdtool.

Fixes this:

    [...]
    Target 'clean not supported
    make[4]: *** [clean-mac-classic-introspection] Error 1
2016-06-09 14:23:58 -04:00
Rolf Bjarne Kvinge bf806525f6 [monotouch-test] Simplify test case to make it compile on all platforms. (#163) 2016-06-09 20:03:18 +02:00
Manuel de la Pena ef70fd48b5 [foundation] Reduce the API changes while adding the new valid methods. (#161) 2016-06-09 13:00:09 -04:00
Rolf Bjarne Kvinge 386c15c503 Merge pull request #153 from rolfbjarne/more-exceptions
Handle any exceptions when returning from managed code back to our native runtime.
2016-06-09 18:13:23 +02:00
Rolf Bjarne Kvinge e3cc7c31bc [xharness] Write relative paths in the makefiles. (#160)
Fixes the packaged mac tests when they're executed on a different
machine with a different path.
2016-06-09 17:36:32 +02:00
Rolf Bjarne Kvinge fac7270eb8 [registrar] Rewrite ctor's super call to invoke objc_msgSendSuper directly. Fixes #41319. (#159)
There's a clang bug [2] where if a selector is marked as unavailable,
it's marked as unavailable for every class, not just the class where
the unavailable selector is.

This means that we can't do `[super initWithCoder:x]` anywhere,
because `initWithCoder:` is marked as unavailable for UIActivityViewController.

So instead rewrite the call to super to call objc_msgSendSuper
directly, circumventing clang's broken availability checks.

[1] https://bugzilla.xamarin.com/show_bug.cgi?id=41319
[2] https://llvm.org/bugs/show_bug.cgi?id=28058
2016-06-09 17:18:35 +02:00
Sebastien Pouliot 8fe3df96b1 Bump ModernHttpClient to set AllowAutoRedirect to true when building inside Xamarin's SDK (#158)
This aligns the handler with the managed and CFNetwork-based ones
and makes it easier to switch between them without additional or
conditional code.
2016-06-09 09:29:02 -04:00
Rolf Bjarne Kvinge b213ddd6c3 [registrar] Fix the old static registrar according to internal signature changes. 2016-06-09 13:18:45 +02:00
Rolf Bjarne Kvinge d8287824e0 [mtouch tests] Fix MT1015 after mtouch change to not use fastsim for release builds. (#157)
MT1015 is a check that only occurs when using fastsim, so make sure
the test actually ends up using fastsim.
2016-06-09 13:03:14 +02:00
Sebastien Pouliot 5fd35014c1 [tests][introspection] Re-apply special case from 05bedce306 (#156)
[FAIL] Selector not found for AppKit.NSCell : accessibilityNotifiesWhenDestroyed
[FAIL] Selector not found for AppKit.NSView : accessibilityNotifiesWhenDestroyed

Location changed and the duplicated files were removed (but I missed this
change on dontlink-mac)
2016-06-09 11:06:54 +02:00
Rolf Bjarne Kvinge b78e29d85d Bump mono to get fix for watchOS corlib tests. (#155)
commit mono/mono@5ac529a182
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Wed Jun 8 23:01:22 2016 +0200

    [corlib] Fix tests for watchOS. (#3130)
2016-06-08 20:42:56 -04:00
Chris Hamons b7a797b068 [XM] Dynamically look up NSExtensionMain to unbreak pre-10.10 XM apps (#154)
* [XM] Dynamically look up NSExtensionMain to unbreak pre-10.10 XM apps

- So having a simple reference to NSExtensionMain is enough for /usr/lib/libextension.dylib to get added as a reference to libxammac.dylib
- If you have a reference to /usr/lib/libextension.dylib then any XM app (including our tests) bomb out on startup. This is suboptimal.
- So dlopen/dysm our way to victory.

* Fix spacing
2016-06-09 00:19:16 +02:00
Rolf Bjarne Kvinge 9c01fe6c9d [tests] Use the right sources for dontlink, linksdk and linkall tests. (#152) 2016-06-08 23:39:47 +02:00
Martin Baulig fe396d6d08 [AppleTls]: Correctly handle large read/write sizes. Fixes #41206.
* On write, the inner write must always accept and queue all the
  data that it receives from SSLWrite().

* On read, SSLRead() may return a non-zero amount of data and
  'SslStatus.WouldBlock'.  We need to treat this as a successful
  read and return to the user.
2016-06-08 22:57:36 +02:00
Rolf Bjarne Kvinge b9629ac8ba [runtime] Improve documentation about exceptions a little bit. 2016-06-08 20:11:07 +02:00
Rolf Bjarne Kvinge 2d28e24837 [runtime] Handle any exceptions whenever we return from managed code. 2016-06-08 20:05:54 +02:00
Rolf Bjarne Kvinge 5e302f9719 [runtime] Catch and process managed exceptions that are thrown in reverse P/Invoke (delegate) callbacks. 2016-06-08 20:05:54 +02:00
Rolf Bjarne Kvinge e450dae136 [xharness] Add support for the introspection tests. (#151)
* [xharness] Add support for the introspection tests.

* [tests] Add support for mac introspection tests to xharness.
2016-06-08 19:45:31 +02:00
Chris Hamons 06c18bd887 [XM] Add release value option to msbuild/mmp to resolve XM 4.5 assemb… (#150)
[XM] Add release value option to msbuild/mmp to resolve XM 4.5 assemblies from system GAC

- This option "reverts" a C7 fix that prevented resovling assemblies from the GAC, which is unsafe
- If you use this option, you need to know what you are doing. The mono BCL and the XM BCL need to be compatible
- Use strictly puts you in the no support "you get to keep the pieces if it breaks" category.
2016-06-08 12:47:09 -04:00
Rolf Bjarne Kvinge ca729b9773 [mtouch tests] Add Xamarin.Analysis.Tasks.dll as a valid assembly to have in the Classic BCL directory. (#146) 2016-06-08 17:47:09 +02:00
Rolf Bjarne Kvinge e9983ef148 [mtouch tests] Fix typo in RegistrarTest. (#147) 2016-06-08 16:57:40 +02:00
Rolf Bjarne Kvinge 98af8b7d66 [mtouch tests] Make a few simulator tests more resilient against other output from mlaunch. (#148) 2016-06-08 16:19:56 +02:00
Chris Hamons 05bedce306 [XM] Fix dontlink by fixing some NSAccessibility binding mistakes (#143)
[XM] Fix dontlink by fixing some NSAccessibility binding mistakes
2016-06-08 09:51:19 -04:00