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.
Rodrigo Kumpera [Mon, 13 Apr 2015 23:05:42 +0000 (19:05 -0400)]
[threading] Let the GC skip monitor thread while it sleeps.
Rodrigo Kumpera [Mon, 13 Apr 2015 22:49:34 +0000 (18:49 -0400)]
[threading] The common trampoline must reset the blocking state on entry.
Rodrigo Kumpera [Mon, 13 Apr 2015 22:48:50 +0000 (18:48 -0400)]
[threading] Make all locks use the new try blocking mode.
Rodrigo Kumpera [Mon, 13 Apr 2015 22:36:46 +0000 (18:36 -0400)]
[threading] Introduce the notion of try block to be used by recursive locks.
This allows a piece of code to handle the cases where it's called in running and blocker context
and must always be in blocking context.
This probably makes code more modular at the expense of an easy to follow and debug execution model.
Since we don't currently annotate all icalls with blocking sections we do it with locks but they can
nest and recurse which requires this support for try block.
Mark Probst [Mon, 13 Apr 2015 22:34:47 +0000 (15:34 -0700)]
[sgen] Fix a bug when waiting on a condition.
Zoltan Varga [Mon, 13 Apr 2015 22:04:08 +0000 (18:04 -0400)]
[jit] Enable support for partial sharing for generic instances.
Zoltan Varga [Mon, 13 Apr 2015 19:50:43 +0000 (15:50 -0400)]
[jit] Change MonoGenericParam.gshared_constraint to be a full MonoType so it can encode generic instances too.
Zoltan Varga [Mon, 13 Apr 2015 19:44:21 +0000 (15:44 -0400)]
Fix the build.
Zoltan Varga [Mon, 13 Apr 2015 19:14:21 +0000 (15:14 -0400)]
[runtime] Add a utility target to patch libtool to get rid of the the 'file ... has no symbols' warnings.
Zoltan Varga [Mon, 13 Apr 2015 18:48:35 +0000 (14:48 -0400)]
Merge pull request #1708 from alexanderkyte/always_use_imt
[runtime] Remove checks for mono_use_imt because always true.
Alexander Kyte [Mon, 13 Apr 2015 18:41:00 +0000 (14:41 -0400)]
[runtime] As mono_use_imt is always true, remove dead code paths where it is not.
Marek Safar [Mon, 13 Apr 2015 17:16:29 +0000 (19:16 +0200)]
[corlib] First specific culture returned by enumerator was not fully initialized. Fixes #29039
Marek Safar [Mon, 13 Apr 2015 15:43:56 +0000 (17:43 +0200)]
[corlib] Throw correctly captured ExceptionDispatchInfo exceptions. Fixes #24647 (and many async stacktraces too)
João Matos [Mon, 13 Apr 2015 14:19:06 +0000 (15:19 +0100)]
Merge pull request #1704 from Therzok/master
Add gitter badge.
Marek Safar [Mon, 13 Apr 2015 12:18:57 +0000 (14:18 +0200)]
[mcs] Decorate imported constants with static modifier to work with using static. Fixes #28976
Marek Safar [Mon, 13 Apr 2015 12:09:04 +0000 (14:09 +0200)]
[corlib] Fixes mobile tests
Ludovic Henry [Mon, 13 Apr 2015 11:03:39 +0000 (12:03 +0100)]
[Socket] Fix SocketTest.TtlChangeOverflow test failing on non Mac platform
This revert behavior to prior to
c45161d0659068bcd4288f97dc656676239e6476
Marek Safar [Mon, 13 Apr 2015 10:43:07 +0000 (12:43 +0200)]
Merge pull request #1685 from esdrubal/touint64
ParseNumber.StringToInt now check for overflows.
Zoltan Varga [Mon, 13 Apr 2015 02:43:02 +0000 (22:43 -0400)]
Revert "[jit] Avoid generating remoting invoke wrappers for icalls."
This reverts commit
4f124705ac70df7cf8b2db0c01602b32e117d272.
Revert this as it causes corlib test failures.
Zoltan Varga [Mon, 13 Apr 2015 02:27:27 +0000 (22:27 -0400)]
[jit] Implement support for constrained calls in partially shared methods.
Zoltan Varga [Sun, 12 Apr 2015 15:20:35 +0000 (11:20 -0400)]
Merge pull request #1703 from Garciat/ignore-systemdata-gen
[git] Ignore System.Data built sources
Zoltan Varga [Sun, 12 Apr 2015 02:23:43 +0000 (22:23 -0400)]
[aot] Save/restore the names of the gshared generic params.
Zoltan Varga [Sun, 12 Apr 2015 02:22:41 +0000 (22:22 -0400)]
[jit] Avoid generating remoting invoke wrappers for icalls.
Zoltan Varga [Sat, 11 Apr 2015 02:01:27 +0000 (22:01 -0400)]
Fix a warning.