mono.git
9 years ago[msvc] Upgrade the projects to require VS2013.
João Matos [Wed, 11 Feb 2015 15:53:13 +0000 (15:53 +0000)]
[msvc] Upgrade the projects to require VS2013.

9 years agoUse `-std=gnu99` as we rely on the `linux` macro in some places.
Alex Rønne Petersen [Wed, 11 Feb 2015 15:50:59 +0000 (16:50 +0100)]
Use `-std=gnu99` as we rely on the `linux` macro in some places.

9 years agoBump reference sources
Marek Safar [Wed, 11 Feb 2015 15:42:08 +0000 (16:42 +0100)]
Bump reference sources

9 years ago[runtime] Enable C99 mode.
Zoltan Varga [Wed, 11 Feb 2015 15:32:34 +0000 (10:32 -0500)]
[runtime] Enable C99 mode.

9 years ago[runtime] Use ISO C __typeof__ instead of typeof () in one place.
Zoltan Varga [Wed, 11 Feb 2015 15:32:13 +0000 (10:32 -0500)]
[runtime] Use ISO C __typeof__ instead of typeof () in one place.

9 years agoFix the loadable llvm build.
Zoltan Varga [Wed, 11 Feb 2015 14:44:40 +0000 (09:44 -0500)]
Fix the loadable llvm build.

9 years ago[linker] Ignore null type arguments in MarkWithResolvedScope
Sebastien Pouliot [Wed, 11 Feb 2015 14:01:35 +0000 (09:01 -0500)]
[linker] Ignore null type arguments in MarkWithResolvedScope

It's ignored in MarkType but it breaks calling Resolve in this case

9 years ago[corlib] Fixes build
Marek Safar [Wed, 11 Feb 2015 13:03:58 +0000 (14:03 +0100)]
[corlib] Fixes build

9 years agoMerge pull request #1559 from directhex/emit-nunit-xml-in-unmanaged-tests
Zoltan Varga [Wed, 11 Feb 2015 13:00:18 +0000 (08:00 -0500)]
Merge pull request #1559 from directhex/emit-nunit-xml-in-unmanaged-tests

Add NUnit XML emission to the managed runtime test runner.

9 years agoAdd NUnit XML emission to the managed runtime test runner.
Jo Shields [Wed, 11 Feb 2015 12:48:45 +0000 (12:48 +0000)]
Add NUnit XML emission to the managed runtime test runner.

This makes it easy to plug failures from the runtime tests into a visualisation, such as Jenkins' jUnit display system.

9 years agoMake the managed test runner the default in mono/tests, run with make M=0 to use...
Zoltan Varga [Wed, 11 Feb 2015 12:47:39 +0000 (07:47 -0500)]
Make the managed test runner the default in mono/tests, run with make M=0 to use the old one.

9 years ago[llvm] Maps structs made up of floats/doubles to llvm structs containing floats.
Zoltan Varga [Wed, 11 Feb 2015 12:02:34 +0000 (07:02 -0500)]
[llvm] Maps structs made up of floats/doubles to llvm structs containing floats.

9 years ago[system] Fix ping process exit code check
Marek Safar [Wed, 11 Feb 2015 11:04:50 +0000 (12:04 +0100)]
[system] Fix ping process exit code check

9 years ago[system] updates fixed test
Marek Safar [Wed, 11 Feb 2015 09:47:54 +0000 (10:47 +0100)]
[system] updates fixed test

9 years ago[system.core] Update aes test to match imported code
Marek Safar [Wed, 11 Feb 2015 08:43:17 +0000 (09:43 +0100)]
[system.core] Update aes test to match imported code

9 years ago[mcs] Additional fix for #26892
Marek Safar [Wed, 11 Feb 2015 08:20:29 +0000 (09:20 +0100)]
[mcs] Additional fix for #26892

9 years ago[linker] Resolve types inside custom attributes since they might refer to types in...
Sebastien Pouliot [Wed, 11 Feb 2015 02:04:02 +0000 (21:04 -0500)]
[linker] Resolve types inside custom attributes since they might refer to types in assemblies we won't be keeping [#26752]

Custom attributes encoding means it's possible to have a scope that will
point into a PCL facade even if we (just before saving) will resolve all
type references.

Since all other references can be made on the _real_ assembly and that
we do not want to include any facade assembly just for this we need to
resolve those type and update their scope.

9 years ago[build] Fixed the MSVC build.
João Matos [Tue, 10 Feb 2015 15:14:16 +0000 (15:14 +0000)]
[build] Fixed the MSVC build.

9 years ago[corlib] Guid from reference sources
Marek Safar [Tue, 10 Feb 2015 14:36:40 +0000 (15:36 +0100)]
[corlib] Guid from reference sources

9 years ago[mcs] Fixes failing test
Marek Safar [Tue, 10 Feb 2015 14:36:11 +0000 (15:36 +0100)]
[mcs] Fixes failing test

9 years ago[corlib] Calling 'tzi.exe -i' now prints olson transitions.
Marcos Henrich [Tue, 10 Feb 2015 10:44:35 +0000 (10:44 +0000)]
[corlib] Calling 'tzi.exe -i' now prints olson transitions.

9 years ago[corlib] Updated make target tzi.exe
Marcos Henrich [Tue, 10 Feb 2015 10:39:29 +0000 (10:39 +0000)]
[corlib] Updated make target tzi.exe

9 years agoMoved android-dump-tzdata make target to corlib.
Marcos Henrich [Tue, 10 Feb 2015 10:32:30 +0000 (10:32 +0000)]
Moved android-dump-tzdata make target to corlib.
Reason: All TimeZoneInfo related files are now all in corlib directory.

9 years agoMerge pull request #1557 from StephenMcConnel/bug-26887
Zoltan Varga [Tue, 10 Feb 2015 09:25:34 +0000 (04:25 -0500)]
Merge pull request #1557 from StephenMcConnel/bug-26887

Prevent right click from triggering ToolStripItem.HandleClick

9 years agoRename binary reference assemblies location
Marek Safar [Tue, 10 Feb 2015 09:21:29 +0000 (10:21 +0100)]
Rename binary reference assemblies location

9 years ago[eval] Add C#6 using handling
Marek Safar [Tue, 10 Feb 2015 09:12:01 +0000 (10:12 +0100)]
[eval] Add C#6 using handling

9 years agoMerge pull request #1558 from ermshiperete/fixCrash
Zoltan Varga [Tue, 10 Feb 2015 09:05:26 +0000 (04:05 -0500)]
Merge pull request #1558 from ermshiperete/fixCrash

[MWF] Fix NullReferenceException introduced by commit a080a7d

9 years ago[MWF] Fix NullReferenceException introduced by commit a080a7d
Damien Daspit [Tue, 10 Feb 2015 08:46:18 +0000 (15:46 +0700)]
[MWF] Fix NullReferenceException introduced by commit a080a7d

Change-Id: I5709063cc7eecc01fd1e2978cd8aac096060c31e

9 years ago[mcs] Fixed casts rules don't apply to strings and arrays. Fixes #26892
Marek Safar [Tue, 10 Feb 2015 08:31:22 +0000 (09:31 +0100)]
[mcs] Fixed casts rules don't apply to strings and arrays. Fixes #26892

9 years ago[mcs] Resolve delegate optional parameters only once. Fixes #26840
Marek Safar [Tue, 10 Feb 2015 07:49:11 +0000 (08:49 +0100)]
[mcs] Resolve delegate optional parameters only once. Fixes #26840

9 years ago[jit] Factor out the gsharedvt constrained call handling code into a separate function.
Zoltan Varga [Tue, 10 Feb 2015 07:27:13 +0000 (02:27 -0500)]
[jit] Factor out the gsharedvt constrained call handling code into a separate function.

9 years ago[jit] Fix some issues with constrained gsharedvt calls to be able to handle some...
Zoltan Varga [Tue, 10 Feb 2015 07:20:32 +0000 (02:20 -0500)]
[jit] Fix some issues with constrained gsharedvt calls to be able to handle some cases encountered with the new MS reference source code.

9 years agoIncrease some trampoline buffer sizes.
Zoltan Varga [Tue, 10 Feb 2015 04:08:57 +0000 (23:08 -0500)]
Increase some trampoline buffer sizes.

9 years agoBump referencesource.
Zoltan Varga [Tue, 10 Feb 2015 03:40:50 +0000 (22:40 -0500)]
Bump referencesource.

9 years agoBump referencesource to e6af770c424af46f78d3b8f90eebbb2e0d7953a2.
Zoltan Varga [Tue, 10 Feb 2015 03:34:55 +0000 (22:34 -0500)]
Bump referencesource to e6af770c424af46f78d3b8f90eebbb2e0d7953a2.

9 years agoRevert "[mini] Implement atomic exchange with xchg on x86."
Alex Rønne Petersen [Tue, 10 Feb 2015 02:01:33 +0000 (03:01 +0100)]
Revert "[mini] Implement atomic exchange with xchg on x86."

This reverts commit c96e58280c1d36eee8786151c19425568c58e731.

Getting this to work right with regards to register allocation
is turning out to be more complicated than it seems. Going to
abandon this for now.

9 years ago[mini] Implement atomic exchange with xchg on x86.
Alex Rønne Petersen [Tue, 10 Feb 2015 00:49:05 +0000 (01:49 +0100)]
[mini] Implement atomic exchange with xchg on x86.

9 years agoPrevent right click from triggering ToolStripItem.HandleClick
Stephen McConnel [Tue, 10 Feb 2015 00:39:18 +0000 (18:39 -0600)]
Prevent right click from triggering ToolStripItem.HandleClick

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

9 years agoDisable some full-aot tests on amd64 since it doesn't support dyn calls/gsharedvt.
Zoltan Varga [Tue, 10 Feb 2015 00:09:13 +0000 (19:09 -0500)]
Disable some full-aot tests on amd64 since it doesn't support dyn calls/gsharedvt.

9 years ago[mini] Implement atomic exchange with xchg on amd64.
Alex Rønne Petersen [Wed, 4 Feb 2015 12:14:15 +0000 (13:14 +0100)]
[mini] Implement atomic exchange with xchg on amd64.

9 years ago[corlib] Remove unused file
Marek Safar [Mon, 9 Feb 2015 22:15:16 +0000 (23:15 +0100)]
[corlib] Remove unused file

9 years ago[corlib] Keep file names ordered
Marek Safar [Mon, 9 Feb 2015 22:14:45 +0000 (23:14 +0100)]
[corlib] Keep file names ordered

9 years agoMerge pull request #1556 from atsushieno/import-text-encoding
Marek Safar [Mon, 9 Feb 2015 19:09:04 +0000 (20:09 +0100)]
Merge pull request #1556 from atsushieno/import-text-encoding

import referencesource CharUnicodeInfo and remove some runtime char tables.

9 years agoRevert "[mini] Implement atomic exchange with xchg on x86/amd64."
Alex Rønne Petersen [Mon, 9 Feb 2015 18:31:23 +0000 (19:31 +0100)]
Revert "[mini] Implement atomic exchange with xchg on x86/amd64."

This reverts commit 1a319806fe1469915eb2ad02dae7b6aac9e073c1.

This seems to cause memory corruption that results in random
SGen crashes, especially in Roslyn.

9 years ago[runtime] Lower log level of "counters not enabled" message in counters
Ludovic Henry [Mon, 9 Feb 2015 18:01:09 +0000 (13:01 -0500)]
[runtime] Lower log level of "counters not enabled" message in counters

9 years agoRemove unused unicode category data (which is now charinfo.nlp).
Atsushi Eno [Mon, 9 Feb 2015 17:43:10 +0000 (01:43 +0800)]
Remove unused unicode category data (which is now charinfo.nlp).

9 years agoInitialize the counters support before registering new ones.
João Matos [Mon, 9 Feb 2015 17:37:22 +0000 (17:37 +0000)]
Initialize the counters support before registering new ones.

This bug manifests itself in mkbundle'd programs that use the machine config support. Under this case, we can end up registering counters before initializing the counter support in the runtime:

```
* thread #1: tid = 0x141dec, 0x003ebdff mtouch-32`mono_counters_register(name=0x0042f7e3, type=2048, addr=0x00b81288) + 31 at mono-counters.c:218, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x003ebdff mtouch-32`mono_counters_register(name=0x0042f7e3, type=2048, addr=0x00b81288) + 31 at mono-counters.c:218
    frame #1: 0x0025c3f6 mtouch-32`mono_loader_init + 198 at loader.c:106
    frame #2: 0x0025f005 mtouch-32`mono_dllmap_insert(assembly=0x00000000, dll=0x00d0a0c0, func=0x00000000, tdll=0x00d0a0d0, tfunc=0x00000000) + 53 at loader.c:1321
    frame #3: 0x002c28ca mtouch-32`dllmap_start(user_data=0x00d0a0b0, element_name=0x00d0a0a0, attribute_names=0x00d0a030, attribute_values=0x00d0a040) + 698 at mono-config.c:290
    frame #4: 0x002c2010 mtouch-32`start_element(context=0x00d09fa0, element_name=0x00d0a0a0, attribute_names=0x00d0a030, attribute_values=0x00d0a040, user_data=0xbffffb68, error=0x00000000) + 240 at mono-config.c:176
    frame #5: 0x0040ba6d mtouch-32`monoeg_g_markup_parse_context_parse(context=0x00d09fa0, text=0x00b72f30, text_len=240, error=0x00000000) + 1965 at gmarkup.c:351
    frame #6: 0x002c0a93 mtouch-32`mono_config_parse_xml_with_context(state=0xbffffb68, text=0x00b72f30, len=240) + 147 at mono-config.c:440
    frame #7: 0x002c09eb mtouch-32`mono_config_parse_memory(buffer=0x00b72f30) + 123 at mono-config.c:482
    frame #8: 0x00001e6d mtouch-32`install_dll_config_files + 29
    frame #9: 0x00001c86 mtouch-32`mono_mkbundle_init + 22
    frame #10: 0x000029db mtouch-32`main + 331
    frame #11: 0x00001c65 mtouch-32`start + 53
```

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

9 years agoreplace CharUnicodeInfo with that of referencesource and update runtime.
Atsushi Eno [Mon, 9 Feb 2015 16:47:16 +0000 (00:47 +0800)]
replace CharUnicodeInfo with that of referencesource and update runtime.

CharUnicodeInfo had conversion methods for uppercase/lowercase
conversion, and they are actually used by TextInfo. So moved them.
Then added another icall for "lite" version of internal character table
loader.

The new CharUnicodeInfo depends on "charinfo.nlp" resource file, which
does not exist in referencesource but can be generated by coreclr build
tools (as src/mscorlib/src/System/Globalization/Tables/CharInfo.nlp).

The coreclr rev. that built this specific checkin was c4eb037.

9 years ago[corlib] Update failing test
Marek Safar [Mon, 9 Feb 2015 16:01:04 +0000 (02:01 +1000)]
[corlib] Update failing test

9 years agoMerge pull request #1555 from JetBrains/unrecognized_pragma
Marek Safar [Mon, 9 Feb 2015 10:17:32 +0000 (11:17 +0100)]
Merge pull request #1555 from JetBrains/unrecognized_pragma

Skip unrecognized #pragma directive

9 years agoFix the build
Miguel de Icaza [Sun, 8 Feb 2015 18:52:19 +0000 (13:52 -0500)]
Fix the build

9 years agoAdd test for skipping unrecognized #pragma directive
Leonid Shalupov [Sun, 8 Feb 2015 18:02:21 +0000 (19:02 +0100)]
Add test for skipping unrecognized #pragma directive

9 years agoSkip unrecognized #pragma directive
Leonid Shalupov [Sun, 8 Feb 2015 14:02:42 +0000 (15:02 +0100)]
Skip unrecognized #pragma directive

9 years ago[jit] Remove unused disable_vtypes_in_regs variable.
Zoltan Varga [Sun, 8 Feb 2015 08:23:48 +0000 (03:23 -0500)]
[jit] Remove unused disable_vtypes_in_regs variable.

9 years ago[monop] Port to use IKVM.Reflection, add -xi and -xa options to easily lookup Xamarin...
Miguel de Icaza [Sun, 8 Feb 2015 03:44:32 +0000 (22:44 -0500)]
[monop] Port to use IKVM.Reflection, add -xi and -xa options to easily lookup Xamarin.Android and Xamarin.iOS types

9 years ago[sdb] Use a variant of g_path_get_basename () which can handle windows paths as well...
Zoltan Varga [Sun, 8 Feb 2015 03:37:50 +0000 (22:37 -0500)]
[sdb] Use a variant of g_path_get_basename () which can handle windows paths as well. Fixes #26436.

9 years agoRevert "[llvm] Maps structs made up of floats/doubles to llvm structs containing...
Zoltan Varga [Sun, 8 Feb 2015 03:07:06 +0000 (22:07 -0500)]
Revert "[llvm] Maps structs made up of floats/doubles to llvm structs containing floats."

This reverts commit bc9c77280f58b4f313d2231684e30780e8e44fbc.

Revert this as it breaks pinvoke2.exe.

9 years agoRevert "Fix the loadable llvm build."
Zoltan Varga [Sun, 8 Feb 2015 03:06:47 +0000 (22:06 -0500)]
Revert "Fix the loadable llvm build."

This reverts commit dfe6b21b5e7713c1db49bec6bfb876b634aa6f1b.

Revert this as it breaks pinvoke2.exe.

9 years agoFix the loadable llvm build.
Zoltan Varga [Sat, 7 Feb 2015 23:01:39 +0000 (18:01 -0500)]
Fix the loadable llvm build.

9 years ago[decimal] Fixed the Windows build.
João Matos [Sat, 7 Feb 2015 14:21:35 +0000 (14:21 +0000)]
[decimal] Fixed the Windows build.

Works around the following compile error:

```/Users/triton/Development/mono/mono/metadata/decimal-ms.h:3:16: error: redefinition of 'struct tagDEC'
 typedef struct tagDEC {
                ^
In file included from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/unknwn.h:37:0,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/objidl.h:477,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/objbase.h:66,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/ole2.h:17,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/wtypes.h:12,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/winscard.h:10,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/windows.h:97,
                 from /Users/triton/Development/mono/mono/io-layer/io-layer.h:24,
                 from /Users/triton/Development/mono/mono/metadata/process.h:17,
                 from /Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/unistd.h:11,
                 from /Users/triton/Development/mono/mono/metadata/icall.c:27:
/Users/triton/Development/monodroid/builds/toolchains/windows/mxe/usr/i686-w64-mingw32.static/include/wtypes.h:452:16: note: originally defined here
 typedef struct tagDEC {
                ^
```

9 years agoFix the loadable llvm build.
Zoltan Varga [Sat, 7 Feb 2015 12:56:26 +0000 (07:56 -0500)]
Fix the loadable llvm build.

9 years agoMerge pull request #1552 from mono/ms-decimal
Miguel de Icaza [Sat, 7 Feb 2015 05:05:15 +0000 (00:05 -0500)]
Merge pull request #1552 from mono/ms-decimal

Bring the CoreCLR Decimal support to Mono.

9 years ago[llvm] Maps structs made up of floats/doubles to llvm structs containing floats.
Zoltan Varga [Sat, 7 Feb 2015 00:11:54 +0000 (19:11 -0500)]
[llvm] Maps structs made up of floats/doubles to llvm structs containing floats.

9 years agoMake referencesource point to mono/referencesource's mono branch
Miguel de Icaza [Fri, 6 Feb 2015 22:39:44 +0000 (17:39 -0500)]
Make referencesource point to mono/referencesource's mono branch

9 years ago[Decimal] Remove old decimal from the metadata directory
Miguel de Icaza [Fri, 6 Feb 2015 22:28:37 +0000 (17:28 -0500)]
[Decimal] Remove old decimal from the metadata directory

9 years ago[Mono.Debugger.Soft] Fixed StackFrame.Domain logic to not blow up
Jeffrey Stedfast [Fri, 6 Feb 2015 22:24:20 +0000 (17:24 -0500)]
[Mono.Debugger.Soft] Fixed StackFrame.Domain logic to not blow up

9 years ago[arm64] Add r4 opcodes.
Zoltan Varga [Fri, 6 Feb 2015 21:18:29 +0000 (16:18 -0500)]
[arm64] Add r4 opcodes.

9 years agoRemove old implementation of Decimal support, it served us well
Miguel de Icaza [Fri, 6 Feb 2015 20:56:27 +0000 (15:56 -0500)]
Remove old implementation of Decimal support, it served us well

9 years agoMerge branch 'master' into ms-decimal
Miguel de Icaza [Fri, 6 Feb 2015 20:54:31 +0000 (15:54 -0500)]
Merge branch 'master' into ms-decimal

9 years ago[Decimal] Add test cases from the bugs that this branch fixes
Miguel de Icaza [Fri, 6 Feb 2015 20:51:14 +0000 (15:51 -0500)]
[Decimal] Add test cases from the bugs that this branch fixes

9 years ago[Decimal] Expand test suite with Microsoft's CoreFX Decimal tests
Miguel de Icaza [Fri, 6 Feb 2015 20:25:58 +0000 (15:25 -0500)]
[Decimal] Expand test suite with Microsoft's CoreFX Decimal tests

9 years ago[Decimal] Fix another missing cast, makes the entire Mono test suite pass
Miguel de Icaza [Fri, 6 Feb 2015 19:54:49 +0000 (14:54 -0500)]
[Decimal] Fix another missing cast, makes the entire Mono test suite pass

9 years ago[Decimal] Set the reserved field, fix signed to unsigned cast mistakes from the port...
Miguel de Icaza [Fri, 6 Feb 2015 19:09:40 +0000 (14:09 -0500)]
[Decimal] Set the reserved field, fix signed to unsigned cast mistakes from the port, document places where MS does not explicitly set reserved;   Down to 1 failure

9 years agoMerge branch 'r4fp-ir'
Zoltan Varga [Fri, 6 Feb 2015 18:40:16 +0000 (13:40 -0500)]
Merge branch 'r4fp-ir'

9 years agoFix the build.
Zoltan Varga [Fri, 6 Feb 2015 18:37:47 +0000 (13:37 -0500)]
Fix the build.

9 years agoAdd mixed r4/r8 opcodes to binary opcodes.
Zoltan Varga [Fri, 6 Feb 2015 16:56:10 +0000 (11:56 -0500)]
Add mixed r4/r8 opcodes to binary opcodes.

9 years agoExclude the float32 optimization from -O=all.
Zoltan Varga [Fri, 6 Feb 2015 01:04:58 +0000 (01:04 +0000)]
Exclude the float32 optimization from -O=all.

9 years agoImplement arm support.
Zoltan Varga [Fri, 6 Feb 2015 01:03:01 +0000 (01:03 +0000)]
Implement arm support.

9 years agoAdd LLVM support.
Zoltan Varga [Thu, 5 Feb 2015 04:22:28 +0000 (23:22 -0500)]
Add LLVM support.

9 years agoFix OP_MOVE_F_TO_I4 and OP_MOVE_I4_TO_F in float32 mode.
Zoltan Varga [Thu, 5 Feb 2015 04:22:11 +0000 (23:22 -0500)]
Fix OP_MOVE_F_TO_I4 and OP_MOVE_I4_TO_F in float32 mode.

9 years agoAdd support for generating 32 bit floating point code when operating on floats.
Zoltan Varga [Thu, 5 Feb 2015 01:56:58 +0000 (20:56 -0500)]
Add support for generating 32 bit floating point code when operating on floats.
Design:

- Handle r4 types in the front-end normally like other types.
- Controlled using a 'float32' optimization flag, may become the default in the future.
- new stack type STACK_R4.
- new set of opcodes prefixed by 'R', use the same vregs as 'F' opcodes.
- opcodes which worked with r4 values are used as before, but generate different code
  in the back end (OP_R4CONST/OP_LOADR4_MEMBASE/OP_STORER4_MEMBASE_REG, etc.).

9 years ago[Decimal] Fix enumeration values, down to 2 failures
Miguel de Icaza [Fri, 6 Feb 2015 17:46:17 +0000 (12:46 -0500)]
[Decimal] Fix enumeration values, down to 2 failures

9 years ago[corlib] Imports messages from coreclr project
Marek Safar [Fri, 6 Feb 2015 17:36:45 +0000 (18:36 +0100)]
[corlib] Imports messages from coreclr project

9 years ago[Microsoft.Build.Utilities] Fixed to make unit tests pass again
Jeffrey Stedfast [Fri, 6 Feb 2015 17:23:14 +0000 (12:23 -0500)]
[Microsoft.Build.Utilities] Fixed to make unit tests pass again

9 years ago[mini] Bump move_f_to_i4/move_i4_to_f insn sizes on x86.
Alex Rønne Petersen [Fri, 6 Feb 2015 16:55:24 +0000 (17:55 +0100)]
[mini] Bump move_f_to_i4/move_i4_to_f insn sizes on x86.

9 years agoMerge pull request #1551 from directhex/fix-missing-System.Web.ApplicationServices...
Marek Safar [Fri, 6 Feb 2015 16:55:54 +0000 (17:55 +0100)]
Merge pull request #1551 from directhex/fix-missing-System.Web.ApplicationServices-sources

Move files which were split out in 4.0 from System.Web...

9 years ago[mcs] Correctly import metadata constant with mismatched type and value. Fixes #24675
Marek Safar [Fri, 6 Feb 2015 16:53:05 +0000 (17:53 +0100)]
[mcs] Correctly import metadata constant with mismatched type and value. Fixes #24675

9 years agoEnsure missing test_op_il_seq_point.sh is shipped in tarballs.
Jo Shields [Fri, 6 Feb 2015 15:48:01 +0000 (10:48 -0500)]
Ensure missing test_op_il_seq_point.sh is shipped in tarballs.

9 years ago[mini] Remove OP_ICONV_TO_R8_RAW since OP_MOVE_I4_TO_F does the same thing.
Alex Rønne Petersen [Fri, 6 Feb 2015 04:19:29 +0000 (05:19 +0100)]
[mini] Remove OP_ICONV_TO_R8_RAW since OP_MOVE_I4_TO_F does the same thing.

9 years ago[mini] Use a spill var for float <-> int data transfer opcodes on x86.
Alex Rønne Petersen [Fri, 6 Feb 2015 03:44:30 +0000 (04:44 +0100)]
[mini] Use a spill var for float <-> int data transfer opcodes on x86.

9 years ago[mini] Remove some unnecessary amd64 codegen macros (we already had them with differe...
Alex Rønne Petersen [Fri, 6 Feb 2015 03:13:49 +0000 (04:13 +0100)]
[mini] Remove some unnecessary amd64 codegen macros (we already had them with different names).

9 years agoMove files which were split out from System.Web into System.Web.ApplicationServices...
Jo Shields [Fri, 6 Feb 2015 15:17:54 +0000 (10:17 -0500)]
Move files which were split out from System.Web into System.Web.ApplicationServices into the latter's directory. They no longer need to be in the former, since we no longer build the 2.0 profile they were originally part of. This fixes "no rule to make target" errors on tarball builds, caused by those files no longer being shipped in tarballs (make dist does not traverse a ../ boundary, so it wasn't enough for them to be listed in System.Web.ApplicationServices' manifest by System.Web's folder)

9 years agoMerge pull request #1550 from tpetazzoni/mips-fix
Miguel de Icaza [Fri, 6 Feb 2015 14:50:33 +0000 (09:50 -0500)]
Merge pull request #1550 from tpetazzoni/mips-fix

mono-context.h: fix build on MIPS

9 years ago[tests] Fix TypeDescriptorTests compilation when NUnitLite is used
Sebastien Pouliot [Fri, 6 Feb 2015 14:37:06 +0000 (09:37 -0500)]
[tests] Fix TypeDescriptorTests compilation when NUnitLite is used

9 years ago[mcs] Fix cloning of labels from outer anonymous block. Fixes #26736
Marek Safar [Fri, 6 Feb 2015 14:13:13 +0000 (15:13 +0100)]
[mcs] Fix cloning of labels from outer anonymous block. Fixes #26736

9 years ago[mcs] Replace 1684 warning turned into error with unique 7069 error code
Marek Safar [Fri, 6 Feb 2015 09:34:21 +0000 (10:34 +0100)]
[mcs] Replace 1684 warning turned into error with unique 7069 error code

9 years agomono-context.h: fix build on MIPS
Thomas Petazzoni [Fri, 6 Feb 2015 13:56:10 +0000 (14:56 +0100)]
mono-context.h: fix build on MIPS

The mono-context.h file uses definitions such as mips_fp and mips_sp,
which are defined in <mono/arch/mips/mips-codegen.h>, but this file is
not included, leading to build failures.

This fix is similar to 4437ecea91bab3fe68ba1c30521acf75052662cd (for
ARM).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years ago[runtime] Fixed potential memory leak in a8390dcd63d466a12ddd1b159f110320b315031b.
João Matos [Fri, 6 Feb 2015 12:46:24 +0000 (12:46 +0000)]
[runtime] Fixed potential memory leak in a8390dcd63d466a12ddd1b159f110320b315031b.

9 years ago[runtime] Fixed marshalling bug in `mono_marshal_get_native_func_wrapper`.
João Matos [Fri, 6 Feb 2015 12:35:32 +0000 (12:35 +0000)]
[runtime] Fixed marshalling bug in `mono_marshal_get_native_func_wrapper`.

It was caused by a mismatch of the `sig` and `csig` variables when looking the wrapper in the marshalling cache.

This was manifesting as the following crash in all Monodroid programs:

```
#0  mono_type_hash () at /Users/joao/Dev/droid/mono/mono/metadata/metadata.c:1390
#1  0x7512edf4 in mono_signature_hash () at /Users/joao/Dev/droid/mono/mono/metadata/metadata.c:4957
#2  0x75115d18 in signature_pointer_pair_hash () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#3  0x751dca10 in rehash () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#4  0x751dcbe0 in monoeg_g_hash_table_insert_replace () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#5  0x75119570 in mono_mb_create_and_cache_full () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#6  0x75127390 in mono_marshal_get_native_func_wrapper () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#7  0x75127780 in mono_ftnptr_to_delegate () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
```

Originally introduced in https://github.com/mono/mono/pull/1540.

9 years agoMerge pull request #1508 from slluis/fix-20966
Marek Safar [Fri, 6 Feb 2015 10:05:40 +0000 (11:05 +0100)]
Merge pull request #1508 from slluis/fix-20966

Generate proper Link metadata for resources in imported projects