Marcos Henrich [Mon, 20 Apr 2015 13:06:22 +0000 (14:06 +0100)]
Merge pull request #1222 from LogosBible/uri-trycreate
Lower-case the host in Uri.TryCreate to match behavior of constructors
Marek Safar [Mon, 20 Apr 2015 11:46:23 +0000 (13:46 +0200)]
[corlib] Fix mobile tests
Zoltan Varga [Sun, 19 Apr 2015 03:47:28 +0000 (23:47 -0400)]
[llvm] Refactor the intrinsics registration code a bit.
Miguel de Icaza [Sun, 19 Apr 2015 02:01:33 +0000 (22:01 -0400)]
[Socket] Fix the socket ctor base call, and document the reason; Fixes #20048
Zoltan Varga [Sun, 19 Apr 2015 00:17:37 +0000 (20:17 -0400)]
[runtime] Fix a regression in the socket code introduced by
6999fc26772e73c26069ce09e7fc19794d619d7d.
Zoltan Varga [Sat, 18 Apr 2015 16:03:15 +0000 (12:03 -0400)]
[runtime] Add a checked version of mono_class_from_name ().
Zoltan Varga [Sat, 18 Apr 2015 15:43:02 +0000 (11:43 -0400)]
Fix a warning.
Zoltan Varga [Sat, 18 Apr 2015 04:24:52 +0000 (00:24 -0400)]
Revert "[runtime] Add a _checked version for mono_class_from_name ()."
This reverts commit
652c882f3d84309fdb1b97978871c8aa76916fd2.
Revert this as it breaks tests.
Zoltan Varga [Sat, 18 Apr 2015 03:55:03 +0000 (23:55 -0400)]
[runtime] Remove unused mono_metadata_parse_signature_full () function.
Zoltan Varga [Sat, 18 Apr 2015 03:51:35 +0000 (23:51 -0400)]
[runtime] Add a _checked version for mono_class_from_name ().
Rodrigo Kumpera [Fri, 17 Apr 2015 21:01:12 +0000 (17:01 -0400)]
[jit] Fix the build.
Zoltan Varga [Fri, 17 Apr 2015 20:49:05 +0000 (16:49 -0400)]
[jit] Allow the storage of trampolines in the jit info tables. Currently, this is only used by mono_print_method_from_ip ().
Zoltan Varga [Fri, 17 Apr 2015 20:42:46 +0000 (16:42 -0400)]
[runtime] Enable the managed test runner for the gshared tests as well.
Rodrigo Kumpera [Fri, 17 Apr 2015 19:27:54 +0000 (15:27 -0400)]
[threading] [jit] Fix non coop osx build.
Rodrigo Kumpera [Fri, 17 Apr 2015 00:13:11 +0000 (20:13 -0400)]
[coop] Add missing coop checks for WFSO and WFMO.
Rodrigo Kumpera [Thu, 16 Apr 2015 23:56:27 +0000 (19:56 -0400)]
Revert "[threading] Move the safe pointing of WFSO and WFMO into the io-layer, since it's simpler to have it there."
This reverts commit
0327832893092c2dd6f36c72a188d7819bff3f30.
Rodrigo Kumpera [Thu, 16 Apr 2015 23:56:03 +0000 (19:56 -0400)]
[coop] get_addrinfo_family_hint could call into managed, which is not allowed while in blocking mode.
Rodrigo Kumpera [Thu, 16 Apr 2015 23:49:02 +0000 (19:49 -0400)]
[jit] Rework the managed code suspend polling and add COOP_GC support.
This change enables managed polling to work with both NaCL and coop as they are exactly the same except for the variables used.
We cleanup how safepoints are injects to be done on a separate pass instead of having in spread around the JIT.
We now inject safepoints at EH handler entry as those did not previously have them.
The generated AOT code was greatly optimized by having the polling variable checked before doing the icall. This more
than doubles the performance of the generated code.
Rodrigo Kumpera [Thu, 16 Apr 2015 23:12:28 +0000 (19:12 -0400)]
[jit] Fix the loop recognition pass to handle single BB loops and enable logging by default.
Rodrigo Kumpera [Thu, 16 Apr 2015 23:01:13 +0000 (19:01 -0400)]
[threading] Add a global variable that is set while a global suspend is hapening.
This global var is meant to be used by JIT'd code to efficiently implement polling.
Zoltan Varga [Fri, 17 Apr 2015 19:05:51 +0000 (15:05 -0400)]
[runtime] Fix the creation of multi-dimensional arrays using ConstructorInfo.Invoke (). Fixes #29183.
Ludovic Henry [Fri, 17 Apr 2015 16:53:17 +0000 (17:53 +0100)]
[threadpool-ms] Change boolean return type from gboolean to MonoBoolean for icalls
Ludovic Henry [Fri, 17 Apr 2015 16:42:23 +0000 (17:42 +0100)]
[threadpool-ms] Fix sgen runtime test crash
João Matos [Fri, 17 Apr 2015 16:35:56 +0000 (17:35 +0100)]
[runtime] Revert this change as it strips the volatileness of the load.
Marek Safar [Fri, 17 Apr 2015 14:59:49 +0000 (16:59 +0200)]
[corlib] Security attributes from reference sources
Marek Safar [Fri, 17 Apr 2015 14:06:05 +0000 (16:06 +0200)]
[corlib] Update public api
Marek Safar [Fri, 17 Apr 2015 13:38:03 +0000 (15:38 +0200)]
[corlib] Versioning from reference sources
Ludovic Henry [Fri, 17 Apr 2015 12:53:26 +0000 (13:53 +0100)]
[runtime] Fix call to task_for_pid in proclib utils
task_for_pid requires special privileges on osx 10.5+ and ios, so it's better to avoid calling it.
Marek Safar [Fri, 17 Apr 2015 12:31:46 +0000 (14:31 +0200)]
[corlib] SafeHandles from reference sources
João Matos [Fri, 17 Apr 2015 11:28:23 +0000 (12:28 +0100)]
Merge pull request #1717 from jaredpar/vb-build-props
Expand Visual Basic build support
João Matos [Fri, 17 Apr 2015 11:10:45 +0000 (12:10 +0100)]
Merge pull request #1716 from esdrubal/jsdeserialize
[System.Web.Extension] Fixes JavaScriptSerializer.Deserialize.
Marek Safar [Fri, 17 Apr 2015 10:09:08 +0000 (12:09 +0200)]
[system] Fixes mobile build
Marek Safar [Fri, 17 Apr 2015 09:34:57 +0000 (11:34 +0200)]
[corlib] Fixes build
Marek Safar [Fri, 17 Apr 2015 09:01:59 +0000 (11:01 +0200)]
Bump reference sources for build fix
Marek Safar [Fri, 17 Apr 2015 08:36:34 +0000 (10:36 +0200)]
[corlib] Mobile build fixes
Marek Safar [Fri, 17 Apr 2015 08:36:11 +0000 (10:36 +0200)]
[facades] Add missing attributes
Marek Safar [Fri, 17 Apr 2015 08:35:18 +0000 (10:35 +0200)]
[corlib] More exceptions from reference sources
jaredpar [Thu, 16 Apr 2015 20:27:03 +0000 (13:27 -0700)]
Expand Visual Basic build support
This change adds support for the following MSBuild properties which are specific to VB compilation:
- OptionInfer: controls the /optioninfer switch
- VBRuntime: controls the /vbruntime switch
Neale Ferguson [Thu, 16 Apr 2015 20:14:19 +0000 (16:14 -0400)]
Add support for mono_arch_create_monitor_[enter|exit]_trampoline
Zoltan Varga [Thu, 16 Apr 2015 19:10:03 +0000 (15:10 -0400)]
[runtime] Fix support for delegates with a byref first argument bound to a valuetype method. Fixes #25717.
Marcos Henrich [Thu, 16 Apr 2015 18:12:29 +0000 (19:12 +0100)]
[System.Web.Extension] Fixes js deserialization.
Fixes JavaScriptSerializer.Deserialize of values with trailing spaces.
Fixes #4148.
Marcos Henrich [Thu, 16 Apr 2015 18:11:33 +0000 (19:11 +0100)]
[System.Web.Extension] Added tests.
Tests JavaScriptSerializer.Deserialize with trailing white spaces.
Covers #4148
João Matos [Thu, 16 Apr 2015 16:56:32 +0000 (17:56 +0100)]
[runtime] While we're here update the code to match the style guide.
João Matos [Thu, 16 Apr 2015 16:42:35 +0000 (17:42 +0100)]
[runtime] Fixed extra address-of in lock free code.
Marek Safar [Thu, 16 Apr 2015 15:46:46 +0000 (17:46 +0200)]
[corlib] Update reference sources com sources
Rodrigo Kumpera [Thu, 16 Apr 2015 15:28:28 +0000 (10:28 -0500)]
Merge pull request #1715 from tritao/cpp_fixes
C++ compliance fixes
João Matos [Thu, 16 Apr 2015 15:10:30 +0000 (16:10 +0100)]
[runtime] C++ compliance fixes.
Marek Safar [Thu, 16 Apr 2015 14:31:56 +0000 (16:31 +0200)]
[corlib] Remove useless TypeLib assembly attribute (it's not always available)
Marek Safar [Thu, 16 Apr 2015 14:30:21 +0000 (16:30 +0200)]
[mcs] Better error reporting for incorrect implicitly typed local variable declaration. Fixes #28069
Miguel de Icaza [Thu, 16 Apr 2015 13:49:55 +0000 (09:49 -0400)]
[man/certmgr] Update documentation
Marek Safar [Thu, 16 Apr 2015 09:28:13 +0000 (11:28 +0200)]
[corlib] Claims from reference sources
Mark Probst [Wed, 15 Apr 2015 22:55:42 +0000 (15:55 -0700)]
[sgen] Fix a concurrent mark bug.
This made `sgen-descriptors.exe` crash with an assertion.
Marek Safar [Wed, 15 Apr 2015 22:08:01 +0000 (00:08 +0200)]
[system.xml] Update failing test
Marek Safar [Wed, 15 Apr 2015 18:02:38 +0000 (20:02 +0200)]
[corlib] Remove duplicate file entry
Marek Safar [Wed, 15 Apr 2015 18:02:06 +0000 (20:02 +0200)]
[mcs] Update failing test
João Matos [Wed, 15 Apr 2015 20:15:53 +0000 (21:15 +0100)]
Merge pull request #1714 from madewokherd/condwait
Release the mutex in mono_cond_[timed]wait on Windows.
Vincent Povirk [Wed, 15 Apr 2015 19:54:52 +0000 (14:54 -0500)]
Release the mutex in mono_cond_[timed]wait on Windows.
This commit is licensed as MIT/X11.
Marek Safar [Wed, 15 Apr 2015 16:05:07 +0000 (18:05 +0200)]
[corlib] Runtime attributes from reference sources
Marek Safar [Wed, 15 Apr 2015 10:47:49 +0000 (12:47 +0200)]
[corlib] Return custom attributes in order they were compiled. Fixes #28692
Marek Safar [Wed, 15 Apr 2015 09:00:37 +0000 (11:00 +0200)]
[corlib] Update failing test
Marek Safar [Wed, 15 Apr 2015 08:50:56 +0000 (10:50 +0200)]
Merge pull request #1693 from Garciat/fix-assembly-get-satellite
[corlib] Check for missing/empty Assembly.Location. Fixes #28876
Marek Safar [Wed, 15 Apr 2015 08:48:04 +0000 (10:48 +0200)]
[corlib] Add test for in memory assemblies (#28876)
Miguel de Icaza [Wed, 15 Apr 2015 04:20:11 +0000 (00:20 -0400)]
Merge pull request #1713 from joelmartinez/docs-monodoc-getassembly
[monodoc] Updated how generators load resource streams.
Atsushi Eno [Wed, 15 Apr 2015 03:42:41 +0000 (12:42 +0900)]
remove unused CodeDom sources.
Atsushi Eno [Wed, 15 Apr 2015 03:21:12 +0000 (12:21 +0900)]
Merge pull request #1709 from atsushieno/import-codedom-core
Import CodeDom types and Compiler.CodeGenerator class from referencesource
Mark Probst [Tue, 24 Mar 2015 20:17:25 +0000 (13:17 -0700)]
[sgen] Free mod-union tables for LOS objects.
Mark Probst [Fri, 27 Feb 2015 00:56:00 +0000 (16:56 -0800)]
[sgen] Use mod-union to add remsets from concurrent collector.
Concurrent mark modified the card table directly, which had two
drawbacks.
First, it meant that nursery collections would also have to scan the
cards marked by the concurrent collector, which was unnecessary work.
Second, because the nursery collector also modified the cardtable, it
meant that the two could not run concurrently, i.e., we had to suspend
concurrent marking work whenever a nursery collection occurred.
Mark Probst [Thu, 26 Feb 2015 23:40:38 +0000 (15:40 -0800)]
[sgen] Separate concurrent M&S object operations into start, concurrent, finish.
Mark Probst [Thu, 26 Feb 2015 00:56:18 +0000 (16:56 -0800)]
[sgen] Use enum instead of two bools in `major_copy_or_mark_from_roots()`.
Mark Probst [Thu, 26 Feb 2015 00:39:24 +0000 (16:39 -0800)]
[sgen] Get rid of redundant argument to `major_copy_or_mark_from_roots()`.
Mark Probst [Thu, 26 Feb 2015 00:34:11 +0000 (16:34 -0800)]
[sgen] Get rid of global `current_object_ops`.
Mark Probst [Thu, 26 Feb 2015 00:16:08 +0000 (16:16 -0800)]
[sgen] Make scan context have a pointer to object operations.
Instead of copying everything from the object operations into the
context.
Mark Probst [Thu, 26 Feb 2015 00:00:39 +0000 (16:00 -0800)]
[sgen] Replace `sgen_get_current_object_ops()` by passing a `ScanCopyContext`.
Getting rid of global state. The idea is for the context to contain
everything that the mark/scan loop needs to do its work.
Zoltan Varga [Tue, 14 Apr 2015 22:57:54 +0000 (18:57 -0400)]
[jit] Fix an unpatched jump in the monitor exit trampoline on amd64.
Zoltan Varga [Tue, 14 Apr 2015 22:52:18 +0000 (18:52 -0400)]
[jit] No need to check for info!=NULL in the trampoline creation functions, the caller always passes in a non-null value.
Mark Probst [Tue, 14 Apr 2015 22:36:40 +0000 (15:36 -0700)]
[sgen] Fix a race condition in the new worker/threadpool code.
Rodrigo Kumpera [Tue, 14 Apr 2015 20:58:54 +0000 (16:58 -0400)]
[threading] Move the safe pointing of WFSO and WFMO into the io-layer, since it's simpler to have it there.
Rodrigo Kumpera [Tue, 14 Apr 2015 20:58:44 +0000 (16:58 -0400)]
[threading] Handle more non-trivial locks.
Rodrigo Kumpera [Tue, 14 Apr 2015 15:04:03 +0000 (11:04 -0400)]
[threading] Wrap the threads lock with cooperative coode.
Ludovic Henry [Tue, 14 Apr 2015 22:01:50 +0000 (23:01 +0100)]
[threadpool] Make GC skip worker and monitor threads when being parked or sleeping
Joel Martinez [Tue, 14 Apr 2015 21:56:53 +0000 (17:56 -0400)]
[monodoc] Updated how generators load resource streams.
The issue was discovered when using monodoc in an asp.net application; while the code was developed and worked successfully in the local Visual Studio web server, it failed when deployed and executed in IIS. The reason it seems is because of the use of `.GetCallingAssembly()`, which was returning an unexpected assembly reference. This resulted in the `.GetManifestResourceStream` returning null for resources that are definitely a part of monodoc.dll.
Once the code was changed to get the assembly using a type reference of a type that's definitely in monodoc.dll ... the code resumed working as expected.
João Matos [Tue, 14 Apr 2015 21:05:02 +0000 (22:05 +0100)]
Merge pull request #1711 from jldgit/jldgit-gdb-script
Corrected mono-gdb.py use of "\u%X".format (val)
Rodrigo Kumpera [Tue, 14 Apr 2015 19:36:11 +0000 (14:36 -0500)]
Merge pull request #1710 from alexanderkyte/always_use_imt
[runtime] Further removed code that doubted IMT
Alexander Kyte [Tue, 14 Apr 2015 19:20:22 +0000 (15:20 -0400)]
[runtime] Further removed code that doubted IMT
Zoltan Varga [Tue, 14 Apr 2015 19:00:47 +0000 (15:00 -0400)]
[jit] Print out IL clause offsets in verbose mode.
James [Tue, 14 Apr 2015 18:40:23 +0000 (14:40 -0400)]
Corrected mono-gdb.py use of "\u%X".format (val)
This line of code would cause an error to pop up in gdb when starting.
Atsushi Eno [Tue, 14 Apr 2015 18:29:06 +0000 (03:29 +0900)]
[CodeDom] disable wrong test (see [Ignore] comment).
Zoltan Varga [Tue, 14 Apr 2015 18:27:10 +0000 (14:27 -0400)]
[jit] Fix the support for filter clauses by avoiding passing in the exception using a register, since call_handler () can't handle it.
Zoltan Varga [Tue, 14 Apr 2015 18:26:01 +0000 (14:26 -0400)]
[runtime] Fix freeing invalid memory in CreateProcess () if the executable was not found. Fixes #28209.
Zoltan Varga [Tue, 14 Apr 2015 17:19:47 +0000 (13:19 -0400)]
[jit] Fix the detection of the Selector.GetHandle intrinsics, and fix the emission of assembly for it so it also works on arm64.
Atsushi Eno [Tue, 14 Apr 2015 16:35:04 +0000 (01:35 +0900)]
Import CodeDom types and Compiler.CodeGenerator class from referencesource.
This does not import System.CodeDom.Compiler because some of them depends
on Windows specific stuff.
CodeGenerator is imported because ours depends on our own internal
Visitor implementation and could not build without making changes a lot.
Marek Safar [Tue, 14 Apr 2015 15:58:25 +0000 (17:58 +0200)]
[mcs] Consider nested types when looking for potential types via using static. Fixes #29044
Zoltan Varga [Tue, 14 Apr 2015 14:58:52 +0000 (10:58 -0400)]
[aot] Avoid saving MonoJitExceptionInfo->exvar_offset for catch clauses on platforms where its not used.
Zoltan Varga [Tue, 14 Apr 2015 14:53:40 +0000 (10:53 -0400)]
[jit] Remove some dead code from get_shared_class ().
Zoltan Varga [Tue, 14 Apr 2015 14:39:20 +0000 (10:39 -0400)]
[jit] Get rid of the MONO_ARCH_HAVE_OP_GET_EX_OBJ define, use MONO_CONTEXT_SET_LLVM_EXC_REG instead.
Zoltan Varga [Tue, 14 Apr 2015 14:22:10 +0000 (10:22 -0400)]
[jit] Enable passing the exception object in a register on arm.
Zoltan Varga [Tue, 14 Apr 2015 02:51:50 +0000 (22:51 -0400)]
Fix a warning.
Zoltan Varga [Tue, 14 Apr 2015 02:46:39 +0000 (22:46 -0400)]
[jit] Enable passing the exception object in a register on x86.
Zoltan Varga [Tue, 14 Apr 2015 01:02:44 +0000 (21:02 -0400)]
[jit] Implement support for passing in the exception object to catch clauses in a register instead of storing it into its stack slot. This is identical to the way the c++ ehabi works. Enable it for amd64.
Mark Probst [Mon, 13 Apr 2015 23:18:36 +0000 (16:18 -0700)]
[runtime] Spurious wake-ups are not a FIXME.