mono.git
11 years ago[corlib] Fix MethodInfo::ToString () to properly format generic structs. Fixes BXC...
Rodrigo Kumpera [Tue, 25 Jun 2013 18:22:48 +0000 (14:22 -0400)]
[corlib] Fix MethodInfo::ToString () to properly format generic structs. Fixes BXC #12856

11 years ago[aot]Clean the loader error after calling mini_method_compile to avoid poisoning...
Rodrigo Kumpera [Tue, 25 Jun 2013 15:44:44 +0000 (11:44 -0400)]
[aot]Clean the loader error after calling mini_method_compile to avoid poisoning further calls.

11 years agoAdd a workaround for an AOT crash in mt.
Zoltan Varga [Tue, 25 Jun 2013 15:53:57 +0000 (17:53 +0200)]
Add a workaround for an AOT crash in mt.

11 years agoEscape path for absolute Uris created using Uri.TryCreate(string, UriKind, out bool)
Grayson Hansard [Thu, 24 Jan 2013 23:04:03 +0000 (15:04 -0800)]
Escape path for absolute Uris created using Uri.TryCreate(string, UriKind, out bool)

11 years agoMake the AOT compiler stats output a bit more compact.
Zoltan Varga [Tue, 25 Jun 2013 14:52:51 +0000 (16:52 +0200)]
Make the AOT compiler stats output a bit more compact.

11 years agoRewrite lifted binary operators to match C# spec more closely. Fixes #12608 and about...
Marek Safar [Tue, 25 Jun 2013 10:35:45 +0000 (12:35 +0200)]
Rewrite lifted binary operators to match C# spec more closely. Fixes #12608 and about 10 other issues.

11 years agoFix wrong MediaType comparison
Marek Safar [Sat, 22 Jun 2013 16:17:01 +0000 (18:17 +0200)]
Fix wrong MediaType comparison

11 years ago[System]: Stub out System.Net.WebSockets.ClientWebSocket.
Martin Baulig [Mon, 24 Jun 2013 22:18:43 +0000 (00:18 +0200)]
[System]: Stub out System.Net.WebSockets.ClientWebSocket.

11 years agoUse --relocation-model=pic for llvm on ios.
Zoltan Varga [Mon, 24 Jun 2013 21:09:40 +0000 (23:09 +0200)]
Use --relocation-model=pic for llvm on ios.

11 years agoFix the build.
Zoltan Varga [Mon, 24 Jun 2013 21:06:31 +0000 (23:06 +0200)]
Fix the build.

11 years agoStore AOT method indexes in the Mono EH frame instead of method addresses, since...
Zoltan Varga [Mon, 24 Jun 2013 20:33:08 +0000 (22:33 +0200)]
Store AOT method indexes in the Mono EH frame instead of method addresses, since the former needs no relocations.

11 years ago[System]: Add System.Uri test for bug #12631.
Martin Baulig [Mon, 24 Jun 2013 17:00:19 +0000 (19:00 +0200)]
[System]: Add System.Uri test for bug #12631.

11 years agoImplement System.Net.Http.WebRequestHandler.
Martin Baulig [Mon, 24 Jun 2013 16:30:40 +0000 (18:30 +0200)]
Implement System.Net.Http.WebRequestHandler.

11 years agoAdd a GSHAREDVT_REG_IREG return marshalling convention on ARM.
Zoltan Varga [Sun, 23 Jun 2013 21:08:01 +0000 (23:08 +0200)]
Add a GSHAREDVT_REG_IREG return marshalling convention on ARM.

11 years agoEmit dummy dwarf line number info for methods without line numbers, like wrappers.
Zoltan Varga [Sat, 22 Jun 2013 21:42:39 +0000 (23:42 +0200)]
Emit dummy dwarf line number info for methods without line numbers, like wrappers.

11 years agoWhen unloading domains, free dynamic assemblies first, since they have no ref countin...
Zoltan Varga [Sat, 22 Jun 2013 12:49:21 +0000 (14:49 +0200)]
When unloading domains, free dynamic assemblies first, since they have no ref counting, so they can depend on static assemblies which are already freed. Fixes #12786.

11 years agoFix register allocation for hw remainder opcodes on armv7s. Fixes #12741.
Zoltan Varga [Sat, 22 Jun 2013 11:58:31 +0000 (13:58 +0200)]
Fix register allocation for hw remainder opcodes on armv7s. Fixes #12741.

11 years agoWhen compiling gshared code, always use the cached isinst/castclass as it's faster...
Rodrigo Kumpera [Sat, 22 Jun 2013 00:31:02 +0000 (20:31 -0400)]
When compiling gshared code, always use the cached isinst/castclass as it's faster than the cached one.

11 years agoEnable managed allocation under gsharing.
Rodrigo Kumpera [Fri, 21 Jun 2013 23:56:16 +0000 (19:56 -0400)]
Enable managed allocation under gsharing.

We do that by using the NORMAL allocator instead of the SMALL allocator
as sizes might overflow at runtime.

The other change was to fix the GC api to take a MonoClass instead of a
MonoVTable.

11 years agoImplement the string allocator for sgen.
Rodrigo Kumpera [Fri, 21 Jun 2013 20:35:50 +0000 (16:35 -0400)]
Implement the string allocator for sgen.

11 years ago[corlib]String.IndexOf is culture aware, while String.Contains is not.
Rodrigo Kumpera [Fri, 21 Jun 2013 17:33:16 +0000 (13:33 -0400)]
[corlib]String.IndexOf is culture aware, while String.Contains is not.

11 years agoFix some bugs in 39471e0c672e8d0d7717b424473e70052a061b8e.
Zoltan Varga [Sat, 22 Jun 2013 00:04:41 +0000 (02:04 +0200)]
Fix some bugs in 39471e0c672e8d0d7717b424473e70052a061b8e.

11 years agoEmit dwarf line number info using .file/.loc assembler directives on osx. Fixes ...
Zoltan Varga [Fri, 21 Jun 2013 23:55:47 +0000 (01:55 +0200)]
Emit dwarf line number info using .file/.loc assembler directives on osx. Fixes #12731.

11 years agoAdd [Serializable] to X509Certificate2 (added in .NET 4.0) [#12457]
Sebastien Pouliot [Fri, 21 Jun 2013 15:54:38 +0000 (11:54 -0400)]
Add [Serializable] to X509Certificate2 (added in .NET 4.0) [#12457]

11 years agoChange the prolog of managed-to-native wrappers so they conform to the ios unwind...
Zoltan Varga [Fri, 21 Jun 2013 15:41:52 +0000 (17:41 +0200)]
Change the prolog of managed-to-native wrappers so they conform to the ios unwind abi too.

11 years agoChange the linkage of 'mono_aot_personality' to Internal, otherwise older llvm genera...
Zoltan Varga [Fri, 21 Jun 2013 15:41:05 +0000 (17:41 +0200)]
Change the linkage of 'mono_aot_personality' to Internal, otherwise older llvm generates code which cannot be assembled by clang.

11 years ago[compiler docs]: Update to reflect way to debug the parser
Miguel de Icaza [Sun, 5 May 2013 18:30:21 +0000 (14:30 -0400)]
[compiler docs]: Update to reflect way to debug the parser

11 years ago[System]: Make ServicePointManager hash on the proxy as well as uri and use_connect.
Martin Baulig [Fri, 21 Jun 2013 12:12:27 +0000 (14:12 +0200)]
[System]: Make ServicePointManager hash on the proxy as well as uri and use_connect.

This fixes #12640.

11 years agoRemove COM types from mono_defaults and lazily fetch them at runtime.
Rodrigo Kumpera [Thu, 20 Jun 2013 23:28:34 +0000 (19:28 -0400)]
Remove COM types from mono_defaults and lazily fetch them at runtime.

Added some macros to generate functions to lazily fetch corlib types.

11 years agoTry to make lldb backtracing more reliable.
Rodrigo Kumpera [Thu, 20 Jun 2013 20:43:34 +0000 (16:43 -0400)]
Try to make lldb backtracing more reliable.

11 years ago[Cairo] Destroy should suppress finalizer
Michael Hutchinson [Thu, 20 Jun 2013 20:32:33 +0000 (16:32 -0400)]
[Cairo] Destroy should suppress finalizer

11 years agoDo not assume AddressList[0] has the address the test wants, that's not always the...
Sebastien Pouliot [Thu, 20 Jun 2013 19:46:41 +0000 (15:46 -0400)]
Do not assume AddressList[0] has the address the test wants, that's not always the case, and not what UdpClient should be testing

11 years ago[man] document MONO_CAIRO_DEBUG_DISPOSE
Michael Hutchinson [Thu, 20 Jun 2013 18:06:30 +0000 (14:06 -0400)]
[man] document MONO_CAIRO_DEBUG_DISPOSE

11 years agoMerge pull request #666 from mhutch/cairo-fix-3.0
Miguel de Icaza [Thu, 20 Jun 2013 17:56:48 +0000 (10:56 -0700)]
Merge pull request #666 from mhutch/cairo-fix-3.0

Mono.Cairo improvements

11 years ago[ios] Ignore the WindowsIdentityTest.SerializeRoundTrip test on iOS (see #12789)
Sebastien Pouliot [Thu, 20 Jun 2013 13:32:23 +0000 (09:32 -0400)]
[ios] Ignore the WindowsIdentityTest.SerializeRoundTrip test on iOS (see #12789)

11 years ago[sgen] Fix a Clang warning.
Mark Probst [Thu, 20 Jun 2013 00:02:12 +0000 (17:02 -0700)]
[sgen] Fix a Clang warning.

11 years ago[sdb] Add a test case for returning the right error when a m2n frame has no information.
Rodrigo Kumpera [Wed, 19 Jun 2013 23:42:30 +0000 (19:42 -0400)]
[sdb] Add a test case for returning the right error when a m2n frame has no information.

11 years ago[Mono.Cairo] Use getter methods for returning IDisposables
Michael Hutchinson [Wed, 6 Mar 2013 05:41:14 +0000 (00:41 -0500)]
[Mono.Cairo] Use getter methods for returning IDisposables

This makes it a bit clearer that the caller is responsible for
disposing IDisposable objects returned from any method.

11 years ago[Mono.Cairo] Clean up Region's Dispose/ctor
Michael Hutchinson [Wed, 6 Mar 2013 05:35:46 +0000 (00:35 -0500)]
[Mono.Cairo] Clean up Region's Dispose/ctor

11 years agoMake debug more robust
Michael Hutchinson [Wed, 6 Mar 2013 05:09:01 +0000 (00:09 -0500)]
Make debug more robust

11 years agoMono.Cairo: Add Region class for cairo_region_* API added in cairo 1.10
Mike Kestner [Sun, 24 Feb 2013 18:45:16 +0000 (19:45 +0100)]
Mono.Cairo: Add Region class for cairo_region_* API added in cairo 1.10

The Region type is needed for new API introduced by GDK 3.0.

This requires cairo 1.10 or above.

11 years agoMono.Cairo: Re-order a few native methods and update API index URL
Bertrand Lorentz [Sun, 24 Feb 2013 17:53:04 +0000 (18:53 +0100)]
Mono.Cairo: Re-order a few native methods and update API index URL

11 years agoMono.Cairo: Fix names of native functions used in PSSurface
Bertrand Lorentz [Sun, 24 Feb 2013 15:56:55 +0000 (16:56 +0100)]
Mono.Cairo: Fix names of native functions used in PSSurface

It seems cairo_ps_surface_begin_* functions never existed, they were
always named cairo_ps_surface_dsc_begin_*.

Conflicts:
mcs/class/Mono.Cairo/Mono.Cairo/PSSurface.cs

11 years agoMono.Cairo: Fix rectangles returned by StrokeExtents and FillExtents
Cameron White [Sun, 23 Dec 2012 19:10:51 +0000 (14:10 -0500)]
Mono.Cairo: Fix rectangles returned by StrokeExtents and FillExtents

The third and fourth parameters of the Rectangle constructor are width
and height, but cairo_stroke_extents and cairo_fill_extents give right
and bottom coordinates.

Signed-off-by: Bertrand Lorentz <bertrand.lorentz@gmail.com>
Conflicts:
mcs/class/Mono.Cairo/Mono.Cairo/Context.cs

11 years ago[Mono.Cairo] Put some classes in separate files
Michael Hutchinson [Wed, 6 Mar 2013 00:49:35 +0000 (19:49 -0500)]
[Mono.Cairo] Put some classes in separate files

11 years agoIntroduce Mono.Cairo to the concept of reference ownership
Michael Hutchinson [Wed, 6 Mar 2013 00:47:17 +0000 (19:47 -0500)]
Introduce Mono.Cairo to the concept of reference ownership

Also:
  * improving naming consistency
  * obsolete old/broken stuff
  * clean up tabs/space mix

NOTE: this removes the wrapper caches for Pattern and Surface as
there was no reliable way to clear them.

Conflicts:
mcs/class/Mono.Cairo/Mono.Cairo/Context.cs

11 years ago[Mono.Cairo] Add mechanism to debug missing Dispose calls
Michael Hutchinson [Tue, 5 Mar 2013 22:53:49 +0000 (17:53 -0500)]
[Mono.Cairo] Add mechanism to debug missing Dispose calls

by setting a new MONO_CAIRO_DEBUG_DISPOSE env var

11 years ago[Mono.Cairo] Clean up dispose implementations
Michael Hutchinson [Tue, 5 Mar 2013 20:11:46 +0000 (15:11 -0500)]
[Mono.Cairo] Clean up dispose implementations

11 years ago[sdb] When a frame is missing it's context, report absent information instead of...
Rodrigo Kumpera [Wed, 19 Jun 2013 22:02:52 +0000 (18:02 -0400)]
[sdb] When a frame is missing it's context, report absent information instead of invalid frame.

* debugger-agent.c (frame_commands): When a thread is suspended in native code its top frame
will be missing a context, so it's not possible to inspect it. Instead of reporting an invalid
frame, it makes more sense to report unavailable data as this is the right clue for clients.

11 years agoFix 64bit long alignment on Apple platforms when using Clang.
Rolf Bjarne Kvinge [Tue, 18 Jun 2013 22:08:27 +0000 (00:08 +0200)]
Fix 64bit long alignment on Apple platforms when using Clang.

__alignof__ doesn't work properly with Clang (it returns 8 instead of 4)
in this case.

11 years agoFix the build.
Zoltan Varga [Mon, 17 Jun 2013 23:20:10 +0000 (01:20 +0200)]
Fix the build.

11 years agoFetch TLS offsets from GOT slots when using AOT instead of embedding them in code...
Zoltan Varga [Mon, 17 Jun 2013 21:55:39 +0000 (23:55 +0200)]
Fetch TLS offsets from GOT slots when using AOT instead of embedding them in code, since the offsets can be different at runtime. Reorganize the OP_TLS_GET emission code.

11 years agoFix the .spec file.
Martin Baulig [Mon, 17 Jun 2013 20:32:22 +0000 (22:32 +0200)]
Fix the .spec file.

11 years agoUnify the tail call handling code with the normal call handling code a bit.
Zoltan Varga [Sat, 15 Jun 2013 20:50:29 +0000 (22:50 +0200)]
Unify the tail call handling code with the normal call handling code a bit.

11 years agoMark MonoCMethod (runtime subclass of ConstructorInfo) as serializable. Fixes #12611
Rodrigo Kumpera [Fri, 14 Jun 2013 23:04:55 +0000 (19:04 -0400)]
Mark MonoCMethod (runtime subclass of ConstructorInfo) as serializable. Fixes #12611

11 years agoAdd lldb support to our thread dump capabilities.
Rodrigo Kumpera [Fri, 14 Jun 2013 20:49:00 +0000 (16:49 -0400)]
Add lldb support to our thread dump capabilities.

11 years ago[Mono.Posix] Fix time_t conversions.
Jonathan Pryor [Fri, 14 Jun 2013 20:11:53 +0000 (16:11 -0400)]
[Mono.Posix] Fix time_t conversions.

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

Mono.Unix.UnixFileSystemInfo.LastWriteTime & co. were hilariously
wrong. Just...hilariously wrong.

$ ls -l bxc12686.exe
-rwxr-xr-x  1 jon  staff  4096 Jun 14 15:43 bxc12686.exe

$ csharp -r:Mono.Posix
csharp> new Mono.Unix.UnixFileInfo("bxc12686.exe").LastWriteTime;
6/14/2013 7:43:12 PM

Note: I'm currently in EDT (US Eastern Daylight Time). LastWriteTime
is supposed to be in the local time; it's 4 hours off (which also
happens to be the EDT UTF offset: -4:00).

The fundamental problem was that NativeConvert.FromTimeT() was written
for pre-.NET 2.0 environments, which precluded use (or knowledge of!)
DateTimeKind. Now that .NET 1.1 is no longer supported, and 2.0 is on
the its deathbead (bring on 4.5!), we can be smarter and let DateTime
sanely handle the conversion logic for us.

After the fix:

$ csharp -r:Mono.Posix
csharp> new Mono.Unix.UnixFileInfo("bxc12686.exe").LastWriteTime;
6/14/2013 3:43:12 PM

11 years agoSmall llvm+gsharedvt changes.
Zoltan Varga [Fri, 14 Jun 2013 18:48:06 +0000 (20:48 +0200)]
Small llvm+gsharedvt changes.

11 years agoRenamed target AssignProjectConfigurations to AssignProjectConfiguration (without...
Bassam Tabbara [Mon, 10 Jun 2013 18:12:19 +0000 (11:12 -0700)]
Renamed target AssignProjectConfigurations to AssignProjectConfiguration (without the s) to better match .NET and other target files that call this target directly by name

11 years agoAdd TLS offset probing to mach-arm in the same way it's done on x86.
Rodrigo Kumpera [Thu, 13 Jun 2013 22:48:10 +0000 (18:48 -0400)]
Add TLS offset probing to mach-arm in the same way it's done on x86.

11 years agoKill some unused code that is a leftover from when TPL had a managed scheduler.
Rodrigo Kumpera [Thu, 13 Jun 2013 22:37:13 +0000 (18:37 -0400)]
Kill some unused code that is a leftover from when TPL had a managed scheduler.

11 years agoAdd TLS offset probing to mach-amd64 in the same way it's done on x86.
Rodrigo Kumpera [Thu, 13 Jun 2013 21:14:29 +0000 (17:14 -0400)]
Add TLS offset probing to mach-amd64 in the same way it's done on x86.

11 years agoIntroduce mono_runtime_init_tls to centralize all of the late runtime TLS initialization.
Rodrigo Kumpera [Thu, 13 Jun 2013 20:57:11 +0000 (16:57 -0400)]
Introduce mono_runtime_init_tls to centralize all of the late runtime TLS initialization.

TLS initialization must be done as early as possible since runtime initialization
might be intermingled with 3rd party code running that sometimes create additional
slots. Those extra TLS slots do interfere with AOT compilation that might see a
different set of offsets when compiling than when running.

The current piece of problem is AOT image loading. If the AOT image is not found,
the dynamic linker in 10.9 will create a TLS slot to hold error data. AOT image
loading is triggered in between the creation of the runtime TLS slots.

Since AOT image loading never happens during compilation, the dynamic linker
would never create the slot and things would otherwise remain working.

The solution is to move all TLS initialization to before any assembly is loaded
and, transitively, AOT image loading.

11 years agoForce the runtime on OSX to use a 8Mb stack.
Rodrigo Kumpera [Thu, 13 Jun 2013 20:54:00 +0000 (16:54 -0400)]
Force the runtime on OSX to use a 8Mb stack.

This change doesn't affect any of the cats that default to 8Mb.

We need a significantly big main stack because mcs is implemented
in a recursive fashion and, right now, parts of the corlib test suite
require in excess of 1Mb of stack space to compile.

11 years agoMake the MONO_DISABLE_SHARED_AREA env variable actually work. Fixes #12655.
Zoltan Varga [Thu, 13 Jun 2013 15:01:34 +0000 (17:01 +0200)]
Make the MONO_DISABLE_SHARED_AREA env variable actually work. Fixes #12655.

11 years agoFix more warnings/unitialized memory errors.
Zoltan Varga [Wed, 12 Jun 2013 22:33:43 +0000 (00:33 +0200)]
Fix more warnings/unitialized memory errors.

11 years agoslightly change missing monolite error message.
Atsushi Eno [Thu, 13 Jun 2013 08:58:34 +0000 (17:58 +0900)]
slightly change missing monolite error message.

context: https://twitter.com/k1iguchi/status/345084575019577345

11 years agoMerge pull request #662 from cdrnet/fix-biginteger-gcd
Marek Safar [Thu, 13 Jun 2013 06:10:31 +0000 (23:10 -0700)]
Merge pull request #662 from cdrnet/fix-biginteger-gcd

[System.Numerics] BigInteger.GCD(0,x) must return abs(x) instead of x

11 years agoFix a memory overwrite in the gsharedvt jit code.
Zoltan Varga [Wed, 12 Jun 2013 22:29:32 +0000 (00:29 +0200)]
Fix a memory overwrite in the gsharedvt jit code.

11 years ago[System.Numerics] BigInteger.GCD(0,x) must return abs(x) instead of x
Christoph Ruegg [Wed, 12 Jun 2013 21:58:42 +0000 (23:58 +0200)]
[System.Numerics] BigInteger.GCD(0,x) must return abs(x) instead of x

According to the docs and matching the behavior in .Net, BigInteger's
GreatestCommonDivisor must return the absolute value of the non-zero
parameter if one of the parameters is zero.

Contains a fix and extended unit tests to cover the case.

11 years agoMake test more robust against conservative stack scanning.
Rodrigo Kumpera [Wed, 12 Jun 2013 20:16:49 +0000 (16:16 -0400)]
Make test more robust against conservative stack scanning.

11 years agoFix an unitialized variable bug.
Rodrigo Kumpera [Wed, 12 Jun 2013 19:55:15 +0000 (15:55 -0400)]
Fix an unitialized variable bug.

11 years agoFix configure.in detection of -Wunused-but-set-variable support under clang.
Rodrigo Kumpera [Wed, 12 Jun 2013 19:42:42 +0000 (15:42 -0400)]
Fix configure.in detection of -Wunused-but-set-variable support under clang.

11 years agoPerform TLS offset detection during startup.
Rodrigo Kumpera [Wed, 12 Jun 2013 19:35:20 +0000 (15:35 -0400)]
Perform TLS offset detection during startup.

* mono-suppport-x86.c (mono_mach_init): Probe TLS slots using an
unlikely canary. Right now only two offsets are known.

* mono-threads.c (mono_threads_init): Initialize mach from here
as remote TLS reads are required for mono-threads to work.

11 years agoMove unload_data to the heap and it can outlive the initiator.
Rodrigo Kumpera [Wed, 12 Jun 2013 19:12:40 +0000 (15:12 -0400)]
Move unload_data to the heap and it can outlive the initiator.

The unload thread stores TRUE to the done field when unloading
ends so the initiator can break out of the wait loop in case its
thread doesn't belong to the domain been unloaded but was still
aborted.

This means that the initiator could be gone when the unload
thread stores into the done field. This is now a random write
to the thread stack, which has a high chance of causing crashes.

The solution is to move the unload_data to the heap and refcount
it so we can release it safely.

11 years agoUse the same code for aot alignment checks in aot-compiler.c and aot-runtime.c.
Zoltan Varga [Wed, 12 Jun 2013 18:28:06 +0000 (20:28 +0200)]
Use the same code for aot alignment checks in aot-compiler.c and aot-runtime.c.

11 years agoMerge pull request #631 from kebby/master
Gonzalo Paniagua Javier [Wed, 12 Jun 2013 18:14:20 +0000 (11:14 -0700)]
Merge pull request #631 from kebby/master

Fix race condition in System.Net.WebConnectionStream

11 years agoReverted whitespace changes
Tammo 'kb' Hinrichs [Wed, 12 Jun 2013 17:52:14 +0000 (19:52 +0200)]
Reverted whitespace changes

11 years agoRevert "Add beginnings of a managed IL disassembler which uses Mono.Cecil. Not yet...
Zoltan Varga [Wed, 12 Jun 2013 16:33:33 +0000 (18:33 +0200)]
Revert "Add beginnings of a managed IL disassembler which uses Mono.Cecil. Not yet part of the build."

This reverts commit 535e76a05898eb0bb62932f12c145ad02c215f64.

Revert this as we will be using something else.

11 years agoAdd support for nullables to box/unbox in gsharedvt code.
Zoltan Varga [Wed, 12 Jun 2013 15:31:30 +0000 (17:31 +0200)]
Add support for nullables to box/unbox in gsharedvt code.

11 years agoBump ikvm to 10b8312c8024111780ee382688cd4c8754b1f1ac.
Martin Baulig [Wed, 12 Jun 2013 02:17:37 +0000 (04:17 +0200)]
Bump ikvm to 10b8312c8024111780ee382688cd4c8754b1f1ac.

11 years agoAdd System.Net to runtime remapping list.
Martin Baulig [Wed, 12 Jun 2013 02:05:35 +0000 (04:05 +0200)]
Add System.Net to runtime remapping list.

11 years agoFix the arm build.
Zoltan Varga [Tue, 11 Jun 2013 21:33:49 +0000 (23:33 +0200)]
Fix the arm build.

11 years agoAllow Nullable.Box/Unbox to be compiled as gsharedvt methods.
Zoltan Varga [Tue, 11 Jun 2013 15:24:53 +0000 (17:24 +0200)]
Allow Nullable.Box/Unbox to be compiled as gsharedvt methods.

11 years agoFix new BigInteger().GetHashCode() to not throw.
Rodrigo Kumpera [Tue, 11 Jun 2013 19:55:48 +0000 (15:55 -0400)]
Fix new BigInteger().GetHashCode() to not throw.

11 years agoFix delegate combine when left side has already been invoked.
Rodrigo Kumpera [Tue, 11 Jun 2013 19:05:28 +0000 (15:05 -0400)]
Fix delegate combine when left side has already been invoked.

11 years agoBetter handle default value BigInteger. Fixes #11945
Rodrigo Kumpera [Tue, 11 Jun 2013 19:01:51 +0000 (15:01 -0400)]
Better handle default value BigInteger. Fixes #11945

11 years ago[PCL]: System.Windows and System.Xml.Serialization are no Facade Assemblies.
Martin Baulig [Tue, 11 Jun 2013 18:45:35 +0000 (20:45 +0200)]
[PCL]: System.Windows and System.Xml.Serialization are no Facade Assemblies.

11 years agoAllow the gsharedvt info/local vars to be register allocated.
Zoltan Varga [Tue, 11 Jun 2013 10:01:47 +0000 (12:01 +0200)]
Allow the gsharedvt info/local vars to be register allocated.

11 years agoOptimize generated gsharedvt code: Load information from the gsharedvt_info variable...
Zoltan Varga [Tue, 11 Jun 2013 09:27:06 +0000 (11:27 +0200)]
Optimize generated gsharedvt code: Load information from the gsharedvt_info variable instead of using an rgctx fetch trampoline, use optimized memcpy/bzero methods.

11 years agoHandle shifts by multiple of 32 correctly. Fixes #10887.
Rodrigo Kumpera [Mon, 10 Jun 2013 22:29:14 +0000 (18:29 -0400)]
Handle shifts by multiple of 32 correctly. Fixes #10887.

11 years agoAdd specialized memcpy/bzero methods to String which are called from gsharedvt code.
Zoltan Varga [Mon, 10 Jun 2013 21:01:32 +0000 (23:01 +0200)]
Add specialized memcpy/bzero methods to String which are called from gsharedvt code.

11 years agoEliminate the use of localloc in gsharedvt methods which have no gsharedvt locals.
Zoltan Varga [Mon, 10 Jun 2013 14:09:31 +0000 (16:09 +0200)]
Eliminate the use of localloc in gsharedvt methods which have no gsharedvt locals.

11 years agoFix a couple of warnings in appdomain.c and threads.c.
Alex Rønne Petersen [Mon, 10 Jun 2013 10:47:40 +0000 (12:47 +0200)]
Fix a couple of warnings in appdomain.c and threads.c.

11 years agoFix a typo in e5c45f1161604733b116a0a83782c08f74fb3127.
Zoltan Varga [Mon, 10 Jun 2013 09:20:22 +0000 (11:20 +0200)]
Fix a typo in e5c45f1161604733b116a0a83782c08f74fb3127.

11 years agoDisable gc-altstack.exe on wrench until it is fixed (#12610).
Zoltan Varga [Sun, 9 Jun 2013 21:38:36 +0000 (23:38 +0200)]
Disable gc-altstack.exe on wrench until it is fixed (#12610).

11 years agoRework the gsharedvt code to add support for vtypes with arbitrary size.
Zoltan Varga [Sun, 9 Jun 2013 21:16:51 +0000 (23:16 +0200)]
Rework the gsharedvt code to add support for vtypes with arbitrary size.

11 years agoMerge pull request #658 from cdrnet/fix-bad-formatstring-forwarding
Marek Safar [Sun, 9 Jun 2013 14:28:32 +0000 (07:28 -0700)]
Merge pull request #658 from cdrnet/fix-bad-formatstring-forwarding

Complex.ToString must not pass format string to string.Format

11 years agoComplex.ToString must not pass format string to string.Format
Christoph Ruegg [Sun, 9 Jun 2013 13:08:53 +0000 (15:08 +0200)]
Complex.ToString must not pass format string to string.Format

Type: System.Numerics.Complex

IFormattable format strings and string.Format formats are different
and incompatible. For example, `x.ToString("G")` and `x.ToString(null)`
must be equivalent to `x.ToString()`, but they behave very differently
with string.Format, where the former just returns "G" and the latter
throws an ArgumentNullException.

Changes System.Numerics.Complex.ToString to pass the format string to
double.ToString instead of string.Format.

Adds UnitTests for the changes in new ComplexTest.cs file

11 years agoMerge pull request #657 from jbevain-forks/thread-safe-cs-code-generator
Marek Safar [Fri, 7 Jun 2013 21:58:09 +0000 (14:58 -0700)]
Merge pull request #657 from jbevain-forks/thread-safe-cs-code-generator

Prevent multiple threads to populate the keyword table