Permalink
Switch branches/tags
Commits on Mar 19, 2012
  1. Merge pull request #218 from ermshiperete/mono-2-10-8

    Set ErrorInfo
    migueldeicaza committed Mar 19, 2012
Commits on Jan 19, 2012
  1. Set ErrorInfo in Marshal.GetHRForException

    Marshal.GetHRForException had a MonoTODO because it needs to set
    the errorinfo object so that exceptions get properly passed to
    unmanaged code. Since not all managed exceptions have a corresponding
    HR value but we might need to get to the original thrown exception
    we implement a ManagedErrorInfo helper class that implements the
    IErrorInfo interface but also stores the exception.
    
    In GetExceptionForHR we check if the errorinfo we get is a
    ManagedErrorInfo. If it is we return the exception stored in there
    (if it converts to the same error code), otherwise we construct a new
    exception.
    
    Change-Id: Ib400636ee3caa54c9db8f41dbd40f15710024a63
    ermshiperete committed Jan 17, 2012
Commits on Jan 17, 2012
  1. Properly convert COM error codes to C# exceptions

    Also use additional information provided by IErrorInfo to fill in
    exception details.
    
    To make use of IErrorInfo on Linux a suitable implementation has to be
    provided, e.g. by including libcom plus adding a mapping from
    oleauth32.dll to the shared library that provides the implementation.
    
    This completes mono bug 496138
    (https://bugzilla.novell.com/show_bug.cgi?id=496138)
    ermshiperete committed Nov 24, 2011
Commits on Dec 19, 2011
Commits on Dec 14, 2011
  1. Fix typo from commit b4c110c.

    duncanmak committed Dec 14, 2011
  2. Bump version number to 2.10.8

    duncanmak committed Dec 14, 2011
Commits on Dec 13, 2011
  1. [System.Web.Services] Make sure we don't keep results forever when do…

    …ing async requests. Fixes #2473.
    rolfbjarne committed Dec 13, 2011
  2. Fix MAC address for Mac/iOS

    	The position of the first byte to copy was wrong.
    	Fixes bug #2012.
    Gonzalo Paniagua Javier committed with gonzalop Dec 13, 2011
Commits on Dec 9, 2011
  1. [GetTimeZoneData icall] Fixed logic for zones where there is only a s…

    …tart date
    
    Thanks to Kirill for this patch.
    
    Bug #2223.
    jstedfast committed Dec 9, 2011
Commits on Dec 8, 2011
  1. Do the multiplication/division with floating point numbers in time ca…

    …lculations on win32.
    illupus committed Dec 8, 2011
Commits on Dec 7, 2011
  1. Avoid an assert in bridge code when doing a major collection due to m…

    …inor overflow. Fixes bxc #2349 and bxc #2091.
    
    	* sgen-bridge.c:
    	* sgen-gc.c: After we split bridge processing in two, one step with world stopped and
    	another with world running, we introduced the following regression:
    
    	A minor collection starts and find an young bridge object ready to be processed.
    	Major heap overflows and a major GC is triggered. The object mentioned above will
    	remain collectible and will be queued for processing again.
    	Since we do the first step in finish_gray_stack, it will be done twice in the above
    	scenario. This will cause an assertion due to duplicate entries in the hashtable.
    
    	The solution is to split the step that is performed with world stopped into another two.
    	One that happens during collections, that can be done multiple times per duty cycle and
    	another one that is done only once before we restart the world.
    
    	This split has the minor advantage of reducing duplicated work for the dfs1 step. Nothing big
    	as this is one of the fastest steps.
    kumpera committed Dec 7, 2011
  2. Remove some dead code

    kumpera committed Dec 7, 2011
Commits on Dec 6, 2011
  1. Use mono-tls for the current domain.

    	* domain.c: Use mono-tls for the current domain variable.
    	Sgen depends on this so it has to be lock free and the
    	io-layer version is not.
    
    	Fixes bxc #2326
    kumpera committed Dec 6, 2011
  2. Backport utils/mono-tls.h.

    kumpera committed Dec 6, 2011
Commits on Dec 5, 2011
  1. AOT the cctor of generic classes which are referenced by SFLDA patche…

    …s and superclasses of generic instances. Fixes #2155
    vargaz committed Dec 5, 2011
Commits on Dec 2, 2011
  1. Bump to 2.10.7

    duncanmak committed Dec 2, 2011
Commits on Dec 1, 2011
Commits on Nov 30, 2011
  1. Fix Array::Contains for null items via ICollection<T>. Fixes #2260

    Conflicts:
    
    	mcs/class/corlib/System/Array.cs
    marek-safar committed Nov 30, 2011
  2. Ensure that [Parameterized]ThreadStart code is always wrapped in a NS…

    …AutoreleasePool for MonoTouch. Fix bug #1999
    spouliot committed Nov 30, 2011
Commits on Nov 29, 2011
  1. [monodoc] Removed debug spew

    jstedfast committed Nov 29, 2011
Commits on Nov 28, 2011
Commits on Nov 26, 2011
  1. Add a heuristic to insert_breakpoint () to avoid 'Unable to insert br…

    …eakpoint' errors in some cases, since the set of IL offsets in the debug info doesn't completely match what the JIT generates. Fixes #407.
    vargaz committed Nov 26, 2011
Commits on Nov 24, 2011
  1. Save the stack space used by arguments into MonoJitInfo to avoid call…

    …ing mono_arch_get_arg_info () during stack walking, since it is not signal safe. Fixes #2190.
    vargaz committed Nov 24, 2011
  2. Extend JsonSerializerReader to support nullables and parse a wider ra…

    …nge of Date formats, fixes x#163
    migueldeicaza committed Nov 24, 2011
  3. Always free _WapiFileShare entries using _wapi_free_share_info (), ot…

    …herwise zeroed out entries remain in the hash table when shared handles are disabled. Fixes #2170.
    vargaz committed Nov 24, 2011
Commits on Nov 23, 2011
  1. Correctly calculate the number of cards to be marked.

    	* sgen-cardtable.c (sgen_card_table_mark_range): The number of
    	pages to be marked must be correctly calculated to avoid the case
    	when the in-card offset of the start address is bigger than
    	of the end address and cause the last card to be skipped.
    
    	Fixes #1917
    kumpera committed Nov 23, 2011
Commits on Nov 22, 2011