mono.git
8 years ago[sgen] Documentation about future-proofing the binary protocol.
Mark Probst [Fri, 23 Oct 2015 22:16:55 +0000 (15:16 -0700)]
[sgen] Documentation about future-proofing the binary protocol.

We want to use the binary protocol to measure GC pause times in the
benchmarking suite.  To make that easier and be able to go back and
(re-)benchmark older versions, we'd like the binary protocol format to
be backwards compatible.

8 years agoAdd a new Moono_GetStackTraces method to Thread which can be used to obtain stack...
Zoltan Varga [Fri, 23 Oct 2015 21:06:54 +0000 (17:06 -0400)]
Add a new Moono_GetStackTraces method to Thread which can be used to obtain stack traces for all running threads.

8 years agoRemove a few more 'using System.Reflection's.
Martin Baulig [Fri, 23 Oct 2015 20:05:19 +0000 (16:05 -0400)]
Remove a few more 'using System.Reflection's.

8 years ago[Mono.Security]: Use the new 'NoReflectionHelper' instead of reflection in 'MonoTlsPr...
Martin Baulig [Fri, 23 Oct 2015 18:26:34 +0000 (14:26 -0400)]
[Mono.Security]: Use the new 'NoReflectionHelper' instead of reflection in 'MonoTlsProviderFactory'.

8 years ago[sgen] Add some bridge documentation.
Mark Probst [Fri, 23 Oct 2015 18:57:05 +0000 (11:57 -0700)]
[sgen] Add some bridge documentation.

8 years agoMerge pull request #2170 from alexanderkyte/mini_llvm_archfix
Zoltan Varga [Fri, 23 Oct 2015 19:10:43 +0000 (15:10 -0400)]
Merge pull request #2170 from alexanderkyte/mini_llvm_archfix

[runtime] Fix support for amd64 in mini-llvm-cpp.cpp

8 years ago[runtime] Fix support for amd64 in mini-llvm-cpp.cpp
Alexander Kyte [Fri, 23 Oct 2015 19:01:43 +0000 (15:01 -0400)]
[runtime] Fix support for amd64 in mini-llvm-cpp.cpp

8 years ago[System]: Add internal 'Mono.Net.Security.NoReflectionHelper' class to avoid reflecti...
Martin Baulig [Fri, 23 Oct 2015 18:08:44 +0000 (14:08 -0400)]
[System]: Add internal 'Mono.Net.Security.NoReflectionHelper' class to avoid reflection use.

8 years agoRemove 'using System.Reflection'.
Martin Baulig [Fri, 23 Oct 2015 17:58:31 +0000 (13:58 -0400)]
Remove 'using System.Reflection'.

8 years ago[Mono.Security]: Access System.dll's internals directly instead of using reflection.
Martin Baulig [Fri, 23 Oct 2015 16:29:00 +0000 (12:29 -0400)]
[Mono.Security]: Access System.dll's internals directly instead of using reflection.

8 years ago[System]: Make internals visible to Mono.Security.
Martin Baulig [Fri, 23 Oct 2015 16:21:49 +0000 (12:21 -0400)]
[System]: Make internals visible to Mono.Security.

8 years ago[test-runner] Fix a few more hardcoded test suite names
Alexander Köplinger [Fri, 23 Oct 2015 17:34:35 +0000 (19:34 +0200)]
[test-runner] Fix a few more hardcoded test suite names

Missed those in 04bdf3b9332a4707d196b65deda1fdfba1b88a30

8 years ago[test-runner] Wait synchronously for process exit
Ludovic Henry [Wed, 21 Oct 2015 20:48:17 +0000 (21:48 +0100)]
[test-runner] Wait synchronously for process exit

There was still a race for the last processes, where we could not
correctly wait for them to exit, before closing the StreamWriter for
stdout and stderr.

8 years agoMerge pull request #2168 from BillSeurer/llvm
João Matos [Fri, 23 Oct 2015 15:59:12 +0000 (16:59 +0100)]
Merge pull request #2168 from BillSeurer/llvm

[ppc] Activate llvm for power

8 years ago[ppc] Activate llvm for power
Bill Seurer [Fri, 23 Oct 2015 15:53:07 +0000 (10:53 -0500)]
[ppc] Activate llvm for power

8 years agoMerge pull request #2165 from lambdageek/dev/marshal-fix
Rodrigo Kumpera [Fri, 23 Oct 2015 14:51:12 +0000 (10:51 -0400)]
Merge pull request #2165 from lambdageek/dev/marshal-fix

[coop] update native call marshalling to pass thread state transition functions a stack ptr arg.

8 years ago[socket] Use syscall abort mechanism properly
Ludovic Henry [Fri, 23 Oct 2015 12:27:17 +0000 (13:27 +0100)]
[socket] Use syscall abort mechanism properly

The crash only occurs on Posix platforms.

The assertion error in `mono_threads_begin_global_suspend`
"pending_suspends != 0" arised because of a unproper use of the syscall
abort mechanism.

The signal would have to be send out of a global suspend context, but
in case the call to `mono_threads_pthread_kill` would fail in
`mono_threads_core_abort_syscall`, then we would add a pending
operation, thus increasing the `pending_suspends` counter. But as we
wouldn't call for `mono_threads_wait_pending_operations`, we would never
have a chance to decrement this counter. So next time we would try to
call `mono_threads_begin_global_suspend` we would hit this assertion
error.

The fix is simply to call the abort from inside a global suspend
context, and making sure to wait on pending operations afterwards.

8 years ago[socket] Enable Shutdown on socket disposal only on specific platforms
Ludovic Henry [Fri, 23 Oct 2015 12:08:16 +0000 (13:08 +0100)]
[socket] Enable Shutdown on socket disposal only on specific platforms

This breaks Linux, because a shutdown will cause a recv/recvfrom on the
remote host to return without an error.

This would trigger in System.Net.Sockets.SocketTest.ConnectedProperty.

8 years ago[msvc] Manually update .defs, don't use update-defs Make target
Jo Shields [Fri, 23 Oct 2015 11:25:28 +0000 (12:25 +0100)]
[msvc] Manually update .defs, don't use update-defs Make target

8 years agoRevert "[msvc] Update the DLL export definition files."
Jo Shields [Fri, 23 Oct 2015 11:24:29 +0000 (12:24 +0100)]
Revert "[msvc] Update the DLL export definition files."

This reverts commit 90cb172eb8c160f46781d189d3baf25f06496b1d.

8 years ago[msvc] Update the DLL export definition files.
Jo Shields [Fri, 23 Oct 2015 11:06:13 +0000 (12:06 +0100)]
[msvc] Update the DLL export definition files.

8 years ago[coop] update native call marshalling to pass thread state transition functions a...
Aleksey Kliger [Thu, 22 Oct 2015 22:51:17 +0000 (18:51 -0400)]
[coop] update native call marshalling to pass thread state transition functions a stack ptr arg.

mono_threads_prepare_blocking, mono_threads_finish_blocking,
mono_threads_reset_blocking_start, mono_threads_reset_blocking_end all
take a stack pointer argument.  Update the native and managed wrappers
to pass it to them.

8 years ago[runtime] Add a check for PE images to mono_method_body_get_object().
Zoltan Varga [Thu, 22 Oct 2015 22:35:05 +0000 (18:35 -0400)]
[runtime] Add a check for PE images to mono_method_body_get_object().

8 years agoFix the build.
Zoltan Varga [Thu, 22 Oct 2015 22:32:53 +0000 (18:32 -0400)]
Fix the build.

8 years ago[runtime] Move the MONO_ENV_OPTIONS parsing code to driver.c
Zoltan Varga [Thu, 22 Oct 2015 21:38:18 +0000 (17:38 -0400)]
[runtime] Move the MONO_ENV_OPTIONS parsing code to driver.c

8 years agoExport mono_image_load_cli_header/load_metadata from image.c
Zoltan Varga [Thu, 22 Oct 2015 20:48:01 +0000 (16:48 -0400)]
Export mono_image_load_cli_header/load_metadata from image.c

8 years agoMerge pull request #2162 from alexrp/master
Alex Rønne Petersen [Thu, 22 Oct 2015 20:17:38 +0000 (22:17 +0200)]
Merge pull request #2162 from alexrp/master

[profiler] Disable the hack to attempt to get code start/size info.

8 years ago[corlib] Add non-overlapping buffer MemoryCopy implementation
Marek Safar [Thu, 22 Oct 2015 19:07:13 +0000 (21:07 +0200)]
[corlib] Add non-overlapping buffer MemoryCopy implementation

8 years ago[profiler] Disable the hack to attempt to get code start/size info.
Alex Rønne Petersen [Thu, 22 Oct 2015 17:49:12 +0000 (19:49 +0200)]
[profiler] Disable the hack to attempt to get code start/size info.

This is causing crashes by poking into runtime internals, and since we no
longer need this for anything critical, disable it.

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

8 years agoMerge pull request #2158 from akoeplinger/fix-winforms-tests
João Matos [Thu, 22 Oct 2015 11:37:52 +0000 (12:37 +0100)]
Merge pull request #2158 from akoeplinger/fix-winforms-tests

[WinForms] Update tests to match recent changes to Control Foreground+Background

8 years agoMerge pull request #2154 from BrennanConroy/bug_30018
João Matos [Thu, 22 Oct 2015 11:37:29 +0000 (12:37 +0100)]
Merge pull request #2154 from BrennanConroy/bug_30018

More robust get_address_info

8 years ago[threads] Print more information in case of error in global suspend
Ludovic Henry [Thu, 22 Oct 2015 10:39:31 +0000 (11:39 +0100)]
[threads] Print more information in case of error in global suspend

8 years agoMerge pull request #2149 from directhex/absolute-path-for-xcopy
Jo Shields [Thu, 22 Oct 2015 07:57:39 +0000 (08:57 +0100)]
Merge pull request #2149 from directhex/absolute-path-for-xcopy

[msvc] Use fully qualified path for xcopy

8 years ago[WinForms] Update tests to match recent changes to Control Foreground+Background
Alexander Köplinger [Thu, 22 Oct 2015 00:12:39 +0000 (02:12 +0200)]
[WinForms] Update tests to match recent changes to Control Foreground+Background

The colors were updated in https://github.com/mono/mono/commit/f412b5529e560bca594e0c29a47f32dcfb252820,
but the tests weren't. This fixes them.

8 years ago[Mono.Security]: Mark 'HttpsClientStream' as obsolete.
Martin Baulig [Wed, 21 Oct 2015 20:15:39 +0000 (16:15 -0400)]
[Mono.Security]: Mark 'HttpsClientStream' as obsolete.

8 years ago[System]: Remove some dead internal code.
Martin Baulig [Wed, 21 Oct 2015 20:12:24 +0000 (16:12 -0400)]
[System]: Remove some dead internal code.

8 years agoMerge pull request #2122 from lambdageek/dev/bug-26384
Rodrigo Kumpera [Wed, 21 Oct 2015 20:09:25 +0000 (16:09 -0400)]
Merge pull request #2122 from lambdageek/dev/bug-26384

In Type.FullName, escape ,+&@*[]\ with blackslash. Closes #26384

8 years agoMerge pull request #2155 from akoeplinger/bug-34334-pr
Marek Safar [Wed, 21 Oct 2015 19:47:38 +0000 (21:47 +0200)]
Merge pull request #2155 from akoeplinger/bug-34334-pr

[interpreter] Relax check for forcing compilation for built-in structs

8 years ago[System]: Use MonoTlsProvider API in WebConnection.
Martin Baulig [Wed, 21 Oct 2015 18:45:26 +0000 (14:45 -0400)]
[System]: Use MonoTlsProvider API in WebConnection.

8 years ago[System]: Use MonoTlsProvider API in FtpWebRequest and SmtpClient.
Martin Baulig [Wed, 21 Oct 2015 18:36:06 +0000 (14:36 -0400)]
[System]: Use MonoTlsProvider API in FtpWebRequest and SmtpClient.

8 years ago[interpreter] Relax check for forcing compilation for built-in structs
Alexander Köplinger [Wed, 21 Oct 2015 15:31:22 +0000 (17:31 +0200)]
[interpreter] Relax check for forcing compilation for built-in structs

Method calls on structs like DateTime wouldn't work before,
even though we know we don't have self mutating structs in mscorlib.

Fixes part 2 of https://bugzilla.xamarin.com/show_bug.cgi?id=34334

8 years ago[reflection] Test for ModuleBuilder.GetType(String) with escaped names
Aleksey Kliger [Wed, 14 Oct 2015 20:54:51 +0000 (16:54 -0400)]
[reflection] Test for ModuleBuilder.GetType(String) with escaped names

8 years ago[reflection] ModuleBuilder, TypeBuilder escaped type identifiers patch
Aleksey Kliger [Mon, 12 Oct 2015 22:30:29 +0000 (18:30 -0400)]
[reflection] ModuleBuilder, TypeBuilder escaped type identifiers patch

1. Use the System.TypeSpec parser to parse components of the type name,
then call out to native code to apply the modifiers, as before.

2. TypeName and TypeIdentifier abstractions to hide display name / internal name strings

Update ModuleBuilder and TypeBuilder to use TypeIdentifier and TypeName
internally in all places that don't need to talk to native code.

3. Change ModuleBuilder.name_cache from Hashtable to Dictionary<TypeName, TypeBuilder>

8 years ago[corlib] Test Type.FullName and Type.GetType() with special characters.
Aleksey Kliger [Fri, 9 Oct 2015 20:41:40 +0000 (16:41 -0400)]
[corlib] Test Type.FullName and Type.GetType() with special characters.

Make sure that type names that include +,&*[]\ are properly escaped and
unescaped when displaying and parsing.

8 years ago[corlib] ves_icall_Type_GetNestedTypes unescape special chars in wanted nested type...
Aleksey Kliger [Fri, 9 Oct 2015 21:51:28 +0000 (17:51 -0400)]
[corlib] ves_icall_Type_GetNestedTypes unescape special chars in wanted nested type name.

8 years ago[corlib] System.TypeSpec.Parse unclosed square brackets wrong exn.
Aleksey Kliger [Tue, 13 Oct 2015 16:19:17 +0000 (12:19 -0400)]
[corlib] System.TypeSpec.Parse unclosed square brackets wrong exn.

Throw ArgumentException on "Foo[," instead of ArrayIndexOutOfBoundsException.

8 years ago[corlib] System.TypeSpec.Parse escaped characters
Aleksey Kliger [Fri, 9 Oct 2015 20:38:48 +0000 (16:38 -0400)]
[corlib] System.TypeSpec.Parse escaped characters

8 years ago[corlib] handle special characters in Type.FullName and Type.GetType(string)
Aleksey Kliger [Fri, 9 Oct 2015 16:15:29 +0000 (12:15 -0400)]
[corlib] handle special characters in Type.FullName and Type.GetType(string)

Type.FullName escapes ,+&*[]\ with a leading backslash.
Type.GetType(typeName) strips escaping backslashes from typeName during parsing.

8 years ago[tuner] Properly preserve AesCryptoServiceProvider.
Jonathan Pryor [Thu, 13 Jun 2013 20:56:18 +0000 (16:56 -0400)]
[tuner] Properly preserve AesCryptoServiceProvider.

[merged by rodo from monodroid - the mentioned test is not included here]

Fixes: https://xamarin.desk.com/agent/case/35534

Commit 5ca3cb4b wasn't propertly tested (doh!).

The problem with Aes and AesCryptoServiceProvider is that there's a
cross-assembly dependency: Aes is in mscorlib, while
AesCryptoServiceProvider is in System.Core. The
PreserveCrypto.ProcessSystemCore() method didn't properly handle this
setup.

Fix the linker, and add a test to Hello.

WARNING: The test sucks. In particular, to "test" this fix you need to
run the app and then grep the `adb logcat` output for:

# DownloadDataTaskAsync complete; status=RanToCompletion; exception=

If the status is anything else, or the exception is non-null, it's
busted.

FURTHERMORE, it's only useful in Release apps, not Debug apps.
(No linker in Debug apps.)

The reason for the need to grep is that there's no sane mechanism to
wait until the Task has completed before checking the status of the
Task, and throwing an exception from within the continuation wouldn't
do anything.

FIXME: The real problem is that Task.Wait() blocks forever and never
returns. This needs further investigation.

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

8 years ago[tuner] handle the case with multiple "preserve" attributes
Radek Doulik [Thu, 15 Jan 2015 15:16:17 +0000 (16:16 +0100)]
[tuner] handle the case with multiple "preserve" attributes

 - when more than one "preserve" attribute is set (see IsPreservedAttribute),
   make sure we handle all of them and not just last one
 - fixes https://bugzilla.xamarin.com/show_bug.cgi?id=19391
 - example code which suffered from this issue:

    [Preserve(AllMembers=true)]
    [DataContract]
    public class TestClass
    {
      ...
    }

  later when a method from this class was queried using the reflection,
  it wasn't available as it was linked out

8 years ago[runtime] Factor out the PE image loading code into a separate MonoImageLoader object.
Zoltan Varga [Tue, 20 Oct 2015 23:19:12 +0000 (19:19 -0400)]
[runtime] Factor out the PE image loading code into a separate MonoImageLoader object.

8 years ago[mcs] Fix inference of dynamic type used as a constructed type. Fixes #34898
Marek Safar [Tue, 20 Oct 2015 22:02:35 +0000 (00:02 +0200)]
[mcs] Fix inference of dynamic type used as a constructed type. Fixes #34898

8 years ago[runtime] Fix a possible buffer overflow in get_process_module ().
Zoltan Varga [Tue, 20 Oct 2015 18:30:43 +0000 (14:30 -0400)]
[runtime] Fix a possible buffer overflow in get_process_module ().

8 years ago[amd64] Remove some dead code.
Zoltan Varga [Tue, 20 Oct 2015 18:25:42 +0000 (14:25 -0400)]
[amd64] Remove some dead code.

8 years agoRevert "[amd64] Allow returning of structs in register pairs."
Zoltan Varga [Tue, 20 Oct 2015 18:12:06 +0000 (14:12 -0400)]
Revert "[amd64] Allow returning of structs in register pairs."

This reverts commit c41b5a47ad24fc359a092fe9023fc82f68cdf198.

Revert this as it breaks IronJS tests:

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

8 years ago[mcs] Add additional doc reset after property initializers. Fixes #35087
Marek Safar [Tue, 20 Oct 2015 16:38:22 +0000 (18:38 +0200)]
[mcs] Add additional doc reset after property initializers. Fixes #35087

8 years ago[acceptance-tests] Fix tarball build and rename "check" target to "check-full"
Alexander Köplinger [Tue, 20 Oct 2015 13:14:34 +0000 (15:14 +0200)]
[acceptance-tests] Fix tarball build and rename "check" target to "check-full"

The acceptance-tests folder wasn't getting included in the tarball, adding the folder
to the SUBDIRS in the top-level Makefile.am fixes this. Additionally, EXTRA_DISTFILES
doesn't work outside of mcs/ so rename it to EXTRA_DIST.

Since we don't want a top-level "make check" to recurse into acceptance-tests just yet,
rename the check target to check-full so nothing gets run by default.

8 years agoFixes mobile build
Marek Safar [Tue, 20 Oct 2015 12:53:44 +0000 (14:53 +0200)]
Fixes mobile build

8 years ago[mdoc] Update expected test results after private members change in mscorlib
Marek Safar [Tue, 20 Oct 2015 10:01:25 +0000 (12:01 +0200)]
[mdoc] Update expected test results after private members change in mscorlib

8 years ago[System.Runtime.Caching] Update test due to .net fixes
Marek Safar [Tue, 20 Oct 2015 09:47:06 +0000 (11:47 +0200)]
[System.Runtime.Caching] Update test due to .net fixes

8 years ago[system.componentmodel.dataannotations] Fix incorrect IsValid_Object_ValidationContex...
Marek Safar [Tue, 20 Oct 2015 09:36:52 +0000 (11:36 +0200)]
[system.componentmodel.dataannotations] Fix incorrect IsValid_Object_ValidationContext_CrossCallsWithNIEX test

8 years ago[msvc] Use fully qualified path for xcopy
Jo Shields [Tue, 20 Oct 2015 08:56:15 +0000 (09:56 +0100)]
[msvc] Use fully qualified path for xcopy

There are still nasty issues with $PATH vs %PATH% for builds spawned by a system service, this should hopefully fix the last one

8 years ago[system.data] Remove empty ending character from resource constants
Marek Safar [Tue, 20 Oct 2015 08:02:32 +0000 (10:02 +0200)]
[system.data] Remove empty ending character from resource constants

8 years ago[gsharedvt] Inflate methods properly in one case. Fixes #34926.
Zoltan Varga [Tue, 20 Oct 2015 02:52:41 +0000 (22:52 -0400)]
[gsharedvt] Inflate methods properly in one case. Fixes #34926.

8 years agoMerge pull request #2148 from akoeplinger/remove-old-runtime-versions
Alexander Köplinger [Mon, 19 Oct 2015 20:26:18 +0000 (22:26 +0200)]
Merge pull request #2148 from akoeplinger/remove-old-runtime-versions

[runtime] Remove explicit support for v4.0.30128 and v4.0.20506

8 years ago[runtime] Remove explicit support for v4.0.30128 and v4.0.20506
Alexander Köplinger [Mon, 19 Oct 2015 19:51:41 +0000 (21:51 +0200)]
[runtime] Remove explicit support for v4.0.30128 and v4.0.20506

These versions were still binding to the 4.0 mscorlib, which is a reference-only assembly now
and isn't intended for being used at runtime.

This issue manifested itself when someone used e.g. <supportedRuntime version="v4.0.20506"/> in
the app.config, causing the runtime to try loading that version and then bailing out with
"Corlib not in sync with this runtime: expected corlib version 117, found 111." (with 111 being
the corlib version at the time the reference assemblies were generated).

The fix is to remove the specific versions from the supported_runtimes array, causing programs
to automatically use the newest version instead.

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

Other reports:

https://youtrack.jetbrains.com/issue/TW-42700
https://youtrack.jetbrains.com/issue/TW-41337
http://stackoverflow.com/questions/29988698/teamcity-nunitlauncher-running-on-linux-mono-gives-corlib-not-in-sync-with-th

8 years ago[llvm] Fix the handling of r4 arguments during calls. Fixes #35044.
Zoltan Varga [Mon, 19 Oct 2015 19:47:17 +0000 (15:47 -0400)]
[llvm] Fix the handling of r4 arguments during calls. Fixes #35044.

8 years agoBump reference source.
Martin Baulig [Mon, 19 Oct 2015 17:58:45 +0000 (13:58 -0400)]
Bump reference source.

8 years ago[runtime] Remove unused MONO_IS_CROSS_COMPILE define.
João Matos [Mon, 19 Oct 2015 16:44:29 +0000 (17:44 +0100)]
[runtime] Remove unused MONO_IS_CROSS_COMPILE define.

8 years ago[acceptance-tests] Convert Ruby script to Python
Alexander Köplinger [Mon, 19 Oct 2015 14:02:46 +0000 (16:02 +0200)]
[acceptance-tests] Convert Ruby script to Python

Most of the other scripts in the repo use Python and we decided to converge on that one.

8 years ago[acceptance-tests] Integrate Roslyn, CoreCLR and ms-test-suite into acceptance-tests
Alexander Köplinger [Mon, 19 Oct 2015 15:06:46 +0000 (17:06 +0200)]
[acceptance-tests] Integrate Roslyn, CoreCLR and ms-test-suite into acceptance-tests

This commit integrates the CoreCLR, Roslyn and ms-test-suite (which is Xamarin-internal, but should just print a warning for someone without access).
Running the tests suites can be done with 'make check-coreclr', 'make check-roslyn' and 'make check-ms-test-suite', or all of them with make check in the acceptance-tests folder.
They won't run on a top-level make check though, which is intended until every test suite is fixed.

This uses a custom submodule system that doesn't rely on git submodules (which are annoying when the repo is large and we only need them for tests). Instead we can fetch repositories on demand.

History (before squashing into smaller chunks):

- Rename check-{testsuite} make target to validate-{testsuite}. The former can be easily confused with the "check" target that runs the tests.
- Move acceptance-tests Makefile to automake, so we can avoid hardcoding paths
- Copy System.Console facade to CoreCLR IL test directories. Otherwise most of the IL tests fail as they rely on the System.Console assembly reference.
- Update README.md to mention the tests
- Use $(MAKE) instead of plain make and pass -C instead of cd'ing to directory
- Exit when the repository can't be cloned and print a note about the ms-test-suite repo. The ms-test-suite repo is Xamarin-internal so it'll error out in public.
- Integrate MS CoreCLR runtime tests into Mono's test infrastructure
- Get rid of intermediate msg file and pipe straight to git
- Rename README to CONFIG since we don't store metadata in readme.md anymore
- Fix comparison in versions.mk to be sh compliant. It relied on bashism before.

8 years ago[acceptance-tests] Add code from xamarin/mono extensions branch
Zoltan Varga [Wed, 7 Oct 2015 14:32:13 +0000 (16:32 +0200)]
[acceptance-tests] Add code from xamarin/mono extensions branch

This provides a "git submodule"-like tool which can be used to
checkout optional repositories.

8 years ago[tests] Add a new --testsuite-name parameter to managed test runner
Alexander Köplinger [Mon, 19 Oct 2015 14:36:58 +0000 (16:36 +0200)]
[tests] Add a new --testsuite-name parameter to managed test runner

Use it for the gshared tests, they were all (over-)writing the same TestResults_runtime.xml before.

8 years ago[tests] Add a new --expected-exit-code option to the managed test-runner
Alexander Köplinger [Mon, 19 Oct 2015 14:33:54 +0000 (16:33 +0200)]
[tests] Add a new --expected-exit-code option to the managed test-runner

8 years agoMerge pull request #2136 from esdrubal/uridotsegment
Marcos Henrich [Mon, 19 Oct 2015 13:01:30 +0000 (14:01 +0100)]
Merge pull request #2136 from esdrubal/uridotsegment

[System] Fixed dots trimmed from segments.

8 years agojit] Replace a few more #ifdefs with flags.
Zoltan Varga [Mon, 19 Oct 2015 03:48:45 +0000 (23:48 -0400)]
jit] Replace a few more #ifdefs with flags.

8 years agoFix the build.
Zoltan Varga [Sun, 18 Oct 2015 23:59:19 +0000 (19:59 -0400)]
Fix the build.

8 years ago[jit] Add a new MonoBackend structure which will contain backend constants/functions...
Zoltan Varga [Sun, 18 Oct 2015 23:03:07 +0000 (19:03 -0400)]
[jit] Add a new MonoBackend structure which will contain backend constants/functions. Move the arch specific flags from MonoCompile to this structure.

8 years agojit] Replace a few more #ifdefs with MonoCompile flags.
Zoltan Varga [Sun, 18 Oct 2015 03:24:07 +0000 (23:24 -0400)]
jit] Replace a few more #ifdefs with MonoCompile flags.

8 years ago[jit] Replace a few more #ifdefs with MonoCompile flags.
Zoltan Varga [Sun, 18 Oct 2015 01:13:03 +0000 (21:13 -0400)]
[jit] Replace a few more #ifdefs with MonoCompile flags.

8 years ago[jit] Replace a few arch-specific #ifdef blocks with MonoCompile flags.
Zoltan Varga [Sun, 18 Oct 2015 00:55:24 +0000 (20:55 -0400)]
[jit] Replace a few arch-specific #ifdef blocks with MonoCompile flags.

8 years ago[jit] Add flags to MonoCompile to allow the removal of arch-specific ifdefs from...
Zoltan Varga [Sun, 18 Oct 2015 00:45:54 +0000 (20:45 -0400)]
[jit] Add flags to MonoCompile to allow the removal of arch-specific ifdefs from the jit code. Add a mini_init_cfg () function to initialize them using the arch defines.

8 years ago[threads] Fix another sleep compilation error on win32
Alexander Köplinger [Sat, 17 Oct 2015 19:42:44 +0000 (12:42 -0700)]
[threads] Fix another sleep compilation error on win32

One case was missed in 2ad1993b516244d0ae242a2eaa795d561f8ac02a

8 years agoMake the thread dump code safe by doing only async safe operations when a thread...
Zoltan Varga [Sat, 17 Oct 2015 05:37:47 +0000 (01:37 -0400)]
Make the thread dump code safe by doing only async safe operations when a thread is suspended.

8 years ago[threads] Fix sleep compilation error on win32
Ludovic Henry [Sat, 17 Oct 2015 17:54:57 +0000 (18:54 +0100)]
[threads] Fix sleep compilation error on win32

8 years agoMerge pull request #2139 from akoeplinger/symbolicate-test-fix
Marcos Henrich [Sat, 17 Oct 2015 15:57:10 +0000 (16:57 +0100)]
Merge pull request #2139 from akoeplinger/symbolicate-test-fix

[mono-symbolicate] Skip tests if AOT isn't supported by the current arch

8 years agoFixes build
Marek Safar [Sat, 17 Oct 2015 07:16:24 +0000 (09:16 +0200)]
Fixes build

8 years agoMerge pull request #2144 from dlech/patch-1
Zoltan Varga [Sat, 17 Oct 2015 04:29:03 +0000 (00:29 -0400)]
Merge pull request #2144 from dlech/patch-1

Fix filename in header

8 years agoFix filename in header
David Lechner [Sat, 17 Oct 2015 02:09:36 +0000 (21:09 -0500)]
Fix filename in header

8 years ago[amd64] Allow returning of structs in register pairs.
Zoltan Varga [Sat, 17 Oct 2015 00:05:05 +0000 (20:05 -0400)]
[amd64] Allow returning of structs in register pairs.

8 years ago[llvm] Fix returning of values in a register pair.
Zoltan Varga [Sat, 17 Oct 2015 00:04:21 +0000 (20:04 -0400)]
[llvm] Fix returning of values in a register pair.

8 years ago[llvm] Fix JIT support.
Zoltan Varga [Fri, 16 Oct 2015 19:47:54 +0000 (15:47 -0400)]
[llvm] Fix JIT support.

8 years ago[runtime] Disable the emission of stubs debug info on apple, its no longer supported...
Zoltan Varga [Fri, 16 Oct 2015 19:47:38 +0000 (15:47 -0400)]
[runtime] Disable the emission of stubs debug info on apple, its no longer supported by clang.

8 years agoMerge pull request #2143 from akoeplinger/refactor-mono-security-providers
Alexander Köplinger [Fri, 16 Oct 2015 22:14:47 +0000 (00:14 +0200)]
Merge pull request #2143 from akoeplinger/refactor-mono-security-providers

[Mono.Security.Providers] Refactor providers into distinct folders

8 years agoBump reference source
Marek Safar [Fri, 16 Oct 2015 22:10:23 +0000 (00:10 +0200)]
Bump reference source

8 years ago[corlib] Implement UnsafeEnumCastLong
Marek Safar [Fri, 16 Oct 2015 22:08:30 +0000 (00:08 +0200)]
[corlib] Implement UnsafeEnumCastLong

8 years ago[bcl] Update to 4.6 referencesource
Marek Safar [Fri, 16 Oct 2015 21:32:35 +0000 (23:32 +0200)]
[bcl] Update to 4.6 referencesource

8 years ago[Mono.Security.Providers] Refactor providers into distinct folders
Alexander Köplinger [Fri, 16 Oct 2015 20:11:33 +0000 (22:11 +0200)]
[Mono.Security.Providers] Refactor providers into distinct folders

Build the two libraries Mono.Security.Providers.DotNet and Mono.Security.Providers.NewSystemSource just like
every other class library instead of duplicating the logic into the subfolders.

This also fixes "make dist".

8 years ago[WinForms] ComboBox, ListBox and TextBox should use Control Foreground+Background
Marek Habersack [Fri, 16 Oct 2015 19:39:29 +0000 (21:39 +0200)]
[WinForms] ComboBox, ListBox and TextBox should use Control Foreground+Background

They have been using Window Foreground+Background so far which make them unreadable
on systms with dark themes. This change makes them behave.

8 years ago[TLS]: Make ValidationResult.MonoSslPolicyErrors nullable.
Martin Baulig [Tue, 13 Oct 2015 21:56:35 +0000 (17:56 -0400)]
[TLS]: Make ValidationResult.MonoSslPolicyErrors nullable.

(cherry picked from commit abfac54c47312c00f22fffef821f8889cbc67098)
(cherry picked from commit ccb7bfc930f4265b685eada8e73ee81acaae5963)