In corlib/System.Runtime.InteropServices:
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ChangeLog
index 3b4210b3e9465504f12595138ef14940c146b103..1d06fc7a16e0bd455e7b09a4eb10b437981d8215 100644 (file)
@@ -1,3 +1,79 @@
+2007-03-12  Raja R Harinath  <rharinath@novell.com>
+
+       * DefaultParameterValueAttribute.cs: Move to System.dll.
+
+2007-02-08  Jonathan Chambers  <joncham@gmail.com>
+
+       * Marshal.cs: Throw exceptions for AddRef, Release,
+       and QueryInterface in managed code. Implement GetComInterfaceForObject,
+       GetIDispatchForObject, GetIUnknownForObject, GetObjectForIUnknown, 
+       GetObjectsForNativeVariants, IsComObject, ReleaseComObject, and 
+       FinalReleaseComObject. Unimplement GetComObjectData and SetComObjectData
+       for now to save space and simplify __ComObject for now. MSDN states the 
+       user should never call these methods anyway.
+       
+2007-01-29  Marek Habersack  <grendello@gmail.com>
+
+       * Marshal.cs: Implement a missing Marshal.Copy overload.
+
+2007-01-11  Jonathan Chambers  <joncham@gmail.com>
+
+       * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
+       
+2007-01-03  Miguel de Icaza  <miguel@novell.com>
+
+       * SafeHandle.cs: Do not use locks in SafeHandle to protect the
+       access to the refcount, use Interlocked.CompareExchange.  The
+       locks were the source of problems with domain finalization when
+       this code was enabled.
+
+       This should fix Matt Hargett's bug report with a full `make check'
+       that reported variations of:
+
+       ** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
+       Finalization of domain <domainname> timed out.
+
+       Also, it is a lot lighther.
+
+2006-12-21  Miguel de Icaza  <miguel@novell.com>
+
+       * CriticalHandle.cs: Add Dispose(bool disposing) method, and
+       refactor. 
+
+2006-12-15  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Marshal.cs: Use SystemDefaultCharSize to determine whether to
+       use Ansi or Unicode variant of StringToCoTaskMem.
+
+2006-12-15  Miguel de Icaza  <miguel@novell.com>
+
+       * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
+       SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
+       ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
+       ZeroFreeGlobalAllocUnicode): Implement.
+
+       (StringToCoTaskAuto): return the same as Ansi.  
+
+       The ANSI code is out of sync with Mono, which treats ANSI as
+       UTF-8. 
+
+       Code formatting changes
+
+2006-12-11  Miguel de Icaza  <miguel@novell.com>
+
+       * SafeHandle.cs: Fix a handful of bugs, and add tests for them.
+       Only release the handle if its owned by us.  Also throw
+       ObjectDisposedException's
+
+       Implement finalizer.
+
+       DangerousAddRef will now throw an exception if the object was
+       disposed.
+
+2006-12-02  Miguel de Icaza  <miguel@novell.com>
+
+       * SafeHandle.cs: Implement this class.
+       
 2006-10-06  Jonathan Chambers  <joncham@gmail.com>
 
        * ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.