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.
Zoltan Varga [Sat, 11 Apr 2015 21:49:57 +0000 (17:49 -0400)]
Merge pull request #1705 from akoeplinger/fix-win-build
[configure] Fix Windows cygwin build broken by
3bc2eb8
Alexander Köplinger [Sat, 11 Apr 2015 01:44:30 +0000 (18:44 -0700)]
[configure] Fix Windows cygwin build broken by
3bc2eb8cb7434a15bf7b435a6b7b42a7a1fb063b
The commit removed the AC_DEFINE for TARGET_WIN32 from configure.ac,
but many parts of the build rely on it so the build broke.
Fixed this by defining TARGET_WIN32 when we detect it is the target
and do the same for HOST_WIN32.
Ungureanu Marius [Sat, 11 Apr 2015 14:16:39 +0000 (17:16 +0300)]
Add gitter badge.
Gabriel Garcia [Sat, 11 Apr 2015 13:42:52 +0000 (09:42 -0400)]
[git] Ignore built sources
Zoltan Varga [Sat, 11 Apr 2015 01:52:39 +0000 (21:52 -0400)]
[jit] Add support for computing the size of the branch binding area by backends and passing it to the code manager. Not used yet.
Zoltan Varga [Sat, 11 Apr 2015 01:47:23 +0000 (21:47 -0400)]
[arm64] Increase the amount of memory used to bind branches since the arm64 thunk code is larger (16 bytes). Fixes #28747.
Sebastien Pouliot [Fri, 10 Apr 2015 21:33:41 +0000 (17:33 -0400)]
[linker] Fix scope resolution of custom attributes (generic/array) argument types that refers to PCL facades [#28823]
Mark Probst [Fri, 10 Apr 2015 19:48:02 +0000 (12:48 -0700)]
[sgen] Fix a concurrent sweep bug.
Zoltan Varga [Fri, 10 Apr 2015 15:12:58 +0000 (11:12 -0400)]
[aot] Avoid duplicate plt symbols for plt entries for synchronized methods. Fixes #28961.
Marek Safar [Fri, 10 Apr 2015 15:04:26 +0000 (17:04 +0200)]
[corlib] ComTypes from reference sources
Marek Safar [Fri, 10 Apr 2015 14:50:06 +0000 (16:50 +0200)]
[corlib] Remove unused files
Marek Safar [Fri, 10 Apr 2015 14:47:30 +0000 (16:47 +0200)]
[corlib] ConstrainedExecution from reference sources
Marek Safar [Fri, 10 Apr 2015 14:37:51 +0000 (16:37 +0200)]
[corlib] Globalization enums from reference sources
Marcos Henrich [Fri, 10 Apr 2015 14:12:56 +0000 (10:12 -0400)]
[System] Added missing files to mobile_System.dll.sources.
João Matos [Fri, 10 Apr 2015 14:13:32 +0000 (15:13 +0100)]
Merge pull request #1701 from bojanrajkovic/fix-order-of-parameters-to-argumentexception-constructor
Fix order of parameters when creating ArgumentException
Bojan Rajkovic [Fri, 10 Apr 2015 14:10:55 +0000 (10:10 -0400)]
Fix order of parameters when creating ArgumentException
ArgumentOutOfRangeException expects the parameter name first, then the message. ArgumentException is precisely the opposite, and expects the message first, and then the parameter name. They were swapped here.
Marek Safar [Fri, 10 Apr 2015 13:07:30 +0000 (15:07 +0200)]
[corlib] TextInfo from reference sources
Marcos Henrich [Fri, 10 Apr 2015 12:37:43 +0000 (08:37 -0400)]
[corlib] Adopted .NET TimeZone behavior for UTC DateTime.
In .NET regardless the current time zone, TimeZone.CurrentTimeZone.GetUtcOffset returns TimeSpan.Zero when called with an UTC DateTime.
Similarly IsDaylightSaveTime returns false when called with an UTC DateTime.
Marcos Henrich [Fri, 10 Apr 2015 12:34:18 +0000 (08:34 -0400)]
[corlib] Changed TimeZoneTest to be invariant to culture.
Marcos Henrich [Fri, 10 Apr 2015 12:29:53 +0000 (08:29 -0400)]
[corlib] Test TimeZone methods with UTC DateTime in DST.
Marcos Henrich [Fri, 10 Apr 2015 09:57:23 +0000 (10:57 +0100)]
[System] Removed SafeSocketHandle unused code.
Marek Safar [Fri, 10 Apr 2015 08:32:35 +0000 (10:32 +0200)]
[corlib] Fixes endianess issue in resourcereader
Marek Safar [Fri, 10 Apr 2015 05:56:34 +0000 (07:56 +0200)]
[corlib] comparer fixes
Mark Probst [Fri, 10 Apr 2015 00:22:39 +0000 (17:22 -0700)]
[sgen] Fix `describe_ptr()` and make it print namespace, too.
It didn't handle interior pointers correctly.
Mark Probst [Thu, 9 Apr 2015 23:13:32 +0000 (16:13 -0700)]
Merge branch 'feature-concurrent-sweep'
Rodrigo Kumpera [Thu, 9 Apr 2015 22:04:38 +0000 (17:04 -0500)]
Merge pull request #1698 from ludovic-henry/socket-reorg-2
Reorganize Socket code
Ludovic Henry [Thu, 9 Apr 2015 21:31:15 +0000 (22:31 +0100)]
[threadpool-io] Fix android build
Marek Safar [Thu, 9 Apr 2015 20:54:37 +0000 (22:54 +0200)]
[corlib] Equality comparer fixes
Alex Rønne Petersen [Thu, 9 Apr 2015 18:58:35 +0000 (20:58 +0200)]
Remove Moonlight references from `man mcs`.
Alex Rønne Petersen [Thu, 9 Apr 2015 18:56:37 +0000 (20:56 +0200)]
Remove Olive support from the build system.
These libraries are no longer developed.
Zoltan Varga [Thu, 9 Apr 2015 19:10:55 +0000 (15:10 -0400)]
[jit] Use the same dwarf<->hw register mapping on x86 for both LLVM and jitted code, the one used by LLVM is the official version.
Zoltan Varga [Thu, 9 Apr 2015 18:54:41 +0000 (14:54 -0400)]
[sdb] Make a log message less verbose.
Zoltan Varga [Thu, 9 Apr 2015 18:35:48 +0000 (14:35 -0400)]
[sdb] Transition from step over to step into when control leaves managed code. Fixes #28557.
Marek Safar [Thu, 9 Apr 2015 18:04:35 +0000 (20:04 +0200)]
[corlib] Fixes mobile build
Jo Shields [Thu, 9 Apr 2015 12:19:15 +0000 (13:19 +0100)]
[RPM] Fix MONO_PATH in RPM dependency generators
Otherwise, RPMs don't have any dependency information
(cherry picked from commit
0dfb848cde55aed7be93e252926dd6a52bb04d73)
Ludovic Henry [Thu, 9 Apr 2015 14:46:18 +0000 (15:46 +0100)]
[Socket] Use type specific read and write queue for SocketAsyncWorker