Permalink
Switch branches/tags
Commits on Mar 11, 2009
  1. 2009-03-11 Zoltan Varga <vargaz@gmail.com>

    	* mini-amd64.c (mono_arch_output_basic_block): Fix % 1. Fixes #484323.
    
    	* basic.cs: Add a test.
    
    svn path=/branches/mono-2-2/mono/; revision=129067
    vargaz committed Mar 11, 2009
Commits on Mar 6, 2009
  1. 2009-03-06 Zoltan Varga <vargaz@gmail.com>

    	Backport of r128749.
    	
    	* method-to-ir.c (mini_emit_memset): Fix the handling of size '3'. Fixes
    	#481458.
    
    	* iltests.il.in: Add a test.
    
    svn path=/branches/mono-2-2/mono/; revision=128750
    vargaz committed Mar 6, 2009
Commits on Feb 14, 2009
  1. 2009-02-14 Zoltan Varga <vargaz@gmail.com>

    	Backport of r126897.
    
    	* method-to-ir.c (mini_emit_ldelema_1_ins): If the array index is a long,
    	convert it to an in32. Fixes #475859.
    
    	* arrays.cs: Add a test.
    
    svn path=/branches/mono-2-2/mono/; revision=126899
    vargaz committed Feb 14, 2009
Commits on Feb 11, 2009
  1. 2009-02-11 Zoltan Varga <vargaz@gmail.com>

    	Backport of 126604.
    
    	* branch-opts.c (mono_if_conversion): Handle the case where the merged 
    	basic block fell through to its successor bblock without a branch. Fixes
    	#474718.
    
    	* iltests.il.in: Add a test.
    
    svn path=/branches/mono-2-2/mono/; revision=126605
    vargaz committed Feb 11, 2009
Commits on Feb 10, 2009
  1. 2009-02-10 Mark Probst <mark.probst@gmail.com>

    	Backport of r126467.
    
    	* mini-x86.c (mono_arch_context_get_int_reg): Handle all registers
    	individually.  Fixes #473482.
    
    2009-02-10  Mark Probst  <mark.probst@gmail.com>
    
    	Backport of r126467.
    
    	* bug-473482.2.cs: New test.
    
    	* Makefile.am: Test added.
    
    svn path=/branches/mono-2-2/mono/; revision=126468
    schani committed Feb 10, 2009
Commits on Feb 5, 2009
  1. 2009-02-05 Mark Probst <mark.probst@gmail.com>

    	Backport of r125887.
    
    	* object.c (mono_object_get_virtual_method): Properly inflate
    	generic methods.  Fixes #472692.
    
    2009-02-05  Mark Probst  <mark.probst@gmail.com>
    
    	Backport of r125887.
    
    	* jit-icalls.c (mono_helper_compile_generic_method): Don't inflate
    	the method we get from mono_object_get_virtual_method() because
    	that function does it properly, now.
    
    2009-02-05  Mark Probst  <mark.probst@gmail.com>
    
    	Backport of r125887.
    
    	* bug-472692.2.cs: New test.
    
    	* Makefile.am: Test added.
    
    svn path=/branches/mono-2-2/mono/; revision=125892
    schani committed Feb 5, 2009
  2. 2009-02-05 Mark Probst <mark.probst@gmail.com>

    	Backport of r125839.
    
    	* mini-exceptions.c (ves_icall_get_frame_info): Account for the
    	fact that mono_find_jit_info() sometimes returns the context
    	corresponding to the jit info in new_ctx.  Fixes #472600.
    
    2009-02-05  Mark Probst  <mark.probst@gmail.com>
    
    	Backport of r125839.
    
    	* bug-472600.2.cs: New test.
    
    	* Makefile.am: Test added.
    
    svn path=/branches/mono-2-2/mono/; revision=125846
    schani committed Feb 5, 2009
Commits on Feb 4, 2009
  1. Backport of r125663

    svn path=/branches/mono-2-2/mcs/; revision=125665
    grendello committed Feb 4, 2009
Commits on Feb 3, 2009
  1. 2009-02-03 Mark Probst <mark.probst@gmail.com>

    	Backport of r125565.
    
    	* generic-sharing.c: Don't hold domain lock when calling
    	instantiate_other_info().  Fixes #471958.
    
    	* domain-internals.h, loader.c: Describe locking policy of domain
    	lock vs loader lock.
    
    svn path=/branches/mono-2-2/mono/; revision=125567
    schani committed Feb 3, 2009
Commits on Feb 2, 2009
  1. 2009-02-02 Mark Probst <mark.probst@gmail.com>

    	Backport of r125388.
    
    	* generic-sharing.c (lookup_or_register_other_info): Make sure the
    	loader lock is not taken while the templates lock is held.  Fixes
    	#471089.
    
    svn path=/branches/mono-2-2/mono/; revision=125389
    schani committed Feb 2, 2009
  2. 2009-02-02 Mark Probst <mark.probst@gmail.com>

    	Backport or r125371.
    
    	* metadata.c (type_in_image): Added a check to fix a monodis
    	crash.
    
    svn path=/branches/mono-2-2/mono/; revision=125374
    schani committed Feb 2, 2009
  3. 2009-02-01 Rodrigo Kumpera <rkumpera@novell.com>

    	Backport of r125205.
    
    	* cpu-arm.md: Increase the size of storer8_membase_reg and
    	loadr8_membase_reg to 24 bytes to accomodate the extra add.
    
    	* mini-arm.c (mono_arch_output_basic_block): Under FPA, when emitting
    	OP_STORER8_MEMBASE_REG and OP_LOADR8_MEMBASE_REG, add the original
    	reg to LR otherwise we'll be loading/storing from just the offset.
    
    
    svn path=/branches/mono-2-2/mono/; revision=125340
    kumpera committed Feb 2, 2009
Commits on Jan 30, 2009
  1. Backport of r125111.

    svn path=/branches/mono-2-2/mcs/; revision=125113
    grendello committed Jan 30, 2009
Commits on Jan 27, 2009
  1. 2009-01-27 Mark Probst <mark.probst@gmail.com>

    	Backport of r124712.
    
    	* method-to-ir.c (emit_stloc_ir): Only apply the reg-reg move
    	optimization if the top of stack is the last instruction in the
    	bblock.  Otherwise it might have been used after its definition.
    	Fixes #469742.
    
    2009-01-27  Mark Probst  <mark.probst@gmail.com>
    
    	Backport of r124712.
    
    	* bug469742.2.il: New test.
    
    	* Makefile.am: Test added.
    
    svn path=/branches/mono-2-2/mono/; revision=124713
    schani committed Jan 27, 2009
  2. 2009-01-26 Jeffrey Stedfast <fejj@novell.com>

    	* mono-mutex.[c,h]: Removed GPLv2 copyright notice which should
    	not have been there.
    
    
    svn path=/branches/mono-2-2/mono/; revision=124698
    jstedfast committed Jan 27, 2009
Commits on Jan 26, 2009
  1. 2009-01-26 Zoltan Varga <vargaz@gmail.com>

    	Backport of r124456.
    
    	* exceptions-amd64.c (mono_arch_exceptions_init): Call 
    	get_throw_pending_exception () to avoid initialization races.
    
    	* mini-exceptions.c (mono_exceptions_init): Call an arch specific
    	mono_arch_exceptions_init () function.
    
    svn path=/branches/mono-2-2/mono/; revision=124461
    vargaz committed Jan 26, 2009
  2. Backported fixes from HEAD

    svn path=/branches/mono-2-2/mcs/; revision=124454
    gonzalop committed Jan 26, 2009
Commits on Jan 25, 2009
  1. 2009-01-25 Zoltan Varga <vargaz@gmail.com>

    	* Backport of r123987.
    
    	* method-to-ir.c (method-to-ir.c): Add support for the constrained prefix
    	on type variables in AOTed code.
    
    svn path=/branches/mono-2-2/mono/; revision=124425
    vargaz committed Jan 25, 2009
Commits on Jan 23, 2009
  1. 2009-01-23 Mark Probst <mark.probst@gmail.com>

    	Backport of r124022 and r124301.
    
    	* metadata.c (mono_metadata_generic_param_equal): Owner as well as
    	image must match.  Only compare the image if the owner is NULL.
    	Fixes the AOT failures.
    
    svn path=/branches/mono-2-2/mono/; revision=124304
    schani committed Jan 23, 2009
Commits on Jan 22, 2009
  1. 2009-01-23 Zoltan Varga <vargaz@gmail.com>

    	Backport of r124268.
    	
    	* metadata.c (mono_metadata_load_generic_params): Initialize the 
    	MonoGenericParam structure using memset so the image field is initialized
    	as well.
    
    svn path=/branches/mono-2-2/mono/; revision=124269
    vargaz committed Jan 22, 2009
  2. 2009-01-22 Mark Probst <mark.probst@gmail.com>

    	Backport of r124246.
    
    	* mini-exceptions.c (ves_icall_get_frame_info): Fetch the generic
    	info from the (correct) context.
    
    2009-01-22  Mark Probst  <mark.probst@gmail.com>
    
    	Backport of r124246.
    
    	* generic-stack-traces2.2.cs: Another generic sharing test for
    	stack traces.
    
    	* Makefile.am: Test added.
    
    svn path=/branches/mono-2-2/mono/; revision=124247
    schani committed Jan 22, 2009
Commits on Jan 21, 2009
  1. Revert r124024 as it is breaking AOT.

    svn path=/branches/mono-2-2/mono/; revision=124100
    vargaz committed Jan 21, 2009
  2. Forgot to add the file.

    svn path=/branches/mono-2-2/mono/; revision=124099
    kumpera committed Jan 21, 2009
  3. 2009-01-21 Zoltan Varga <vargaz@gmail.com>

    	Backport of r124092.
    	
    	* method-to-ir.c (handle_alloc): Avoid generic instances in the
    	out_of_line optimization.
    
    svn path=/branches/mono-2-2/mono/; revision=124094
    vargaz committed Jan 21, 2009
  4. 2009-01-21 Rodrigo Kumpera <rkumpera@novell.com>

    	Backport of r124059.
    
    	* appdomain-unload-callback.cs: New test for the AppDomain::DomainUnload
    	deadlock.
    
    	* Makefile.am: Test added.
    
    
    svn path=/branches/mono-2-2/mono/; revision=124078
    kumpera committed Jan 21, 2009
  5. 2009-01-21 Rodrigo Kumpera <rkumpera@novell.com>

    	Backport of r124068.
    
    	* appdomain.c (mono_domain_unload): Change the InterlockedIncrement to
    	a plain store.
    
    2009-01-21 Rodrigo Kumpera  <rkumpera@novell.com>
    
    	Backport of r124058.
    
    	* domain-internals.h: Add new appdomain state MONO_APPDOMAIN_UNLOADING_START
    	which signals that the unloading has started but all appdomain services must
    	remain operational.
    
    	* appdomain.c (mono_domain_unload): The initial state for unloading now
    	is unloading_start and we switch to unloading after the managed call to
    	AppDomain::DomainUnload has finished.
    
    	The new unloading state has to be created because managed code in the
    	DomainUnload event can depend on things like the threadpool still working.
    	The domain must remain fully functional while the event executes.
    
    	This shown as an issue due to Process::WaitForExit, which waits for
    	async reads of stdout and stderr to complete. Since those are processed
    	in the threadpool the code deadlocks because the DomainUnload callback 
    	waits for the async read finished event, which should have been set by a
    	threadpool job but has been discarded due to the domain been in unload
    	state.
    
    
    svn path=/branches/mono-2-2/mono/; revision=124074
    kumpera committed Jan 21, 2009
  6. 2009-01-21 Zoltan Varga <vargaz@gmail.com>

    	Backport of r124065.
    	
    	* class.c (mono_class_setup_vtable_general): In the generic instance
    	optimization, set method->slot for abstract virtual methods. Fixes part of
    	#467834.
    
    svn path=/branches/mono-2-2/mono/; revision=124066
    vargaz committed Jan 21, 2009
  7. 2009-01-21 Mark Probst <mark.probst@gmail.com>

    	Backport of r124028.
    
    	* method-to-ir.c: Only apply exception constructor optimization if
    	the the method actually belongs to an exception class.  Fixes
    	#467456.
    
    2009-01-21  Mark Probst  <mark.probst@gmail.com>
    
    	Backport of r124028.
    
    	* bug-467456.cs: New test case.
    
    	* Makefile.am: Test added.
    
    svn path=/branches/mono-2-2/mono/; revision=124030
    schani committed Jan 21, 2009
  8. 2009-01-21 Mark Probst <mark.probst@gmail.com>

    	Backport of r124022.
    
    	* metadata.c (mono_metadata_generic_param_equal): Owner as well as
    	image must match.
    
    2009-01-21  Mark Probst  <mark.probst@gmail.com>
    
    	Backport of r124022.
    
    	* generic-unloading.2.cs, generic-unloading-sub.2.cs: Test case
    	for unloading images whose MonoGenericInst's are still in use.
    
    	* Makefile.am: Test added.
    
    svn path=/branches/mono-2-2/mono/; revision=124024
    schani committed Jan 21, 2009
  9. 2008-11-24 Zoltan Varga <vargaz@gmail.com>

    	Backport of r123968.
    	
    	* freebsd-elf_common.h (struct): Use uint32_t instead of 
    	u_int32_t to fix the build on opensolaris.
    
    svn path=/branches/mono-2-2/mono/; revision=123970
    vargaz committed Jan 21, 2009
Commits on Jan 20, 2009
  1. 2009-01-21 Mark Probst <mark.probst@gmail.com>

    	Backport of r123959.
    
    	* TypeBuilderTest.cs: Add test for fields in dynamic generic
    	classes.
    
    svn path=/branches/mono-2-2/mcs/; revision=123961
    schani committed Jan 20, 2009
  2. 2009-01-21 Mark Probst <mark.probst@gmail.com>

    	Backport of r123958.
    
    	* reflection.c (resolve_object): For fields, inflate the class and
    	then get the field in the inflated class.
    
    svn path=/branches/mono-2-2/mono/; revision=123960
    schani committed Jan 20, 2009
  3. 2009-01-20 Mark Probst <mark.probst@gmail.com>

    	Backport of r123917.
    
    	* method-to-ir.c: Force the vtable variable in shared generic code
    	for the case that they might show up on a stack trace where they
    	are needed.
    
    	* mini-exceptions.c: Save and use generic sharing info as well as
    	IP in stack traces to resolve shared generic instantiations.
    
    2009-01-20  Mark Probst  <mark.probst@gmail.com>
    
    	Backport of r123917.
    
    	* class.c (mono_class_has_parent_and_ignore_generics),
    	class-internals.h: Made non-static.
    
    	* object-internals.h (struct _MonoException): Added a comment
    	explaining the new use of trace_ips.
    
    2009-01-20  Mark Probst  <mark.probst@gmail.com>
    
    	Backport of r123917.
    
    	* generic-stack-traces.2.cs: Generic sharing test for stack
    	traces.
    
    	* Makefile.am: Test added.
    
    svn path=/branches/mono-2-2/mono/; revision=123920
    schani committed Jan 20, 2009
  4. 2009-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* IPAddress.cs: handle sign extension for the high byte when using the
    	byte[] ctor for an IPv4 address.
    	Fixes bug #467472.
    
    
    svn path=/branches/mono-2-2/mcs/; revision=123857
    gonzalop committed Jan 20, 2009
Commits on Jan 19, 2009
  1. 2009-01-19 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* Socket.cs: don't throw when there's no ipv6 configuration.
    
    
    svn path=/branches/mono-2-2/mcs/; revision=123833
    gonzalop committed Jan 19, 2009