Marek Safar [Wed, 11 Jan 2012 19:27:25 +0000 (11:27 -0800)]
Merge pull request #214 from QuickJack/
cd2c570c5543963d987f51080218715407c5d4b9
Fixes 2 problems in Mono's configuration stack.
Marek Safar [Wed, 11 Jan 2012 17:51:20 +0000 (17:51 +0000)]
Add constructed constructor expression into AST when parsing header
Marek Safar [Wed, 11 Jan 2012 11:12:59 +0000 (11:12 +0000)]
Don't create intermediate NamespaceContainer when iterating parent namespaces
Marek Safar [Tue, 10 Jan 2012 14:06:35 +0000 (14:06 +0000)]
Remove DeclSpace
Marek Safar [Tue, 10 Jan 2012 12:36:14 +0000 (12:36 +0000)]
Remove GenericMethod
Marek Safar [Tue, 10 Jan 2012 10:31:02 +0000 (10:31 +0000)]
Remove GenericMethod from member name construction
Marek Safar [Mon, 9 Jan 2012 22:34:38 +0000 (22:34 +0000)]
Remove IsGeneric from DeclSpace
Zoltan Varga [Tue, 10 Jan 2012 21:53:16 +0000 (22:53 +0100)]
Don't compile dynamic methods in shared mode.
Gonzalo Paniagua Javier [Tue, 10 Jan 2012 21:33:45 +0000 (16:33 -0500)]
Use the right socket for the data stream
This fixes bug active data connections.
Fixes xamarin bug #1294.
Zoltan Varga [Tue, 10 Jan 2012 21:15:03 +0000 (22:15 +0100)]
Fix an IndexOutOfBounds exception in the sdb packet writer.
QuickJack [Tue, 10 Jan 2012 20:01:16 +0000 (21:01 +0100)]
Allows write access to web.config files below an app's root.
Zoltan Varga [Tue, 10 Jan 2012 19:59:32 +0000 (20:59 +0100)]
Use mdoc.exe from class/lib since it is now built there.
Rodrigo Kumpera [Tue, 10 Jan 2012 18:02:09 +0000 (16:02 -0200)]
Add test for the previous commit - iteraction between bridge and major evacuation.
Rodrigo Kumpera [Tue, 10 Jan 2012 17:25:14 +0000 (15:25 -0200)]
Fix the iteraction between bridge and major evacuation on a minor overflow major collection.
* sgen-gc.c: The bridge code is split into 3 steps, one done when we collect finalizable objects,
one done before we restart the world and the last right after.
The first step can be executed twice if an overflow major collection happens. We handled this
situation by avoiding duplicates in the registration code.
This works fine except if a registered bridge object is moved by the second collection, which can
happen when defragmentation kicks in.
Instead of fixing those pointers, which is quite tricky, we move hash building to happen in the second
step and discard all elements on the registered bridge array before each collection. Since all bridges
collected by the first collection will be collected again on the second, we can do it.
Jeremie Laval [Fri, 6 Jan 2012 16:12:03 +0000 (17:12 +0100)]
[monodoc] Add a full title field to search result so that more information (like namespace) can be given back
Jeremie Laval [Fri, 6 Jan 2012 16:11:27 +0000 (17:11 +0100)]
[monodoc] Append member type (method, property, ...) to member name
Jeremie Laval [Fri, 6 Jan 2012 16:09:25 +0000 (17:09 +0100)]
[monodoc] Don't show the massive amount of obsolete warning for bundled Lucene.NET
Zoltan Varga [Tue, 10 Jan 2012 16:42:15 +0000 (17:42 +0100)]
Add memory barriers to interlocked operations on ARM, since the runtime code depends on it.
Marek Safar [Mon, 9 Jan 2012 21:45:58 +0000 (21:45 +0000)]
Make System.Web.Script.Serialization.JavaScriptSerializer.ConvertToType(Type, object) public. Fixes #2781
Gonzalo Paniagua Javier [Mon, 9 Jan 2012 17:07:48 +0000 (09:07 -0800)]
Merge pull request #211 from symform/master
Fixed a race condition in WebConnection that was causing it to throw NullReferenceException on Close/Dispose
Marek Safar [Mon, 9 Jan 2012 16:58:27 +0000 (16:58 +0000)]
Remove another layout from TypeParameters parsing, makes it easier for MD to track original locations. Add better caching for resolved type parameter types.
Rodrigo Kumpera [Mon, 9 Jan 2012 16:44:41 +0000 (14:44 -0200)]
Revert "do a signal safe unwind on the native crash handler." We're better of taking the chance here.
This reverts commit
dd67beedf20cc39f6391f52eaa17088c200fdc66.
Rodrigo Kumpera [Fri, 6 Jan 2012 02:16:56 +0000 (00:16 -0200)]
Remove a spurious assert.
Zoltan Varga [Fri, 6 Jan 2012 23:39:13 +0000 (00:39 +0100)]
Allow enum->basetype argument conversion in CreateDelegate(). Fixes #794.
Zoltan Varga [Fri, 6 Jan 2012 21:35:30 +0000 (22:35 +0100)]
Call mono_create_jit_trampoline_in_domain () in mono_resolve_patch_target () so shared methods don't end up calling trampolines in another domain.
Zoltan Varga [Fri, 6 Jan 2012 20:58:27 +0000 (12:58 -0800)]
Merge pull request #212 from jordanbtucker/master
Bug 2761 - BigInteger constructed with zero-filled byte array raises IndexOutOfRangeException
Jordan Tucker [Fri, 6 Jan 2012 20:13:51 +0000 (12:13 -0800)]
Fixed Bug 2761: BigInteger constructed with zero-filled byte array raises IndexOutOfRangeException
Marek Safar [Fri, 6 Jan 2012 12:58:43 +0000 (12:58 +0000)]
Insert constructor into AST before initializer is parsed
Marek Safar [Fri, 6 Jan 2012 11:17:43 +0000 (11:17 +0000)]
Better detection of errors when building anonymous types. Fixes #2656
Marek Safar [Fri, 6 Jan 2012 11:16:40 +0000 (11:16 +0000)]
Default non-profile mcs.exe build to build profile
Zoltan Varga [Fri, 6 Jan 2012 03:46:01 +0000 (04:46 +0100)]
Avoid displaying the 'no thread info in suspend' message in sgen which can happen during normal use.
Zoltan Varga [Fri, 6 Jan 2012 02:53:41 +0000 (03:53 +0100)]
Fix stack alignment calculation in mono_arch_setup_async_callback () on amd64.
Zoltan Varga [Fri, 6 Jan 2012 02:06:50 +0000 (03:06 +0100)]
Remove hazard pointer use from mono_get_cached_unwind_info (), it is still slower than doing no locking at all.
Rodrigo Kumpera [Thu, 5 Jan 2012 23:27:26 +0000 (21:27 -0200)]
do a signal safe unwind on the native crash handler.
Zoltan Varga [Thu, 5 Jan 2012 22:48:07 +0000 (23:48 +0100)]
Fix the build.
Zoltan Varga [Thu, 5 Jan 2012 22:29:46 +0000 (23:29 +0100)]
Extract the SGEN debugging code into a separate file.
Zoltan Varga [Thu, 5 Jan 2012 22:07:53 +0000 (23:07 +0100)]
Extract SGEN object allocation rountines to sgen-alloc.c.
Zoltan Varga [Thu, 5 Jan 2012 19:48:37 +0000 (20:48 +0100)]
Implement mono_gc_set_stack_end () for Boehm/null GC to remove the #ifdef HAVE_SGEN_GC dependency from driver.c.
Neale Ferguson [Thu, 5 Jan 2012 17:50:18 +0000 (12:50 -0500)]
Merge branch 'master' of ssh://github.com/mono/mono
Neale Ferguson [Thu, 5 Jan 2012 17:48:02 +0000 (12:48 -0500)]
If a parameter is NULL or DBNull then its size needs to be zero otherwise the parameter gets treated as an empty string which is a different thing to a NULL. Microsoft will send a true NULL, this will get mono to do the same.
Marek Safar [Thu, 5 Jan 2012 16:32:59 +0000 (16:32 +0000)]
Build programs directly into class/lib. Fixes random make -j failures
Zoltan Varga [Thu, 5 Jan 2012 16:06:37 +0000 (17:06 +0100)]
Fix crashes in the precise stack marking code if a thread is interrupted during startup.
Marek Safar [Wed, 4 Jan 2012 22:03:53 +0000 (22:03 +0000)]
Reference equality of identical reference types cannot involve implicit conversion to predefined types. Fixes #2684
Marek Safar [Wed, 4 Jan 2012 12:39:36 +0000 (12:39 +0000)]
Use reference comparison when checking interlocked delegate combine/remove
Marek Safar [Wed, 4 Jan 2012 10:03:22 +0000 (10:03 +0000)]
Type parameters can be now stored in MemberName directly
Rodrigo Kumpera [Thu, 5 Jan 2012 12:59:27 +0000 (10:59 -0200)]
Add JIT support for 4.5 MethodImplOptions.AggressiveInlining.
Rodrigo Kumpera [Thu, 5 Jan 2012 12:41:25 +0000 (10:41 -0200)]
disassemble the agressive-inlining flag correctly.
Rodrigo Kumpera [Thu, 5 Jan 2012 12:40:17 +0000 (10:40 -0200)]
Add define for new 4.5 method impl flag agressive-inlining.
Rodrigo Kumpera [Thu, 5 Jan 2012 11:11:34 +0000 (09:11 -0200)]
Add regression test for bxc #1147.
Rodrigo Kumpera [Thu, 5 Jan 2012 11:07:09 +0000 (09:07 -0200)]
Properly initialize a rgctx template. Fixes bxc #1147.
* mini-generic-sharing.c (mono_class_get_runtime_generic_context_template):
When initializing a new rgctx template, we fill it with its parent
slots.
When the parent is a non generic class extending a generic class,
has multiple templates and, finally, the first template has more
slots that the rest, we would fill more entries than we should
and later cause an assertion when trying to use those extra slots.
To fix that we handle it just like a generic parent class and
count the number of slots each template has.
Fixes bxc #1147.
Jonathan Pryor [Wed, 4 Jan 2012 21:31:55 +0000 (16:31 -0500)]
[System.ServiceModel.Web] Support `null` as value for `DateTime?` field.
Fixes assistly #5863.
Rolf Bjarne Kvinge [Wed, 4 Jan 2012 19:16:54 +0000 (20:16 +0100)]
FileStream: use 4k as the default buffer size
This way it is not treated as a large object by the GC (which is slower
than normal objects). It also matches MS' default buffer size.
Rolf Bjarne Kvinge [Wed, 4 Jan 2012 19:12:01 +0000 (20:12 +0100)]
Set the end of the stack for the main thread
This helps the GC by minimizing the stack area to scan, while at the
same time reducing the chance of false positives when scanning the stack
for managed objects since we know no managed object can live on the
stack above the main function. This improves memory usage for the test
case in #2619 quite much (but that particular bug isn't fixed by this).
Rodrigo Kumpera [Wed, 4 Jan 2012 16:16:26 +0000 (14:16 -0200)]
Add sgen test for STOBJ of gshared valuetype with a reference T field - this must generate a WB.
Sebastien Pouliot [Sun, 25 Dec 2011 23:26:02 +0000 (18:26 -0500)]
Implement new FX4 methods to add new algorithms/oids with code (not just machine.config). Fix bug to replace (not just add) algorithms/oids
Zoltan Varga [Wed, 4 Jan 2012 15:14:43 +0000 (16:14 +0100)]
Mark OP_TAILCALL as a GC call site on x86.
Zoltan Varga [Wed, 4 Jan 2012 14:52:12 +0000 (15:52 +0100)]
Enable precise stack scanning by default again.
Zoltan Varga [Wed, 4 Jan 2012 14:51:21 +0000 (15:51 +0100)]
Fix precise stack scanning on OSX.
Marek Safar [Tue, 3 Jan 2012 21:45:05 +0000 (21:45 +0000)]
Don't use MemberName to store parsed member access expressions
Marek Safar [Sat, 17 Dec 2011 22:13:41 +0000 (22:13 +0000)]
Don't allocate intermediate MemberName for member access expressions
symform [Wed, 4 Jan 2012 01:22:45 +0000 (17:22 -0800)]
Fixed a race in System.Net.WebConnection that was causing it to throw NullReferenceException on Close/Dispose.
Miguel de Icaza [Wed, 4 Jan 2012 00:38:01 +0000 (19:38 -0500)]
XmlSerializer: Add support to serialize nullable types when the XmlElement has explicity set the DataType
The existing code had a special code path for handling nullables that
ignored the DataType component.
This patch splits the nullable test away, allows the specified XmlDataType
to be probed and then performs the standard type lookup mechanism.
This allows this:
[XmlElement ("MyNullableTime", DataType="time", IsNullable=true)]
DateTime? myTime;
To be serialized as a "time" instead of a "datetime".
Fixes bug #329
Zoltan Varga [Tue, 3 Jan 2012 22:42:08 +0000 (23:42 +0100)]
Implement ignore-case support for GetTypesForSourceFiles (). Make the type name filters ignore case.
Zoltan Varga [Tue, 3 Jan 2012 19:37:57 +0000 (20:37 +0100)]
Initialize the out arguments at the beginning of mono_lookup_pinvoke_call ().
QuickJack [Mon, 2 Jan 2012 20:24:09 +0000 (21:24 +0100)]
Improves the compatibility of Mono's Configuration stack
Zoltan Varga [Mon, 2 Jan 2012 17:20:17 +0000 (09:20 -0800)]
Merge pull request #203 from Jester01/jester/mmap
Make do_mono_image_open try file i/o if mmap fails
Rodrigo Kumpera [Thu, 29 Dec 2011 23:00:41 +0000 (21:00 -0200)]
Remove an intermediate buffer in the bridge code.
Rodrigo Kumpera [Thu, 29 Dec 2011 22:47:38 +0000 (20:47 -0200)]
Make mono_sgen_gray_object_queue_is_empty inlineable.
Rodrigo Kumpera [Thu, 29 Dec 2011 22:22:28 +0000 (20:22 -0200)]
Properly export mono_sgen_ptr_in_nursery.
Rodrigo Kumpera [Thu, 29 Dec 2011 22:16:53 +0000 (20:16 -0200)]
Rework the gray queue code to isolate it into a proper module. One less include hack.
Rodrigo Kumpera [Thu, 29 Dec 2011 20:55:12 +0000 (18:55 -0200)]
Rework the workers code to isolate it into a proper module. One less include hack.
QuickJack [Thu, 29 Dec 2011 15:59:27 +0000 (16:59 +0100)]
Fixes some warnings in sqlsharp
QuickJack [Thu, 29 Dec 2011 15:32:30 +0000 (16:32 +0100)]
Fixes some warnings in System.Xaml.dll
QuickJack [Thu, 29 Dec 2011 15:04:26 +0000 (16:04 +0100)]
Fixes CS0168 in System.ComponentModel.DataAnnotations
QuickJack [Thu, 29 Dec 2011 14:58:25 +0000 (15:58 +0100)]
Fixes some warnings in System.Web.Extensions.dll
Rodrigo Kumpera [Thu, 29 Dec 2011 14:38:53 +0000 (12:38 -0200)]
Fix the build.
Rodrigo Kumpera [Thu, 29 Dec 2011 01:47:45 +0000 (23:47 -0200)]
Rework the pin stats code to isolate it into a proper module. One less include hack.
Martin [Thu, 29 Dec 2011 14:38:58 +0000 (15:38 +0100)]
QuickJack [Thu, 29 Dec 2011 14:28:26 +0000 (15:28 +0100)]
Fixes CS0168 in System.ServiceModel.dll
Miguel de Icaza [Thu, 29 Dec 2011 14:10:14 +0000 (09:10 -0500)]
Allow trailing commas on Json objects
Martin [Thu, 29 Dec 2011 13:58:18 +0000 (14:58 +0100)]
Martin [Thu, 29 Dec 2011 13:53:48 +0000 (14:53 +0100)]
Martin [Thu, 29 Dec 2011 13:42:55 +0000 (14:42 +0100)]
Martin [Thu, 29 Dec 2011 13:40:32 +0000 (14:40 +0100)]
Martin [Thu, 29 Dec 2011 13:34:55 +0000 (14:34 +0100)]
Martin [Thu, 29 Dec 2011 13:29:35 +0000 (14:29 +0100)]
Martin [Thu, 29 Dec 2011 13:25:37 +0000 (14:25 +0100)]
Martin [Thu, 29 Dec 2011 13:22:53 +0000 (14:22 +0100)]
QuickJack [Thu, 29 Dec 2011 12:54:31 +0000 (13:54 +0100)]
Fixes some warnings in PEAPI.dll
QuickJack [Thu, 29 Dec 2011 12:31:49 +0000 (13:31 +0100)]
Fixes a warning in System.Design.dll
QuickJack [Thu, 29 Dec 2011 12:14:50 +0000 (13:14 +0100)]
Fixes some warnings in System.Runtime.Remoting.dll
QuickJack [Thu, 29 Dec 2011 12:00:26 +0000 (13:00 +0100)]
Fixes a warning in System.Web..Services.dll
QuickJack [Thu, 29 Dec 2011 11:45:22 +0000 (12:45 +0100)]
Fixes a warning in System.Web..dll
QuickJack [Thu, 29 Dec 2011 11:38:14 +0000 (12:38 +0100)]
Fixes a warning in Mono.Data.Sqlite.dll
QuickJack [Thu, 29 Dec 2011 11:33:18 +0000 (12:33 +0100)]
Fixes a warning in System.Windows.Forms.dll
Rodrigo Kumpera [Thu, 29 Dec 2011 01:25:32 +0000 (23:25 -0200)]
Fix a pesky typo.
Rodrigo Kumpera [Thu, 29 Dec 2011 01:09:37 +0000 (23:09 -0200)]
Rework pinning code to isolate it into a proper module. One less include hack.
Rodrigo Kumpera [Wed, 28 Dec 2011 22:35:17 +0000 (20:35 -0200)]
Rework the cardtable code to isolate it into a proper module. One less include hack.
Rodrigo Kumpera [Wed, 28 Dec 2011 14:03:59 +0000 (12:03 -0200)]
Add test for gc descriptors.
Rodrigo Kumpera [Wed, 28 Dec 2011 13:36:14 +0000 (11:36 -0200)]
Fix parallel MS pinning code.