mono.git
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

9 years agoMerge pull request #1549 from esdrubal/tziathens
Marek Safar [Fri, 6 Feb 2015 08:18:01 +0000 (09:18 +0100)]
Merge pull request #1549 from esdrubal/tziathens

[corlib] Fixed TimeZoneInfo.TryGetTransitionOffset.

9 years ago[corlib] Fixed TimeZoneInfo.TryGetTransitionOffset.
Marcos Henrich [Fri, 6 Feb 2015 06:41:26 +0000 (06:41 +0000)]
[corlib] Fixed TimeZoneInfo.TryGetTransitionOffset.
Olson TZ transitions are in UTC, and TryGetTransitionOffset used the TZ standard time.
TryGetTransitionOffset was comparing UTC with TZ standard times thus DST transitions could be obtained some hours before their start.
TryGetTransitionOffset is now changing provided times to UTC before comparing them with the transition times.
Fixes #25050.

9 years ago[corlib] Added test to TimeZoneInfoTest. Covers #25050.
Marcos Henrich [Fri, 6 Feb 2015 06:20:54 +0000 (06:20 +0000)]
[corlib] Added test to TimeZoneInfoTest. Covers #25050.

9 years ago[mini] Remove now-unneeded clob spec for move_f_to_i4 on amd64.
Alex Rønne Petersen [Fri, 6 Feb 2015 02:46:07 +0000 (03:46 +0100)]
[mini] Remove now-unneeded clob spec for move_f_to_i4 on amd64.

9 years agoMerge pull request #1548 from akoeplinger/stubs
Miguel de Icaza [Fri, 6 Feb 2015 02:01:38 +0000 (21:01 -0500)]
Merge pull request #1548 from akoeplinger/stubs

[bcl] Added a few stubs for missing APIs

9 years ago[runtime] Update valgrind headers to the ones from valgrind 3.10.1. Fixes #26688.
Zoltan Varga [Fri, 6 Feb 2015 01:53:21 +0000 (20:53 -0500)]
[runtime] Update valgrind headers to the ones from valgrind 3.10.1. Fixes #26688.

9 years ago[amd64] Avoid clobbering sreg1 in OP_MOVE_F_TO_I4.
Zoltan Varga [Thu, 5 Feb 2015 22:16:35 +0000 (17:16 -0500)]
[amd64] Avoid clobbering sreg1 in OP_MOVE_F_TO_I4.

9 years ago[jit] Avoid live range indexes overflowing for large basic blocks in the liveness...
Zoltan Varga [Thu, 5 Feb 2015 22:13:07 +0000 (17:13 -0500)]
[jit] Avoid live range indexes overflowing for large basic blocks in the liveness pass. Fixes #26732.

9 years ago[runtime] Plug a loader error leak.
Rodrigo Kumpera [Thu, 5 Feb 2015 22:15:42 +0000 (17:15 -0500)]
[runtime] Plug a loader error leak.

9 years agoRevert "[jit] Avoid live range indexes overflowing for large basic blocks in the...
Zoltan Varga [Thu, 5 Feb 2015 21:53:26 +0000 (16:53 -0500)]
Revert "[jit] Avoid live range indexes overflowing for large basic blocks in the liveness pass. Fixes #26732."

This reverts commit 98f665aba996361eb28ab1107b9f1a8e659ee715.

Revert this as it causes assertions on methods with large basic blocks.

9 years agoBump referencesource to disable some CAS usage
Sebastien Pouliot [Thu, 5 Feb 2015 20:54:47 +0000 (15:54 -0500)]
Bump referencesource to disable some CAS usage

9 years agoFix error message to mention git instead of svn
Alexander Köplinger [Thu, 5 Feb 2015 20:30:58 +0000 (21:30 +0100)]
Fix error message to mention git instead of svn

Just a nitpick, but I saw this in a build log and thought I'd fix it.

9 years ago[linker] Only consider [Preserve] (i.e. without any parameters) on assembly-level...
Sebastien Pouliot [Thu, 5 Feb 2015 20:20:55 +0000 (15:20 -0500)]
[linker] Only consider [Preserve] (i.e. without any parameters) on assembly-level as meaning 'preserve everything inside this assembly'.

9 years ago[linker] Preserve types given to custom attributes - even if they are inside an array...
Sebastien Pouliot [Thu, 5 Feb 2015 20:19:46 +0000 (15:19 -0500)]
[linker] Preserve types given to custom attributes - even if they are inside an array [#26030]

9 years ago[linker] Do not process custom attribute fields unless there are some (avoids memory...
Sebastien Pouliot [Thu, 5 Feb 2015 20:18:47 +0000 (15:18 -0500)]
[linker] Do not process custom attribute fields unless there are some (avoids memory allocation for collections)

9 years agoMerge pull request #1546 from evincarofautumn/faster-binprot
Mark Probst [Thu, 5 Feb 2015 19:55:26 +0000 (11:55 -0800)]
Merge pull request #1546 from evincarofautumn/faster-binprot

Make sgen-grep-binprot faster.

9 years ago[sgen] Make sgen-grep-binprot faster.
Jon Purdy [Thu, 5 Feb 2015 01:36:42 +0000 (17:36 -0800)]
[sgen] Make sgen-grep-binprot faster.

fread() spent a great deal of time locking, and we called malloc() once for
each entry. Replacing fread() with read() plus manual buffering, as well
as replacing malloc() with a static buffer, improves throughput by an
order of magnitude.

This also adds an '--input' option for reading from a stream other than
standard input.

9 years agoUse float<->integer instructions for move operations
Neale Ferguson [Thu, 5 Feb 2015 19:36:14 +0000 (14:36 -0500)]
Use float<->integer instructions for move operations

9 years ago[Microsoft.Build.Utilities] Fixed MSBuildErrorParser to be more robust
Jeffrey Stedfast [Thu, 5 Feb 2015 18:43:14 +0000 (13:43 -0500)]
[Microsoft.Build.Utilities] Fixed MSBuildErrorParser to be more robust

9 years ago[mcs] Prefer not missing type for ambiguous imported types. Fixes #26753
Marek Safar [Thu, 5 Feb 2015 17:25:18 +0000 (18:25 +0100)]
[mcs] Prefer not missing type for ambiguous imported types. Fixes #26753

9 years ago[bcl] Added a few stubs for missing APIs
Alexander Köplinger [Thu, 5 Feb 2015 16:40:55 +0000 (17:40 +0100)]
[bcl] Added a few stubs for missing APIs

They are required for the upcoming System.Web port.

9 years ago[corlib] TimeZoneInfo.ConvertTimeToUtc maximum datetime handling
Marek Safar [Thu, 5 Feb 2015 12:25:49 +0000 (07:25 -0500)]
[corlib] TimeZoneInfo.ConvertTimeToUtc maximum datetime handling

9 years ago[runtime] Fixes setting FileVersionInfo managed booleans
Marek Safar [Thu, 5 Feb 2015 11:34:16 +0000 (12:34 +0100)]
[runtime] Fixes setting FileVersionInfo managed booleans

9 years ago[xbuild] Fix When Condition with a user comment
Marek Safar [Thu, 5 Feb 2015 10:49:59 +0000 (11:49 +0100)]
[xbuild] Fix When Condition with a user comment

9 years ago[build] remove unused defines
Marek Safar [Thu, 5 Feb 2015 10:28:40 +0000 (11:28 +0100)]
[build] remove unused defines

9 years ago[corlib] BitConverter from reference sources
Marek Safar [Thu, 5 Feb 2015 09:48:29 +0000 (10:48 +0100)]
[corlib] BitConverter from reference sources

9 years ago[mini] Really fix the float <-> int data transfer instructions on arm.
Alex Rønne Petersen [Thu, 5 Feb 2015 03:58:23 +0000 (04:58 +0100)]
[mini] Really fix the float <-> int data transfer instructions on arm.

The ARM_CVTS/ARM_CVTD macros have somewhat deceptive names: They
describe the source data type, not the target data type.

9 years agoMerge pull request #1541 from alexrp/mcs-build-cleanup
Alex Rønne Petersen [Thu, 5 Feb 2015 02:13:59 +0000 (03:13 +0100)]
Merge pull request #1541 from alexrp/mcs-build-cleanup

Clean up mcs build system

9 years agoStart work to generate dependencies
Miguel de Icaza [Thu, 5 Feb 2015 02:05:18 +0000 (21:05 -0500)]
Start work to generate dependencies

9 years ago[mini] Implement float <-> int data transfer instructions in the LLVM backend.
Alex Rønne Petersen [Thu, 5 Feb 2015 01:03:15 +0000 (02:03 +0100)]
[mini] Implement float <-> int data transfer instructions in the LLVM backend.

9 years ago[test] Add verifier test for cgt_un and valuetypes.
Rodrigo Kumpera [Wed, 4 Feb 2015 22:08:47 +0000 (17:08 -0500)]
[test] Add verifier test for cgt_un and valuetypes.

9 years ago[verifier] Properly verify CGT_UN when used with reference value and the null literal.
Rodrigo Kumpera [Wed, 4 Feb 2015 22:06:38 +0000 (17:06 -0500)]
[verifier] Properly verify CGT_UN when used with reference value and the null literal.

9 years ago[jit] Avoid live range indexes overflowing for large basic blocks in the liveness...
Zoltan Varga [Wed, 4 Feb 2015 19:00:17 +0000 (14:00 -0500)]
[jit] Avoid live range indexes overflowing for large basic blocks in the liveness pass. Fixes #26732.

9 years ago[runtime] Enable the new interrupt code on arm64.
Zoltan Varga [Wed, 4 Feb 2015 18:22:18 +0000 (13:22 -0500)]
[runtime] Enable the new interrupt code on arm64.

9 years agoMove TimeZoneInfo tests to corlib
Marek Safar [Wed, 4 Feb 2015 18:09:14 +0000 (19:09 +0100)]
Move TimeZoneInfo tests to corlib

9 years ago[system.xml] Disable failing test, requires reference source implementation
Marek Safar [Wed, 4 Feb 2015 17:46:30 +0000 (18:46 +0100)]
[system.xml] Disable failing test, requires reference source implementation

9 years ago[corlib] Fix overflow in TimeZoneInfo utc conversion
Marek Safar [Wed, 4 Feb 2015 16:54:35 +0000 (17:54 +0100)]
[corlib] Fix overflow in TimeZoneInfo utc conversion

9 years ago[mcs] update error message
Marek Safar [Wed, 4 Feb 2015 16:23:08 +0000 (17:23 +0100)]
[mcs] update error message

9 years ago[corlib] Boolean from reference sources
Marek Safar [Wed, 4 Feb 2015 15:49:53 +0000 (16:49 +0100)]
[corlib] Boolean from reference sources

9 years ago[android] disable TLS on android/x86_64
Radek Doulik [Wed, 4 Feb 2015 16:09:17 +0000 (17:09 +0100)]
[android] disable TLS on android/x86_64

 - otherwise we assert in sgen allocator
   in   sgen-gc.h:EMIT_TLS_ACCESS_NEXT_ADDR
   thru sgen-alloc.c:create_allocator
 - note that it is also disabled for ARM[64] and X86
   on android

9 years ago[System] More TypeDescriptor tests
Marek Safar [Wed, 4 Feb 2015 14:49:41 +0000 (15:49 +0100)]
[System] More TypeDescriptor tests

9 years ago[corlib] Add test for #17626
Marek Safar [Wed, 4 Feb 2015 14:36:10 +0000 (15:36 +0100)]
[corlib] Add test for #17626

9 years ago[corlib] DateTime from reference sources
Marek Safar [Wed, 4 Feb 2015 14:30:44 +0000 (15:30 +0100)]
[corlib] DateTime from reference sources

9 years agoRevert "[runtime] Fixed allowing non-object complex arguments to cgt.un"
Alex Rønne Petersen [Wed, 4 Feb 2015 14:28:44 +0000 (15:28 +0100)]
Revert "[runtime] Fixed allowing non-object complex arguments to cgt.un"

This reverts commit 38f878ce9d480e2f9ba8a00ac699bed98d71354c.

This broke the build: http://wrench.mono-project.com/Wrench/WebServices/Download.aspx?workfile_id=3704132

9 years ago[mini] Hopefully fix float <-> int data transfer instructions on x86. x87 sucks.
Alex Rønne Petersen [Wed, 4 Feb 2015 13:58:03 +0000 (14:58 +0100)]
[mini] Hopefully fix float <-> int data transfer instructions on x86. x87 sucks.

9 years ago[mini] Fix float <-> int data transfer instructions on arm/mips.
Alex Rønne Petersen [Wed, 4 Feb 2015 13:16:27 +0000 (14:16 +0100)]
[mini] Fix float <-> int data transfer instructions on arm/mips.

9 years ago[mini] Fix x86/arm build.
Alex Rønne Petersen [Wed, 4 Feb 2015 13:13:00 +0000 (14:13 +0100)]
[mini] Fix x86/arm build.

9 years agoFixed System.Net.NetworkInformation tests to work with MonoTouch.NUnitLite.
João Matos [Wed, 4 Feb 2015 13:13:02 +0000 (13:13 +0000)]
Fixed System.Net.NetworkInformation tests to work with MonoTouch.NUnitLite.

9 years ago[runtime] Added autoconf support for AMD64 Android cross compilation.
João Matos [Wed, 4 Feb 2015 13:07:20 +0000 (13:07 +0000)]
[runtime] Added autoconf support for AMD64 Android cross compilation.

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

9 years ago[mini] Use new float <-> int move opcodes to implement r4/r8 CAS/Exchange.
Alex Rønne Petersen [Wed, 4 Feb 2015 11:05:06 +0000 (12:05 +0100)]
[mini] Use new float <-> int move opcodes to implement r4/r8 CAS/Exchange.

9 years ago[mini] Add new instructions for moving data between float and int regs.
Alex Rønne Petersen [Wed, 4 Feb 2015 11:04:20 +0000 (12:04 +0100)]
[mini] Add new instructions for moving data between float and int regs.

These perform no conversions (other than any necessary single <-> double
conversions). They simply copy the raw data back and forth.

9 years ago[mini] Apply the dreg != sreg1 optimization to OP_(F)MOVE in all backends.
Alex Rønne Petersen [Wed, 4 Feb 2015 11:02:21 +0000 (12:02 +0100)]
[mini] Apply the dreg != sreg1 optimization to OP_(F)MOVE in all backends.

9 years ago[mini] Fix some cases where intrinsics did not have a stack type set.
Alex Rønne Petersen [Wed, 4 Feb 2015 02:31:26 +0000 (03:31 +0100)]
[mini] Fix some cases where intrinsics did not have a stack type set.

9 years ago[android] do not use tkill on android/amd64(x86_64) as well
Radek Doulik [Wed, 4 Feb 2015 08:52:01 +0000 (09:52 +0100)]
[android] do not use tkill on android/amd64(x86_64) as well

9 years agoMerge pull request #1543 from alexanderkyte/master
Alex Rønne Petersen [Wed, 4 Feb 2015 03:53:29 +0000 (04:53 +0100)]
Merge pull request #1543 from alexanderkyte/master

[runtime] Fixed allowing non-object complex arguments to cgt.un

9 years ago[runtime] Fixed allowing non-object complex arguments to cgt.un
Alexander Kyte [Mon, 2 Feb 2015 17:55:46 +0000 (12:55 -0500)]
[runtime] Fixed allowing non-object complex arguments to cgt.un

9 years ago[amd64] Add missing amd64_sse_cvtss2si_reg_reg_size() codegen macro.
Zoltan Varga [Wed, 4 Feb 2015 01:44:18 +0000 (20:44 -0500)]
[amd64] Add missing amd64_sse_cvtss2si_reg_reg_size() codegen macro.

9 years agoMerge pull request #1545 from akoeplinger/fix-windows-build
Zoltan Varga [Tue, 3 Feb 2015 20:58:12 +0000 (15:58 -0500)]
Merge pull request #1545 from akoeplinger/fix-windows-build

Fix Windows build

9 years agoFix Windows build
Alexander Köplinger [Tue, 3 Feb 2015 18:35:25 +0000 (10:35 -0800)]
Fix Windows build

It was broken by c731686feb3a5d2681d9bf19b2e5c8c2ad35825c

9 years agoUpdated the order file generated by following the instructions in msvc/scripts/README
Miguel de Icaza [Tue, 3 Feb 2015 16:48:28 +0000 (11:48 -0500)]
Updated the order file generated by following the instructions in msvc/scripts/README

9 years ago[corlib] TimeSpan from reference sources
Marek Safar [Tue, 3 Feb 2015 15:20:39 +0000 (16:20 +0100)]
[corlib] TimeSpan from reference sources

9 years ago[corlib] Fixed tests to work with NET_2_1 define.
João Matos [Tue, 3 Feb 2015 14:10:46 +0000 (14:10 +0000)]
[corlib] Fixed tests to work with NET_2_1 define.

9 years ago[corlib] DateTimeOffset from reference sources
Marek Safar [Tue, 3 Feb 2015 10:58:48 +0000 (11:58 +0100)]
[corlib] DateTimeOffset from reference sources

9 years ago[corlib] DateTimeFormatInfo and friends from reference sources
Marek Safar [Tue, 3 Feb 2015 09:30:30 +0000 (10:30 +0100)]
[corlib] DateTimeFormatInfo and friends from reference sources

9 years ago[system] Add support for redirected http web-request with disabled AllowWriteStreamBu...
Marek Safar [Tue, 3 Feb 2015 09:23:19 +0000 (10:23 +0100)]
[system] Add support for redirected http web-request with disabled AllowWriteStreamBuffering (empty streams only). Fixes #26640

9 years ago[runtime] Replace a call to mono_get_method_full to mono_get_method_checked.
Rodrigo Kumpera [Mon, 2 Feb 2015 03:41:16 +0000 (22:41 -0500)]
[runtime] Replace a call to mono_get_method_full to mono_get_method_checked.

9 years agoRemove old centum tests stuff.
Alex Rønne Petersen [Fri, 30 Jan 2015 17:57:11 +0000 (18:57 +0100)]
Remove old centum tests stuff.

Despite what the makefiles would have you believe, this was never
actually used when running the test suites. Don't ask me why - my
make-fu isn't good enough. Regardless, it's a bad idea to only
run tests for a specific set of assemblies. If some tests fail or
are unstable, they should be fixed, or disabled and have a bug
filed. Sweeping them under the rug like this is the wrong thing
to do. Incidentally, this commit doesn't add any new failures.

9 years agoRemove now-obsolete System.Web.Extensions(.Design)_1.0 assemblies.
Alex Rønne Petersen [Mon, 2 Feb 2015 18:37:19 +0000 (19:37 +0100)]
Remove now-obsolete System.Web.Extensions(.Design)_1.0 assemblies.

These are no longer built in the newer profiles.

9 years agoRemove obsolete profiles and profile checks from the build system.
Alex Rønne Petersen [Fri, 30 Jan 2015 14:52:01 +0000 (15:52 +0100)]
Remove obsolete profiles and profile checks from the build system.

* Removed all old profiles from VALID_PROFILE checks.
* Removed most logic under checks like ifeq (net_2_0), $(PROFILE)) as
  it is dead code now that those old profiles are gone.
* Simplified the list of assemblies in mcs/class/Makefile now that we
  only have one profile.
* LIBRARY_NEEDS_POSTPROCESSING has been removed as it was only used by
  old 1.x assemblies that no longer exist.
* Build logic that sets MONO_PATH now points to mcs/class/lib/net_4_5
  instead of mcs/class/lib/net_2_0.

9 years agoRemove some leftover old 1.x, 2.x, 3.x profile ifdefs.
Alex Rønne Petersen [Fri, 30 Jan 2015 14:45:43 +0000 (15:45 +0100)]
Remove some leftover old 1.x, 2.x, 3.x profile ifdefs.

We no longer support these profiles so these code paths are dead.

9 years agoAvoid recompiling a test on every run.
Zoltan Varga [Tue, 3 Feb 2015 00:30:30 +0000 (19:30 -0500)]
Avoid recompiling a test on every run.

9 years agoRevert "Switch System.Web.ApplicationServices to referencesource"
Zoltan Varga [Mon, 2 Feb 2015 23:20:45 +0000 (18:20 -0500)]
Revert "Switch System.Web.ApplicationServices to referencesource"

This reverts commit ea88432e494b578a6f67a5b8d0a259f85fab166f.

Revert this as it breaks the System.Web tests.

9 years agoRevert "Include hard-coded strings (SR.cs-style) rather than using AppliCationService...
Zoltan Varga [Mon, 2 Feb 2015 23:20:23 +0000 (18:20 -0500)]
Revert "Include hard-coded strings (SR.cs-style) rather than using AppliCationServicesStrings.Designer.cs"

This reverts commit b88fc966107f2f57084771968d770a01bf806ead.

Revert this as it breaks the System.Web tests.

9 years ago[io-layer] Small portability fix.
Rodrigo Kumpera [Mon, 2 Feb 2015 22:39:38 +0000 (17:39 -0500)]
[io-layer] Small portability fix.

9 years ago[System.Core/Android] Update TimeZone database self test.
Jonathan Pryor [Mon, 2 Feb 2015 20:19:02 +0000 (15:19 -0500)]
[System.Core/Android] Update TimeZone database self test.

The `make tzi.exe` target had bitrotted, and the
`make android-dump-tzdata` target generated inadvertent/unintentional
errors.  Fix the makefile so that things build and run.

9 years ago[corlib] Makes AggregateException output visible
Marek Safar [Mon, 2 Feb 2015 19:26:08 +0000 (20:26 +0100)]
[corlib] Makes AggregateException output visible

9 years ago[corlib] Fixed xammac build.
João Matos [Mon, 2 Feb 2015 15:53:02 +0000 (15:53 +0000)]
[corlib] Fixed xammac build.

9 years ago[corlib] Fixed build with NET_2_1 define.
João Matos [Mon, 2 Feb 2015 15:51:50 +0000 (15:51 +0000)]
[corlib] Fixed build with NET_2_1 define.

9 years ago[System.Xml] Overwrite instead of append so that subsequent executions doesn't end...
Rolf Bjarne Kvinge [Mon, 2 Feb 2015 12:50:44 +0000 (13:50 +0100)]
[System.Xml] Overwrite instead of append so that subsequent executions doesn't end up with garbage in the output.

9 years ago[jit] Fix bad_method_regression_2 when SSA is enabled on 32bits.
Rodrigo Kumpera [Mon, 2 Feb 2015 00:20:05 +0000 (19:20 -0500)]
[jit] Fix bad_method_regression_2 when SSA is enabled on 32bits.

9 years agoMerge pull request #1540 from esdrubal/marshallingcache
Zoltan Varga [Sat, 31 Jan 2015 07:42:34 +0000 (02:42 -0500)]
Merge pull request #1540 from esdrubal/marshallingcache

[runtime] Added native_func_wrapper_cache.

9 years ago[jit] Increase the inline memcpy/memset cutoff to 8 machine words.
Zoltan Varga [Sat, 31 Jan 2015 04:50:28 +0000 (23:50 -0500)]
[jit] Increase the inline memcpy/memset cutoff to 8 machine words.

9 years ago[llvm] Add a new LLVMArgAsFpArgs argument passing convention which means an argument...
Zoltan Varga [Sat, 31 Jan 2015 01:59:55 +0000 (20:59 -0500)]
[llvm] Add a new LLVMArgAsFpArgs argument passing convention which means an argument is passed as a set of fp scalar arguments, i.e. HFAs on arm64.

9 years agoFix a warning.
Zoltan Varga [Sat, 31 Jan 2015 00:15:24 +0000 (19:15 -0500)]
Fix a warning.

9 years ago[arm] Enable llvm for methods with struct arguments larger than 2 words.
Zoltan Varga [Fri, 30 Jan 2015 22:46:38 +0000 (17:46 -0500)]
[arm] Enable llvm for methods with struct arguments larger than 2 words.

9 years ago[runtime] Disable a test which fails with llvm/gcc.
Zoltan Varga [Fri, 30 Jan 2015 20:43:10 +0000 (15:43 -0500)]
[runtime] Disable a test which fails with llvm/gcc.

9 years agoDon't include the poll backed directly into the threadpool source code.
Rodrigo Kumpera [Fri, 30 Jan 2015 19:07:43 +0000 (14:07 -0500)]
Don't include the poll backed directly into the threadpool source code.

9 years ago[runtime] Skip the finalizer thread while it's sleeping.
Rodrigo Kumpera [Thu, 29 Jan 2015 22:25:30 +0000 (17:25 -0500)]
[runtime] Skip the finalizer thread while it's sleeping.

9 years ago[runtime] Added native_func_wrapper_cache.
Marcos Henrich [Fri, 30 Jan 2015 15:40:33 +0000 (15:40 +0000)]
[runtime] Added native_func_wrapper_cache.
mono_marshal_get_native_func_wrapper now uses native_func_wrapper_cache indexed by SignaturePointerPair,

Using SignaturePointerPair index instead of MonoMethod index avoids problems when one native function needs multiple wrappers.
e.g: when the managed code creates delegates for function pointers with parameters that require different marshallings.

This fixes bug 26127.

9 years ago[runtime] Renamed SignatureMethodPair to SignaturePointerPair.
Marcos Henrich [Fri, 30 Jan 2015 15:26:03 +0000 (15:26 +0000)]
[runtime] Renamed SignatureMethodPair to SignaturePointerPair.
Changed field MonoMethod* method to gpointer pointer.
This change was done because we need in some cases to use a signature pointer pair.

9 years agoMerge pull request #1539 from directhex/use-referencesource-for-System.Web.Applicatio...
Marek Safar [Fri, 30 Jan 2015 14:13:37 +0000 (15:13 +0100)]
Merge pull request #1539 from directhex/use-referencesource-for-System.Web.ApplicationServices

Include hard-coded strings (SR.cs-style) rather than using AppliCationServicesStrings.Designer.cs

9 years agoInclude hard-coded strings (SR.cs-style) rather than using AppliCationServicesStrings...
Jo Shields [Fri, 30 Jan 2015 14:06:36 +0000 (14:06 +0000)]
Include hard-coded strings (SR.cs-style) rather than using AppliCationServicesStrings.Designer.cs

This avoids depending on a missing .resources file with string translations in it

9 years agoMerge pull request #1538 from directhex/use-referencesource-for-System.Web.Applicatio...
João Matos [Fri, 30 Jan 2015 12:45:38 +0000 (12:45 +0000)]
Merge pull request #1538 from directhex/use-referencesource-for-System.Web.ApplicationServices

Switch System.Web.ApplicationServices to ReferenceSource.

9 years agoSwitch System.Web.ApplicationServices to referencesource
Jo Shields [Fri, 30 Jan 2015 12:12:51 +0000 (12:12 +0000)]
Switch System.Web.ApplicationServices to referencesource

Due to the removal of the net_2_0 profile, the files in ../System.Web/System.Web.Security aren't included in make dist anymore since they aren't used in System.Web (the classes got moved to System.Web.ApplicationServices.dll in .NET 4).

This breaks the tarball builds, as System.Web.ApplicationServices relies
on those files, so we now include the ReferenceSource equivalents instead.

9 years ago[runtime] Use MonoError instead of loader error with signature parsing.
Rodrigo Kumpera [Fri, 30 Jan 2015 06:03:01 +0000 (01:03 -0500)]
[runtime] Use MonoError instead of loader error with signature parsing.

9 years agoBump referencesource to disable CAS calls on System.Componentmodel.TypeDescriptor...
Sebastien Pouliot [Fri, 30 Jan 2015 00:58:45 +0000 (19:58 -0500)]
Bump referencesource to disable CAS calls on System.Componentmodel.TypeDescriptor [#26554]

9 years ago[mini] Fix Enum.HasFlag () intrinsic emitting a bad OP_LCEQ on 32-bit.
Alex Rønne Petersen [Thu, 29 Jan 2015 23:55:49 +0000 (00:55 +0100)]
[mini] Fix Enum.HasFlag () intrinsic emitting a bad OP_LCEQ on 32-bit.

9 years agoFix the dreg op the long_ccc instructions, those instructions return ints.
Zoltan Varga [Fri, 30 Jan 2015 00:09:36 +0000 (19:09 -0500)]
Fix the dreg op the long_ccc instructions, those instructions return ints.