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

18075 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 73d0e722d5 [tests] Add more files which are ignored by default. 2016-05-27 14:43:21 +02:00
Rolf Bjarne Kvinge 0b24bc0b8d [runtime] Fix boolean logic for thread attach/detach implementation. 2016-05-27 10:35:05 +02:00
Rolf Bjarne Kvinge 0629b461c6 [tests] Remove duplicated file. 2016-05-27 10:19:27 +02:00
Rolf Bjarne Kvinge 4ad86833ab [tests] Update a few paths after test move. 2016-05-27 10:17:26 +02:00
Rolf Bjarne Kvinge ba3c967619 [tests] Fix paths for mtouch tests. 2016-05-27 10:14:43 +02:00
Rolf Bjarne Kvinge 80e0ef0b50 [tests] Only generate qa-test-dependencies when the Xamarin build is enabled. 2016-05-27 10:14:28 +02:00
Rolf Bjarne Kvinge 5034fa5b68 [link sdk] Add missing file. 2016-05-27 10:01:12 +02:00
Rolf Bjarne Kvinge 82bbac0ae1 [docs] Fix wrench-docs. 2016-05-27 09:56:48 +02:00
Rolf Bjarne Kvinge 489017576a Merge pull request #93 from joj/master
Add Windows support for building Xamarin.Mac
2016-05-26 18:54:36 +02:00
joj dea10d50b3 Renamed TaskBase class files to *TaskBase; Fixed Mac reference 2016-05-26 13:06:39 -03:00
Rolf Bjarne Kvinge e1464027f2 [runtime] Make new functions optional so that they don't hang XM apps using system mono at launch. 2016-05-26 17:47:44 +02:00
Rolf Bjarne Kvinge 5054c1ee45 [runtime] Update thread attach/detach according to mono changes.
* Restore the mono_jit_thread_attach signature to how it's in
  the latest stable.

* Don't use the new attach/detach methods when using the dynamic
  mono runtime, since the methods aren't available in any released
  version of mono. Also XM doesn't support coop yet, so it's not
  needed.

* And finally don't use the new attach/detach methods for anything
  that isn't building using mono/master (iow only watchOS). This
  should be changed once the rest of the products starts using
  mono/master again.
2016-05-26 17:47:44 +02:00
Rolf Bjarne Kvinge 00f39e4390 [mtouch] Force min deployment target to 9.0 when enabling bitcode. 2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge 7759aa579c [src] Add a Release-bitcode configuration to project files. 2016-05-26 17:47:10 +02:00
Zoltan Varga 5270b63cee [runtime] Use the same coop gc macro names as mono master does. 2016-05-26 17:47:10 +02:00
Zoltan Varga 88dd823e40 Add a --enable-bitcode-on-ios configure option to enable bitcode support in the ios/tvos runtimes. 2016-05-26 17:47:10 +02:00
Zoltan Varga bcf86f4ff2 [mtouch] Link non-bitcode ios apps with -lc++ if ENABLE_BITCODE_ON_IOS is set, since the mono libs require it. 2016-05-26 17:47:10 +02:00
Zoltan Varga 8b59d42144 Make the sdb send/receive functions run in gc safe mode. 2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge 13b7c6dd11 [runtime] Make sure to switch to GC SAFE before calling xamarin_switch_gchandle. 2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge ac8d493581 [runtime] Attach the current thread in xamarin_invoke_trampoline.
It's entirely possible to call xamarin_invoke_trampoline on a
thread we've never heard about before.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge 4a5ce42b48 [runtime] Add a MONO_ASSERT_GC_SAFE_OR_DETACHED.
Since MONO_ASSERT_GC_SAFE asserts when executed on a detached thread,
and yet it's clearly safe for the GC to run when a thread is detached.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge d7bdc5d126 [runtime] mono_set_pending_exception expects to be in GC Unsafe mode. 2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge af0d01c93a Initial review pass for COOP for watchOS. 2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge 16824dd40f [builds] Enable checked builds for watchOS for now, to make it easier to track down failures. 2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge ac5ff5e321 [runtime] Replace xamarin_try_get_nsobject with xamarin_has_nsobject.
Removes one usage of ObjectWrapper, since we don't actually need
the return value, we just need to know if an object exists.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge fc0f656a53 [runtime] Make xamarin_[create|release]_managed_ref icalls.
This way we can pass pointers to managed objects to the native objects
without the coop GC interfering (since icalls won't automatically
switch to "gc safe" mode).
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge 297b6a24f3 [runtime] Ignore SIGPIPE for watchOS.
Usually mono does this for other apps, but not for watchOS (where mono doesn't
use signals at all).

watchOS can still raise signals though, so we need to ignore at least SIGPIPE.
2016-05-26 17:47:10 +02:00
Rolf Bjarne Kvinge 314ec50e23 [tests] Add missing file. 2016-05-26 17:42:40 +02:00
Rolf Bjarne Kvinge b1f3f6b1b7 Bump mono to get watchbcl fix. (#90)
commit mono/mono@e4d33f70d4
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Wed May 18 14:21:23 2016 +0200

    [System] Throw PlatformNotSupportedException if NetworkInformation.NetworkChange is used on watchOS. (#3010)

    NetworkInformation.NetworkChange requires the SystemConfiguration framework,
    which isn't available on watchOS.
2016-05-26 17:22:11 +02:00
Rolf Bjarne Kvinge 0537fa6622 [registrar] Cope with nameless parameters. (#91) 2016-05-26 16:12:16 +02:00
Rolf Bjarne Kvinge 54976d90ce [registrar] Remove debug spew. (#89) 2016-05-26 16:03:32 +02:00
Rolf Bjarne Kvinge 04b92a91aa [src] Bump Touch.Unit dependency to get HttpTextWriter addition. (#88)
And add the new file to the build.

commit spouliot/Touch.Unit@ffe2a6dcff
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Wed May 25 18:11:59 2016 +0200

    Add a HttpTextWriter that can send logs over http.

    There is no public API to create raw sockets with watchOS, so
    we can't use Tcp directly, thus the need for using Http.
2016-05-26 15:34:47 +02:00
joj b1e7cd4b23 Made tasks in Mac.Tasks.Core bases; added SessionId 2016-05-26 10:24:13 -03:00
Rolf Bjarne Kvinge 7d34d657c2 [tests] Update gitignore. 2016-05-26 15:15:21 +02:00
Rolf Bjarne Kvinge c8b35f9b6a [xharness] Fix mlaunch lookup. 2016-05-26 15:15:08 +02:00
joj 19b87f2723 Added new Mac.Tasks.Core project; moved tasks with no Core base there 2016-05-26 10:07:59 -03:00
Rolf Bjarne Kvinge ecfdea9508 [tests] Import 2016-05-26 15:06:52 +02:00
Rolf Bjarne Kvinge a082722047 [msbuild] Make sure CFBundleShortVersionString is set to something. (#86)
This prevents the watch from getting mightily confused when re-installing
watch apps/extensions.

Not having a CFBundleShortVersionString would cause the following:

* Build & install & run would work fine the first time.
* The second build & install would confuse the watch so that the
  app wouldn't launch. Removing the app and reinstalling wouldn't
  work; the potential options would be to either reboot the device,
  or add a CFBundleShortVersionString to the Info.plists and install
  that build twice.
2016-05-26 14:20:43 +02:00
Rolf Bjarne Kvinge 3a70b71a4c [msbuild] LLVM is possible for armv7k as well. (#87) 2016-05-26 13:52:21 +02:00
Rolf Bjarne Kvinge 5feea25f3c [runtime] Use xamarin_process_nsexception instead of xamarin_throw_ns_exception in our generated bindings. (#84)
This makes the generated bindings play nice with exception marshaling.
2016-05-26 13:36:56 +02:00
Rolf Bjarne Kvinge a5c7575387 [runtime] Remove debug printf I haven't figured out how to fix. (#85)
As far as I can tell there are no memory warnings on watchOS,
but I can't find any documentation saying that either.
2016-05-26 13:11:28 +02:00
Chris Hamons a5a4450726 Bump maccore for extension tests 2016-05-25 16:22:50 -05:00
Chris Hamons ca028ea150 [Mac] Add support for os x extensions (#83) 2016-05-25 17:20:33 -04:00
Chris Hamons 47dc0f26c9 Mmp readonly fix (#82)
* [XM] Teach XM's mmp tool to handle read only assemblies/native libs

- https://bugzilla.xamarin.com/show_bug.cgi?id=41037
- mmp should also promote any install_name_tool errors to "real" errors

* Bump maccore
2016-05-25 16:29:33 -04:00
Jeffrey Stedfast 0d184bb187 [msbuild] Bump task projects to use .NET 4.5 instead of 4.0 (#78)
* [msbuild] Bump task projects to use .NET 4.5 instead of 4.0

Needed so that we can reference .NET 4.5 projects/assemblies
2016-05-25 14:06:20 -04:00
Sebastien Pouliot c49a8cb211 Bump maccore to fix monotouch-test unified builds 2016-05-25 11:06:29 -04:00
Jeffrey Stedfast 88bf794559 [msbuild] Fixed logic for building WatchOS storyboards (#75)
Starting with Xcode 7, storyboards are output as
Interface.storyboardc/Interface.plist instead of Interface.plist

We can also safely link these storyboards as long as we pass
the storyboardc directory to ibtool.
2016-05-25 11:16:41 +02:00
Sebastien Pouliot 24a2060e85 Bump maccore for test updates 2016-05-24 15:10:36 -04:00
Manuel de la Pena e9f172c71e Bump maccore dependency. 2016-05-24 10:41:21 +02:00
Jeffrey Stedfast e1e358a402 Merge pull request #45 from jstedfast/ibtool-link
[msbuild] Link storyboards as part of the IBTool task if Xcode >= 7.0
2016-05-23 16:41:26 -04:00