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

313 Коммитов

Автор SHA1 Сообщение Дата
Manuel de la Pena 6f1bb9633e [Documentation] Bump API docs and maccore. Fixes #58447 and #59423. (#2737)
This bumps fix the following issues fixed in maccore:

* https://bugzilla.xamarin.com/show_bug.cgi?id=58447
* https://bugzilla.xamarin.com/show_bug.cgi?id=59423
2017-09-21 16:41:03 +02:00
Sebastien Pouliot 6eb5f1d384 [linker] Reuse the linker submodule from our mono checkout (#2729)
and avoid potential out-of-sync issues with mono (i.e. single bump)
and any other product doing the same.
2017-09-20 11:07:14 -04:00
Sebastien Pouliot e6ce94b038 Bump maccore to get latest dependencies, including xcode9 support (#2727) 2017-09-20 08:32:54 +02:00
Matt Sylvia 30a06278f3 Branching for d15-5 2017-09-19 11:11:29 -04:00
Sebastien Pouliot 05eb96d0a7 Merge branch 'xcode9' into xcode9-master-merge 2017-09-15 11:05:30 -04:00
Manuel de la Pena bfaddd082d Bump maccore to point to commit with the docs fix. (#2703) 2017-09-15 00:05:45 -04:00
Sebastien Pouliot 45ff20e980 Bump maccore post 15.3 merge (#2665) 2017-09-12 15:43:38 -04:00
Rolf Bjarne Kvinge 9612b245b9 Bump maccore to get fix for bug #55064. (#2487) 2017-08-14 15:18:04 -04:00
Rolf Bjarne Kvinge 69ebb84d97 [tests] Add makefile target to run device tests and bump maccore to get automated VSTS triggering. (#2444)
* [tests] Add makefile target to run device tests and bump maccore to get automated VSTS triggering.

* [tests] Rename device-testing makefile target to make it clearer, and add a comment about it.
2017-08-09 17:23:54 +02:00
Rolf Bjarne Kvinge f964b4ca93 Bump maccore to get smarter inspector tests. (#2429)
Now only schedule builds when mono is bumped.
2017-08-03 15:55:10 -04:00
Rolf Bjarne Kvinge 83784e158a Bump maccore to get a few fixes for external tests. (#2348) 2017-07-19 15:29:52 -04:00
Rolf Bjarne Kvinge 9ad6daa127 Colorize dependency checks to make them nicer (and easier to see if something is ignored). (#2343)
* Colorize dependency checks to make them nicer (and easier to see if something is ignored).

Also print any ignored readme-style dependencies (previously we only printed
ignored submodule-style dependencies).

* Ignore any errors when fetching console colors sequences.

It's not a serious problems to not have colors, so just ignore any problems.

Makes this message go away on bots:

> tput: No value for $TERM and no -T specified
2017-07-19 09:35:05 +02:00
Rolf Bjarne Kvinge 44d03dae46 Bump to get xcode9 support (again). (#2325) 2017-07-13 16:32:47 +02:00
Rolf Bjarne Kvinge 8fbbfa5ca7 [tests] Add support for running external test suites. (#2324) 2017-07-13 14:25:48 +02:00
Matt Sylvia 2869ca5fd8 Branching for d15-3-xcode9 2017-07-12 17:18:06 -04:00
Rolf Bjarne Kvinge 981af59058 [mtouch] Don't allow building for 32-bit when deployment target is >= 11. Fixes #57966. (#2303)
* [mtouch] Don't allow building for 32-bit when deployment target is >= 11. Fixes #57966.

Also bump maccore to get an mlaunch error for launching a 32-bit app in a 64-bit-only simulator.

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

* [tests][msbuild] Make sure all Info.plists have deployment targets.

Otherwise we get different behavior (32-bit allowed or not) depending on which
Xcode is used to build.

* [mtouch] Default to 64-bit arch if not specified and targeting iOS 11+.

* [tests] Tweak tests to either specify a deployment target < 11 or not build a 32-bit arch.
2017-07-11 08:54:50 +02:00
Matt Sylvia f30f76a523 Automated bumping to align hashes. 2017-07-06 23:31:14 -04:00
Rolf Bjarne Kvinge fa3956cba0 [tests] Fix issues when launching watchOS apps in the simulator. (#2192)
This requires a new mlaunch as well.
2017-06-09 07:24:01 -07:00
Rolf Bjarne Kvinge b09c0ef45c Bump maccore to get new mlaunch. (#2179) 2017-06-07 06:47:51 -07:00
Vincent Dondain 24cd73a5ca Bump to Xcode 9 (#2176)
- Update Versions-ios and Versions-mac file too.
- Bump maccore and maciostools to the xcode9 branch.
- [builds] Force disable 'futimens' and 'utimensat' so that we build with Xcode 9.
- [builds] 'system' is not available on iOS (simulator).
- [runtime] Fix: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'
    - Prevented building xcode9 branch, see: https://jenkins.mono-project.com/job/xamarin-macios-pr-builder/3886/console
  ```
  runtime.m:1122:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'
                              char *last_sep = strrchr (info.dli_fname, '/');
  ```

- [registrar] Apple removed a header, so don't include it anymore.
- [mtouch] Don't run the partial static registrar for tvOS.
  The generated output doesn't compile because Apple forgot to ship headers for
the ExternalAccessory framework in their tvOS simulator SDK.
2017-06-06 16:21:26 -04:00
Matt Sylvia 1d4b21d27d Fix maccore hash (#2175) 2017-06-05 09:18:15 -04:00
Matt Sylvia c7cf8f99a0 Branching for d15-3 2017-06-02 15:25:16 -04:00
Rolf Bjarne Kvinge 241b6e68dc Bump maccore/maciostools and Xamarin.MacDev to line up with other products for the 15.3 release. (#2164) 2017-06-02 12:26:37 +02:00
Rolf Bjarne Kvinge 73fa2e2c4a Bump maccore to get fix for bug #55688. (#2144)
commit xamarin/maciostools@d3b50010fe
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Tue May 30 15:17:33 2017 +0200

    [Xamarin.Hosting] Add support for launching watchOS complications. Fixes #55688.

https://bugzilla.xamarin.com/show_bug.cgi?id=55688
2017-05-31 13:05:40 +02:00
luis.aguilera 8b71efc7a6 Updated reference to maccore 2017-05-28 17:27:48 -04:00
Rolf Bjarne Kvinge a69c85bae7 Remove anything related to using mkbundle, since we're not using mkbundle anymore. (#2132) 2017-05-26 07:05:03 +02:00
Rolf Bjarne Kvinge 3ab52d9cb7 [mk] Explain how to skip version checks when version checks fail. (#2079) 2017-05-10 16:40:31 +02:00
Vincent Dondain a925a8b4e3 Update reference to maccore (#2060)
Includes XIA0005 rule.
2017-05-02 19:24:44 -04:00
Marek Safar 996b582128 Update few mcs calls in src/ 2017-04-14 09:11:01 +02:00
Marek Safar 594a375c02 Update tools to use csc 2017-04-14 09:11:01 +02:00
Vincent Dondain 111d3357f6 Update reference to maccore (#2007) 2017-04-13 17:22:06 -04:00
Rolf Bjarne Kvinge bbbe881747 Fix how we build frameworks. Fixes #53813. (#1952)
Previously we copied any equivalent .dylib and ran install_name_tool on the
library to change the library id to make it a framework.

Unfortunately this does not work when the library contains bitcode, because
bitcode embeds linker flags (-install_name for instance), and
install_name_tool does not change those linker flags.

This means that we need to create frameworks by linking with the proper
arguments, since it's much more difficult to fixup the embedded bitcode linker
flags as well.

So change how be build Mono.framework, Xamarin.framework, and any frameworks
built from assemblies to:

* Always link instead of fixup a dylib. For Mono.framework this means
  extracting all the object files from libmonosgen-2.0.a and linking those,
  for Xamarin.framework this means linking the object files we've already
  built.

* Make sure the library is correctly named when linked (once again: bitcode
  contains embedded linker flags, so renaming the executable later breaks
  stuff as well).

I've also extracted the logic that creates Mono.framework from
libmonosgen-2.0.a to a separate shell script, to deduplicate this logic.

This required a minor change in the mono builds: we need the Mono.framework
when building the `all` target, so make sure that happens.

https://bugzilla.xamarin.com/show_bug.cgi?id=53813
2017-04-03 11:52:29 +02:00
Rolf Bjarne Kvinge b568b2541e [builds] Improve mono/llvm dependencies. (#1948)
* [builds] Improve mono/llvm dependencies.

* Create a list of all the files in the mono and llvm repositories, and save
  these lists as a Make variable (in a generated Makefile - .deps.*.mk). We
  don't list _all_ the files in each repository, because there are quite a few
  (55k for mono), and Make measurably takes a while to check all of them, so
  try to limit it to a sane subset, without risking missing changes to files
  that actually matters.

* Always create stamp files when we're done with mono builds.

* Modify the mono/llvm builds to depend on all the files in their
  repositories.

* Explicitly list the corresponding .stamp-build-* files as dependencies for
  various files that are produced by the mono builds, so that make knows how
  to build these files.

* Rewrite the *-facade-check targets to depend on the corresponding
  *_BCL_TARGETS, so that we can avoid running a submake to the same Makefile
  to execute the facade checks.

  It now takes a little while (less than a second on my machine, which is
  fine) for make to list all dependencies and get their timestamps, but if
  executing multiple submakes this adds up to a multi-second timewaste.

  So avoid the timewaste by not doing submakes, but instead use dependencies
  to enforce the required target execution ordering.

* Don't depend on nicely named intermediate targets, since won't prevent
  rebuilds:

      build-cross64: setup-cross64

  Since the `setup-cross64` file doesn't exist, `build-cross64` will always
  execute. Instead depend on the stamp file:

      build-cross64: .stamp-configure-cross64

  And now `build-cross64` will only rebuild if needed.

* Don't try to list all intermediate files as .SECONDARY dependencies, instead
  list none at all, which works as if all files were listed as dependencies.

* Some targets had to move later in the file, since variables used in dependencies:

       foo: $(VARIABLE)

  must be defined before that point in the file, as opposed to variables used in recipes:

       foo:
           $(MAKE) $(VARIABLE)

  can be defined anywhere in the Makefile.

* Simplify the targets that sign assemblies significantly.

There are a few end results:

* It's now possible to do `make install`, without doing `make all` first. This
  might seem weird, but that also ensures the more common `make all install`
  works properly.

* Remakes (without any mono/llvm changes) in build/ are much faster, because
  we now won't recurse into every mono build:

      $ time make all -C builds/ -j8
      [...]
      real  0m1.873s

  This even means that we might be able to make it a habit to remake in the
  root directory, which doesn't take forever now:

      $ time make all -j8
      [...]
      real  0m4.521s

  Unfortunately adding `make install` to the mix still does some useless
  stuff, and it ends up taking ~30 seconds to complete a full build:

      $ time make all install -j8
      [...]
      real  0m32.542s

* [msbuild] Don't verify the xml syntax of targets files unless the files change.

* [build] Don't depend on installed files.

Don't depend on installed files, because that causes a rebuild when installing
to a different directory (i.e. package creation).

* Bump maccore to get build improvements.

Rebuilds are now very fast:

    $ make all install -j8
    $ time make all install -j8
    real	0m5.735s

Less than 6s to figure out that nothing needs to be done.

And strangely flushing the disk cache doesn't make it much slower:

    $ sudo purge
    $ time make all install -j8
    real	0m7.309s

Which probably means that Make mostly reads file metadata, and not actual file
contents (which is good).
2017-03-31 20:23:38 +02:00
Rolf Bjarne Kvinge d5828ef1a0 Bump maccore to get documentation for the Runtime.AssemblyRegistration event. (#1940) 2017-03-30 14:37:28 +02: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 3b30fc2191 Bump maccore to get fix for bug #40287. (#1914)
https://bugzilla.xamarin.com/show_bug.cgi?id=40287
2017-03-27 15:22:52 +02:00
Vincent Dondain 2302931ceb [doc] Add XIA0004 Missing64BitSupportRule to xamarin-ios-analysis (#1912)
- Also update reference to maccore with the xamarin-analysis bump that includes XIA0004.
2017-03-25 13:02:54 -04:00
Rolf Bjarne Kvinge 1dc8c86e5b Merge remote-tracking branch 'origin/master' into mono-2017-02 2017-03-24 13:54:07 +01:00
Matt Sylvia acb9b93e39 [d15-2 prep] bump macdev maccore 2017-03-24 00:14:06 -04:00
Marek Safar 7b7ae3d6c0 Bump maccore 2017-03-22 16:29:45 +01:00
Marek Safar 131ccce6e3 Revert "Bump maccore for mdoc path fix"
This reverts commit 50f4564b6b.
2017-03-22 16:26:35 +01:00
Rolf Bjarne Kvinge 1bf8c67d4a Bump maccore to an official hash. 2017-03-22 14:11:51 +01:00
Marek Safar 50f4564b6b Bump maccore for mdoc path fix 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
Rolf Bjarne Kvinge 7837d5d4e0 Bump maccore to get fix for IKVM-based generator. 2017-03-09 12:48:17 +01:00
Rolf Bjarne Kvinge 24dacc6d02 [runtime] Don't look in shared memory for debug data in normal apps (#1841)
* Bump maccore to get fix for launching the simulator for app extensions.

* [runtime] Don't look in shared memory for debug data in normal apps.

Don't look in shared memory for debug data in normal apps, because it
interferes when debugging extensions from the same solution as a container
app:

Example, for a keyboard extension:

1. Run extension in XS.
2. Manually launch the extension's container app (which contains a textbox
   that can be used to launch the keyboard).
3. The container app reads the debug data in shared memory which was intented
   for the extension, and takes over the debugger.
4. Launch keyboard, which will not be able to connect to the IDE because the
   container app already connected to the IDE.
2017-03-08 20:00:58 +01:00
Rolf Bjarne Kvinge 28d2216afb Bump maccore to get partial fix for bug #52710. (#1835)
* Bump maccore to get partial fix for bug #52710.

Bump maccore to get partial fix for bug #52710 (can't launch/debug today
extensions more than once).

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

* Bump maccore to make the (partial) fix for #52710 work on device as well.
2017-03-07 19:57:33 +01:00
Rolf Bjarne Kvinge 73cc729fa0 Bump maccore to get a potential fix for #52968. (#1814)
Bump maccore to get a potential fix for #52968 (random timeouts when launching
watchOS apps on Wrench).

https://bugzilla.xamarin.com/show_bug.cgi?id=52968
2017-03-02 14:59:52 +01:00
Rolf Bjarne Kvinge ae7fc187b0 Bump maccore to get improved mlaunch logging. (#1808)
Bump maccore to get improved logging to track down random launch failures for watchOS apps on wrench.
2017-03-01 16:40:31 +01:00
Rolf Bjarne Kvinge 0889b0d200 Bump maccore to get fix for #52900. (#1789)
https://bugzilla.xamarin.com/show_bug.cgi?id=52900
2017-02-28 20:11:13 +01:00
Rolf Bjarne Kvinge c5bdb08a75 Bump maccore to get fix for #52717. (#1780)
https://bugzilla.xamarin.com/show_bug.cgi?id=52717
2017-02-28 15:40:49 +01:00
Sebastien Pouliot dfc6e7b73f [build] Bump maccore to pickup the revert on how we build mlaunch (#1762)
reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=52732
2017-02-23 23:13:47 -05:00
Rolf Bjarne Kvinge 87b2e73248 Bump maccore to get fix for bug #51700. (#1756)
https://bugzilla.xamarin.com/show_bug.cgi?id=51700
2017-02-23 13:01:31 -05:00
Rolf Bjarne Kvinge 7a60206841 Bump maccore to get fix for bug #52381. (#1734)
https://bugzilla.xamarin.com/show_bug.cgi?id=52381
2017-02-21 14:03:03 -05:00
Rolf Bjarne Kvinge 10890b020c Bump to a mlaunch that hopefully fixes #50419. (#1424)
https://bugzilla.xamarin.com/show_bug.cgi?id=50419
2017-02-17 16:03:40 +01:00
Rolf Bjarne Kvinge 7bfe13396e Bump maccore to get potential fix for #47750. (#1587)
https://bugzilla.xamarin.com/show_bug.cgi?id=47750
2017-01-31 07:07:02 +01:00
Rolf Bjarne Kvinge 3dac0bae81 Use @rpath instead of @executable_path in dylibs. (#1552)
Use @rpath instead of @executable_path in dylibs, since it allows us to be
more flexible when placing dylibs in the app.

In particular with this change it's trivial to put libmonosgen-2.0.dylib in
the container app, and reference it from extensions.
2017-01-24 20:24:32 +01:00
Manuel de la Pena d3c2c53805 Bump maccore which also bump maciotools. (#1511) 2017-01-16 14:01:24 -05:00
Vincent Dondain ebb7dceaa9 Update reference to maccore (#1483)
This includes the new mlaunch -install-progress argument needed by VS
to show a progress bar when deploying to device.
2017-01-12 16:15:47 -05:00
Chris Hamons ffe142d0b5 [XM] AOT support in Xamarin.Mac (#1340) 2017-01-11 14:10:39 -06:00
Rolf Bjarne Kvinge 6e987418f7 Bump maccore to get fix for launching watch apps in the simulator. (#1458) 2017-01-10 18:51:56 +01:00
Alex Soto 9ac69344db [Docsfixer] Bump maccore to get some docsfixer changes 2016-12-15 13:13:19 -06:00
Emanuel 916f8da93e Bumps maccore to get msbuild.zip changes (#1348) 2016-12-15 10:52:29 +01:00
Rolf Bjarne Kvinge b4e458739d Bump maccore to get fix for #48830. (#1333)
https://bugzilla.xamarin.com/show_bug.cgi?id=48830
2016-12-12 13:23:16 +01:00
Rolf Bjarne Kvinge 33e778bd66 Bump maccore to get new mlaunch. (#1296)
* Bump maccore to get new mlaunch.

A new mlaunch that:

* Should have fewer random failures when launching watchOS apps.
* Supports launching extensions on device.
* Supports uninstalling apps from devices.
2016-12-03 01:53:36 +01:00
Vincent Dondain 42775bac58 Update reference to maccore
Includes xamarin-analysis bump with rule XIA0003.
2016-11-21 16:14:09 +01:00
Rolf Bjarne Kvinge 7233468538 Bump maccore to get license update. (#1194) 2016-11-15 11:19:47 +01:00
Rolf Bjarne Kvinge fbb3d0c0e8 Bump maccore to get packaging fix. (#1155) 2016-11-10 14:29:22 +01:00
Rolf Bjarne Kvinge 7bf290278c Bump maccore to get mlaunch changes. (#1143) 2016-11-09 16:14:59 +01:00
Rolf Bjarne Kvinge 70cea2e7a3 Add a MTOUCH_VERBOSITY make variable to toggle verbosity depending on the V variable. (#1081) 2016-11-01 16:38:43 +01:00
Sebastien Pouliot 8c93e7758d Merge branch 'xcode8.1' 2016-10-26 15:56:34 -04:00
Rolf Bjarne Kvinge b638977c91 Bump maccore to get an mlaunch that works with Xcode 8.1 (#1032) 2016-10-25 13:15:48 -04:00
Rolf Bjarne Kvinge b713589719 Bump maccore to get packaging fix after removal of msbuild support for XI/Classic. (#989) 2016-10-13 16:24:30 +02:00
Rolf Bjarne Kvinge c4b5fa5f44 [msbuild] Remove support for XI/Classic. (#976)
* [msbuild] Remove unused FrameworkList.xmls

* [msbuild] Make files in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/msbuild/iOS the real deal, not a symlink.

* [msbuild] Make /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS a symlink, instead of each file inside.

* [msbuild] Don't put anything in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1 anymore.

* [msbuild] Remove support for XI/Classic binding projects.

* Improve 'install-system' to clean up old files.

* [msbuild] Simplify XI/Classic targets files a bit.

* [msbuild] Remove dead XI/Classic code.

* Bump maccore to get fix for xamarin-analysis.

commit xamarin/maccore@34c04c2bf1
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Mon Oct 10 16:46:18 2016 +0200

    [analysis] Update to put files in /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS.

    XI/Classic is being removed now, which means files should go into
    /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/msbuild/iOS/ instead of into
    /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1.
2016-10-13 10:47:46 +02:00
Vincent Dondain a4784b3866 Update reference to maccore
Bump for xamarin-analysis to fix bug #45272: Problem wth target name in code analysis target
(https://bugzilla.xamarin.com/show_bug.cgi?id=45272)
2016-10-11 16:32:02 +02:00
Sebastien Pouliot e5aa8f5bab Merge branch 'xcode8' into xcode8.1 2016-10-06 20:50:20 -04:00
Duncan Mak 043c11ac4f Merge branch 'cycle8-sr0-xi' into xcode8 2016-10-06 17:57:32 -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
Vincent Dondain fff489e3c0 Update reference to maccore 2016-10-01 23:11:23 +02:00
Vincent Dondain ecf5b1abe6 Update reference to maccore 2016-09-30 23:35:53 +02:00
Rolf Bjarne Kvinge 19d237473e [runtime] Fix support for debugging on watch device with multiple IP addresses. Fixes #44568. (#898)
At startup we send a request to all the IP addresses we have,
so we must make sure to not get confused if we get responses
from more than one of them.

This fix also requires an updated mlaunch.

https://bugzilla.xamarin.com/show_bug.cgi?id=44568
2016-09-27 08:07:31 -04:00
Duncan Mak 55365c4ddf Update maccore to cycle8-sr0 and include bumps for XmlDocSync and Xamarin-Analysis 2016-09-15 18:03:51 -04:00
Sebastien Pouliot 4192c577ef Bump maccore to include xcode8 merge and bump'ed iOS documentation (#830) 2016-09-13 17:47:06 -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
Sebastien Pouliot 0cc8b176e8 Merge branch 'cycle8' into xcode8 2016-09-06 18:46:23 -04:00
Rolf Bjarne Kvinge 3859240031 Add support for debugging over http. Fixes #41554.
The watchOS device has limited networking support; in particular
it does not allow inbound/output network connections using 'bind'
(kernel-level sandbox restrictions).

This means that we can't use BSD sockets to connect to the debugger
in the IDE on the desktop. Instead we create an http tunnel that
knows how to convert socket send/recv data into http requests on
both sides.

https://bugzilla.xamarin.com/show_bug.cgi?id=41554
2016-09-05 10:05:00 +02:00
Sebastien Pouliot 4220714485 Merge branch 'cycle8' into xcode8 2016-09-01 14:38:23 -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 1d17cc6390 Add support for debugging over http. Fixes #41554.
The watchOS device has limited networking support; in particular
it does not allow inbound/output network connections using 'bind'
(kernel-level sandbox restrictions).

This means that we can't use BSD sockets to connect to the debugger
in the IDE on the desktop. Instead we create an http tunnel that
knows how to convert socket send/recv data into http requests on
both sides.

https://bugzilla.xamarin.com/show_bug.cgi?id=41554
2016-09-01 16:55:49 +02:00
Sebastien Pouliot 1c1a764a53 Bump maccore to get the latest revision of mono-extensions/mono-4.6.0-branch (#724) 2016-08-31 13:24:46 -04:00
Sebastien Pouliot 1d5bbedc61 Bump maccore to remove classic (monotouch.dll and friends) support from XI (#704)
Also stop processing the API diff for classic assemblies
2016-08-30 08:14:29 -04:00
Rolf Bjarne Kvinge ad9c4c3231 Bump maccore to get mlaunch compatible with Xcode 8 beta 6. (#678) 2016-08-26 12:55:17 +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
Chris Hamons e4e02bfd1c Merge branch 'cycle8' into xcode8 2016-08-18 14:52:43 -05:00
Chris Hamons 5c7670121a Bump maccore 2016-08-18 14:27:27 -05:00
Chris Hamons 6318b79211 Bump maccore 2016-08-18 14:24:36 -05: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 ff77f85a4c Merge branch 'cycle8' into xcode8 2016-08-08 15:29:36 -04:00
Rolf Bjarne Kvinge 9f3d438169 [xharness] Attach a native debugger when running watchOS tests on device. (#560)
Attaching a native debugger prevents the watch from backgrounding
the app, and makes the test run able to complete without having
to babysit it.
2016-08-05 21:03:56 +02:00
Manuel de la Pena c374863173 Bump maccore dep. 2016-08-05 09:30:58 +02:00
Manuel de la Pena 38db704c31 Bump maccore dependency. 2016-08-03 08:29:20 +02:00
Miguel de Icaza c16047695f Bump maccore, for ios-api-docs 2016-08-02 16:13:11 -04:00
Sebastien Pouliot 4e2821778d Bump maccore to fix simulator support on beta 4 2016-08-01 21:40:57 -04:00
Sebastien Pouliot cf27c2e7a8 Merge branch 'cycle8' into xcode8 2016-07-13 16:43:00 -04:00
Sebastien Pouliot 90259562d1 Switch maccore to cycle8 branch 2016-07-12 16:46:37 -04:00
Miguel de Icaza e5db2c57af Bring new maccore with the doc stubs 2016-07-12 14:33:50 -04:00
Rolf Bjarne Kvinge 09a1dae45d Bump maccore to get fix for #41329. (#314)
https://bugzilla.xamarin.com/show_bug.cgi?id=41329
2016-06-29 02:23:24 -07:00
Rolf Bjarne Kvinge 7e773080a9 Merge remote-tracking branch 'origin/master' into xcode8 2016-06-29 10:23:03 +02:00
Rolf Bjarne Kvinge 1a1958f52d Merge remote-tracking branch 'origin/master' into xcode8 2016-06-28 12:44:08 +02:00
Sebastien Pouliot 4a1f7fa778 Merge branch 'master' into xcode8 2016-06-27 16:30:29 -04:00
Vincent Dondain afa7e8d976 [msbuild] Import Xamarin.iOS.Analysis.targets (#283)
Update reference to maccore which includes
the bump to an update xamarin-analysis and
the corresponding Makefile changes.
2016-06-27 14:07:58 -04:00
Rolf Bjarne Kvinge 08a053c98f Bump maccore to get fix for bug #41655. (#282)
https://bugzilla.xamarin.com/show_bug.cgi?id=41655
2016-06-27 08:15:32 -07:00
Rolf Bjarne Kvinge 12ce7fdffb Bump maccore to xcode8 branch. (#187) 2016-06-14 07:59:08 +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
Vincent Dondain f9261710a3 [Makefile] Call maccore install-symlinks (#126)
* [Makefile] Call maccore install-symlinks

* Update reference to maccore
2016-06-04 12:46:52 +02:00
Rolf Bjarne Kvinge 3e8a605c9b Bump maccore to get a few mlaunch improvements. (#125) 2016-06-02 14:29:33 +02:00
Rolf Bjarne Kvinge d23c146e84 [mk] Make sure we're on the right hash after cloning maccore. (#108)
This fixes the following problem:

* xamarin-macios is cloned
* xamarin mode is enabled
* make world is executed
  * The maccore repo will be cloned immediately
  * make reset-versions will be executed, which will reset the maccore version.
    If this brings a new version of maccore, maccore dependencies might be
    out of date.
  * make all will be executed, which may fail because some dependencies
    are out of date.
2016-05-31 18:51:32 +02:00
Rolf Bjarne Kvinge ef43763241 [mk] Don't use sub-make to clone maccore. (#107)
It ends up in an infinite loop of submakes.
2016-05-31 16:29:15 +02:00
Rolf Bjarne Kvinge 9454ac7015 [mk] Don't use a stamp file to detect if maccore has been cloned. (#102)
Instead check if the maccore directory exists.

This prevents an issue where if the stamp file did not exist and
the maccore directory did, we'd reset the maccore directory even
for make targets that shouldn't change anything (such as 'check-versions').
2016-05-31 11:09:52 +02:00
Rolf Bjarne Kvinge 4918be4c56 Bump maccore to get fix for #40933. (#97)
https://bugzilla.xamarin.com/show_bug.cgi?id=40933
2016-05-27 19:17:04 +02:00
Chris Hamons a5a4450726 Bump maccore for extension tests 2016-05-25 16:22:50 -05: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
Sebastien Pouliot c49a8cb211 Bump maccore to fix monotouch-test unified builds 2016-05-25 11:06:29 -04: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
Manuel de la Pena 16f078a960 Bump maccore dependency. 2016-05-23 22:35:58 +02:00
Manuel de la Pena cd02bdb4b0 Bump maccore dependency. 2016-05-20 16:54:47 +02:00
Rolf Bjarne Kvinge 7ae963b741 Bump maccore to get tests for exception marshaling. (#63) 2016-05-18 15:19:35 +02:00
Rolf Bjarne Kvinge 34656bfa76 [mk] Add watch-mono to the check-versions and reset-versions targets. (#62) 2016-05-18 14:29:02 +02:00
Sebastien Pouliot e726b5ab7e Bump maccore for fixing #3 of bug #41083 (#61)
[Xamarin.Hosting] Set a default simulator if nothing is provided to mlaunch. Fix #41083 part 3

    The string to represent a specific simulator is not something you can
    easily remember but it's often not very important.

    This will start the most basic simulator, by default, instead of throwing
    an NRE that does not mention a (now un-) required parameter is missing.

    > Failed to launch the simulator: Object reference not set to an instance of an object
    > error MT1008: Failed to launch the simulator: Object reference not set to an instance of an object

    https://bugzilla.xamarin.com/show_bug.cgi?id=41083
2016-05-17 20:37:16 -04:00
Sebastien Pouliot 61b3006b84 [mtouch] Fix --sdkroot not to report a default to /Developer/. Fixes part of #41083
Also bump maccore so `mlaunch` behave like `mtouch` wrt --sdkroot

https://bugzilla.xamarin.com/show_bug.cgi?id=41083
2016-05-14 11:11:40 -04:00
Rolf Bjarne Kvinge 0d376c521a [mtouch] Properly link with CoreAudioKit when not using simlauncher. (#49)
Also bump maccore to get new test.

commit xamarin/maccore@eb9c34d875
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Fri May 13 12:46:04 2016 +0200

    [monotouch-test] Add test to ensure mtouch properly links with CoreAudioKit when not using simlauncher.
2016-05-13 08:23:49 -04:00
Manuel de la Pena 839304ae3b Bump maccore version. 2016-05-12 23:10:39 +02:00
Rolf Bjarne Kvinge 0e7952053c [mmp] References are optional when not linking the app, so don't show errors in that case. Fixes #40786. (#40)
It is apparently common to have references to assemblies that can't
be resolved when building apps with the linker disabled, so we need
to support that.

So add a custom reference loading step that only shows a warning
for unresolvable assemblies.

Also bump maccore to add a test.

commit xamarin/maccore@190c67d855
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Tue May 10 18:14:04 2016 +0200

    [tests] Add test case for bug #40786.

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

https://bugzilla.xamarin.com/show_bug.cgi?id=40786
2016-05-11 10:16:30 -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
Rolf Bjarne Kvinge eb5a9c0770 Bump maccore to get fix for watchOS tests. (#36)
commit xamarin/maccore@8cc7ade11c
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Tue May 10 12:16:47 2016 +0200

    [xharness] Find and parse config files in xamarin-macios as well.

    Should make the watchos tests run again on wrench.
2016-05-10 09:01:52 -04:00
Alex Soto 047615eb7d Bump maccore hash 2016-05-06 13:19:45 -05:00
Alex Soto eafbe7d035 Bump maccore 2016-05-05 13:36:50 -05:00
Sebastien Pouliot feda8a52f1 Bump maccore to fix running 'link all' on devices (wrt AppleTLS change) 2016-05-05 11:19:30 -04:00
Sebastien Pouliot 4ad60fbe66 Bump maccore to fix defines when building 'link all' tests on tvOS 2016-05-05 08:52:59 -04:00
Sebastien Pouliot e3e647714d Bump maccore to update (link sdk) tests wrt AppleTLS switch 2016-05-04 23:13:21 -04:00
Sebastien Pouliot 412f64e29c Bump maccore revision to fix the build
Somehow we're building tests (references to GuiUnit.exe) very early
(make step) instead of when building the tests.
2016-05-04 17:10:44 -04:00
Manuel de la Pena 247d488828 Bump maccore version. 2016-05-04 22:00:05 +02:00
Sebastien Pouliot 9801c4d2ef Bump maccore (to remove the same guiunit copy) 2016-05-04 15:20:53 -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
Vincent Dondain 46c4269992 Update reference to maccore (#17)
Fix ApiSelectorTest for NSImage initByReferencingFile:

Commit 8b400722fb introduced
a new InitByReferencingFile internal method bound to initByReferencingFile:

Therefore the mac don't link tests were complaining because that selector
was used on a method and not a constructor.
2016-04-28 14:18:13 -04:00
Rolf Bjarne Kvinge e9e4abfd3b Bump maccore to get test fix. (#12)
commit xamarin/maccore@15f20dadb1
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Wed Apr 27 14:22:13 2016 -0400

    [tests] Fix double/single-colon target confusing in Makefile.
2016-04-27 15:36:38 -04:00
Rolf Bjarne Kvinge 6c65faac6d Bump maccore to get updated mlaunch. (#8) 2016-04-27 14:27:31 -04:00
Rolf Bjarne Kvinge 2e67fb4316 Bump maccore to get test removals. 2016-04-26 18:02:02 -04:00
Rolf Bjarne Kvinge 80939aa209 Bump maccore to master. 2016-04-26 10:33:56 -04:00
Rolf Bjarne Kvinge 17f15409da Bump maccore to get test updates. 2016-04-25 10:14:58 -04:00
Rolf Bjarne Kvinge 5a193ff083 Bump maccore to get test fixes. 2016-04-24 19:28:28 -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