2007-06-22 Jonathan Chambers <joncham@gmail.com>
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ChangeLog
index 8240492327e80c931e95eaf1c3b8ecbc26d646a1..4eb2e59da6c18947f481b58c51d6316417806ad1 100644 (file)
@@ -1,3 +1,166 @@
+2007-06-22  Jonathan Chambers  <joncham@gmail.com>
+
+       * __ComObject.cs (ThrowExceptionForHR): Implement/consolidate.
+       * __ComObject.cs (GetExceptionForHR): Implement/consolidate.
+
+2007-05-11  Jonathan Chambers  <joncham@gmail.com>
+
+       * Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
+       not string length.
+
+2007-05-02  Jonathan Chambers  <joncham@gmail.com>
+
+       * ExtensibleClassFactory.cs: Don't use un-implemented overload.
+
+2007-05-02  Dick Porter  <dick@ximian.com>
+
+       * _ConstructorInfo.cs: 
+       * _EventInfo.cs: 
+       * _Exception.cs: 
+       * _FieldInfo.cs: 
+       * _MemberInfo.cs: 
+       * _MethodBase.cs: 
+       * _MethodInfo.cs: 
+       * _PropertyInfo.cs: 
+       * _Type.cs: 
+       * UCOMIMoniker.cs: 
+       * AutomationProxyAttribute.cs: 
+       * BestFitMappingAttribute.cs: 
+       * BStrWrapper.cs: 
+       * ClassInterfaceAttribute.cs: 
+       * CoClassAttribute.cs: 
+       * ComAliasNameAttribute.cs: 
+       * ComCompatibleVersionAttribute.cs: 
+       * ComConversionLossAttribute.cs: 
+       * ComDefaultInterfaceAttribute.cs: 
+       * ComEventInterfaceAttribute.cs: 
+       * COMException.cs: 
+       * ComImportAttribute.cs: 
+       * ComObjectInUseException.cs: 
+       * ComRegisterFunctionAttribute.cs: 
+       * ComUnregisterFunctionAttribute.cs: 
+       * ComVisible.cs: 
+       * CriticalHandle.cs: 
+       * CurrencyWrapper.cs: 
+       * DefaultCharSetAttribute.cs: 
+       * DispatchWrapper.cs: 
+       * DispIdAttribute.cs: 
+       * ErrorWrapper.cs: 
+       * ExtensibleClassFactory.cs: 
+       * ExternalException.cs: 
+       * Marshal.cs: 
+       * SafeHandle.cs: 
+       * StructLayoutAttribute.cs: 
+       * TypeLibConverter.cs: 
+       * ArrayWithOffset.cs: 
+       * BIND_OPTS.cs: 
+       * BINDPTR.cs: 
+       * CONNECTDATA.cs: 
+       * DISPPARAMS.cs: 
+       * ELEMDESC.cs: 
+       * EXCEPINFO.cs: 
+       * PARAMDESC.cs: 
+       * TYPELIBATTR.cs: 
+       * VARDESC.cs: 
+       * CALLCONV.cs: 
+       * CallingConvention.cs: 
+       * CharSet.cs: 
+       * ClassInterfaceType.cs: 
+       * ComInterfaceType.cs: 
+       * ComMemberType.cs: 
+       * DESCKIND.cs: 
+       * ExporterEventKind.cs: 
+       * PARAMFLAG.cs: 
+       * RegistrationClassContext.cs: 
+       * TYPEKIND.cs: 
+       * TypeLibImporterFlags.cs: 
+       * UnmanagedType.cs: 
+       * VARFLAGS.cs: Update to 2.0 profile
+
+2007-04-15  Alp Toker  <alp@atoker.com>
+
+       * Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.
+
+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.
+       
 2006-08-31 Robert Jordan  <robertj@gmx.net>
 
        * Marshal.cs: Replaced the *Auto internal calls with managed