mono.git
12 years agoFixed space indents to tabs to adhere to Mono coding guidelines.
Ilker Cetinkaya [Sat, 14 Jan 2012 16:07:00 +0000 (17:07 +0100)]
Fixed space indents to tabs to adhere to Mono coding guidelines.

12 years agoCSharpCodeGenerator now obeys CS1529 when rendering global namespace imports alongsid...
Ilker Cetinkaya [Sat, 14 Jan 2012 11:28:18 +0000 (12:28 +0100)]
CSharpCodeGenerator now obeys CS1529 when rendering global namespace imports alongside with assembly attribute with GenerateFromCompileUnit.

12 years agoAdded test to CSharp Code Generator with global namespace import and assembly attribu...
Ilker Cetinkaya [Sat, 14 Jan 2012 10:56:19 +0000 (11:56 +0100)]
Added test to CSharp Code Generator with global namespace import and assembly attribute to render imports first. (Note: Adresses CS1529 ruling).

12 years agoBetter unit test case and cause description. Added references to CSharp generator...
Ilker Cetinkaya [Fri, 13 Jan 2012 19:24:49 +0000 (20:24 +0100)]
Better unit test case and cause description. Added references to CSharp generator and tests.

12 years agoMade global namespace import being generated topmost, even before assembly attributes.
Ilker Cetinkaya [Fri, 13 Jan 2012 19:23:31 +0000 (20:23 +0100)]
Made global namespace import being generated topmost, even before assembly attributes.

12 years agoAdded new test for CodeGenerator.GenerateFromCompileUnit. Verifies that CS1529 rule...
Ilker Cetinkaya [Thu, 12 Jan 2012 22:13:47 +0000 (23:13 +0100)]
Added new test for CodeGenerator.GenerateFromCompileUnit. Verifies that CS1529 rule (imports first) is being obeyed by generator. Test signals, fixup required.

12 years agochanged namespace to MonoTests.* in order to be captured by TEST_HARNESS_FLAGS make...
Ilker Cetinkaya [Thu, 12 Jan 2012 21:37:21 +0000 (22:37 +0100)]
changed namespace to MonoTests.* in order to be captured by TEST_HARNESS_FLAGS make option.

12 years agoDon't compile dynamic methods in shared mode.
Zoltan Varga [Tue, 10 Jan 2012 21:53:16 +0000 (22:53 +0100)]
Don't compile dynamic methods in shared mode.

12 years agoUse the right socket for the data stream
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.

12 years agoFix an IndexOutOfBounds exception in the sdb packet writer.
Zoltan Varga [Tue, 10 Jan 2012 21:15:03 +0000 (22:15 +0100)]
Fix an IndexOutOfBounds exception in the sdb packet writer.

12 years agoUse mdoc.exe from class/lib since it is now built there.
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.

12 years agoAdd test for the previous commit - iteraction between bridge and major evacuation.
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.

12 years agoFix the iteraction between bridge and major evacuation on a minor overflow major...
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.

12 years ago[monodoc] Add a full title field to search result so that more information (like...
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

12 years ago[monodoc] Append member type (method, property, ...) to member name
Jeremie Laval [Fri, 6 Jan 2012 16:11:27 +0000 (17:11 +0100)]
[monodoc] Append member type (method, property, ...) to member name

12 years ago[monodoc] Don't show the massive amount of obsolete warning for bundled Lucene.NET
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

12 years agoAdd memory barriers to interlocked operations on ARM, since the runtime code depends...
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.

12 years agoMake System.Web.Script.Serialization.JavaScriptSerializer.ConvertToType(Type, object...
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

12 years agoMerge pull request #211 from symform/master
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

12 years agoRemove another layout from TypeParameters parsing, makes it easier for MD to track...
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.

12 years agoRevert "do a signal safe unwind on the native crash handler." We're better of taking...
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.

12 years agoRemove a spurious assert.
Rodrigo Kumpera [Fri, 6 Jan 2012 02:16:56 +0000 (00:16 -0200)]
Remove a spurious assert.

12 years agoAllow enum->basetype argument conversion in CreateDelegate(). Fixes #794.
Zoltan Varga [Fri, 6 Jan 2012 23:39:13 +0000 (00:39 +0100)]
Allow enum->basetype argument conversion in CreateDelegate(). Fixes #794.

12 years agoCall mono_create_jit_trampoline_in_domain () in mono_resolve_patch_target () so share...
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.

12 years agoMerge pull request #212 from jordanbtucker/master
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

12 years agoFixed Bug 2761: BigInteger constructed with zero-filled byte array raises IndexOutOfR...
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

12 years agoInsert constructor into AST before initializer is parsed
Marek Safar [Fri, 6 Jan 2012 12:58:43 +0000 (12:58 +0000)]
Insert constructor into AST before initializer is parsed

12 years agoBetter detection of errors when building anonymous types. Fixes #2656
Marek Safar [Fri, 6 Jan 2012 11:17:43 +0000 (11:17 +0000)]
Better detection of errors when building anonymous types. Fixes #2656

12 years agoDefault non-profile mcs.exe build to build profile
Marek Safar [Fri, 6 Jan 2012 11:16:40 +0000 (11:16 +0000)]
Default non-profile mcs.exe build to build profile

12 years agoAvoid displaying the 'no thread info in suspend' message in sgen which can happen...
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.

12 years agoFix stack alignment calculation in mono_arch_setup_async_callback () on amd64.
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.

12 years agoRemove hazard pointer use from mono_get_cached_unwind_info (), it is still slower...
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.

12 years agodo a signal safe unwind on the native crash handler.
Rodrigo Kumpera [Thu, 5 Jan 2012 23:27:26 +0000 (21:27 -0200)]
do a signal safe unwind on the native crash handler.

12 years agoFix the build.
Zoltan Varga [Thu, 5 Jan 2012 22:48:07 +0000 (23:48 +0100)]
Fix the build.

12 years agoExtract the SGEN debugging code into a separate file.
Zoltan Varga [Thu, 5 Jan 2012 22:29:46 +0000 (23:29 +0100)]
Extract the SGEN debugging code into a separate file.

12 years agoExtract SGEN object allocation rountines to sgen-alloc.c.
Zoltan Varga [Thu, 5 Jan 2012 22:07:53 +0000 (23:07 +0100)]
Extract SGEN object allocation rountines to sgen-alloc.c.

12 years agoImplement mono_gc_set_stack_end () for Boehm/null GC to remove the #ifdef HAVE_SGEN_G...
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.

12 years agoMerge branch 'master' of ssh://github.com/mono/mono
Neale Ferguson [Thu, 5 Jan 2012 17:50:18 +0000 (12:50 -0500)]
Merge branch 'master' of ssh://github.com/mono/mono

12 years agoIf a parameter is NULL or DBNull then its size needs to be zero otherwise the paramet...
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.

12 years agoBuild programs directly into class/lib. Fixes random make -j failures
Marek Safar [Thu, 5 Jan 2012 16:32:59 +0000 (16:32 +0000)]
Build programs directly into class/lib. Fixes random make -j failures

12 years agoFix crashes in the precise stack marking code if a thread is interrupted during startup.
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.

12 years agoReference equality of identical reference types cannot involve implicit conversion...
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

12 years agoUse reference comparison when checking interlocked delegate combine/remove
Marek Safar [Wed, 4 Jan 2012 12:39:36 +0000 (12:39 +0000)]
Use reference comparison when checking interlocked delegate combine/remove

12 years agoType parameters can be now stored in MemberName directly
Marek Safar [Wed, 4 Jan 2012 10:03:22 +0000 (10:03 +0000)]
Type parameters can be now stored in MemberName directly

12 years agoAdd JIT support for 4.5 MethodImplOptions.AggressiveInlining.
Rodrigo Kumpera [Thu, 5 Jan 2012 12:59:27 +0000 (10:59 -0200)]
Add JIT support for 4.5 MethodImplOptions.AggressiveInlining.

12 years agodisassemble the agressive-inlining flag correctly.
Rodrigo Kumpera [Thu, 5 Jan 2012 12:41:25 +0000 (10:41 -0200)]
disassemble the agressive-inlining flag correctly.

12 years agoAdd define for new 4.5 method impl flag agressive-inlining.
Rodrigo Kumpera [Thu, 5 Jan 2012 12:40:17 +0000 (10:40 -0200)]
Add define for new 4.5 method impl flag agressive-inlining.

12 years agoAdd regression test for bxc #1147.
Rodrigo Kumpera [Thu, 5 Jan 2012 11:11:34 +0000 (09:11 -0200)]
Add regression test for bxc #1147.

12 years agoProperly initialize a rgctx template. Fixes 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.

12 years ago[System.ServiceModel.Web] Support `null` as value for `DateTime?` field.
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.

12 years agoFileStream: use 4k as the default buffer size
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.

12 years agoSet the end of the stack for the main thread
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).

12 years agoAdd sgen test for STOBJ of gshared valuetype with a reference T field - this must...
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.

12 years agoImplement new FX4 methods to add new algorithms/oids with code (not just machine...
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

12 years agoMark OP_TAILCALL as a GC call site on x86.
Zoltan Varga [Wed, 4 Jan 2012 15:14:43 +0000 (16:14 +0100)]
Mark OP_TAILCALL as a GC call site on x86.

12 years agoEnable precise stack scanning by default again.
Zoltan Varga [Wed, 4 Jan 2012 14:52:12 +0000 (15:52 +0100)]
Enable precise stack scanning by default again.

12 years agoFix precise stack scanning on OSX.
Zoltan Varga [Wed, 4 Jan 2012 14:51:21 +0000 (15:51 +0100)]
Fix precise stack scanning on OSX.

12 years agoDon't use MemberName to store parsed member access expressions
Marek Safar [Tue, 3 Jan 2012 21:45:05 +0000 (21:45 +0000)]
Don't use MemberName to store parsed member access expressions

12 years agoDon't allocate intermediate MemberName for 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

12 years agoFixed a race in System.Net.WebConnection that was causing it to throw NullReferenceEx...
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.

12 years agoXmlSerializer: Add support to serialize nullable types when the XmlElement has explic...
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

12 years agoImplement ignore-case support for GetTypesForSourceFiles (). Make the type name filte...
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.

12 years agoInitialize the out arguments at the beginning of mono_lookup_pinvoke_call ().
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 ().

12 years agoMerge pull request #203 from Jester01/jester/mmap
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

12 years agoRemove an intermediate buffer in the bridge code.
Rodrigo Kumpera [Thu, 29 Dec 2011 23:00:41 +0000 (21:00 -0200)]
Remove an intermediate buffer in the bridge code.

12 years agoMake mono_sgen_gray_object_queue_is_empty inlineable.
Rodrigo Kumpera [Thu, 29 Dec 2011 22:47:38 +0000 (20:47 -0200)]
Make mono_sgen_gray_object_queue_is_empty inlineable.

12 years agoProperly export mono_sgen_ptr_in_nursery.
Rodrigo Kumpera [Thu, 29 Dec 2011 22:22:28 +0000 (20:22 -0200)]
Properly export mono_sgen_ptr_in_nursery.

12 years agoRework the gray queue code to isolate it into a proper module. One less include hack.
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.

12 years agoRework the workers 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.

12 years agoFix the build.
Rodrigo Kumpera [Thu, 29 Dec 2011 14:38:53 +0000 (12:38 -0200)]
Fix the build.

12 years agoRework the pin stats code to isolate it into a proper module. One less include hack.
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.

12 years agoAllow trailing commas on Json objects
Miguel de Icaza [Thu, 29 Dec 2011 14:10:14 +0000 (09:10 -0500)]
Allow trailing commas on Json objects

12 years agoFix a pesky typo.
Rodrigo Kumpera [Thu, 29 Dec 2011 01:25:32 +0000 (23:25 -0200)]
Fix a pesky typo.

12 years agoRework pinning code to isolate it into a proper module. One less include hack.
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.

12 years agoRework the cardtable 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.

12 years agoAdd test for gc descriptors.
Rodrigo Kumpera [Wed, 28 Dec 2011 14:03:59 +0000 (12:03 -0200)]
Add test for gc descriptors.

12 years agoFix parallel MS pinning code.
Rodrigo Kumpera [Wed, 28 Dec 2011 13:36:14 +0000 (11:36 -0200)]
Fix parallel MS pinning code.

12 years agoAdded a ByteSafeEncoding which can be used to implement/debug ByteEncoding derived...
Pablo Ruiz Garcia [Tue, 29 Nov 2011 00:52:08 +0000 (01:52 +0100)]
Added a ByteSafeEncoding which can be used to implement/debug ByteEncoding derived encodings classes.

12 years agoFixed a common buffer overflows to most I18N.Other.* encoders, by which mapping of...
Pablo Ruiz Garcia [Sun, 27 Nov 2011 22:17:10 +0000 (23:17 +0100)]
Fixed a common buffer overflows to most I18N.Other.* encoders, by which mapping of invalid characters was emiting fallback character twice, thus doubling the amount of space required.

Fixed an CP949 encoding to avoid an off-by-one during character replacement on Getbytes(..)

12 years agoEnabled safe-only versions of I18N/CJK encoders.
Pablo Ruiz Garcia [Fri, 25 Nov 2011 02:08:38 +0000 (03:08 +0100)]
Enabled safe-only versions of I18N/CJK encoders.

12 years agoAnother issue #1531 fix (and unit test)
Pablo Ruiz Garcia [Fri, 25 Nov 2011 01:46:48 +0000 (02:46 +0100)]
Another issue #1531 fix (and unit test)

12 years agoLine-ending fixes over my previous modifications on I18N code.
Pablo Ruiz Garcia [Fri, 25 Nov 2011 00:52:06 +0000 (01:52 +0100)]
Line-ending fixes over my previous modifications on I18N code.

12 years agoFixed issue #1531: I18N.CJK.CP936::GetBytesCount() returns an invalid len in some...
Pablo Ruiz Garcia [Fri, 25 Nov 2011 00:17:49 +0000 (01:17 +0100)]
Fixed issue #1531: I18N.CJK.CP936::GetBytesCount() returns an invalid len in some cases, causing an OutOfRangeException during the actual convertion (GetBytes method).

12 years agoKill size_descr, its usage was replaced by better exploiting gc_descr.
Rodrigo Kumpera [Wed, 28 Dec 2011 00:54:01 +0000 (22:54 -0200)]
Kill size_descr, its usage was replaced by better exploiting gc_descr.

12 years agoRework object size calculation code to use the gc descriptor.
Rodrigo Kumpera [Wed, 28 Dec 2011 00:41:39 +0000 (22:41 -0200)]
Rework object size calculation code to use the gc descriptor.

* sgen-gc.h (mono_sgen_par_object_get_size): Use gc_descr
instead of size_descr for size calculation as it's possible
to use it for more than 90% of the cases.

This allows us to kill size_descr from the vtable and retain
the majority of the speedup it brought it.

12 years agoRework gc descriptor to include size information in more cases.
Rodrigo Kumpera [Wed, 28 Dec 2011 00:24:43 +0000 (22:24 -0200)]
Rework gc descriptor to include size information in more cases.

* sgen-descriptor.h
* sgen-descriptor.c: Move the vector/array distrinction to
be a bit inside the descriptor.

Align the object size and store it without any shifts. This
causes no issues with remsets since the relevant code has been
reworked.

Try harder to encode the object size for ptrfree objects. When
not possible use a new kind of descriptor, DESC_TYPE_COMPLEX_PTRFREE.

12 years agoBring small bitmap gc descriptor back to life.
Rodrigo Kumpera [Wed, 28 Dec 2011 00:08:54 +0000 (22:08 -0200)]
Bring small bitmap gc descriptor back to life.

* sgen-descriptor.h:
* sgen-descriptor.c:
* sgen-scan-object.h: Bring small bitmap back to life.
It covers most cases large bitmap does and can hold size
information.

12 years agoFix layout computation of array types.
Rodrigo Kumpera [Tue, 27 Dec 2011 21:26:36 +0000 (19:26 -0200)]
Fix layout computation of array types.

* object.c (mono_class_compute_gc_descriptor): Properly pass
true/false to mono_gc_make_descr_for_array if the type is
SZARRAY or ARRAY.

12 years agoUse MonoContext on MIPS in sgen-archdep.h.
Zoltan Varga [Tue, 27 Dec 2011 14:28:46 +0000 (15:28 +0100)]
Use MonoContext on MIPS in sgen-archdep.h.

12 years agoUpdate the LLVM backend to the new LLVM EH architecture.
Zoltan Varga [Mon, 26 Dec 2011 17:12:20 +0000 (18:12 +0100)]
Update the LLVM backend to the new LLVM EH architecture.

12 years agoUpdate the LLVM backend to use the new LLVM atomic instructions instead of the old...
Zoltan Varga [Mon, 26 Dec 2011 15:11:53 +0000 (16:11 +0100)]
Update the LLVM backend to use the new LLVM atomic instructions instead of the old atomic intrinsics.

12 years agoUpgrade to latest LLVM version. Not yet complete, EH is not working due to the extens...
Zoltan Varga [Mon, 26 Dec 2011 13:26:30 +0000 (14:26 +0100)]
Upgrade to latest LLVM version. Not yet complete, EH is not working due to the extensive changes to the LLVM EH model.

12 years agoFix history navigation
Miguel de Icaza [Mon, 26 Dec 2011 13:21:35 +0000 (08:21 -0500)]
Fix history navigation

12 years agoAllow the placement of breakpoints in wrappers using --break.
Zoltan Varga [Sun, 25 Dec 2011 14:08:13 +0000 (15:08 +0100)]
Allow the placement of breakpoints in wrappers using --break.

12 years agoFix localloc on MIPS.
Zoltan Varga [Sat, 24 Dec 2011 13:34:18 +0000 (14:34 +0100)]
Fix localloc on MIPS.

12 years agocsharp: make the prettypring work with poor IEnumerable implementors
Miguel de Icaza [Sat, 24 Dec 2011 14:37:38 +0000 (09:37 -0500)]
csharp: make the prettypring work with poor IEnumerable implementors

12 years agoAdd support for --break to mono_jit_parse_options ().
Zoltan Varga [Sat, 24 Dec 2011 12:31:06 +0000 (13:31 +0100)]
Add support for --break to mono_jit_parse_options ().

12 years agoFix move-forward-word by also considering symbols as punctuations (before we could...
Miguel de Icaza [Thu, 22 Dec 2011 19:46:56 +0000 (14:46 -0500)]
Fix move-forward-word by also considering symbols as punctuations (before we could not move-forward 'a>b')

12 years agoupdate copyright
Miguel de Icaza [Mon, 7 Nov 2011 15:26:34 +0000 (10:26 -0500)]
update copyright

12 years agoMerge pull request #204 from bholmes/native_to_managed_out_string
Zoltan Varga [Thu, 22 Dec 2011 19:37:21 +0000 (11:37 -0800)]
Merge pull request #204 from bholmes/native_to_managed_out_string

emit_marshal_string MARSHAL_ACTION_MANAGED_CONV out param change