[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ChangeLog
index 2e101b0e52594bd39ee418a23ee61a77c788c43c..defb099c802f0837b177fffac4b8be3e25e645d4 100644 (file)
@@ -1,3 +1,157 @@
+2010-04-02  Miguel de Icaza  <miguel@novell.com>
+
+       * SafeHandle.cs: Use refcount == -1 to indicate that the handle
+       had been closed.
+
+       The problem here is that we have no records of why the code that
+       threw a ObjectDisposedException inside the do { } while block on
+       DangerousAddRef was added.   It seems it was added in response to
+       Close() methods being called and the need to throw that exception
+       on further calls to ObjectDisposedException.
+
+       Sadly, we have no test suites for that.
+
+2010-03-16  Jb Evain  <jbevain@novell.com>
+
+       * MarshalAsAttribute.cs, Marshal.cs: use MOONLIGHT symbol to
+       disambiguate MonoTouch and Moonlight code.
+
+2009-12-13  Miguel de Icaza  <miguel@novell.com>
+
+       * SafeBuffer.cs: When comparing the end, we only need to compare
+       source+size being bigger than last_byte, not bigger or equal,
+       otherwise we can not access the last element.
+
+2009-11-08  Miguel de Icaza  <miguel@novell.com>
+
+       * Marshal.cs: Expose copy_*_unamnaged to SafeBuffer.
+
+       * SafeBuffer.cs: Update SafeBufer implementation
+
+2009-11-02  Miguel de Icaza  <miguel@novell.com>
+
+       * Jumbo NET_2_0 removal patch.
+
+2009-10-15  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * GCHandle.cs: Add missing validations
+
+2009-09-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * _Assembly.cs: Remove Evidence and GlobalAssemblyCache 
+       properties for NET_2_1
+       * Marshal.cs: Avoid depending on SecureString for NET_2_1
+
+2009-09-20  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * MarshalAsAttribute.cs: Remove VarEnum field for NET_2_1
+
+2009-09-19  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Marshal.cs: Avoid depending on COM stuff for NET_2_1
+
+2009-09-04  Zoltan Varga  <vargaz@gmail.com>
+
+       * SafeBuffer.cs: Mark specific methods as non-cls compliant instead of
+       the whole class.
+       
+       * SafeBuffer.cs: New net 4.0 class.
+
+2009-04-17 Tom Hindle <tom_hindle@sil.org>
+
+       * Marshal.cs: Improved GetExceptionForHR to return real C# exceptions in 
+       certain cases instead of always COMException.
+
+2009-02-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
+       new unit tests in moonlight).
+
+2009-03-05  Tom Hindle <tom_hindle@sil.org>
+       
+       * Marshal.cs: Implemented GenerateGuidForType
+
+2008-06-21  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Marshal.cs: Fixed order of arguments for ArgumentException in
+       GetComSlotForMethodInfo.
+
+2008-06-19  Kornél Pál  <kornelpal@gmail.com>
+
+       * Marshal.cs: Implement GetHINSTANCE.
+
+2008-04-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
+
+       * _EventInfo.cs
+       * _FieldInfo.cs
+       * _MemberInfo.cs
+       * _MethodBase.cs
+       * _MethodInfo.cs
+       * _PropertyInfo.cs
+       * _Type.cs
+       * ArrayWithOffset.cs
+       * BestFitMappingAttribute.cs
+       * Marshal.cs: Fix parameter names
+
+2008-02-20  Zoltan Varga  <vargaz@gmail.com>
+
+       * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
+
+2008-02-03  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * COMException.cs: Fix new-line literal and use of "" detected by
+       Gendarme.
+
+2008-01-13  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * COMException.cs: Added missing colon in ToString.
+
+2007-12-04  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ExternalException.cs: Set HResult to match MS.
+
+2007-11-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ComVisible.cs: Fix parameter name (part of #322850).
+
+2007-09-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
+       pinned. Correct exception message. Fixes #82848.
+
+2007-08-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SafeHandle.cs CriticalHandle.cs TypeLibImporterFlags.cs
+         RegistrationClassContext.cs ArrayWithOffset.cs :
+       * ComObjectInUseException.cs ExposeAsClassToComAttribute.cs :
+         removed obsoleted files.
+
+2007-07-18  Miguel de Icaza  <miguel@novell.com>
+
+       * SafeHandle.cs: Harden this, do not call ReleaseHandle if the
+       handle is invalid.
+
+       * CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
+       handle is invalid. 
+
+2007-07-06  Jonathan Chambers  <joncham@gmail.com>
+
+       * ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
+
+2007-06-22  Jonathan Chambers  <joncham@gmail.com>
+
+       * Marshal.cs (ThrowExceptionForHR): Implement/consolidate.
+       * Marshal.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: