mono.git
7 years agoMerge pull request #3179 from gttds/patch-2
Alexander Köplinger [Mon, 20 Jun 2016 11:33:59 +0000 (13:33 +0200)]
Merge pull request #3179 from gttds/patch-2

[System.Web] Fixes 50 year form authentication

7 years agoMerge pull request #3184 from tritao/zip_datetime
João Matos [Mon, 20 Jun 2016 11:18:12 +0000 (12:18 +0100)]
Merge pull request #3184 from tritao/zip_datetime

[System.IO.Compression] Fixed Zip entries with unset last write time to return the same as .NET.

7 years agoMerge pull request #3183 from marek-safar/bug41874
Marek Safar [Mon, 20 Jun 2016 09:44:42 +0000 (11:44 +0200)]
Merge pull request #3183 from marek-safar/bug41874

[reflection] Properties always use name and signature hidding rules. …

7 years ago[System.Web] Fixes SkinID property declaration
Marek Safar [Mon, 20 Jun 2016 09:33:07 +0000 (11:33 +0200)]
[System.Web] Fixes SkinID property declaration

7 years ago[llvm] Fix the allocation of vregs for the OP_MIN/MAX opcodes. Fixes #41947.
Zoltan Varga [Fri, 17 Jun 2016 21:26:47 +0000 (17:26 -0400)]
[llvm] Fix the allocation of vregs for the OP_MIN/MAX opcodes. Fixes #41947.

7 years agoRevert "[llvm] Fix the allocation of vregs for the OP_MIN/MAX opcodes. Fixes #41947."
Zoltan Varga [Sat, 18 Jun 2016 20:16:43 +0000 (16:16 -0400)]
Revert "[llvm] Fix the allocation of vregs for the OP_MIN/MAX opcodes. Fixes #41947."

This reverts commit 4cbef26bb7878187c8bd3a0029e711331e6e4510.

Revert this to see if it fixes the windows build.

7 years ago[runtime] Don't call ExecutionEngine constructor in aot mode (#3185)
Alexander Kyte [Sat, 18 Jun 2016 17:12:15 +0000 (13:12 -0400)]
[runtime] Don't call ExecutionEngine constructor in aot mode (#3185)

7 years ago[aot] Add support for array accessor methods for multi-dimensional arrays. Fixes...
Zoltan Varga [Sat, 18 Jun 2016 00:46:26 +0000 (20:46 -0400)]
[aot] Add support for array accessor methods for multi-dimensional arrays. Fixes #41937.

7 years ago[llvm] Fix the allocation of vregs for the OP_MIN/MAX opcodes. Fixes #41947.
Zoltan Varga [Fri, 17 Jun 2016 21:26:47 +0000 (17:26 -0400)]
[llvm] Fix the allocation of vregs for the OP_MIN/MAX opcodes. Fixes #41947.

7 years ago[System.IO.Compression] Fixed Zip entries with unset last write time to return the...
João Matos [Fri, 17 Jun 2016 17:19:19 +0000 (18:19 +0100)]
[System.IO.Compression] Fixed Zip entries with unset last write time to return the same as .NET.

.NET on Windows returns a fixed date for this, replicate the same behaviour in Mono.

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

See also: https://github.com/NuGet/Home/issues/2518

7 years ago[reflection] Properties always use name and signature hidding rules. Fixes #41874
Marek Safar [Fri, 17 Jun 2016 16:44:45 +0000 (18:44 +0200)]
[reflection] Properties always use name and signature hidding rules. Fixes #41874

7 years agoFix for x86 and amd64 continuations (#3182)
Dunati [Fri, 17 Jun 2016 02:15:14 +0000 (19:15 -0700)]
Fix for x86 and amd64 continuations (#3182)

7 years ago[aot] Fix leaking a MonoError.
Zoltan Varga [Thu, 16 Jun 2016 23:07:22 +0000 (19:07 -0400)]
[aot] Fix leaking a MonoError.

7 years ago[aot] Avoid asserting if loading a type fails.
Zoltan Varga [Thu, 16 Jun 2016 23:04:27 +0000 (19:04 -0400)]
[aot] Avoid asserting if loading a type fails.

7 years agoMerge pull request #3163 from alexanderkyte/fast_context_clean
Bernhard Urban [Thu, 16 Jun 2016 18:51:59 +0000 (11:51 -0700)]
Merge pull request #3163 from alexanderkyte/fast_context_clean

[runtime] Store abremoval context statuses seperately to use memset for cleanup

7 years ago[bcl] Remove cosmetic target that always triggers a rebuild (#3180)
Alexander Kyte [Thu, 16 Jun 2016 18:51:31 +0000 (14:51 -0400)]
[bcl] Remove cosmetic target that always triggers a rebuild (#3180)

7 years agoMerge pull request #3175 from marek-safar/cas-cleanup
Marek Safar [Thu, 16 Jun 2016 18:35:13 +0000 (20:35 +0200)]
Merge pull request #3175 from marek-safar/cas-cleanup

[bcl] Make mono cas opt-in features instead of opt-out for mobile pro…

7 years ago[System.Web] Fixes 50 year form authentication
gttds [Thu, 16 Jun 2016 15:46:21 +0000 (23:46 +0800)]
[System.Web] Fixes 50 year form authentication

This fixes the bug where form authentication tickets do not expire until 50 years later.
I bumped into this bug after upgrading mono from 4.2.2 to 4.4.0

Firstly, the authentication ticket's expiry must always equal to the timeout attribute on the <forms/> element. It doesn't matter whether persistent or session cookies are used.

Secondly, if the cookie is persistent, then it's expiry should be set to the same as that of the authentication ticket.

Reference: https://blogs.msdn.microsoft.com/dansellers/2006/02/15/change-to-asp-net-2-0-forms-authentication-persistent-cookies/

7 years ago[System] Put back handling of direct ip addresses to ServicePoint::HostEntry (removed...
Marek Safar [Thu, 16 Jun 2016 15:42:55 +0000 (17:42 +0200)]
[System] Put back handling of direct ip addresses to ServicePoint::HostEntry (removed in 932359f3d627da13408350b1172ceb63c30f6327). Fixes #41782

7 years ago[runtime] Return early so mono_value_box_checked doesn't clobber error (#3172)
Alexander Kyte [Thu, 16 Jun 2016 15:18:19 +0000 (11:18 -0400)]
[runtime] Return early so mono_value_box_checked doesn't clobber error (#3172)

7 years ago[runtime] Store abremoval context statuses seperately to use memset for cleanup
Alexander Kyte [Fri, 10 Jun 2016 18:14:36 +0000 (14:14 -0400)]
[runtime] Store abremoval context statuses seperately to use memset for cleanup

7 years ago[bcl] Make mono cas opt-in features instead of opt-out for mobile profiles
Marek Safar [Thu, 16 Jun 2016 08:16:10 +0000 (10:16 +0200)]
[bcl] Make mono cas opt-in features instead of opt-out for mobile profiles

7 years agoMerge pull request #3176 from lateralusX/jlorenss/win-fix-test-dllimport-path
João Matos [Thu, 16 Jun 2016 11:14:41 +0000 (12:14 +0100)]
Merge pull request #3176 from lateralusX/jlorenss/win-fix-test-dllimport-path

Update to tests config file reflecting changed libtest module location on Windows.

7 years ago[System.IO.Compression] Fixed version needed to extract value in Zip central director...
João Matos [Thu, 16 Jun 2016 11:12:32 +0000 (12:12 +0100)]
[System.IO.Compression] Fixed version needed to extract value in Zip central directory record entry.

This should fix some problem with Nuget archives created by Mono.

No test case for this one because it would involve writing a mini-ZIP file parser to make sure the value is written correctly (or hardcore the value offset in the generated file, which could lead to a very flakey test).

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

7 years agoUpdate to tests config file reflecting changed libtest module location.
lateralusX [Thu, 16 Jun 2016 11:10:04 +0000 (13:10 +0200)]
Update to tests config file reflecting changed libtest module location.

Updated Visual Studio build uses a different default build location of modules
compared to previous version. The tests config file includes a relative
path to libtest used for by all pinvoke tests. Since the module is now
placed at a different location the load failed during the test.

7 years agoMerge pull request #3174 from alexanderkyte/revert_jay_relative
Alexander Kyte [Wed, 15 Jun 2016 22:30:52 +0000 (18:30 -0400)]
Merge pull request #3174 from alexanderkyte/revert_jay_relative

Revert "[runtime] Fix jay path in Microsoft.Build"

7 years agoRevert "[runtime] Fix jay path in Microsoft.Build"
Alexander Kyte [Wed, 15 Jun 2016 22:29:21 +0000 (18:29 -0400)]
Revert "[runtime] Fix jay path in Microsoft.Build"

This reverts commit 6780bb169cc3e2fb96b951607a4027416171698b.

7 years ago[llvm] Enable support for Selector.GetHandle (). Enable it for Xamarin.Mac as well.
Zoltan Varga [Wed, 15 Jun 2016 21:54:31 +0000 (17:54 -0400)]
[llvm] Enable support for Selector.GetHandle (). Enable it for Xamarin.Mac as well.

7 years agoMerge pull request #3173 from alexanderkyte/jay_build_path_fix
Alexander Kyte [Wed, 15 Jun 2016 21:47:02 +0000 (17:47 -0400)]
Merge pull request #3173 from alexanderkyte/jay_build_path_fix

[runtime] Fix jay path in Microsoft.Build

7 years ago[runtime] Fix jay path in Microsoft.Build
Alexander Kyte [Wed, 15 Jun 2016 21:15:19 +0000 (17:15 -0400)]
[runtime] Fix jay path in Microsoft.Build

7 years ago[llvm] Add suport for OP_OBJC_GET_SELECTOR, not enabled yet.
Zoltan Varga [Wed, 15 Jun 2016 20:01:25 +0000 (16:01 -0400)]
[llvm] Add suport for OP_OBJC_GET_SELECTOR, not enabled yet.

7 years agoMerge pull request #3169 from lambdageek/fix-regression-70561
monojenkins [Wed, 15 Jun 2016 15:18:42 +0000 (16:18 +0100)]
Merge pull request #3169 from lambdageek/fix-regression-70561

[coop] Fix regression in bug-70561.cs

Match behavior of non-coop and don't set an exit code if the main method
throws an unhandled exception.

7 years agoMerge pull request #3171 from alexanderkyte/net_4x_mdoc_fixup
Alexander Kyte [Wed, 15 Jun 2016 14:25:28 +0000 (10:25 -0400)]
Merge pull request #3171 from alexanderkyte/net_4x_mdoc_fixup

[runtime] Fix inverted build check related to mcs docs

7 years ago[runtime] Fix inverted build check related to mcs docs
Alexander Kyte [Wed, 15 Jun 2016 14:22:50 +0000 (10:22 -0400)]
[runtime] Fix inverted build check related to mcs docs

7 years agoMerge pull request #2972 from lateralusX/jlorenss/vs2015-upgrade
João Matos [Wed, 15 Jun 2016 09:56:04 +0000 (10:56 +0100)]
Merge pull request #2972 from lateralusX/jlorenss/vs2015-upgrade

Visual Studio project/solution upgrade and enhancement.

7 years agoFix pedump build errors due to moved source file.
lateralusX [Wed, 15 Jun 2016 09:08:16 +0000 (11:08 +0200)]
Fix pedump build errors due to moved source file.

Changes done in commit 2f6e404ed1a274e942ba0325b55ce610c25a23f2 moving
pedump.c to different location cause build errors of pedump on Windows.

7 years agoReverted back to use target name for library pdb files and default
lateralusX [Wed, 15 Jun 2016 07:26:55 +0000 (09:26 +0200)]
Reverted back to use target name for library pdb files and default
naming for intermediate pdb files for exe/dll's.

All artifacts will now have the same name of their final pdb file as
the library/dll/exe target file name.

The problem with the naming turns out to be a problem in Visual Studio
when a exe/dll use the same name of its intermediate pdb files and final
pdb file. In that case the final pdb file produced by the linker will be
incorrect and not usable by the debugger. This was the reason for the initial
change, giving intermediate pdb files a different name. Moving back to the
default naming for intermediate pdb files for exe/dll's will give the same
effect (a different name) and since libraries are not affected by this
problem, libraries can use the target name for their pdb files as well.

7 years agoAdded new sources to Source Folder filter in libmonoutils.
lateralusX [Tue, 7 Jun 2016 11:46:34 +0000 (13:46 +0200)]
Added new sources to Source Folder filter in libmonoutils.

7 years agoDisable build of boehm GC on Windows x64.
lateralusX [Thu, 2 Jun 2016 14:37:54 +0000 (16:37 +0200)]
Disable build of boehm GC on Windows x64.

7 years agoAdded support to select static or dynamic c-runtime based on user property.
lateralusX [Thu, 2 Jun 2016 10:55:41 +0000 (12:55 +0200)]
Added support to select static or dynamic c-runtime based on user property.
All projects will inherit the RuntimeLibrary from mono.props where it now
can be controlled using a user property, MONO_USE_STATIC_C_RUNTIME.

7 years agoFixed .bat file to handle xcopy command not in path.
lateralusX [Thu, 2 Jun 2016 09:34:15 +0000 (11:34 +0200)]
Fixed .bat file to handle xcopy command not in path.

Also added support to not always replace config.h/version.h since that triggers
unnecessary rebuilds during development. New script will check if there is
an actual difference in the config.h/version.h file before doing the copy.

7 years agoAdded support to split GC builds into different build folders.
lateralusX [Mon, 9 May 2016 14:27:22 +0000 (16:27 +0200)]
Added support to split GC builds into different build folders.

7 years agoAdded files to corresponding filter folders (header files/source files).
lateralusX [Wed, 4 May 2016 13:12:36 +0000 (15:12 +0200)]
Added files to corresponding filter folders (header files/source files).

7 years agoFixes to default build/distribution location.
lateralusX [Wed, 4 May 2016 12:53:29 +0000 (14:53 +0200)]
Fixes to default build/distribution location.

7 years agoAdded additional build dependecies + setting up source availabilty depending on platform.
lateralusX [Wed, 4 May 2016 07:12:45 +0000 (09:12 +0200)]
Added additional build dependecies + setting up source availabilty depending on platform.

7 years agoAdded support for 64 toolchain + default log level masks.
lateralusX [Mon, 25 Apr 2016 14:34:57 +0000 (16:34 +0200)]
Added support for 64 toolchain + default log level masks.

7 years agoAdded regression tests as visual studio projects.
lateralusX [Fri, 15 Apr 2016 12:46:46 +0000 (14:46 +0200)]
Added regression tests as visual studio projects.

* Added regression test running mono/mini --regression [regression_tests]
* Added regression test running mono/mini --aot [regression_tests]
* Added default debugging options to run regression tests from within visual studio debugger.
* On new build system, setting up include folder if not availalble.

All changes applies to debug/release 32/64 bit.

7 years agoAdded missing include path for test projects.
lateralusX [Tue, 12 Apr 2016 16:11:13 +0000 (18:11 +0200)]
Added missing include path for test projects.

On a clean system there was a missing include path for some of the embedded samples.

7 years agoAdded regression test project.
lateralusX [Tue, 12 Apr 2016 12:16:14 +0000 (14:16 +0200)]
Added regression test project.

* Updated vs project files to resolve winsock, winsock2 build dependecies.
* Added vs project running basic mono-mini regression tests.

7 years agoAdded suffix to intermediate build .pdb files in order to avoid potential naming...
lateralusX [Tue, 12 Apr 2016 12:16:01 +0000 (14:16 +0200)]
Added suffix to intermediate build .pdb files in order to avoid potential naming conflicts when linking.

7 years agoAdded support for optional target build suffix.
lateralusX [Tue, 12 Apr 2016 12:15:29 +0000 (14:15 +0200)]
Added support for optional target build suffix.

7 years agoBetter property manager and user macros support.
lateralusX [Tue, 12 Apr 2016 12:14:58 +0000 (14:14 +0200)]
Better property manager and user macros support.

* Added support for user macros in order to set build/install/sgen.
* Added support for more arguments to bat files + support for quoted paths.
* Added support for verbose/quite output in bat files.
* Moved libmono xcopy post build step into separate bat file.
* Cleaned some sgen configs still left in vcxprojs.

7 years agoSeparate build tree and target suffix support.
lateralusX [Tue, 12 Apr 2016 12:14:29 +0000 (14:14 +0200)]
Separate build tree and target suffix support.

* Enabled build target suffix in order to lable a build (primarly for sgen).
* Enabled separate build tree.
* Dropped all sgen configurations, replaced by properties and target suffix.
* Fixed pdb naming of intermediate pdb files.

7 years agoRestructured build/package/install targets and split GC libraries.
lateralusX [Tue, 12 Apr 2016 12:13:03 +0000 (14:13 +0200)]
Restructured build/package/install targets and split GC libraries.

* Added package/install targets.
* Moved sgen into separate library.
* SGEN set as default GC for build (used GC controlled through mono.props).

7 years agoRefactored VS depdencies + restructring VS solution and projects.
lateralusX [Tue, 12 Apr 2016 12:11:36 +0000 (14:11 +0200)]
Refactored VS depdencies + restructring VS solution and projects.

7 years agoUpgrade to vs2015 for native projects.
lateralusX [Tue, 12 Apr 2016 12:10:35 +0000 (14:10 +0200)]
Upgrade to vs2015 for native projects.

* Upgraded all projects to new vs2015 tool chain.
* Used mono.props through property manager instead of import.
* Fixed dependencies to be more explicitly in additional dependecies.
* Fixed error in mono.props, switched $ to % when referencing internal variables.
* Added property variables for includes and libraries, defined in mono.props.

7 years ago[mkbundle] Improve error checking
Miguel de Icaza [Wed, 15 Jun 2016 06:25:23 +0000 (23:25 -0700)]
[mkbundle] Improve error checking

7 years ago[main] replace computed value by a constant
Miguel de Icaza [Wed, 15 Jun 2016 06:24:48 +0000 (23:24 -0700)]
[main] replace computed value by a constant

The reason why mkbundle is not working is that for some reason
this constant expression is producing different code than the
-24 that it is supposed to.

What is odd is that the return value from the lseek system
call is the same, but yet, read fails with an end-of-file with
this value, and otherwise it passes.

With this call:

     lseek (fd, -(16+sizeof(uint64_t)), SEEK_END)

strace displays:

lseek(0x3, 0xFFFFFFE8, 0x2)  = 19375512 0

With this call:

     lseek (fd, -24, SEEK_END)

strace displays:

lseek(0x3, 0xFFFFFFFFFFFFFFE8, 0x2)  = 19375512 0

Now, while both results from lseek are the same, a subsequent read
with 24 bytes to read returns zero on the former case, and 24 on
the latter case.

7 years ago[mcs] Use $(RESGEN) instead of resgen
Alexander Köplinger [Wed, 15 Jun 2016 01:12:02 +0000 (03:12 +0200)]
[mcs] Use $(RESGEN) instead of resgen

It broke the .deb package build

7 years agoMerge pull request #3168 from alexanderkyte/default_4_x_preset
Alexander Köplinger [Tue, 14 Jun 2016 23:16:49 +0000 (01:16 +0200)]
Merge pull request #3168 from alexanderkyte/default_4_x_preset

[runtime] Make the default preset only build net_4_x

7 years ago[coop] Fix regression in bug-70561.cs
Aleksey Kliger [Tue, 14 Jun 2016 23:11:19 +0000 (19:11 -0400)]
[coop] Fix regression in bug-70561.cs

Match behavior of non-coop and don't set an exit code if the main method
throws an unhandled exception.

7 years ago[runtime] Make the default preset only build net_4_x
Alexander Kyte [Tue, 14 Jun 2016 23:00:14 +0000 (19:00 -0400)]
[runtime] Make the default preset only build net_4_x

7 years agoMerge pull request #3089 from alexanderkyte/mobile_static_jenkins_script
Alexander Kyte [Tue, 14 Jun 2016 22:24:26 +0000 (18:24 -0400)]
Merge pull request #3089 from alexanderkyte/mobile_static_jenkins_script

[mobile_static] Update jenkins build script for mobile_static profile

7 years ago[runtime] [runtime] Fix the printing of unhandled exceptions in coop.
Zoltan Varga [Tue, 14 Jun 2016 22:06:54 +0000 (18:06 -0400)]
[runtime] [runtime] Fix the printing of unhandled exceptions in coop.

7 years ago[runtime] Return after setting the error in mono_jit_runtime_invoke (), otherwise...
Zoltan Varga [Tue, 14 Jun 2016 22:06:20 +0000 (18:06 -0400)]
[runtime] Return after setting the error in mono_jit_runtime_invoke (), otherwise mono_value_box_checked () initializes it again.

7 years agoWIP [library.make] Make resource usage declarative in the class libraries (#3159)
Miguel de Icaza [Tue, 14 Jun 2016 20:57:09 +0000 (13:57 -0700)]
WIP [library.make] Make resource usage declarative in the class libraries (#3159)

[library.make] Make resource usage declarative in the class libraries

7 years ago[jit] Set the 'real_offset' field of bblocks in mono_replace_ins (), the EH code...
Zoltan Varga [Tue, 14 Jun 2016 19:36:44 +0000 (15:36 -0400)]
[jit] Set the 'real_offset' field of bblocks in mono_replace_ins (), the EH code generator in llvm depends on it being set.

7 years agoMerge pull request #3165 from akoeplinger/fix-clock-monotonic-macos1012
Alexander Köplinger [Tue, 14 Jun 2016 17:08:11 +0000 (19:08 +0200)]
Merge pull request #3165 from akoeplinger/fix-clock-monotonic-macos1012

[utils] Work around CLOCK_MONOTONIC being defined on macOS 10.12 SDK despite targeting earlier releases

7 years ago[mcs] Support System.Object forwarded to any assembly in any references order
Marek Safar [Tue, 14 Jun 2016 17:02:52 +0000 (19:02 +0200)]
[mcs] Support System.Object forwarded to any assembly in any references order

7 years ago[utils] Work around CLOCK_MONOTONIC being defined on macOS 10.12 SDK despite targetin...
Alexander Köplinger [Tue, 14 Jun 2016 14:39:41 +0000 (16:39 +0200)]
[utils] Work around CLOCK_MONOTONIC being defined on macOS 10.12 SDK despite targeting earlier releases

Should fix https://bugzilla.xamarin.com/show_bug.cgi?id=41786

7 years agoMerge pull request #3162 from alexanderkyte/ignore_pkits
Alexander Kyte [Mon, 13 Jun 2016 20:06:28 +0000 (16:06 -0400)]
Merge pull request #3162 from alexanderkyte/ignore_pkits

[mobile_static] Skip PKITS tests on mobile_static due to missing

7 years ago[coop] Protect copy_stack_data from GCC optimizations. (#3157)
Aleksey Kliger (λgeek) [Mon, 13 Jun 2016 19:58:44 +0000 (15:58 -0400)]
[coop] Protect copy_stack_data from GCC optimizations. (#3157)

[coop] Protect copy_stack_data from GCC optimizations.

GCC 5.3.1 (Debian sid/amd64) "optimizied" the previous incarnation of
`void *stackdata_end = return_stack_ptr ()` to
`void *stackdata_end = 0`.

7 years ago[mobile_static] Make bitcode preset enable llvm
Alexander Kyte [Tue, 7 Jun 2016 20:58:25 +0000 (16:58 -0400)]
[mobile_static] Make bitcode preset enable llvm

7 years ago[mobile_static] Skip PKITS tests on mobile_static due to missing
Alexander Kyte [Wed, 8 Jun 2016 15:47:19 +0000 (11:47 -0400)]
[mobile_static] Skip PKITS tests on mobile_static due to missing
fixtures

7 years agoMerge pull request #3160 from JustArchi/patch-1
Bernhard Urban [Mon, 13 Jun 2016 16:56:27 +0000 (09:56 -0700)]
Merge pull request #3160 from JustArchi/patch-1

SGen: Fix parsing of default-allowance-ratio

7 years ago[runtime] Rename the net_4_x runtime preset to all
Alexander Kyte [Mon, 13 Jun 2016 15:33:53 +0000 (11:33 -0400)]
[runtime] Rename the net_4_x runtime preset to all

7 years ago[runtime] Keep one-off jenkins disabling in script
Alexander Kyte [Tue, 7 Jun 2016 17:27:24 +0000 (13:27 -0400)]
[runtime] Keep one-off jenkins disabling in script

7 years ago[runtime] Allow presets to disable runtime features
Alexander Kyte [Tue, 7 Jun 2016 17:13:55 +0000 (13:13 -0400)]
[runtime] Allow presets to disable runtime features

7 years ago[mobile_static] Update reported FX version to 4.x
Alexander Kyte [Tue, 7 Jun 2016 16:56:37 +0000 (12:56 -0400)]
[mobile_static] Update reported FX version to 4.x

7 years ago[mobile_static] Set default value for disabling MCS docs
Alexander Kyte [Thu, 2 Jun 2016 21:46:27 +0000 (17:46 -0400)]
[mobile_static] Set default value for disabling MCS docs

7 years ago[mobile_static] Split jenkins tests out, enable running from top level
Alexander Kyte [Thu, 2 Jun 2016 19:17:40 +0000 (15:17 -0400)]
[mobile_static] Split jenkins tests out, enable running from top level

7 years ago[runtime] Make cooperative gc default on our bitcode profile
Alexander Kyte [Thu, 2 Jun 2016 18:38:40 +0000 (14:38 -0400)]
[runtime] Make cooperative gc default on our bitcode profile

7 years ago[mobile_static] Use runtime_preset configuration option
Alexander Kyte [Thu, 2 Jun 2016 19:18:46 +0000 (15:18 -0400)]
[mobile_static] Use runtime_preset configuration option

7 years ago[mobile_static] Disable NLS by default on OSX
Alexander Kyte [Thu, 2 Jun 2016 16:35:33 +0000 (12:35 -0400)]
[mobile_static] Disable NLS by default on OSX

7 years ago[mobile_static] Added in runtime_profile autoconf flag, make set
Alexander Kyte [Thu, 2 Jun 2016 16:31:43 +0000 (12:31 -0400)]
[mobile_static] Added in runtime_profile autoconf flag, make set
defaults

7 years ago[mobile_static] Make mobile_static default profile when building with it
Alexander Kyte [Wed, 25 May 2016 18:54:46 +0000 (14:54 -0400)]
[mobile_static] Make mobile_static default profile when building with it

When building a mobile_static build, we need to pass a lot of flags
which disable features. These make the net_4_x profile not build
correctly when using the official jenkins script. This helps.

7 years ago[mobile_static] Fix configure.ac handling of with_profile4_x option
Alexander Kyte [Wed, 25 May 2016 18:54:20 +0000 (14:54 -0400)]
[mobile_static] Fix configure.ac handling of with_profile4_x option

7 years ago[runtime] Specialize run-jenkins script for mobile_static when it runs
Alexander Kyte [Tue, 24 May 2016 21:19:03 +0000 (17:19 -0400)]
[runtime] Specialize run-jenkins script for mobile_static when it runs

7 years agoMerge pull request #3106 from lambdageek/dev/monoerror-unhandled
Aleksey Kliger (λgeek) [Mon, 13 Jun 2016 15:52:35 +0000 (11:52 -0400)]
Merge pull request #3106 from lambdageek/dev/monoerror-unhandled

[runtime] Okay to raise MonoError in thread start functions.

7 years ago[System] Fixes crash during implicit file uri parsing with unicode characters
Marek Safar [Mon, 13 Jun 2016 15:21:14 +0000 (17:21 +0200)]
[System] Fixes crash during implicit file uri parsing with unicode characters

7 years agoMerge pull request #3161 from ntherning/use_msvc_built_libtest_dll_for_runtime_tests_...
Alexander Köplinger [Mon, 13 Jun 2016 14:42:20 +0000 (16:42 +0200)]
Merge pull request #3161 from ntherning/use_msvc_built_libtest_dll_for_runtime_tests_on_windows

Use the MSVC built libtest.dll when running the P/Invoke tests in mono/tests/ on Windows

7 years agoUse the MSVC built libtest.dll when running the P/Invoke tests in mono/tests/
Niklas Therning [Mon, 13 Jun 2016 08:50:19 +0000 (10:50 +0200)]
Use the MSVC built libtest.dll when running the P/Invoke tests in mono/tests/
on Windows. Updates the tests-config.in file with Windows specific <dllmap>
elements that map 'libtest' to the MSVC built libtest.dll for the current
architecture. test-runner.cs has been modified to accept a --config option to
be able to use a specific config file. Makefile.am now configures test-
runner.exe to use the tests-config config when running the tests.

7 years agoSGen: Fix parsing of default-allowance-ratio
Łukasz Domeradzki [Mon, 13 Jun 2016 03:28:22 +0000 (05:28 +0200)]
SGen: Fix parsing of default-allowance-ratio

Parsing ```default-allowance-ratio``` in ```MONO_GC_PARAMS``` is completely broken and accepts only one value - 1.0, while it should accept range of 1.0-10.0. We can clearly notice that when setting ```default-allowance-ratio``` to e.g. ```2.0``` and trying to run any program through Mono runtime:

```
Warning: In environment variable `MONO_GC_PARAMS': `default-allowance-ratio` must be between 1.00 - 1.00. - Using default value.
```

Therefore, correct this for using proper 1.0-10.0 range.

7 years ago[runtime] Don't raise ArgumentNullException in mono_monitor_enter_fast (#3158)
Aleksey Kliger (λgeek) [Sun, 12 Jun 2016 21:32:07 +0000 (17:32 -0400)]
[runtime] Don't raise ArgumentNullException in mono_monitor_enter_fast (#3158)

Just return that you couldn't enter the monitor and let the slow path handle it.

Fixes [#41705](https://bugzilla.xamarin.com/show_bug.cgi?id=41705)

7 years ago[System.Net.Http] Fix CFNetworkHandler.CookieContainer not to return null (#3141)
Sebastien Pouliot [Sat, 11 Jun 2016 18:21:21 +0000 (14:21 -0400)]
[System.Net.Http] Fix CFNetworkHandler.CookieContainer not to return null (#3141)

* [System.Net.Http] Fix CFNetworkHandler.CookieContainer not to return null

This aligns the handler with the managed HttpClientHandler [1] and make
it easier to switch between them without additional or conditional code.

[1] https://github.com/mono/mono/blob/14f8acced5bbb2f6d55fb3e7800382700bcc65eb/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.cs#L97

7 years ago[runtime] Avoid building the tools dir when cross-compiling, some tools don't seem...
Zoltan Varga [Sat, 11 Jun 2016 02:48:21 +0000 (22:48 -0400)]
[runtime] Avoid building the tools dir when cross-compiling, some tools don't seem to compile.

7 years ago[amd64] Handle native types correctly in mono_arch_get_llvm_call_info ().
Zoltan Varga [Sat, 11 Jun 2016 02:47:22 +0000 (22:47 -0400)]
[amd64] Handle native types correctly in mono_arch_get_llvm_call_info ().

7 years ago[jit] Add some missing opcodes to MONO_IS_SETCC.
Zoltan Varga [Sat, 11 Jun 2016 02:47:00 +0000 (22:47 -0400)]
[jit] Add some missing opcodes to MONO_IS_SETCC.

7 years agoMerge pull request #3152 from ntherning/use_env_configured_mono_exe_in_runtime_tests
Alexander Köplinger [Fri, 10 Jun 2016 21:39:25 +0000 (23:39 +0200)]
Merge pull request #3152 from ntherning/use_env_configured_mono_exe_in_runtime_tests

Make mono/tests/Makefile.am use MONO_EXECUTABLE if set

7 years ago[mscorlib] Better handling of unix timezones which have offset not specified in whole...
Marek Safar [Fri, 10 Jun 2016 19:23:09 +0000 (21:23 +0200)]
[mscorlib] Better handling of unix timezones which have offset not specified in whole minutes. Fixes #41492