Permalink
Switch branches/tags
Commits on Jul 30, 2010
  1. Add tests for GetSubKeyNames and DeleteSubKey rotines with volatile k…

    …eys.
    
    	* RegistryKeyTest.cs: New tests for volatile keys children
    	handling.
    carlosalberto committed Jul 30, 2010
  2. Move subkey info routines into KeyHandler to handle volatile keys.

    	* UnixRegistryApi.cs: Move GetSubKeyCount and GetSubKeyNames to
    	KeyHandler, so we can properly track volatile subkeys there
    	*without* exposing any impl details.
    carlosalberto committed Jul 30, 2010
  3. Run extension methods overload resolver always in same overloader con…

    …text as original methodgroup
    marek-safar committed Jul 30, 2010
  4. Merge branch 'atsushi'

    atsushieno committed Jul 30, 2010
  5. Add a bunch of configuration types.

    atsushieno committed Jul 30, 2010
  6. add 4.0 standard endpoint configuration types.

    atsushieno committed Jul 30, 2010
  7. .NET2 handling of exceptions in ThreadPool threads

    	* mono/tests/threadpool-exceptions[1-4].cs: new tests
    	* mono/tests/threadpool.cs: fix typo.
    	* mono/metadata/threadpool.c: starting in .NET 2.0, unhandled exceptions
    	in the threadpool can cause a crash in a running program. From now on,
    	we are compatible.
    gonzalop committed Jul 30, 2010
  8. Adapt to changes in exceptions policy for TP.

    These exception were being thrown, sometimes, in a threadpool thread and then
    ignored.
    gonzalop committed Jul 28, 2010
  9. Throw exceptions from threadpool work items.

    Until now exceptions thrown from a threadpool work item were ignored.
    From now on they will propagate to the domain's UnhandledException event
    and then to the root AppDomain. If they are not handled, they will cause
    the program to abort.
    gonzalop committed Jul 27, 2010
Commits on Jul 29, 2010
  1. Fix SGen compiler warnings on AMD64.

    2010-07-30  Mark Probst  <mark.probst@gmail.com>
    
    	* sgen-archdep.h (ARCH_COPY_SIGCTX_REGS): Add casts to fix
    	compiler warnings on AMD64.
    schani committed Jul 29, 2010
  2. A fix for #619919

    Merge branch 'marek'
    marek-safar committed Jul 29, 2010
  3. Add regression test for #626441.

    2010-07-29 Rodrigo Kumpera  <rkumpera@novell.com>
    
    	* MethodBuilderTest.cs: Add test for #626441.
    kumpera committed Jul 29, 2010
  4. Fixes crash when SRE code calls a vararg method.

    2010-07-29 Rodrigo Kumpera  <rkumpera@novell.com>
    
    	Add support for calling vararg methods from SRE code.
    	This requires storing per-memberref signatures so
    	the JIT can know how many varargs parameters are
    	been passed.
    
    	* loader.c (mono_method_get_signature_full): If the
    	image is dynamic call mono_reflection_lookup_signature
    	to lookup the signature.
    
    	* reflection.c (mono_image_create_method_token): Save
    	the method object into the MonoDynamicImage::tokens.
    	Create a signature struct for MethodBuilders.
    	Save the signature into vararg_aux_hash so it can be
    	retrieved later.
    
    	* reflection.c (mono_reflection_lookup_signature): New
    	function. Check vararg_aux_hash for a signature before
    	returning method's own signature.
    
    	* metadata-internals.h (MonoDynamicImage): Add new
    	vararg_aux_hash hashtable.
    
    	* object-internals.h: Add mono_reflection_lookup_signature.
    
    	Fixes #626441
    kumpera committed Jul 29, 2010
  5. Add a SpinWait step when waiting on a task. Fix 100% CPU bother.

    After some time the call to SpinWait.SpinOnce will fall back to the more stalling Thread.Sleep (1) call.
    garuma committed Jul 29, 2010
  6. SpinWait now sleep more in depth after a certain threshold and uses T…

    …hread.Yield method.
    garuma committed Jul 28, 2010
  7. Add Yield method to Thread (4.0 profile).

    Yield is an internal call that simply calls wapi SwitchToThread function.
    On !Windows system, this functions use POSIX sched_yield function.
    garuma committed Jul 28, 2010
Commits on Jul 28, 2010
  1. Add System.Runtime.DurableInstancing and sgen to spec

    Andrew Jorgensen committed Jul 28, 2010
  2. Properly handle stackoverflow on ARGLIST opcode.

    2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
    
    	* verify.c (mono_method_verify): Don't move forward
    	with verification if a stack overflow is detected for
    	the ARGLIST opcode.
    
    	Fixes #601953
    kumpera committed Jul 28, 2010
  3. Fail array of invalid types.

    2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
    
    	* class.c (mono_bounded_array_class_get): Fail arrays
    	of void or typedbyref. Those two types are not allowed
    	to be used with arrays. Failing them is easier and less
    	error prone than returning NULL.
    
    	Fixes #603279
    kumpera committed Jul 28, 2010
  4. Dont assert on invalid delegate type.

    2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
    
    	* object.c (mono_get_delegate_invoke): Don't assert if
    	the Invoke method is not found. This can happen with
    	broken types and it's the caller resposibility to deal
    	with a null return.
    
    	Fixes #553403
    kumpera committed Jul 28, 2010
  5. [runtime] Handle images with null assembly.

    2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
    
    	* class.c (mono_assembly_name_from_token): Handle
    	images with null assembly. This can happen with resource
    	or broken assemblies.
    
    	Fixes #623586.
    kumpera committed Jul 28, 2010
  6. Merge branch 'atsushi'

    atsushieno committed Jul 28, 2010
  7. Fix LocalClientSecuritySettingsElement.Property, and other couple of …

    …API fixes.
    atsushieno committed Jul 28, 2010
  8. Merge branch 'atsushi'

    atsushieno committed Jul 28, 2010