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

280 Коммитов

Автор SHA1 Сообщение Дата
Vincent Dondain 79e1d3613e
[xamarin-analysis] Add rule #6 and updated md file (#3088)
- Add XIA0006: HttpClientAvoidManaged.
- Add documentation on how the rules work and how to activate them.
  Also mention that they need to be ran on each active configuration.
- Bump maccore to include XIA 0006.
2017-12-12 12:43:36 -05:00
Rolf Bjarne Kvinge d7fa24b3e1
Bump maccore to get package build fix. (#3050)
Commit list for xamarin/maccore:

* xamarin/maccore@c3913ff3ab [release] Build the MSBuild solutions with msbuild since they don't work with xbuild anymore.

Diff: 14c3eca3aa...c3913ff3ab
2017-11-28 14:28:14 +01:00
Rolf Bjarne Kvinge 46313ebed0
Enforce the right macios-binaries hash. (#3048)
This will also tell you nicely if you're missing it.
2017-11-27 16:59:12 +01:00
Rolf Bjarne Kvinge f4f887fa92
Bump maccore to get mac-api-docs fix. (#3040)
commit xamarin/maccore@14c3eca3aa
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Fri Nov 24 09:53:13 2017 +0100

    Bump mac-api-docs.

    commit xamarin/mac-api-docs@057bb83848
    Author: Timothy Risi <timothy.risi@xamarin.com>
    Date:   Thu Nov 23 23:52:21 2017 -0900

        Docs should also be generated for Xamarin.Mac (#2)

        * Docs should also be generated for Xamarin.Mac

        * Remove the push target
2017-11-24 12:47:58 +01:00
Rolf Bjarne Kvinge 662dd792c4
Bump maccore to get fix for providing the right wrench link to VSTS. (#3037)
commit xamarin/maccore@bb3ebb634f
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Thu Nov 23 19:06:51 2017 +0100

    [tests/external/device-builds] Use BUILD_WORK_HOST instead of BUILD_HOST so that we calculate the right wrench url.
2017-11-24 07:41:35 +01:00
Bernhard Urban 20182800a1
[runtime] integrate mono 2017-10 (#2905)
* Update the function name used to initialize libmono-profiler-log, its called mono_profiler_init_log () now.

* [builds] Pass --with-cross-offsets= to crosstv's configure.

* Bump mono to 2017-08.

* Bump mono to 2017-08.

* Force disable 'futimens' and 'utimensat' so that we build with Xcode 9.

This is also needed to build with Xcode 8.3 on High Sierra.

* Remove old AppleTls implementation.

* Bump mono.

* Bump mono to 2017-08.

* Bump mono to 2017-08

* Reenable link-keep-resources-2 test

- This reverts commit 76b759ef22.
- 2017-08 has linker fix

* Bump mono to 2017-10

* Revert "Bump mono to 2017-10"

This reverts commit bb7832724e.

* Bump system mono to 2017-10

* Bump embedded mono to 2017-10

* [runtime] reflect eglib move

9be68f8952

* bump mono

* [btouch] remove Security.Tls usage from test

* [mtouch tests] update the function name used to initialize libmono-profiler-log, its called mono_profiler_init_log () now.

see
ea4e4a9ef6

fixes:

```
1) Failed : Xamarin.MTouch.Profiling(tvOS)
  _mono_profiler_startup_log
  Expected: collection containing "_mono_profiler_startup_log"
  But was:  < "_mono_profiler_init_log" >
at Xamarin.MTouch.Profiling (Xamarin.Profile profile) [0x00106] in <511889694a624cc9a50e0e9b259b05c5>:0

2) Failed : Xamarin.MTouch.Profiling(watchOS)
  _mono_profiler_startup_log
  Expected: collection containing "_mono_profiler_startup_log"
  But was:  < "_xamarin_get_block_descriptor", "_mono_profiler_init_log" >
at Xamarin.MTouch.Profiling (Xamarin.Profile profile) [0x00106] in <511889694a624cc9a50e0e9b259b05c5>:0
```

* [mmptest] update log profiler options.

826558a4af
deprecated the dash prefix for the mlpd path.

`noallocs` or `nocalls` are not needed, neither of them are default anymore.

* [mmptest] fix link-keep-resources-2 test to cope with more corlib resources.

another corlib resource (mscorlib.xml) was added:

https://github.com/mono/mono/commit/11e95169e787#diff-2d1c64decd91d9a6e8842ab0f0e9438d

* Revert "[mmptest] fix link-keep-resources-2 test to cope with more corlib resources."

This reverts commit 350eb3c174.

* [XHarness] Add the Mono.Data.Tds tests.

* Address comments from rolf in the review.

* [mmp regresssion tests] bump mono linker, so mscorlib.xml gets stripped

the test was failing in that way:

> Executing link-keep-resources-2...
> [FAIL]	i18n 4/2 data files present: charinfo.nlp, collation.core.bin, collation.tailoring.bin, mscorlib.xml

also update the output, because it's actually expected at least three
elements.

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

* bump mono

fixes crash in tvOS: https://github.com/mono/mono/pull/5812

* bump mono for updated BCL tests

see https://github.com/mono/mono/pull/5820

* [mono] set 2017-10 branch in .gitmodules

* [macos] Fix guiunit error on clean builds by depending on correct copy (#2912)

* [macos] Fix guiunit error on clean builds by depending on correct copy

- From a clean build making a BCL test would error due to the non-mobile guiunit not being built
- This was because the Makefile-mac.inc target was incorrect
- This was because xharness assumed that non variation based targets were always Modern
- However, BCL tests are Full, not Modern

* Code review change

* Swap to var to reduce diff

* Revert changes in the paths for GuiUnit.

* [XHarness] Add the System.IO.Compression bcl tests. (#2918)

* [XHarness] Add the System.IO.Compression bcl tests.

*  [XHarness] Add bcl tests for System.IO.Compression.FileSystem. (#2924)

* [XHarness] Add the System.IO.Compression bcl tests.

* Ensure that resources are correctly copied in the bundles.

* [XHarness] Add bcl tests for System.IO.Compression.FileSystem.

* As per review, make the Mac test app name match the tests that are ran.

* [XHarness] Add Mono.CSharp tests on ios. (#2927)

* [XHarness] Add Mono.CSharp tests on ios.

* Bump mono to bring changes in the mono.csharp tests.

* [xtro-sharpie] fix TypeDefinition access due to Cecil change

* Bump mono

* bump mono

fixes
- https://bugzilla.xamarin.com/show_bug.cgi?id=60480
- https://bugzilla.xamarin.com/show_bug.cgi?id=60482

* bump mono

more fixes around conflicting paths when tests are run in parallel.

* Bump for mono/mono@2017-10
2017-11-14 21:30:08 +01:00
Rolf Bjarne Kvinge 9e59425349
[xharness] Properly handle failure by mlaunch to wait for app exit. (#2946)
Detect MT1111 from mlaunch (which means mlaunch won't wait for the app to
exit), and instead use test run completion to determine test completion.

The main drawback is that if the test app crashes, it won't be detected (the
test run will time out, and reported as such), but it's still an improvement
over the current behavior (the tests may complete successfully, and still be
reported as timed out).

This also requires bumping maccore to get an updated mlaunch (one that reports
MT1111).
2017-11-02 12:46:18 +01:00
Vincent Dondain 01cb38a2a9 Bump maccore to get maciostools with unlock device warning code (#2920)
commit 287cbcf72d81e185f6d9d9534bcd558a718d8001 (HEAD -> master, upstream/master, upstream/HEAD)
Author: Vincent Dondain <vidondai@microsoft.com>
Date:   Wed Oct 25 11:33:11 2017 -0400

    Bump maciostools to get unlock device warning code

    commit af38985deb3dd4ce6f5cf33de921cea602e1e8e1 (HEAD -> master, origin/master, origin/HEAD)
    Author: Vincent Dondain <vidondai@microsoft.com>
    Date:   Fri Oct 20 14:36:18 2017 -0400

        [Xamarin.Hosting] Update '--wait-for-unlock' error message (#94)

        - Use same `1031` error code as in `controller-device.cs`'s `LaunchBundleIdOnDevice`.
        - Simplify message to not mention passcode as there are other ways to unlock a device.
        - This change is needed to show up the alert dialog in https://github.com/xamarin/md-addins/pull/2590.
2017-10-25 13:55:05 -04:00
Rolf Bjarne Kvinge a9f43837da Bump maccore to get better error reporting in mlaunch. (#2908)
commit xamarin/maccore@9b9dd1c752
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Thu Oct 19 11:04:50 2017 +0200

    Bump maciostools to get better error reporting in mlaunch.

    commit xamarin/maciostools@4967539783
    Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
    Date:   Thu Oct 19 10:45:27 2017 +0200

        [Xamarin.Hosting] Be a bit more defensive with nulls when something goes wrong to try to get helpful error messages instead of NREs.
2017-10-19 12:24:15 +02:00
Rolf Bjarne Kvinge 07cffe2141 Bump maccore to get minor mlaunch fix for launch apps on device. (#2895) 2017-10-17 07:34:19 +02:00
Rolf Bjarne Kvinge 4a2dd86467 [xharness] Try to disable memory limits when running tests on device. (#2860)
This requires a maccore bump to get an updated mlaunch.
2017-10-10 11:02:24 +02:00
Rolf Bjarne Kvinge 38a680aba6 Bump maccore to get support for wireless devices in mlaunch, and publicize it. (#2826)
commit xamarin/maccore@a02bf81604
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Mon Oct 2 14:32:13 2017 +0200

    Bump maciostools to get support for wireless devices in mlaunch.

    commit xamarin/maciostools@1d6be938cb
    Merge: 0d6932b 854cbc0
    Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
    Date:   Mon Oct 2 07:44:19 2017 +0200

        Merge pull request #91 from rolfbjarne/mlaunch-wireless-devices

        [mlaunch] Add support for wireless devices.
2017-10-02 17:26:47 +02:00
Manuel de la Pena c44f0b2e98 Bump maccore to bring doc fixes to be able to build packages for d15-5 2017-09-28 12:48:59 +02:00
Rolf Bjarne Kvinge ad82e6cc16 Bump maccore to get fix for #59667. (#2770) (#2771)
https://bugzilla.xamarin.com/show_bug.cgi?id=59667
2017-09-25 15:41:38 -04:00
Rolf Bjarne Kvinge 90d0d978d9 Bump maccore to get fix for #59667. (#2770)
https://bugzilla.xamarin.com/show_bug.cgi?id=59667
2017-09-25 19:15:10 +02:00
Rolf Bjarne Kvinge e66bd67ab7 [xharness] Build with MSBuild. (#2752)
Time to embrace C# 7.
2017-09-22 18:05:11 +02:00
Sebastien Pouliot ea03366e61 Bump maccore (maciostools) to bring all the required xcode9 changes and fix simulator failures on wrench (#2736) 2017-09-21 11:30:13 -04:00
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