Marek Safar [Wed, 21 Jan 2015 08:11:12 +0000 (09:11 +0100)]
Merge pull request #1504 from madrang/SafeHandle.SetInvalidRelease
Allows refs to be released after the handle is set as invalid.
Rodrigo Kumpera [Tue, 20 Jan 2015 20:30:36 +0000 (15:30 -0500)]
[runtime] Remove debug spew.
Zoltan Varga [Tue, 20 Jan 2015 20:01:20 +0000 (15:01 -0500)]
Merge pull request #1516 from DavidKarlas/getThreadsHang
[sdb] Fixed GetThreads deadlock if thread was started or stopped during GetThread
Rodrigo Kumpera [Tue, 13 Jan 2015 06:56:09 +0000 (01:56 -0500)]
[runtime] Introduce mono_ldtoken_check and replace usage of the unchecked one with it.
Rodrigo Kumpera [Tue, 13 Jan 2015 04:59:38 +0000 (23:59 -0500)]
[runtime] Weave MonoError into method_from_method_def_or_ref.
Rodrigo Kumpera [Tue, 13 Jan 2015 01:42:15 +0000 (20:42 -0500)]
[runtime] mono_type_create_from_typespec is no longer used by the runtime, it doesn't need to create a loader error.
Rodrigo Kumpera [Tue, 13 Jan 2015 01:39:46 +0000 (20:39 -0500)]
[runtime] Remove last usage of mono_class_get. Moving it and its _full variant to the bad to call set.
Rodrigo Kumpera [Tue, 13 Jan 2015 01:15:49 +0000 (20:15 -0500)]
[runtime] Weave MonoError in mono_metadata_interfaces_from_typedef_full.
Rodrigo Kumpera [Tue, 23 Dec 2014 21:06:36 +0000 (16:06 -0500)]
[runtime] Weave MonoError into more of the loader code.
Rodrigo Kumpera [Tue, 23 Dec 2014 17:28:47 +0000 (12:28 -0500)]
[runtime] Add more error checking.
Rodrigo Kumpera [Fri, 12 Dec 2014 00:08:48 +0000 (19:08 -0500)]
[runtime] Introduce the usage of mono_class_get_checked in most of the runtime.
Rodrigo Kumpera [Fri, 12 Dec 2014 00:08:16 +0000 (19:08 -0500)]
[runtime] Explicitly call mono_class_setup_methods to fail types with bad methods.
Rodrigo Kumpera [Wed, 10 Dec 2014 16:30:48 +0000 (11:30 -0500)]
[runtime] Introduce mono_get_method_checked.
Rodrigo Kumpera [Tue, 9 Dec 2014 22:48:37 +0000 (17:48 -0500)]
[runtime] switch to checked variant of mono_get_method_constrained.
Rodrigo Kumpera [Tue, 9 Dec 2014 22:46:36 +0000 (17:46 -0500)]
[runtime] Introduce mono_get_method_constrained_checked.
Rodrigo Kumpera [Tue, 9 Dec 2014 22:40:19 +0000 (17:40 -0500)]
[runtime] mono_get_method_constrained_with_method now uses MonoError.
Rodrigo Kumpera [Tue, 9 Dec 2014 22:15:31 +0000 (17:15 -0500)]
[runtime] Introduce MonoError into get_method_constrained.
Rodrigo Kumpera [Tue, 9 Dec 2014 21:06:37 +0000 (16:06 -0500)]
[runtime] Fix a loader error leakage.
Rodrigo Kumpera [Sun, 7 Dec 2014 16:27:08 +0000 (11:27 -0500)]
[runtime] Introduce MonoError into mono_get_method_from_token.
Rodrigo Kumpera [Sat, 6 Dec 2014 00:57:53 +0000 (19:57 -0500)]
[runtime] Move the runtime to use the checked variants of mono_class_inflate_generic_method.
Rodrigo Kumpera [Fri, 5 Dec 2014 23:21:46 +0000 (18:21 -0500)]
[runtime] Move method_from_methodspec to use MonoError.
Rodrigo Kumpera [Fri, 5 Dec 2014 23:06:40 +0000 (18:06 -0500)]
[runtime] Make method_from_memberref use MonoError.
Marek Safar [Tue, 20 Jan 2015 14:00:33 +0000 (15:00 +0100)]
[System] Extract NetworkInterface factory and implement LoopbackInterfaceIndex for more platforms
Marek Safar [Tue, 20 Jan 2015 12:29:40 +0000 (13:29 +0100)]
Merge pull request #1513 from akoeplinger/remove-net20-ifdefs
[bcl] Remove more NET_2_0 checks from class libs
Marek Safar [Tue, 20 Jan 2015 12:25:55 +0000 (13:25 +0100)]
[corlib] Update System.Numeric mobile public key
Marek Safar [Tue, 20 Jan 2015 12:09:43 +0000 (13:09 +0100)]
[System.Numerics] Update to latest mscorlib
Marek Safar [Tue, 20 Jan 2015 11:22:55 +0000 (12:22 +0100)]
[corlib] Primitive types from reference sources
David Karlaš [Tue, 20 Jan 2015 10:29:44 +0000 (11:29 +0100)]
[sdb] Fixed GetThreads deadlock if thread was started or stopped during GetThreads call.
Regression introduced in
52b168e3366344fa426fabb121df79a156a424c9
Zoltan Varga [Mon, 19 Jan 2015 22:05:27 +0000 (17:05 -0500)]
[sgen] Disable PREFETCH_CARDS when using xcode4 as it causes gcc to crash.
Marek Safar [Mon, 19 Jan 2015 21:38:49 +0000 (22:38 +0100)]
[corlib] Fixed failing covert test
Marek Safar [Mon, 19 Jan 2015 18:49:58 +0000 (19:49 +0100)]
[corlib] Add more convert checks
Mark Probst [Mon, 19 Jan 2015 17:44:22 +0000 (09:44 -0800)]
[sgen] Fix clearing ephemerons and weak links on domain unload.
At some point we zeroed all the unloaded domain's objects first, and then we cleared
weak links, ephemerons, etc. Because the objects were zeroes, we only had to
check that the vtable was null. Now we do it the other way around: clear weak links,
ephemerons, ..., and then zero objects. Obviously we now need to check for the
object's domain, because their vtables will not be null.
Marek Safar [Mon, 19 Jan 2015 15:22:24 +0000 (16:22 +0100)]
[corlib] Fixes ToDateTime for primitive types
Marek Safar [Mon, 19 Jan 2015 14:35:47 +0000 (15:35 +0100)]
[corlib] Char from reference sourcers
João Matos [Mon, 19 Jan 2015 15:07:25 +0000 (15:07 +0000)]
[runtime] Workaround missing net/route.h in iOS SDK.
Marek Safar [Mon, 19 Jan 2015 13:07:06 +0000 (14:07 +0100)]
[corlib] More system types from reference sources
Marek Safar [Mon, 19 Jan 2015 11:11:01 +0000 (12:11 +0100)]
[corlib] Type's GetInterfaceMap has no implementation
Marek Safar [Mon, 19 Jan 2015 10:56:02 +0000 (11:56 +0100)]
[runtime] Remove Convert icalls
João Matos [Mon, 19 Jan 2015 12:53:56 +0000 (12:53 +0000)]
Merge pull request #1404 from woodsb02/mono-route
Add mono/metadata/mono-route.c for non-Linux ParseRouteInfo_local
Marek Safar [Mon, 19 Jan 2015 10:13:25 +0000 (11:13 +0100)]
[corlib] System.Convert from reference sources
Ben Woods [Sat, 15 Nov 2014 17:24:09 +0000 (01:24 +0800)]
Add mono/metadata/mono-route.c for non-Linux ParseRouteInfo_local
Add #ifdef to ignore code in mono/metadata/mono-route.c if OS=linux
Also remove mono-route.c from msvc/libmonoruntime.vcxproj (Windows)
Add #ifdef to ensure mono/metadata/mono-route.h code is not included
on Linux
Change to using #if defined(PLATFORM_MACOSX) || defined(PLATFORM_BSD)
Use sizeof(addr) for maximum length of IP address string, instead of the hard-coded 16.
Should the size of addr ever change it will keep us from disaster in case if shrinking the array length.
Also, do not ignore snprintf return value - check for truncated output and act accordingly if it happens.
Add Tests for System.Net.NetworkInformation/IPInterfacePropertiesTest.cs and System.Net.NetworkInformation/NetworkInterfaceTest.cs
Remove accidental Copyright
add a space before the opening parenthesis, as shown in the coding guidelines.
Indent TestFixture to align with coding style of newer Test classes
Use G_N_ELEMENTS(mib) instead of sizeof(mib) / sizeof(mib[0])
Zoltan Varga [Sun, 18 Jan 2015 16:32:22 +0000 (11:32 -0500)]
[arm64] Add a test for r4 hfa parameter passing in gsharedvt trampolines.
Zoltan Varga [Sun, 18 Jan 2015 01:28:59 +0000 (20:28 -0500)]
[arm64] Add a test for hfa parameter passing in gsharedvt out trampolines (#26085).
Zoltan Varga [Sun, 18 Jan 2015 01:13:35 +0000 (20:13 -0500)]
[runtime] Fix aot-tests.cs.
Zoltan Varga [Sat, 17 Jan 2015 20:55:05 +0000 (15:55 -0500)]
[arm64] Add tests for dyn calls with floats.
Zoltan Varga [Sat, 17 Jan 2015 20:53:41 +0000 (15:53 -0500)]
[arm64] Increase the size of the dyn_call instruction, and the buffers used during dyn calls.
David Karlaš [Sat, 17 Jan 2015 16:02:30 +0000 (17:02 +0100)]
[sdb] ILInterpreter handle Br_S same as Br
David Karlaš [Sat, 17 Jan 2015 15:14:52 +0000 (16:14 +0100)]
[sdb] Fix deadlock in case of runtime disconnect while fetching frames(Bug 24434)
Alexander Köplinger [Fri, 26 Sep 2014 12:43:36 +0000 (14:43 +0200)]
[bcl] Remove more NET_2_0 checks from class libs
Miguel de Icaza [Sat, 17 Jan 2015 01:19:37 +0000 (20:19 -0500)]
[System] ComponentModel, make it build in the MOBILE profile
Zoltan Varga [Sat, 17 Jan 2015 00:48:55 +0000 (19:48 -0500)]
[bcl] Fix System.Threading.Tasks.Dataflow tests.
Mark Probst [Sat, 17 Jan 2015 00:00:11 +0000 (16:00 -0800)]
[sgen] Fix a concurrent collector bug.
Pinning is done in the worker thread, but reset in the main thread.
The main thread must wait for the worker jobs to finish until it can
reset pinning. We didn't do this before.
Zoltan Varga [Fri, 16 Jan 2015 22:26:34 +0000 (17:26 -0500)]
Merge pull request #1511 from akoeplinger/windows
[utils] Extract Windows-specific networking fallback into networking-windows.c
Zoltan Varga [Fri, 16 Jan 2015 19:11:51 +0000 (14:11 -0500)]
[bcl] Fix the serialization of string arrays to IEnumerable<string> in the Json serializer. Fixes #25808.
Marek Safar [Fri, 16 Jan 2015 18:20:48 +0000 (19:20 +0100)]
[System.Threading.Tasks.Dataflow] update atomicboolen location
Marek Safar [Fri, 16 Jan 2015 18:01:40 +0000 (19:01 +0100)]
[system.core] TaskExtensions from reference source
Marek Safar [Fri, 16 Jan 2015 17:33:09 +0000 (18:33 +0100)]
Another build fix
Marek Safar [Fri, 16 Jan 2015 17:23:12 +0000 (18:23 +0100)]
Fixes build
Rodrigo Kumpera [Thu, 15 Jan 2015 21:34:05 +0000 (16:34 -0500)]
[jit] Adjust the sigsegv handle to accomodate targets without siginfo.
Rodrigo Kumpera [Thu, 15 Jan 2015 21:28:11 +0000 (16:28 -0500)]
[jit] First pass of portability fixes for the JIT.
Marek Safar [Fri, 16 Jan 2015 17:04:05 +0000 (18:04 +0100)]
[corlib] USe more types from System.Threading reference sources
Marek Safar [Fri, 16 Jan 2015 15:55:36 +0000 (16:55 +0100)]
[System.Core] System.Collections.Generic from reference sources
Marek Safar [Fri, 16 Jan 2015 15:32:03 +0000 (16:32 +0100)]
[System.ServiceModel.Web] Update failing test
Alexander Köplinger [Fri, 16 Jan 2015 13:34:33 +0000 (05:34 -0800)]
[utils] Extract Windows-specific networking fallback into networking-windows.c
Marek Safar [Fri, 16 Jan 2015 15:21:22 +0000 (16:21 +0100)]
[system.xml] Fix broken ClassMap logic which relied on order of hashtable elements
Marek Safar [Fri, 16 Jan 2015 08:58:00 +0000 (09:58 +0100)]
[system.web] Update SqlDataSource test not to rely on idictionary order
Marek Safar [Fri, 16 Jan 2015 08:11:03 +0000 (09:11 +0100)]
[WindowsBase] Fix incorrect test
Zoltan Varga [Fri, 16 Jan 2015 00:17:19 +0000 (19:17 -0500)]
[runtime] Fix the build.
Zoltan Varga [Fri, 16 Jan 2015 00:13:20 +0000 (19:13 -0500)]
[sdb] Fix single stepping after a SetIP operation. Fixes #26033.
Miguel de Icaza [Thu, 15 Jan 2015 23:22:37 +0000 (18:22 -0500)]
[Mono.Posix] Add overloads to pass ints and pointers
Zoltan Varga [Thu, 15 Jan 2015 22:32:59 +0000 (17:32 -0500)]
[sdb] Rename 'restore_ctx' to 'restore_state' and change its type to MonoThreadUnwindState.
Marek Safar [Thu, 15 Jan 2015 22:24:49 +0000 (23:24 +0100)]
[corlib] fixing TPL integration
Marek Safar [Thu, 15 Jan 2015 22:13:05 +0000 (23:13 +0100)]
[system] update failing tests
Ludovic Henry [Thu, 15 Jan 2015 20:40:41 +0000 (15:40 -0500)]
[TPL] Replace implementation by Microsoft reference sources
Rodrigo Kumpera [Thu, 15 Jan 2015 20:54:12 +0000 (14:54 -0600)]
Merge pull request #1458 from BrzVlad/feature-fat-cas
Poll-free fat locks
Zoltan Varga [Thu, 15 Jan 2015 20:07:56 +0000 (15:07 -0500)]
[runtime] Remap io-layer symbols using the prefix wapi_. Fixes #25821.
Zoltan Varga [Thu, 15 Jan 2015 19:41:51 +0000 (14:41 -0500)]
Fix a warning.
Martin Baulig [Thu, 15 Jan 2015 18:08:46 +0000 (19:08 +0100)]
[Mono.Security]: More exception debug foo.
Note: This patch may cause some ugly exception messages. This is intended to help
us debug and hopefully fix bug #19334.
Martin Baulig [Thu, 15 Jan 2015 16:52:18 +0000 (17:52 +0100)]
[Mono.Security]: Test suite - we may not throw IOException as well here.
In fact, we should not ever throw ObjectDisposedException, but provide a
meaningful IOException. Still working on it.
Martin Baulig [Thu, 15 Jan 2015 16:04:21 +0000 (17:04 +0100)]
[Mono.Security]: Fix TLS Alert level." This breaks the System test suite.
Prevent further abuse (calling it before the fields have been assigned to)
by making the helper function static.
João Matos [Thu, 15 Jan 2015 16:20:27 +0000 (16:20 +0000)]
[msvc] Fixed the build.
Rodrigo Kumpera [Thu, 15 Jan 2015 16:04:32 +0000 (11:04 -0500)]
Revert "[Mono.Security]: Improve error reporting when sending TLS Alerts fail."
This reverts commit
95eff2495093ccd20ad2db7df3f07a835d580e5e.
Rodrigo Kumpera [Thu, 15 Jan 2015 15:57:50 +0000 (10:57 -0500)]
Revert "[Mono.Security]: Fix TLS Alert level." This breaks the System test suite.
This reverts commit
a036a6bf181bf9e8946e7a9708869244b0c38db0.
Zoltan Varga [Thu, 15 Jan 2015 15:39:55 +0000 (10:39 -0500)]
Merge pull request #1507 from DavidKarlas/mdbRead0Line
[sdb] Fixed .mdb parsing when line equals 0
Marek Safar [Thu, 15 Jan 2015 15:15:42 +0000 (16:15 +0100)]
[corlib] System.Collections from reference sources
Martin Baulig [Thu, 15 Jan 2015 12:23:10 +0000 (13:23 +0100)]
[Mono.Security]: Fix TLS Alert level.
Martin Baulig [Thu, 15 Jan 2015 10:55:13 +0000 (11:55 +0100)]
[Mono.Security]: Improve error reporting when sending TLS Alerts fail.
Marek Safar [Thu, 15 Jan 2015 09:05:50 +0000 (10:05 +0100)]
[system] System.Timer from reference sources
Marek Safar [Thu, 15 Jan 2015 08:19:02 +0000 (09:19 +0100)]
Merge pull request #1505 from esdrubal/tzifloatingrule
[System.Core] Fixed wrong DST of TimeZoneInfo with floating date rules.
David Karlaš [Thu, 15 Jan 2015 08:18:16 +0000 (09:18 +0100)]
[sdb] Fixed .mdb parsing when line equals 0
Zoltan Varga [Thu, 15 Jan 2015 04:57:05 +0000 (23:57 -0500)]
Merge pull request #1506 from akoeplinger/fix-paste-test
[MWF] Fix unicode string handling from clipboard paste in X11
Zoltan Varga [Thu, 15 Jan 2015 00:57:41 +0000 (19:57 -0500)]
[sdb] Don't continue single stepping when reaching the same line if locations without debug info were reached during the single step.
Rodrigo Kumpera [Thu, 15 Jan 2015 00:26:13 +0000 (19:26 -0500)]
Sorry for breaking linux.
Rodrigo Kumpera [Thu, 15 Jan 2015 00:21:32 +0000 (19:21 -0500)]
[runtime] I can still find unguarded used of signal.h, amazing.
Zoltan Varga [Thu, 15 Jan 2015 00:13:41 +0000 (19:13 -0500)]
[sdb] Fix the detection of whenever an image has debug info or not.
Mark Probst [Wed, 14 Jan 2015 22:56:12 +0000 (14:56 -0800)]
Merge pull request #1466 from schani/stage-unified-card-table-scanning
Unified card table scanning
Zoltan Varga [Wed, 14 Jan 2015 22:48:51 +0000 (17:48 -0500)]
Fix the build.
Marek Safar [Wed, 14 Jan 2015 22:24:06 +0000 (23:24 +0100)]
[corlib] Hashtable constructor with equality comparer needs to use it during initialization as well
Zoltan Varga [Wed, 14 Jan 2015 21:56:57 +0000 (16:56 -0500)]
Marek Safar [Wed, 14 Jan 2015 21:30:35 +0000 (22:30 +0100)]
[Microsoft.Build.Utilities] Replace use of ProcessStringDictionary with case insensitive dictionary. It shouldn't case insensitive on non-windows but that'd break msbuild compatibility